代码搜索结果
找到约 10,000 项符合
GPIO 的代码
gpio.def
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;
; Use of th
gpio.h
/* IO defintions HDI */
#ifndef GPIO_H_
#define GPIO_H_
#include
#define LEDPORT (PORTC)
#define LEDDDR (DDRC)
#define LED0 (1
gpio.c
#include
#include "gpio.h"
void gpio_init(void)
{
LEDPORT |= ( LED0 | LED1 | LED2 ); // all off
LEDDDR |= ( LED0 | LED1 | LED2 ); // set as output
}
void gpio_set_led(
gpio.c
/*
* $Id: gpio.c,v 1.4 2003/05/19 22:24:18 lethal Exp $
* by Greg Banks
* (c) 2000 PocketPenguins Inc
*
* GPIO pin support for HD64465 companion chip.
*/
#include
gpio.c
/*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either versi
gpio.c
/*
* linux/arch/arm/plat-omap/gpio.c
*
* Support functions for OMAP GPIO
*
* Copyright (C) 2003-2005 Nokia Corporation
* Written by Juha Yrj鰈
gpio.c
/*
* linux/arch/arm/mach-at91rm9200/gpio.c
*
* Copyright (C) 2005 HP Labs
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public
gpio.c
/* linux/arch/arm/mach-s3c2410/gpio.c
*
* Copyright (c) 2004-2005 Simtec Electronics
* Ben Dooks
*
* S3C2410 GPIO support
*
* This program is free software; you can redistrib
gpio.c
/*
* linux/arch/h8300/kernel/gpio.c
*
* Yoshinori Sato
*
*/
/*
* Internal I/O Port Management
*/
#include
#include
#include
gpio.c
/* $Id: gpio.c,v 1.17 2005/06/19 17:06:46 starvik Exp $
*
* Etrax general port I/O device
*
* Copyright (c) 1999, 2000, 2001, 2002 Axis Communications AB
*
* Authors: Bjorn Wesen (initia