The section describes the programming interface of the SIM HAL driver. The SIM provides the system control and device configuration registers. The sim_hal provides a set of API functions used to access the SIM registers including clock gate control and other configuration settings.
Clock gate control is based on the module. Each chip has a subset of modules that can be gated through gate control registers in SIM. The gate control names are defined in the enumeration sim_clock_gate_name_t. Pass the enumeration value and the parameter enables/disables the clock for a module accordingly. There is an example for clock gate APIs:
Clock source control is also based on the module. Only certain modules have the clock source control in SIM. For these modules, SIM HAL driver provides the separate APIs to set or get module source. The module source setting values are defined in the enumeration with the prefix clock_. For example, USB FS OTG module uses the MCGPLLFLLCLK or the external USB_CLKIN as a clock source. Therefore, the SIM HAL driver provides these for the USB FS OTG module clock source:
For other IP modules, the clock source selection register is in IP module, but the clock distribution is controlled by the system integration. Therefore, the SIM HAL driver provides the information for the IP modules and IP drivers know which clock sources are available and how to set their internal register to select a different clock source. This information is provided as an enumeration, such as SAI module using SYSCLK, OSC0ERCLK, and MCGPLLCLK as a clock source. The SIM HAL driver provides:
See the appropriate reference manual for details.
Certain clocks use dividers configured in SIM module. The SIM HAL driver provides API functions to get/set the divider values. For example:
|
enum | sim_hal_status_t {
kSimHalSuccess,
kSimHalFail
} |
| SIM HAL API return status. More...
|
|
enum | clock_cop_src_t |
| COP clock source select.
|
|
enum | clock_tpm_src_t |
| TPM clock source select.
|
|
enum | clock_lptmr_src_t { ,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv
} |
| LPTMR clock source select. More...
|
|
enum | clock_lpsci_src_t |
| UART0 clock source select.
|
|
enum | clock_pllfll_sel_t |
| USB clock source select. More...
|
|
enum | clock_er32k_src_t { ,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U
} |
| SIM external reference clock source select (OSC32KSEL) More...
|
|
enum | clock_clkout_src_t |
| SIM CLKOUT_SEL clock source select.
|
|
enum | clock_rtcout_src_t |
| SIM RTCCLKOUTSEL clock source select.
|
|
enum | sim_adc_pretrg_sel_t |
| SIM USB voltage regulator in standby mode setting during stop modes. More...
|
|
enum | sim_adc_trg_sel_t |
| SIM ADCx trigger select.
|
|
enum | sim_uart_rxsrc_t |
| SIM UART receive data source select.
|
|
enum | sim_uart_txsrc_t |
| SIM UART transmit data source select.
|
|
enum | sim_lpsci_rxsrc_t |
| SIM LPSCI receive data source select.
|
|
enum | sim_lpsci_txsrc_t |
| SIM LPSCI transmit data source select.
|
|
enum | sim_tpm_clk_sel_t |
| SIM Timer/PWM external clock select.
|
|
enum | sim_tpm_ch_src_t |
| SIM Timer/PWM x channel y input capture source select.
|
|
enum | clock_cop_src_t |
| COP clock source select.
|
|
enum | clock_tpm_src_t |
| TPM clock source select.
|
|
enum | clock_lptmr_src_t { ,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv
} |
| LPTMR clock source select. More...
|
|
enum | clock_lpsci_src_t |
| UART0 clock source select.
|
|
enum | clock_pllfll_sel_t |
| USB clock source select. More...
|
|
enum | clock_er32k_src_t { ,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U
} |
| SIM external reference clock source select (OSC32KSEL) More...
|
|
enum | clock_clkout_src_t |
| SIM CLKOUT_SEL clock source select.
|
|
enum | clock_rtcout_src_t |
| SIM RTCCLKOUTSEL clock source select.
|
|
enum | sim_adc_pretrg_sel_t |
| SIM USB voltage regulator in standby mode setting during stop modes. More...
|
|
enum | sim_adc_trg_sel_t |
| SIM ADCx trigger select.
|
|
enum | sim_uart_rxsrc_t |
| SIM UART receive data source select.
|
|
enum | sim_uart_txsrc_t |
| SIM UART transmit data source select.
|
|
enum | sim_lpsci_rxsrc_t |
| SIM LPSCI receive data source select.
|
|
enum | sim_lpsci_txsrc_t |
| SIM LPSCI transmit data source select.
|
|
enum | sim_tpm_clk_sel_t |
| SIM Timer/PWM external clock select.
|
|
enum | sim_tpm_ch_src_t |
| SIM Timer/PWM x channel y input capture source select.
|
|
enum | clock_cop_src_t |
| COP clock source select.
|
|
enum | clock_tpm_src_t |
| TPM clock source select.
|
|
enum | clock_lptmr_src_t { ,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv
} |
| LPTMR clock source select. More...
|
|
enum | clock_lpsci_src_t |
| UART0 clock source select.
|
|
enum | clock_pllfll_sel_t |
| USB clock source select. More...
|
|
enum | clock_er32k_src_t { ,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U
} |
| SIM external reference clock source select (OSC32KSEL) More...
|
|
enum | clock_clkout_src_t |
| SIM CLKOUT_SEL clock source select.
|
|
enum | clock_rtcout_src_t |
| SIM RTCCLKOUTSEL clock source select.
|
|
enum | sim_adc_pretrg_sel_t |
| SIM USB voltage regulator in standby mode setting during stop modes. More...
|
|
enum | sim_adc_trg_sel_t |
| SIM ADCx trigger select.
|
|
enum | sim_uart_rxsrc_t |
| SIM UART receive data source select.
|
|
enum | sim_uart_txsrc_t |
| SIM UART transmit data source select.
|
|
enum | sim_lpsci_rxsrc_t |
| SIM LPSCI receive data source select.
|
|
enum | sim_lpsci_txsrc_t |
| SIM LPSCI transmit data source select.
|
|
enum | sim_tpm_clk_sel_t |
| SIM Timer/PWM external clock select.
|
|
enum | sim_tpm_ch_src_t |
| SIM Timer/PWM x channel y input capture source select.
|
|
enum | clock_cop_src_t |
| COP clock source select.
|
|
enum | clock_tpm_src_t |
| TPM clock source select.
|
|
enum | clock_lptmr_src_t { ,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv
} |
| LPTMR clock source select. More...
|
|
enum | clock_lpsci_src_t |
| UART0 clock source select.
|
|
enum | clock_pllfll_sel_t |
| USB clock source select. More...
|
|
enum | clock_er32k_src_t { ,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U
} |
| SIM external reference clock source select (OSC32KSEL) More...
|
|
enum | clock_clkout_src_t |
| SIM CLKOUT_SEL clock source select.
|
|
enum | clock_rtcout_src_t |
| SIM RTCCLKOUTSEL clock source select.
|
|
enum | sim_adc_pretrg_sel_t |
| SIM USB voltage regulator in standby mode setting during stop modes. More...
|
|
enum | sim_adc_trg_sel_t |
| SIM ADCx trigger select.
|
|
enum | sim_uart_rxsrc_t |
| SIM UART receive data source select.
|
|
enum | sim_uart_txsrc_t |
| SIM UART transmit data source select.
|
|
enum | sim_lpsci_rxsrc_t |
| SIM LPSCI receive data source select.
|
|
enum | sim_lpsci_txsrc_t |
| SIM LPSCI transmit data source select.
|
|
enum | sim_tpm_clk_sel_t |
| SIM Timer/PWM external clock select.
|
|
enum | sim_tpm_ch_src_t |
| SIM Timer/PWM x channel y input capture source select.
|
|
enum | clock_wdog_src_t { ,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk
} |
| WDOG clock source select. More...
|
|
enum | clock_trace_src_t {
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk
} |
| Debug trace clock source select. More...
|
|
enum | clock_nanoedge_clk2x_src {
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x
} |
| Debug trace clock source select. More...
|
|
enum | sim_osc32k_clock_sel_t |
| SIM OSC32KSEL clock source select.
|
|
enum | sim_nanoedge_clock_sel_t |
| SIM NANOEDGECLK2XSEL clock source select.
|
|
enum | sim_trace_clock_sel_t |
| SIM TRACECLKSEL clock source select.
|
|
enum | sim_clkout_clock_sel_t |
| SIM CLKOUT_SEL clock source select.
|
|
enum | sim_adcb_trg_sel_t |
| SIM ADCB trigger select.
|
|
enum | sim_adc_trg_sel_t |
| SIM ADC trigger select.
|
|
enum | sim_cadc_conv_id_t {
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U
} |
| Defines the type of enumerating ADC converter's ID. More...
|
|
enum | sim_adc_alt_trg_en |
| SIM ADC alternate trigger enable.
|
|
enum | sim_dac_hw_trg_sel |
| DAC0 Hardware Trigger Input Source.
|
|
enum | sim_ewm_in_src |
| the ewm_in source of EWM module. More...
|
|
enum | sim_cmp_win_in_src |
| CMP Sample/Window Input X Source.
|
|
enum | clock_lptmr_src_t { ,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv
} |
| LPTMR clock source select. More...
|
|
enum | clock_er32k_src_t { ,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U
} |
| SIM external reference clock source select (OSC32KSEL). More...
|
|
enum | clock_flexcan_src_t {
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk
} |
| FLEXCAN clock source select. More...
|
|
enum | sim_clock_gate_name_t |
| Clock gate name used for SIM_HAL_EnableClock/SIM_HAL_DisableClock. More...
|
|
enum | clock_source_names_t |
| Clock source and sel names.
|
|
enum | clock_divider_names_t |
| Clock Divider names.
|
|
enum | sim_usbsstby_stop_t |
| SIM USB voltage regulator in standby mode setting during stop modes.
|
|
enum | sim_usbvstby_stop_t |
| SIM USB voltage regulator in standby mode setting during VLPR and VLPW modes.
|
|
enum | sim_cmtuartpad_strengh_t |
| SIM CMT/UART pad drive strength.
|
|
enum | sim_ptd7pad_strengh_t |
| SIM PTD7 pad drive strength.
|
|
enum | sim_flexbus_security_level_t |
| SIM FlexBus security level.
|
|
enum | sim_uart_rxsrc_t |
| SIM UART receive data source select.
|
|
enum | sim_uart_txsrc_t |
| SIM UART transmit data source select.
|
|
enum | sim_ftm_trg_src_t |
| SIM FlexTimer x trigger y select.
|
|
enum | sim_ftm_clk_sel_t |
| SIM FlexTimer external clock select.
|
|
enum | sim_ftm_ch_src_t |
| SIM FlexTimer x channel y input capture source select.
|
|
enum | sim_ftm_ch_out_src_t |
| SIM FlexTimer x channel y output source select.
|
|
enum | sim_ftm_flt_sel_t |
| SIM FlexTimer x Fault y select.
|
|
enum | sim_tpm_clk_sel_t |
| SIM Timer/PWM external clock select.
|
|
enum | sim_tpm_ch_src_t |
| SIM Timer/PWM x channel y input capture source select.
|
|
enum | clock_wdog_src_t { ,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk
} |
| WDOG clock source select. More...
|
|
enum | clock_trace_src_t {
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk
} |
| Debug trace clock source select. More...
|
|
enum | clock_nanoedge_clk2x_src {
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x
} |
| Debug trace clock source select. More...
|
|
enum | sim_osc32k_clock_sel_t |
| SIM OSC32KSEL clock source select.
|
|
enum | sim_nanoedge_clock_sel_t |
| SIM NANOEDGECLK2XSEL clock source select.
|
|
enum | sim_trace_clock_sel_t |
| SIM TRACECLKSEL clock source select.
|
|
enum | sim_clkout_clock_sel_t |
| SIM CLKOUT_SEL clock source select.
|
|
enum | sim_adcb_trg_sel_t |
| SIM ADCB trigger select.
|
|
enum | sim_adc_trg_sel_t |
| SIM ADC trigger select.
|
|
enum | sim_cadc_conv_id_t {
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U
} |
| Defines the type of enumerating ADC converter's ID. More...
|
|
enum | sim_adc_alt_trg_en |
| SIM ADC alternate trigger enable.
|
|
enum | sim_dac_hw_trg_sel |
| DAC0 Hardware Trigger Input Source.
|
|
enum | sim_ewm_in_src |
| the ewm_in source of EWM module. More...
|
|
enum | sim_cmp_win_in_src |
| CMP Sample/Window Input X Source.
|
|
enum | clock_lptmr_src_t { ,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv
} |
| LPTMR clock source select. More...
|
|
enum | clock_er32k_src_t { ,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U
} |
| SIM external reference clock source select (OSC32KSEL). More...
|
|
enum | clock_flexcan_src_t {
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk
} |
| FLEXCAN clock source select. More...
|
|
enum | sim_clock_gate_name_t |
| Clock gate name used for SIM_HAL_EnableClock/SIM_HAL_DisableClock. More...
|
|
enum | clock_source_names_t |
| Clock source and sel names.
|
|
enum | clock_divider_names_t |
| Clock Divider names.
|
|
enum | sim_usbsstby_stop_t |
| SIM USB voltage regulator in standby mode setting during stop modes.
|
|
enum | sim_usbvstby_stop_t |
| SIM USB voltage regulator in standby mode setting during VLPR and VLPW modes.
|
|
enum | sim_cmtuartpad_strengh_t |
| SIM CMT/UART pad drive strength.
|
|
enum | sim_ptd7pad_strengh_t |
| SIM PTD7 pad drive strength.
|
|
enum | sim_flexbus_security_level_t |
| SIM FlexBus security level.
|
|
enum | sim_uart_rxsrc_t |
| SIM UART receive data source select.
|
|
enum | sim_uart_txsrc_t |
| SIM UART transmit data source select.
|
|
enum | sim_ftm_trg_src_t |
| SIM FlexTimer x trigger y select.
|
|
enum | sim_ftm_clk_sel_t |
| SIM FlexTimer external clock select.
|
|
enum | sim_ftm_ch_src_t |
| SIM FlexTimer x channel y input capture source select.
|
|
enum | sim_ftm_ch_out_src_t |
| SIM FlexTimer x channel y output source select.
|
|
enum | sim_ftm_flt_sel_t |
| SIM FlexTimer x Fault y select.
|
|
enum | sim_tpm_clk_sel_t |
| SIM Timer/PWM external clock select.
|
|
enum | sim_tpm_ch_src_t |
| SIM Timer/PWM x channel y input capture source select.
|
|
enum | clock_wdog_src_t { ,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk
} |
| WDOG clock source select. More...
|
|
enum | clock_trace_src_t {
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk
} |
| Debug trace clock source select. More...
|
|
enum | clock_nanoedge_clk2x_src {
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x
} |
| Debug trace clock source select. More...
|
|
enum | sim_osc32k_clock_sel_t |
| SIM OSC32KSEL clock source select.
|
|
enum | sim_nanoedge_clock_sel_t |
| SIM NANOEDGECLK2XSEL clock source select.
|
|
enum | sim_trace_clock_sel_t |
| SIM TRACECLKSEL clock source select.
|
|
enum | sim_clkout_clock_sel_t |
| SIM CLKOUT_SEL clock source select.
|
|
enum | sim_adcb_trg_sel_t |
| SIM ADCB trigger select.
|
|
enum | sim_adc_trg_sel_t |
| SIM ADC trigger select.
|
|
enum | sim_cadc_conv_id_t {
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U
} |
| Defines the type of enumerating ADC converter's ID. More...
|
|
enum | sim_adc_alt_trg_en |
| SIM ADC alternate trigger enable.
|
|
enum | sim_dac_hw_trg_sel |
| DAC0 Hardware Trigger Input Source.
|
|
enum | sim_ewm_in_src |
| the ewm_in source of EWM module. More...
|
|
enum | sim_cmp_win_in_src |
| CMP Sample/Window Input X Source.
|
|
enum | clock_lptmr_src_t { ,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv
} |
| LPTMR clock source select. More...
|
|
enum | clock_er32k_src_t { ,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U
} |
| SIM external reference clock source select (OSC32KSEL). More...
|
|
enum | clock_flexcan_src_t {
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk
} |
| FLEXCAN clock source select. More...
|
|
enum | sim_clock_gate_name_t |
| Clock gate name used for SIM_HAL_EnableClock/SIM_HAL_DisableClock. More...
|
|
enum | clock_source_names_t |
| Clock source and sel names.
|
|
enum | clock_divider_names_t |
| Clock Divider names.
|
|
enum | sim_usbsstby_stop_t |
| SIM USB voltage regulator in standby mode setting during stop modes.
|
|
enum | sim_usbvstby_stop_t |
| SIM USB voltage regulator in standby mode setting during VLPR and VLPW modes.
|
|
enum | sim_cmtuartpad_strengh_t |
| SIM CMT/UART pad drive strength.
|
|
enum | sim_ptd7pad_strengh_t |
| SIM PTD7 pad drive strength.
|
|
enum | sim_flexbus_security_level_t |
| SIM FlexBus security level.
|
|
enum | sim_uart_rxsrc_t |
| SIM UART receive data source select.
|
|
enum | sim_uart_txsrc_t |
| SIM UART transmit data source select.
|
|
enum | sim_ftm_trg_src_t |
| SIM FlexTimer x trigger y select.
|
|
enum | sim_ftm_clk_sel_t |
| SIM FlexTimer external clock select.
|
|
enum | sim_ftm_ch_src_t |
| SIM FlexTimer x channel y input capture source select.
|
|
enum | sim_ftm_ch_out_src_t |
| SIM FlexTimer x channel y output source select.
|
|
enum | sim_ftm_flt_sel_t |
| SIM FlexTimer x Fault y select.
|
|
enum | sim_tpm_clk_sel_t |
| SIM Timer/PWM external clock select.
|
|
enum | sim_tpm_ch_src_t |
| SIM Timer/PWM x channel y input capture source select.
|
|
enum | clock_wdog_src_t { ,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk
} |
| WDOG clock source select. More...
|
|
enum | clock_trace_src_t {
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk
} |
| Debug trace clock source select. More...
|
|
enum | clock_nanoedge_clk2x_src {
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x
} |
| Debug trace clock source select. More...
|
|
enum | sim_osc32k_clock_sel_t |
| SIM OSC32KSEL clock source select.
|
|
enum | sim_nanoedge_clock_sel_t |
| SIM NANOEDGECLK2XSEL clock source select.
|
|
enum | sim_trace_clock_sel_t |
| SIM TRACECLKSEL clock source select.
|
|
enum | sim_clkout_clock_sel_t |
| SIM CLKOUT_SEL clock source select.
|
|
enum | sim_adcb_trg_sel_t |
| SIM ADCB trigger select.
|
|
enum | sim_adc_trg_sel_t |
| SIM ADC trigger select.
|
|
enum | sim_cadc_conv_id_t {
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U
} |
| Defines the type of enumerating ADC converter's ID. More...
|
|
enum | sim_adc_alt_trg_en |
| SIM ADC alternate trigger enable.
|
|
enum | sim_dac_hw_trg_sel |
| DAC0 Hardware Trigger Input Source.
|
|
enum | sim_ewm_in_src |
| the ewm_in source of EWM module. More...
|
|
enum | sim_cmp_win_in_src |
| CMP Sample/Window Input X Source.
|
|
enum | clock_lptmr_src_t { ,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv
} |
| LPTMR clock source select. More...
|
|
enum | clock_er32k_src_t { ,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U
} |
| SIM external reference clock source select (OSC32KSEL). More...
|
|
enum | clock_flexcan_src_t {
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk
} |
| FLEXCAN clock source select. More...
|
|
enum | sim_clock_gate_name_t |
| Clock gate name used for SIM_HAL_EnableClock/SIM_HAL_DisableClock. More...
|
|
enum | clock_source_names_t |
| Clock source and sel names.
|
|
enum | clock_divider_names_t |
| Clock Divider names.
|
|
enum | sim_usbsstby_stop_t |
| SIM USB voltage regulator in standby mode setting during stop modes.
|
|
enum | sim_usbvstby_stop_t |
| SIM USB voltage regulator in standby mode setting during VLPR and VLPW modes.
|
|
enum | sim_cmtuartpad_strengh_t |
| SIM CMT/UART pad drive strength.
|
|
enum | sim_ptd7pad_strengh_t |
| SIM PTD7 pad drive strength.
|
|
enum | sim_flexbus_security_level_t |
| SIM FlexBus security level.
|
|
enum | sim_uart_rxsrc_t |
| SIM UART receive data source select.
|
|
enum | sim_uart_txsrc_t |
| SIM UART transmit data source select.
|
|
enum | sim_ftm_trg_src_t |
| SIM FlexTimer x trigger y select.
|
|
enum | sim_ftm_clk_sel_t |
| SIM FlexTimer external clock select.
|
|
enum | sim_ftm_ch_src_t |
| SIM FlexTimer x channel y input capture source select.
|
|
enum | sim_ftm_ch_out_src_t |
| SIM FlexTimer x channel y output source select.
|
|
enum | sim_ftm_flt_sel_t |
| SIM FlexTimer x Fault y select.
|
|
enum | sim_tpm_clk_sel_t |
| SIM Timer/PWM external clock select.
|
|
enum | sim_tpm_ch_src_t |
| SIM Timer/PWM x channel y input capture source select.
|
|
enum | clock_wdog_src_t { ,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk,
kClockWdogSrcLpoClk,
kClockWdogSrcAltClk
} |
| WDOG clock source select. More...
|
|
enum | clock_trace_src_t {
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk,
kClockTraceSrcMcgoutClk,
kClockTraceSrcCoreClk
} |
| Debug trace clock source select. More...
|
|
enum | clock_nanoedge_clk2x_src {
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x,
kClockNanoedgeSrcMcgPllClk,
kClockNanoedgeSrcMcgPllClk2x
} |
| Debug trace clock source select. More...
|
|
enum | sim_osc32k_clock_sel_t |
| SIM OSC32KSEL clock source select.
|
|
enum | sim_nanoedge_clock_sel_t |
| SIM NANOEDGECLK2XSEL clock source select.
|
|
enum | sim_trace_clock_sel_t |
| SIM TRACECLKSEL clock source select.
|
|
enum | sim_clkout_clock_sel_t |
| SIM CLKOUT_SEL clock source select.
|
|
enum | sim_adcb_trg_sel_t |
| SIM ADCB trigger select.
|
|
enum | sim_adc_trg_sel_t |
| SIM ADC trigger select.
|
|
enum | sim_cadc_conv_id_t {
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U,
kSimCAdcConvA = 0U,
kSimCAdcConvB = 1U
} |
| Defines the type of enumerating ADC converter's ID. More...
|
|
enum | sim_adc_alt_trg_en |
| SIM ADC alternate trigger enable.
|
|
enum | sim_dac_hw_trg_sel |
| DAC0 Hardware Trigger Input Source.
|
|
enum | sim_ewm_in_src |
| the ewm_in source of EWM module. More...
|
|
enum | sim_cmp_win_in_src |
| CMP Sample/Window Input X Source.
|
|
enum | clock_lptmr_src_t { ,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv,
kClockLptmrSrcMcgIrClk,
kClockLptmrSrcLpoClk,
kClockLptmrSrcEr32kClk,
kClockLptmrSrcOsc0erClkUndiv
} |
| LPTMR clock source select. More...
|
|
enum | clock_er32k_src_t { ,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U,
kClockEr32kSrcOsc0 = 0U,
kClockEr32kSrcLpo = 3U
} |
| SIM external reference clock source select (OSC32KSEL). More...
|
|
enum | clock_flexcan_src_t {
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk,
kClockFlexcanSrcOsc0erClk,
kClockFlexcanSrcBusClk
} |
| FLEXCAN clock source select. More...
|
|
enum | sim_clock_gate_name_t |
| Clock gate name used for SIM_HAL_EnableClock/SIM_HAL_DisableClock. More...
|
|
enum | clock_source_names_t |
| Clock source and sel names.
|
|
enum | clock_divider_names_t |
| Clock Divider names.
|
|
enum | sim_usbsstby_stop_t |
| SIM USB voltage regulator in standby mode setting during stop modes.
|
|
enum | sim_usbvstby_stop_t |
| SIM USB voltage regulator in standby mode setting during VLPR and VLPW modes.
|
|
enum | sim_cmtuartpad_strengh_t |
| SIM CMT/UART pad drive strength.
|
|
enum | sim_ptd7pad_strengh_t |
| SIM PTD7 pad drive strength.
|
|
enum | sim_flexbus_security_level_t |
| SIM FlexBus security level.
|
|
enum | sim_uart_rxsrc_t |
| SIM UART receive data source select.
|
|
enum | sim_uart_txsrc_t |
| SIM UART transmit data source select.
|
|
enum | sim_ftm_trg_src_t |
| SIM FlexTimer x trigger y select.
|
|
enum | sim_ftm_clk_sel_t |
| SIM FlexTimer external clock select.
|
|
enum | sim_ftm_ch_src_t |
| SIM FlexTimer x channel y input capture source select.
|
|
enum | sim_ftm_ch_out_src_t |
| SIM FlexTimer x channel y output source select.
|
|
enum | sim_ftm_flt_sel_t |
| SIM FlexTimer x Fault y select.
|
|
enum | sim_tpm_clk_sel_t |
| SIM Timer/PWM external clock select.
|
|
enum | sim_tpm_ch_src_t |
| SIM Timer/PWM x channel y input capture source select.
|
|
|
static void | SIM_HAL_EnableClock (SIM_Type *base, sim_clock_gate_name_t name) |
| Enable the clock for specific module. More...
|
|
static void | SIM_HAL_DisableClock (SIM_Type *base, sim_clock_gate_name_t name) |
| Disable the clock for specific module. More...
|
|
static bool | SIM_HAL_GetGateCmd (SIM_Type *base, sim_clock_gate_name_t name) |
| Get the the clock gate state for specific module. More...
|
|
static void | CLOCK_HAL_SetExternalRefClock32kSrc (SIM_Type *base, clock_er32k_src_t setting) |
| Set the clock selection of ERCLK32K. More...
|
|
static clock_er32k_src_t | CLOCK_HAL_GetExternalRefClock32kSrc (SIM_Type *base) |
| Get the clock selection of ERCLK32K. More...
|
|
static void | CLOCK_HAL_SetOsc32kOutSel (SIM_Type *base, clock_osc32kout_sel_t setting) |
| Set OSC32KOUT selection. More...
|
|
static clock_osc32kout_sel_t | CLOCK_HAL_GetOsc32kOutSel (SIM_Type *base) |
| Get OSC32KOUT selection. More...
|
|
static uint32_t | SIM_HAL_GetRamSize (SIM_Type *base) |
| Gets RAM size. More...
|
|
static void | CLOCK_HAL_SetPllfllSel (SIM_Type *base, clock_pllfll_sel_t setting) |
| Set PLL/FLL clock selection. More...
|
|
static clock_pllfll_sel_t | CLOCK_HAL_GetPllfllSel (SIM_Type *base) |
| Get PLL/FLL clock selection. More...
|
|
static void | CLOCK_HAL_SetTraceClkSrc (SIM_Type *base, clock_trace_src_t setting) |
| Set debug trace clock selection. More...
|
|
static clock_trace_src_t | CLOCK_HAL_GetTraceClkSrc (SIM_Type *base) |
| Get debug trace clock selection. More...
|
|
static void | CLOCK_HAL_SetClkOutSel (SIM_Type *base, clock_clkout_src_t setting) |
| Set CLKOUTSEL selection. More...
|
|
static clock_clkout_src_t | CLOCK_HAL_GetClkOutSel (SIM_Type *base) |
| Get CLKOUTSEL selection. More...
|
|
static void | CLOCK_HAL_SetOutDiv1 (SIM_Type *base, uint8_t setting) |
| Set OUTDIV1. More...
|
|
static uint8_t | CLOCK_HAL_GetOutDiv1 (SIM_Type *base) |
| Get OUTDIV1. More...
|
|
static void | CLOCK_HAL_SetOutDiv2 (SIM_Type *base, uint8_t setting) |
| Set OUTDIV2. More...
|
|
static uint8_t | CLOCK_HAL_GetOutDiv2 (SIM_Type *base) |
| Get OUTDIV2. More...
|
|
static void | CLOCK_HAL_SetOutDiv4 (SIM_Type *base, uint8_t setting) |
| Set OUTDIV4. More...
|
|
static uint8_t | CLOCK_HAL_GetOutDiv4 (SIM_Type *base) |
| Get OUTDIV4. More...
|
|
void | SIM_HAL_SetFtmTriggerSrcMode (SIM_Type *base, uint32_t instance, uint8_t trigger, sim_ftm_trg_src_t select) |
| Sets the FlexTimer x hardware trigger y source select setting. More...
|
|
sim_ftm_trg_src_t | SIM_HAL_GetFtmTriggerSrcMode (SIM_Type *base, uint32_t instance, uint8_t trigger) |
| Gets the FlexTimer x hardware trigger y source select setting. More...
|
|
void | SIM_HAL_SetFtmExternalClkPinMode (SIM_Type *base, uint32_t instance, sim_ftm_clk_sel_t select) |
| Sets the FlexTimer x external clock pin select setting. More...
|
|
sim_ftm_clk_sel_t | SIM_HAL_GetFtmExternalClkPinMode (SIM_Type *base, uint32_t instance) |
| Gets the FlexTimer x external clock pin select setting. More...
|
|
void | SIM_HAL_SetFtmChSrcMode (SIM_Type *base, uint32_t instance, uint8_t channel, sim_ftm_ch_src_t select) |
| Sets the FlexTimer x channel y input capture source select setting. More...
|
|
sim_ftm_ch_src_t | SIM_HAL_GetFtmChSrcMode (SIM_Type *base, uint32_t instance, uint8_t channel) |
| Gets the FlexTimer x channel y input capture source select setting. More...
|
|
void | SIM_HAL_SetFtmFaultSelMode (SIM_Type *base, uint32_t instance, uint8_t fault, sim_ftm_flt_sel_t select) |
| Sets the FlexTimer x fault y select setting. More...
|
|
sim_ftm_flt_sel_t | SIM_HAL_GetFtmFaultSelMode (SIM_Type *base, uint32_t instance, uint8_t fault) |
| Gets the FlexTimer x fault y select setting. More...
|
|
void | SIM_HAL_SetFtmChOutSrcMode (SIM_Type *base, uint32_t instance, uint8_t channel, sim_ftm_ch_out_src_t select) |
| Sets the FlexTimer x channel y output source select setting. More...
|
|
sim_ftm_ch_out_src_t | SIM_HAL_GetFtmChOutSrcMode (SIM_Type *base, uint32_t instance, uint8_t channel) |
| Gets the FlexTimer x channel y output source select setting. More...
|
|
void | SIM_HAL_SetFtmSyncCmd (SIM_Type *base, uint32_t instance, bool sync) |
| Set FlexTimer x hardware trigger 0 software synchronization. More...
|
|
static bool | SIM_HAL_GetFtmSyncCmd (SIM_Type *base, uint32_t instance) |
| Get FlexTimer x hardware trigger 0 software synchronization setting. More...
|
|
static uint32_t | SIM_HAL_GetFamilyId (SIM_Type *base) |
| Gets the Kinetis Family ID in the System Device ID register (SIM_SDID). More...
|
|
static uint32_t | SIM_HAL_GetSubFamilyId (SIM_Type *base) |
| Gets the Kinetis Sub-Family ID in the System Device ID register (SIM_SDID). More...
|
|
static uint32_t | SIM_HAL_GetSeriesId (SIM_Type *base) |
| Gets the Kinetis SeriesID in the System Device ID register (SIM_SDID). More...
|
|
static uint32_t | SIM_HAL_GetRevId (SIM_Type *base) |
| Gets the Kinetis Revision ID in the System Device ID register (SIM_SDID). More...
|
|
static uint32_t | SIM_HAL_GetDieId (SIM_Type *base) |
| Gets the Kinetis Die ID in the System Device ID register (SIM_SDID). More...
|
|
static uint32_t | SIM_HAL_GetFamId (SIM_Type *base) |
| Gets the Kinetis family identification in the System Device ID register (SIM_SDID). More...
|
|
static uint32_t | SIM_HAL_GetPinCntId (SIM_Type *base) |
| Gets the Kinetis Pincount ID in System Device ID register (SIM_SDID). More...
|
|
static uint32_t | SIM_HAL_GetProgramFlashSize (SIM_Type *base) |
| Gets the program flash size in the Flash Configuration Register 1 (SIM_FCFG). More...
|
|
static void | SIM_HAL_SetFlashDoze (SIM_Type *base, uint32_t setting) |
| Sets the Flash Doze in the Flash Configuration Register 1 (SIM_FCFG). More...
|
|
static uint32_t | SIM_HAL_GetFlashDoze (SIM_Type *base) |
| Gets the Flash Doze in the Flash Configuration Register 1 (SIM_FCFG). More...
|
|
static void | SIM_HAL_SetFlashDisableCmd (SIM_Type *base, bool disable) |
| Sets the Flash disable setting. More...
|
|
static bool | SIM_HAL_GetFlashDisableCmd (SIM_Type *base) |
| Gets the Flash disable setting. More...
|
|
static uint32_t | SIM_HAL_GetFlashMaxAddrBlock0 (SIM_Type *base) |
| Gets the Flash maximum address block 0 in the Flash Configuration Register 1 (SIM_FCFG). More...
|
|
static void | CLOCK_HAL_SetSdhcSrc (SIM_Type *base, uint32_t instance, clock_sdhc_src_t setting) |
| Set the SDHC clock source selection. More...
|
|
static clock_sdhc_src_t | CLOCK_HAL_GetSdhcSrc (SIM_Type *base, uint32_t instance) |
| Get the SDHC clock source selection. More...
|
|
static void | CLOCK_HAL_SetTimeSrc (SIM_Type *base, uint32_t instance, clock_time_src_t setting) |
| Set the ethernet timestamp clock source selection. More...
|
|
static clock_time_src_t | CLOCK_HAL_GetTimeSrc (SIM_Type *base, uint32_t instance) |
| Get the ethernet timestamp clock source selection. More...
|
|
static void | CLOCK_HAL_SetRmiiSrc (SIM_Type *base, uint32_t instance, clock_rmii_src_t setting) |
| Set the Ethernet RMII interface clock source selection. More...
|
|
static clock_rmii_src_t | CLOCK_HAL_GetRmiiSrc (SIM_Type *base, uint32_t instance) |
| Get the Ethernet RMII interface clock source selection. More...
|
|
static void | CLOCK_HAL_SetRtcClkOutSel (SIM_Type *base, clock_rtcout_src_t setting) |
| Set RTCCLKOUTSEL selection. More...
|
|
static clock_rtcout_src_t | CLOCK_HAL_GetRtcClkOutSel (SIM_Type *base) |
| Get RTCCLKOUTSEL selection. More...
|
|
static void | CLOCK_HAL_SetOutDiv3 (SIM_Type *base, uint8_t setting) |
| Set OUTDIV3. More...
|
|
static uint8_t | CLOCK_HAL_GetOutDiv3 (SIM_Type *base) |
| Get OUTDIV3. More...
|
|
static void | SIM_HAL_SetPtd7PadDriveStrengthMode (SIM_Type *base, sim_ptd7pad_strengh_t setting) |
| Sets the PTD7 pad drive strength setting. More...
|
|
static sim_ptd7pad_strengh_t | SIM_HAL_GetPtd7PadDriveStrengthMode (SIM_Type *base) |
| Gets the PTD7 pad drive strength setting. More...
|
|
static void | SIM_HAL_SetFlexbusSecurityLevelMode (SIM_Type *base, sim_flexbus_security_level_t setting) |
| Sets the FlexBus security level setting. More...
|
|
static sim_flexbus_security_level_t | SIM_HAL_GetFlexbusSecurityLevelMode (SIM_Type *base) |
| Gets the FlexBus security level setting. More...
|
|
static uint32_t | SIM_HAL_GetFlexnvmSize (SIM_Type *base) |
| Gets the FlexNVM size in the Flash Configuration Register 1 (SIM_FCFG). More...
|
|
static uint32_t | SIM_HAL_GetEepromSize (SIM_Type *base) |
| Gets the EEProm size in the Flash Configuration Register 1 (SIM_FCFG). More...
|
|
static uint32_t | SIM_HAL_GetFlexnvmPartition (SIM_Type *base) |
| Gets the FlexNVM partition in the Flash Configuration Register 1 (SIM_FCFG). More...
|
|
static uint32_t | SIM_HAL_GetFlashMaxAddrBlock1 (SIM_Type *base) |
| Gets the Flash maximum address block 1 in Flash Configuration Register 2. More...
|
|
static uint32_t | SIM_HAL_GetProgramFlashCmd (SIM_Type *base) |
| Gets the program flash in the Flash Configuration Register 2. More...
|
|
static bool | SIM_HAL_GetSwapProgramFlash (SIM_Type *base) |
| Gets the Swap program flash flag in the Flash Configuration Register 2. More...
|
|
void | CLOCK_HAL_SetUsbfsDiv (SIM_Type *base, uint8_t usbdiv, uint8_t usbfrac) |
| Set USB FS divider setting. More...
|
|
void | CLOCK_HAL_GetUsbfsDiv (SIM_Type *base, uint8_t *usbdiv, uint8_t *usbfrac) |
| Get USB FS divider setting. More...
|
|
static void | CLOCK_HAL_SetUsbfsSrc (SIM_Type *base, uint32_t instance, clock_usbfs_src_t setting) |
| Set the selection of the clock source for the USB FS 48 MHz clock. More...
|
|
static clock_usbfs_src_t | CLOCK_HAL_GetUsbfsSrc (SIM_Type *base, uint32_t instance) |
| Get the selection of the clock source for the USB FS 48 MHz clock. More...
|
|
static void | SIM_HAL_SetUsbVoltRegulatorCmd (SIM_Type *base, bool enable) |
| Sets the USB voltage regulator enabled setting. More...
|
|
static bool | SIM_HAL_GetUsbVoltRegulatorCmd (SIM_Type *base) |
| Gets the USB voltage regulator enabled setting. More...
|
|
static void | SIM_HAL_SetUsbVoltRegulatorInStdbyDuringStopMode (SIM_Type *base, sim_usbsstby_mode_t setting) |
| Sets the USB voltage regulator in a standby mode setting during Stop, VLPS, LLS, and VLLS. More...
|
|
static sim_usbsstby_mode_t | SIM_HAL_GetUsbVoltRegulatorInStdbyDuringStopMode (SIM_Type *base) |
| Gets the USB voltage regulator in a standby mode setting. More...
|
|
static void | SIM_HAL_SetUsbVoltRegulatorInStdbyDuringVlprwMode (SIM_Type *base, sim_usbvstby_mode_t setting) |
| Sets the USB voltage regulator in a standby mode during the VLPR or the VLPW. More...
|
|
static sim_usbvstby_mode_t | SIM_HAL_GetUsbVoltRegulatorInStdbyDuringVlprwMode (SIM_Type *base) |
| Gets the USB voltage regulator in a standby mode during the VLPR or the VLPW. More...
|
|
static void | SIM_HAL_SetUsbVoltRegulatorInStdbyDuringStopCmd (SIM_Type *base, bool enable) |
| Sets the USB voltage regulator stop standby write enable setting. More...
|
|
static bool | SIM_HAL_GetUsbVoltRegulatorInStdbyDuringStopCmd (SIM_Type *base) |
| Gets the USB voltage regulator stop standby write enable setting. More...
|
|
static void | SIM_HAL_SetUsbVoltRegulatorInStdbyDuringVlprwCmd (SIM_Type *base, bool enable) |
| Sets the USB voltage regulator VLP standby write enable setting. More...
|
|
static bool | SIM_HAL_GetUsbVoltRegulatorInStdbyDuringVlprwCmd (SIM_Type *base) |
| Gets the USB voltage regulator VLP standby write enable setting. More...
|
|
static void | SIM_HAL_SetUsbVoltRegulatorWriteCmd (SIM_Type *base, bool enable) |
| Sets the USB voltage regulator enable write enable setting. More...
|
|
static bool | SIM_HAL_GetUsbVoltRegulatorWriteCmd (SIM_Type *base) |
| Gets the USB voltage regulator enable write enable setting. More...
|
|
static void | CLOCK_HAL_SetLpuartSrc (SIM_Type *base, uint32_t instance, clock_lpuart_src_t setting) |
| Set LPUART clock source. More...
|
|
static clock_lpuart_src_t | CLOCK_HAL_GetLpuartSrc (SIM_Type *base, uint32_t instance) |
| Get LPUART clock source. More...
|
|
static void | SIM_HAL_SetLpuartRxSrcMode (SIM_Type *base, uint32_t instance, sim_lpuart_rxsrc_t select) |
| Sets the LPUARTx receive data source select setting. More...
|
|
static sim_lpuart_rxsrc_t | SIM_HAL_GetLpuartRxSrcMode (SIM_Type *base, uint32_t instance) |
| Gets the LPUARTx receive data source select setting. More...
|
|
static void | CLOCK_HAL_SetUsbhsSlowClockSrc (SIM_Type *base, uint32_t instance, clock_usbhs_slowclk_src_t setting) |
| Set the selection of the clock source for the USB HS/USB PHY slow clock. More...
|
|
static clock_usbhs_slowclk_src_t | CLOCK_HAL_GetUsbhsSlowClockSrc (SIM_Type *base, uint32_t instance) |
| Get the selection of the clock source for the USB HS/USB PHY slow clock. More...
|
|
void | CLOCK_HAL_SetPllFllDiv (SIM_Type *base, uint8_t pllflldiv, uint8_t pllfllfrac) |
| Set PLL/FLL divider setting. More...
|
|
void | CLOCK_HAL_GetPllFllDiv (SIM_Type *base, uint8_t *pllflldiv, uint8_t *pllfllfrac) |
| Gets PLL/FLL divider setting. More...
|
|
void | CLOCK_HAL_SetTraceDiv (SIM_Type *base, uint8_t tracediv, uint8_t tracefrac) |
| Set TRACECLK divider setting. More...
|
|
void | CLOCK_HAL_GetTraceDiv (SIM_Type *base, uint8_t *tracediv, uint8_t *tracefrac) |
| Gets TRACECLK setting. More...
|
|
static void | CLOCK_HAL_SetTpmSrc (SIM_Type *base, uint32_t instance, clock_tpm_src_t setting) |
| Set the TPM clock source selection. More...
|
|
static clock_tpm_src_t | CLOCK_HAL_GetTpmSrc (SIM_Type *base, uint32_t instance) |
| Get the TPM clock source selection. More...
|
|
static void | SIM_HAL_SetUsbVoltRegulatorInrushLimitCmd (SIM_Type *base, bool enable) |
| Sets the USB voltage regulator inrush current limit setting. More...
|
|
static bool | SIM_HAL_GetUsbVoltRegulatorInrushLimitCmd (SIM_Type *base) |
| Gets the USB voltage regulator inrush current limit setting. More...
|
|
static void | SIM_HAL_SetUsbVoltRegulatorOutputTargetCmd (SIM_Type *base, sim_usbvout_mode_t target) |
| Sets the USB voltage regulator output target. More...
|
|
static sim_usbvout_mode_t | SIM_HAL_GetUsbVoltRegulatorOutputTargetCmd (SIM_Type *base) |
| Gets the USB voltage regulator output target. More...
|
|
static void | SIM_HAL_SetUsbPhyPllRegulatorCmd (SIM_Type *base, bool enable) |
| Sets the USB PHY PLL regulator enabled setting. More...
|
|
static bool | SIM_HAL_GetUsbPhyPllRegulatorCmd (SIM_Type *base) |
| Gets the USB PHY PLL regulator enabled setting. More...
|
|
static void | SIM_HAL_SetLpuartTxSrcMode (SIM_Type *base, uint32_t instance, sim_lpuart_txsrc_t select) |
| Sets the LPUARTx transmit data source select setting. More...
|
|
static sim_lpuart_rxsrc_t | SIM_HAL_GetLpuartTxSrcMode (SIM_Type *base, uint32_t instance) |
| Gets the LPUARTx transmit data source select setting. More...
|
|
static void | CLOCK_HAL_SetEmvsimSrc (SIM_Type *base, uint32_t instance, clock_emvsim_src_t setting) |
| Set EMVSIM clock source. More...
|
|
static clock_emvsim_src_t | CLOCK_HAL_GetEmvsimSrc (SIM_Type *base, uint32_t instance) |
| Get EMVSIM clock source. More...
|
|
static void | CLOCK_HAL_SetFlexioSrc (SIM_Type *base, uint32_t instance, clock_flexio_src_t setting) |
| Select the clock source for FLEXIO. More...
|
|
static clock_flexio_src_t | CLOCK_HAL_GetFlexioSrc (SIM_Type *base, uint32_t instance) |
| Get the clock source of FLEXIO. More...
|
|
static void | CLOCK_HAL_SetLpsciSrc (SIM_Type *base, uint32_t instance, clock_lpsci_src_t setting) |
| Set the LPSCI clock source selection. More...
|
|
static clock_lpsci_src_t | CLOCK_HAL_GetLpsciSrc (SIM_Type *base, uint32_t instance) |
| Get the LPSCI clock source selection. More...
|
|
static void | SIM_HAL_SetLpsciRxSrcMode (SIM_Type *base, uint32_t instance, sim_lpsci_rxsrc_t select) |
| Sets the LPSCIx receive data source select setting. More...
|
|
static sim_lpsci_rxsrc_t | SIM_HAL_GetLpsciRxSrcMode (SIM_Type *base, uint32_t instance) |
| Gets the LPSCIx receive data source select setting. More...
|
|
static void | SIM_HAL_SetLpsciTxSrcMode (SIM_Type *base, uint32_t instance, sim_lpsci_txsrc_t select) |
| Sets the LPSCIx transmit data source select setting. More...
|
|
static sim_lpsci_txsrc_t | SIM_HAL_GetLpsciTxSrcMode (SIM_Type *base, uint32_t instance) |
| Gets the LPSCIx transmit data source select setting. More...
|
|
static uint32_t | SIM_HAL_GetSramSize (SIM_Type *base) |
| Gets the Kinetis SramSize in the System Device ID register (SIM_SDID). More...
|
|
static void | CLOCK_HAL_SetCopSrc (SIM_Type *base, clock_cop_src_t setting) |
| Set the clock selection of COP. More...
|
|
static clock_cop_src_t | CLOCK_HAL_GetCopSrc (SIM_Type *base) |
| Get the clock selection of COP. More...
|
|
static void | SIM_HAL_SetLpuartOpenDrainCmd (SIM_Type *base, uint32_t instance, bool enable) |
| Sets the LPUARTx Open Drain Enable setting. More...
|
|
static bool | SIM_HAL_GetLpuartOpenDrainCmd (SIM_Type *base, uint32_t instance) |
| Gets the LPUARTx Open Drain Enable setting. More...
|
|
static void | SIM_HAL_SetTpmChSrcMode (SIM_Type *base, uint32_t instance, uint8_t channel, sim_tpm_ch_src_t select) |
| Sets the Timer/PWM x channel y input capture source select setting. More...
|
|
static sim_tpm_ch_src_t | SIM_HAL_GetTpmChSrcMode (SIM_Type *base, uint32_t instance, uint8_t channel) |
| Gets the Timer/PWM x channel y input capture source select setting. More...
|
|
void | SIM_HAL_SetTpmExternalClkPinSelMode (SIM_Type *base, uint32_t instance, sim_tpm_clk_sel_t select) |
| Sets the Timer/PWM x external clock pin select setting. More...
|
|
sim_tpm_clk_sel_t | SIM_HAL_GetTpmExternalClkPinSelMode (SIM_Type *base, uint32_t instance) |
| Gets the Timer/PWM x external clock pin select setting. More...
|
|
static void | SIM_HAL_SetUartOpenDrainCmd (SIM_Type *base, uint32_t instance, bool enable) |
| Sets the UARTx Open Drain Enable setting. More...
|
|
static bool | SIM_HAL_GetUartOpenDrainCmd (SIM_Type *base, uint32_t instance) |
| Gets the UARTx Open Drain Enable setting. More...
|
|
static uint32_t | SIM_HAL_GetSramSizeId (SIM_Type *base) |
| Gets the Kinetis SRAMSIZE ID in the System Device ID register (SIM_SDID). More...
|
|
static void | CLOCK_HAL_SetOutDiv5ENCmd (SIM_Type *base, bool setting) |
| Set OUTDIV5EN. More...
|
|
static bool | CLOCK_HAL_GetOutDiv5ENCmd (SIM_Type *base) |
| Get OUTDIV5EN. More...
|
|
static void | CLOCK_HAL_SetOutDiv5 (SIM_Type *base, uint8_t setting) |
| Set OUTDIV5. More...
|
|
static uint8_t | CLOCK_HAL_GetOutDiv5 (SIM_Type *base) |
| Get OUTDIV5. More...
|
|
void | CLOCK_HAL_SetAdcAltClkSrc (SIM_Type *base, uint32_t instance, clock_adc_alt_src_t adcAltSrcSel) |
| Sets the ADC ALT clock source selection setting. More...
|
|
clock_adc_alt_src_t | CLOCK_HAL_GetAdcAltClkSrc (SIM_Type *base, uint32_t instance) |
| Gets the ADC ALT clock source selection setting. More...
|
|
void | SIM_HAL_SetAdcAlternativeTriggerMode (SIM_Type *base, uint32_t instance, sim_adc_alttrg_sel_t select) |
| Sets the ADCx alternate trigger select setting. More...
|
|
sim_adc_alttrg_sel_t | SIM_HAL_GetAdcAlternativeTriggerMode (SIM_Type *base, uint32_t instance) |
| Gets the ADCx alternate trigger select setting. More...
|
|
void | SIM_HAL_SetAdcTriggerModeOneStep (SIM_Type *base, uint32_t instance, sim_adc_alttrg_sel_t altTrigSel, sim_adc_pretrg_sel_t preTrigSel, sim_adc_trg_sel_t trigSel) |
| Sets the ADCx trigger select setting in one function. More...
|
|
void | SIM_HAL_SetWdogClkSrc (SIM_Type *base, bool select) |
| WDOG Clock Select. More...
|
|
bool | SIM_HAL_GetWdogClkSrc (SIM_Type *base) |
| Get WDOG Clock Src. More...
|
|
void | SIM_HAL_SetUartOpenDrainMode (SIM_Type *base, uint32_t instance, bool enable) |
| Sets the UARTx open drain enable setting. More...
|
|
bool | SIM_HAL_GetUartOpenDrainMode (SIM_Type *base, uint32_t instance) |
| Gets the UARTx open drain enable setting. More...
|
|
static void | CLOCK_HAL_SetFtmFixFreqClkSrc (SIM_Type *base, clock_ftm_fixedfreq_src_t ftmFixedFreqSel) |
| Sets the FTM Fixed clock source selection setting. More...
|
|
static clock_ftm_fixedfreq_src_t | CLOCK_HAL_GetFtmFixFreqClkSrc (SIM_Type *base) |
| Gets the FTM Fixed clock source selection setting. More...
|
|
static void | SIM_HAL_SetFtmCarrierFreqMode (SIM_Type *base, uint32_t instance, sim_ftm_flt_carrier_sel_t select) |
| Sets the Carrier frequency selection for FTM0/2/3/4 output channel. More...
|
|
static sim_ftm_flt_carrier_sel_t | SIM_HAL_GetFtmCarrierFreqMode (SIM_Type *base, uint32_t instance) |
| Gets the Carrier frequency selection for FTM0/2 output channel. More...
|
|
static uint32_t | SIM_HAL_GetSubFamId (SIM_Type *base) |
| Gets the Kinetis SbuFam ID in System Device ID register (SIM_SDID). More...
|
|
static uint32_t | SIM_HAL_GetFlashMaxAddrBlock (SIM_Type *base) |
| Gets the Flash maximum address block in the Flash Configuration Register 1 (SIM_FCFG). More...
|
|
static void | SIM_HAL_SetFtmCarrierFreqMode (SIM_Type *base, sim_ftm_flt_carrier_sel_t select) |
| Sets the Carrier frequency selection for FTM0/2 output channel. More...
|
|
static sim_ftm_flt_carrier_sel_t | SIM_HAL_GetFtmCarrierFreqMode (SIM_Type *base) |
| Gets the Carrier frequency selection for FTM0/2 output channel. More...
|
|
sim_hal_status_t | CLOCK_HAL_SetSource (SIM_Type *base, clock_source_names_t clockSource, uint8_t setting) |
| Sets the clock source setting. More...
|
|
sim_hal_status_t | CLOCK_HAL_GetSource (SIM_Type *base, clock_source_names_t clockSource, uint8_t *setting) |
| Gets the clock source setting. More...
|
|
sim_hal_status_t | CLOCK_HAL_SetDivider (SIM_Type *base, clock_divider_names_t clockDivider, uint32_t setting) |
| Sets the clock divider setting. More...
|
|