Infineon /tle984x /GPT12E /T4CON

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as T4CON

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0T4I0 (TIMER_MODE)T4M0 (STOP)T4R 0 (UP)T4UD 0 (T4UD)T4UDE 0 (T4R)T4RC 0 (NO_EFFECT)CLRT2EN 0 (NO_EFFECT)CLRT3EN 0 (ENABLED)T4IRDIS 0 (NO_COUNT)T4EDGE 0 (NO_CHANGE)T4CHDIR 0 (UP)T4RDIR

CLRT3EN=NO_EFFECT, T4RC=T4R, CLRT2EN=NO_EFFECT, T4UDE=T4UD, T4UD=UP, T4RDIR=UP, T4IRDIS=ENABLED, T4CHDIR=NO_CHANGE, T4R=STOP, T4M=TIMER_MODE, T4EDGE=NO_COUNT

Description

Timer T4 control register

Fields

T4I

Timer T4 input parameter selection

T4M

Timer T4 mode control (basic operating mode)

0 (TIMER_MODE): Timer mode

1 (COUNTER_MODE): Counter mode

2 (GATED_LOW): Gated timer mode with gate active low

3 (GATED_HIGH): Gated timer mode with gate active high

4 (RELOAD_MODE): Reload mode

5 (CAPTURE_MODE): Capture mode

6 (INCREMENTAL_INTERFACE_MODE): Rotation detection mode

7 (INCREMENTAL_INTERFACE_MODE): Edge detection mode

T4R

Timer T4 input run bit

0 (STOP): Timer T4 stops

1 (RUN): Timer T4 runs

T4UD

Timer T4 up/down control

0 (UP): Timer T4 counts up

1 (DOWN): Timer T4 counts down

T4UDE

Timer T4 external up/down enable

0 (T4UD): Count direction is controlled by bit T4UD; input T4EUD is disconnected

1 (T4EUD): Count direction is controlled by input T4EUD

T4RC

Timer T4 remote control

0 (T4R): Timer T4 is controlled by its own run bit T4R

1 (T3R): Timer T4 is controlled by the run bit T3R of core timer T3, but not by bit T4R

CLRT2EN

Clear timer T2 enable

0 (NO_EFFECT): No effect of T4EUD on timer T2

1 (CLEAR): A falling edge on T4EUD clears timer T2

CLRT3EN

Clear timer T3 enable

0 (NO_EFFECT): No effect of T4IN on timer T3

1 (CLEAR): A falling edge on T4In clears timer T3

T4IRDIS

Timer T4 interrupt disable

0 (ENABLED): Interrupt generation for T4CHDIR and T4EDGE interrupts in incremental interface mode is enabled

1 (DISABLED): Interrupt generation for T4CHDIR and T4EDGE interrupts in incremental interface mode is disabled

T4EDGE

Timer T4 edge direction

0 (NO_COUNT): No count edge was detected

1 (COUNT): A count edge was detected

T4CHDIR

Timer T4 count direction change

0 (NO_CHANGE): No change in count direction was detected

1 (CHANGE): A change in count direction was detected

T4RDIR

Timer T4 rotation direction

0 (UP): Timer T4 counts up

1 (DOWN): Timer T4 counts down

Links

() ()