PHiLIP
uart_mode_t Struct Reference

UART mode settings. More...

#include <PHiLIP_typedef.h>

Data Fields

uint16_t init: 1
 
uint16_t disable: 1
 
uint16_t if_type: 2
 
uint16_t stop_bits: 1
 
uint16_t parity: 2
 
uint16_t rts: 1
 
uint16_t data_bits: 1
 
uint16_t res: 7
 

Detailed Description

UART mode settings.

Field Documentation

uint16_t uart_mode_t::data_bits

0:8 data bits - 1:7 data bits

uint16_t uart_mode_t::disable

0:periph is enabled - 1:periph is disabled

uint16_t uart_mode_t::if_type

0:echos - 1:echos and adds one - 2:reads application registers - 3:constantly transmits

uint16_t uart_mode_t::init

0:periph will initialize on execute - 1:periph initialized

uint16_t uart_mode_t::parity

0:no parity - 1:even parity - 2:odd parity

uint16_t uart_mode_t::res

Reserved bits

uint16_t uart_mode_t::rts

RTS pin state

uint16_t uart_mode_t::stop_bits

0:1 stop bit - 1:2 stop bits


The documentation for this struct was generated from the following file: