mc68hc908mr32 Freescale Semiconductor, Inc, mc68hc908mr32 Datasheet - Page 152

no-image

mc68hc908mr32

Manufacturer Part Number
mc68hc908mr32
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908mr32CB
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
mc68hc908mr32CB
Manufacturer:
MOT
Quantity:
59
Part Number:
mc68hc908mr32CFU
Manufacturer:
FREESCALE
Quantity:
3
Part Number:
mc68hc908mr32CFU
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Pulse-Width Modulator for Motor Control (PWMMC)
12.9.9 Fault Status Register
The fault status register (FSR) is a read-only register that indicates the current fault status.
FPIN4 — State of Fault Pin 4 Bit
FFLAG4 — Fault Event Flag 4
FPIN3 — State of Fault Pin 3 Bit
FFLAG3 — Fault Event Flag 3
FPIN2 — State of Fault Pin 2 Bit
FFLAG2 — Fault Event Flag 2
FPIN1 — State of Fault Pin 1 Bit
152
This read-only bit allows the user to read the current state of fault
pin 4.
The FFLAG4 event bit is set within two CPU cycles after a rising edge on fault pin 4. To clear the
FFLAG4 bit, the user must write a 1 to the FTACK4 bit in the fault acknowledge register.
This read-only bit allows the user to read the current state of fault
pin 3.
The FFLAG3 event bit is set within two CPU cycles after a rising edge on fault pin 3. To clear the
FFLAG3 bit, the user must write a 1 to the FTACK3 bit in the fault acknowledge register.
This read-only bit allows the user to read the current state of fault pin 2.
The FFLAG2 event bit is set within two CPU cycles after a rising edge on fault pin 2. To clear the
FFLAG2 bit, the user must write a 1 to the FTACK2 bit in the fault acknowledge register.
This read-only bit allows the user to read the current state of fault pin 1.
1 = Fault pin 4 is at logic 1.
0 = Fault pin 4 is at logic 0.
1 = A fault has occurred on fault pin 4.
0 = No new fault on fault pin 4
1 = Fault pin 3 is at logic 1.
0 = Fault pin 3 is at logic 0.
1 = A fault has occurred on fault pin 3.
0 = No new fault on fault pin 3.
1 = Fault pin 2 is at logic 1.
0 = Fault pin 2 is at logic 0.
1 = A fault has occurred on fault pin 2.
0 = No new fault on fault pin 2
1 = Fault pin 1 is at logic 1.
0 = Fault pin 1 is at logic 0.
Address:
Reset:
Read:
Write:
FPIN4
$0023
Bit 7
U
MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1
Figure 12-44. Fault Status Register (FSR)
= Unimplemented
FFLAG4
6
0
FPIN3
U
5
U = Unaffected
FFLAG3
4
0
FPIN2
U
3
FFLAG2
2
0
FPIN1
U
1
Freescale Semiconductor
FFLAG1
Bit 0
0

Related parts for mc68hc908mr32