Trace Buffer Monitor (TBM) driver.
More...
Trace Buffer Monitor (TBM) driver.
◆ NRFX_TBM_DEFAULT_CONFIG
#define NRFX_TBM_DEFAULT_CONFIG |
Value: { \
.size = 128, \
.interrupt_priority = NRFX_TBM_DEFAULT_CONFIG_IRQ_PRIORITY, \
}
tbm default configuration.
◆ nrfx_tbm_event_handler_t
tbm driver data ready handler type.
- Parameters
-
◆ nrfx_tbm_count_get()
uint32_t nrfx_tbm_count_get |
( |
void |
| ) |
|
Function for getting current counter value.
- Returns
- Current counter value.
◆ nrfx_tbm_init()
Function for initializing the TBM driver.
- Parameters
-
[in] | p_config | pointer to the structure with initial configuration. |
[in] | handler | data handler provided by the user. if not provided, the driver is initialized in blocking mode. |
- Return values
-
NRFX_SUCCESS | Driver was successfully initialized. |
NRFX_ERROR_ALREADY | Driver was already initialized. |
◆ nrfx_tbm_init_check()
bool nrfx_tbm_init_check |
( |
void |
| ) |
|
Function for checking if the TBM driver is initialized.
- Return values
-
true | Driver is already initialized. |
false | Driver is not initialized. |