![](http://datasheet.mmic.net.cn/380000/-PD98405_datasheet_16745025/-PD98405_278.png)
CHAPTER 6 PHY FUNCTION
278
Table 6-9. Counters
Counter name
Description
Number of counter bits
B1E counter
Number of times B1 error has been detected
16
B2E counter
Number of times B2 error has been detected
20
B3E counter
Number of times B3 error has been detected
16
L-FEBE counter
Total number of errors received by Line FEBE
20
P-FEBE counter
Total number of errors received by Path FEBE
16
FJ counter
Number of Frequency Justification operations
12
HEC counter
Total number of cells dropped by HEC processing
20
FIFO full counter
Total number of cells dropped because of FIFO overflow
20
Idle cell counter
Total number of received idle cells (cells dropped as a result
of setting the DCHPR and DCHPMR registers)
20
Information cell counter
Total number of valid cells transferred to ATM layer device
20
The counter function is implemented by these registers. These registers are provided for each of the above
counters.
Counter:
This counter counts the number of internal events for the
μ
PD98405. When the count
value reaches all "F(H)", the corresponding bits of the PCOCR1 and PCOCR2 registers
are set, and the detection of an overflow is reported. The count value then returns to 0,
and the counter continues counting.
Load register:
If the SMP bit of the PCSR register is set to "1" by the host, all the values of the
counters at that time are stored into the corresponding load registers. The contents of
this register are held until new data is loaded into the register.
Window register:
This is an 8-bit register used by the host to read the contents of the load register. To
obtain the 12- or 16-bit value of the load register, the value of the load register is output
in 8-bit units, the lower 8 bits being output first, followed by the higher 8 bits, each time
the host reads the window register. Therefore, the host reads the window register two
times continuously. Whether the lower or higher 8 bits are output when the host next
reads the window register is indicated by the corresponding bits of the PCPR1 and
PCPR2 registers. To read a 20-bit load register, the window register is read three
times, in the order of the lower bits, middle bits, then higher bits.