AM243x Motor Control SDK  09.01.00
SDFM_Cfg Struct Reference

Detailed Description

Structure defining SDFM configuration interface.

Firmware configuration interface exposed through PRU data
memory - used by driver to configure firmware parameters

Data Fields

volatile uint8_t ch_id
 
volatile uint8_t filter_type
 
volatile uint8_t osr
 
SDFM_ThresholdParms sdfm_threshold_parms
 
volatile uint8_t fd_window
 
volatile uint8_t fd_zero_max
 
volatile uint8_t fd_zero_min
 
volatile uint8_t fd_one_max
 
volatile uint8_t fd_one_min
 
SDFM_ClkSourceParms sdfm_clk_parms
 
SDFM_GpioParams sdfm_gpio_params
 

Field Documentation

◆ ch_id

volatile uint8_t SDFM_Cfg::ch_id

< Channle id Filter type - sinc1, sinc2, sinc3

◆ filter_type

volatile uint8_t SDFM_Cfg::filter_type

Accumulator Over Sampling Rate (OSR)

◆ osr

volatile uint8_t SDFM_Cfg::osr

sdfm threshold parms

◆ sdfm_threshold_parms

SDFM_ThresholdParms SDFM_Cfg::sdfm_threshold_parms

Fast detect window size

◆ fd_window

volatile uint8_t SDFM_Cfg::fd_window

Fast detect max count of zero

◆ fd_zero_max

volatile uint8_t SDFM_Cfg::fd_zero_max

Fast detect min count of zero

◆ fd_zero_min

volatile uint8_t SDFM_Cfg::fd_zero_min

Fast detect max count of one

◆ fd_one_max

volatile uint8_t SDFM_Cfg::fd_one_max

Fast detect min count of one

◆ fd_one_min

volatile uint8_t SDFM_Cfg::fd_one_min

sdfm ch clock parms

◆ sdfm_clk_parms

SDFM_ClkSourceParms SDFM_Cfg::sdfm_clk_parms

array to store the params of gpios for zero cross threshold

◆ sdfm_gpio_params

SDFM_GpioParams SDFM_Cfg::sdfm_gpio_params