SFR Definitions
3-14
MSINT (Milliseconds Interrupt, Address FA
H
): This SFR can be set to
cause an interrupt to occur after the specified number of milliseconds. This as-
sumes that the millisecond registers FC
H
and FD
H
are set to generate a cycle
every millisecond. The precise frequency at which MSINT will cause an inter-
rupt depends on the system clock and the value of the MSECH, MSECL, and
MSINT SFRs.
USEC (Microsecond Register, Address FB
H
): This SFR is divided into the
clock speed to determine the timing of 1ms. This value is used for program-
ming flash memory. The value in USEC, taken together with the low four bits
of FTCON, should produce a timing of 30
µ
s to 40
µ
s, which is used for flash
write operations.
MSECL/MSECH (Millisecond Low/High Registers, Addresses FC
H
/FD
H
):
These two SFRs, together, are used by the system to determine how long a
millisecond is. This value is used for erasing flash memory, millisecond interrupt,
second interrupt, and watchdog time. Although it is named Millisecond Low/High,
the clock speed and the value placed in these registers will determine the exact
length of time measured.
HMSEC (Hundred Millisecond Clock, Address FE
H
): This SFR is used to
create a 100ms clock based on the MSECL/MSECH SFRs. However, the ex-
act frequency generated by this SFR will depend on the system clock, the val-
ue of MSECL/MSECH, and the value placed in this register.
WDTCON (Watchdog Control, Address FF
H
): The WDTCON SFR is used
to enable, disable, and reset the watchdog timer. Once enabled, this SFR must
be periodically reset in order to prevent the system from resetting.
Содержание MSC1210
Страница 1: ... December 2002 User s Guide SBAU077 ...
Страница 149: ...Digital Filter 12 13 Analog to Digital Converter Figure 12 5 Filter Frequency Responses ...
Страница 162: ...12 26 ...
Страница 234: ...Timers 17 6 Figure 17 4 Timer Counter 1 Mode 1 Figure 17 5 Interrupt System ...
Страница 273: ...Serial Port I O 17 45 Keil Simulator Figure 17 19 Clock Control Peripheral Figure 17 20 USART0 Preipheral ...
Страница 282: ...C 4 ...