feat: KT mBMS 펌웨어 3종(HW1/2/3) 및 통합 빌드 환경 초기 커밋 (V4.0.0.1)
This commit is contained in:
30
mBMS_APP_V3117/HARDWARE/uart2.h
Normal file
30
mBMS_APP_V3117/HARDWARE/uart2.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef __UART2_H
|
||||
#define __UART2_H
|
||||
#include "stdio.h"
|
||||
#include "stm32f4xx_conf.h"
|
||||
#include "sys.h"
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
//This program is for educational purposes only, without the author's permission, may not be used for any other purpose
|
||||
//ALIENTEK STM32F4 Explorer Board
|
||||
//Initialize serial port 5
|
||||
//Hot Atomic @ALIENTEK
|
||||
//Forum: www.openedv.com
|
||||
//Date modified: 2014/6/10
|
||||
//Version: V1.4
|
||||
//All rights reserved pirated reserved.
|
||||
//Copyright(C) Guangzhou wing electronic technology limited company 2009-2019
|
||||
//All rights reserved
|
||||
//********************************************************************************
|
||||
//////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void uart2_init(u32 bound);
|
||||
ErrorStatus UART2_GetChar(u8 *data);
|
||||
void UART2_PutChar(const u8 ascii);
|
||||
void UART2_PutStr(u8 *str, u16 len);
|
||||
void UART2_printf(const char *fmt,...);
|
||||
|
||||
void UART2_Flush(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user