代码搜索结果
找到约 10,000 项符合
UART 的代码
uart.h
#ifndef _UART_H
#define _UART_H
void UartSetBaud(U32 ch, U32 baud);
char UartGetch(U32 ch);
char UartGetkey(U32 ch);
void UartPutch(U32 ch, U32 data);
void UartPuts(U32 ch, char *pt);
void Ua
uart.h
/* File: uart.h */
/* Copyright 2003, Cypress Semiconductor Corporation
*
* This software is owned by Cypress Semiconductor Corporation (Cypress) and
* is protected by United States copyright
uart.c
/* File: uart.c */
/* Copyright 2003, Cypress Semiconductor Corporation
*
* This software is owned by Cypress Semiconductor Corporation (Cypress) and
* is protected by United States copyright
uart.c
#include "config.h"
void init_uart( )
{
GPHCON = 0x16faaa;//GPH2, GPH3 used as TXD0,RXD0
GPHUP = 0x7ff; //GPH2, GPH3 disable pull up
__CONCAT(ULCON, CONSOLE_PORT) = 0x3;
__CONCAT(UCON
uart.c
#include "config.h"
void init_uart()
{
GPHCON = 0x16faaa; /*GPH2, GPH3 used as TXD0,RXD0*/
GPHUP = 0x7ff; /*GPH2, GPH3 disable pull up*/
__CONCAT(ULCON, CONSOLE_PORT) = 0x3;
__CONCAT(UC
uart.c
#include "config.h"
void init_uart()
{
GPHCON = 0x16faaa; /*GPH2, GPH3 used as TXD0,RXD0*/
GPHUP = 0x7ff; /*GPH2, GPH3 disable pull up*/
__CONCAT(ULCON, CONSOLE_PORT) = 0x3;
__CONCAT(UC
uart.h
#ifndef _UART_H
#define _UART_H
void UartSetBaud(U32 ch, U32 baud);
char UartGetch(U32 ch);
char UartGetkey(U32 ch);
void UartPutch(U32 ch, U32 data);
void UartPuts(U32 ch, char *pt);
void Ua
uart.h
#ifndef __UART_H__
#define __UART_H__
void Test_Uart0(void);
void Test_Uart0Fifo(void);
void Test_Uart1(void);
void Test_Uart1Fifo(void);
void Test_Uart0Range(void);
void Test_Uart1Max(void);