C281x GPIO Digital Output
General-purpose I/O pins for digital output
Embedded Coder® Support Package for Texas Instruments™ C2000™ Processors/ C281x
Embedded Coder Support Package for Texas Instruments C2000 Processors/F28004x
This block configures the general-purpose I/O (GPIO) registers that control the GPIO shared pins for digital output. Each I/O port has one MUX register, which is used to select peripheral operation or digital I/O operation.
Fixed-point inputs are not supported for this block.
To avoid losing new settings, click Apply before changing the IO Port parameter.
- IO Port
Select the input/output port to use:
GPIOPGand select the I/O Port bits to enable for digital input. (There is no GPIOPC port on the C281x.) If you select multiple bits, vector input is expected. Cleared bits are available for peripheral functionality. Multiple GPIO DO blocks cannot share the same I/O port.
The input function of the digital I/O and the input path to the related peripheral are enabled on the board. If you configure a pin as digital I/O, the corresponding peripheral function cannot be used.
The following tables show the shared pins.
GPIO A MUX
GPIO B MUX