代码搜索结果
找到约 10,000 项符合
USART 的代码
usart.c
#ifndef _REFERENCE
//*-----------------------------------------------------------------------------
//* ATMEL Microcontroller Software Support - ROUSSET -
//*-------------------------------
usart.h
//*-----------------------------------------------------------------------------
//* ATMEL Microcontroller Software Support - ROUSSET -
//*---------------------------------------------------
usart.inc
;-----------------------------------------------------------------------------
;- ATMEL Microcontroller Software Support - ROUSSET -
;--------------------------------------------------------
usart.h
//usart.h
#define BIT0 0x00000001
#define BIT1 0x00000002
#define BIT2 0x00000004
#define BIT3 0x00000008
#define BIT4 0x00000010
#define BIT5
usart.c
//usart.c
#include "usart.h"
#include "AT91SAM7S64.h"
AT91PS_PIO u_pPio = AT91C_BASE_PIOA;
AT91PS_PMC u_pPMC = AT91C_BASE_PMC;
AT91PS_USART u_pUSART0 = AT91C_BASE_US0;
AT91PS_USAR
usart.c
#define USART_C
#include "includes.h"
int usart_putchar(char c)
{
if (c == '\n')
usart_putchar('\r');
while(UCSRA&(1
usart.c
#define USART_C
#include "includes.h"
void usart_putchar(char c)
{
if (c == '\n')
usart_putchar('\r');
while(UCSRA & (1
usart.h
#if !defined(USART_H)
#define USART_H
#if defined UCART_C
void usart_putchar(char c);
void init_usart(void);
#else
extern void usart_putchar(char c);
extern void init_usart(void);
#endif
#end
usart.dep
0
Debug
$PROJ_DIR$\cfile\main.c
usart.eww
$WS_DIR$\usart.ewp