|
MEC1322 Datasheet, PDF (362/456 Pages) Microchip Technology – Keyboard and Embedded Controller for Notebook PC | |||
|
◁ |
MEC1322
31.11.1 BC-LINK STATUS REGISTER
Offset 00h
Bits
Description
Type
31:4 Reserved
R
7 RESET
R/W
When this bit is â1âthe BC_Link Master Interface will be placed in
reset and be held in reset until this bit is cleared to â0â. Setting
RESET to â1â causes the BUSY bit to be set to â1â. The BUSY
remains set to â1â until the reset operation of the BC Interface is com-
pleted, which takes approximately 48 BC clocks.
The de-assertion of the BUSY bit on reset will not generate an inter-
rupt, even if the BC_BUSY_CLR_INT_EN bit is â1â. The BUSY bit
must be polled in order to determine when the reset operation has
completed.
6 BC_ERR
This bit indicates that a BC Bus Error has occurred. If an error
occurs this bit is set by hardware when the BUSY bit is cleared. This
bit is cleared when written with a â1â. An interrupt is generated If this
bit is â1â and BC_ERR_INT_EN bit is â1â.
Errors that cause this interrupt are:
R/WC
⢠Bad Data received by the BASE (CRC Error)
⢠Time-out caused by the COMPANION not responding.
All COMPANION errors cause the COMPANION to abort the opera-
tion and the BASE to time-out.
5 BC_ERR_INT_EN
R/W
This bit is an enable for generating an interrupt when the BC_ERR
bit is set by hardware. When this bit is â1â, the interrupt signal is
enabled. When this bit is â0â, the interrupt is disabled.
4 BC_BUSY_CLR_INT_EN
R/W
This bit is an enable for generating an interrupt when the BUSY bit in
this register is cleared by hardware. When this bit is set to â1â, the
interrupt signal is enabled. When the this bit is cleared to â0â, the inter-
rupt is disabled. When enabled, the interrupt occurs after a BC Bus
read or write.
3:1 Reserved
R
0 BUSY
R
This bit is asserted to â1â when the BC interface is transferring data
and on reset. Otherwise it is cleared to â0â. When this bit is cleared
by hardware, an interrupt is generated if the BC_BUSY_CL-
R_INT_EN bit is set to â1â.
31.11.2 BC-LINK ADDRESS REGISTER
Offset 04h
Bits
Description
31:8 Reserved
7:0 ADDRESS
Address in the Companion for the BC-Link transaction.
Type
R
R/W
Default
-
1h
Reset
Event
-
VCC1_R
ESET
0h
VCC1_R
ESET
0b
VCC1_R
ESET
0h
VCC1_R
ESET
-
-
1h
VCC1_R
ESET
Default
-
0h
Reset
Event
-
VCC1_R
ESET
DS00001719D-page 362
ï£ 2014 - 2015 Microchip Technology Inc.
|
▷ |