Kinetis SDK v.1.3 API Reference Manual  Rev. 0
Freescale Semiconductor, Inc.
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
KL28T7 SIM HAL driver

Overview

The section describes the enumerations, macros and data structures for KL28T7 SIM HAL driver.

Files

file  fsl_sim_hal_MKL28T7.h
 

Enumerations

enum  clock_wdog_src_kl28t7_t {
  kClockWdogSrcLpoClk,
  kClockWdogSrcAltClk
}
 WDOG clock source select. More...
 
enum  clock_trace_src_kl28t7_t {
  kClockTraceSrcMcgoutClk,
  kClockTraceSrcCoreClk
}
 Debug trace clock source select. More...
 
enum  clock_port_filter_src_kl28t7_t {
  kClockPortFilterSrcBusClk,
  kClockPortFilterSrcLpoClk
}
 PORTx digital input filter clock source select. More...
 
enum  clock_lptmr_src_kl28t7_t {
  kClockLptmrSrcMcgIrClk,
  kClockLptmrSrcLpoClk,
  kClockLptmrSrcEr32kClk,
  kClockLptmrSrcOsc0erClk
}
 LPTMR clock source select. More...
 
enum  clock_sai_src_kl28t7_t {
  kClockSaiSrcSysClk = 0U,
  kClockSaiSrcOsc0erClk = 1U,
  kClockSaiSrcPllFllSel = 3U
}
 SAI clock source. More...
 
enum  clock_pllfll_sel_kl28t7_t {
  kClockPllFllSelFll = 0U,
  kClockPllFllSelPll = 1U,
  kClockPllFllSelIrc48M = 3U
}
 SIM PLLFLLSEL clock source select. More...
 
enum  clock_er32k_src_kl28t7_t {
  kClockEr32kSrcOsc0 = 0U,
  kClockEr32kSrcRtc = 2U,
  kClockEr32kSrcLpo = 3U
}
 SIM external reference clock source select (OSC32KSEL). More...
 
enum  clock_rtcout_src_kl28t7_t {
  kClockRtcoutSrc1Hz,
  kClockRtcoutSrc32kHz
}
 SIM RTCCLKOUTSEL clock source select. More...
 
enum  clock_osc32kout_sel_kl28t7_t {
  kClockOsc32koutNone = 0U,
  kClockOsc32koutPte0 = 1U,
  kClockOsc32koutPte26 = 2U
}
 SIM OSC32KOUT selection. More...
 
enum  sim_usbsstby_mode_kl28t7_t {
  kSimUsbsstbyNoRegulator,
  kSimUsbsstbyWithRegulator
}
 SIM USB voltage regulator in standby mode setting during stop modes. More...
 
enum  sim_usbvstby_mode_kl28t7_t {
  kSimUsbvstbyNoRegulator,
  kSimUsbvstbyWithRegulator
}
 SIM USB voltage regulator in standby mode setting during VLPR and VLPW modes. More...
 
enum  sim_adc_pretrg_sel_kl28t7_t {
  kSimAdcPretrgselA,
  kSimAdcPretrgselB
}
 SIM ADCx pre-trigger select. More...
 
enum  sim_adc_trg_sel_kl28t7_t {
  kSimAdcTrgselExt = 0U,
  kSimAdcTrgSelHighSpeedComp0 = 1U,
  kSimAdcTrgSelHighSpeedComp1 = 2U,
  kSimAdcTrgSelPit0 = 4U,
  kSimAdcTrgSelPit1 = 5U,
  kSimAdcTrgSelPit2 = 6U,
  kSimAdcTrgSelPit3 = 7U,
  kSimAdcTrgSelFtm0 = 8U,
  kSimAdcTrgSelFtm1 = 9U,
  kSimAdcTrgSelFtm2 = 10U,
  kSimAdcTrgSelRtcAlarm = 12U,
  kSimAdcTrgSelRtcSec = 13U,
  kSimAdcTrgSelLptimer = 14U
}
 SIM ADCx trigger select. More...
 
