代码搜索结果
找到约 10,000 项符合
SPI 的代码
avr单片机spi通讯实例程序.txt
本人的一个SPI的实例,通过SPI实现两机通讯, 采用中断方式实现双全工通讯。
本例用两MEGA8515实现,连接为:
MISO----MISO
MOSI----MOSI
SCK ----SCK
/SS ----/SS
将要发送的数据加载到发送缓冲区的函数fill_tx_buffer和从接收缓冲区读出数据的函数read_rx_bu
main.c
/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name : main.c
* Author : MCD Application Team
* Version : V1.0
* Date
main.c
/*******************************************************************************
* File Name : main.c
* Author : Wuhan R&D Center, Embest
* Date First Issued : 08/08/2008
* D
test.asm
;---------------for test mode--------------
PIN_IRQ_nRF24L01_TX EQU P0.0 ;input,Interrupt signal, from nRF24L01
PIN_SPI_MISO_TX EQU P1.7 ;input,Master In, Slave Out pin
PIN_SPI_MOSI_TX EQU
init_spi2.s
;START_HEADER
;
; dsPIC30F6014 Demo Source File
; (c) Copyright 2005 Microchip Technology, All rights reserved
;
; --------------------------------------------------------------------------
; Fi
stm32f10x_spi.c
/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name : stm32f10x_spi.c
* Author : MCD Application Team
* Date First Issued : 09/29/2006
stm32f10x_spi.c
/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name : stm32f10x_spi.c
* Author : MCD Application Team
* Date First Issued : 09/29/2006
stm32f10x_spi.c
/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name : stm32f10x_spi.c
* Author : MCD Application Team
* Date First Issued : 09/29/2006
stm32f10x_spi.c
/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name : stm32f10x_spi.c
* Author : MCD Application Team
* Date First Issued : 09/29/2006
stm32f10x_spi.c
/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name : stm32f10x_spi.c
* Author : MCD Application Team
* Date First Issued : 09/29/2006