The friendly Operating System for the Internet of Things
uart_conf_t Struct Reference

UART device configuration. More...

Detailed Description

Structure for UART configuration data.

UART configuration data.

Definition at line 123 of file ezr32wg/include/periph_cpu.h.

#include </tmp/RIOT/cpu/ezr32wg/include/periph_cpu.h>

Data Fields

USART_TypeDef * dev
 USART device used. More...
 
gpio_t rx_pin
 Pin used for RX. More...
 
gpio_t tx_pin
 Pin used for TX. More...
 
uint8_t loc
 location of USART pins (AF)
 
uint8_t cmu
 the device CMU channel
 
uint8_t irq
 the devices base IRQ channel
 
Uart * dev
 U(S)ART device used.
 
Pio * rx_port
 port for RX pin
 
Pio * tx_port
 port for TX pin
 
uint8_t rx_pin
 RX pin.
 
uint8_t tx_pin
 TX pin.
 
gpio_mux_t mux
 MUX used for pins. More...
 
uint8_t pmc_id
 bit in the PMC register of the device
 
uint8_t irqn
 interrupt number of the device More...
 
SercomUsart * dev
 pointer to the used UART device
 
uart_rxpad_t rx_pad
 pad selection for RX line
 
uart_txpad_t tx_pad
 pad selection for TX line
 
uint32_t rcc_mask
 bit in clock enable register
 
gpio_af_t rx_af
 alternate function for RX pin
 
gpio_af_t tx_af
 alternate function for TX pin
 
uint8_t bus
 APB bus.
 

Field Documentation

USART_TypeDef * uart_conf_t::dev

UART device base register address.

Definition at line 124 of file ezr32wg/include/periph_cpu.h.

uint8_t uart_conf_t::irqn

IRQ channel.

Definition at line 176 of file sam3/include/periph_cpu.h.

gpio_mux_t uart_conf_t::mux

alternative function for pins

Definition at line 174 of file sam3/include/periph_cpu.h.

gpio_t uart_conf_t::rx_pin

RX pin.

pin used for RX

Definition at line 125 of file ezr32wg/include/periph_cpu.h.

gpio_t uart_conf_t::tx_pin

TX pin.

pin used for TX

Definition at line 126 of file ezr32wg/include/periph_cpu.h.


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