File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ void initDma0(void);
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);
19+ void \_ _ attribute \_ _ (( \_ _ interrupt \_ _ )) _ DMA0Interrupt(void);
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);
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);
43+ void \_ _ attribute \_ _ (( \_ _ interrupt \_ _ )) _ DMA0Interrupt(void);
4444DMA interrupt service routine sets flag for FIR filtering on the data buffer.
4545
4646
You can’t perform that action at this time.
0 commit comments