iicps_v3_0: Modifies the examples.
This patch modifies eeprom start address in polled example and updated the note in header in repeated start example. Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
This commit is contained in:
parent
3f51bab44f
commit
86e14e1e5a
2 changed files with 3 additions and 3 deletions
|
@ -103,7 +103,7 @@
|
|||
/*
|
||||
* The Starting address in the IIC EEPROM on which this test is performed.
|
||||
*/
|
||||
#define EEPROM_START_ADDRESS 128
|
||||
#define EEPROM_START_ADDRESS 0
|
||||
|
||||
/**************************** Type Definitions *******************************/
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
*
|
||||
* The I2C controller does not indicate completion of a receive transfer if HOLD
|
||||
* bit is set. Due to this errata, repeated start cannot be used if a receive
|
||||
* transfer is followed by any other transfer.
|
||||
* transfer is followed by any other transfer on Zynq platform.
|
||||
*
|
||||
* <pre>
|
||||
* MODIFICATION HISTORY:
|
||||
|
@ -152,7 +152,7 @@ int main(void)
|
|||
/*
|
||||
* Run the Iic repeated start example.
|
||||
* Refer to note in the header - repeated start cannot be used
|
||||
* if read transfer is followed by any other transfer.
|
||||
* on zynq platform if read transfer is followed by any other transfer.
|
||||
*/
|
||||
Status = IicPsRepeatedStartExample();
|
||||
if (Status != XST_SUCCESS) {
|
||||
|
|
Loading…
Add table
Reference in a new issue