Khangai Robot Play - Naive  01
THe naive play of the Khangai Robot
arduino.cpp File Reference
#include "arduino.h"
#include "usart.h"
#include "defines.h"
Include dependency graph for arduino.cpp:

Classes

struct  Arduino_Packet
 

Macros

#define MAX_PACKET_LENGTH   (32)
 
#define ARDUINO_UART   (huart3)
 
#define ARDUINO_START_BYTE   (START_BYTE)
 
#define MAX_DEVICES   (5)
 
#define MAX_BYTES_PER_DEVICE   (8)
 

Functions

void Arduino_Handle_TxCplt (void)
 
void Arduino_Handle_RxCplt (void)
 

Variables

Arduino_Device gXLidar_Dev
 
Arduino_Device gYLidar_Dev
 
uint8_t gTxBuffer [MAX_PACKET_LENGTH]
 
bool gSending_Packet = false
 

Macro Definition Documentation

◆ ARDUINO_START_BYTE

#define ARDUINO_START_BYTE   (START_BYTE)

◆ ARDUINO_UART

#define ARDUINO_UART   (huart3)

◆ MAX_BYTES_PER_DEVICE

#define MAX_BYTES_PER_DEVICE   (8)

◆ MAX_DEVICES

#define MAX_DEVICES   (5)

◆ MAX_PACKET_LENGTH

#define MAX_PACKET_LENGTH   (32)

Function Documentation

◆ Arduino_Handle_RxCplt()

void Arduino_Handle_RxCplt ( void  )

◆ Arduino_Handle_TxCplt()

void Arduino_Handle_TxCplt ( void  )

Variable Documentation

◆ gSending_Packet

bool gSending_Packet = false

◆ gTxBuffer

uint8_t gTxBuffer[MAX_PACKET_LENGTH]

◆ gXLidar_Dev

Lidar gXLidar & gXLidar_Dev

◆ gYLidar_Dev

Lidar gYLidar & gYLidar_Dev