mcf5307cft90b Freescale Semiconductor, Inc, mcf5307cft90b Datasheet - Page 189

no-image

mcf5307cft90b

Manufacturer Part Number
mcf5307cft90b
Description
Mcf5307 Coldfire Integrated Microprocessor User
Manufacturer
Freescale Semiconductor, Inc
Datasheet
6.2.6 Software Watchdog Interrupt Vector Register (SWIVR)
The SWIVR, shown in Figure 6-6, contains the 8-bit interrupt vector (SWIV) that the SIM
returns during an interrupt-acknowledge cycle in response to a software watchdog
timer-generated interrupt. SWIVR is set to the uninitialized vector 0x0F at system reset.
Note that the software watchdog interrupt cannot be autovectored.
6.2.7 Software Watchdog Service Register (SWSR)
The SWSR, shown in Figure 6-7, is where the software watchdog timer servicing sequence
should be written. To prevent a watchdog timer timeout, the software service sequence must
be performed (0x55 followed by 0xAA written to the SWSR). Both writes must be
performed in order before the timeout, but any number of instructions or accesses to the
SWSR can be executed between the two writes. If the timer has timed out, writing to SWSR
does not cancel the interrupt (that is, IPR[SWT] remains set). The interrupt is cancelled
(and SWT is cleared) automatically when the IACK cycle is run.
Bits
2
1
SWTAVAL Software watchdog transfer acknowledge valid
Name
SWTA
Address
Address
Figure 6-6. Software Watchdog Interrupt Vector Register (SWIVR)
Reset
Reset
Field
Field
R/W
R/W
Figure 6-7. Software Watchdog Service Register (SWSR)
Software watchdog transfer acknowledge enable
0 SWTA transfer acknowledge disabled
1 SWTA asserts transfer acknowledge enabled. After one timeout period of the unacknowledged
0 SWTA transfer acknowledge has not occurred.
1 SWTA transfer acknowledge has occurred. Write a 1 to clear this flag bit.
assertion of the software watchdog timer interrupt, the software watchdog transfer
acknowledge asserts, which allows the watchdog timer to terminate a bus cycle and allow the
IACK to occur.
Table 6-4. SYPCR Field Descriptions (Continued)
7
7
Freescale Semiconductor, Inc.
For More Information On This Product,
Chapter 6. SIM Overview
Go to: www.freescale.com
Supervisor write only
Supervisor write only
MBAR + 0x002
MBAR + 0x003
Undetermined
0000_1111
SWSR
SWIV
Description
Programming Model
0
0
6-9

Related parts for mcf5307cft90b