Freescale Semiconductor Inc.
Main Page | Data Structures | File List | Data Fields | Globals

tg_states_t Struct Reference

#include <etpu_tg.h>


Detailed Description

A structure to represent internal states of TG.

Definition at line 95 of file etpu_tg.h.

Data Fields

uint8_t tooth_counter_cycle
int24_t tooth_period_actual


Field Documentation

uint8_t tg_states_t::tooth_counter_cycle
 

This is the actual value of the tooth counter which counts from 1 to teeth_per_cycle.

Definition at line 97 of file etpu_tg.h.

Referenced by fs_etpu_tg_get_states().

int24_t tg_states_t::tooth_period_actual
 

TG actual Crank tooth period as a number of TCR1 ticks.

Definition at line 99 of file etpu_tg.h.

Referenced by fs_etpu_tg_get_states().


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