STM32L0xx_Nucleo_32 BSP User Manual: STM32L0XX_NUCLEO_32_BUS

STM32L0xx Nucleo 32 BSP Drivers

STM32L0xx_Nucleo_32 BSP User Manual
STM32L0XX_NUCLEO_32_BUS

Defines

#define BSP_I2C1   I2C1
#define BSP_I2C1_CLK_ENABLE()   __HAL_RCC_I2C1_CLK_ENABLE()
#define BSP_I2C1_CLK_DISABLE()   __HAL_RCC_I2C1_CLK_DISABLE()
#define BSP_I2C1_FORCE_RESET()   __HAL_RCC_I2C1_FORCE_RESET()
#define BSP_I2C1_RELEASE_RESET()   __HAL_RCC_I2C1_RELEASE_RESET()
#define BSP_I2C1_SCL_PIN   GPIO_PIN_6 /* PB.6 add wire between D5 and A5 */
#define BSP_I2C1_SDA_PIN   GPIO_PIN_7 /* PB.7 add wire between D4 and A4 */
#define BSP_I2C1_GPIO_PORT   GPIOB /* GPIOB */
#define BSP_I2C1_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define BSP_I2C1_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define BSP_I2C1_SCL_SDA_AF   GPIO_AF1_I2C1
#define BSP_I2C1_TIMEOUT_MAX   1000
#define I2C1_TIMING   0x009080B5
#define NUCLEO_SPIx   SPI1
#define NUCLEO_SPIx_CLK_ENABLE()   __HAL_RCC_SPI1_CLK_ENABLE()
#define NUCLEO_SPIx_SCK_AF   GPIO_AF0_SPI1
#define NUCLEO_SPIx_SCK_GPIO_PORT   GPIOA
#define NUCLEO_SPIx_SCK_PIN   GPIO_PIN_11
#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_AF0_SPI1
#define NUCLEO_SPIx_MISO_MOSI_GPIO_PORT   GPIOB
#define NUCLEO_SPIx_MISO_MOSI_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define NUCLEO_SPIx_MISO_MOSI_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define NUCLEO_SPIx_MISO_PIN   GPIO_PIN_4
#define NUCLEO_SPIx_MOSI_PIN   GPIO_PIN_5
#define NUCLEO_SPIx_TIMEOUT_MAX   1000

Define Documentation

#define BSP_I2C1   I2C1

Definition at line 119 of file stm32l0xx_nucleo_32.h.

Referenced by I2C1_Init().

#define BSP_I2C1_CLK_DISABLE ( )    __HAL_RCC_I2C1_CLK_DISABLE()

Definition at line 121 of file stm32l0xx_nucleo_32.h.

#define BSP_I2C1_CLK_ENABLE ( )    __HAL_RCC_I2C1_CLK_ENABLE()

Definition at line 120 of file stm32l0xx_nucleo_32.h.

Referenced by I2C1_MspInit().

#define BSP_I2C1_FORCE_RESET ( )    __HAL_RCC_I2C1_FORCE_RESET()

Definition at line 122 of file stm32l0xx_nucleo_32.h.

Referenced by I2C1_MspInit().

#define BSP_I2C1_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 130 of file stm32l0xx_nucleo_32.h.

#define BSP_I2C1_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 129 of file stm32l0xx_nucleo_32.h.

Referenced by I2C1_MspInit().

#define BSP_I2C1_GPIO_PORT   GPIOB /* GPIOB */

Definition at line 128 of file stm32l0xx_nucleo_32.h.

Referenced by I2C1_MspInit().

#define BSP_I2C1_RELEASE_RESET ( )    __HAL_RCC_I2C1_RELEASE_RESET()

Definition at line 123 of file stm32l0xx_nucleo_32.h.

Referenced by I2C1_MspInit().

#define BSP_I2C1_SCL_PIN   GPIO_PIN_6 /* PB.6 add wire between D5 and A5 */

Definition at line 125 of file stm32l0xx_nucleo_32.h.

Referenced by I2C1_MspInit().

#define BSP_I2C1_SCL_SDA_AF   GPIO_AF1_I2C1

Definition at line 131 of file stm32l0xx_nucleo_32.h.

Referenced by I2C1_MspInit().

#define BSP_I2C1_SDA_PIN   GPIO_PIN_7 /* PB.7 add wire between D4 and A4 */

Definition at line 126 of file stm32l0xx_nucleo_32.h.

Referenced by I2C1_MspInit().

#define BSP_I2C1_TIMEOUT_MAX   1000

Definition at line 138 of file stm32l0xx_nucleo_32.h.

#define I2C1_TIMING   0x009080B5

Definition at line 142 of file stm32l0xx_nucleo_32.h.

Referenced by I2C1_Init().

#define NUCLEO_SPIx   SPI1

Definition at line 148 of file stm32l0xx_nucleo_32.h.

Referenced by SPIx_Init().

#define NUCLEO_SPIx_CLK_ENABLE ( )    __HAL_RCC_SPI1_CLK_ENABLE()

Definition at line 149 of file stm32l0xx_nucleo_32.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MISO_MOSI_AF   GPIO_AF0_SPI1

Definition at line 157 of file stm32l0xx_nucleo_32.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MISO_MOSI_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 160 of file stm32l0xx_nucleo_32.h.

#define NUCLEO_SPIx_MISO_MOSI_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 159 of file stm32l0xx_nucleo_32.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MISO_MOSI_GPIO_PORT   GPIOB

Definition at line 158 of file stm32l0xx_nucleo_32.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MISO_PIN   GPIO_PIN_4

Definition at line 161 of file stm32l0xx_nucleo_32.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MOSI_PIN   GPIO_PIN_5

Definition at line 162 of file stm32l0xx_nucleo_32.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_SCK_AF   GPIO_AF0_SPI1

Definition at line 151 of file stm32l0xx_nucleo_32.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_SCK_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 155 of file stm32l0xx_nucleo_32.h.

#define NUCLEO_SPIx_SCK_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 154 of file stm32l0xx_nucleo_32.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_SCK_GPIO_PORT   GPIOA

Definition at line 152 of file stm32l0xx_nucleo_32.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_SCK_PIN   GPIO_PIN_11

Definition at line 153 of file stm32l0xx_nucleo_32.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_TIMEOUT_MAX   1000

Definition at line 168 of file stm32l0xx_nucleo_32.h.

Generated on Mon Aug 28 2017 14:48:51 for STM32L0xx_Nucleo_32 BSP User Manual by   doxygen 1.7.6.1