![]() |
#include <etpu_as.h>
Definition at line 92 of file etpu_as.h.
Data Fields | |
const uint24_t | start_offset |
uint24_t | period |
uint24_t | pulse_width |
uint8_t | pulse_selection |
int24_t | pulse_adjustment_frame |
int24_t | pulse_adjustment_center |
uint8_t | irq_dma_options |
uint8_t | link_options |
uint32_t | link_chans_frame_start |
uint32_t | link_chans_frame_end |
uint32_t | link_chans_center_start |
uint32_t | link_chans_center_end |
const uint32_t * | p_result_queue |
as_signal_config_t | signal_config [FS_ETPU_AS_SIGNALS_MAX] |
uint8_t | signal_mask_frame |
uint8_t | signal_mask_center |
uint8_t | phase_current_processing |
const uint8_t | phase_current_idx_a |
const uint8_t | phase_current_idx_b |
const uint8_t | phase_current_idx_c |
const uint8_t | cfifo_update |
const uint32_t * | p_cfifo |
const uint32_t | cmd_ia_adc_0 |
const uint32_t | cmd_ia_adc_1 |
const uint32_t | cmd_ib_adc_0 |
const uint32_t | cmd_ib_adc_1 |
const uint32_t | cmd_ic_adc_0 |
const uint32_t | cmd_ic_adc_1 |
|
update of eQADC command FIFO. This enables 2 selected phase current to be sampled in parallel. Which phase currents are selected is based on actual motor position in one of 6 sectors. See also *command_queue, cmd_ia/b/c_adc_0/1 and pwmm_chan_num. Use none, one or more of:
Definition at line 154 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
eQADC command to sample phase A current on ADC0. Used only when any of the AS_CFIFO_FRAME/CENTER_PULSE_START/END is set. Definition at line 169 of file etpu_as.h. Referenced by fs_etpu_as_init(). |
|
eQADC command to sample phase A current on ADC1. Used only when any of the AS_CFIFO_FRAME/CENTER_PULSE_START/END is set. Definition at line 172 of file etpu_as.h. Referenced by fs_etpu_as_init(). |
|
eQADC command to sample phase B current on ADC0. Used only when any of the AS_CFIFO_FRAME/CENTER_PULSE_START/END is set. Definition at line 175 of file etpu_as.h. Referenced by fs_etpu_as_init(). |
|
eQADC command to sample phase B current on ADC1. Used only when any of the AS_CFIFO_FRAME/CENTER_PULSE_START/END is set. Definition at line 178 of file etpu_as.h. Referenced by fs_etpu_as_init(). |
|
eQADC command to sample phase C current on ADC0. Used only when any of the AS_CFIFO_FRAME/CENTER_PULSE_START/END is set. Definition at line 181 of file etpu_as.h. Referenced by fs_etpu_as_init(). |
|
eQADC command to sample phase C current on ADC1. Used only when any of the AS_CFIFO_FRAME/CENTER_PULSE_START/END is set. |
|
selection of IRQ&DMA generation. Use none, one or more of:
Definition at line 107 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
up to 4 link numbers packed to a single 32-bit word. These links are sent at the center pulse end. Use FS_ETPU_CHANNEL_TO_LINK() to convert a channel number to a link number. Definition at line 128 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
up to 4 link numbers packed to a single 32-bit word. These links are sent at the center pulse start. Use FS_ETPU_CHANNEL_TO_LINK() to convert a channel number to a link number. Definition at line 125 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
up to 4 link numbers packed to a single 32-bit word. These links are sent at the frame pulse end. Use FS_ETPU_CHANNEL_TO_LINK() to convert a channel number to a link number. Definition at line 122 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
up to 4 link numbers packed to a single 32-bit word. These links are sent at the frame pulse start. Use FS_ETPU_CHANNEL_TO_LINK() to convert a channel number to a link number. Definition at line 119 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
selection of link generation. Use none, one or more of:
Definition at line 113 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
Pointer to eQADC command queue in eTPU DATA RAM. Used only when any of the AS_CFIFO_FRAME/CENTER_PULSE_START/END is set. Definition at line 167 of file etpu_as.h. Referenced by fs_etpu_as_init(). |
|
Pointer to eQADC results array in the eTPU DATA RAM Definition at line 131 of file etpu_as.h. Referenced by fs_etpu_as_init(). |
|
AS period as a number of TCR1 cycles. Definition at line 97 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
index of the phase A current in the signal array. Used only when FS_ETPU_AS_PHASE_CURRENTS_ON is set. Definition at line 148 of file etpu_as.h. Referenced by fs_etpu_as_init(). |
|
index of the phase B current in the signal array. Used only when FS_ETPU_AS_PHASE_CURRENTS_ON is set. Definition at line 150 of file etpu_as.h. Referenced by fs_etpu_as_init(). |
|
index of the phase C current in the signal array. Used only when FS_ETPU_AS_PHASE_CURRENTS_ON is set. Definition at line 152 of file etpu_as.h. Referenced by fs_etpu_as_init(). |
|
3-phase current processing. This switch turns on a calculation the 3rd phase current from the other 2. Which phase current is calculated is based on actual motor position in one of 6 sectors. See also phase_current_idx_a/b/c and pwmm_chan_num. Use one of: Definition at line 141 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
center pulse position adjustment as a positive or negative number of TCR1 cycles. Definition at line 105 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
frame pulse position adjustment as a positive or negative number of TCR1 cycles. Definition at line 103 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
selection of pulse generation. Use none, one or both of: Definition at line 99 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
AS pulse-width as a number of TCR1 cycles. Definition at line 98 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
Array of of individual signal processing configurations. Definition at line 133 of file etpu_as.h. Referenced by fs_etpu_as_config(), fs_etpu_as_init(), and fs_etpu_as_measure_dc_offsets(). |
|
this mask defines which signals are processed on the center pulse end. Bit 0 (LSB) corresponds to signal[0]. This parameter is used only if FS_ETPU_AS_FM1_CENTER_PULSE_ON is set. Definition at line 138 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
this mask defines which signals are processed on the frame pulse end. Bit 0 (LSB) corresponds to signal[0]. This parameter is used only if FS_ETPU_AS_FM0_FRAME_PULSE_ON is set. Definition at line 135 of file etpu_as.h. Referenced by fs_etpu_as_config(), and fs_etpu_as_init(). |
|
This parameter is used to synchronize various eTPU functions that generate a signal. For AS: the first period frame is scheduled start_offset TCR1 cycles after initialization. Definition at line 94 of file etpu_as.h. Referenced by fs_etpu_as_init(). |
Generated by ![]() |
© Freescale Semiconductor Inc. 2004 - 2012. All Rights Reserved. |