代码搜索结果
找到约 10,000 项符合
USART 的代码
usart.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
usart.map
ARM Linker, RVCT3.1 [Build 939] for uVision [Standard]
================================================================================
Section Cross References
stm32f10x.o(STACK) refers
usart.h
/*******************标准I/O功能****************开始********/
void USART_init(void)
{
// 晶振频率 : 4.0MHz
// 通信参数: 8 Data, 1 Stop, No Parity
// 波特率:
// UBRRL= 0x0C 19200;
// UBRRL=
usart.c
//******************************************************************************
// MSP430-TEST44X Demo - USART0 UART 9600 Echo ISR, DCO SMCLK
//
// 描述; 使用接收中断返回一个字符 ,正常模式是M0,
// ACLK = LFXT1 =
usart.h
#ifndef USART_H
#define USART_H
void usartInit(void);
uchar usart_getc(void);
void usart_putc(uchar);
#endif
usart.c
#include "common.h"
#include "usart.h"
uchar usart_getc(void) {
while((*AT91C_US0_CSR & AT91C_US_RXRDY) == 0);
return (*AT91C_US0_RHR & 0xFF);
}
void usart_putc(uchar data) {
while(
usart.mak
CC = iccavr
CFLAGS = -IC:\icc\include\ -e -l -g -Mavr_enhanced_small -Wa-W
ASFLAGS = $(CFLAGS) -Wa-g
LFLAGS = -LC:\icc\lib\ -g -Wl-W -bfunc_lit:0x26.0x2000 -dram_end:0x45f -bdata:0x60.0x45f -d
usart.mp
NOTE: AVR Code addresses are word addresses
All other addresses (including ones in FLASH) are byte addresses
Area Addr Size Decimal Bytes (Attributes)
----------
usart使用.lis
.module USART使用.c
.area data(ram, con, rel)
0000 _f::
0000 .blkb 2
.area idata
0000 0102