Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
jmLPC17xx_gpio.h File Reference
LPC17xx GPIO Command Line Interface. More...
Go to the source code of this file.
Functions | |
| void | cli_GPPG0 (void) |
| Read GPIO Registers. | |
| void | cli_gpioBit (void) |
| Command line to Reset/Set/Toggle an output pin Also sets pin as outputs. | |
| void | gpio (unsigned int pin, unsigned int action) |
| Reset/Set/Toggle an output pin Also sets pin as outputs. | |
Detailed Description
LPC17xx GPIO Command Line Interface.
- Version:
- 1.0
- Date:
- Feb 2, 2011
Definition in file jmLPC17xx_gpio.h.
Function Documentation
| void cli_gpioBit | ( | void | ) |
Command line to Reset/Set/Toggle an output pin Also sets pin as outputs.
Not all pins are available Use with care. Designed to be used with gui which locks non MBED DIP pins Command Line Format: gpioBit (Pin id)0..432 (action clear/set/toggle)0..2
- Parameters:
-
[in] From command line: (Pin id)0..432 (action clear/set/toggle)0..2
- Returns:
- Return Message: GPPB0 pin state
Definition at line 266 of file jmLPC17xx_gpio.c.
| void cli_GPPG0 | ( | void | ) |
Read GPIO Registers.
Command Line Interface to Read and Send GPIO register value
- Parameters:
-
[in] Extracted from command line GPPG0 (Port)0..4 (Register DIR/PIN/MASK)0..2
- Returns:
- Message: GPPG0 (Port)0..4 (Register DIR/PIN/MASK)0..2 (value)0..0xFFFFFFFF
Definition at line 107 of file jmLPC17xx_gpio.c.
| void gpio | ( | unsigned int | pin, |
| unsigned int | action | ||
| ) |
Reset/Set/Toggle an output pin Also sets pin as outputs.
- Parameters:
-
[in] pin pin id (value)0..432 [in] action 0..2 Clear/Set/Toggle
- Returns:
- Return Message: GPPB0 pin state
Definition at line 229 of file jmLPC17xx_gpio.c.
Generated on Tue Jul 12 2022 21:02:31 by
1.7.2