File SmartServoController.cpp
FileList > fw > rbcx-coprocessor > src > SmartServoController.cpp
Go to the source code of this file.
#include "SmartServoController.hpp"
#include "Bsp.hpp"
#include "ControlLink.hpp"
#include "stm32f1xx_ll_gpio.h"
#include "stm32f1xx_ll_usart.h"
#include "utils/Debug.hpp"
#include "utils/TickTimer.hpp"
Public Types
Public Static Attributes
Public Functions
Public Static Functions
Public Types Documentation
enum SmartServoState
enum SmartServoState {
IDLE,
TX,
RX
};
Public Static Attributes Documentation
variable gBuff
std::array<uint8_t, sizeof(CoprocReq_SmartServoReq_data_t::bytes)> gBuff;
variable gBuffIndex
variable gBuffSize
variable gExpectResponse
variable gResponseReady
variable gResponseTimeout
TickTimer gResponseTimeout;
variable gState
variable gStateTimeout
Public Functions Documentation
function SERVOUART_HANDLER
void SERVOUART_HANDLER (
void
)
function smartServoInit
function smartServoPoll
function smartServoSendRequest
void smartServoSendRequest (
const CoprocReq_SmartServoReq & req
)
Public Static Functions Documentation
function smartServoSetResponseReady
static void smartServoSetResponseReady ()
function smartServoStopRx
static void smartServoStopRx ()
The documentation for this class was generated from the following file fw/rbcx-coprocessor/src/SmartServoController.cpp