
Secure Microcontroller User’s Guide
37 of 187
Timer Control Register
TCON, 088H
R = Unrestricted Read Access, W = Unrestricted Write Access, T = Timed-access Write Only, n = Value after Reset, * = Special: see description
TCON.7 TF1
Timer 1 Overflow Flag Status bit set to 1 when timer 1 overflows from a previous count value of all 1s.
Cleared to 0 when CPU vectors to timer 1 interrupt service routine.
TCON.6 TR1
Timer 1 Run Control When set to 1 by software, timer 1 operation is enabled. Timer 1 is disabled when
cleared to 0.
TCON.5: TF0
Timer 0 Overflow Status bit set to 1 when timer 0 overflows from a previous count value of all 1s.
Cleared to 0 when CPU vectors to timer 0 interrupt service routine.
TCON.4: TR0
Timer 0 Run Control When set to 1 by software, timer 0 operation is enabled. Timer 0 is disabled when
cleared to 0.
TCON.3: IE1
Interrupt 1 Edge Detect Set to 1 to signal when a 1-to-0 transition (IT = 1) or a low level (IT = 0) has been
detected on the
pin. Cleared to 0 by hardware when interrupt processed only
if IT1 = 1.
TCON.2: IT1
Interrupt 1 Type Select When set to 1, 1-to-0 transitions on
are used to generate interrupt requests
from this pin. When cleared to 0,
is level activated.
TCON.1: IE0
Interrupt 0 Edge Detect Set to 1 to signal when a 1-to-0 transition (IT0 = 1) or a low level (IT0 = 0) has
been detected on the
pin. Cleared to a 0 by hardware when interrupt
processed only if IT0 = 1.
TCON.0: IT0
Interrupt 0 Type Select When set to 1, 1-to-0 transitions on
are used to generate interrupt requests
from this pin. When cleared to 0, INT0 is level activated.
Commentaires sur ces manuels