Jean Mercier
/
jmAll
Command all jmCLIG modules from serial port
Diff: jmLPC17xx_gpio.h
- Revision:
- 0:9112e09912db
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jmLPC17xx_gpio.h Sat Feb 12 16:50:25 2011 +0000 @@ -0,0 +1,38 @@ +/***********************************************************************//** + * @file jmLPC17xx_gpio.h + * @brief LPC17xx GPIO Command Line Interface + * + * @version 1.0 + * @date Feb 2, 2011 + */ + +// Section Port Information +void PortInfo(unsigned int portNumber); +void PortsInfo(void); +void cli_PortInfo(void); + +// Section Port All Bits Access +void cli_GPPG0(void); +void cli_gpioBits(void); +void cli_gpioBit(void); +void gpio(unsigned int pin, unsigned int action); + +// Section Port Bitd +void cli_BitRead(void); + +//-------------------------- CLIG PLUGS -------------------- +// CLIG-INCLUDE +/* +#include "jmLPC17xx_gpio.h" +*/ + +// CLIG-CMD +/* +iport cli_PortInfo(); +iports PortsInfo(); +GPPG0 cli_GPPG0(); +gpioBits cli_gpioBits(); +gpioBit cli_gpioBit(); +bitRead cli_BitRead(); +*/ +//-------------------------- END CLIG PLUGS --------------------