STM32L4xx_Nucleo BSP User Manual: BUS Constants

STM32L4xx Nucleo

STM32L4xx_Nucleo BSP User Manual

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 SD_CS_LOW()   HAL_GPIO_WritePin(SD_CS_GPIO_PORT, SD_CS_PIN, GPIO_PIN_RESET)
 SD Control Lines management.
#define SD_CS_HIGH()   HAL_GPIO_WritePin(SD_CS_GPIO_PORT, SD_CS_PIN, GPIO_PIN_SET)
#define LCD_CS_LOW()   HAL_GPIO_WritePin(LCD_CS_GPIO_PORT, LCD_CS_PIN, GPIO_PIN_RESET)
 LCD Control Lines management.
#define LCD_CS_HIGH()   HAL_GPIO_WritePin(LCD_CS_GPIO_PORT, LCD_CS_PIN, GPIO_PIN_SET)
#define LCD_DC_LOW()   HAL_GPIO_WritePin(LCD_DC_GPIO_PORT, LCD_DC_PIN, GPIO_PIN_RESET)
#define LCD_DC_HIGH()   HAL_GPIO_WritePin(LCD_DC_GPIO_PORT, LCD_DC_PIN, GPIO_PIN_SET)
#define SD_CS_PIN   GPIO_PIN_5
 SD Control Interface pins.
#define SD_CS_GPIO_PORT   GPIOB
#define SD_CS_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define SD_CS_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define LCD_CS_PIN   GPIO_PIN_6
 LCD Control Interface pins.
#define LCD_CS_GPIO_PORT   GPIOB
#define LCD_CS_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define LCD_CS_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define LCD_DC_PIN   GPIO_PIN_9
 LCD Data/Command Interface pins.
#define LCD_DC_GPIO_PORT   GPIOA
#define LCD_DC_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOA_CLK_ENABLE()
#define LCD_DC_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOA_CLK_DISABLE()
#define NUCLEO_ADCx   ADC1
 ADC Interface pins used to detect motion of Joystick available on Adafruit 1.8" TFT shield.
#define NUCLEO_ADCx_CLK_ENABLE()   __HAL_RCC_ADC_CLK_ENABLE()
#define NUCLEO_ADCx_GPIO_PORT   GPIOB
#define NUCLEO_ADCx_GPIO_PIN   GPIO_PIN_0
#define NUCLEO_ADCx_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define NUCLEO_ADCx_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()

Define Documentation

#define LCD_CS_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 212 of file stm32l4xx_nucleo.h.

#define LCD_CS_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 211 of file stm32l4xx_nucleo.h.

Referenced by LCD_IO_Init().

#define LCD_CS_GPIO_PORT   GPIOB

Definition at line 210 of file stm32l4xx_nucleo.h.

#define LCD_CS_HIGH ( )    HAL_GPIO_WritePin(LCD_CS_GPIO_PORT, LCD_CS_PIN, GPIO_PIN_SET)

Definition at line 194 of file stm32l4xx_nucleo.h.

Referenced by LCD_IO_Init(), LCD_IO_WriteMultipleData(), and LCD_IO_WriteReg().

#define LCD_CS_LOW ( )    HAL_GPIO_WritePin(LCD_CS_GPIO_PORT, LCD_CS_PIN, GPIO_PIN_RESET)

LCD Control Lines management.

Definition at line 193 of file stm32l4xx_nucleo.h.

Referenced by LCD_IO_WriteMultipleData(), and LCD_IO_WriteReg().

#define LCD_CS_PIN   GPIO_PIN_6

LCD Control Interface pins.

Definition at line 209 of file stm32l4xx_nucleo.h.

Referenced by LCD_IO_Init().

#define LCD_DC_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 220 of file stm32l4xx_nucleo.h.

#define LCD_DC_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 219 of file stm32l4xx_nucleo.h.

Referenced by LCD_IO_Init().

#define LCD_DC_GPIO_PORT   GPIOA

Definition at line 218 of file stm32l4xx_nucleo.h.

Referenced by LCD_IO_Init().

#define LCD_DC_HIGH ( )    HAL_GPIO_WritePin(LCD_DC_GPIO_PORT, LCD_DC_PIN, GPIO_PIN_SET)

Definition at line 196 of file stm32l4xx_nucleo.h.

Referenced by LCD_IO_WriteMultipleData().

#define LCD_DC_LOW ( )    HAL_GPIO_WritePin(LCD_DC_GPIO_PORT, LCD_DC_PIN, GPIO_PIN_RESET)

