41 ,
char *out_msp_packet);
72 uint32_t
freq_Motor(QByteArray
const &i2c_data);
84 uint32_t
init_URM04(uint8_t i2c_addr, uint8_t usart_addr);
uint32_t init_encoders_USBMSP()
Init encoders.
Definition: usbMSP430Interface.cpp:297
void makeReadRegPacket(char *msp_packet, uint8_t dev_addr, uint8_t reg_addr)
Make read register packet.
Definition: usbMSP430Interface.cpp:93
uint32_t init_dhtxx_sensors_USBMSP()
Init DHTxx sensors.
Definition: usbMSP430Interface.cpp:350
uint32_t init_sensors_USBMSP()
Init sensors.
Definition: usbMSP430Interface.cpp:313
void makeWriteRegPacket(char *msp_packet, uint8_t dev_addr, uint8_t reg_addr, uint32_t reg_val)
Make write register packet.
Definition: usbMSP430Interface.cpp:80
uint32_t freq_Motor(QByteArray const &i2c_data)
Set motor frequency function.
Definition: usbMSP430Interface.cpp:579
uint32_t decodeReceivedPacket(char *msp_packet, uint8_t &dev_addr, uint8_t &func_code, uint8_t ®_addr, uint32_t ®_val)
Function for decoding received packet.
Definition: usbMSP430Interface.cpp:102
uint32_t read_USBMSP(QByteArray const &i2c_data)
Read data from MSP430 via USB.
Definition: usbMSP430Interface.cpp:1144
uint32_t reset_Encoder(QByteArray const &i2c_data)
Reset encoder function.
Definition: usbMSP430Interface.cpp:612
uint32_t send_USBMSP(QByteArray const &i2c_data)
Send data to MSP430 via USB.
Definition: usbMSP430Interface.cpp:1126
uint32_t connect_USBMSP()
Connect to USB MSP430 device.
Definition: usbMSP430Interface.cpp:435
uint32_t init_i2c_sensors_USBMSP()
Init I2C sensors.
Definition: usbMSP430Interface.cpp:391
uint32_t init_USBTTYDevice()
Init USB TTY device.
Definition: usbMSP430Interface.cpp:135
uint32_t power_Motor(QByteArray const &i2c_data)
Motor power control function.
Definition: usbMSP430Interface.cpp:486
uint32_t sendUSBPacket(char *in_msp_packet, char *out_msp_packet)
Send USB packet.
Definition: usbMSP430Interface.cpp:174
uint32_t read_Sensor(QByteArray const &i2c_data)
Read sensor function.
Definition: usbMSP430Interface.cpp:758
uint32_t init_motors_USBMSP()
Init motors.
Definition: usbMSP430Interface.cpp:227
uint32_t hex2num(char *string, uint16_t pos, uint16_t numsize)
Extract number from packet.
Definition: usbMSP430Interface.cpp:63
uint32_t read_URM04_dist(uint8_t dev_addr, uint8_t urm04_addr)
Read URM04 distance function.
Definition: usbMSP430Interface.cpp:702
uint32_t init_URM04(uint8_t i2c_addr, uint8_t usart_addr)
Init I2C + USART + URM04.
Definition: usbMSP430Interface.cpp:689
uint32_t read_Encoder(QByteArray const &i2c_data)
Read encoder function.
Definition: usbMSP430Interface.cpp:644
uint32_t disconnect_USBMSP()
Disconnect from USB MSP430 device.
Definition: usbMSP430Interface.cpp:473
uint32_t init_servomotors_USBMSP()
Init servo motors.
Definition: usbMSP430Interface.cpp:253