enum  sim_lpuart_rxsrc_kl28t7_t {
  kSimLpuartRxsrcPin,
  kSimLpuartRxsrcCmp0,
  kSimLpuartRxsrcCmp1
}
 SIM LPUART RX source. More...
 
enum  sim_uart_rxsrc_kl28t7_t {
  kSimUartRxsrcPin,
  kSimUartRxsrcCmp0,
  kSimUartRxsrcCmp1
}
 SIM UART receive data source select. More...
 
enum  sim_uart_txsrc_kl28t7_t {
  kSimUartTxsrcPin,
  kSimUartTxsrcFtm1,
  kSimUartTxsrcFtm2
}
 SIM UART transmit data source select. More...
 
enum  sim_ftm_trg_src_kl28t7_t {
  kSimFtmTrgSrc0,
  kSimFtmTrgSrc1
}
 SIM FlexTimer x trigger y select. More...
 
enum  sim_ftm_clk_sel_kl28t7_t {
  kSimFtmClkSel0,
  kSimFtmClkSel1
}
 SIM FlexTimer external clock select. More...
 
enum  sim_ftm_ch_src_kl28t7_t {
  kSimFtmChSrc0,
  kSimFtmChSrc1,
  kSimFtmChSrc2,
  kSimFtmChSrc3
}
 SIM FlexTimer x channel y input capture source select. More...
 
enum  sim_ftm_ch_out_src_kl28t7_t {
  kSimFtmChOutSrc0,
  kSimFtmChOutSrc1
}
 SIM FlexTimer x channel y output source select. More...
 
enum  sim_ftm_flt_sel_kl28t7_t {
  kSimFtmFltSel0,
  kSimFtmFltSel1
}
 SIM FlexTimer x Fault y select. More...
 
enum  sim_tpm_clk_sel_kl28t7_t {
  kSimTpmClkSel0,
  kSimTpmClkSel1
}
 SIM Timer/PWM external clock select. More...
 
enum  sim_tpm_ch_src_kl28t7_t {
  kSimTpmChSrc0,
  kSimTpmChSrc1
}
 SIM Timer/PWM x channel y input capture source select. More...
 
enum  sim_cmtuartpad_strengh_kl28t7_t {
  kSimCmtuartSinglePad,
  kSimCmtuartDualPad
}
 SIM CMT/UART pad drive strength. More...
 
enum  sim_ptd7pad_strengh_kl28t7_t {
  kSimPtd7padSinglePad,
  kSimPtd7padDualPad
}
 SIM PTD7 pad drive strength. More...
 

Enumeration Type Documentation

Enumerator
kClockWdogSrcLpoClk 

LPO.

kClockWdogSrcAltClk 

Alternative clock, for this SOC it is Bus clock.

Enumerator
kClockTraceSrcMcgoutClk 

MCG out clock.

kClockTraceSrcCoreClk 

core clock

Enumerator
kClockPortFilterSrcBusClk 

Bus clock.

kClockPortFilterSrcLpoClk 

LPO.

Enumerator
kClockLptmrSrcMcgIrClk 

MCGIRCLK.

kClockLptmrSrcLpoClk 

LPO clock.

kClockLptmrSrcEr32kClk 

ERCLK32K clock.

kClockLptmrSrcOsc0erClk 

OSCERCLK clock.

Enumerator
kClockSaiSrcSysClk 

SYSCLK.

kClockSaiSrcOsc0erClk 

OSC0ERCLK.

kClockSaiSrcPllFllSel 

MCGPLLCLK.

Enumerator
kClockPllFllSelFll 

Fll clock.

kClockPllFllSelPll 

Pll0 clock.

kClockPllFllSelIrc48M 

IRC48MCLK.

Enumerator
kClockEr32kSrcOsc0 

OSC0 clock (OSC032KCLK).

kClockEr32kSrcRtc 

RTC 32k clock .

kClockEr32kSrcLpo 

LPO clock.

Enumerator
kClockRtcoutSrc1Hz 

1Hz clock

kClockRtcoutSrc32kHz 

32kHz clock

Enumerator
kClockOsc32koutNone 

