ftm_state_t Struct Reference

FlexTimer state structure of the driver. More...

#include <platform/drivers/inc/ftm_common.h>

Data Fields

ftm_clock_source_t ftmClockSource
 
ftm_config_mode_t ftmMode
 
uint16_t ftmPeriod
 
uint32_t ftmSourceClockFrequency
 
uint16_t measurementResults [(8U)]
 
void * channelsCallbacksParams [(8U)]
 
ic_callback_t channelsCallbacks [(8U)]
 
bool enableNotification [(8U)]
 

Detailed Description

FlexTimer state structure of the driver.

Implements : ftm_state_t_Class

Definition at line 391 of file ftm_common.h.

Field Documentation

ic_callback_t channelsCallbacks[(8U)]

The callback function for channels events

Definition at line 399 of file ftm_common.h.

void* channelsCallbacksParams[(8U)]

The parameters of callback function for channels events

Definition at line 398 of file ftm_common.h.

bool enableNotification[(8U)]

To save channels enable the notification on the callback application

Definition at line 400 of file ftm_common.h.

ftm_clock_source_t ftmClockSource

Clock source used by FTM counter

Definition at line 393 of file ftm_common.h.

Mode of operation for FTM

Definition at line 394 of file ftm_common.h.

uint16_t ftmPeriod

This field is used only in PWM mode to store signal period

Definition at line 395 of file ftm_common.h.

uint32_t ftmSourceClockFrequency

The clock frequency is used for counting

Definition at line 396 of file ftm_common.h.

uint16_t measurementResults[(8U)]

This field is used only in input capture mode to store edges time stamps

Definition at line 397 of file ftm_common.h.


The documentation for this struct was generated from the following file: