2024-03-23 21:51:45 +01:00
|
|
|
with STM32.GPIO.Ports, STM32.Reset_and_Clock;
|
|
|
|
use STM32.GPIO, STM32.Reset_and_Clock;
|
2024-03-20 15:22:53 +01:00
|
|
|
|
|
|
|
package Board is
|
|
|
|
|
2024-03-23 21:51:45 +01:00
|
|
|
package LED is new Ports.GPIO_Port_Boolean (GPIOC, 13, Invert => True);
|
2024-03-20 15:22:53 +01:00
|
|
|
|
|
|
|
LED_RCC_EN : Boolean renames RCC.AHB1ENR (Index.GPIOC);
|
|
|
|
|
|
|
|
APB2_Frequency : constant := 84_000_000; -- Set by board support
|
|
|
|
end Board;
|