代码搜索结果
找到约 10,000 项符合
SPI 的代码
helper_spi.h
unsigned char helperimage[] = {
0x03,
0x00,
0x00,
0xea,
0x03,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x00,
0x30,
0x00,
0x9f,
0xe5,
spi_flash.c
/*
* SPI flash interface
*
* Copyright (C) 2008 Atmel Corporation
*/
#define DEBUG
#include
#include
#include
#include
#include "spi_flash_internal.h"
at91_spi.h
/*
* [origin: Linux kernel include/asm-arm/arch-at91/at91_spi.h]
*
* Copyright (C) 2005 Ivan Kokshaysky
* Copyright (C) SAN People
*
* Serial Peripheral Interface (SPI) registers.
* Based on AT
mac_spi.c
/**************************************************************************************************
Filename: mac_spi.c
Revised: $Date: 2007-05-02 13:41:12 -0700 (Wed, 02 May 2007)
mac_spi.h
/**************************************************************************************************
Filename: mac_spi.h
Revised: $Date: 2007-05-01 18:23:25 -0700 (Tue, 01 May 2007)
spi_interface.h
/************************************************************************************
* Header file for SPI Driver
*
* Author(s): r04473
*
* (c) Copyright 2006, Freescale, Inc. All rights reserv
atlas_spi.h
#ifndef _ATLAS_SPI_H
#define _ATLAS_SPI_H
#include "cspi.h"
// Atlas register MAP
#define INT_STATUS0 0
#define INT_MASK0 1
#define INT_SENSE0 2
#define INT_STATUS1 3
#define INT_MASK1 4
atlas_spi.c
#include "Atlas_spi.h"
void Atlas_spi_init()
{
CSPI2_PORT_init();
CSPI2_init();
}
U32 Atlas_read_reg(U32 reg_num)
{
U32 read_data=0;
U32 read_inst;
// building the r
spi_drv.h
/*H**************************************************************************
* NAME: spi_drv.h
*----------------------------------------------------------------------------
* Copy
spi_drv.c
/*C**************************************************************************
* NAME: spi_drv.c
*----------------------------------------------------------------------------
* Copyright (c)