| Electronic Components Datasheet Search |
|
WM0011 Datasheet(PDF) 103 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
WM0011 Datasheet(HTML) 103 Page - Cirrus Logic |
|
103 / 233 page ![]() WM0011 Production Data w PD, Rev 4.1, August 2013 103 The I 2C address of the target Slave device is held in the MSTR_ADDR register. (This identifies the remote device that the I2C transfer is intended for.) Note that MSTR_ADDR is the 7-bit Device Address, and does not include the Read/Write bit. The equivalent 8-bit Device Address comprises the 7 bits of MSTR_ADDR, and the R/W bit in the LSB position. This is illustrated by an example in Table 55. I 2C ACTION MSTR_ADDR 8-BIT DEVICE ADDRESS Write 0x38 (hex), 011 1000 (binary) 0x70 (hex), 0111 0000 (binary) Read 0x71 (hex), 0111 0001 (binary) Table 55 Illustration of 7-bit MSTR_ADDR compared with 8-bit Device Address The I2C_MCTRL register is cleared (to default) after the final ACK/NACK of the I 2C Master transfer. The MSTR_ACC_CTRL_EMP bit in the I2C_STATUS register (see Table 53) indicates when the I2C_MCTRL register has been cleared. A corresponding interrupt can also be enabled if required. The I2C_MCTRL register will be cleared (and the MSTR_ACC_CTRL_EMP bit set) as described above. Note that the MSTR_XFER_DONE bit, indicating completion of the I 2C Master transfer, will be set at approximately the same time if XFER_TERM=1. The MSTR_XFER_DONE bit will not be set if XFER_TERM=0 for the current transfer. I2C_MCTRL I2C MASTER ACCESS CONTROL REGISTER Address = 0xF002_0030 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:14 Reserved 0x0_ 0000 13 MODULE_BUSY RO 0x0 This bit is asserted on any write to the I2C_MCTRL register, and indicates that the hardware is initiating an I2C Master transfer 0 = Register cleared (following final ACK/NACK of the I2C transfer) 1 = Module busy (I2C transfer initiated) Note that this bit is read only 12 Reserved 0x0 11 XFER_TYPE RW 0x0 Selects Read or Write for I2C Master transfer 0 = Write 1 = Read 10 XFER_TERM RW 0x0 Transfer termination Selects a STOP Condition at the end of the current transfer 0 = No STOP Condition. (Next transfer uses a Repeated START.) 1 = STOP Condition issued at end of current transfer 9:7 Reserved 0x0 6:0 MSTR_ADDR RW 0x00 This is the 7 bit I 2C address of the target Slave device, identifying the remote device that the I2C transfer is intended for. (Note this does not include the R/W bit.) Table 56 I2C_MCTRL Register |
|
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 |