⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lpclib.h

📁 ARM2131的程序模块
💻 H
字号:
#ifndef __lpclib_h__
#define __lpclib_h__

#ifdef __cplusplus
extern "C" {
#endif

#define DebugOut Uart_Printf

#define min(x1,x2) ((x1<x2)? x1:x2)
#define max(x1,x2) ((x1>x2)? x1:x2)
#define NULL 0

/*2132lib.c*/
void Uart_Printf(char *fmt,...);
void Uart_GetString(char *string);
void Uart_SendString(char *pt);
void Uart_SendByte (uint8 dat);
char Uart_Getch(void);
void UART1_Init (void);
void UART0_Init (void);
void DelayNS (uint32 dly);
void Port_Init(void);
/*  PROT        */
void Beep_OFF (void);
void Beep_ON (void);
void LED_ERR_OFF (void);
void LED_ERR_ON (void) ;
void LED_W_OFF (void);
void LED_W_ON (void) ;
void LED_R_OFF (void);
void LED_R_ON (void) ;
void Hd1_off(void);
void Hd1_L(void);
void Hd1_H(void);
void Hd2_off(void);
void Hd2_L(void);
void Hd2_H(void);
void Hd3_off(void);
void Hd3_L(void);
void Hd3_H(void);


#ifdef __cplusplus
}
#endif

#endif /*__lpc2132lib_h__*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -