Skip to content

Struct daisy::UartHandler::Config

ClassList > daisy > UartHandler > Config

Public Types

Type Name
enum Mode
enum Parity
enum Peripheral
enum StopBits
enum WordLength

Public Attributes

Type Name
uint32_t baudrate
Mode mode
Parity parity
Peripheral periph
struct daisy::UartHandler::Config pin_config
Pin rx
StopBits stopbits
Pin tx
WordLength wordlength

Public Functions

Type Name
Config ()

Public Types Documentation

enum Mode

enum daisy::UartHandler::Config::Mode {
    RX,
    TX,
    TX_RX
};

enum Parity

enum daisy::UartHandler::Config::Parity {
    NONE,
    EVEN,
    ODD
};

enum Peripheral

enum daisy::UartHandler::Config::Peripheral {
    USART_1,
    USART_2,
    USART_3,
    UART_4,
    UART_5,
    USART_6,
    UART_7,
    UART_8,
    LPUART_1
};

enum StopBits

enum daisy::UartHandler::Config::StopBits {
    BITS_0_5,
    BITS_1,
    BITS_1_5,
    BITS_2
};

enum WordLength

enum daisy::UartHandler::Config::WordLength {
    BITS_7,
    BITS_8,
    BITS_9
};

Public Attributes Documentation

variable baudrate

uint32_t daisy::UartHandler::Config::baudrate;

variable mode

Mode daisy::UartHandler::Config::mode;

variable parity

Parity daisy::UartHandler::Config::parity;

variable periph

Peripheral daisy::UartHandler::Config::periph;

variable pin_config

struct daisy::UartHandler::Config daisy::UartHandler::Config::pin_config;

&


variable rx

Pin daisy::UartHandler::Config::rx;

&


variable stopbits

StopBits daisy::UartHandler::Config::stopbits;

variable tx

Pin daisy::UartHandler::Config::tx;

&


variable wordlength

WordLength daisy::UartHandler::Config::wordlength;

Public Functions Documentation

function Config

inline daisy::UartHandler::Config::Config () 


The documentation for this class was generated from the following file external-docs/libDaisy/src/per/uart.h