MS51
Nov. 28, 2019
Page
159
of 491
Rev 1.00
MS51
32K
SE
RIES
TE
CHNICAL RE
F
EREN
CE MA
N
UAL
PIF
– Pin Interrupt Flags
Register
SFR Address
Reset Value
PIF
ECH, Page 0
0000_0000 b
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.