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

inj_instance_t Struct Reference

#include <etpu_inj.h>


Detailed Description

A structure to represent an instance of INJ. It includes static INJ initialization items.

Definition at line 53 of file etpu_inj.h.

Data Fields

const uint8_t chan_num_inj
const uint8_t chan_num_bank_1
const uint8_t chan_num_bank_2
const uint8_t chan_num_bank_3
const uint8_t priority
const uint8_t polarity_inj
const uint8_t polarity_bank
const uint24_t tdc_angle
uint32_t * cpba
uint32_t * cpba_injections
uint32_t * cpba_phases


Field Documentation

const uint8_t inj_instance_t::chan_num_bank_1
 

Channel number of the 1st BANK channel. Assign a chanel number or FS_ETPU_INJ_BANK_CHAN_NOT_USED

Definition at line 56 of file etpu_inj.h.

Referenced by fs_etpu_inj_init().

const uint8_t inj_instance_t::chan_num_bank_2
 

Channel number of the 2nd BANK channel. Assign a chanel number or FS_ETPU_INJ_BANK_CHAN_NOT_USED

Definition at line 58 of file etpu_inj.h.

Referenced by fs_etpu_inj_init().

const uint8_t inj_instance_t::chan_num_bank_3
 

Channel number of the 3rd BANK channel. Assign a chanel number or FS_ETPU_INJ_BANK_CHAN_NOT_USED

Definition at line 60 of file etpu_inj.h.

Referenced by fs_etpu_inj_init().

const uint8_t inj_instance_t::chan_num_inj
 

Channel number of the INJ channel.

Definition at line 55 of file etpu_inj.h.

Referenced by fs_etpu_inj_config(), and fs_etpu_inj_init().

uint32_t* inj_instance_t::cpba
 

Channel parameter base address. Set cpba = 0 to use automatic allocation of eTPU DATA RAM for INJ channel parameters using the eTPU utility function fs_etpu_malloc (recommanded), or assign the cpba manually by an address where the INJ channel parameter space will start from, e.g. 0xC3FC8100.

Definition at line 74 of file etpu_inj.h.

Referenced by fs_etpu_inj_config(), fs_etpu_inj_get_states(), and fs_etpu_inj_init().

uint32_t* inj_instance_t::cpba_injections
 

Base address of the injections array in eTPU DATA RAM. Set cpba_injections = 0 to use automatic allocation of the eTPU DATA RAM space corresponding to the injection_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 79 of file etpu_inj.h.

Referenced by fs_etpu_inj_config(), and fs_etpu_inj_init().

uint32_t* inj_instance_t::cpba_phases
 

Base address of the injection phase array in eTPU DATA RAM. Set cpba_phase = 0 to use automatic allocation of eTPU DATA RAM space corresponding to the phase_count value, using the eTPU utility function fs_etpu_malloc (recommanded), or assign the cpba_phases manually by an address, e.g. 0xC3FC8100.

Definition at line 84 of file etpu_inj.h.

Referenced by fs_etpu_inj_config(), and fs_etpu_inj_init().

const uint8_t inj_instance_t::polarity_bank
 

INJ polarity, applies to all BANK channels. It can one any of:

Definition at line 67 of file etpu_inj.h.

Referenced by fs_etpu_inj_init().

const uint8_t inj_instance_t::polarity_inj
 

INJ polarity, applies to INJ channel. It can one any of:

Definition at line 63 of file etpu_inj.h.

Referenced by fs_etpu_inj_init().

const uint8_t inj_instance_t::priority
 

Channel priority for the INJ channel.

Definition at line 62 of file etpu_inj.h.

Referenced by fs_etpu_inj_init().

const uint24_t inj_instance_t::tdc_angle
 

The cylinder Top Dead Center as a number of TCR2 angle ticks relative to zero engine angle, in a range corresponding to 0-720 degrees.

Definition at line 71 of file etpu_inj.h.

Referenced by fs_etpu_inj_init().


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