代码搜索结果
找到约 10,000 项符合
USART 的代码
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.h
//usart.h
// BIT DEFINES
#define BIT0 0x00000001
#define BIT1 0x00000002
#define BIT2 0x00000004
#define BIT3 0x00000008
#define BIT4 0x00000010
#
usart.c
//usart.c
#include "usart.h"
#include "AT91SAM7S64.h"
// Pointers
AT91PS_PIO u_pPio = AT91C_BASE_PIOA;
AT91PS_PMC u_pPMC = AT91C_BASE_PMC;
AT91PS_USART u_pUSART0 = AT91C_BASE_US0;
usart.d
.\Obj\usart.o: ..\USART.c
.\Obj\usart.o: ..\stm32f10x.h
.\Obj\usart.o: C:\李九高\ARM\RV31\INC\core_cm3.h
.\Obj\usart.o: C:\李九高\ARM\RV31\INC\stdint.h
.\Obj\usart.o: C:\李九高\ARM\INC\ST\STM32F10x\system_
usart.h
/* filename: usart.h */
#ifndef _LXF_USART_20080914_H
#define _LXF_USART_20080914_H
extern void USART_Config(void);
extern void USART1_Puts(char *);
extern void USART1_Putc(unsigned char);
#
usart.c
/* filename: usart.c */
#include "stm32f10x_lib.h"
#include "usart.h"
void USART_Config(void)
{
GPIO_InitTypeDef GPIO_InitStructure;
USART_InitTypeDef USART_InitStructure;
RCC_A
usart.d
..\Obj\usart.o: ..\..\User\Src\usart.c
..\Obj\usart.o: ..\..\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\stm32f10x.h
..\Obj\usart.o: ..\..\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h
..\Obj\usart