Microcontroller Subsystem
12-7
Command Set
0x0A
Read
Power-on
Seconds
ack + 4bytes
This command returns the total number of seconds that the unit
has been powered-on during its life. This value is held in
EEPROM as a four byte value which are returned in order msb ...
lsb. This value will overflow in 139 years of constant operation.
0x0B
Read Reset
Status
ack + 1 byte
The reset status of the microcontroller is derived from the cause
of the reset. This information is updated at the time of reset, and
remains until the next reset.The interpretation of this value is
shared with the system software. The defined values are as
follows:
0x00
Reserved
0x01
Power-on reset
0x02
Keyboard (user) reset
0x03
Watchdog reset
0x04
Timeout reset
0x05
Software reset
0x06
Brownout reset
0x07
Reserved
0x0C
Read Event
Status
ack + 2 bytes
The microcontroller status is a reflection of the current state of
the unit and its environment. The interpretation placed on this
bitmask is shared with system software. The defined values are
as follows:
Bit 0
Shutdown request
Bit 1
Battery event - low power warning
Bit 2
Battery event - very low power warning
Bit 3
Battery event - battery changed
Bit 4
Change in external keyboard status
Bit 5
Change in external mouse status
Bit 6
Change in external VGA status
Bit 7
Change in case-closed microswitch status
Bit 8
Microcontroller error
Bit 9
Reserved
Bit 10
Change in external battery status
Bit 11
Change in external battery charging state
Bit 12
External battery event - low power warning
Bit 13
Change in DC state
Bit 14
Change in charging state
Bit 15
Power-On button pressed
The status is returned in order msb...lsb,with bits set to indicate
that the associated event has occurred. After returning status to
the host, the microcontroller normally resets its internal status
flags. This can be avoided by using command 0x1B
Opcode
Command
Argument
Returned
Function
Table 12-1 System Information Command Summary (Continued)
S3GX_TRMBook Page 7 Friday, September 19, 1997 11:39 am
Содержание SPARCbook 3 series
Страница 1: ...Series Technical Reference Manual 980327 02 3 S3GX_TRMBook Page i Friday September 19 1997 11 39 am...
Страница 8: ...viii S3GX_TRMBook Page viii Friday September 19 1997 11 39 am...
Страница 28: ...1 16 Architecture Overview Microcontroller Subsystem S3GX_TRMBook Page 16 Friday September 19 1997 11 39 am...
Страница 44: ...2 16 The SPARC CPU SBus Controller S3GX_TRMBook Page 16 Friday September 19 1997 11 39 am...
Страница 76: ...5 8 SCSI Controller DMA Support S3GX_TRMBook Page 8 Friday September 19 1997 11 39 am...
Страница 82: ...6 6 Ethernet Interface DMA Support for Network Operations S3GX_TRMBook Page 6 Friday September 19 1997 11 39 am...
Страница 96: ...7 14 PCMCIA Interface Microcontroller Registers S3GX_TRMBook Page 14 Friday September 19 1997 11 39 am...
Страница 146: ...9 28 MODEM Class 2 Fax Command Set S3GX_TRMBook Page 28 Friday September 19 1997 11 39 am...
Страница 180: ...11 30 Display Interface RAMDAC S3GX_TRMBook Page 30 Friday September 19 1997 11 39 am...
Страница 210: ...B 10 Connector Information Removable Hard Drive SCSI Connector S3GX_TRMBook Page 10 Friday September 19 1997 11 39 am...
Страница 216: ...Index vi S3GX_TRMBook Page vi Friday September 19 1997 11 39 am...