19 #if !defined (CLOCK_S32K1xx_H)
20 #define CLOCK_S32K1xx_H
49 #define NUMBER_OF_TCLK_INPUTS 3U
853 #if defined (__cplusplus)
1011 #if defined (__cplusplus)
clock_trace_src_t
Debug trace clock source select Implements clock_trace_src_t_Class.
PCC peripheral instance clock configuration. Implements peripheral_clock_config_t_Class.
status_t CLOCK_DRV_SetSystemClock(const pwr_modes_t *mode, const sys_clk_config_t *sysClkConfig)
Configures the system clocks.
SIM LPO Clocks configuration. Implements sim_lpo_clock_config_t_Class.
scg_async_clock_div_t div1
scg_async_clock_div_t div2
scg_async_clock_div_t div1
sim_tclk_config_t tclkConfig
SCG ClockOut Configuration structure. Implements scg_clockout_config_t_Class.
sosc_ref_t
OSC reference clock select (internal oscillator is bypassed or not) Implements sosc_ext_ref_t_Class.
scg_async_clock_div_t div2
scg_rtc_config_t rtcConfig
pwr_modes_t
Power mode. Implements pwr_modes_t_Class.
uint32_t g_TClkFreq[NUMBER_OF_TCLK_INPUTS]
sim_rtc_clk_sel_src_t
SIM CLK32KSEL clock source select Implements sim_rtc_clk_sel_src_t_Class.
sim_clkout_div_t
SIM CLKOUT divider.
sim_clkout_src_t
SIM CLKOUT select.
peripheral_clock_source_t
PCC clock source select Implements peripheral_clock_source_t_Class.
SCG configure structure. Implements scg_config_t_Class.
sim_lpoclk_sel_src_t
SIM LPOCLKSEL clock source select Implements sim_lpoclk_sel_src_t_Class.
scg_system_clock_config_t vccrConfig
scg_async_clock_div_t
SCG asynchronous clock divider value.
void CLOCK_SYS_SetPmcConfiguration(const pmc_config_t *pmcConfig)
Configures PMC module.
scg_spll_monitor_mode_t monitorMode
void CLOCK_DRV_EnablePeripheralClock(clock_names_t clockName, const periph_clk_config_t *periphClkConfig)
Enables peripheral clock.
scg_async_clock_div_t div2
peripheral_clock_source_t clkSrc
SIM QSPI reference clock gating. Implements sim_qspi_ref_clk_gating_t_Class.
peripheral instance clock configuration. Implements periph_clk_config_t_Class
SIM configure structure. Implements sim_clock_config_t_Class.
scg_sosc_monitor_mode_t
SCG system OSC monitor mode. Implements scg_sosc_monitor_mode_t_Class.
scg_firc_range_t
SCG fast IRC clock frequency range. Implements scg_firc_range_t_Class.
SCG Clock Mode Configuration structure. Implements scg_clock_mode_config_t_Class. ...
scg_firc_config_t fircConfig
void CLOCK_SYS_SetSimConfiguration(const sim_clock_config_t *simClockConfig)
Configures SIM module.
scg_sosc_config_t soscConfig
scg_sosc_ext_ref_t extRef
sim_trace_clock_config_t traceClockConfig
periph_div_t
Peripheral divider value Implements periph_div_t_Class.
sim_rtc_clk_sel_src_t sourceRtcClk
peripheral_clock_config_t * peripheralClocks
SCG system PLL configuration. Implements scg_spll_config_t_Class.
SCG slow IRC clock configuration. Implements scg_sirc_config_t_Class.
SCG fast IRC clock configuration. Implements scg_firc_config_t_Class.
sim_plat_gate_config_t platGateConfig
clock_names_t
Clock names.
status_t CLOCK_SYS_SetScgConfiguration(const scg_config_t *scgConfig)
Configures SCG module.
sys_clk_div_t
system clock divider value. Implements sys_clk_div_t_Class
status_t CLOCK_DRV_SetLpo(bool enable)
This function enables or disables LPO clock source.
scg_clockout_config_t clockOutConfig
status_t CLOCK_DRV_SetSpll(bool enable, const spll_config_t *spllConfig)
This function enables or disables SPLL clock source.
peripheral_clock_frac_t
PCC fractional value select Implements peripheral_clock_frac_t_Class.
status_t CLOCK_DRV_SetSirc(bool enable, const sirc_config_t *sircConfig)
This function enables or disables SIRC clock source.
scg_system_clock_div_t
SCG system clock divider value. Implements scg_system_clock_div_t_Class.
periph_clk_src_t
Peripheral clock source value Implements periph_clk_src_t_Class.
scg_spll_config_t spllConfig
scg_clockout_src_t source
spll_clock_div_t
SPLL clock divider value. Implements spll_clock_div_t_Class.
scg_clock_mode_config_t clockModeConfig
status_t
Status return codes. Common error codes will be a unified enumeration (C enum) that will contain all ...
void CLOCK_DRV_DisablePeripheralClock(clock_names_t clockName)
Disables peripheral clock.
scg_sirc_config_t sircConfig
SCG RTC configuration. Implements scg_rtc_config_t_Class.
sosc_range_t
OSC frequency range select Implements sosc_range_t_Class.
pmc_lpo_clock_config_t lpoClockConfig
scg_async_clock_div_t div1
SCG system clock configuration. Implements scg_system_clock_config_t_Class.
scg_sirc_range_t
SCG slow IRC clock frequency range. Implements scg_sirc_range_t_Class.
scg_system_clock_div_t divCore
scg_async_clock_div_t div2
scg_clockout_src_t
SCG ClockOut type. Implements scg_clockout_src_t_Class.
scg_system_clock_div_t divSlow
scg_sosc_range_t
SCG OSC frequency range select Implements scg_sosc_range_t_Class.
sim_clock_out_config_t clockOutConfig
#define NUMBER_OF_TCLK_INPUTS
scg_sosc_gain_t
SCG OSC high gain oscillator select. Implements scg_sosc_gain_t_Class.
scg_async_clock_div_t div1
sys_clk_src_t
system clock source. Implements sys_clk_src_t_Class
SIM Platform Gate Clock configuration. Implements sim_plat_gate_config_t_Class.
sim_qspi_ref_clk_gating_t qspiRefClkGating
scg_sosc_monitor_mode_t monitorMode
SCG slow IRC clock configuration. Implements sirc_config_t_Class.
SIM ClockOut configuration. Implements sim_clock_out_config_t_Class.
peripheral_clock_divider_t divider
void CLOCK_SYS_SetPccConfiguration(const pcc_config_t *peripheralClockConfig)
Configures PCC module.
SCG system OSC configuration. Implements scg_sosc_config_t_Class.
sim_lpo_clock_config_t lpoClockConfig
scg_spll_monitor_mode_t
SCG system PLL monitor mode. Implements scg_spll_monitor_mode_t_Class.
periph_mul_t
Peripheral multiplier value Implements periph_mul_t_Class.
sim_lpoclk_sel_src_t sourceLpoClk
scg_system_clock_src_t
SCG system clock source. Implements scg_system_clock_src_t_Class.
const uint8_t peripheralFeaturesList[CLOCK_NAME_COUNT]
Peripheral features list Constant array storing the mappings between clock names of the peripherals a...
SCG system OSC configuration. Implements scg_sosc_config_t_Class.
SCG fast IRC clock configuration. Implements scg_firc_config_t_Class.
scg_system_clock_config_t rccrConfig
status_t CLOCK_DRV_SetFirc(bool enable, const firc_config_t *fircConfig)
This function enables or disables FIRC clock source.
scg_system_clock_src_t src
scg_system_clock_src_t alternateClock
firc_range_t
SCG fast IRC clock frequency range. Implements firc_range_t_Class.
status_t CLOCK_DRV_SetSosc(bool enable, const sosc_config_t *soscConfig)
This function enables or disables SOSC clock source.
SIM Platform Gate Clock configuration. Implements sim_tclk_config_t_Class.
peripheral_clock_frac_t frac
scg_sosc_ext_ref_t
SCG OSC external reference clock select. Implements scg_sosc_ext_ref_t_Class.
peripheral_clock_divider_t
PCC divider value select Implements peripheral_clock_divider_t_Class.
sirc_range_t
Slow IRC clock frequency range. Implements sirc_range_t_Class.
scg_system_clock_config_t hccrConfig
spll_clock_mul_t
SPLL clock multiplier value. Implements spll_clock_mul_t_Class.
scg_system_clock_div_t divBus
SIM Debug Trace clock configuration. Implements sim_trace_clock_config_t_Class.
system clock configuration. Implements sys_clk_config_t_Class
PCC configuration. Implements pcc_config_t_Class.