XO24M clock driver.
More...
|
|
typedef void(* | nrfx_clock_xo24m_event_handler_t) (void) |
| | XO24M clock event handler.
|
|
| int | nrfx_clock_xo24m_init (nrfx_clock_xo24m_event_handler_t event_handler) |
| | Function for initializing the XO24M driver.
|
|
void | nrfx_clock_xo24m_uninit (void) |
| | Function for uninitializing the XO24M driver.
|
| 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 XO24M clock state..
|
|
void | nrfx_clock_xo24m_irq_handler (void) |
| | XO24M interrupt handler.
|
XO24M clock driver.
◆ NRFX_CLOCK_XO24M_EVT_HFCLK24M_STARTED
XO24M clock event.
HFCLK24M has been started.
◆ nrfx_clock_xo24m_init()
Function for initializing the XO24M driver.
After initialization, the driver is in power off state (clock is 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 XO24M clock state..
XTAL source is assumed for domains with multiple sources.
- Return values
-
| true | The XO24M clock is running. |
| false | The XO24M clock is not running. |