![]() |
#include <etpu_tg.h>
Definition at line 38 of file etpu_tg.h.
Data Fields | |
const uint8_t | chan_num_crank |
const uint8_t | chan_num_cam |
const uint8_t | priority |
const uint8_t | polarity_crank |
const uint8_t | polarity_cam |
const uint8_t | teeth_till_gap |
const uint8_t | teeth_in_gap |
const uint8_t | teeth_per_cycle |
const uint8_t | cam_edge_count |
const uint8_t * | p_cam_edge_tooth |
uint32_t * | cpba |
uint8_t * | cpba8_cam_edge_tooth |
|
The count of Cam edges within an engine cycle. Definition at line 59 of file etpu_tg.h. Referenced by fs_etpu_tg_init(). |
|
Channel number of the TG Cam channel. Definition at line 41 of file etpu_tg.h. Referenced by fs_etpu_tg_init(). |
|
Channel number of the TG Crank channel. Definition at line 40 of file etpu_tg.h. Referenced by fs_etpu_tg_init(). |
|
Channel parameter base address. Set cpba = 0 to use automatic allocation of eTPU DATA RAM for TG channel parameters using the eTPU utility function fs_etpu_malloc (recommanded), or assign the cpba manually by an address where the TG channel parameter space will start from, e.g. 0xC3FC8100. Definition at line 63 of file etpu_tg.h. Referenced by fs_etpu_tg_config(), fs_etpu_tg_get_states(), and fs_etpu_tg_init(). |
|
Base address of the array of tooth numbers where the cam signal toggles in eTPU DATA RAM. Set cpba_cam_edge_tooth = 0 to use automatic allocation of the eTPU DATA RAM space corresponding to the cam_edge_count value, using the eTPU utility function fs_etpu_malloc (recommanded), or assign the cpba_injections manually by an address, e.g. 0xC3FC8100. Definition at line 68 of file etpu_tg.h. Referenced by fs_etpu_tg_init(). |
|
Pointer to the first item of an array of tooth numbers where the cam signal toggles Definition at line 61 of file etpu_tg.h. Referenced by fs_etpu_tg_init(). |
|
Initial cam output polarity. It can be one of: Definition at line 47 of file etpu_tg.h. Referenced by fs_etpu_tg_init(). |
|
Initial Crank output polarity. It can be one of: Definition at line 43 of file etpu_tg.h. Referenced by fs_etpu_tg_init(). |
|
Channel priority for the TG channel. Definition at line 42 of file etpu_tg.h. Referenced by fs_etpu_tg_init(). |
|
A number of missing teeth in one gap. This should be assigned a value of 1, 2 or 3. Definition at line 54 of file etpu_tg.h. Referenced by fs_etpu_tg_init(). |
|
A number of teeth (including missing teeth in gap) per an engine cycle (720 degrees). It must be a multiple of (teeth_till_gap + teeth_in_gap). Definition at line 56 of file etpu_tg.h. Referenced by fs_etpu_tg_init(). |
|
A number of physical teeth between 2 gaps. This is the number of physical teeth on the crank wheel divided by the number of (equally spaced) gaps on the wheel. Definition at line 51 of file etpu_tg.h. Referenced by fs_etpu_tg_init(). |
Generated by ![]() |
© Freescale Semiconductor Inc. 2004 - 2012. All Rights Reserved. |