130 FX3 Programmers Manual, Doc. # 001-64707 Rev. *C
FX3 Serial Peripheral Register Access
9.3.2 PIN_TIMER Register
32-bit revolving counter, using period (GPIO_PERIOD+1). Note that each GPIO pin has its own
independent timer/counter. This register is valid only for complex GPIOs.
9.3.3 PIN_PERIOD Register
Period of 32-bit revolving counter (actual period is PERIOD+1). Note that each GPIO has its own
independent timer/counter. PIN_PERIOD must be 1 or greater. This register is valid only for complex
GPIO.
9.3.4 PIN_THRESHOLD Register
A 32-bit threshold or measurement value. Usage depends on MODE. Note that each GPIO has its
own independent timer/counter. This register is valid only for complex GPIO.
9.3.5 GPIO_PIN_INTR
One bit for each GPIO PIN structure indicating its interrupt status. The actual pin associated with a
PIN structure (if any) is set in GCTL_GPIO_COMPLEX. This register is valid only for complex GPIO.
Bits Name HW SW Default Description
31:0 TIMER RW RW 0
32-bit timer-counter value. Use MODE=SAMPLE_NOW
to sample the timer into PIN_THRESHOLD. When
TIMER reaches GPIO_PERIOD it resets to 0.
Bits Name HW SW Default Description
31:0 PERIOD R RW 0xFFFFFFFF
32-bit period for GPIO_TIMER (counter resets to
0 when PERIOD=TIMER)
Bits Name HW SW Default Description
31:0 THRESHOLD RW RW 0 32-bit threshold or measurement for counter
Bits Name HW SW Default Description
0 INTR0 W R 0 If bit <x> is set, INTR is active for GPIO.PIN[x]
1 INTR1 W R 0 If bit <x> is set, INTR is active for GPIO.PIN[x]
2 INTR2 W R 0 If bit <x> is set, INTR is active for GPIO.PIN[x]
3 INTR3 W R 0 If bit <x> is set, INTR is active for GPIO.PIN[x]
4 INTR4 W R 0 If bit <x> is set, INTR is active for GPIO.PIN[x]
5 INTR5 W R 0 If bit <x> is set, INTR is active for GPIO.PIN[x]
6 INTR6 W R 0 If bit <x> is set, INTR is active for GPIO.PIN[x]
7 INTR7 W R 0 If bit <x> is set, INTR is active for GPIO.PIN[x]