Skip to content

Commit 10c37ad

Browse files
Updated review comments
1 parent 7ca6364 commit 10c37ad

File tree

5 files changed

+31
-31
lines changed

5 files changed

+31
-31
lines changed

dspic33e-i2c-eeprom/README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@ 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<br/>
14-
typedef struct { <br/>
15-
unsigned int cmd; // Command Input<br/>
16-
I2CEMEM_DATA *oData; // I2C Serial EEPROM Data Object<br/>
13+
// EEPROM DRIVER Module
14+
typedef struct {
15+
unsigned int cmd; // Command Input
16+
I2CEMEM_DATA *oData; // I2C Serial EEPROM Data Object
1717
void (*init)(void *);
18-
void (*tick)(void *); <br/>
19-
}I2CEMEM_DRV; <br/>
18+
void (*tick)(void *);
19+
}I2CEMEM_DRV;
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<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/>
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;
3030

3131

3232
* I2C Serial EEPROM read/write operation begins with transmitting control byte first.
@@ -43,8 +43,8 @@ Small memory I2C EEPROM will use 1byte address and large memory I2C EEPROM will
4343
User must select either 1byte memory address or 2byte memory address using
4444
i2cEmem.h file.
4545

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

4949

5050
## Hardware Used

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

Lines changed: 3 additions & 3 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 <br/>
10-
init_timer1.c - initialise timer 1 interrupt<br/>
11-
main.c - contains main and ISR for timer 1<br/>
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
1212

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

dspic33e-rtcc/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +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-
void RTCCUnlock(void)<br/>
10+
void RTCCUnlock(void)
1111
This function enables the time and date value registers to be written
1212

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

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

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

2222
User selected bit fields:

dspic33e-rtdm-example/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@ alternative link between Host PC and target device for debugging applications
99
in real-time using MPLAB DMCI ( MPLAB 8.10 or higher).
1010
It is required to include the RTDM.C file and RTDM.h into the application project
1111
in order to send/receive data through the UART to/from the host PC running under
12-
MPLAB DMCI environment. <br/><br/>
12+
MPLAB DMCI environment.
1313
DMCI included in MPLAB 8.10 or higher is ready and enabled to support data exchange
1414
between the host PC and target device. Previous versions of DMCI do not support this feature.
1515
RTDM is currently supported by PIC24H, dsPIC30F , dsPIC33F , PIC24E and dsPIC33E processors
1616

1717

18-
Function: RTDM_Start()<br/>
18+
Function: RTDM_Start()
1919
Overview: Here is where the RTDM code initializes the UART to be used to
20-
exchange data with the host PC<br/>
20+
exchange data with the host PC
2121
Note: Some processors may have 2 UART modules, that is why it is required to
2222
specify which UART module is going to be used by RTDM
2323

2424

25-
Function: RTDM_ProcessMsgs()<br/>
25+
Function: RTDM_ProcessMsgs()
2626
Overview: Here is where the RTDM code process the message received and then
2727
executes the required task. These tasks are reading an specified memory
2828
location, writing an specified memory location, receive a communication
2929
link sanity check command, or being asked for the size of the buffers.
3030

31-
Function: CloseRTDM()<br/>
31+
Function: CloseRTDM()
3232
Overview: Here is where the RTDM code closes the UART used to
3333
exchange data with the host PC
3434

dspic33e-rtsp-word-write/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ in the already programmed flash are modified and read back to verify the modific
1010

1111
Following RTSP Application Program Interface (APIs) are used to perform the operation.
1212

13-
// Flash Memory is organised into ROWs of 64 instructions or 192 bytes<br/>
14-
// RTSP allows the user to erase a PAGE of memory which consists of EIGHT ROWs (512 instructions or 1536byts) at a time.<br/>
15-
// RTSP allows the user to program a ROW (64 instructions or 192 bytes) at a time<br/>
13+
// Flash Memory is organised into ROWs of 64 instructions or 192 bytes
14+
// RTSP allows the user to erase a PAGE of memory which consists of EIGHT ROWs (512 instructions or 1536byts) at a time.
15+
// RTSP allows the user to program a ROW (64 instructions or 192 bytes) at a time
1616

1717
## Hardware Used
1818

0 commit comments

Comments
 (0)