STM3210E_EVAL BSP User Manual: STM3210E_EVAL_COMPONENT

STM3210E EVAL BSP Drivers

STM3210E_EVAL BSP User Manual
STM3210E_EVAL_COMPONENT

Defines

#define FLASH_SPI_CS_LOW()   HAL_GPIO_WritePin(FLASH_SPI_CS_GPIO_PORT, FLASH_SPI_CS_PIN, GPIO_PIN_RESET)
 M25P FLASH SPI Chip Select macro definition.
#define FLASH_SPI_CS_HIGH()   HAL_GPIO_WritePin(FLASH_SPI_CS_GPIO_PORT, FLASH_SPI_CS_PIN, GPIO_PIN_SET)
#define FLASH_SPI_CS_PIN   GPIO_PIN_2 /* PB.02*/
 M25P FLASH SPI Control Interface pins.
#define FLASH_SPI_CS_GPIO_PORT   GPIOB
#define FLASH_SPI_CS_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOB_CLK_ENABLE()
#define FLASH_SPI_CS_GPIO_CLK_DISABLE()   __HAL_RCC_GPIOB_CLK_DISABLE()
#define FLASH_SPI_CMD_WRITE   0x02
 M25P FLASH SPI supported commands.
#define FLASH_SPI_CMD_WRSR   0x01
#define FLASH_SPI_CMD_WREN   0x06
#define FLASH_SPI_CMD_READ   0x03
#define FLASH_SPI_CMD_RDSR   0x05
#define FLASH_SPI_CMD_RDID   0x9F
#define FLASH_SPI_CMD_SE   0xD8
#define FLASH_SPI_CMD_BE   0xC7
#define FLASH_SPI_WIP_FLAG   0x01
#define FLASH_SPI_DUMMY_BYTE   0xA5
#define FLASH_SPI_PAGESIZE   0x100
#define FLASH_SPI_M25P128_ID   0x202018
#define FLASH_SPI_M25P64_ID   0x202017
#define AUDIO_I2C_ADDRESS   0x27
 AUDIO I2C Interface pins.
#define AUDIO_RESET_GPIO_CLK_ENABLE()   __HAL_RCC_GPIOG_CLK_ENABLE()
#define AUDIO_RESET_PIN   GPIO_PIN_11
#define AUDIO_RESET_GPIO   GPIOG

Define Documentation

#define AUDIO_RESET_GPIO   GPIOG

Definition at line 490 of file stm3210e_eval.h.

Referenced by AUDIO_IO_Init(), and BSP_AUDIO_OUT_Stop().

#define AUDIO_RESET_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOG_CLK_ENABLE()

Definition at line 488 of file stm3210e_eval.h.

Referenced by AUDIO_IO_Init().

#define AUDIO_RESET_PIN   GPIO_PIN_11

Definition at line 489 of file stm3210e_eval.h.

Referenced by AUDIO_IO_Init(), and BSP_AUDIO_OUT_Stop().

#define FLASH_SPI_CMD_BE   0xC7

Bulk Erase instruction

Definition at line 470 of file stm3210e_eval.h.

Referenced by BSP_SERIAL_FLASH_EraseBulk().

#define FLASH_SPI_CMD_RDID   0x9F

Read identification

Definition at line 468 of file stm3210e_eval.h.

#define FLASH_SPI_CMD_RDSR   0x05

Read Status Register instruction

Definition at line 467 of file stm3210e_eval.h.

Referenced by FLASH_SPI_IO_WaitForWriteEnd().

#define FLASH_SPI_CMD_READ   0x03

Read from Memory instruction

Definition at line 466 of file stm3210e_eval.h.

Referenced by FLASH_SPI_IO_ReadData().

#define FLASH_SPI_CMD_SE   0xD8

Sector Erase instruction

Definition at line 469 of file stm3210e_eval.h.

Referenced by BSP_SERIAL_FLASH_EraseSector().

#define FLASH_SPI_CMD_WREN   0x06

Write enable instruction

Definition at line 465 of file stm3210e_eval.h.

Referenced by FLASH_SPI_IO_WriteEnable().

#define FLASH_SPI_CMD_WRITE   0x02

M25P FLASH SPI supported commands.

Write to Memory instruction

Definition at line 463 of file stm3210e_eval.h.

Referenced by BSP_SERIAL_FLASH_WritePage().

#define FLASH_SPI_CMD_WRSR   0x01

Write Status Register instruction

Definition at line 464 of file stm3210e_eval.h.

#define FLASH_SPI_CS_GPIO_CLK_DISABLE ( )    __HAL_RCC_GPIOB_CLK_DISABLE()

Definition at line 458 of file stm3210e_eval.h.

#define FLASH_SPI_CS_GPIO_CLK_ENABLE ( )    __HAL_RCC_GPIOB_CLK_ENABLE()

Definition at line 457 of file stm3210e_eval.h.

Referenced by FLASH_SPI_IO_Init().

#define FLASH_SPI_CS_GPIO_PORT   GPIOB

Definition at line 456 of file stm3210e_eval.h.

Referenced by FLASH_SPI_IO_Init().

#define FLASH_SPI_CS_LOW ( )    HAL_GPIO_WritePin(FLASH_SPI_CS_GPIO_PORT, FLASH_SPI_CS_PIN, GPIO_PIN_RESET)

M25P FLASH SPI Chip Select macro definition.

Definition at line 449 of file stm3210e_eval.h.

Referenced by FLASH_SPI_IO_ReadData(), FLASH_SPI_IO_ReadID(), FLASH_SPI_IO_WaitForWriteEnd(), and FLASH_SPI_IO_WriteEnable().

#define FLASH_SPI_CS_PIN   GPIO_PIN_2 /* PB.02*/

M25P FLASH SPI Control Interface pins.

Definition at line 455 of file stm3210e_eval.h.

Referenced by FLASH_SPI_IO_Init().

#define FLASH_SPI_M25P128_ID   0x202018

Definition at line 477 of file stm3210e_eval.h.

#define FLASH_SPI_M25P64_ID   0x202017

Definition at line 478 of file stm3210e_eval.h.

#define FLASH_SPI_PAGESIZE   0x100

Definition at line 475 of file stm3210e_eval.h.

Referenced by BSP_SERIAL_FLASH_WriteData().

#define FLASH_SPI_WIP_FLAG   0x01

Write In Progress (WIP) flag

Definition at line 472 of file stm3210e_eval.h.

Referenced by FLASH_SPI_IO_WaitForWriteEnd().

Generated on Thu Dec 10 2015 17:39:43 for STM3210E_EVAL BSP User Manual by   doxygen 1.7.6.1