📝 hal::enum
Hardware Enumerations & Constants
366 satır
Definitions
📖 Genel Bakış
Hardware enumeration definitions: register addresses, bit masks, constants.
📦 İçerik
içe_aktar hal::enum
// GPIO Definitions
sabit GPIOA_BASE = 0x40020000
sabit GPIOB_BASE = 0x40020400
// RCC Definitions
sabit RCC_BASE = 0x40023800
sabit RCC_AHB1ENR = 0x40023830
// IRQ Numbers
sabit IRQ_TIM2 = 28
sabit IRQ_USART1 = 37
// Bit masks
sabit GPIO_MODER_MASK = 0x03
sabit GPIO_PUPDR_MASK = 0x03