28#ifndef LIBBSP_ARM_STM32H7_STM32H7_HAL_H
29#define LIBBSP_ARM_STM32H7_STM32H7_HAL_H
41 STM32H7_MODULE_INVALID,
53 STM32H7_MODULE_USART1,
54 STM32H7_MODULE_USART2,
55 STM32H7_MODULE_USART3,
58 STM32H7_MODULE_USART6,
62 STM32H7_MODULE_USART10,
64 STM32H7_MODULE_ETH1MAC,
65 STM32H7_MODULE_ETH1TX,
66 STM32H7_MODULE_ETH1RX,
67 STM32H7_MODULE_USB1_OTG,
68 STM32H7_MODULE_USB1_OTG_ULPI,
69 STM32H7_MODULE_USB2_OTG,
70 STM32H7_MODULE_USB2_OTG_ULPI,
71 STM32H7_MODULE_SDMMC1,
72 STM32H7_MODULE_SDMMC2,
79} stm32h7_module_index;
81stm32h7_module_index stm32h7_get_module_index(
const void *regs);
83void stm32h7_clk_enable(stm32h7_module_index index);
85void stm32h7_clk_disable(stm32h7_module_index index);
87void stm32h7_clk_low_power_enable(stm32h7_module_index index);
89void stm32h7_clk_low_power_disable(stm32h7_module_index index);
101 uint8_t device_index;
162extern const uint32_t stm32h7_config_pwr_regulator_voltagescaling;
168extern const uint32_t stm32h7_config_flash_latency;
172#define STM32H7_NUM_SOFT_CS 4
187 uint32_t max_speed_hz;
196#ifdef STM32H7_SPI_USE_INTERRUPTS
Serial Peripheral Interface (SPI) Driver API.
#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
SPI handle Structure definition.
Definition: stm32h7xx_hal_spi.h:171
UART handle Structure definition.
Definition: stm32h7xx_hal_uart.h:224
Definition: deflate.c:114
This structure represents an interrupt entry.
Definition: intr.h:1070
Termios device context.
Definition: termiosdevice.h:68
SPI bus control.
Definition: spi.h:80