| Electronic Components Datasheet Search |
|
WM0011 Datasheet(PDF) 104 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
WM0011 Datasheet(HTML) 104 Page - Cirrus Logic |
|
104 / 233 page ![]() WM0011 Production Data w PD, Rev 4.1, August 2013 104 I2C_MRXDATA – I 2C MASTER RECEIVE DATA REGISTER The Master Receive Data Register (I2C_MRXDATA) holds the byte of data received (MRXDATA) in the I 2C Master Read operation. The MRXDATA_FLAG bit indicates when a new byte of data has been successfully received. This bit is cleared when the register is read. Note that the MSTR_RX_FILLED bit in the I2C_STATUS register (see Table 53) also indicates when new data has been received. The associated interrupt may also be enabled. Each received data byte must be acknowledged by the I 2C Master module, using the ACK/NACK response. The response is configured by writing to the I2C_MTXDATA register (see Table 58), setting the LAST_BYTE_FLAG bit to 0 or 1 (for ACK/NACK respectively). For further details, see the following section, describing the I2C_MTXDATA register. The last byte of the I 2C Master Read operation is acknowledged with the NACK response from the I2C Master. An I 2C STOP Condition will normally be transmitted after the final NACK, thus completing the I 2C Read. Note that the action taken on termination of the transfer is configurable, using the XFER_TERM bit in the I2C_MCTRL register (see Table 56). The MSTR_XFER_DONE bit in the I2C_STATUS register indicates when an I 2C Master transfer has completed. I2C_MRXDATA I2C MASTER RECEIVE DATA REGISTER Address = 0xF002_0034 Default value = 0x0000_0000 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BITS FIELD NAME S/W ACCESS RESET VALUE FIELD DESCRIPTION 31:9 Reserved 0x00_ 0000 8 MRXDATA_FLAG RC 0x0 This is asserted to indicate that the 8-bit byte of data has been received 0 = Register empty 1 = Register full (new data received) Note that this bit is cleared on read 7:0 MRXDATA RO 0x00 Master Data byte received Note that this is a read only field Table 57 I2C_MRXDATA Register I2C_MTXDATA – I 2C MASTER TRANSMIT DATA REGISTER The Master Transmit Data Register (I2C_MTXDATA) holds the byte of data (MTXDATA) for transmission in the I 2C Master Write operation. The I2C_MTXDATA register also controls the ACK/NACK response in I 2C Master Read operations. The MTXDATA_FLAG bit indicates when a byte of data has been loaded, ready for transmission. This bit is set to ‘0’ after the byte has been transmitted, indicating that the register has been emptied and is ready for the next data byte to be loaded. The MTXDATA_FLAG is a Read-Only bit. Note that the MXTR_TX_EMPTIED bit in the I2C_STATUS register (see Table 53) also indicates when the I2C_MTXDATA register has been emptied. The associated interrupt may also be enabled. The first byte to be transmitted must be written to MTXDATA before the Master Write transfer is initiated. Each subsequent data byte for transmission should be written to MTXDATA as soon as possible after the MSTR_TX_EMPTIED bit is asserted. For I 2C Master Write operations, the LAST_BYTE_FLAG bit indicates whether the associated data byte is the last byte to be transferred. For I 2C Master Read operations, the ACK/NACK response is configured by writing to the LAST_BYTE_FLAG bit. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | 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 |