S32 SDK
ftm_ic_driver.c File Reference
#include "ftm_ic_driver.h"

Go to the source code of this file.

Functions

static void FTM_DRV_InputCaptureHandler (uint32_t instance, uint8_t channelPair)
 
static void FTM_DRV_IrqHandler (uint32_t instance, uint8_t channelPair)
 
void FTM0_Ch0_Ch1_IRQHandler (void)
 
void FTM0_Ch2_Ch3_IRQHandler (void)
 
void FTM0_Ch4_Ch5_IRQHandler (void)
 
void FTM0_Ch6_Ch7_IRQHandler (void)
 
void FTM1_Ch0_Ch1_IRQHandler (void)
 
void FTM1_Ch2_Ch3_IRQHandler (void)
 
void FTM1_Ch4_Ch5_IRQHandler (void)
 
void FTM1_Ch6_Ch7_IRQHandler (void)
 
void FTM2_Ch0_Ch1_IRQHandler (void)
 
void FTM2_Ch2_Ch3_IRQHandler (void)
 
void FTM2_Ch4_Ch5_IRQHandler (void)
 
void FTM2_Ch6_Ch7_IRQHandler (void)
 
void FTM3_Ch0_Ch1_IRQHandler (void)
 
void FTM3_Ch2_Ch3_IRQHandler (void)
 
void FTM3_Ch4_Ch5_IRQHandler (void)
 
void FTM3_Ch6_Ch7_IRQHandler (void)
 
status_t FTM_DRV_InitInputCapture (uint32_t instance, const ftm_input_param_t *param)
 Configures Channel Input Capture for either getting time-stamps on edge detection or on signal measurement . When the edge specified in the captureMode argument occurs on the channel the FTM counter is captured into the CnV register. The user will have to read the CnV register separately to get this value. The filter function is disabled if the filterVal argument passed in is 0. The filter function is available only on channels 0,1,2,3. More...
 
status_t FTM_DRV_DeinitInputCapture (uint32_t instance, const ftm_input_param_t *param)
 Disables input capture mode and clears FTM timer configuration. More...
 
uint16_t FTM_DRV_GetInputCaptureMeasurement (uint32_t instance, uint8_t channel)
 This function is used to calculate the measurement and/or time stamps values which are read from the C(n, n+1)V registers and stored to the static buffers. More...
 
status_t FTM_DRV_StartNewSignalMeasurement (uint32_t instance, uint8_t channel)
 Starts new single-shot signal measurement of the given channel. More...
 

Function Documentation

void FTM0_Ch0_Ch1_IRQHandler ( void  )

Definition at line 336 of file ftm_ic_driver.c.

void FTM0_Ch2_Ch3_IRQHandler ( void  )

Definition at line 342 of file ftm_ic_driver.c.

void FTM0_Ch4_Ch5_IRQHandler ( void  )

Definition at line 348 of file ftm_ic_driver.c.

void FTM0_Ch6_Ch7_IRQHandler ( void  )

Definition at line 354 of file ftm_ic_driver.c.

void FTM1_Ch0_Ch1_IRQHandler ( void  )

Definition at line 360 of file ftm_ic_driver.c.

void FTM1_Ch2_Ch3_IRQHandler ( void  )

Definition at line 366 of file ftm_ic_driver.c.

void FTM1_Ch4_Ch5_IRQHandler ( void  )

Definition at line 372 of file ftm_ic_driver.c.

void FTM1_Ch6_Ch7_IRQHandler ( void  )

Definition at line 378 of file ftm_ic_driver.c.

void FTM2_Ch0_Ch1_IRQHandler ( void  )

Definition at line 384 of file ftm_ic_driver.c.

void FTM2_Ch2_Ch3_IRQHandler ( void  )

Definition at line 390 of file ftm_ic_driver.c.

void FTM2_Ch4_Ch5_IRQHandler ( void  )

Definition at line 396 of file ftm_ic_driver.c.

void FTM2_Ch6_Ch7_IRQHandler ( void  )

Definition at line 402 of file ftm_ic_driver.c.

void FTM3_Ch0_Ch1_IRQHandler ( void  )

Definition at line 408 of file ftm_ic_driver.c.

void FTM3_Ch2_Ch3_IRQHandler ( void  )

Definition at line 414 of file ftm_ic_driver.c.

void FTM3_Ch4_Ch5_IRQHandler ( void  )

Definition at line 420 of file ftm_ic_driver.c.

void FTM3_Ch6_Ch7_IRQHandler ( void  )

Definition at line 426 of file ftm_ic_driver.c.

static void FTM_DRV_InputCaptureHandler ( uint32_t  instance,
uint8_t  channelPair 
)
static

Definition at line 446 of file ftm_ic_driver.c.

static void FTM_DRV_IrqHandler ( uint32_t  instance,
uint8_t  channelPair 
)
static

Definition at line 431 of file ftm_ic_driver.c.