STM32F103xB HAL User Manual
|
HAL configuration template file. This file should be copied to the application folder and renamed to stm32f1xx_hal_conf.h. More...
#include "stm32f1xx_hal_rcc.h"
#include "stm32f1xx_hal_gpio.h"
#include "stm32f1xx_hal_exti.h"
#include "stm32f1xx_hal_dma.h"
#include "stm32f1xx_hal_eth.h"
#include "stm32f1xx_hal_can.h"
#include "stm32f1xx_hal_cec.h"
#include "stm32f1xx_hal_cortex.h"
#include "stm32f1xx_hal_adc.h"
#include "stm32f1xx_hal_crc.h"
#include "stm32f1xx_hal_dac.h"
#include "stm32f1xx_hal_flash.h"
#include "stm32f1xx_hal_sram.h"
#include "stm32f1xx_hal_nor.h"
#include "stm32f1xx_hal_i2c.h"
#include "stm32f1xx_hal_i2s.h"
#include "stm32f1xx_hal_iwdg.h"
#include "stm32f1xx_hal_pwr.h"
#include "stm32f1xx_hal_rtc.h"
#include "stm32f1xx_hal_pccard.h"
#include "stm32f1xx_hal_sd.h"
#include "stm32f1xx_hal_nand.h"
#include "stm32f1xx_hal_spi.h"
#include "stm32f1xx_hal_tim.h"
#include "stm32f1xx_hal_uart.h"
#include "stm32f1xx_hal_usart.h"
#include "stm32f1xx_hal_irda.h"
#include "stm32f1xx_hal_smartcard.h"
#include "stm32f1xx_hal_wwdg.h"
#include "stm32f1xx_hal_pcd.h"
#include "stm32f1xx_hal_hcd.h"
#include "stm32f1xx_hal_mmc.h"
Go to the source code of this file.
Defines | |
#define | HAL_MODULE_ENABLED |
This is the list of modules to be used in the HAL driver. | |
#define | HAL_ADC_MODULE_ENABLED |
#define | HAL_CAN_MODULE_ENABLED |
#define | HAL_CEC_MODULE_ENABLED |
#define | HAL_CORTEX_MODULE_ENABLED |
#define | HAL_CRC_MODULE_ENABLED |
#define | HAL_DAC_MODULE_ENABLED |
#define | HAL_DMA_MODULE_ENABLED |
#define | HAL_ETH_MODULE_ENABLED |
#define | HAL_EXTI_MODULE_ENABLED |
#define | HAL_FLASH_MODULE_ENABLED |
#define | HAL_GPIO_MODULE_ENABLED |
#define | HAL_HCD_MODULE_ENABLED |
#define | HAL_I2C_MODULE_ENABLED |
#define | HAL_I2S_MODULE_ENABLED |
#define | HAL_IRDA_MODULE_ENABLED |
#define | HAL_IWDG_MODULE_ENABLED |
#define | HAL_NAND_MODULE_ENABLED |
#define | HAL_NOR_MODULE_ENABLED |
#define | HAL_PCCARD_MODULE_ENABLED |
#define | HAL_PCD_MODULE_ENABLED |
#define | HAL_PWR_MODULE_ENABLED |
#define | HAL_RCC_MODULE_ENABLED |
#define | HAL_RTC_MODULE_ENABLED |
#define | HAL_SD_MODULE_ENABLED |
#define | HAL_SMARTCARD_MODULE_ENABLED |
#define | HAL_SPI_MODULE_ENABLED |
#define | HAL_SRAM_MODULE_ENABLED |
#define | HAL_TIM_MODULE_ENABLED |
#define | HAL_UART_MODULE_ENABLED |
#define | HAL_USART_MODULE_ENABLED |
#define | HAL_WWDG_MODULE_ENABLED |
#define | HAL_MMC_MODULE_ENABLED |
#define | HSE_VALUE 8000000U |
Adjust the value of External High Speed oscillator (HSE) used in your application. | |
#define | HSE_STARTUP_TIMEOUT 100U |
#define | HSI_VALUE 8000000U |
Internal High Speed oscillator (HSI) value. | |
#define | LSI_VALUE 40000U |
Internal Low Speed oscillator (LSI) value. | |
#define | LSE_VALUE 32768U |
External Low Speed oscillator (LSE) value. | |
#define | LSE_STARTUP_TIMEOUT 5000U |
#define | VDD_VALUE 3300U |
This is the HAL system configuration section. | |
#define | TICK_INT_PRIORITY 0x0FU |
#define | USE_RTOS 0U |
#define | PREFETCH_ENABLE 1U |
#define | USE_HAL_ADC_REGISTER_CALLBACKS 1U /* ADC register callback disabled */ |
#define | USE_HAL_CAN_REGISTER_CALLBACKS 1U /* CAN register callback disabled */ |
#define | USE_HAL_CEC_REGISTER_CALLBACKS 1U /* CEC register callback disabled */ |
#define | USE_HAL_DAC_REGISTER_CALLBACKS 1U /* DAC register callback disabled */ |
#define | USE_HAL_ETH_REGISTER_CALLBACKS 1U /* ETH register callback disabled */ |
#define | USE_HAL_HCD_REGISTER_CALLBACKS 1U /* HCD register callback disabled */ |
#define | USE_HAL_I2C_REGISTER_CALLBACKS 1U /* I2C register callback disabled */ |
#define | USE_HAL_I2S_REGISTER_CALLBACKS 1U /* I2S register callback disabled */ |
#define | USE_HAL_MMC_REGISTER_CALLBACKS 1U /* MMC register callback disabled */ |
#define | USE_HAL_NAND_REGISTER_CALLBACKS 1U /* NAND register callback disabled */ |
#define | USE_HAL_NOR_REGISTER_CALLBACKS 1U /* NOR register callback disabled */ |
#define | USE_HAL_PCCARD_REGISTER_CALLBACKS 1U /* PCCARD register callback disabled */ |
#define | USE_HAL_PCD_REGISTER_CALLBACKS 1U /* PCD register callback disabled */ |
#define | USE_HAL_RTC_REGISTER_CALLBACKS 1U /* RTC register callback disabled */ |
#define | USE_HAL_SD_REGISTER_CALLBACKS 1U /* SD register callback disabled */ |
#define | USE_HAL_SMARTCARD_REGISTER_CALLBACKS 1U /* SMARTCARD register callback disabled */ |
#define | USE_HAL_IRDA_REGISTER_CALLBACKS 1U /* IRDA register callback disabled */ |
#define | USE_HAL_SRAM_REGISTER_CALLBACKS 1U /* SRAM register callback disabled */ |
#define | USE_HAL_SPI_REGISTER_CALLBACKS 1U /* SPI register callback disabled */ |
#define | USE_HAL_TIM_REGISTER_CALLBACKS 1U /* TIM register callback disabled */ |
#define | USE_HAL_UART_REGISTER_CALLBACKS 1U /* UART register callback disabled */ |
#define | USE_HAL_USART_REGISTER_CALLBACKS 1U /* USART register callback disabled */ |
#define | USE_HAL_WWDG_REGISTER_CALLBACKS 1U /* WWDG register callback disabled */ |
#define | MAC_ADDR0 2U |
Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code. | |
#define | MAC_ADDR1 0U |
#define | MAC_ADDR2 0U |
#define | MAC_ADDR3 0U |
#define | MAC_ADDR4 0U |
#define | MAC_ADDR5 0U |
#define | ETH_RX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for receive */ |
#define | ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for transmit */ |
#define | ETH_RXBUFNB 8U /* 8 Rx buffers of size ETH_RX_BUF_SIZE */ |
#define | ETH_TXBUFNB 4U /* 4 Tx buffers of size ETH_TX_BUF_SIZE */ |
#define | DP83848_PHY_ADDRESS 0x01U |
#define | PHY_RESET_DELAY 0x000000FFU |
#define | PHY_CONFIG_DELAY 0x00000FFFU |
#define | PHY_READ_TO 0x0000FFFFU |
#define | PHY_WRITE_TO 0x0000FFFFU |
#define | PHY_BCR ((uint16_t)0x0000) |
#define | PHY_BSR ((uint16_t)0x0001) |
#define | PHY_RESET ((uint16_t)0x8000) |
#define | PHY_LOOPBACK ((uint16_t)0x4000) |
#define | PHY_FULLDUPLEX_100M ((uint16_t)0x2100) |
#define | PHY_HALFDUPLEX_100M ((uint16_t)0x2000) |
#define | PHY_FULLDUPLEX_10M ((uint16_t)0x0100) |
#define | PHY_HALFDUPLEX_10M ((uint16_t)0x0000) |
#define | PHY_AUTONEGOTIATION ((uint16_t)0x1000) |
#define | PHY_RESTART_AUTONEGOTIATION ((uint16_t)0x0200) |
#define | PHY_POWERDOWN ((uint16_t)0x0800) |
#define | PHY_ISOLATE ((uint16_t)0x0400) |
#define | PHY_AUTONEGO_COMPLETE ((uint16_t)0x0020) |
#define | PHY_LINKED_STATUS ((uint16_t)0x0004) |
#define | PHY_JABBER_DETECTION ((uint16_t)0x0002) |
#define | PHY_SR ((uint16_t)0x0010) |
#define | PHY_MICR ((uint16_t)0x0011) |
#define | PHY_MISR ((uint16_t)0x0012) |
#define | PHY_LINK_STATUS ((uint16_t)0x0001) |
#define | PHY_SPEED_STATUS ((uint16_t)0x0002) |
#define | PHY_DUPLEX_STATUS ((uint16_t)0x0004) |
#define | PHY_MICR_INT_EN ((uint16_t)0x0002) |
#define | PHY_MICR_INT_OE ((uint16_t)0x0001) |
#define | PHY_MISR_LINK_INT_EN ((uint16_t)0x0020) |
#define | PHY_LINK_INTERRUPT ((uint16_t)0x2000) |
#define | USE_SPI_CRC 1U |
#define | assert_param(expr) ((void)0U) |
Include module's header file. |
HAL configuration template file. This file should be copied to the application folder and renamed to stm32f1xx_hal_conf.h.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32f1xx_hal_conf.h.
#define assert_param | ( | expr | ) | ((void)0U) |
Include module's header file.
Definition at line 388 of file stm32f1xx_hal_conf.h.
Referenced by FLASH_MassErase(), FLASH_OB_DisableWRP(), FLASH_OB_EnableWRP(), FLASH_OB_ProgramData(), FLASH_OB_RDP_LevelConfig(), FLASH_OB_UserConfig(), HAL_ADC_AnalogWDGConfig(), HAL_ADC_ConfigChannel(), HAL_ADC_DeInit(), HAL_ADC_GetValue(), HAL_ADC_Init(), HAL_ADC_IRQHandler(), HAL_ADC_PollForConversion(), HAL_ADC_PollForEvent(), HAL_ADC_Start(), HAL_ADC_Start_DMA(), HAL_ADC_Start_IT(), HAL_ADC_Stop(), HAL_ADC_Stop_DMA(), HAL_ADC_Stop_IT(), HAL_ADCEx_Calibration_Start(), HAL_ADCEx_InjectedConfigChannel(), HAL_ADCEx_InjectedGetValue(), HAL_ADCEx_InjectedPollForConversion(), HAL_ADCEx_InjectedStart(), HAL_ADCEx_InjectedStart_IT(), HAL_ADCEx_InjectedStop(), HAL_ADCEx_InjectedStop_IT(), HAL_ADCEx_MultiModeConfigChannel(), HAL_ADCEx_MultiModeGetValue(), HAL_ADCEx_MultiModeStart_DMA(), HAL_ADCEx_MultiModeStop_DMA(), HAL_CAN_AbortTxRequest(), HAL_CAN_ActivateNotification(), HAL_CAN_AddTxMessage(), HAL_CAN_ConfigFilter(), HAL_CAN_DeactivateNotification(), HAL_CAN_DeInit(), HAL_CAN_GetRxFifoFillLevel(), HAL_CAN_GetRxMessage(), HAL_CAN_GetTxTimestamp(), HAL_CAN_Init(), HAL_CAN_IsTxMessagePending(), HAL_CRC_DeInit(), HAL_CRC_Init(), HAL_DMA_DeInit(), HAL_DMA_Init(), HAL_DMA_Start(), HAL_DMA_Start_IT(), HAL_EXTI_ClearConfigLine(), HAL_EXTI_ClearPending(), HAL_EXTI_GenerateSWI(), HAL_EXTI_GetConfigLine(), HAL_EXTI_GetHandle(), HAL_EXTI_GetPending(), HAL_EXTI_SetConfigLine(), HAL_FLASH_Program(), HAL_FLASH_Program_IT(), HAL_FLASHEx_Erase(), HAL_FLASHEx_Erase_IT(), HAL_FLASHEx_OBProgram(), HAL_GPIO_DeInit(), HAL_GPIO_Init(), HAL_GPIO_LockPin(), HAL_GPIO_ReadPin(), HAL_GPIO_TogglePin(), HAL_GPIO_WritePin(), HAL_GPIOEx_ConfigEventout(), HAL_HalfDuplex_Init(), HAL_I2C_DeInit(), HAL_I2C_Init(), HAL_I2C_Master_Seq_Receive_DMA(), HAL_I2C_Master_Seq_Receive_IT(), HAL_I2C_Master_Seq_Transmit_DMA(), HAL_I2C_Master_Seq_Transmit_IT(), HAL_I2C_Mem_Read(), HAL_I2C_Mem_Read_DMA(), HAL_I2C_Mem_Read_IT(), HAL_I2C_Mem_Write(), HAL_I2C_Mem_Write_DMA(), HAL_I2C_Mem_Write_IT(), HAL_I2C_Slave_Seq_Receive_DMA(), HAL_I2C_Slave_Seq_Receive_IT(), HAL_I2C_Slave_Seq_Transmit_DMA(), HAL_I2C_Slave_Seq_Transmit_IT(), HAL_IRDA_DeInit(), HAL_IRDA_Init(), HAL_IWDG_Init(), HAL_LIN_Init(), HAL_LIN_SendBreak(), HAL_MultiProcessor_EnterMuteMode(), HAL_MultiProcessor_ExitMuteMode(), HAL_MultiProcessor_Init(), HAL_NVIC_ClearPendingIRQ(), HAL_NVIC_DisableIRQ(), HAL_NVIC_EnableIRQ(), HAL_NVIC_GetActive(), HAL_NVIC_GetPendingIRQ(), HAL_NVIC_GetPriority(), HAL_NVIC_SetPendingIRQ(), HAL_NVIC_SetPriority(), HAL_NVIC_SetPriorityGrouping(), HAL_PCD_Init(), HAL_PWR_ConfigPVD(), HAL_PWR_DisableWakeUpPin(), HAL_PWR_EnableWakeUpPin(), HAL_PWR_EnterSLEEPMode(), HAL_PWR_EnterSTOPMode(), HAL_RCC_ClockConfig(), HAL_RCC_GetClockConfig(), HAL_RCC_GetOscConfig(), HAL_RCC_MCOConfig(), HAL_RCC_OscConfig(), HAL_RCCEx_GetPeriphCLKFreq(), HAL_RCCEx_PeriphCLKConfig(), HAL_RTC_DeactivateAlarm(), HAL_RTC_DeInit(), HAL_RTC_GetAlarm(), HAL_RTC_GetDate(), HAL_RTC_GetTime(), HAL_RTC_Init(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), HAL_RTC_SetDate(), HAL_RTC_SetTime(), HAL_RTCEx_BKUPRead(), HAL_RTCEx_BKUPWrite(), HAL_RTCEx_DeactivateTamper(), HAL_RTCEx_SetSmoothCalib(), HAL_RTCEx_SetTamper(), HAL_RTCEx_SetTamper_IT(), HAL_SetTickFreq(), HAL_SMARTCARD_DeInit(), HAL_SMARTCARD_Init(), HAL_SPI_DeInit(), HAL_SPI_Init(), HAL_SPI_Receive_DMA(), HAL_SPI_Transmit(), HAL_SPI_Transmit_DMA(), HAL_SPI_Transmit_IT(), HAL_SPI_TransmitReceive(), HAL_SPI_TransmitReceive_DMA(), HAL_SPI_TransmitReceive_IT(), HAL_SYSTICK_CLKSourceConfig(), HAL_TIM_Base_DeInit(), HAL_TIM_Base_Init(), HAL_TIM_Base_Start(), HAL_TIM_Base_Start_DMA(), HAL_TIM_Base_Start_IT(), HAL_TIM_Base_Stop(), HAL_TIM_Base_Stop_DMA(), HAL_TIM_Base_Stop_IT(), HAL_TIM_ConfigClockSource(), HAL_TIM_ConfigOCrefClear(), HAL_TIM_ConfigTI1Input(), HAL_TIM_DMABurst_MultiReadStart(), HAL_TIM_DMABurst_MultiWriteStart(), HAL_TIM_DMABurst_ReadStop(), HAL_TIM_DMABurst_WriteStop(), HAL_TIM_DMABurstState(), HAL_TIM_Encoder_DeInit(), HAL_TIM_Encoder_Init(), HAL_TIM_Encoder_Start(), HAL_TIM_Encoder_Start_DMA(), HAL_TIM_Encoder_Start_IT(), HAL_TIM_Encoder_Stop(), HAL_TIM_Encoder_Stop_DMA(), HAL_TIM_Encoder_Stop_IT(), HAL_TIM_GenerateEvent(), HAL_TIM_GetChannelState(), HAL_TIM_IC_ConfigChannel(), HAL_TIM_IC_DeInit(), HAL_TIM_IC_Init(), HAL_TIM_IC_Start(), HAL_TIM_IC_Start_DMA(), HAL_TIM_IC_Start_IT(), HAL_TIM_IC_Stop(), HAL_TIM_IC_Stop_DMA(), HAL_TIM_IC_Stop_IT(), HAL_TIM_OC_ConfigChannel(), HAL_TIM_OC_DeInit(), HAL_TIM_OC_Init(), HAL_TIM_OC_Start(), HAL_TIM_OC_Start_DMA(), HAL_TIM_OC_Start_IT(), HAL_TIM_OC_Stop(), HAL_TIM_OC_Stop_DMA(), HAL_TIM_OC_Stop_IT(), HAL_TIM_OnePulse_ConfigChannel(), HAL_TIM_OnePulse_DeInit(), HAL_TIM_OnePulse_Init(), HAL_TIM_PWM_ConfigChannel(), HAL_TIM_PWM_DeInit(), HAL_TIM_PWM_Init(), HAL_TIM_PWM_Start(), HAL_TIM_PWM_Start_DMA(), HAL_TIM_PWM_Start_IT(), HAL_TIM_PWM_Stop(), HAL_TIM_PWM_Stop_DMA(), HAL_TIM_PWM_Stop_IT(), HAL_TIM_ReadCapturedValue(), HAL_TIM_SlaveConfigSynchro(), HAL_TIM_SlaveConfigSynchro_IT(), HAL_TIMEx_ConfigBreakDeadTime(), HAL_TIMEx_ConfigCommutEvent(), HAL_TIMEx_ConfigCommutEvent_DMA(), HAL_TIMEx_ConfigCommutEvent_IT(), HAL_TIMEx_GetChannelNState(), HAL_TIMEx_HallSensor_DeInit(), HAL_TIMEx_HallSensor_Init(), HAL_TIMEx_HallSensor_Start(), HAL_TIMEx_HallSensor_Start_DMA(), HAL_TIMEx_HallSensor_Start_IT(), HAL_TIMEx_HallSensor_Stop(), HAL_TIMEx_HallSensor_Stop_DMA(), HAL_TIMEx_HallSensor_Stop_IT(), HAL_TIMEx_MasterConfigSynchronization(), HAL_TIMEx_OCN_Start(), HAL_TIMEx_OCN_Start_DMA(), HAL_TIMEx_OCN_Start_IT(), HAL_TIMEx_OCN_Stop(), HAL_TIMEx_OCN_Stop_DMA(), HAL_TIMEx_OCN_Stop_IT(), HAL_TIMEx_OnePulseN_Start(), HAL_TIMEx_OnePulseN_Start_IT(), HAL_TIMEx_OnePulseN_Stop(), HAL_TIMEx_OnePulseN_Stop_IT(), HAL_TIMEx_PWMN_Start(), HAL_TIMEx_PWMN_Start_DMA(), HAL_TIMEx_PWMN_Start_IT(), HAL_TIMEx_PWMN_Stop(), HAL_TIMEx_PWMN_Stop_DMA(), HAL_TIMEx_PWMN_Stop_IT(), HAL_UART_DeInit(), HAL_UART_Init(), HAL_USART_DeInit(), HAL_USART_Init(), HAL_WWDG_Init(), IRDA_SetConfig(), SMARTCARD_SetConfig(), TIM_CCxChannelCmd(), TIM_OC1_SetConfig(), TIM_OC2_SetConfig(), TIM_OC3_SetConfig(), TIM_OC4_SetConfig(), TIM_SlaveTimer_SetConfig(), UART_SetConfig(), and USART_SetConfig().
#define DP83848_PHY_ADDRESS 0x01U |
Definition at line 183 of file stm32f1xx_hal_conf.h.
#define ETH_RX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for receive */ |
Definition at line 175 of file stm32f1xx_hal_conf.h.
#define ETH_RXBUFNB 8U /* 8 Rx buffers of size ETH_RX_BUF_SIZE */ |
Definition at line 177 of file stm32f1xx_hal_conf.h.
#define ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for transmit */ |
Definition at line 176 of file stm32f1xx_hal_conf.h.
#define ETH_TXBUFNB 4U /* 4 Tx buffers of size ETH_TX_BUF_SIZE */ |
Definition at line 178 of file stm32f1xx_hal_conf.h.
#define HAL_ADC_MODULE_ENABLED |
Definition at line 38 of file stm32f1xx_hal_conf.h.
#define HAL_CAN_MODULE_ENABLED |
Definition at line 39 of file stm32f1xx_hal_conf.h.
#define HAL_CEC_MODULE_ENABLED |
Definition at line 41 of file stm32f1xx_hal_conf.h.
#define HAL_CORTEX_MODULE_ENABLED |
Definition at line 42 of file stm32f1xx_hal_conf.h.
#define HAL_CRC_MODULE_ENABLED |
Definition at line 43 of file stm32f1xx_hal_conf.h.
#define HAL_DAC_MODULE_ENABLED |
Definition at line 44 of file stm32f1xx_hal_conf.h.
#define HAL_DMA_MODULE_ENABLED |
Definition at line 45 of file stm32f1xx_hal_conf.h.
#define HAL_ETH_MODULE_ENABLED |
Definition at line 46 of file stm32f1xx_hal_conf.h.
#define HAL_EXTI_MODULE_ENABLED |
Definition at line 47 of file stm32f1xx_hal_conf.h.
#define HAL_FLASH_MODULE_ENABLED |
Definition at line 48 of file stm32f1xx_hal_conf.h.
#define HAL_GPIO_MODULE_ENABLED |
Definition at line 49 of file stm32f1xx_hal_conf.h.
#define HAL_HCD_MODULE_ENABLED |
Definition at line 50 of file stm32f1xx_hal_conf.h.
#define HAL_I2C_MODULE_ENABLED |
Definition at line 51 of file stm32f1xx_hal_conf.h.
#define HAL_I2S_MODULE_ENABLED |
Definition at line 52 of file stm32f1xx_hal_conf.h.
#define HAL_IRDA_MODULE_ENABLED |
Definition at line 53 of file stm32f1xx_hal_conf.h.
#define HAL_IWDG_MODULE_ENABLED |
Definition at line 54 of file stm32f1xx_hal_conf.h.
#define HAL_MMC_MODULE_ENABLED |
Definition at line 70 of file stm32f1xx_hal_conf.h.
#define HAL_MODULE_ENABLED |
This is the list of modules to be used in the HAL driver.
Definition at line 37 of file stm32f1xx_hal_conf.h.
#define HAL_NAND_MODULE_ENABLED |
Definition at line 55 of file stm32f1xx_hal_conf.h.
#define HAL_NOR_MODULE_ENABLED |
Definition at line 56 of file stm32f1xx_hal_conf.h.
#define HAL_PCCARD_MODULE_ENABLED |
Definition at line 57 of file stm32f1xx_hal_conf.h.
#define HAL_PCD_MODULE_ENABLED |
Definition at line 58 of file stm32f1xx_hal_conf.h.
#define HAL_PWR_MODULE_ENABLED |
Definition at line 59 of file stm32f1xx_hal_conf.h.
#define HAL_RCC_MODULE_ENABLED |
Definition at line 60 of file stm32f1xx_hal_conf.h.
#define HAL_RTC_MODULE_ENABLED |
Definition at line 61 of file stm32f1xx_hal_conf.h.
#define HAL_SD_MODULE_ENABLED |
Definition at line 62 of file stm32f1xx_hal_conf.h.
#define HAL_SMARTCARD_MODULE_ENABLED |
Definition at line 63 of file stm32f1xx_hal_conf.h.
#define HAL_SPI_MODULE_ENABLED |
Definition at line 64 of file stm32f1xx_hal_conf.h.
#define HAL_SRAM_MODULE_ENABLED |
Definition at line 65 of file stm32f1xx_hal_conf.h.
#define HAL_TIM_MODULE_ENABLED |
Definition at line 66 of file stm32f1xx_hal_conf.h.
#define HAL_UART_MODULE_ENABLED |
Definition at line 67 of file stm32f1xx_hal_conf.h.
#define HAL_USART_MODULE_ENABLED |
Definition at line 68 of file stm32f1xx_hal_conf.h.
#define HAL_WWDG_MODULE_ENABLED |
Definition at line 69 of file stm32f1xx_hal_conf.h.
#define HSE_STARTUP_TIMEOUT 100U |
Time out for HSE start up, in ms
Definition at line 87 of file stm32f1xx_hal_conf.h.
#define HSE_VALUE 8000000U |
Adjust the value of External High Speed oscillator (HSE) used in your application.
This value is used by the RCC HAL module to compute the system frequency (when HSE is used as system clock source, directly or through the PLL). Value of the External oscillator in Hz
Definition at line 82 of file stm32f1xx_hal_conf.h.
Referenced by HAL_RCC_GetSysClockFreq(), HAL_RCCEx_GetPeriphCLKFreq(), RCC_GetSystemClockFreq(), and RCC_PLL_GetFreqDomain_SYS().
#define HSI_VALUE 8000000U |
Internal High Speed oscillator (HSI) value.
This value is used by the RCC HAL module to compute the system frequency (when HSI is used as system clock source, directly or through the PLL). Value of the Internal oscillator in Hz
Definition at line 96 of file stm32f1xx_hal_conf.h.
Referenced by HAL_RCC_DeInit(), HAL_RCC_GetSysClockFreq(), HAL_RCCEx_GetPeriphCLKFreq(), LL_PLL_ConfigSystemClock_HSI(), RCC_GetSystemClockFreq(), and RCC_PLL_GetFreqDomain_SYS().
#define LSE_STARTUP_TIMEOUT 5000U |
Time out for LSE start up, in ms
Definition at line 116 of file stm32f1xx_hal_conf.h.
#define LSE_VALUE 32768U |
External Low Speed oscillator (LSE) value.
< Value of the Internal Low Speed oscillator in Hz The real value may vary depending on the variations in voltage and temperature. This value is used by the UART, RTC HAL module to compute the system frequency Value of the External Low Speed oscillator in Hz
Definition at line 112 of file stm32f1xx_hal_conf.h.
Referenced by HAL_RCCEx_GetPeriphCLKFreq().
#define LSI_VALUE 40000U |
Internal Low Speed oscillator (LSI) value.
LSI Typical Value in Hz
Definition at line 103 of file stm32f1xx_hal_conf.h.
Referenced by HAL_RCCEx_GetPeriphCLKFreq().
#define MAC_ADDR0 2U |
Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code.
Definition at line 167 of file stm32f1xx_hal_conf.h.
#define MAC_ADDR1 0U |
Definition at line 168 of file stm32f1xx_hal_conf.h.
#define MAC_ADDR2 0U |
Definition at line 169 of file stm32f1xx_hal_conf.h.
#define MAC_ADDR3 0U |
Definition at line 170 of file stm32f1xx_hal_conf.h.
#define MAC_ADDR4 0U |
Definition at line 171 of file stm32f1xx_hal_conf.h.
#define MAC_ADDR5 0U |
Definition at line 172 of file stm32f1xx_hal_conf.h.
#define PHY_AUTONEGO_COMPLETE ((uint16_t)0x0020) |
Auto-Negotiation process completed
Definition at line 208 of file stm32f1xx_hal_conf.h.
#define PHY_AUTONEGOTIATION ((uint16_t)0x1000) |
Enable auto-negotiation function
Definition at line 203 of file stm32f1xx_hal_conf.h.
#define PHY_BCR ((uint16_t)0x0000) |
Transceiver Basic Control Register
Definition at line 194 of file stm32f1xx_hal_conf.h.
#define PHY_BSR ((uint16_t)0x0001) |
Transceiver Basic Status Register
Definition at line 195 of file stm32f1xx_hal_conf.h.
#define PHY_CONFIG_DELAY 0x00000FFFU |
Definition at line 187 of file stm32f1xx_hal_conf.h.
#define PHY_DUPLEX_STATUS ((uint16_t)0x0004) |
PHY Duplex mask
Definition at line 220 of file stm32f1xx_hal_conf.h.
#define PHY_FULLDUPLEX_100M ((uint16_t)0x2100) |
Set the full-duplex mode at 100 Mb/s
Definition at line 199 of file stm32f1xx_hal_conf.h.
#define PHY_FULLDUPLEX_10M ((uint16_t)0x0100) |
Set the full-duplex mode at 10 Mb/s
Definition at line 201 of file stm32f1xx_hal_conf.h.
#define PHY_HALFDUPLEX_100M ((uint16_t)0x2000) |
Set the half-duplex mode at 100 Mb/s
Definition at line 200 of file stm32f1xx_hal_conf.h.
#define PHY_HALFDUPLEX_10M ((uint16_t)0x0000) |
Set the half-duplex mode at 10 Mb/s
Definition at line 202 of file stm32f1xx_hal_conf.h.
#define PHY_ISOLATE ((uint16_t)0x0400) |
Isolate PHY from MII
Definition at line 206 of file stm32f1xx_hal_conf.h.
#define PHY_JABBER_DETECTION ((uint16_t)0x0002) |
Jabber condition detected
Definition at line 210 of file stm32f1xx_hal_conf.h.
#define PHY_LINK_INTERRUPT ((uint16_t)0x2000) |
PHY link status interrupt mask
Definition at line 226 of file stm32f1xx_hal_conf.h.
#define PHY_LINK_STATUS ((uint16_t)0x0001) |
PHY Link mask
Definition at line 218 of file stm32f1xx_hal_conf.h.
#define PHY_LINKED_STATUS ((uint16_t)0x0004) |
Valid link established
Definition at line 209 of file stm32f1xx_hal_conf.h.
#define PHY_LOOPBACK ((uint16_t)0x4000) |
Select loop-back mode
Definition at line 198 of file stm32f1xx_hal_conf.h.
#define PHY_MICR ((uint16_t)0x0011) |
MII Interrupt Control Register
Definition at line 215 of file stm32f1xx_hal_conf.h.
#define PHY_MICR_INT_EN ((uint16_t)0x0002) |
PHY Enable interrupts
Definition at line 222 of file stm32f1xx_hal_conf.h.
#define PHY_MICR_INT_OE ((uint16_t)0x0001) |
PHY Enable output interrupt events
Definition at line 223 of file stm32f1xx_hal_conf.h.
#define PHY_MISR ((uint16_t)0x0012) |
MII Interrupt Status and Misc. Control Register
Definition at line 216 of file stm32f1xx_hal_conf.h.
#define PHY_MISR_LINK_INT_EN ((uint16_t)0x0020) |
Enable Interrupt on change of link status
Definition at line 225 of file stm32f1xx_hal_conf.h.
#define PHY_POWERDOWN ((uint16_t)0x0800) |
Select the power down mode
Definition at line 205 of file stm32f1xx_hal_conf.h.
#define PHY_READ_TO 0x0000FFFFU |
Definition at line 189 of file stm32f1xx_hal_conf.h.
#define PHY_RESET ((uint16_t)0x8000) |
PHY Reset
Definition at line 197 of file stm32f1xx_hal_conf.h.
#define PHY_RESET_DELAY 0x000000FFU |
Definition at line 185 of file stm32f1xx_hal_conf.h.
#define PHY_RESTART_AUTONEGOTIATION ((uint16_t)0x0200) |
Restart auto-negotiation function
Definition at line 204 of file stm32f1xx_hal_conf.h.
#define PHY_SPEED_STATUS ((uint16_t)0x0002) |
PHY Speed mask
Definition at line 219 of file stm32f1xx_hal_conf.h.
#define PHY_SR ((uint16_t)0x0010) |
PHY status register Offset
Definition at line 214 of file stm32f1xx_hal_conf.h.
#define PHY_WRITE_TO 0x0000FFFFU |
Definition at line 190 of file stm32f1xx_hal_conf.h.
#define PREFETCH_ENABLE 1U |
Definition at line 129 of file stm32f1xx_hal_conf.h.
#define TICK_INT_PRIORITY 0x0FU |
tick interrupt priority
Definition at line 127 of file stm32f1xx_hal_conf.h.
Referenced by HAL_Init().
#define USE_HAL_ADC_REGISTER_CALLBACKS 1U /* ADC register callback disabled */ |
Definition at line 131 of file stm32f1xx_hal_conf.h.
#define USE_HAL_CAN_REGISTER_CALLBACKS 1U /* CAN register callback disabled */ |
Definition at line 132 of file stm32f1xx_hal_conf.h.
#define USE_HAL_CEC_REGISTER_CALLBACKS 1U /* CEC register callback disabled */ |
Definition at line 133 of file stm32f1xx_hal_conf.h.
#define USE_HAL_DAC_REGISTER_CALLBACKS 1U /* DAC register callback disabled */ |
Definition at line 134 of file stm32f1xx_hal_conf.h.
#define USE_HAL_ETH_REGISTER_CALLBACKS 1U /* ETH register callback disabled */ |
Definition at line 135 of file stm32f1xx_hal_conf.h.
#define USE_HAL_HCD_REGISTER_CALLBACKS 1U /* HCD register callback disabled */ |
Definition at line 136 of file stm32f1xx_hal_conf.h.
#define USE_HAL_I2C_REGISTER_CALLBACKS 1U /* I2C register callback disabled */ |
Definition at line 137 of file stm32f1xx_hal_conf.h.
Referenced by I2C_MasterReceive_RXNE().
#define USE_HAL_I2S_REGISTER_CALLBACKS 1U /* I2S register callback disabled */ |
Definition at line 138 of file stm32f1xx_hal_conf.h.
#define USE_HAL_IRDA_REGISTER_CALLBACKS 1U /* IRDA register callback disabled */ |
Definition at line 147 of file stm32f1xx_hal_conf.h.
#define USE_HAL_MMC_REGISTER_CALLBACKS 1U /* MMC register callback disabled */ |
Definition at line 139 of file stm32f1xx_hal_conf.h.
#define USE_HAL_NAND_REGISTER_CALLBACKS 1U /* NAND register callback disabled */ |
Definition at line 140 of file stm32f1xx_hal_conf.h.
#define USE_HAL_NOR_REGISTER_CALLBACKS 1U /* NOR register callback disabled */ |
Definition at line 141 of file stm32f1xx_hal_conf.h.
#define USE_HAL_PCCARD_REGISTER_CALLBACKS 1U /* PCCARD register callback disabled */ |
Definition at line 142 of file stm32f1xx_hal_conf.h.
#define USE_HAL_PCD_REGISTER_CALLBACKS 1U /* PCD register callback disabled */ |
Definition at line 143 of file stm32f1xx_hal_conf.h.
#define USE_HAL_RTC_REGISTER_CALLBACKS 1U /* RTC register callback disabled */ |
Definition at line 144 of file stm32f1xx_hal_conf.h.
#define USE_HAL_SD_REGISTER_CALLBACKS 1U /* SD register callback disabled */ |
Definition at line 145 of file stm32f1xx_hal_conf.h.
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 1U /* SMARTCARD register callback disabled */ |
Definition at line 146 of file stm32f1xx_hal_conf.h.
#define USE_HAL_SPI_REGISTER_CALLBACKS 1U /* SPI register callback disabled */ |
Definition at line 149 of file stm32f1xx_hal_conf.h.
#define USE_HAL_SRAM_REGISTER_CALLBACKS 1U /* SRAM register callback disabled */ |
Definition at line 148 of file stm32f1xx_hal_conf.h.
#define USE_HAL_TIM_REGISTER_CALLBACKS 1U /* TIM register callback disabled */ |
Definition at line 150 of file stm32f1xx_hal_conf.h.
#define USE_HAL_UART_REGISTER_CALLBACKS 1U /* UART register callback disabled */ |
Definition at line 151 of file stm32f1xx_hal_conf.h.
#define USE_HAL_USART_REGISTER_CALLBACKS 1U /* USART register callback disabled */ |
Definition at line 152 of file stm32f1xx_hal_conf.h.
#define USE_HAL_WWDG_REGISTER_CALLBACKS 1U /* WWDG register callback disabled */ |
Definition at line 153 of file stm32f1xx_hal_conf.h.
#define USE_RTOS 0U |
Definition at line 128 of file stm32f1xx_hal_conf.h.
#define USE_SPI_CRC 1U |
Definition at line 235 of file stm32f1xx_hal_conf.h.
#define VDD_VALUE 3300U |
This is the HAL system configuration section.
Value of VDD in mv
Definition at line 126 of file stm32f1xx_hal_conf.h.