Task | Register | Register Field | Bits | Operation |
---|---|---|---|---|
Test for an active transfer; read the transfer size register | Transfer_Size, 0x14
|
Transfer_Size | 7:0 | Read operation |
If the Transfer_Size register is not = 0, then stop here. If the device is currently transferring data, the transfer must complete or be aborted before setting options. | ||||
Program the clock divisor values |
Control
, 0x00
|
divisor_a |
15:14 |
Write operation |
I2C_SCLK frequency = I2C_REF_CLK frequency / (22 x (Div_a + 1) x (Div_b + 1)). |