Clock controller of the nRF54L clock control block.
More...
|
| #define | NRF54L_CLK_HFCLK 0 |
| | HFCLK: from the HFXO crystal oscillator while enabled, the internal RC otherwise.
|
| |
| #define | NRF54L_CLK_LFCLK 1 |
| | LFCLK, from the LFXO crystal oscillator while enabled.
|
| |
Clock controller of the nRF54L clock control block.
◆ pbl_clk_nrf54l
| Data Fields |
|
uintptr_t |
base |
Registers. |
|
struct pbl_clk_controller |
ctrl |
Clock controller. |
|
struct pbl_clk |
hfxo |
HFXO crystal. |
|
uint32_t |
hfxo_cap_ff |
Internal load capacitance of the HFXO crystal, in fF, or 0 for none. |
|
struct pbl_nvmem_cell |
hfxo_trim |
FICR trim of the HFXO load capacitors. |
|
struct pbl_clk |
lfxo |
LFXO crystal. |
|
uint32_t |
lfxo_cap_ff |
Internal load capacitance of the LFXO crystal, in fF, or 0 for none. |
|
struct pbl_nvmem_cell |
lfxo_trim |
FICR trim of the LFXO load capacitors. |
|
uintptr_t |
oscillators |
Registers of the oscillators block. |
◆ NRF54L_CLK_HFCLK
| #define NRF54L_CLK_HFCLK 0 |
HFCLK: from the HFXO crystal oscillator while enabled, the internal RC otherwise.
◆ NRF54L_CLK_LFCLK
| #define NRF54L_CLK_LFCLK 1 |
LFCLK, from the LFXO crystal oscillator while enabled.
◆ NRF54L_CLOCK
◆ PBL_CLK_NRF54L_DEFINE
| #define PBL_CLK_NRF54L_DEFINE |
( |
|
sym, |
|
|
|
_name, |
|
|
|
_base, |
|
|
|
_oscillators, |
|
|
|
_hfxo_trim, |
|
|
|
_lfxo_trim, |
|
|
|
_hfxo, |
|
|
|
_lfxo, |
|
|
|
_hfxo_cap_ff, |
|
|
|
_lfxo_cap_ff |
|
) |
| |
Value:
.ctrl = \
PBL_CLK_CONTROLLER_INIT(sym, _name, pbl_clk_nrf54l_init, nullptr, &pbl_clk_nrf54l_ops), \
.base = (_base), .oscillators = (_oscillators), .hfxo_trim = _hfxo_trim, \
.lfxo_trim = _lfxo_trim, .hfxo = _hfxo, .lfxo = _lfxo, .hfxo_cap_ff = (_hfxo_cap_ff), \
.lfxo_cap_ff = (_lfxo_cap_ff), \
}
Clock control block.
Definition nrf54l.h:36
A clock controller.
Definition clk.h:75
#define PBL_CLK_CONTROLLER_STATE_DEFINE(sym, _num_clks)
Define the class state of clock controller sym, for the driver's define macro.
Definition clk.h:96
Define the clock control block.
- Parameters
-
| sym | Symbol of the controller. |
| _name | Name. |
| _base | Registers. |
| _oscillators | Registers of the oscillators block. |
| _hfxo_trim | FICR trim of the HFXO load capacitors, from PBL_NVMEM_CELL(). |
| _lfxo_trim | FICR trim of the LFXO load capacitors, from PBL_NVMEM_CELL(). |
| _hfxo | HFXO crystal, from PBL_CLK(). |
| _lfxo | LFXO crystal, from PBL_CLK(). |
| _hfxo_cap_ff | Internal load capacitance of the HFXO crystal, in fF, or 0 for none. |
| _lfxo_cap_ff | Internal load capacitance of the LFXO crystal, in fF, or 0 for none. |