Open FFBoard
Open source force feedback firmware
Loading...
Searching...
No Matches
UARTDevice Class Reference

#include <UART.h>

Inheritance diagram for UARTDevice:
MotorSimplemotion UART_CommandInterface MotorSimplemotion1 MotorSimplemotion2

Public Member Functions

 UARTDevice ()
 
 UARTDevice (UARTPort &port)
 
virtual ~UARTDevice ()
 
virtual void uartRcv (char &buf)
 
virtual void startUartTransfer (UARTPort *port, bool transmit)
 
virtual void endUartTransfer (UARTPort *port, bool transmit)
 

Protected Attributes

UARTPortuartport = nullptr
 

Detailed Description

Definition at line 74 of file UART.h.

Constructor & Destructor Documentation

◆ UARTDevice() [1/2]

UARTDevice::UARTDevice ( )

Definition at line 212 of file UART.cpp.

◆ UARTDevice() [2/2]

UARTDevice::UARTDevice ( UARTPort & port)

Definition at line 216 of file UART.cpp.

◆ ~UARTDevice()

UARTDevice::~UARTDevice ( )
virtual

Definition at line 220 of file UART.cpp.

Member Function Documentation

◆ endUartTransfer()

void UARTDevice::endUartTransfer ( UARTPort * port,
bool transmit )
virtual

Reimplemented in MotorSimplemotion.

Definition at line 229 of file UART.cpp.

◆ startUartTransfer()

void UARTDevice::startUartTransfer ( UARTPort * port,
bool transmit )
virtual

Reimplemented in MotorSimplemotion.

Definition at line 225 of file UART.cpp.

◆ uartRcv()

virtual void UARTDevice::uartRcv ( char & buf)
inlinevirtual

Reimplemented in MotorSimplemotion, and UART_CommandInterface.

Definition at line 79 of file UART.h.

Member Data Documentation

◆ uartport

UARTPort* UARTDevice::uartport = nullptr
protected

Definition at line 85 of file UART.h.


The documentation for this class was generated from the following files: