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

knock_instance_t Struct Reference

#include <etpu_knock.h>


Detailed Description

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

Definition at line 38 of file etpu_knock.h.

Data Fields

const uint8_t chan_num
const uint8_t priority
const uint8_t polarity
const uint24_t tdc_angle
uint32_t * cpba
uint32_t * cpba_windows


Field Documentation

const uint8_t knock_instance_t::chan_num
 

Channel number of the KNOCK channel.

Definition at line 40 of file etpu_knock.h.

Referenced by fs_etpu_knock_config(), and fs_etpu_knock_init().

uint32_t* knock_instance_t::cpba
 

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

Definition at line 48 of file etpu_knock.h.

Referenced by fs_etpu_knock_config(), and fs_etpu_knock_init().

uint32_t* knock_instance_t::cpba_windows
 

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

Definition at line 53 of file etpu_knock.h.

Referenced by fs_etpu_knock_config(), and fs_etpu_knock_init().

const uint8_t knock_instance_t::polarity
 

KNOCK polarity. It can one any of:

Definition at line 42 of file etpu_knock.h.

Referenced by fs_etpu_knock_init().

const uint8_t knock_instance_t::priority
 

Channel priority for the KNOCK channel.

Definition at line 41 of file etpu_knock.h.

Referenced by fs_etpu_knock_init().

const uint24_t knock_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 45 of file etpu_knock.h.

Referenced by fs_etpu_knock_init().


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