HFCLK192M peripheral driver.
More...
|
|
typedef void(* | nrfx_clock_hfclk192m_event_handler_t) (void) |
| | Clock event handler.
|
| |
HFCLK192M peripheral driver.
◆ nrfx_clock_hfclk192m_divider_get()
Function for getting the specified clock domain divider.
- Returns
- Current divider for the specified clock domain.
◆ nrfx_clock_hfclk192m_divider_set()
Function for setting the specified clock domain divider.
- Parameters
-
| [in] | div | New divider for the clock domain. |
- Return values
-
| 0 | Divider successfully set. |
| -EINVAL | Divider not supported by the specified domain. |
◆ nrfx_clock_hfclk192m_init()
Function for initializing internal structures in the nrfx_clock 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_hfclk192m_init_check()
| bool nrfx_clock_hfclk192m_init_check |
( |
void | | ) |
|
Function for checking if the clock driver is initialized.
- Return values
-
| true | Driver is already initialized. |
| false | Driver is not initialized. |
◆ nrfx_clock_hfclk192m_running_check()
| NRFX_STATIC_INLINE bool nrfx_clock_hfclk192m_running_check |
( |
nrf_clock_hfclk_t * | p_clk_src | ) |
|
Function for checking the specified clock domain state.
XTAL source is assumed for domains with multiple sources.
- Parameters
-
| [out] | p_clk_src | Pointer to a clock source that is running. |
- Return values
-
| true | The clock domain is running. |
| false | The clock domain is not running. |