38 #if defined(YGGDRASIL_PERIPHERAL_DEFS)
63 static constexpr
auto& LD1 = GPIOPortJ::Pin<0>;
64 static constexpr
auto& LDA = LD1;
65 static constexpr
auto& LedBlue = LD1;
66 static constexpr
auto& LD2 = GPIOPortJ::Pin<1>;
67 static constexpr
auto& LDB = LD2;
68 static constexpr
auto& LedRed = LD2;
69 static constexpr
auto& LD3 = GPIOPortJ::Pin<2>;
70 static constexpr
auto& LDC = LD3;
71 static constexpr
auto& LedYellow = LD3;
72 static constexpr
auto& LD4 = GPIOPortJ::Pin<3>;
73 static constexpr
auto& LDD = LD4;
74 static constexpr
auto& LedGreen = LD4;
76 static constexpr
auto& LeftJoyStickButton = GPIOPortE::Pin<9, drv::Active::Low>;
77 static constexpr
auto& ButtonJoystickA = LeftJoyStickButton;
78 static constexpr
auto& RightJoyStickButton = GPIOPortE::Pin<7, drv::Active::Low>;
79 static constexpr
auto& ButtonJoystickB = RightJoyStickButton;
81 static constexpr
auto& ButtonA = GPIOPortJ::Pin<4, drv::Active::Low>;
82 static constexpr
auto& ButtonB = GPIOPortJ::Pin<5, drv::Active::Low>;
83 static constexpr
auto& ButtonC = GPIOPortJ::Pin<6, drv::Active::Low>;
84 static constexpr
auto& ButtonD = GPIOPortJ::Pin<7, drv::Active::Low>;
86 static constexpr
auto& DriverA = GPIOPortB::Pin<3>;
87 static constexpr
auto& LD5 = DriverA;
88 static constexpr
auto& LDE = DriverA;
89 static constexpr
auto& DriverB = GPIOPortB::Pin<4>;
90 static constexpr
auto& LD6 = DriverB;
91 static constexpr
auto& LDF = DriverB;
92 static constexpr
auto& DriverC = GPIOPortB::Pin<14>;
93 static constexpr
auto& LD7 = DriverC;
94 static constexpr
auto& LDG = DriverC;
95 static constexpr
auto& DriverD = GPIOPortB::Pin<15>;
96 static constexpr
auto& LD8 = DriverD;
97 static constexpr
auto& LDH = DriverD;
111 static constexpr
auto& ADCA = ADConverter1::Channel<0, 0, (1 << 16) - 1>;
112 static constexpr
auto& ADCB = ADConverter1::Channel<1, 0, (1 << 16) - 1>;
113 static constexpr
auto& ADCC = ADConverter1::Channel<2, 0, (1 << 16) - 1>;
114 static constexpr
auto& ADCD = ADConverter1::Channel<6, 0, (1 << 16) - 1>;
115 static constexpr
auto& ADCPotentiometer = ADConverter1::Channel<15, 0, (1 << 16) - 1>;
130 static constexpr
auto& DACA = DAConverter1::Channel<1, 0, (1 << 16) - 1>;
131 static constexpr
auto& DACB = DAConverter2::Channel<2, 0, (1 << 16) - 1>;
150 static constexpr
auto& SPIACE = GPIOPortI::Pin<0>;
151 static constexpr
auto& SK9822_EN = GPIOPortE::Pin<10>;