Get accesss to GPIO Registers from serial port

Dependencies:   mbed

Committer:
jm
Date:
Sat Feb 12 16:36:31 2011 +0000
Revision:
0:35df659aaddf
General IO Command Line Interface

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jm 0:35df659aaddf 1 /***********************************************************************//**
jm 0:35df659aaddf 2 * @file jmLPC17xx_gpio.h
jm 0:35df659aaddf 3 * @brief LPC17xx GPIO Command Line Interface
jm 0:35df659aaddf 4 *
jm 0:35df659aaddf 5 * @version 1.0
jm 0:35df659aaddf 6 * @date Feb 2, 2011
jm 0:35df659aaddf 7 */
jm 0:35df659aaddf 8
jm 0:35df659aaddf 9 // Section Port Information
jm 0:35df659aaddf 10 void PortInfo(unsigned int portNumber);
jm 0:35df659aaddf 11 void PortsInfo(void);
jm 0:35df659aaddf 12 void cli_PortInfo(void);
jm 0:35df659aaddf 13
jm 0:35df659aaddf 14 // Section Port All Bits Access
jm 0:35df659aaddf 15 void cli_GPPG0(void);
jm 0:35df659aaddf 16 void cli_gpioBits(void);
jm 0:35df659aaddf 17 void cli_gpioBit(void);
jm 0:35df659aaddf 18 void gpio(unsigned int pin, unsigned int action);
jm 0:35df659aaddf 19
jm 0:35df659aaddf 20 // Section Port Bitd
jm 0:35df659aaddf 21 void cli_BitRead(void);
jm 0:35df659aaddf 22
jm 0:35df659aaddf 23 //-------------------------- CLIG PLUGS --------------------
jm 0:35df659aaddf 24 // CLIG-INCLUDE
jm 0:35df659aaddf 25 /*
jm 0:35df659aaddf 26 #include "jmLPC17xx_gpio.h"
jm 0:35df659aaddf 27 */
jm 0:35df659aaddf 28
jm 0:35df659aaddf 29 // CLIG-CMD
jm 0:35df659aaddf 30 /*
jm 0:35df659aaddf 31 iport cli_PortInfo();
jm 0:35df659aaddf 32 iports PortsInfo();
jm 0:35df659aaddf 33 GPPG0 cli_GPPG0();
jm 0:35df659aaddf 34 gpioBits cli_gpioBits();
jm 0:35df659aaddf 35 gpioBit cli_gpioBit();
jm 0:35df659aaddf 36 bitRead cli_BitRead();
jm 0:35df659aaddf 37 */
jm 0:35df659aaddf 38 //-------------------------- END CLIG PLUGS --------------------