代码搜索结果
找到约 10,000 项符合
GPIO 的代码
main.c.bak
#include "hw_ints.h"
#include "hw_memmap.h"
#include "hw_types.h"
#include "gpio.h"
#include "sysctl.h"
#include "cpu.h"
#include "interrupt.h"
#define SETB_F_SDA() GPIOPinWrite(GPIO_
_primary.vhd
library verilog;
use verilog.vl_types.all;
entity I2C_to_GPIO is
generic(
slave_address : integer := 0;
n : integer := 8
);
port(
sda :
led.c
#define IN_TGPIO
#include "config.h"
#define LEDS8 16 // P2[23:16] controle LED8~LED1
int main(void)
{
int fd;
uint8 i, val;
fd = open("/dev/P2", O_RDONLY);
if(fd == -1)
{
tea5760.c
/*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contain
graphicsclient.h
/*
* linux/include/asm-arm/arch-sa1100/graphicsclient.h
*
* Created 2000/06/11 by Nicolas Pitre
* Modified 7/27/00 by Woojung
*
* This file contains the har
graphicsclient.h
/*
* linux/include/asm-arm/arch-sa1100/graphicsclient.h
*
* Created 2000/06/11 by Nicolas Pitre
* Modified 7/27/00 by Woojung
*
* This file contains the har
graphicsclient.h
/*
* linux/include/asm-arm/arch-sa1100/graphicsclient.h
*
* Created 2000/06/11 by Nicolas Pitre
* Modified 7/27/00 by Woojung
*
* This file contains the har
shannon.c
/*
* linux/arch/arm/mach-sa1100/shannon.c
*/
#include
#include
#include
#include
#include
#include
#includ
graphicsclient.h
/*
* linux/include/asm-arm/arch-sa1100/graphicsclient.h
*
* Created 2000/06/11 by Nicolas Pitre
* Modified 7/27/00 by Woojung
*
* This file contains the har
hc4094.c
#ifdef HC4094
#define HC4094_STR 98 // pin231
#define HC4094_DAT 99 // pin232
#define HC4094_CLK 100 //pin233
#define HC4094_STR_INIT {GPIO_M_SET(HC4094_STR,1);GPIO_E_SET(HC4094_STR,