Wirepas SDK
usart.h
Go to the documentation of this file.
1 /* Copyright 2018 Wirepas Ltd. All Rights Reserved.
2  *
3  * See file LICENSE.txt for full license details.
4  *
5  */
6 
7 #ifndef USART_H_
8 #define USART_H_
9 
10 #include <stdbool.h>
11 #include <stdint.h>
12 
26 void Usart_init(uint32_t baudrate);
27 
37 uint32_t Usart_sendBuffer(const void * buf, uint32_t len);
38 
39 #endif /* USART_H_ */
Usart_init
void Usart_init(uint32_t baudrate)
Initialize all USART blocks Enables peripheral clocks and disables peripherals for the duration of th...
Usart_sendBuffer
uint32_t Usart_sendBuffer(const void *buf, uint32_t len)
Send a buffer to USART.