Jean Mercier
/
jmAll
Command all jmCLIG modules from serial port
jmLPC17xx_gpio.h@0:9112e09912db, 2011-02-12 (annotated)
- Committer:
- jm
- Date:
- Sat Feb 12 16:50:25 2011 +0000
- Revision:
- 0:9112e09912db
jmAll Command Line Interface Module
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jm | 0:9112e09912db | 1 | /***********************************************************************//** |
jm | 0:9112e09912db | 2 | * @file jmLPC17xx_gpio.h |
jm | 0:9112e09912db | 3 | * @brief LPC17xx GPIO Command Line Interface |
jm | 0:9112e09912db | 4 | * |
jm | 0:9112e09912db | 5 | * @version 1.0 |
jm | 0:9112e09912db | 6 | * @date Feb 2, 2011 |
jm | 0:9112e09912db | 7 | */ |
jm | 0:9112e09912db | 8 | |
jm | 0:9112e09912db | 9 | // Section Port Information |
jm | 0:9112e09912db | 10 | void PortInfo(unsigned int portNumber); |
jm | 0:9112e09912db | 11 | void PortsInfo(void); |
jm | 0:9112e09912db | 12 | void cli_PortInfo(void); |
jm | 0:9112e09912db | 13 | |
jm | 0:9112e09912db | 14 | // Section Port All Bits Access |
jm | 0:9112e09912db | 15 | void cli_GPPG0(void); |
jm | 0:9112e09912db | 16 | void cli_gpioBits(void); |
jm | 0:9112e09912db | 17 | void cli_gpioBit(void); |
jm | 0:9112e09912db | 18 | void gpio(unsigned int pin, unsigned int action); |
jm | 0:9112e09912db | 19 | |
jm | 0:9112e09912db | 20 | // Section Port Bitd |
jm | 0:9112e09912db | 21 | void cli_BitRead(void); |
jm | 0:9112e09912db | 22 | |
jm | 0:9112e09912db | 23 | //-------------------------- CLIG PLUGS -------------------- |
jm | 0:9112e09912db | 24 | // CLIG-INCLUDE |
jm | 0:9112e09912db | 25 | /* |
jm | 0:9112e09912db | 26 | #include "jmLPC17xx_gpio.h" |
jm | 0:9112e09912db | 27 | */ |
jm | 0:9112e09912db | 28 | |
jm | 0:9112e09912db | 29 | // CLIG-CMD |
jm | 0:9112e09912db | 30 | /* |
jm | 0:9112e09912db | 31 | iport cli_PortInfo(); |
jm | 0:9112e09912db | 32 | iports PortsInfo(); |
jm | 0:9112e09912db | 33 | GPPG0 cli_GPPG0(); |
jm | 0:9112e09912db | 34 | gpioBits cli_gpioBits(); |
jm | 0:9112e09912db | 35 | gpioBit cli_gpioBit(); |
jm | 0:9112e09912db | 36 | bitRead cli_BitRead(); |
jm | 0:9112e09912db | 37 | */ |
jm | 0:9112e09912db | 38 | //-------------------------- END CLIG PLUGS -------------------- |