![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
#include "stm32f7xx_hal_rcc.h"
#include "stm32f7xx_hal_gpio.h"
#include "stm32f7xx_hal_dma.h"
#include "stm32f7xx_hal_cortex.h"
#include "stm32f7xx_hal_adc.h"
#include "stm32f7xx_hal_dma2d.h"
#include "stm32f7xx_hal_flash.h"
#include "stm32f7xx_hal_sram.h"
#include "stm32f7xx_hal_sdram.h"
#include "stm32f7xx_hal_i2c.h"
#include "stm32f7xx_hal_ltdc.h"
#include "stm32f7xx_hal_pwr.h"
#include "stm32f7xx_hal_uart.h"
#include "stm32f7xx_hal_dsi.h"
Go to the source code of this file.
Macros | |
#define | HAL_MODULE_ENABLED |
This is the list of modules to be used in the HAL driver. More... | |
#define | HAL_ADC_MODULE_ENABLED |
#define | HAL_DMA_MODULE_ENABLED |
#define | HAL_DMA2D_MODULE_ENABLED |
#define | HAL_FLASH_MODULE_ENABLED |
#define | HAL_SRAM_MODULE_ENABLED |
#define | HAL_SDRAM_MODULE_ENABLED |
#define | HAL_GPIO_MODULE_ENABLED |
#define | HAL_I2C_MODULE_ENABLED |
#define | HAL_LTDC_MODULE_ENABLED |
#define | HAL_PWR_MODULE_ENABLED |
#define | HAL_RCC_MODULE_ENABLED |
#define | HAL_UART_MODULE_ENABLED |
#define | HAL_CORTEX_MODULE_ENABLED |
#define | HAL_DSI_MODULE_ENABLED |
#define | HSE_VALUE ((uint32_t)25000000U) |
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). More... | |
#define | HSE_STARTUP_TIMEOUT ((uint32_t)100U) |
#define | HSI_VALUE ((uint32_t)16000000U) |
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). More... | |
#define | LSI_VALUE ((uint32_t)32000U) |
Internal Low Speed oscillator (LSI) value. More... | |
#define | LSE_VALUE ((uint32_t)32768U) |
External Low Speed oscillator (LSE) value. More... | |
#define | LSE_STARTUP_TIMEOUT ((uint32_t)5000U) |
#define | EXTERNAL_CLOCK_VALUE ((uint32_t)12288000U) |
External clock source for I2S peripheral This value is used by the I2S HAL module to compute the I2S clock source frequency, this source is inserted directly through I2S_CKIN pad. More... | |
#define | VDD_VALUE ((uint32_t)3300U) |
This is the HAL system configuration section. More... | |
#define | TICK_INT_PRIORITY ((uint32_t)0x0FU) |
#define | USE_RTOS 0U |
#define | PREFETCH_ENABLE 1U |
#define | ART_ACCLERATOR_ENABLE 1U /* To enable instruction cache and prefetch */ |
#define | MAC_ADDR0 2U |
Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code. More... | |
#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 ((uint32_t)4U) /* 4 Rx buffers of size ETH_RX_BUF_SIZE */ |
#define | ETH_TXBUFNB ((uint32_t)4U) /* 4 Tx buffers of size ETH_TX_BUF_SIZE */ |
#define | DP83848_PHY_ADDRESS 0x01U |
#define | PHY_RESET_DELAY ((uint32_t)0x000000FFU) |
#define | PHY_CONFIG_DELAY ((uint32_t)0x00000FFFU) |
#define | PHY_READ_TO ((uint32_t)0x0000FFFFU) |
#define | PHY_WRITE_TO ((uint32_t)0x0000FFFFU) |
#define | PHY_BCR ((uint16_t)0x00U) |
#define | PHY_BSR ((uint16_t)0x01U) |
#define | PHY_RESET ((uint16_t)0x8000U) |
#define | PHY_LOOPBACK ((uint16_t)0x4000U) |
#define | PHY_FULLDUPLEX_100M ((uint16_t)0x2100U) |
#define | PHY_HALFDUPLEX_100M ((uint16_t)0x2000U) |
#define | PHY_FULLDUPLEX_10M ((uint16_t)0x0100U) |
#define | PHY_HALFDUPLEX_10M ((uint16_t)0x0000U) |
#define | PHY_AUTONEGOTIATION ((uint16_t)0x1000U) |
#define | PHY_RESTART_AUTONEGOTIATION ((uint16_t)0x0200U) |
#define | PHY_POWERDOWN ((uint16_t)0x0800U) |
#define | PHY_ISOLATE ((uint16_t)0x0400U) |
#define | PHY_AUTONEGO_COMPLETE ((uint16_t)0x0020U) |
#define | PHY_LINKED_STATUS ((uint16_t)0x0004U) |
#define | PHY_JABBER_DETECTION ((uint16_t)0x0002U) |
#define | PHY_SR ((uint16_t)0x10U) |
#define | PHY_MICR ((uint16_t)0x11U) |
#define | PHY_MISR ((uint16_t)0x12U) |
#define | PHY_LINK_STATUS ((uint16_t)0x0001U) |
#define | PHY_SPEED_STATUS ((uint16_t)0x0002U) |
#define | PHY_DUPLEX_STATUS ((uint16_t)0x0004U) |
#define | PHY_MICR_INT_EN ((uint16_t)0x0002U) |
#define | PHY_MICR_INT_OE ((uint16_t)0x0001U) |
#define | PHY_MISR_LINK_INT_EN ((uint16_t)0x0020U) |
#define | PHY_LINK_INTERRUPT ((uint16_t)0x2000U) |
#define | USE_SPI_CRC 1U |
#define | assert_param(expr) ((void)0) |
Include module's header file. More... | |
#define ART_ACCLERATOR_ENABLE 1U /* To enable instruction cache and prefetch */ |
Definition at line 162 of file stm32f7xx_hal_conf_xxx.h.
#define assert_param | ( | expr | ) | ((void)0) |
Include module's header file.
Definition at line 441 of file stm32f7xx_hal_conf_xxx.h.
#define DP83848_PHY_ADDRESS 0x01U |
Definition at line 192 of file stm32f7xx_hal_conf_xxx.h.
#define ETH_RX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for receive */ |
Definition at line 184 of file stm32f7xx_hal_conf_xxx.h.
#define ETH_RXBUFNB ((uint32_t)4U) /* 4 Rx buffers of size ETH_RX_BUF_SIZE */ |
Definition at line 186 of file stm32f7xx_hal_conf_xxx.h.
#define ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for transmit */ |
Definition at line 185 of file stm32f7xx_hal_conf_xxx.h.
#define ETH_TXBUFNB ((uint32_t)4U) /* 4 Tx buffers of size ETH_TX_BUF_SIZE */ |
Definition at line 187 of file stm32f7xx_hal_conf_xxx.h.
#define EXTERNAL_CLOCK_VALUE ((uint32_t)12288000U) |
External clock source for I2S peripheral This value is used by the I2S HAL module to compute the I2S clock source frequency, this source is inserted directly through I2S_CKIN pad.
Value of the Internal oscillator in Hz
Definition at line 148 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_ADC_MODULE_ENABLED |
Definition at line 54 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_CORTEX_MODULE_ENABLED |
Definition at line 91 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_DMA2D_MODULE_ENABLED |
Definition at line 62 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_DMA_MODULE_ENABLED |
Definition at line 61 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_DSI_MODULE_ENABLED |
Definition at line 95 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_FLASH_MODULE_ENABLED |
Definition at line 64 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_GPIO_MODULE_ENABLED |
Definition at line 70 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_I2C_MODULE_ENABLED |
Definition at line 71 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_LTDC_MODULE_ENABLED |
Definition at line 75 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_MODULE_ENABLED |
This is the list of modules to be used in the HAL driver.
Definition at line 53 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_PWR_MODULE_ENABLED |
Definition at line 76 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_RCC_MODULE_ENABLED |
Definition at line 78 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_SDRAM_MODULE_ENABLED |
Definition at line 68 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_SRAM_MODULE_ENABLED |
Definition at line 67 of file stm32f7xx_hal_conf_xxx.h.
#define HAL_UART_MODULE_ENABLED |
Definition at line 86 of file stm32f7xx_hal_conf_xxx.h.
#define HSE_STARTUP_TIMEOUT ((uint32_t)100U) |
Time out for HSE start up, in ms
Definition at line 111 of file stm32f7xx_hal_conf_xxx.h.
#define HSE_VALUE ((uint32_t)25000000U) |
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 107 of file stm32f7xx_hal_conf_xxx.h.
#define HSI_VALUE ((uint32_t)16000000U) |
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 120 of file stm32f7xx_hal_conf_xxx.h.
#define LSE_STARTUP_TIMEOUT ((uint32_t)5000U) |
Time out for LSE start up, in ms
Definition at line 139 of file stm32f7xx_hal_conf_xxx.h.
#define LSE_VALUE ((uint32_t)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. Value of the External Low Speed oscillator in Hz
Definition at line 135 of file stm32f7xx_hal_conf_xxx.h.
#define LSI_VALUE ((uint32_t)32000U) |
Internal Low Speed oscillator (LSI) value.
LSI Typical Value in Hz
Definition at line 127 of file stm32f7xx_hal_conf_xxx.h.
#define MAC_ADDR0 2U |
Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code.
Definition at line 176 of file stm32f7xx_hal_conf_xxx.h.
#define MAC_ADDR1 0U |
Definition at line 177 of file stm32f7xx_hal_conf_xxx.h.
#define MAC_ADDR2 0U |
Definition at line 178 of file stm32f7xx_hal_conf_xxx.h.
#define MAC_ADDR3 0U |
Definition at line 179 of file stm32f7xx_hal_conf_xxx.h.
#define MAC_ADDR4 0U |
Definition at line 180 of file stm32f7xx_hal_conf_xxx.h.
#define MAC_ADDR5 0U |
Definition at line 181 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_AUTONEGO_COMPLETE ((uint16_t)0x0020U) |
Auto-Negotiation process completed
Definition at line 217 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_AUTONEGOTIATION ((uint16_t)0x1000U) |
Enable auto-negotiation function
Definition at line 212 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_BCR ((uint16_t)0x00U) |
Transceiver Basic Control Register
Definition at line 203 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_BSR ((uint16_t)0x01U) |
Transceiver Basic Status Register
Definition at line 204 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_CONFIG_DELAY ((uint32_t)0x00000FFFU) |
Definition at line 196 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_DUPLEX_STATUS ((uint16_t)0x0004U) |
PHY Duplex mask
Definition at line 229 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_FULLDUPLEX_100M ((uint16_t)0x2100U) |
Set the full-duplex mode at 100 Mb/s
Definition at line 208 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_FULLDUPLEX_10M ((uint16_t)0x0100U) |
Set the full-duplex mode at 10 Mb/s
Definition at line 210 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_HALFDUPLEX_100M ((uint16_t)0x2000U) |
Set the half-duplex mode at 100 Mb/s
Definition at line 209 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_HALFDUPLEX_10M ((uint16_t)0x0000U) |
Set the half-duplex mode at 10 Mb/s
Definition at line 211 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_ISOLATE ((uint16_t)0x0400U) |
Isolate PHY from MII
Definition at line 215 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_JABBER_DETECTION ((uint16_t)0x0002U) |
Jabber condition detected
Definition at line 219 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_LINK_INTERRUPT ((uint16_t)0x2000U) |
PHY link status interrupt mask
Definition at line 235 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_LINK_STATUS ((uint16_t)0x0001U) |
PHY Link mask
Definition at line 227 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_LINKED_STATUS ((uint16_t)0x0004U) |
Valid link established
Definition at line 218 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_LOOPBACK ((uint16_t)0x4000U) |
Select loop-back mode
Definition at line 207 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_MICR ((uint16_t)0x11U) |
MII Interrupt Control Register
Definition at line 224 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_MICR_INT_EN ((uint16_t)0x0002U) |
PHY Enable interrupts
Definition at line 231 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_MICR_INT_OE ((uint16_t)0x0001U) |
PHY Enable output interrupt events
Definition at line 232 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_MISR ((uint16_t)0x12U) |
MII Interrupt Status and Misc. Control Register
Definition at line 225 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_MISR_LINK_INT_EN ((uint16_t)0x0020U) |
Enable Interrupt on change of link status
Definition at line 234 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_POWERDOWN ((uint16_t)0x0800U) |
Select the power down mode
Definition at line 214 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_READ_TO ((uint32_t)0x0000FFFFU) |
Definition at line 198 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_RESET ((uint16_t)0x8000U) |
PHY Reset
Definition at line 206 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_RESET_DELAY ((uint32_t)0x000000FFU) |
Definition at line 194 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_RESTART_AUTONEGOTIATION ((uint16_t)0x0200U) |
Restart auto-negotiation function
Definition at line 213 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_SPEED_STATUS ((uint16_t)0x0002U) |
PHY Speed mask
Definition at line 228 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_SR ((uint16_t)0x10U) |
PHY status register Offset
Definition at line 223 of file stm32f7xx_hal_conf_xxx.h.
#define PHY_WRITE_TO ((uint32_t)0x0000FFFFU) |
Definition at line 199 of file stm32f7xx_hal_conf_xxx.h.
#define PREFETCH_ENABLE 1U |
Definition at line 161 of file stm32f7xx_hal_conf_xxx.h.
#define TICK_INT_PRIORITY ((uint32_t)0x0FU) |
tick interrupt priority
Definition at line 159 of file stm32f7xx_hal_conf_xxx.h.
#define USE_RTOS 0U |
Definition at line 160 of file stm32f7xx_hal_conf_xxx.h.
#define USE_SPI_CRC 1U |
Definition at line 244 of file stm32f7xx_hal_conf_xxx.h.
#define VDD_VALUE ((uint32_t)3300U) |
This is the HAL system configuration section.
Value of VDD in mv
Definition at line 158 of file stm32f7xx_hal_conf_xxx.h.