PebbleOS v4.47.0-1075-g013613c8a
Loading...
Searching...
No Matches
nRF54L

Clock controller of the nRF54L clock control block. More...

Data Structures

struct  pbl_clk_nrf54l
 Clock control block. More...
 

Macros

#define NRF54L_CLOCK   (&pbl_clk_nrf54l)
 Clock controller.
 
#define PBL_CLK_NRF54L_DEFINE(sym, _name, _base, _oscillators, _hfxo_trim, _lfxo_trim, _hfxo, _lfxo, _hfxo_cap_ff, _lfxo_cap_ff)
 Define the clock control block.
 

Clocks

#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.
 

Detailed Description

Clock controller of the nRF54L clock control block.


Data Structure Documentation

◆ pbl_clk_nrf54l

struct pbl_clk_nrf54l

Clock control block.

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.

Macro Definition Documentation

◆ 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

#define NRF54L_CLOCK   (&pbl_clk_nrf54l)

Clock controller.

◆ 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:
PBL_DEVICE_INSTANCE(sym, struct pbl_clk_nrf54l, struct pbl_clk_controller, ctrl) { \
.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
symSymbol of the controller.
_nameName.
_baseRegisters.
_oscillatorsRegisters of the oscillators block.
_hfxo_trimFICR trim of the HFXO load capacitors, from PBL_NVMEM_CELL().
_lfxo_trimFICR trim of the LFXO load capacitors, from PBL_NVMEM_CELL().
_hfxoHFXO crystal, from PBL_CLK().
_lfxoLFXO crystal, from PBL_CLK().
_hfxo_cap_ffInternal load capacitance of the HFXO crystal, in fF, or 0 for none.
_lfxo_cap_ffInternal load capacitance of the LFXO crystal, in fF, or 0 for none.