mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-21 03:47:43 +00:00
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:
@@ -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__*/
|
||||
|
Reference in New Issue
Block a user