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

Overview

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

Files

file  fsl_sim_hal_MKV10Z1287.h
 

Macros

#define FSL_SIM_SCGC_BIT(SCGCx, n)   (((SCGCx-1U)<<5U) + n)
 SIM SCGC bit index. More...
 

Enumerations

enum  clock_wdog_src_kv10z1287_t {
  kClockWdogSrcLpoClk,
  kClockWdogSrcAltClk
}
 WDOG clock source select. More...
 
enum  clock_lptmr_src_kv10z1287_t {
  kClockLptmrSrcMcgIrClk,
  kClockLptmrSrcLpoClk,
  kClockLptmrSrcEr32kClk,
  kClockLptmrSrcOsc0erClk
}
 LPTMR clock source select. More...
 
enum  clock_er32k_src_kv10z1287_t {
  kClockEr32kSrcOsc0 = 0U,
  kClockEr32kSrcLpo = 3U
}
 SIM external reference clock source select (OSC32KSEL). More...
 
enum  clock_clkout_src_kv10z1287_t {
  kClockClkoutSelBusClk = 2U,
  kClockClkoutSelLpoClk = 3U,
  kClockClkoutSelMcgIrClk = 4U,
  kClockClkoutSelOsc0erClk = 6U
}
 SIM CLKOUT_SEL clock source select. More...
 
enum  sim_adc_alttrg_sel_kv10z1287_t {
  kSimAdcAltTrgselPDB0 = 0U,
  kSimAdcAltTrgselPDB1 = 1U,
  kSimAdcAltTrgselALT = 2U,
  kSimAdcAltTrgselPDB0orPDB1 = 3U
}
 SIM SIM ADCx alternative conversion trigger select. More...
 
enum  sim_adc_pretrg_sel_kv10z1287_t {
  kSimAdcPretrgselA,
  kSimAdcPretrgselB
}
 SIM ADCx pre-trigger select. More...
 
enum  sim_adc_trg_sel_kv10z1287_t {
  kSimAdcTrgselExt = 0U,
  kSimAdcTrgselExt0 = 0U,
  kSimAdcTrgSelHighSpeedComp0 = 1U,
  kSimAdcTrgSelHighSpeedComp1 = 2U,
  kSimAdcTrgselExt1 = 3U,
  kSimAdcTrgSelDma0 = 4U,
  kSimAdcTrgSelDma1 = 5U,
  kSimAdcTrgSelDma2 = 6U,
  kSimAdcTrgSelDma3 = 7U,
  kSimAdcTrgSelFtm0 = 8U,
  kSimAdcTrgSelFtm1 = 9U,
  kSimAdcTrgSelFtm2 = 10U,
  kSimAdcTrgSelFtm3 = 11U,
  kSimAdcTrgSelFtm4 = 12U,
  kSimAdcTrgSelFtm5 = 13U,
  kSimAdcTrgSelLptimer = 14U
}
 SIM ADCx trigger select. More...
 
enum  sim_uart_rxsrc_kv10z1287_t {
  kSimUartRxsrcPin,
  kSimUartRxsrcCmp0,
  kSimUartRxsrcCmp1
}
 SIM receive data source select. More...
 
enum  sim_uart_txsrc_kv10z1287_t {
  kSimUartTxsrcPin,
  kSimUartTxsrcFtm1,
  kSimUartTxsrcFtm2
}
 SIM transmit data source select. More...
 
enum  sim_ftm_trg_src_kv10z1287_t {
  kSimFtmTrgSrc0,
  kSimFtmTrgSrc1
}
 SIM FlexTimer x trigger y select. More...
 
enum  sim_ftm_clk_sel_kv10z1287_t {
  kSimFtmClkSel0,
  kSimFtmClkSel1,
  kSimFtmClkSel2
}
 SIM FlexTimer external clock select. More...
 
enum  clock_ftm_fixedfreq_src_kv10z1287_t {
  kClockFtmClkMcgFfClk = 0U,
  kClockFtmClkMcgIrClk = 1U,
  kClockFtmClkOsc0erClk = 2U
}
 SIM FlexTimer Fixed Frequency clock source. More...
 
enum  clock_adc_alt_src_kv10z1287_t {
  kClockAdcAltClkSrcOutdiv5 = 0U,
  kClockAdcAltClkSrcMcgIrClk = 1U,
  kClockAdcAltClkSrcOsc0erClk = 2U
}
 SIM ADC alt clock source. More...
 
enum  sim_ftm_ch_src_kv10z1287_t {
  kSimFtmChSrc0,
  kSimFtmChSrc1,
  kSimFtmChSrc2,
  kSimFtmChSrc3
}
 SIM FlexTimer x channel y input capture source select. More...
 
enum  sim_ftm_ch_out_src_kv10z1287_t {
  kSimFtmChOutSrc0,
  kSimFtmChOutSrc1
}
 SIM FlexTimer x channel y output source select. More...
 
