Log Sense (4Dh)
Log Sense (4Dh) returns library error logs and statistics.
- PPC (Parameter Pointer Control - not supported)
-
Set this to 0.
- SP (Save Parameters - not supported)
-
Set this to 0.
- PC (Page Control)
-
Set this to 0. The library only supports a PC value of 0 (threshold values).
- Page Code
-
00h = List supported pages
07h = List last n error events page
- Parameter Pointer
-
Set this to 0.
- Allocation Length
-
The library transfers either the number of bytes specified by the Allocation Length field or all of the available log sense data, whichever is less. The page lengths are:
- 06h (6d) bytes for supported pages data
- 28h (40d) bytes for the last n errors events page
Supported Pages Page
The Supported Pages Page lists all the Log Sense page codes supported by the library.