代码搜索结果
找到约 10,000 项符合
AVR 的代码
uart.h
//ICC-AVR application builder : 2007-1-8 15:30:20
// Target : M8
// Crystal: 4.0000Mhz
#ifndef _INITIAL_H
#define _INITIAL_H
#define uchar unsigned char
#endif
extern void uart0_init(vo
uart._h
//ICC-AVR application builder : 2007-1-8 15:30:20
// Target : M8
// Crystal: 4.0000Mhz
#ifndef _INITIAL_H
#define _INITIAL_H
#define uchar unsigned char
#endif
extern void uart0_init(vo
port._c
//ICC-AVR application builder : 2007-1-9 16:27:45
// Target : M8
// Crystal: 8.0000Mhz
#include
#include
void port_init(void)
{
PORTB = 0x00;
DDRB = 0x00;
PORTC =
function.h
//ICC-AVR application builder : 2007-1-9 14:50:21
// Target : M8
// Crystal: 8.0000Mhz
#ifndef _FUNCTION_H
#define _FUNCTION_H
#endif
extern void delay_100ms(uchar a);
port.c
//ICC-AVR application builder : 2007-1-9 16:27:45
// Target : M8
// Crystal: 8.0000Mhz
#include
#include
void port_init(void)
{
PORTB = 0x00;
DDRB = 0x00;
PORTC =
port.s
.module port.c
.area text(rom, con, rel)
.dbfile D:\myavrproject\icc\twi\port.c
.dbfunc e port_init _port_init fV
.even
_port_init::
.dbline -1
.dbline 9
; //ICC-AVR application builder
pic._h
//ICC-AVR application builder : 2007-5-23 20:55:56
// Target : M128
// Crystal: 16.000Mhz
#include
#include
#define uchar unsigned char
#define uint unsigned int
unsign
pic.h
//ICC-AVR application builder : 2007-5-23 20:55:56
// Target : M128
// Crystal: 16.000Mhz
#include
#include
#define uchar unsigned char
#define uint unsigned int
unsign
1.c
#include
#include
#include
void int1_init()
{
DDRD&=0x0f;
PORTD|=0xf8;
MCUCR|=(1
同固件通信协议.txt
zhb2000和314forever网友约定的上位机同固件的通信规则:
USBASP_FUNC_CONNECT中:
data[2]代表SPI速度,取值为1-5,1为最低速,5为最高速;
data[3]代表芯片类型,取值为0或1,0代表AVR,1代表S5x;
data[4]-data[6]保留原扩展信息功能。
当上位机不选择自动调速时,data[2] (速度位)输出 0 ,