The pointer value detection circuit of the uPD98411 does not simultaneously detect LOP and P-AIS.
However, the display register displays the event logs,
and retains "1" for the bits that correspond to the occurred events until it is read.
For example, if LOP is detected, LOP continues to be displayed until the display register is read.
Then, when the pointer detection circuit cancels LOP and P-AIS is detected,
both the LOP and P-AIS bits are displayed by the display register.
| |
Display register |
|
| Event |
LOP Detection |
Read |
LOP Cancellation |
P-AIS Detection |
| ---------- |
-------- |
------- |
------- |
------- |
------- |
------- |
------- |
------- |
------- |
------- |
----- |
| LOP bit |
1 |
→ |
0 |
→ |
→ |
→ |
→ |
→ |
→ |
→ |
|
| P-AIS bit |
0 |
→ |
→ |
→ |
→ |
→ |
→ |
→ |
1 |
→ |
|
However, if LOP is not read, results in below, and when the display
register is read following P-AIS detection, it appears as if both
LOP and P-AIS are detected.
| Event |
LOP Detection |
Read |
LOP Cancellation |
P-AIS Detection |
| ---------- |
-------- |
------- |
------- |
------- |
------- |
------- |
------- |
------- |
------- |
------- |
----- |
| LOP bit |
1 |
→ |
→ |
→ |
→ |
→ |
→ |
→ |
→ |
→ |
|
| P-AIS bit |
0 |
→ |
→ |
→ |
→ |
→ |
→ |
→ |
1 |
→ |
|
If both the LOP and P-AIS bits are set to "1" when the display register is read the first time,
it is known that there has been a LOP → P-AIS or P-AIS → LOP transition in the past,
but which is the current state is not known.
And if either the LOP or P-AIS bit is set to "1" when the display register is read again (second time),
the current state (in other words, the transition direction) can be known
because only the bit corresponding to the event that has occurred subsequently is set to "1" at this time.
If both the LOP and P-AIS bits are "0" when the display register is read the second time,
this means that the event has already ended though which transition occurred is not known.