MS51
Dec. 17, 2019
Page
204
of 316
Rev 1.01
M
S51
SE
RIES
TE
CHNICA
L REF
ERE
N
CE MA
NU
A
L
PIF
– Pin Interrupt Flags
Regiser
Address
Reset Value
PIF
ECH, all pages
0000_0000b
7
6
5
4
3
2
1
0
PIF7
PIF6
PIF5
PIF4
PIF3
PIF2
PIF1
PIF0
R (level)
R/W (edge)
R (level)
R/W (edge)
R (level)
R/W (edge)
R (level)
R/W (edge)
R (level)
R/W (edge)
R (level)
R/W (edge)
R (level)
R/W (edge)
R (level)
R/W (edge)
Bit
Name
Description
n
PIFn
Pin interrupt channel n flag
If the edge trigger is selected, this flag will be set by hardware if the channel n of pin interrupt
detects an enabled edge trigger. This flag should be cleared by software.
If the level trigger is selected, this flag follows the inverse of the input signal’s logic level on the
channel n of pin interrupt. Software cannot control it.