Skip to content

Commit 965dfb5

Browse files
Updated review comments
1 parent 6c18804 commit 965dfb5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

dspic33e-adc-1msps/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ void initDma0(void);<br />
1616
DMA channel 0 is configured in ping-pong mode to move the converted data from ADC to DMA RAM on every sample/convert sequence.
1717
It generates interrupt after every 16 sample transfer.
1818

19-
void \__attribute\__((\__interrupt\__)) _DMA0Interrupt(void);<br />
19+
void \_\_attribute\_\_((\_\_interrupt\_\_)) _DMA0Interrupt(void);<br />
2020
DMA interrupt service routine, moves the data from DMA buffer to ADC signal buffer and collects 256 samples.
2121

2222
The Toggle frequency of one pulse should be around 240us(micro second), if the operating clock frequency at 40Mhz.

dspic33e-adc-fir-dma/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void initDma0(void);<br />
4040
DMA channel 0 is confiured in ping-pong mode to move the converted data from ADC to DMA RAM on every sample/convert sequence.
4141
It generates interrupt after every 480 sample transfer.
4242

43-
void \__attribute\__((\__interrupt\__)) _DMA0Interrupt(void);<br />
43+
void \_\_attribute\_\_((\_\_interrupt\_\_)) _DMA0Interrupt(void);<br />
4444
DMA interrupt service routine sets flag for FIR filtering on the data buffer.
4545

4646

dspic33e-adc-iir-filter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void initDma0(void);<br />
2626
DMA channel 0 is configured in ping-pong mode to move the converted data from ADC to DMA RAM on every sample/convert sequence.
2727
It generates interrupt after every 256 sample transfer.
2828

29-
void \__attribute\__((\__interrupt\__)) _DMA0Interrupt(void);<br />
29+
void \_\_attribute\_\_((\_\_interrupt\_\_)) _DMA0Interrupt(void);<br />
3030
DMA interrupt service routine performs IIR filtering on the data buffer.
3131

3232

dspic33e-spi-loopback/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ void cfgDma1SpiRx(void)<br/>
2626
This function configures DMA channel 0 for SPI reception. DMA is configured in ping-pong mode
2727
with auto increment addressing for DMA memory write.
2828

29-
void __attribute__((__interrupt__)) _DMA0Interrupt(void)<br/>
29+
void \_\_attribute\_\_((\_\_interrupt\_\_)) _DMA0Interrupt(void)<br/>
3030
This interrupt routine handles transmit DMA interrupt
3131

32-
void __attribute__((__interrupt__)) _DMA1Interrupt(void)<br/>
32+
void \_\_attribute\_\_((\_\_interrupt\_\_)) _DMA1Interrupt(void)<br/>
3333
This interrupt routine handles the receive ping-pong buffer.
3434

3535

0 commit comments

Comments
 (0)