代码搜索结果
找到约 10,000 项符合
USART 的代码
usart.ewp
1
Debug
MSP430
usart.h
//波特率9600/9个数据位/1个停止位/奇校验/收发开启/接收中断/发送结束中断/地址过滤
void usart_init(void)
{
UCSRA=0x01;
UCSRB=0xDC;
UCSRC=0xB6;
UBRRH=0x00;
UBRRL=47;
}
usart.h~
//波特率9600/9个数据位/1个停止位/奇校验/收发开启/接收中断/地址过滤
void usart_init(void)
{
UCSRA=0x01;
UCSRB=0xDC;
UCSRC=0xB6;
UBRRH=0x00;
UBRRL=47;
}
usart.s
.module usart.c
.area text(rom, con, rel)
.dbfile E:\新建文件夹\ADDA_ICC\cfile\usart.c
.dbfunc e put_char _put_char fV
; ch -> R16
.even
_put_char::
.dbline -1
.dbline 4
; #defi
usart.o
XL
H 1 areas 3 global symbols
M usart.c
A text size 38 flags 0
dbfile E:\新建文件夹\ADDA_ICC\cfile\usart.c
dbfunc e put_char 0 fV
dbsym r ch 10 c
dbline FFFFFFFF 0
dbline 4 0
dbline 9 0
dbline 9
usart.lis
.module usart.c
.area text(rom, con, rel)
0000 .dbfile E:\新建文件夹\ADDA_ICC\cfile\usart.c
0000 .dbfunc e put_char
usart.c
# include
# include
# include "cmd_list.h"
# define USART_RX_BUFFER_SIZE 64 /* 1,2,4,8,16,32,64,128 or 256 bytes */
# define USART_RX_BUFFER_MASK ( USART_RX_BU
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.h
#ifndef __USART_H__
#define __USART_H__
#include
unsigned char HexTable[]={0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x41,0x42,0x43,0x44,0x45,0x46};
unsigned char interrupt_