STM32756G_EVAL BSP User Manual
|
Defines | |
#define | COMn ((uint8_t)1) |
#define | EVAL_COM1 USART1 |
Definition for COM port1, connected to USART1. | |
#define | EVAL_COM1_CLK_ENABLE() __HAL_RCC_USART1_CLK_ENABLE() |
#define | EVAL_COM1_CLK_DISABLE() __HAL_RCC_USART1_CLK_DISABLE() |
#define | EVAL_COM1_TX_PIN GPIO_PIN_9 |
#define | EVAL_COM1_TX_GPIO_PORT GPIOA |
#define | EVAL_COM1_TX_GPIO_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE() |
#define | EVAL_COM1_TX_GPIO_CLK_DISABLE() __HAL_RCC_GPIOA_CLK_DISABLE() |
#define | EVAL_COM1_TX_AF GPIO_AF7_USART1 |
#define | EVAL_COM1_RX_PIN GPIO_PIN_10 |
#define | EVAL_COM1_RX_GPIO_PORT GPIOA |
#define | EVAL_COM1_RX_GPIO_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE() |
#define | EVAL_COM1_RX_GPIO_CLK_DISABLE() __HAL_RCC_GPIOA_CLK_DISABLE() |
#define | EVAL_COM1_RX_AF GPIO_AF7_USART1 |
#define | EVAL_COM1_IRQn USART1_IRQn |
#define | EVAL_COMx_CLK_ENABLE(__INDEX__) do { if((__INDEX__) == COM1) EVAL_COM1_CLK_ENABLE(); } while(0) |
#define | EVAL_COMx_CLK_DISABLE(__INDEX__) (((__INDEX__) == 0) ? EVAL_COM1_CLK_DISABLE() : 0) |
#define | EVAL_COMx_TX_GPIO_CLK_ENABLE(__INDEX__) do { if((__INDEX__) == COM1) EVAL_COM1_TX_GPIO_CLK_ENABLE(); } while(0) |
#define | EVAL_COMx_TX_GPIO_CLK_DISABLE(__INDEX__) (((__INDEX__) == 0) ? EVAL_COM1_TX_GPIO_CLK_DISABLE() : 0) |
#define | EVAL_COMx_RX_GPIO_CLK_ENABLE(__INDEX__) do { if((__INDEX__) == COM1) EVAL_COM1_RX_GPIO_CLK_ENABLE(); } while(0) |
#define | EVAL_COMx_RX_GPIO_CLK_DISABLE(__INDEX__) (((__INDEX__) == 0) ? EVAL_COM1_RX_GPIO_CLK_DISABLE() : 0) |
#define | IO_I2C_ADDRESS ((uint16_t)0x84) /*mfx MFX_I2C_ADDR 0*/ |
Joystick Pins definition. | |
#define | IO_I2C_ADDRESS_2 ((uint16_t)0x86) /*mfx MFX_I2C_ADDR 1*/ |
#define | TS_I2C_ADDRESS ((uint16_t)0x82) /*stmpe811 used on MB1046 board */ |
#define | TS3510_I2C_ADDRESS ((uint16_t)0x80) |
#define | EXC7200_I2C_ADDRESS ((uint16_t)0x08) |
#define | CAMERA_I2C_ADDRESS ((uint16_t)0x5A) |
#define | AUDIO_I2C_ADDRESS ((uint16_t)0x34) |
#define | EEPROM_I2C_ADDRESS_A01 ((uint16_t)0xA0) |
#define | EEPROM_I2C_ADDRESS_A02 ((uint16_t)0xA6) |
#define | EVAL_I2Cx I2C1 |
#define | EVAL_I2Cx_CLK_ENABLE() __HAL_RCC_I2C1_CLK_ENABLE() |
#define | EVAL_DMAx_CLK_ENABLE() __HAL_RCC_DMA1_CLK_ENABLE() |
#define | EVAL_I2Cx_SCL_SDA_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE() |
#define | EVAL_I2Cx_FORCE_RESET() __HAL_RCC_I2C1_FORCE_RESET() |
#define | EVAL_I2Cx_RELEASE_RESET() __HAL_RCC_I2C1_RELEASE_RESET() |
#define | EVAL_I2Cx_SCL_PIN GPIO_PIN_8 |
#define | EVAL_I2Cx_SCL_SDA_GPIO_PORT GPIOB |
#define | EVAL_I2Cx_SCL_SDA_AF GPIO_AF4_I2C1 |
#define | EVAL_I2Cx_SDA_PIN GPIO_PIN_9 |
#define | EVAL_I2Cx_EV_IRQn I2C1_EV_IRQn |
#define | EVAL_I2Cx_ER_IRQn I2C1_ER_IRQn |
Define Documentation
#define AUDIO_I2C_ADDRESS ((uint16_t)0x34) |
Definition at line 312 of file stm32756g_eval.h.
Referenced by BSP_AUDIO_OUT_Init(), BSP_AUDIO_OUT_Pause(), BSP_AUDIO_OUT_Play(), BSP_AUDIO_OUT_Resume(), BSP_AUDIO_OUT_SetMute(), BSP_AUDIO_OUT_SetOutputMode(), BSP_AUDIO_OUT_SetVolume(), BSP_AUDIO_OUT_Stop(), and CODEC_Reset().
#define CAMERA_I2C_ADDRESS ((uint16_t)0x5A) |
Definition at line 311 of file stm32756g_eval.h.
Referenced by BSP_CAMERA_Init().
#define COMn ((uint8_t)1) |
Definition at line 235 of file stm32756g_eval.h.
#define EEPROM_I2C_ADDRESS_A01 ((uint16_t)0xA0) |
Definition at line 313 of file stm32756g_eval.h.
Referenced by BSP_EEPROM_Init().
#define EEPROM_I2C_ADDRESS_A02 ((uint16_t)0xA6) |
Definition at line 314 of file stm32756g_eval.h.
Referenced by BSP_EEPROM_Init().
#define EVAL_COM1 USART1 |
Definition for COM port1, connected to USART1.
Definition at line 240 of file stm32756g_eval.h.
#define EVAL_COM1_CLK_DISABLE | ( | ) | __HAL_RCC_USART1_CLK_DISABLE() |
Definition at line 242 of file stm32756g_eval.h.
#define EVAL_COM1_CLK_ENABLE | ( | ) | __HAL_RCC_USART1_CLK_ENABLE() |
Definition at line 241 of file stm32756g_eval.h.
#define EVAL_COM1_IRQn USART1_IRQn |
Definition at line 256 of file stm32756g_eval.h.
#define EVAL_COM1_RX_AF GPIO_AF7_USART1 |
Definition at line 254 of file stm32756g_eval.h.
#define EVAL_COM1_RX_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOA_CLK_DISABLE() |
Definition at line 253 of file stm32756g_eval.h.
#define EVAL_COM1_RX_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOA_CLK_ENABLE() |
Definition at line 252 of file stm32756g_eval.h.
#define EVAL_COM1_RX_GPIO_PORT GPIOA |
Definition at line 251 of file stm32756g_eval.h.
#define EVAL_COM1_RX_PIN GPIO_PIN_10 |
Definition at line 250 of file stm32756g_eval.h.
#define EVAL_COM1_TX_AF GPIO_AF7_USART1 |
Definition at line 248 of file stm32756g_eval.h.
#define EVAL_COM1_TX_GPIO_CLK_DISABLE | ( | ) | __HAL_RCC_GPIOA_CLK_DISABLE() |
Definition at line 247 of file stm32756g_eval.h.
#define EVAL_COM1_TX_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOA_CLK_ENABLE() |
Definition at line 246 of file stm32756g_eval.h.
#define EVAL_COM1_TX_GPIO_PORT GPIOA |
Definition at line 245 of file stm32756g_eval.h.
#define EVAL_COM1_TX_PIN GPIO_PIN_9 |
Definition at line 244 of file stm32756g_eval.h.
#define EVAL_COMx_CLK_DISABLE | ( | __INDEX__ | ) | (((__INDEX__) == 0) ? EVAL_COM1_CLK_DISABLE() : 0) |
Definition at line 259 of file stm32756g_eval.h.
Referenced by BSP_COM_DeInit().
#define EVAL_COMx_CLK_ENABLE | ( | __INDEX__ | ) | do { if((__INDEX__) == COM1) EVAL_COM1_CLK_ENABLE(); } while(0) |
Definition at line 258 of file stm32756g_eval.h.
Referenced by BSP_COM_Init().
#define EVAL_COMx_RX_GPIO_CLK_DISABLE | ( | __INDEX__ | ) | (((__INDEX__) == 0) ? EVAL_COM1_RX_GPIO_CLK_DISABLE() : 0) |
Definition at line 265 of file stm32756g_eval.h.
#define EVAL_COMx_RX_GPIO_CLK_ENABLE | ( | __INDEX__ | ) | do { if((__INDEX__) == COM1) EVAL_COM1_RX_GPIO_CLK_ENABLE(); } while(0) |
Definition at line 264 of file stm32756g_eval.h.
Referenced by BSP_COM_Init().
#define EVAL_COMx_TX_GPIO_CLK_DISABLE | ( | __INDEX__ | ) | (((__INDEX__) == 0) ? EVAL_COM1_TX_GPIO_CLK_DISABLE() : 0) |
Definition at line 262 of file stm32756g_eval.h.
#define EVAL_COMx_TX_GPIO_CLK_ENABLE | ( | __INDEX__ | ) | do { if((__INDEX__) == COM1) EVAL_COM1_TX_GPIO_CLK_ENABLE(); } while(0) |
Definition at line 261 of file stm32756g_eval.h.
Referenced by BSP_COM_Init().
#define EVAL_DMAx_CLK_ENABLE | ( | ) | __HAL_RCC_DMA1_CLK_ENABLE() |
Definition at line 328 of file stm32756g_eval.h.
#define EVAL_I2Cx I2C1 |
Definition at line 326 of file stm32756g_eval.h.
Referenced by I2Cx_Init().
#define EVAL_I2Cx_CLK_ENABLE | ( | ) | __HAL_RCC_I2C1_CLK_ENABLE() |
Definition at line 327 of file stm32756g_eval.h.
Referenced by I2Cx_MspInit().
#define EVAL_I2Cx_ER_IRQn I2C1_ER_IRQn |
Definition at line 342 of file stm32756g_eval.h.
Referenced by I2Cx_MspInit().
#define EVAL_I2Cx_EV_IRQn I2C1_EV_IRQn |
Definition at line 341 of file stm32756g_eval.h.
Referenced by I2Cx_MspInit().
#define EVAL_I2Cx_FORCE_RESET | ( | ) | __HAL_RCC_I2C1_FORCE_RESET() |
Definition at line 331 of file stm32756g_eval.h.
Referenced by I2Cx_MspInit().
#define EVAL_I2Cx_RELEASE_RESET | ( | ) | __HAL_RCC_I2C1_RELEASE_RESET() |
Definition at line 332 of file stm32756g_eval.h.
Referenced by I2Cx_MspInit().
#define EVAL_I2Cx_SCL_PIN GPIO_PIN_8 |
Definition at line 335 of file stm32756g_eval.h.
Referenced by I2Cx_MspInit().
#define EVAL_I2Cx_SCL_SDA_AF GPIO_AF4_I2C1 |
Definition at line 337 of file stm32756g_eval.h.
Referenced by I2Cx_MspInit().
#define EVAL_I2Cx_SCL_SDA_GPIO_CLK_ENABLE | ( | ) | __HAL_RCC_GPIOB_CLK_ENABLE() |
Definition at line 329 of file stm32756g_eval.h.
Referenced by I2Cx_MspInit().
#define EVAL_I2Cx_SCL_SDA_GPIO_PORT GPIOB |
Definition at line 336 of file stm32756g_eval.h.
Referenced by I2Cx_MspInit().
#define EVAL_I2Cx_SDA_PIN GPIO_PIN_9 |
Definition at line 338 of file stm32756g_eval.h.
Referenced by I2Cx_MspInit().
#define EXC7200_I2C_ADDRESS ((uint16_t)0x08) |
Definition at line 310 of file stm32756g_eval.h.
Referenced by BSP_TS_GetState(), BSP_TS_Init(), and I2Cx_ReadMultiple().
#define IO_I2C_ADDRESS ((uint16_t)0x84) /*mfx MFX_I2C_ADDR 0*/ |
Joystick Pins definition.
Eval Pins definition connected to MFX
Definition at line 306 of file stm32756g_eval.h.
Referenced by BSP_IO_ConfigIrqOutPin(), BSP_IO_ConfigPin(), BSP_IO_Init(), BSP_IO_ITClear(), BSP_IO_ITGetStatus(), BSP_IO_ReadPin(), BSP_IO_TogglePin(), and BSP_IO_WritePin().
#define IO_I2C_ADDRESS_2 ((uint16_t)0x86) /*mfx MFX_I2C_ADDR 1*/ |
Definition at line 307 of file stm32756g_eval.h.
#define TS3510_I2C_ADDRESS ((uint16_t)0x80) |
Definition at line 309 of file stm32756g_eval.h.
Referenced by BSP_TS_Init().
#define TS_I2C_ADDRESS ((uint16_t)0x82) /*stmpe811 used on MB1046 board */ |
Definition at line 308 of file stm32756g_eval.h.
Referenced by BSP_LCD_ClockConfig(), BSP_LCD_Init(), and BSP_TS_Init().
Generated on Fri May 22 2015 13:59:21 for STM32756G_EVAL BSP User Manual by 1.7.6.1