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

inj_injection_config_t Struct Reference

#include <etpu_inj.h>


Detailed Description

A structure to represent a single injection configuration.

Definition at line 112 of file etpu_inj.h.

Data Fields

int24_t angle_start
uint8_t phase_count
uint32_t * p_phase_config


Field Documentation

int24_t inj_injection_config_t::angle_start
 

The tdc_angle-relative injection start angle as a number of TCR2 ticks. Positive values precede the TDC, negative go after.

Definition at line 114 of file etpu_inj.h.

Referenced by fs_etpu_inj_config(), and fs_etpu_inj_init().

uint32_t* inj_injection_config_t::p_phase_config
 

Pointer to the first item of in an array of injection phase configuration 32-bit words. Use the following definitions to set a single phase configuration word: FS_ETPU_INJ_PHASE_DURATION_MASK - 24-bit mask for phase duration set as a number of TCR1 ticks. FS_ETPU_INJ_PHASE_OUT_LOW - output low on an INJ or BANK channel FS_ETPU_INJ_PHASE_OUT_HIGH_INJ - output high on the INJ channel FS_ETPU_INJ_PHASE_OUT_HIGH_BANK_1 - output high on the BANK 1 channel FS_ETPU_INJ_PHASE_OUT_HIGH_BANK_2 - output high on the BANK 2 channel FS_ETPU_INJ_PHASE_OUT_HIGH_BANK_3 - output high on the BANK 3 channel FS_ETPU_INJ_PHASE_DMA_INJ - generate DMA request on the INJ channel at the phase start The following applie to eTPU2 only: FS_ETPU_INJ_PHASE_DMA_IRQ_BANK_1 - generate DMA and IRQ request on the BANK 1 channel at the phase start FS_ETPU_INJ_PHASE_DMA_IRQ_BANK_2 - generate DMA and IRQ request on the BANK 2 channel at the phase start FS_ETPU_INJ_PHASE_DMA_IRQ_BANK_3 - generate DMA and IRQ request on the BANK 3 channel at the phase start

Definition at line 117 of file etpu_inj.h.

Referenced by fs_etpu_inj_config(), and fs_etpu_inj_init().

uint8_t inj_injection_config_t::phase_count
 

The count of injection phases.

Definition at line 116 of file etpu_inj.h.

Referenced by fs_etpu_inj_config(), and fs_etpu_inj_init().


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