代码搜索结果

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

spi.c

#include /***************************************************************************** ** [File] ** spi.c ** [Purpose] ** SPI routines ** [Changes] ** */ void SPI_Init(unsi

spi.c

#include "spi.h" void spi_init(void) { volatile unsigned char read_SPSR = 0; DDRB |= (1

spi.h

#ifndef SPI_H #define SPI_H #include "ioavr.h" void spi_init(); unsigned char spi_send_byte(unsigned char data); #endif

spi.c

/* * Copyright (c) 2003-2004 K. John '2B|!2B' Crispin * Copyright (c) 2005 Stephan Dobretsberger * * This program is free software; you can redistribute it and/or modify * it under the

spi.h

/* * Copyright (c) 2003-2004 K. John '2B|!2B' Crispin * Copyright (c) 2005 Stephan Dobretsberger * * This program is free software; you can redistribute it and/or modify * it under the

spi.c

//[SPI.c]SPI通信-----------------------------------------------------------* //本文件包含: * // (1)SPIInit:SPI通信初始化

spi.h

//[SPI.h]SPI通信头文件------------------------------------------------------ //SPI通信需要用到的头文件 #include "mc9s12dg128.h" //MCU映像寄存器名 #include "Type.h" //类型别名定义 //SPI通信寄存器及标志位定义

spi.c

// ---------------------------------------------------------------------------- /* * Copyright (c) 2008 Florian Kristen, Fabian Greif * All rights reserved. * * Redistribution and use in source a

spi.h

// coding: utf-8 // ---------------------------------------------------------------------------- /* * Copyright (c) 2007 Fabian Greif, Roboterclub Aachen e.V. * All rights reserved. * * Redistrib