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 |
volatile uint8_t tamagawa_config::opmode |
operation mode selection: 0 - periodic trigger, 1 - host trigger
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
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
volatile uint8_t tamagawa_config::status |
initialization status: 1 - upon successful.