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.
#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.
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
-
true | Errata should be implemented |
false | Errata 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
-
true | Errata should be implemented |
false | Errata 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
-
true | Errata should be implemented |
false | Errata 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
-
true | Errata should be implemented |
false | Errata 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
-
true | It is NRF52480 chip |
false | It 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
-
true | It is NRF52480 chip and it is first sample version |
false | It is other chip |