AM243x Motor Control SDK  09.02.00
tamagawa_config Struct Reference

Detailed Description

Structure defining Tamagawa configuration interface.

Firmware configuration interface

Data Fields

volatile uint8_t opmode
 
volatile uint8_t channel
 
volatile uint8_t trigger
 
volatile uint8_t status
 

Field Documentation

◆ opmode

volatile uint8_t tamagawa_config::opmode

operation mode selection: 0 - periodic trigger, 1 - host trigger

◆ channel

volatile uint8_t tamagawa_config::channel

channel mask (1 << channel), 0 < channel < 3. This has to be
selected before running firmware. Once initialization is complete,
it will reflect the detected channels in the selected mask.
Multichannel can have upto 3 selected, while single channel only one

◆ trigger

volatile uint8_t tamagawa_config::trigger

command trigger. Set LSB to send cmd, will be cleared upon cmd
completion. Note that cmd has to be setup before trigger

◆ status

volatile uint8_t tamagawa_config::status

initialization status: 1 - upon successful.