STM32 Traffic Control
Loading...
Searching...
No Matches
uart.h
Go to the documentation of this file.
1
5
6
#ifndef UART_H_
7
#define UART_H_
8
9
#include <stdint.h>
10
#include "stm32f446xx.h"
11
13
#define LOG(fmt, ...) printf( fmt "\n\r", ##__VA_ARGS__)
14
15
// Function Prototypes
16
void
uart2_init
(
void
);
17
void
uart2_write
(
int
ch);
18
19
#endif
/* UART_H_ */
uart2_init
void uart2_init(void)
Initialize UART2 peripheral.
Definition
uart.c:51
uart2_write
void uart2_write(int ch)
Transmit a single character over UART2.
Definition
uart.c:81
Inc
uart.h
Generated by
1.14.0