71M6545 MAXIM [Maxim Integrated Products], 71M6545 Datasheet - Page 39

no-image

71M6545

Manufacturer Part Number
71M6545
Description
Four-Quadrant Metering, Phase Metrology Processors Flash/RAM Size
Manufacturer
MAXIM [Maxim Integrated Products]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
71M6545-IGT/F
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
71M6545-IGTR/F
Manufacturer:
Maxim Integrated
Quantity:
10 000
Part Number:
71M6545-IGTR/F
Manufacturer:
MAXIM/美信
Quantity:
20 000
PDS_6545_009
v1.0
Timer/Counter 0:
TMOD[7]
TMOD[6]
TMOD[5:4]
Timer/Counter 1
TMOD[3]
TMOD[2]
TMOD[1:0]
TCON[7]
TCON[6]
TCON[5]
1
1
In Mode 3, TL0 is affected by TR0 and gate control bits, and sets the TF0 flag on overflow, while TH0
is affected by the TR1 bit, and the TF1 flag is set on overflow.
operation modes allowed for Timer 0 and Timer 1.
Bit
Bit
0
1
Gate
C/T
M1:M0
Gate
C/T
M1:M0
TF1
TR1
TF0
Symbol
Symbol
Timer 0 - mode 0
Timer 0 - mode 1
Timer 0 - mode 2
Mode 2
Mode 3
Table 23: The TCON Register Bit Functions (SFR 0x88)
Table 21: Allowed Timer/Counter Mode Combinations
Table 22: TMOD Register Bit Description (SFR 0x89)
© 2008–2011 Teridian Semiconductor Corporation
If TMOD[7] is set, external input signal control is enabled for Counter 0. The
TR0 bit in the TCON register (SFR 0x88) must also be set in order for Counter
0 to increment. With these settings, Counter 0 increments on every falling
edge of the logic signal applied to one or more of the DIO2-11 pins, as
specified by the contents of the DIO_R2 through DIO_R11 registers. See
Table 47.
Selects timer or counter operation. When set to 1, a counter operation is
performed. When cleared to 0, the corresponding register functions as a timer.
Selects the mode for Timer/Counter 0 as shown in
If TMOD[3] is set, external input signal control is enabled for Counter 1.
The TR1 bit in the TCON register (SFR 0x88) must also be set in order for
Counter 1 to increment. With these settings, Counter 1 increments on every
falling edge of the logic signal applied to one or more of the DIO2-11 pins,
as specified by the contents of the DIO_R2 through DIO_R11 registers. See
Table 47.
Selects timer or counter operation. When set to 1, a counter operation is
performed. When cleared to 0, the corresponding register functions as a
timer.
Selects the mode for Timer/Counter 1, as shown in
The Timer 1 overflow flag is set by hardware when Timer 1 overflows.
This flag can be cleared by software and is automatically cleared when an
interrupt is processed.
Timer 1 run control bit. If cleared, Timer 1 stops.
Timer 0 overflow flag set by hardware when Timer 0 overflows. This flag
can be cleared by software and is automatically cleared when an interrupt
is processed.
8-bit auto-reload Counter/Timer. The reload value is kept in TH0 or
TH1, while TL0 or TL1 is incremented every machine cycle. When
TL(x) overflows, a value from TH(x) is copied to TL(x) (where x is 0 for
counter/timer 0 or 1 for counter/timer 1.
If Timer 1 M1 and M0 bits are set to 1, Timer 1 stops.
If Timer 0 M1 and M0 bits are set to 1, Timer 0 acts as two independent
8-bit Timer/Counters.
Not allowed
Mode 0
Yes
Yes
Not allowed
Timer 1
Function
Mode 1
Function
Yes
Yes
Table 21
specifies the combinations of
Mode 2
Table
Table
Yes
Yes
Yes
Data Sheet 71M6545/H
20.
20.
39

Related parts for 71M6545