Skip to content

Commit 7ca6364

Browse files
Addressed review comments
1 parent 21efafa commit 7ca6364

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

dspic33e-i2c-eeprom/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ Driver supports two commands viz., Read and Write
1212

1313
// EEPROM DRIVER Module<br/>
1414
typedef struct { <br/>
15-
unsigned int cmd; // Command Input<br/>
15+
unsigned int cmd; // Command Input<br/>
1616
I2CEMEM_DATA *oData; // I2C Serial EEPROM Data Object<br/>
17-
void (*init)(void *); <br/>
18-
void (*tick)(void *); <br/>
19-
}I2CEMEM_DRV; <br/>
17+
void (*init)(void *);
18+
void (*tick)(void *); <br/>
19+
}I2CEMEM_DRV; <br/>
2020

2121
I2C Serial EEPROM data object contains EEPROM address location, data buffer, size
2222
of the data buffer and chip select bits for device addressing<br/>
@@ -29,16 +29,16 @@ typedef struct { <br/>
2929
}I2CEMEM_DATA; <br/>
3030

3131

32-
*I2C Serial EEPROM read/write operation begins with transmitting control byte first.
32+
* I2C Serial EEPROM read/write operation begins with transmitting control byte first.
3333
This control byte contains 8bits as shown below
34-
35-
36-
| 1 | 0 | 1 | 0 | A2 | A1 | A0 | R/W |
34+
35+
| 1 | 0 | 1 | 0 | A2 | A1 | A0 | R/W |
36+
3737

3838
1010 is the code used for I2C Serial EEPROM peripheral and A2,A1,A0 is used for chip select (csel).
3939

4040

41-
*After the control byte, address of serial EEPROM is sent for read/write operation
41+
* After the control byte, address of serial EEPROM is sent for read/write operation
4242
Small memory I2C EEPROM will use 1byte address and large memory I2C EEPROM will need 2byte addressing.
4343
User must select either 1byte memory address or 2byte memory address using
4444
i2cEmem.h file.

0 commit comments

Comments
 (0)