EasyManua.ls Logo

Cypress EX-USB FX3 - Page 129

Cypress EX-USB FX3
192 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FX3 Programmers Manual, Doc. # 001-64707 Rev. *C 129
FX3 Serial Peripheral Register Access
11:8 MODE RW RW 0
Mode/command. Behavior is undefined when MODE>2
and TIMER_MODE=4,5,6.
0: STATIC
1: TOGGLE
2: SAMPLENOW
3: PULSENOW
4: PULSE
5: PWM
6: MEASURE_LOW
7: MEASURE_HIGH
8: MEASURE_LOW_ONCE
9: MEASURE_HIGH_ONCE
10: MEASURE_NEG
11: MEASURE_POS
12: MEASURE_ANY
13: MEASURE_NEG_ONCE
14: MEASURE_POS_ONCE
15: MEASURE_ANY_ONCE
26:24 INTRMODE R RW 0
Interrupt mode
0: No interrupt
1: Interrupt on posedge on IN_VALUE
2: Interrupt on negedge on IN_VALUE
3: Interrupt on any edge on IN_VALUE
4: Interrupt when IN_VALUE is low
5: Interrupt when IN_VALUE is high
6: Interrupt on TIMER = THRESHOLD
7: Interrupt on TIMER = 0
27 INTR RW1S RW1C 0
Registers edge triggered interrupt condition. Only relevant
when INTRMODE=1,2,3,6,7. When INTRMODE=4,5 pin
status is fed directly to interrupt controller; condition can
be observed through IN_VALUE in this case.
30:28
TIMER_MOD
E
RRW 0
0: Shutdown GPIO_TIMER
1: Use high frequency (See CyU3PGpioInit)
2: Use low frequency (See CyU3PGpioInit)
3: Use standby frequency
4: Use posedge (sampled using high frequency)
5: Use negedge (sampled using high frequency)
6: Use any edge (sampled using high frequency)
7: Reserved
Note: Changing TIMER_MODE when ENABLE=1 will
result in undefined behavior.
31 ENABLE R RW 0 Enable GPIO logic for this pin.
Bits Name HW SW Default Description

Table of Contents