English
Language : 

MEC1322 Datasheet, PDF (224/456 Pages) Microchip Technology – Keyboard and Embedded Controller for Notebook PC
MEC1322
17.8 Description
FIGURE 17-2:
BLOCK DIAGRAM
48 MHz
Basic Timer
Pre-Scaler
Host Interface
REGS
Timer Logic
This timer block offers a simple mechanism for firmware to maintain a time base in the design. The timer may be enabled
to execute the following features:
• Programmable resolution per LSB of the counter via the Pre-scale bits in the Timer Control Register
• Programmable as either an up or down counter
• One-shot or Continuous Modes
• In one-shot mode the Auto Restart feature stops the counter when it reaches its limit and generates a level event.
• In Continuous Mode the Auto Restart feature restarts that counter from the programmed preload value and gener-
ates a pulse event.
• Counter may be reloaded, halted, or started via the Timer Control register
• Block may be reset by either a Power On Reset (POR) or via a Soft Reset.
17.9 EC-Only Registers
The registers listed in the EC-Only Register Summary table are for a single instance of the Basic Timer. The addresses
of each register listed in this table are defined as a relative offset to the host “Base Address” defined in the EC-Only
Register Base Address Table.
TABLE 17-5: EC-ONLY REGISTER BASE ADDRESS TABLE
Block Instance
TIMER16 (16-bit
Timer)
TIMER16 (16-bit
Timer)
TIMER16 (16-bit
Timer)
TIMER16 (16-bit
Timer)
TIMER32 (32-bit
Timer)
TIMER32 (32-bit
Timer)
Instance
Number
0
1
2
3
0
1
Host
EC
EC
EC
EC
EC
EC
Address Space
32-bit internal
address space
32-bit internal
address space
32-bit internal
address space
32-bit internal
address space
32-bit internal
address space
32-bit internal
address space
Base Address
4000_0C00h
4000_0C20h
4000_0C40h
4000_0C60h
4000_0C80h
4000_0CA0h
DS00001719D-page 224
 2014 - 2015 Microchip Technology Inc.