enum  sim_ftm_flt_sel_kv10z1287_t {
  kSimFtmFltSel0,
  kSimFtmFltSel1
}
 SIM FlexTimer x Fault y select. More...
 
enum  sim_ftm_flt_carrier_sel_kv10z1287_t {
  kSimFtmCarrierSel0,
  kSimFtmCarrierSel1,
  kSimFtmCarrierSel2
}
 SIM FlexTimer0/2 output channel Carrier frequency selection. More...
 
enum  clock_flexcan_src_kv10z1287_t {
  kClockFlexcanSrcOsc0erClk,
  kClockFlexcanSrcBusClk
}
 FLEXCAN clock source select. More...
 
enum  sim_clock_gate_name_kv10z1287_t
 Clock gate name used for SIM_HAL_EnableClock/SIM_HAL_DisableClock. More...
 

Macro Definition Documentation

#define FSL_SIM_SCGC_BIT (   SCGCx,
 
)    (((SCGCx-1U)<<5U) + n)

Enumeration Type Documentation

Enumerator
kClockWdogSrcLpoClk 

LPO.

kClockWdogSrcAltClk 

Alternative clock.

Enumerator
kClockLptmrSrcMcgIrClk 

MCG IRC clock.

kClockLptmrSrcLpoClk 

LPO clock.

kClockLptmrSrcEr32kClk 

ERCLK32K clock.

kClockLptmrSrcOsc0erClk 

OSCERCLK clock.

Enumerator
kClockEr32kSrcOsc0 

OSC0 clock (OSC032KCLK).

kClockEr32kSrcLpo 

LPO clock.

Enumerator
kClockClkoutSelBusClk 

Bus clock.

kClockClkoutSelLpoClk 

LPO clock.

kClockClkoutSelMcgIrClk 

MCG IRC clock.

kClockClkoutSelOsc0erClk 

OSCERCLK0 clock.

Enumerator
kSimAdcAltTrgselPDB0 

PDB0 channel 0.

kSimAdcAltTrgselPDB1 

PDB1 channel 0.

kSimAdcAltTrgselALT 

Alternative trigger.

kSimAdcAltTrgselPDB0orPDB1 

PDB0 or PDB1 channel 0.

Enumerator
kSimAdcPretrgselA 

Pre-trigger A selected for ADCx.

kSimAdcPretrgselB 

Pre-trigger B selected for ADCx.

Enumerator
kSimAdcTrgselExt 

External trigger.

kSimAdcTrgselExt0 

External trigger 0.

kSimAdcTrgSelHighSpeedComp0 

High speed comparator 0 output.

kSimAdcTrgSelHighSpeedComp1 

High speed comparator 1 output.

kSimAdcTrgselExt1 

External trigger 1.

kSimAdcTrgSelDma0 

DMA channel 0.

kSimAdcTrgSelDma1 

DMA channel 1.

kSimAdcTrgSelDma2 

DMA channel 2.

kSimAdcTrgSelDma3 

DMA channel 3.

kSimAdcTrgSelFtm0 

FTM0 trigger.

kSimAdcTrgSelFtm1 

FTM1 trigger.

kSimAdcTrgSelFtm2 

FTM2 trigger.

kSimAdcTrgSelFtm3 

FTM3 trigger.

kSimAdcTrgSelFtm4 

FTM4 trigger.

kSimAdcTrgSelFtm5 

FTM5 trigger.

kSimAdcTrgSelLptimer 

Low-power timer trigger.

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.

kSimFtmClkSel2 

FTM CLKIN2 pin.

Enumerator
kClockFtmClkMcgFfClk 

MCGFFCLK.

kClockFtmClkMcgIrClk 

MCGIRCLK.

kClockFtmClkOsc0erClk 

OSCERCLK.

Enumerator
kClockAdcAltClkSrcOutdiv5 

OUTDIV5 output clock.

kClockAdcAltClkSrcMcgIrClk 

MCGIRCLK.

kClockAdcAltClkSrcOsc0erClk 

OSCERCLK.

Enumerator
kSimFtmChSrc0 

FlexTimer x channel y uses input capture source 0.

kSimFtmChSrc1 

FlexTimer x channel y uses input capture source 1.

kSimFtmChSrc2 

FlexTimer x channel y uses input capture source 2.

kSimFtmChSrc3 

FlexTimer x channel y uses input capture source 3.

Enumerator
kSimFtmChOutSrc0 

FlexTimer x channel y output source 0.

kSimFtmChOutSrc1 

FlexTimer x channel y output source 1.

Enumerator
kSimFtmFltSel0 

FlexTimer x fault y select 0.

kSimFtmFltSel1 

FlexTimer x fault y select 1.

Enumerator
kSimFtmCarrierSel0 

Carrier frequency selection 0.

kSimFtmCarrierSel1 

Carrier frequency selection 1.

kSimFtmCarrierSel2 

Carrier frequency selection 2.

Enumerator
kClockFlexcanSrcOsc0erClk 

OSCERCLK.

kClockFlexcanSrcBusClk 

Bus clock.