代码搜索:spi总线
找到约 10,000 项符合「spi总线」的源代码
代码结果 10,000
www.eeworm.com/read/354675/10334679
txt 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;
www.eeworm.com/read/280227/10345772
c spi.c
#include "includes.h"
INT8U DataSPI[3];
INT8U FlagSPI = ON;
INT8U LengthData ;
/******************************************************************
SPI.h
use this function to transfer th
www.eeworm.com/read/280227/10345785
h spi.h
/******************************************************************
SPI.h
******************************************************************/
extern void InitSPI(void);
extern void SPI_Func(vo
www.eeworm.com/read/354483/10350668
c spi.c
#include "spi.h"
#include "globals.h"
#define DBG 0
/*
=======================================================================================================================
==============
www.eeworm.com/read/354483/10350672
c~ 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
www.eeworm.com/read/354483/10350684
h spi.h
//-----------------------------------------------------------
//-----------------------------------------------------------
#include //can't be greater than 256+13
#include
www.eeworm.com/read/280057/10358184
c 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
www.eeworm.com/read/280026/10363015
exe spi.exe
www.eeworm.com/read/280026/10363032
txt spi.txt
F240 SPI master/slave example code from the C24x Reference Set, Vol 2, Chapter 5.
All contents (included source, executables, and text)
www.eeworm.com/read/280025/10363459