APM:Libraries
libraries
AP_HAL_Empty
UARTDriver.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
AP_HAL_Empty.h
"
4
5
class
Empty::UARTDriver
:
public
AP_HAL::UARTDriver
{
6
public
:
7
UARTDriver
();
8
/* Empty implementations of UARTDriver virtual methods */
9
void
begin
(uint32_t b);
10
void
begin
(uint32_t b, uint16_t rxS, uint16_t txS);
11
void
end
();
12
void
flush
();
13
bool
is_initialized
();
14
void
set_blocking_writes
(
bool
blocking);
15
bool
tx_pending
();
16
17
/* Empty implementations of Stream virtual methods */
18
uint32_t
available
()
override
;
19
uint32_t
txspace
()
override
;
20
int16_t
read
()
override
;
21
22
/* Empty implementations of Print virtual methods */
23
size_t
write
(uint8_t c);
24
size_t
write
(
const
uint8_t *
buffer
,
size_t
size);
25
};
Empty::UARTDriver::end
void end()
Definition:
UARTDriver.cpp:10
Empty::UARTDriver::UARTDriver
UARTDriver()
Definition:
UARTDriver.cpp:6
buffer
static uint8_t buffer[SRXL_FRAMELEN_MAX]
Definition:
srxl.cpp:56
Empty::UARTDriver::flush
void flush()
Definition:
UARTDriver.cpp:11
AP_HAL::UARTDriver
Definition:
UARTDriver.h:9
Empty::UARTDriver::write
size_t write(uint8_t c)
Definition:
UARTDriver.cpp:22
Empty::UARTDriver::set_blocking_writes
void set_blocking_writes(bool blocking)
Definition:
UARTDriver.cpp:13
Empty::UARTDriver
Definition:
UARTDriver.h:5
AP_HAL_Empty.h
Empty::UARTDriver::tx_pending
bool tx_pending()
Definition:
UARTDriver.cpp:14
Empty::UARTDriver::read
int16_t read() override
Definition:
UARTDriver.cpp:19
Empty::UARTDriver::begin
void begin(uint32_t b)
Definition:
UARTDriver.cpp:8
Empty::UARTDriver::txspace
uint32_t txspace() override
Definition:
UARTDriver.cpp:18
Empty::UARTDriver::available
uint32_t available() override
Definition:
UARTDriver.cpp:17
Empty::UARTDriver::is_initialized
bool is_initialized()
Definition:
UARTDriver.cpp:12
Generated on Sun Jun 17 2018 14:18:48 for APM:Libraries by
1.8.13