| Os motores de busca de Datasheet de Componentes eletrônicos |
|
SIO1007 Folha de dados(PDF) 58 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
SIO1007 Folha de dados(HTML) 58 Page - Microchip Technology |
|
58 / 108 page ![]() SIO1007 DS00002020A-page 58 2005 - 2015 Microchip Technology Inc. 18.2.2 CONFIGURATION REGISTER PROGRAMMING The SIO1007 contains configuration registers CR00-CR39. After the SIO1007 enters the configuration state, configura- tion registers can be programmed by first writing the register index number (00 - 39H) to the Configuration Select Reg- ister (CSR) through the INDEX PORT and then writing or reading the configuration register contents through the DATA PORT. Configuration register access remains enabled until the configuration state is explicitly exited. 18.2.3 EXITING THE CONFIGURATION STATE To exit the configuration state, write one byte of AAH data to the CONFIG PORT. The SIO1007 will automatically deac- tivate the Configuration Access Ports following this procedure, at which point configuration register access cannot occur until the configuration state is explicitly re-enabled. 18.2.4 PROGRAMMING EXAMPLE The following is a configuration register programming example written in Intel 8086 assembly language. ;----------------------------. ; ENTER CONFIGURATION STATE | ;----------------------------' MOVDX,02EH;SYSOPT = 0 MOVAX,055H OUTDX,AL ;----------------------------. ; CONFIGURE REGISTER CR0-CRx | ;----------------------------' MOVDX,02EH MOVAL,00H OUTDX,AL ;Point to CR0 MOVDX,02FH MOVAL,3FH OUTDX,AL ;Update CR0 ; MOVDX,02EH MOVAL,01H OUTDX,AL ;Point to CR1 MOVDX,02FH MOVAL,9FH OUTDX,AL ;Update CR1 ; ; Repeat for all CRx registers ; ;-----------------------------. ; EXIT CONFIGURATION STATE | ;-----------------------------' MOVDX,02EH MOVAX,AAH OUTDX,AL 18.2.5 CONFIGURATION SELECT REGISTER (CSR) The Configuration Select Register can only be accessed when the SIO1007 is in the configuration state. The CSR is located at the INDEX PORT address and must be initialized with configuration register index before the register can be accessed using the DATA PORT. |
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |