Desktop/xinu_mips-1.0.2.tar/xinu_mips-1.0.2/include/gpio.h File Reference
Go to the source code of this file.
Detailed Description
- Id
- gpio.h 224 2007-07-11 21:42:09Z mschul
Definition in file gpio.h.
Define Documentation
#define GPIO_BASE 0xb8000060 |
#define GPIO_BUT_CISCO GPIO4 |
Front Cisco button
Definition at line 53 of file gpio.h.
#define GPIO_BUT_RESET GPIO6 |
#define GPIO_CTRL_LED_OFF |
( |
n |
|
) |
((struct gpio_csreg *)GPIO_BASE)->enable &= ~n |
#define GPIO_CTRL_LED_ON |
( |
n |
|
) |
|
set pin for input
Definition at line 24 of file gpio.h.
#define GPIO_DIR_OUT 0x01 |
set pin for output
Definition at line 25 of file gpio.h.
#define GPIO_LED_CISCOONG GPIO3 |
#define GPIO_LED_CISCOWHT GPIO2 |
#define GPIO_LED_DMZ GPIO7 |
#define GPIO_LED_POWER GPIO1 |
Power LED (also hardware controlled)
Definition at line 41 of file gpio.h.
#define GPIO_LED_WLAN GPIO0 |