Module lm4f120::gpio
[−]
[src]
GPIO for the TI LM4F120H5QR
Supports GPIO, mapping in a UART and putting pins in Timer mode.
Enums
Level |
Describes what a pin can be set to |
Pin |
Describes a pin within a port This chip has 8 pins per port. |
PinMode |
Describes a pin's direction |
PinPort |
Describes a Port and a single pin within it |
Functions
enable_ccp |
Enable a pin as a Timer Compare pin (e.g. if you want to use it as
a PWM output). We assume you've already set it as |
enable_uart |
Re-configure the pinmuxing so that the given Uart appears on its normal set of pins. |
init |
init() is empty for now, but it might be needed some day. |
read |
Read the level of an input pin |
set |
Set the output value for an output pin |
set_direction |
Set the direction (input or output) on a given pin in a port |