ERCLK32K is not output.

kClockOsc32koutPte0 

ERCLK32K is output on PTE0.

kClockOsc32koutPte26 

ERCLK32K is output on PTE26.

Enumerator
kSimUsbsstbyNoRegulator 

regulator not in standby during Stop modes

kSimUsbsstbyWithRegulator 

regulator in standby during Stop modes

Enumerator
kSimUsbvstbyNoRegulator 

regulator not in standby during VLPR and VLPW modes

kSimUsbvstbyWithRegulator 

regulator in standby during VLPR and VLPW modes

Enumerator
kSimAdcPretrgselA 

Pre-trigger A selected for ADCx.

kSimAdcPretrgselB 

Pre-trigger B selected for ADCx.

Enumerator
kSimAdcTrgselExt 

External trigger.

kSimAdcTrgSelHighSpeedComp0 

High speed comparator 0 output.

kSimAdcTrgSelHighSpeedComp1 

High speed comparator 1 output.

kSimAdcTrgSelPit0 

PIT trigger 0.

kSimAdcTrgSelPit1 

PIT trigger 1.

kSimAdcTrgSelPit2 

PIT trigger 2.

kSimAdcTrgSelPit3 

PIT trigger 3.

kSimAdcTrgSelFtm0 

FTM0 trigger.

kSimAdcTrgSelFtm1 

FTM1 trigger.

kSimAdcTrgSelFtm2 

FTM2 trigger.

kSimAdcTrgSelRtcAlarm 

RTC alarm.

kSimAdcTrgSelRtcSec 

RTC seconds.

kSimAdcTrgSelLptimer 

Low-power timer trigger.

Enumerator
kSimLpuartRxsrcPin 

LPUARTx_RX Pin.

kSimLpuartRxsrcCmp0 

CMP0.

kSimLpuartRxsrcCmp1 

CMP1.

Enumerator
kSimUartRxsrcPin 

UARTx_RX Pin.

kSimUartRxsrcCmp0 

CMP0.

kSimUartRxsrcCmp1 

CMP1.

Enumerator
kSimUartTxsrcPin 

UARTx_TX Pin.

kSimUartTxsrcFtm1 

UARTx_TX pin modulated with FTM1 channel 0 output.

kSimUartTxsrcFtm2 

UARTx_TX pin modulated with FTM2 channel 0 output.

Enumerator
kSimFtmTrgSrc0 

FlexTimer x trigger y select 0.

kSimFtmTrgSrc1 

FlexTimer x trigger y select 1.

Enumerator
kSimFtmClkSel0 

FTM CLKIN0 pin.

kSimFtmClkSel1 

FTM CLKIN1 pin.

Enumerator
kSimFtmChSrc0 

FlexTimer x channel y input capture source 0.

kSimFtmChSrc1 

FlexTimer x channel y input capture source 1.

kSimFtmChSrc2 

FlexTimer x channel y input capture source 2.

kSimFtmChSrc3 

FlexTimer x channel y input capture source 3.

Enumerator
kSimFtmChOutSrc0 

FlexTimer x channel y output source selection 0.

kSimFtmChOutSrc1 

FlexTimer x channel y output source selection 1.

Enumerator
kSimFtmFltSel0 

FlexTimer x fault y select 0.

kSimFtmFltSel1 

FlexTimer x fault y select 1.

Enumerator
kSimTpmClkSel0 

Timer/PWM TPM_CLKIN0 pin.

kSimTpmClkSel1 

Timer/PWM TPM_CLKIN1 pin.

Enumerator
kSimTpmChSrc0 

TPMx_CH0 signal.

kSimTpmChSrc1 

CMP0 output.

Enumerator
kSimCmtuartSinglePad 

Single-pad drive strength for CMT IRO or UART0_TXD.

kSimCmtuartDualPad 

Dual-pad drive strength for CMT IRO or UART0_TXD.

Enumerator
kSimPtd7padSinglePad 

Single-pad drive strength for PTD7.

kSimPtd7padDualPad 

Dual-pad drive strength for PTD7.