Difference between revisions of "General Purpose Input/Output"

From Embedded Xinu
Jump to navigation Jump to search
Line 5: Line 5:
 
| GPIO 0 || WLAN LED
 
| GPIO 0 || WLAN LED
 
|-  
 
|-  
| GPIO 1 || ''Power LED?''
+
| GPIO 1 || Power LED
 
|-
 
|-
 
| GPIO 2 || Cisco LED White
 
| GPIO 2 || Cisco LED White
Line 23: Line 23:
 
Research Notes:
 
Research Notes:
 
* When an LED is enabled, its input bit becomes 0.
 
* When an LED is enabled, its input bit becomes 0.
 +
* Once an LED is enabled, if its output bit is 0, the LED is on and if its output bit is 1, the LED is off.
  
 
== Resources ==
 
== Resources ==
 
* [http://devel.masikh.org/OpenWRT/mmc/wrt54gl-v1.1/mmc.c SD Card Reader Driver]
 
* [http://devel.masikh.org/OpenWRT/mmc/wrt54gl-v1.1/mmc.c SD Card Reader Driver]
 
* [http://wiki.openwrt.org/OpenWrtDocs/Customizing/Hardware/MMC Adding an MMC/SD Card]
 
* [http://wiki.openwrt.org/OpenWrtDocs/Customizing/Hardware/MMC Adding an MMC/SD Card]

Revision as of 20:22, 25 June 2007

Port Assignments

Pin Assignment
GPIO 0 WLAN LED
GPIO 1 Power LED
GPIO 2 Cisco LED White
GPIO 3 Cisco LED Orange
GPIO 4 Front Button?
GPIO 5 Unkown
GPIO 6 Reset Button?
GPIO 7 DMZ LED

LEDs

Research Notes:

  • When an LED is enabled, its input bit becomes 0.
  • Once an LED is enabled, if its output bit is 0, the LED is on and if its output bit is 1, the LED is off.

Resources