XO24M peripheral driver.
More...
|
|
typedef void(* | nrfx_clock_xo24m_event_handler_t) (void) |
| | XO24M event handler.
|
| |
|
| int | nrfx_clock_xo24m_init (nrfx_clock_xo24m_event_handler_t event_handler) |
| | Function for initializing internal structures in the nrfx_clock_xo24m module.
|
| |
|
void | nrfx_clock_xo24m_uninit (void) |
| | Function for uninitializing the xo24m module.
|
| |
| bool | nrfx_clock_xo24m_init_check (void) |
| | Function for checking if the xo24m driver is initialized.
|
| |
|
void | nrfx_clock_xo24m_start (void) |
| | Function for starting the xo24m clock.
|
| |
|
void | nrfx_clock_xo24m_stop (void) |
| | Function for stopping the xo24m clock.
|
| |
| NRFX_STATIC_INLINE bool | nrfx_clock_xo24m_running_check (void) |
| | Function for checking the specified clock domain state.
|
| |
|
void | nrfx_clock_xo24m_irq_handler (void) |
| | Function for handling xo24m interrupts.
|
| |
XO24M peripheral driver.
◆ NRFX_CLOCK_XO24M_EVT_HFCLK24M_STARTED
XO24M event.
HFCLK24M has been started.
◆ nrfx_clock_xo24m_init()
Function for initializing internal structures in the nrfx_clock_xo24m module.
After initialization, the module is in power off state (clocks are not started).
- Parameters
-
| [in] | event_handler | Event handler provided by the user. If not provided, driver works in blocking mode. |
- Return values
-
| 0 | The procedure is successful. |
| -EALREADY | The driver is already initialized. |
◆ nrfx_clock_xo24m_init_check()
| bool nrfx_clock_xo24m_init_check |
( |
void | | ) |
|
Function for checking if the xo24m driver is initialized.
- Return values
-
| true | Driver is already initialized. |
| false | Driver is not initialized. |
◆ nrfx_clock_xo24m_running_check()
| NRFX_STATIC_INLINE bool nrfx_clock_xo24m_running_check |
( |
void | | ) |
|
Function for checking the specified clock domain state.
XTAL source is assumed for domains with multiple sources.
- Return values
-
| true | The xo24m is running. |
| false | The xo24m is not running. |