Formatted code (#1007)

* Updated style

* Updated files

* fixed new line

* Updated spacing

* File fix WIP

* Updated to clang 13

* updated comment style

* Removed old comment code
This commit is contained in:
jLynx
2023-05-19 08:16:05 +12:00
committed by GitHub
parent 7aca7ce74d
commit 033c4e9a5b
599 changed files with 70746 additions and 66896 deletions

View File

@@ -43,25 +43,25 @@ constexpr size_t i2s0_rx_gpdma_channel_number = 3;
constexpr size_t adc1_gpdma_channel_number = 4;
constexpr size_t adc0_gpdma_channel_number = 5;
constexpr gpdma::mux::MUX gpdma_mux {
.peripheral_0 = gpdma::mux::Peripheral0::SGPIO14,
.peripheral_1 = gpdma::mux::Peripheral1::TIMER0_MATCH_0,
.peripheral_2 = gpdma::mux::Peripheral2::TIMER0_MATCH_1,
.peripheral_3 = gpdma::mux::Peripheral3::TIMER1_MATCH_0,
.peripheral_4 = gpdma::mux::Peripheral4::TIMER1_MATCH_1,
.peripheral_5 = gpdma::mux::Peripheral5::TIMER2_MATCH_0,
.peripheral_6 = gpdma::mux::Peripheral6::TIMER2_MATCH_1,
.peripheral_7 = gpdma::mux::Peripheral7::TIMER3_MATCH_0,
.peripheral_8 = gpdma::mux::Peripheral8::TIMER3_MATCH_1,
.peripheral_9 = gpdma::mux::Peripheral9::I2S0_DMAREQ_1,
.peripheral_10 = gpdma::mux::Peripheral10::I2S0_DMAREQ_2,
.peripheral_11 = gpdma::mux::Peripheral11::SSP1_RX,
.peripheral_12 = gpdma::mux::Peripheral12::SSP1_TX,
.peripheral_13 = gpdma::mux::Peripheral13::ADC0,
.peripheral_14 = gpdma::mux::Peripheral14::ADC1,
.peripheral_15 = gpdma::mux::Peripheral15::DAC,
constexpr gpdma::mux::MUX gpdma_mux{
.peripheral_0 = gpdma::mux::Peripheral0::SGPIO14,
.peripheral_1 = gpdma::mux::Peripheral1::TIMER0_MATCH_0,
.peripheral_2 = gpdma::mux::Peripheral2::TIMER0_MATCH_1,
.peripheral_3 = gpdma::mux::Peripheral3::TIMER1_MATCH_0,
.peripheral_4 = gpdma::mux::Peripheral4::TIMER1_MATCH_1,
.peripheral_5 = gpdma::mux::Peripheral5::TIMER2_MATCH_0,
.peripheral_6 = gpdma::mux::Peripheral6::TIMER2_MATCH_1,
.peripheral_7 = gpdma::mux::Peripheral7::TIMER3_MATCH_0,
.peripheral_8 = gpdma::mux::Peripheral8::TIMER3_MATCH_1,
.peripheral_9 = gpdma::mux::Peripheral9::I2S0_DMAREQ_1,
.peripheral_10 = gpdma::mux::Peripheral10::I2S0_DMAREQ_2,
.peripheral_11 = gpdma::mux::Peripheral11::SSP1_RX,
.peripheral_12 = gpdma::mux::Peripheral12::SSP1_TX,
.peripheral_13 = gpdma::mux::Peripheral13::ADC0,
.peripheral_14 = gpdma::mux::Peripheral14::ADC1,
.peripheral_15 = gpdma::mux::Peripheral15::DAC,
};
} /* namespace portapack */
#endif/*__PORTAPACK_DMA_H__*/
#endif /*__PORTAPACK_DMA_H__*/