Functions to check if selected PAN is present in current chip

nRF5 SDK v15.0.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_proto1 (void)
Internal auxiliary function to check if the program is running on first sample of NRF52840 chip. More...
static bool nrf_drv_usbd_errata_type_52840_fp1 (void)
Internal auxiliary function to check if the program is running on first final product of NRF52840 chip. 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_usbd_errata_sizeepout_rw (void)
Function to check if chip requires errata ??? More...
static bool nrf_drv_usb_errata_199 (void)
Function to check if chip requires errata 199. 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_sizeepout_rw ( void )
inline static

Function to check if chip requires errata ???

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_fp1 ( void )
inline static

Internal auxiliary function to check if the program is running on first final product of NRF52840 chip.

Return values
true It is NRF52480 chip and it is first final product
false It is other chip
static bool nrf_drv_usbd_errata_type_52840_proto1 ( void )
inline static

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

Return values
true It is NRF52480 chip and it is first sample version
false It is other chip