nRF5 SDK v15.0.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_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  )
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_sizeepout_rw ( void  )
inlinestatic

Function to check if chip requires errata ???

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

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

Return values
trueIt is NRF52480 chip and it is first final product
falseIt is other chip
static bool nrf_drv_usbd_errata_type_52840_proto1 ( void  )
inlinestatic

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

Return values
trueIt is NRF52480 chip and it is first sample version
falseIt is other chip

Documentation feedback | Developer Zone | Subscribe | Updated