STM32F3xx_Nucleo_144 BSP User Manual: STM32F3XX-NUCLEO COM

STM32F3xx Nucleo 144 BSP Drivers

STM32F3xx_Nucleo_144 BSP User Manual
STM32F3XX-NUCLEO COM

Defines

#define NUCLEO_SPIx   SPI1
#define NUCLEO_SPIx_CLK_ENABLE()   __HAL_RCC_SPI1_CLK_ENABLE()
#define NUCLEO_SPIx_SCK_AF   GPIO_AF5_SPI1
#define NUCLEO_SPIx_SCK_GPIO_PORT   GPIOA
#define NUCLEO_SPIx_SCK_PIN   GPIO_PIN_5
#define NUCLEO_SPIx_SCK_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define NUCLEO_SPIx_SCK_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define NUCLEO_SPIx_MISO_MOSI_AF   GPIO_AF5_SPI1
#define NUCLEO_SPIx_MISO_MOSI_GPIO_PORT   GPIOA
#define NUCLEO_SPIx_MISO_MOSI_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define NUCLEO_SPIx_MISO_MOSI_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define NUCLEO_SPIx_MISO_PIN   GPIO_PIN_6
#define NUCLEO_SPIx_MOSI_PIN   GPIO_PIN_7
#define NUCLEO_SPIx_TIMEOUT_MAX   1000
#define NUCLEO_SPIx_CS_GPIO_PORT   GPIOD
#define NUCLEO_SPIx_CS_PIN   GPIO_PIN_14
#define NUCLEO_SPIx_CS_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOD_CLK_ENABLE()
#define NUCLEO_SPIx_CS_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOD_CLK_DISABLE()
#define SPIx__CS_LOW()   HAL_GPIO_WritePin(NUCLEO_SPIx_CS_GPIO_PORT, NUCLEO_SPIx_CS_PIN, GPIO_PIN_RESET)
#define SPIx__CS_HIGH()   HAL_GPIO_WritePin(NUCLEO_SPIx_CS_GPIO_PORT, NUCLEO_SPIx_CS_PIN, GPIO_PIN_SET)

Define Documentation

#define NUCLEO_SPIx   SPI1

Definition at line 218 of file stm32f3xx_nucleo_144.h.

Referenced by SPIx_Init().

#define NUCLEO_SPIx_CLK_ENABLE ( )    __HAL_RCC_SPI1_CLK_ENABLE()

Definition at line 219 of file stm32f3xx_nucleo_144.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_CS_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOD_CLK_DISABLE()

Definition at line 243 of file stm32f3xx_nucleo_144.h.

#define NUCLEO_SPIx_CS_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOD_CLK_ENABLE()

Definition at line 242 of file stm32f3xx_nucleo_144.h.

#define NUCLEO_SPIx_CS_GPIO_PORT   GPIOD

Definition at line 240 of file stm32f3xx_nucleo_144.h.

#define NUCLEO_SPIx_CS_PIN   GPIO_PIN_14

Definition at line 241 of file stm32f3xx_nucleo_144.h.

#define NUCLEO_SPIx_MISO_MOSI_AF   GPIO_AF5_SPI1

Definition at line 227 of file stm32f3xx_nucleo_144.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MISO_MOSI_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 230 of file stm32f3xx_nucleo_144.h.

#define NUCLEO_SPIx_MISO_MOSI_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 229 of file stm32f3xx_nucleo_144.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MISO_MOSI_GPIO_PORT   GPIOA

Definition at line 228 of file stm32f3xx_nucleo_144.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MISO_PIN   GPIO_PIN_6

Definition at line 231 of file stm32f3xx_nucleo_144.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MOSI_PIN   GPIO_PIN_7

Definition at line 232 of file stm32f3xx_nucleo_144.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_SCK_AF   GPIO_AF5_SPI1

Definition at line 221 of file stm32f3xx_nucleo_144.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_SCK_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 225 of file stm32f3xx_nucleo_144.h.

#define NUCLEO_SPIx_SCK_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 224 of file stm32f3xx_nucleo_144.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_SCK_GPIO_PORT   GPIOA

Definition at line 222 of file stm32f3xx_nucleo_144.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_SCK_PIN   GPIO_PIN_5

Definition at line 223 of file stm32f3xx_nucleo_144.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_TIMEOUT_MAX   1000

Definition at line 238 of file stm32f3xx_nucleo_144.h.

#define SPIx__CS_HIGH ( )    HAL_GPIO_WritePin(NUCLEO_SPIx_CS_GPIO_PORT, NUCLEO_SPIx_CS_PIN, GPIO_PIN_SET)

Definition at line 246 of file stm32f3xx_nucleo_144.h.

#define SPIx__CS_LOW ( )    HAL_GPIO_WritePin(NUCLEO_SPIx_CS_GPIO_PORT, NUCLEO_SPIx_CS_PIN, GPIO_PIN_RESET)

Definition at line 245 of file stm32f3xx_nucleo_144.h.

Generated on Wed May 31 2017 11:02:21 for STM32F3xx_Nucleo_144 BSP User Manual by   doxygen 1.7.6.1