Functions to check if selected PAN is present in current chip

nRF5 SDK v15.2.0

Macros

#define NRF_DRV_USBD_ERRATA_ENABLE 1
The constant that informs if errata should be enabled at all. More...

Functions

static bool nrf_drv_usbd_errata_type_52840 (void)
Internal auxiliary function to check if the program is running on NRF52840 chip. More...
static bool nrf_drv_usbd_errata_type_52840_eng_a (void)
Internal auxiliary function to check if the program is running on Engineering A revision. More...
static bool nrf_drv_usbd_errata_type_52840_eng_b (void)
Internal auxiliary function to check if the program is running on Engineering B revision. More...
static bool nrf_drv_usbd_errata_type_52840_eng_c (void)
Internal auxiliary function to check if the program is running on Engineering C revision. More...
static bool nrf_drv_usbd_errata_type_52840_eng_d (void)
Internal auxiliary function to check if the program is running on Engineering D revision. More...
static bool nrf_drv_usbd_errata_104 (void)
Function to check if chip requires errata 104. More...
static bool nrf_drv_usbd_errata_154 (void)
Function to check if chip requires errata 154. More...
static bool nrf_drv_usbd_errata_166 (void)
Function to check if chip requires errata 166. More...
static bool nrf_drv_usbd_errata_171 (void)
Function to check if chip requires errata 171. More...
static bool nrf_drv_usbd_errata_187 (void)
Function to check if chip requires errata 187. More...
static bool nrf_drv_usb_errata_199 (void)
Function to check if chip requires errata 199. More...
static bool nrf_drv_usbd_errata_200 (void)
Function to check if chip requires errata 200. More...

Detailed Description

Functions here are checking the presence of an error in current chip. The checking is done at runtime based on the microcontroller version. This file is subject to removal when nRF51840 prototype support is removed.

Macro Definition Documentation

#define NRF_DRV_USBD_ERRATA_ENABLE   1

The constant that informs if errata should be enabled at all.

If this constant is set to 0, all the Errata bug fixes will be automatically disabled.

Function Documentation

static bool nrf_drv_usb_errata_199 ( void )
inline static

Function to check if chip requires errata 199.

Errata: USBD cannot receive tasks during DMA

Return values
true Errata should be implemented
false Errata should not be implemented
static bool nrf_drv_usbd_errata_104 ( void )
inline static

Function to check if chip requires errata 104.

Errata: USBD: EPDATA event is not always generated.

Return values
true Errata should be implemented
false Errata should not be implemented
static bool nrf_drv_usbd_errata_154 ( void )
inline static

Function to check if chip requires errata 154.

Errata: During setup read/write transfer USBD acknowledges setup stage without SETUP task.

Return values
true Errata should be implemented
false Errata should not be implemented
static bool nrf_drv_usbd_errata_166 ( void )
inline static

Function to check if chip requires errata 166.

Errata: ISO double buffering not functional

Return values
true Errata should be implemented
false Errata should not be implemented
static bool nrf_drv_usbd_errata_171 ( void )
inline static

Function to check if chip requires errata 171.

Errata: USBD might not reach its active state.

Return values
true Errata should be implemented
false Errata should not be implemented
static bool nrf_drv_usbd_errata_187 ( void )
inline static

Function to check if chip requires errata 187.

Errata: USB cannot be enabled

Return values
true Errata should be implemented
false Errata should not be implemented
static bool nrf_drv_usbd_errata_200 ( void )
inline static

Function to check if chip requires errata 200.

Errata: SIZE.EPOUT not writable

Return values
true Errata should be implemented
false Errata should not be implemented
static bool nrf_drv_usbd_errata_type_52840 ( void )
inline static

Internal auxiliary function to check if the program is running on NRF52840 chip.

Return values
true It is NRF52480 chip
false It is other chip
static bool nrf_drv_usbd_errata_type_52840_eng_a ( void )
inline static

Internal auxiliary function to check if the program is running on Engineering A revision.

Return values
true It is NRF52480 chip and it is Engineering A revision
false It is other chip
static bool nrf_drv_usbd_errata_type_52840_eng_b ( void )
inline static

Internal auxiliary function to check if the program is running on Engineering B revision.

Return values
true It is NRF52480 chip and it is Engineering B revision
false It is other chip
static bool nrf_drv_usbd_errata_type_52840_eng_c ( void )
inline static

Internal auxiliary function to check if the program is running on Engineering C revision.

Return values
true It is NRF52480 chip and it is Engineering C revision
false It is other chip
static bool nrf_drv_usbd_errata_type_52840_eng_d ( void )
inline static

Internal auxiliary function to check if the program is running on Engineering D revision.

Return values
true It is NRF52480 chip and it is Engineering D revision
false It is other chip