Definition at line 195 of file stm32l4xx_nucleo.h.

Referenced by LCD_IO_WriteReg().

#define LCD_DC_PIN   GPIO_PIN_9

LCD Data/Command Interface pins.

Definition at line 217 of file stm32l4xx_nucleo.h.

Referenced by LCD_IO_Init().

#define NUCLEO_ADCx   ADC1

ADC Interface pins used to detect motion of Joystick available on Adafruit 1.8" TFT shield.

Definition at line 227 of file stm32l4xx_nucleo.h.

Referenced by ADCx_Init().

#define NUCLEO_ADCx_CLK_ENABLE ( )    __HAL_RCC_ADC_CLK_ENABLE()

Definition at line 228 of file stm32l4xx_nucleo.h.

Referenced by ADCx_MspInit().

#define NUCLEO_ADCx_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 233 of file stm32l4xx_nucleo.h.

#define NUCLEO_ADCx_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 232 of file stm32l4xx_nucleo.h.

Referenced by ADCx_MspInit().

#define NUCLEO_ADCx_GPIO_PIN   GPIO_PIN_0

Definition at line 231 of file stm32l4xx_nucleo.h.

Referenced by ADCx_MspInit().

#define NUCLEO_ADCx_GPIO_PORT   GPIOB

Definition at line 230 of file stm32l4xx_nucleo.h.

Referenced by ADCx_MspInit().

#define NUCLEO_SPIx   SPI1

Definition at line 161 of file stm32l4xx_nucleo.h.

Referenced by SPIx_Init().

#define NUCLEO_SPIx_CLK_ENABLE ( )    __HAL_RCC_SPI1_CLK_ENABLE()

Definition at line 162 of file stm32l4xx_nucleo.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MISO_MOSI_AF   GPIO_AF5_SPI1

Definition at line 170 of file stm32l4xx_nucleo.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MISO_MOSI_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 173 of file stm32l4xx_nucleo.h.

#define NUCLEO_SPIx_MISO_MOSI_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 172 of file stm32l4xx_nucleo.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MISO_MOSI_GPIO_PORT   GPIOA

Definition at line 171 of file stm32l4xx_nucleo.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MISO_PIN   GPIO_PIN_6

Definition at line 174 of file stm32l4xx_nucleo.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_MOSI_PIN   GPIO_PIN_7

Definition at line 175 of file stm32l4xx_nucleo.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_SCK_AF   GPIO_AF5_SPI1

Definition at line 164 of file stm32l4xx_nucleo.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_SCK_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOA_CLK_DISABLE()

Definition at line 168 of file stm32l4xx_nucleo.h.

#define NUCLEO_SPIx_SCK_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOA_CLK_ENABLE()

Definition at line 167 of file stm32l4xx_nucleo.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_SCK_GPIO_PORT   GPIOA

Definition at line 165 of file stm32l4xx_nucleo.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_SCK_PIN   GPIO_PIN_5

Definition at line 166 of file stm32l4xx_nucleo.h.

Referenced by SPIx_MspInit().

#define NUCLEO_SPIx_TIMEOUT_MAX   1000

Definition at line 181 of file stm32l4xx_nucleo.h.

#define SD_CS_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 204 of file stm32l4xx_nucleo.h.

#define SD_CS_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 203 of file stm32l4xx_nucleo.h.

Referenced by SD_IO_Init().

#define SD_CS_GPIO_PORT   GPIOB

Definition at line 202 of file stm32l4xx_nucleo.h.

Referenced by LCD_IO_Init(), and SD_IO_Init().

#define SD_CS_HIGH ( )    HAL_GPIO_WritePin(SD_CS_GPIO_PORT, SD_CS_PIN, GPIO_PIN_SET)

Definition at line 188 of file stm32l4xx_nucleo.h.

Referenced by SD_IO_Init(), and SD_IO_WriteDummy().

#define SD_CS_LOW ( )    HAL_GPIO_WritePin(SD_CS_GPIO_PORT, SD_CS_PIN, GPIO_PIN_RESET)

SD Control Lines management.

Definition at line 187 of file stm32l4xx_nucleo.h.

Referenced by SD_IO_WriteCmd().

#define SD_CS_PIN   GPIO_PIN_5

SD Control Interface pins.

Definition at line 201 of file stm32l4xx_nucleo.h.

Referenced by SD_IO_Init().

Generated on Fri Jun 19 2015 16:52:00 for STM32L4xx_Nucleo BSP User Manual by   doxygen 1.7.6.1