| Electronic Components Datasheet Search |
|
AS7263 Datasheet(PDF) 19 Page - OSRAM GmbH |
|
|
|||||||||||||||||||||||||||||
AS7263 Datasheet(HTML) 19 Page - OSRAM GmbH |
|
19 / 46 page ![]() Page 18 Datasheet, Public Document Feedback [v4-00] 2022-Nov-30 AS7263 − Detailed Description Figure 18: I²C Slave Device Address and Physical Registers I²C Virtual Register Write Access Figure 19 shows the pseudocode necessary to write virtual registers on the AS7263. Note that, because the actual registers of interest are realized as virtual registers, a means of indicating whether there is a pending read or write operation of a given virtual register is needed. To convey this information, the most significant bit of the virtual register address is used as a marker. If it is 1, then a write is pending, otherwise the slave is expecting a virtual read operation. The pseudocode illustrates the proper technique for polling of the I²C slave status register to ensure the slave is ready for each transaction. Entity Description Note Device Slave Address 8-bit Slave Address Byte = 1001 001x x= 1 for Master Read (byte = 93 hex) x= 0 for Master Write (byte = 92 hex) STATUS Register I²C slave interface STATUS register. Read-only. Register Address = 0x00 Bit 1: TX_VALID 0 -> New data may be written to WRITE register 1 -> WRITE register occupied. Do NOT write. Bit 0: RX_VALID 0 -> No data is ready to be read in READ register. 1 -> Data byte available in READ register. WRITE Register I²C slave interface WRITE register. Write-only. Register Address = 0x01 8 Bits of data written by the I²C Master intended for receipt by the I²C slave. Used for both virtual register addresses and write data. READ Register I²C slave interface READ register. Read-only. Register Address = 0x02 8 Bits of data to be read by the I²C Master. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |