Trace Buffer Monitor (TBM) driver.
More...
|
| int | nrfx_tbm_init (nrfx_tbm_config_t const *p_config, nrfx_tbm_event_handler_t handler) |
| | Function for initializing the TBM driver.
|
| |
|
void | nrfx_tbm_start (void) |
| | Function for starting the TBM.
|
| |
|
void | nrfx_tbm_stop (void) |
| | Function for stopping the TBM.
|
| |
|
void | nrfx_tbm_uninit (void) |
| | Function for uninitializing the TBM driver.
|
| |
| bool | nrfx_tbm_init_check (void) |
| | Function for checking if the TBM driver is initialized.
|
| |
| uint32_t | nrfx_tbm_count_get (void) |
| | Function for getting current counter value.
|
| |
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
-
| 0 | Driver was successfully initialized. |
| -EALREADY | 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. |