71m6545h-igtr/f Maxim Integrated Products, Inc., 71m6545h-igtr/f Datasheet - Page 38
71m6545h-igtr/f
Manufacturer Part Number
71m6545h-igtr/f
Description
Metrology Processors
Manufacturer
Maxim Integrated Products, Inc.
Datasheet
1.71M6545H-IGTRF.pdf
(134 pages)
- Current page: 38 of 134
- Download datasheet (2Mb)
Data Sheet 71M6545/H
2.4.8 Timers and Counters
The 80515 has two 16-bit timer/counter registers: Timer 0 and Timer 1. These registers can be configured
for counter or timer operations.
In timer mode, the register is incremented every machine cycle, i.e., it counts up once for every 12 periods of
the MPU clock. In counter mode, the register is incremented when the falling edge is observed at the
corresponding input signal T0 or T1 (T0 and T1 are the timer gating inputs derived from certain DIO pins.
Since it takes 2 machine cycles to recognize a 1-to-0 event, the maximum input count rate is 1/2 of the clock
frequency (CKMPU). There are no restrictions on the duty cycle, however to ensure proper recognition of the
0 or 1 state, an input should be stable for at least 1 machine cycle.
Four operating modes can be selected for Timer 0 and Timer 1, as shown in
TMOD (SFR 0x89) register, shown in
Table
(SFR 0x88) register, which is shown in
register start their associated timers when set.
38
S0CON[7]
S0CON[6]
S0CON[5]
S0CON[4]
S0CON[3]
S0CON[2]
S0CON[1]
S0CON[0]
PCON[7]
M1
0
0
Bit
Bit
22, is used to select the appropriate mode. The timer/counter operation is controlled by the TCON
The proper way to clear these flag bits is to write a byte mask consisting of all ones except
for a zero in the location of the bit to be cleared. The flag bits are configured in hardware to
ignore ones written to them.
M0
0
1
SM0
SM1
SM20
REN0
TB80
RB80
TI0
RI0
SMOD
Symbol
Symbol
Mode 0
Mode 1
Mode
Table 18: The S0CON (UART0) Register (SFR 0x98)
Table 19:
© 2008–2011 Teridian Semiconductor Corporation
Table 20: Timers/Counters Mode Description
The SM0 and SM1 bits set the UART0 mode:
Enables the inter-processor communication feature.
If set, enables serial reception. Cleared by software to disable reception.
The 9th transmitted data bit in Modes 2 and 3. Set or cleared by the MPU,
depending on the function it performs (parity check, multiprocessor
communication etc.)
In Modes 2 and 3 it is the 9
stop bit. In mode 0, this bit is not used. Must be cleared by software.
Transmit interrupt flag; set by hardware after completion of a serial transfer. Must
be cleared by software (see Caution above).
Receive interrupt flag; set by hardware after completion of a serial reception. Must
be cleared by software (see Caution above).
The SMOD bit doubles the baud rate when set
13-bit Counter/Timer mode with 5 lower bits in the TL0 or TL1 (SFR
0x8A or SFR 0x8B) register and the remaining 8 bits in the TH0 or TH1
(SFR 0x8C or SFR 0x8D) register (for Timer 0 and Timer 1, respectively).
The 3 high order bits of TL0 and TL1 are held at zero.
16-bit Counter/Timer mode.
PCON Register Bit Description (
Mode
Table
0
1
2
3
23. Bits TR1 (TCON[6]) and TR0 (TCON[4]) in the TCON
N/A
8-bit UART
9-bit UART
9-bit UART
Description
th
data bit received. In Mode 1, SM20 is 0, RB80 is the
Function
Function
Function
SM0
SFR 0x87
0
0
1
1
Table 20
)
SM1
0
1
0
1
and
PDS_6545_009
Table
21. The
v1.0
Related parts for 71m6545h-igtr/f
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Nonvolatile Ram Controller Integrated Products
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
3.3v Single-piece 8mb Nonvolatile Sram Integrated Products
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
Pon Triplexer Control And Monitoring Circuit Integrated Products
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
Ttl Compatible Cmos Analog Switches Integrated Products
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
Improved Low-power, Cmos Analog Switches With Latches Integrated Products
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
Windows Vista-compliant, Stereo Class Ab Speaker Amplifiers And Directdrive Headphone Amplifiers Integrated Products
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
4a, 20ns, Dual Mosfet Drivers Integrated Products
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
Nicd/nimh Battery Fast-charge Controllers Integrated Products
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
3.6v, 1w Autoramping Power Amplifier For 900mhz Applications Integrated Products
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
2.7v, Single-supply, Cellular-band Linear Power Amplifiers Integrated Products
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
5ghz Linear Power Amplifiers Integrated Products
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
Evaluation Kits for the MAX3514
Manufacturer:
Maxim Integrated Products, Inc.
Part Number:
Description:
5v, Differential Input, Directdrive, 130mw Stereo Headphone Amplifiers With Shutdown Products
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
Accurate I2c Rtc With Integrated Tcxo/crystal/fram
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet:
Part Number:
Description:
Ds1863 Burst-mode Pon Controller With Integrated Monitoring
Manufacturer:
Maxim Integrated Products, Inc.
Datasheet: