代码搜索结果

找到约 10,000 项符合 UART 的代码

uart.h

#ifndef __UART_H #define __UART_H #ifndef IN_UART #ifdef __cplusplus extern "C" { #endif extern int UART_Select(uint8 no); extern void UART_Init(void);

uart.c

#define IN_UART #include "config.h" // 串口选择 (为0时表示串口0,否则为串口1) static uint8 g_uart_sel = 0; int UART_Select(uint8 no) { int ret; ret = g_uart_sel; g_uart_sel = no; retur

uart.h

/****************************************Copyright (c)************************************************** ** Guangzhou ZHIYUAN electronics Co.,LTD. **

uart.c

/****************************************Copyright (c)************************************************** ** Guangzhou ZHIYUAN electronics Co.,LTD. **

uart.h

#ifndef _VGUART_H #define _VGUART_H /*********************************************** Data types ************************************************/ #define vgNULL 0L #define vgTRUE 1 #define

uart.c

/************************************************************************ * File: vguart.c * * Copyright: Peak Microtech Corporation * ******************************************************

uart.h

#ifndef _VGUART_H #define _VGUART_H /*********************************************** Data types ************************************************/ #define vgNULL 0L #define vgTRUE 1 #define

uart.c

/************************************************************************ * File: vguart.c * * Copyright: Peak Microtech Corporation * ******************************************************