no-OS
|
TMC7300 initialization structure. More...
#include <tmc7300.h>
Public Attributes | |
uint32_t | addr |
struct no_os_uart_desc * | comm_desc |
struct no_os_gpio_desc * | en_gpio |
struct no_os_gpio_desc * | vio_gpio |
bool | parallel_mode |
TMC7300 initialization structure.
uint32_t tmc7300_init_param::addr |
Device address configured by the AD0 and AD1 pins
struct no_os_uart_desc* tmc7300_init_param::comm_desc |
Initialized UART descriptor. Has to have asynchronous_rx = 1
struct no_os_gpio_desc* tmc7300_init_param::en_gpio |
Initialized GPIO descriptor for the EN (bridge driver enable) signal
bool tmc7300_init_param::parallel_mode |
Enable single motor drive using both bridges
struct no_os_gpio_desc* tmc7300_init_param::vio_gpio |
Initialized GPIO descriptor for the VIO signal