18 lines
354 B
C
18 lines
354 B
C
#ifndef __HAL_UART_INIT_H__
|
|
#define __HAL_UART_INIT_H__
|
|
|
|
/* TODO include platform head files */
|
|
#include <stdint.h>
|
|
|
|
/*
|
|
* 0 - uninitialized
|
|
* 1 - initialized but not configurated
|
|
* 2 - initialized and configurated
|
|
*/
|
|
extern int is_uart0_init;
|
|
extern int is_uart1_init;
|
|
|
|
extern void initialize_uart_device(uint8_t);
|
|
|
|
#endif /* __HAL_UART_INIT_H__ */
|