Loading...
Searching...
No Matches
cpu_uart.h File Reference

UART CPU specific definitions for the STM32 family. More...

Detailed Description

UART CPU specific definitions for the STM32 family.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Vincent Dupont vince.nosp@m.nt@o.nosp@m.takey.nosp@m.s.co.nosp@m.m

Definition in file cpu_uart.h.

#include <stdint.h>
#include "cpu.h"
#include "periph/cpu_dma.h"
#include "periph/cpu_gpio.h"
+ Include dependency graph for cpu_uart.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  uart_conf_t
 UART device configuration. More...
 
#define UART_TXBUF_SIZE   (64)
 Size of the UART TX buffer for non-blocking mode.
 
enum  uart_type_t { STM32_USART , STM32_LPUART }
 UART hardware module types. More...
 

Macro Definition Documentation

◆ UART_TXBUF_SIZE

#define UART_TXBUF_SIZE   (64)

Size of the UART TX buffer for non-blocking mode.

Definition at line 46 of file cpu_uart.h.

Enumeration Type Documentation

◆ uart_type_t

UART hardware module types.

Enumerator
STM32_USART 

STM32 USART module type.

STM32_LPUART 

STM32 Low-power UART (LPUART) module type.

Definition at line 37 of file cpu_uart.h.