Skip to content

Commit 21efafa

Browse files
Addressed review comments
1 parent 206b97d commit 21efafa

File tree

20 files changed

+67
-68
lines changed

20 files changed

+67
-68
lines changed

dspic33e-i2c-eeprom/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"I2C Serial EEPROM Interface",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-i2c-eeprom/README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,41 +10,41 @@ then read back using I2C peripheral.
1010
I2C EEPROM driver module takes two inputs viz., Command and Data Object
1111
Driver supports two commands viz., Read and Write
1212

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

2121
I2C Serial EEPROM data object contains EEPROM address location, data buffer, size
22-
of the data buffer and chip select bits for device addressing
23-
// Data Object
24-
typedef struct {
25-
unsigned int *buff; // Data Buffer
26-
unsigned int n; // Size of the Data Buffer
27-
unsigned int addr; // EEPROM Address
28-
unsigned int csel; // Chip Select bits (A2,A1,A0 bits)
29-
}I2CEMEM_DATA;
22+
of the data buffer and chip select bits for device addressing<br/>
23+
// Data Object<br/>
24+
typedef struct { <br/>
25+
unsigned int *buff; // Data Buffer <br/>
26+
unsigned int n; // Size of the Data Buffer<br/>
27+
unsigned int addr; // EEPROM Address<br/>
28+
unsigned int csel; // Chip Select bits (A2,A1,A0 bits)<br/>
29+
}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-
| 1 | 0 | 1 | 0 | A2 | A1 | A0 | R/W |
36-
------------------------------------
34+
35+
36+
| 1 | 0 | 1 | 0 | A2 | A1 | A0 | R/W |
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.
4545

46-
// EEPROM ADDRESS SIZE
47-
#define ADDRWIDTH TWO_BYTE
46+
// EEPROM ADDRESS SIZE<br/>
47+
#define ADDRWIDTH TWO_BYTE <br/>
4848

4949

5050
## Hardware Used
@@ -55,6 +55,6 @@ i2cEmem.h file.
5555

5656
## Software Used
5757

58-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
59-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
58+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
59+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
6060

dspic33e-i2c-slave/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"Using I2C module as Slave device",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-i2c-slave/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ device.
1818

1919
## Software Used
2020

21-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
22-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
21+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
22+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
2323

dspic33e-intr-in-aux-flash-alt/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"Intr In AUX Flash Alt",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-intr-in-aux-flash-alt/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ Note : There is warning when build the project regarding the Aux_Interrupt. This
2020

2121
## Software Used
2222

23-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
24-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
23+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
24+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
2525

dspic33e-intr-in-aux-flash/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"Intr In AUX Flash",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-intr-in-aux-flash/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
This example demonstrates how to handle interrupts in auxiliary flash. Timer1 interrupt is used to demonstrate this.
88

9-
aux_int.s - contains the default ISR for all interrupts in Aux flash
10-
init_timer1.c - initialise timer 1 interrupt
11-
main.c - contains main and ISR for timer 1
9+
aux_int.s - contains the default ISR for all interrupts in Aux flash <br/>
10+
init_timer1.c - initialise timer 1 interrupt<br/>
11+
main.c - contains main and ISR for timer 1<br/>
1212

1313
To use this example in your project, include the aux_int.s file.
1414

@@ -20,6 +20,6 @@ To use this example in your project, include the aux_int.s file.
2020

2121
## Software Used
2222

23-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
24-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
23+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
24+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
2525

dspic33e-rtcc/.main-meta/main.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"shortDescription":"RTCC",
1111
"ide":{
1212
"name":"MPLABX",
13-
"semverRange":">=5.50.0"
13+
"semverRange":">=6.00"
1414
},
1515
"compiler":{
1616
"name":"XC16",

dspic33e-rtcc/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,16 @@
77
This code example aims to demonstrate the basic initialisation and operation of the Real Time Clock and Calender (RTCC) module.
88
The user has to ensure the presence of a 32.768kHz secondary oscillator for the module to function as desired.
99

10-
11-
void RTCCUnlock(void)
10+
void RTCCUnlock(void)<br/>
1211
This function enables the time and date value registers to be written
1312

14-
void RtccInit(void)
13+
void RtccInit(void)<br/>
1514
This function initialises the time and date registers to the user defined values
1615

17-
void RtccRead(void)
16+
void RtccRead(void)<br/>
1817
This function enables the time and date registers to be read
1918

20-
void __attribute__((interrupt, no_auto_psv)) _RTCCInterrupt(void)
19+
void \_\_attribute\_\_((interrupt, no_auto_psv)) _RTCCInterrupt(void)<br/>
2120
This is the Interrupt Service Routine of the RTCC module
2221

2322
User selected bit fields:
@@ -53,6 +52,6 @@ IV]RTCC CALIBRATION:
5352

5453
## Software Used
5554

56-
- MPLAB® X IDE v5.50 or newer (https://www.microchip.com/mplabx)
57-
- MPLAB® XC16 v1.70 or newer (https://www.microchip.com/xc)
55+
- MPLAB® X IDE v6.00 or newer (https://www.microchip.com/mplabx)
56+
- MPLAB® XC16 v2.00 or newer (https://www.microchip.com/xc)
5857

0 commit comments

Comments
 (0)