Gpio Overview - Texas Instruments UCD3138 Technical Reference Manual

Digital power supply controller
Hide thumbs Also See for UCD3138:
Table of Contents

Advertisement

www.ti.com
Table 9-15. Power Disable Control Register (PWRDISCTRL) Register Field Descriptions (continued)
Bit
Field
6
DPWM0_CLK_EN
5
SCI1_CLK_EN
4
SCI0_CLK_EN
3
ADC12_CLK_EN
2
PMBUS_CLK_EN
1
GIO_CLK_EN
0
TIMER_CLK_EN
9.9

GPIO Overview

Majority of the pins in UCD3138 can be configured to serve as a general purpose input or output pin
(GPIO). The only pins that can not be configured as GPIO pins are the Supply pins, Ground pins, ADC-12
analog input pins, EADC analog input pins and RESET pin.
All digital pins, with the exception of RESET pin, can be configured as GPIOs. There are two ways to
configure and use the digital pins as GPIO pins:
1. Through the centralized Global I/O control registers.
2. Through the distributed control registers in the specific peripheral that shares it pins with the standard
GPIO functionality.
This document explains how to use Global I/O registers in order to:
1. Configure each pin as a GPIO
2. Set each pin as input or output
3. Read the pin's logic state, if it is configured as an input pin
4. Set the logic state of the pin, if it is configured as an output pin
5. Configure pin/pins as open drain or push-pull (Normal)
Specific information regarding access of GPIO pins through peripherals localized to those pins can be
found in the respective UCD3138 Programmer's manual covering the peripheral.
In case interaction with a GPIO pin is time critical, GPIO usage via local peripheral settings may be
advantageous. In other words interaction with some of the GPIO pins via Global I/O control registers is
slower than interacting with the same GPIO pin via local peripheral settings.
As previously mentioned, in the different package options of UCD3138 several I/O functions are
multiplexed and routed toward a single physical pin. I/O Mux Control register may be used in order to
choose a single specific functionality that is desired to be assigned to a physical device pin for the
application.
SNIU028A – February 2016 – Revised April 2016
Submit Documentation Feedback
Type
Reset
R/W
1
Clock Enable for SCI/UART 1 Module
0 = Disables clocks to SCI/UART 1 Module
1 = Enables clocks to SCI/UART 1 Module (Default)
R/W
1
Clock Enable for SCI/UART 1 Module
0 = Disables clocks to SCI/UART 1 Module
1 = Enables clocks to SCI/UART 1 Module (Default)
R/W
1
Clock Enable for SCI/UART 0 Module
0 = Disables clocks to SCI/UART 0 Module
1 = Enables clocks to SCI/UART 0 Module (Default)
R/W
1
Clock Enable for ADC12 Control Module
0 = Disables clocks to ADC12 Control Module
1 = Enables clocks to ADC12 Control Module (Default)
R/W
1
Clock Enable for PMBus Interface Module
0 = Disables clocks to PMBus Interface Module
1 = Enables clocks to PMBus Interface Module (Default)
R/W
1
Clock Enable for GIO Module
0 = Disables clocks to GIO Module
1 = Enables clocks to GIO Module (Default)
R/W
1
Clock Enable for Timer Module
0 = Disables clocks to Timer Module
1 = Enables clocks to Timer Module (Default)
Copyright © 2016, Texas Instruments Incorporated
Description
Advanced Power Management Control Functions
GPIO Overview
343

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents