12-8
Microcontroller Subsystem
Command Set
0x0D
Read Real
Time Clock
ack + 7 bytes
The microcontroller reads the values from the RTC and returns
them in the order: seconds, minutes, hour, day, date monthe,
year. This command will fail (return NAck) if the RTC reports an
internal error.
0x0E
Read External
VGA Port
ack + 1 byte
(bits 3:0 valid)
The VGA port allows the unit to sense the type of monitor
attached. No interpretation is placed on these bits by the
microcontroller.
0x0F
Read
Microntroller
ROM
Checksum
ack + 2 bytes
This command returns the checksum of the microcontroller's
internal ROM. The checksum is calculated in the same way as
the Tadpole EPROM Programmer and is returned in order
msb…lsb.
0x10
Read Error
Status
ack + 2 bytes
Internal microcontroller errors and failures of devices (such as
the RTC) which are administered by the microcontroller, are
indicated to the host by the microcontroller setting the
Microcontroller Error bit in the Event Status register and sending
the interrupt character (0xFA). The host uses the Read Event
Status command (0x0C), to read the error status and clear the
error bit.
0x00
No error
0x01
Command error
0x02
Execution error
0x04
Physical error
0x11
Read External
Status
ack + 2 bytes
The host can determine the external configuration of the unit by
using this command. The microcontroller returns a bitmask with
bits being set to indicate the current conditionof the unit.
Bit 0
Mains Power Available
Bit 1
Internal Battery Attached
Bit 2
External Battery Attached
Bit 3
External VGA Attached
Bit 4
External Keyboard Attached
Bit 5
External Mouse Attached
Bit 6
Microswitch closed (ie lid down)
Bit 7
Internal battery currently charging
Bit 8
External battery currently charging
Bit 9
Internal battery currently discharging
Bit 10
External battery currently discharging
NOTE: A Sun mouse cannot be polled to confirm its presence.
Bit 5 is set if packets are detected at the external mouse port, but
it is not possible to reliably detect subsequent removal of the
external mouse.
Opcode
Command
Argument
Returned
Function
Table 12-1 System Information Command Summary (Continued)
S3GX_TRMBook Page 8 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...