代码搜索结果

找到约 10,000 项符合 SPI 的代码

spi.txt

include "timescale.v" module spi_slave_model ( input wire csn; input wire sck input wire di; output wire do ); // // Variable declaration // wire debug = 1'b1; wire cpol = 1'b0;

spi.c

#include "includes.h" INT8U DataSPI[3]; INT8U FlagSPI = ON; INT8U LengthData ; /****************************************************************** SPI.h use this function to transfer th

spi.h

/****************************************************************** SPI.h ******************************************************************/ extern void InitSPI(void); extern void SPI_Func(vo

spi.c

#include "spi.h" #include "globals.h" #define DBG 0 /* ======================================================================================================================= ==============

spi.c~

#include "spi.h" void PARset(void) { EnableSet; TRFDirOUT; //P4 je izhod TRFFunc; TRFWrite = 0x00; //P4 postavimo na 0 - paralelna komunikacija clkOFF; clkPINset; //CLK

spi.h

//----------------------------------------------------------- //----------------------------------------------------------- #include //can't be greater than 256+13 #include

spi.c

#include #include #define DEVCLK 12000000 #define USCS1 #define CE_CE_LL 0 #define CE_CE_LH 1 #define CE_CE_HL 2 #define CE_CE_HH 3 #define MSB 0 #define LSB 1 vo

spi.txt

F240 SPI master/slave example code from the C24x Reference Set, Vol 2, Chapter 5. All contents (included source, executables, and text)