APM:Libraries
libraries
AP_HAL_F4Light
hardware
osd
osd_ns.h
Go to the documentation of this file.
1
2
namespace
OSDns
{
// OSD interface emulates UART
3
4
void
osd_begin
(
AP_HAL::OwnPtr<F4Light::SPIDevice>
spi);
5
void
osd_loop
();
6
7
int16_t
osd_available
();
8
9
int16_t
osd_getc
();
10
void
osd_dequeue
();
11
12
uint32_t
osd_txspace
();
13
void
osd_putc
(uint8_t c);
14
15
void
max_do_transfer
(
const
uint8_t *
buffer
, uint16_t len);
16
void
update_max_buffer
(
const
uint8_t *
buffer
, uint16_t len);
17
18
inline
uint32_t
millis
(){
return
AP_HAL::millis
(); }
19
20
class
BetterStream
;
21
}
OSDns::osd_putc
void osd_putc(uint8_t c)
OSDns::osd_dequeue
void osd_dequeue()
buffer
static uint8_t buffer[SRXL_FRAMELEN_MAX]
Definition:
srxl.cpp:56
OSDns::update_max_buffer
void update_max_buffer(const uint8_t *buffer, uint16_t len)
OSDns::osd_getc
int16_t osd_getc()
OSDns::millis
uint32_t millis()
Definition:
osd_ns.h:18
AP_HAL::OwnPtr
Definition:
OwnPtr.h:40
OSDns::osd_loop
void osd_loop()
AP_HAL::millis
uint32_t millis()
Definition:
system.cpp:157
OSDns::BetterStream
Definition:
compat.h:71
OSDns::max_do_transfer
void max_do_transfer(const uint8_t *buffer, uint16_t len)
OSDns::osd_available
int16_t osd_available()
OSDns::osd_txspace
uint32_t osd_txspace()
OSDns
Definition:
osd_namespace.h:3
OSDns::osd_begin
void osd_begin(AP_HAL::OwnPtr< F4Light::SPIDevice > spi)
Generated on Sun Jun 17 2018 14:18:49 for APM:Libraries by
1.8.13