34 lines
1.0 KiB
C
34 lines
1.0 KiB
C
/*******************************************************************************
|
|
* @file uart_handler.h
|
|
* @brief UART Communication Handler
|
|
* @author Charles KWON <charleskwon@medithings.co.kr>
|
|
* @date 2025-01-30
|
|
* @copyright (c) 2025 Medithings Inc. All rights reserved.
|
|
*
|
|
* @details UART initialization and event handling for serial communication.
|
|
******************************************************************************/
|
|
|
|
#ifndef UART_HANDLER_H
|
|
#define UART_HANDLER_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
/*==============================================================================
|
|
* CONSTANTS
|
|
*============================================================================*/
|
|
|
|
#define UART_TX_BUF_SIZE 16384
|
|
#define UART_RX_BUF_SIZE 512
|
|
|
|
/*==============================================================================
|
|
* FUNCTION PROTOTYPES
|
|
*============================================================================*/
|
|
|
|
/**
|
|
* @brief Initialize UART module
|
|
*/
|
|
void uart_handler_init(void);
|
|
|
|
#endif /* UART_HANDLER_H */
|