File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ void initDma0(void);<br />
1616DMA channel 0 is configured in ping-pong mode to move the converted data from ADC to DMA RAM on every sample/convert sequence.
1717It generates interrupt after every 16 sample transfer.
1818
19- void \_ _ attribute \_ _ ((\_ _ interrupt \_ _ )) _ DMA0Interrupt(void);<br />
19+ void \_\_ attribute \_\_ ((\_\_ interrupt \_\_ )) _ DMA0Interrupt(void);<br />
2020DMA interrupt service routine, moves the data from DMA buffer to ADC signal buffer and collects 256 samples.
2121
2222The Toggle frequency of one pulse should be around 240us(micro second), if the operating clock frequency at 40Mhz.
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ void initDma0(void);<br />
4040DMA channel 0 is confiured in ping-pong mode to move the converted data from ADC to DMA RAM on every sample/convert sequence.
4141It generates interrupt after every 480 sample transfer.
4242
43- void \_ _ attribute \_ _ ((\_ _ interrupt \_ _ )) _ DMA0Interrupt(void);<br />
43+ void \_\_ attribute \_\_ ((\_\_ interrupt \_\_ )) _ DMA0Interrupt(void);<br />
4444DMA interrupt service routine sets flag for FIR filtering on the data buffer.
4545
4646
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ void initDma0(void);<br />
2626DMA channel 0 is configured in ping-pong mode to move the converted data from ADC to DMA RAM on every sample/convert sequence.
2727It generates interrupt after every 256 sample transfer.
2828
29- void \_ _ attribute \_ _ ((\_ _ interrupt \_ _ )) _ DMA0Interrupt(void);<br />
29+ void \_\_ attribute \_\_ ((\_\_ interrupt \_\_ )) _ DMA0Interrupt(void);<br />
3030DMA interrupt service routine performs IIR filtering on the data buffer.
3131
3232
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ void cfgDma1SpiRx(void)<br/>
2626This function configures DMA channel 0 for SPI reception. DMA is configured in ping-pong mode
2727with auto increment addressing for DMA memory write.
2828
29- void __ attribute __ (( __ interrupt __ )) _ DMA0Interrupt(void)<br />
29+ void \_\_ attribute \_\_ (( \_\_ interrupt \_\_ )) _ DMA0Interrupt(void)<br />
3030This interrupt routine handles transmit DMA interrupt
3131
32- void __ attribute __ (( __ interrupt __ )) _ DMA1Interrupt(void)<br />
32+ void \_\_ attribute \_\_ (( \_\_ interrupt \_\_ )) _ DMA1Interrupt(void)<br />
3333This interrupt routine handles the receive ping-pong buffer.
3434
3535
You can’t perform that action at this time.
0 commit comments