Loading...
Searching...
No Matches
gba_uart Struct Reference

Struct whose members map onto the uart register. More...

Detailed Description

Struct whose members map onto the uart register.

Definition at line 205 of file periph_gba.h.

#include <periph_gba.h>

Data Fields

uint16_t baud: 2
 Baud rate, 0:9600, 38400, 57600, 3:115200.
 
uint16_t cts: 1
 0: Always Send, 1: Wait for SC=LOW
 
uint16_t parity: 1
 0: even, 1: odd
 
uint16_t send_data_full: 1
 Send FIFO full.
 
uint16_t receive_data_empty: 1
 Receive FIFO empty.
 
uint16_t error: 1
 Error occurred.
 
uint16_t data_bits: 1
 0: 7 bits, 1: 8 bits
 
uint16_t fifo_enable: 1
 Enable FIFO.
 
uint16_t parity_enable: 1
 Enable parity.
 
uint16_t send_enable: 1
 Enable sending data.
 
uint16_t receive_enable: 1
 Enable receiving data.
 
uint16_t must_be_1_for_uart: 2
 Config bits, unrelated to UART configuration.
 
uint16_t irq_enable: 1
 Enable IRQ on send_data_full, receive_data_empty and error.
 
uint16_t unused_15: 1
 Unused.
 

Field Documentation

◆ baud

uint16_t gba_uart::baud

Baud rate, 0:9600, 38400, 57600, 3:115200.

Definition at line 206 of file periph_gba.h.

◆ cts

uint16_t gba_uart::cts

0: Always Send, 1: Wait for SC=LOW

Definition at line 207 of file periph_gba.h.

◆ data_bits

uint16_t gba_uart::data_bits

0: 7 bits, 1: 8 bits

Definition at line 212 of file periph_gba.h.

◆ error

uint16_t gba_uart::error

Error occurred.

Definition at line 211 of file periph_gba.h.

◆ fifo_enable

uint16_t gba_uart::fifo_enable

Enable FIFO.

Definition at line 213 of file periph_gba.h.

◆ irq_enable

uint16_t gba_uart::irq_enable

Enable IRQ on send_data_full, receive_data_empty and error.

Definition at line 218 of file periph_gba.h.

◆ must_be_1_for_uart

uint16_t gba_uart::must_be_1_for_uart

Config bits, unrelated to UART configuration.

Definition at line 217 of file periph_gba.h.

◆ parity

uint16_t gba_uart::parity

0: even, 1: odd

Definition at line 208 of file periph_gba.h.

◆ parity_enable

uint16_t gba_uart::parity_enable

Enable parity.

Definition at line 214 of file periph_gba.h.

◆ receive_data_empty

uint16_t gba_uart::receive_data_empty

Receive FIFO empty.

Definition at line 210 of file periph_gba.h.

◆ receive_enable

uint16_t gba_uart::receive_enable

Enable receiving data.

Definition at line 216 of file periph_gba.h.

◆ send_data_full

uint16_t gba_uart::send_data_full

Send FIFO full.

Definition at line 209 of file periph_gba.h.

◆ send_enable

uint16_t gba_uart::send_enable

Enable sending data.

Definition at line 215 of file periph_gba.h.

◆ unused_15

uint16_t gba_uart::unused_15

Unused.

Definition at line 219 of file periph_gba.h.


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