#include <UART_PPM.h>
|
| static void | putch (uint8_t c, uint8_t n) |
| |
Definition at line 16 of file UART_PPM.h.
◆ UART_PPM()
| UART_PPM::UART_PPM |
( |
uint8_t |
n | ) |
|
◆ available()
| uint32_t UART_PPM::available |
( |
void |
| ) |
|
|
overridevirtual |
◆ begin() [1/2]
| void UART_PPM::begin |
( |
uint32_t |
b | ) |
|
|
virtual |
◆ begin() [2/2]
| void F4Light::UART_PPM::begin |
( |
uint32_t |
baud, |
|
|
uint16_t |
rxSpace, |
|
|
uint16_t |
txSpace |
|
) |
| |
|
inlinevirtual |
Extended port open method
Allows for both opening with specified buffer sizes, and re-opening to adjust a subset of the port's settings.
- Note
- Buffer sizes greater than ::_max_buffer_size will be rounded down.
- Parameters
-
| baud | Selects the speed that the port will be configured to. If zero, the port speed is left unchanged. |
| rxSpace | Sets the receive buffer size for the port. If zero then the buffer size is left unchanged if the port is open, or set to ::_default_rx_buffer_size if it is currently closed. |
| txSpace | Sets the transmit buffer size for the port. If zero then the buffer size is left unchanged if the port is open, or set to ::_default_tx_buffer_size if it is currently closed. |
Implements AP_HAL::UARTDriver.
Definition at line 22 of file UART_PPM.h.
Referenced by begin().
◆ end()
| void F4Light::UART_PPM::end |
( |
| ) |
|
|
inlinevirtual |
◆ flush()
| void F4Light::UART_PPM::flush |
( |
void |
| ) |
|
|
inlinevirtual |
◆ is_initialized()
| bool F4Light::UART_PPM::is_initialized |
( |
| ) |
|
|
inlinevirtual |
◆ putch()
| void UART_PPM::putch |
( |
uint8_t |
c, |
|
|
uint8_t |
n |
|
) |
| |
|
static |
◆ read()
| int16_t UART_PPM::read |
( |
void |
| ) |
|
|
overridevirtual |
◆ set_blocking_writes()
| void F4Light::UART_PPM::set_blocking_writes |
( |
bool |
blocking | ) |
|
|
inlinevirtual |
◆ tx_pending()
| bool F4Light::UART_PPM::tx_pending |
( |
| ) |
|
|
inlinevirtual |
◆ txspace()
| uint32_t F4Light::UART_PPM::txspace |
( |
void |
| ) |
|
|
inlineoverridevirtual |
◆ write() [1/2]
| size_t F4Light::UART_PPM::write |
( |
uint8_t |
c | ) |
|
|
inlinevirtual |
◆ write() [2/2]
| size_t F4Light::UART_PPM::write |
( |
const uint8_t * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
inlinevirtual |
◆ _blocking
| bool F4Light::UART_PPM::_blocking |
|
private |
◆ _id
| uint8_t F4Light::UART_PPM::_id |
|
private |
◆ _initialized
| bool F4Light::UART_PPM::_initialized |
|
private |
◆ IN_CCM [1/2]
◆ IN_CCM [2/2]
The documentation for this class was generated from the following files: