代码搜索结果
找到约 10,000 项符合
USART 的代码
uart1.c
/* usart寄存器
usart数据寄存器——UDR
8位的数据寄存器只有当UDRE置1时才能写入数据
usart控制和状态寄存器A——UCSRA
位 7 6 5 4 3 2 1 0
RXC TXC UDRE FE DOR PE U2X MPCM
位7:接收
int_all.c
#include
#include "main.h"
#include "uart.h"
ISR_ALIAS(SIG_USART_RECV,SIG_USART_TRANS);
uint8_t Rx_Bk1, Rx_Bk2;
/*
ISR(SIG_OVERFLOW2) //SIG_OVERFLOW2)
{
uint8_t i;
asm("no
urct0
/******************************************************************************/
//功能:向上位机传送信息
/******************************************************************************/
#include
ti_cc_spi.lst
C51 COMPILER V7.06 TI_CC_SPI 02/03/2009 16:53:58 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE TI_CC_SPI
OBJECT MODULE PLACED
ti_cc_spi.c
//----------------------------------------------------------------------------
// Description: This file contains functions that allow the MSP430 device to
// access the SPI interface of the CC1
ti_cc_spi.c
//----------------------------------------------------------------------------
// Description: This file contains functions that allow the MSP430 device to
// access the SPI interface of the CC1
ti_cc_spi.c
//----------------------------------------------------------------------------
// Description: This file contains functions that allow the MSP430 device to
// access the SPI interface of the CC1
tasks.c
#include
#include
#include "Tasks.h"
#include "..\delay_function.h"
#include "..\USART\USART_mega16.h"
#include "..\MotorControl\MotorControl.h"
#include "..\ADC\ADC
basic.map
Warning[w6]: Type conflict for external/entry "Usart_init1", in module main against external/entry in module interrupt_Usart; prototyped function vs K&R function
/* In module main: */
/* K&R Fun
basic.map
Warning[w6]: Type conflict for external/entry "Usart_init1", in module main against external/entry in module interrupt_Usart; prototyped function vs K&R function
/* In module main: */
/* K&R Fun