EasyManuals Logo
Home>Texas Instruments>Microcontrollers>TMS570LC4357

Texas Instruments TMS570LC4357 User Manual

Texas Instruments TMS570LC4357
2208 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1200 background imageLoading...
Page #1200 background image
GIO Control Registers
www.ti.com
1200
SPNU563AMarch 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
General-Purpose Input/Output (GIO) Module
25.5.6 GIO Interrupt Flag Register (GIOFLG)
The GIOFLG register contains flags indicating that the transition edge (as set in GIOINTDET and GIOPOL
registers) has occurred. The flag can be cleared by the CPU writing a 1 to the flag that is set. The flag is
also cleared by reading the appropriate interrupt offset register (GIOOFF1 or GIOOFF2). Figure 25-12 and
Table 25-9 describe this register.
Figure 25-12. GIO Interrupt Flag Register (GIOFLG) [offset = 20h]
31 24 23 16
GIOFLG 3 GIOFLG 2
R/W1C-0 R/W1C-0
15 8 7 0
GIOFLG 1 GIOFLG 0
R/W1C-0 R/W1C-0
LEGEND: R/W = Read/Write; W1C = Write 1 to clear; -n = value after reset
Table 25-9. GIO Interrupt Flag Register (GIOFLG) Field Descriptions
Bit Field Value Description
31-24 GIOFLG 3 GIO flag for pins GIOD[7:0]
0 Read: A transition has not occurred since the last clear.
Write: Writing a 0 to this bit has no effect.
1 Read: The selected transition on the corresponding pin has occurred.
Write: The corresponding bit is cleared to 0.
Note: This bit is also cleared by a read to the corresponding bit in the appropriate offset
register.
23-16 GIOFLG 2 GIO flag for pins GIOC[7:0]
0 Read: A transition has not occurred since the last clear.
Write: Writing a 0 to this bit has no effect.
1 Read: The selected transition on the corresponding pin has occurred.
Write: The corresponding bit is cleared to 0.
Note: This bit is also cleared by a read to the corresponding bit in the appropriate offset
register.
15-8 GIOFLG 1 GIO flag for pins GIOB[7:0]
0 Read: A transition has not occurred since the last clear.
Write: Writing a 0 to this bit has no effect.
1 Read: The selected transition on the corresponding pin has occurred.
Write: The corresponding bit is cleared to 0.
Note: This bit is also cleared by a read to the corresponding bit in the appropriate offset
register.
7-0 GIOFLG 0 GIO flag for pins GIOA[7:0]
0 Read: A transition has not occurred since the last clear.
Write: Writing a 0 to this bit has no effect.
1 Read: The selected transition on the corresponding pin has occurred.
Write: The corresponding bit is cleared to 0.
Note: This bit is also cleared by a read to the corresponding bit in the appropriate offset
register.
NOTE: An interrupt flag gets set when the selected transition happens on the corresponding GIO pin
regardless of whether the interrupt generation is enabled or not. It is recommended to
clear a flag before enabling the interrupt generation for a transition on the corresponding GIO
pin.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS570LC4357 and is the answer not in the manual?

Texas Instruments TMS570LC4357 Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS570LC4357
CategoryMicrocontrollers
LanguageEnglish

Related product manuals