nRF5 SDK v15.2.0
Macros | Functions
Functions to check if selected PAN is present in current chip

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  )
inlinestatic

Function to check if chip requires errata 199.

Errata: USBD cannot receive tasks during DMA

Return values
trueErrata should be implemented
falseErrata should not be implemented
static bool nrf_drv_usbd_errata_104 ( void  )
inlinestatic

Function to check if chip requires errata 104.

Errata: USBD: EPDATA event is not always generated.

Return values
trueErrata should be implemented
falseErrata should not be implemented
static bool nrf_drv_usbd_errata_154 ( void  )
inlinestatic

Function to check if chip requires errata 154.

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

Return values
trueErrata should be implemented
falseErrata should not be implemented
static bool nrf_drv_usbd_errata_166 ( void  )
inlinestatic

Function to check if chip requires errata 166.

Errata: ISO double buffering not functional

Return values
trueErrata should be implemented
falseErrata should not be implemented
static bool nrf_drv_usbd_errata_171 ( void  )
inlinestatic

Function to check if chip requires errata 171.

Errata: USBD might not reach its active state.

Return values
trueErrata should be implemented
falseErrata should not be implemented
static bool nrf_drv_usbd_errata_187 ( void  )
inlinestatic

Function to check if chip requires errata 187.

Errata: USB cannot be enabled

Return values
trueErrata should be implemented
falseErrata should not be implemented
static bool nrf_drv_usbd_errata_200 ( void  )
inlinestatic

Function to check if chip requires errata 200.

Errata: SIZE.EPOUT not writable

Return values
trueErrata should be implemented
falseErrata should not be implemented
static bool nrf_drv_usbd_errata_type_52840 ( void  )
inlinestatic

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

Return values
trueIt is NRF52480 chip
falseIt is other chip
static bool nrf_drv_usbd_errata_type_52840_eng_a ( void  )
inlinestatic

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

Return values
trueIt is NRF52480 chip and it is Engineering A revision
falseIt is other chip
static bool nrf_drv_usbd_errata_type_52840_eng_b ( void  )
inlinestatic

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

Return values
trueIt is NRF52480 chip and it is Engineering B revision
falseIt is other chip
static bool nrf_drv_usbd_errata_type_52840_eng_c ( void  )
inlinestatic

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

Return values
trueIt is NRF52480 chip and it is Engineering C revision
falseIt is other chip
static bool nrf_drv_usbd_errata_type_52840_eng_d ( void  )
inlinestatic

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

Return values
trueIt is NRF52480 chip and it is Engineering D revision
falseIt is other chip

Documentation feedback | Developer Zone | Subscribe | Updated