代码搜索结果
找到约 10,000 项符合
SPI 的代码
spi.mak
CC = iccavr
CFLAGS = -IC:\icc\include\ -e -DATMega8 -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:0x6
spi.lk
SPI.o uart.o flash.o main.o
spi.h
#ifndef _spi_
#define _spi_
#define SI 4
#define SO 3
#define SCLK 5
#define CS 2
#define WP 1
#define PORT1 PORTB
#define PIN1 PINB
#define DDR1 DDRB
#define WP_0 PORT1&=~(1
spi.src
[Files]
[Headers]
SPI.H
uart.h
flash.h
mytype.h
[Documents]
SPI.c
uart.c
flash.c
main.c
spi.s
.module SPI.c
.area text(rom, con, rel)
.dbfile E:\ICC\SPI\SPI.c
.dbfunc e Spi_init _Spi_init fV
.even
_Spi_init::
.dbline -1
.dbline 10
; #include
; #include "uart.h"
; #in
spi.hex
:0200000068C0D6
:14002600000000000000000000000000000000000000004383
:14003A006869702057726974652050726F746563742E2E2EBB
:14004E0000577269746520737472696E67207374617274206E
:14006200616464722000427
spi._c
#include
#include "uart.h"
#include "mytype.h"
#include "spi.h"
extern uint8 table[];
void Spi_init(void)
{
DDR1=((1
spi.c
#include
#include "uart.h"
#include "mytype.h"
#include "spi.h"
extern uint8 table[];
void Spi_init(void)
{
DDR1=((1
spi.mp
NOTE: AVR Code addresses are word addresses
All other addresses (including ones in FLASH) are byte addresses
Area Addr Size Decimal Bytes (Attributes)
----------