ICARUS OS (Intelligent Cooperative Architecture for Real-time Unified Systems) 0.1.0
Preemptive Real-Time Operating System for ARM Cortex-M7
Loading...
Searching...
No Matches
config.h File Reference
#include "stm32h7xx_hal.h"

Go to the source code of this file.

Macros

#define BSP_SYSCLK_FREQ   480000000UL
 System clock frequency in Hz (480 MHz)
 
#define BSP_HCLK_FREQ   240000000UL
 AHB clock frequency in Hz (240 MHz)
 
#define BSP_APB1_FREQ   120000000UL
 APB1 clock frequency in Hz (120 MHz)
 
#define BSP_APB2_FREQ   120000000UL
 APB2 clock frequency in Hz (120 MHz)
 
#define BSP_SYSTICK_FREQ   1000UL
 SysTick frequency in Hz (1000 = 1ms tick)
 
#define BSP_LED_PIN   GPIO_PIN_3
 
#define BSP_LED_PORT   GPIOE
 
#define BSP_LED_CLK_ENABLE()   __HAL_RCC_GPIOE_CLK_ENABLE()
 
#define BSP_KEY_PIN   GPIO_PIN_13
 
#define BSP_KEY_PORT   GPIOC
 
#define BSP_KEY_CLK_ENABLE()   __HAL_RCC_GPIOC_CLK_ENABLE()
 
#define BSP_LCD_CS_PIN   GPIO_PIN_11
 
#define BSP_LCD_CS_PORT   GPIOE
 
#define BSP_LCD_DC_PIN   GPIO_PIN_13
 
#define BSP_LCD_DC_PORT   GPIOE
 
#define BSP_LCD_SPI   SPI4
 
#define BSP_LCD_SPI_CLK_ENABLE()   __HAL_RCC_SPI4_CLK_ENABLE()
 
#define BSP_IMU_I2C   I2C2
 
#define BSP_IMU_I2C_CLK_ENABLE()   __HAL_RCC_I2C2_CLK_ENABLE()
 
#define BSP_IMU_I2C_ADDRESS   0x6B
 LSM9DS1 I2C address.
 
#define BSP_PWM_TIM   TIM1
 
#define BSP_PWM_TIM_CLK_ENABLE()   __HAL_RCC_TIM1_CLK_ENABLE()
 
#define E3_Pin   BSP_LED_PIN
 
#define E3_GPIO_Port   BSP_LED_PORT
 
#define KEY_Pin   BSP_KEY_PIN
 
#define KEY_GPIO_Port   BSP_KEY_PORT
 
#define LCD_CS_Pin   BSP_LCD_CS_PIN
 
#define LCD_CS_GPIO_Port   BSP_LCD_CS_PORT
 
#define LCD_WR_RS_Pin   BSP_LCD_DC_PIN
 
#define LCD_WR_RS_GPIO_Port   BSP_LCD_DC_PORT
 

Macro Definition Documentation

◆ E3_GPIO_Port

#define E3_GPIO_Port   BSP_LED_PORT

Definition at line 135 of file config.h.

◆ E3_Pin

#define E3_Pin   BSP_LED_PIN

Definition at line 134 of file config.h.

◆ KEY_GPIO_Port

#define KEY_GPIO_Port   BSP_KEY_PORT

Definition at line 137 of file config.h.

◆ KEY_Pin

#define KEY_Pin   BSP_KEY_PIN

Definition at line 136 of file config.h.

◆ LCD_CS_GPIO_Port

#define LCD_CS_GPIO_Port   BSP_LCD_CS_PORT

Definition at line 139 of file config.h.

◆ LCD_CS_Pin

#define LCD_CS_Pin   BSP_LCD_CS_PIN

Definition at line 138 of file config.h.

◆ LCD_WR_RS_GPIO_Port

#define LCD_WR_RS_GPIO_Port   BSP_LCD_DC_PORT

Definition at line 141 of file config.h.

◆ LCD_WR_RS_Pin

#define LCD_WR_RS_Pin   BSP_LCD_DC_PIN

Definition at line 140 of file config.h.