28#ifndef LIBBSP_ARM_STM32H7_STM32H7_HAL_H
29#define LIBBSP_ARM_STM32H7_STM32H7_HAL_H
40 STM32H7_MODULE_INVALID,
52 STM32H7_MODULE_USART1,
53 STM32H7_MODULE_USART2,
54 STM32H7_MODULE_USART3,
57 STM32H7_MODULE_USART6,
61 STM32H7_MODULE_USART10,
63 STM32H7_MODULE_ETH1MAC,
64 STM32H7_MODULE_ETH1TX,
65 STM32H7_MODULE_ETH1RX,
66 STM32H7_MODULE_USB1_OTG,
67 STM32H7_MODULE_USB1_OTG_ULPI,
68 STM32H7_MODULE_USB2_OTG,
69 STM32H7_MODULE_USB2_OTG_ULPI,
70 STM32H7_MODULE_SDMMC1,
71 STM32H7_MODULE_SDMMC2,
72} stm32h7_module_index;
74stm32h7_module_index stm32h7_get_module_index(
const void *regs);
76void stm32h7_clk_enable(stm32h7_module_index index);
78void stm32h7_clk_disable(stm32h7_module_index index);
80void stm32h7_clk_low_power_enable(stm32h7_module_index index);
82void stm32h7_clk_low_power_disable(stm32h7_module_index index);
155extern const uint32_t stm32h7_config_pwr_regulator_voltagescaling;
161extern const uint32_t stm32h7_config_flash_latency;
#define RTEMS_CONTAINER_OF(_m, _type, _member_name)
Gets the container of a member.
Definition: basedefs.h:306
ISR_Vector_number rtems_vector_number
This integer type represents interrupt vector numbers.
Definition: intr.h:102
This file contains all the functions prototypes for the HAL module driver.
GPIO Init structure definition.
Definition: stm32h7xx_hal_gpio.h:48
General Purpose I/O.
Definition: stm32h723xx.h:1066
RCC System, AHB and APB busses clock configuration structure definition.
Definition: stm32h7xx_hal_rcc.h:124
RCC Internal/External Oscillator (HSE, HSI, CSI, LSE and LSI) configuration structure definition.
Definition: stm32h7xx_hal_rcc.h:86
RCC extended clocks structure definition.
Definition: stm32h7xx_hal_rcc_ex.h:142
UART handle Structure definition.
Definition: stm32h7xx_hal_uart.h:224
Definition: deflate.c:114
Termios device context.
Definition: termiosdevice.h:68