代码搜索结果
找到约 8,499 项符合
GPIO 的代码
gpio.h
//*****************************************************************************
//
// gpio.h - Defines and Macros for GPIO API.
//
// Copyright (c) 2005,2006 Luminary Micro, Inc. All rights reser
gpio.c
//*****************************************************************************
//
// gpio.c - API for GPIO ports
//
// Copyright (c) 2005,2006 Luminary Micro, Inc. All rights reserved.
//
// S
gpio.h
//*****************************************************************************
//
// gpio.h - Defines and Macros for GPIO API.
//
// Copyright (c) 2005,2006 Luminary Micro, Inc. All rights reser
gpio.h
//*****************************************************************************
//
// gpio.h - Defines and Macros for GPIO API.
//
// Copyright (c) 2005,2006 Luminary Micro, Inc. All rights reser
gpio.c
//*****************************************************************************
//
// gpio.c - API for GPIO ports
//
// Copyright (c) 2005,2006 Luminary Micro, Inc. All rights reserved.
//
// S
gpio.h
/******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
* File Name : gpio.h
* Author : MCD Application Team
* Date First Issued : 08/06/2003
* Descr
gpio.c
/******************** (C) COPYRIGHT 2003 STMicroelectronics ********************
* File Name : gpio.c
* Author : MCD Application Team
* Date First Issued : 06/08/2003
* Descr
gpio.c
//
// Copyright (c) Samsung Electronics. All rights reserved.
//
//------------------------------------------------------------------------------
//
// File: gpio.c
//
// This file implement
gpio.c
#include "gpio.h"
#include "example.h"
#ifdef GPIO_2
static AU1X00_GPIO2 * const gpio2 = (AU1X00_GPIO2 *)KSEG1(GPIO2_PHYS_ADDR);
int gpioRead(int signal)
{
signal -= 200;
gpio2->dir
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(