EmbeddedEtcher
usart.h
1
/*
2
* usart.h
3
*
4
* Created on: Dec 6, 2017
5
* Author: maximilian
6
*/
7
8
#ifndef PLATFORM_USART_H_
9
#define PLATFORM_USART_H_
10
11
#include "stm32f10x.h"
12
#include <stdlib.h>
13
14
#define USART_QUEUE_SIZE 1024
15
16
void
usart2Init(
void
);
17
uint8_t usart2PutString(uint8_t* word,
size_t
size);
18
uint8_t usart2GetString(uint8_t* word,
size_t
buff_size,
size_t
*string_size);
19
20
#endif
/* PLATFORM_USART_H_ */
platform
usart.h
Generated by
1.8.13