STM32L4R9I-Discovery BSP User Manual: Private Functions

STM32L4R9I-Discovery BSP

STM32L4R9I-Discovery BSP User Manual

Functions

static void OSPI_NOR_MspInit (void)
 Initializes the OSPI MSP.
static void OSPI_NOR_MspDeInit (void)
 De-Initializes the OSPI MSP.
static uint8_t OSPI_NOR_ResetMemory (OSPI_HandleTypeDef *hospi)
 This function reset the OSPI memory.
static uint8_t OSPI_NOR_WriteEnable (OSPI_HandleTypeDef *hospi)
 This function send a Write Enable and wait it is effective.
static uint8_t OSPI_NOR_AutoPollingMemReady (OSPI_HandleTypeDef *hospi, uint32_t Timeout)
 This function read the SR of the memory and wait the EOP.
static uint8_t OSPI_NOR_OctalMode (OSPI_HandleTypeDef *hospi, uint8_t Operation)
 This function enables/disables the octal mode of the memory.

Function Documentation

static uint8_t OSPI_NOR_AutoPollingMemReady ( OSPI_HandleTypeDef *  hospi,
uint32_t  Timeout 
) [static]

This function read the SR of the memory and wait the EOP.

Parameters:
hospi,:OSPI handle
Timeout,:Timeout for auto-polling
Return values:
None

Definition at line 1122 of file stm32l4r9i_discovery_ospi_nor.c.

References DUMMY_CYCLES_READ_OCTAL, OSPI_NOR_ERROR, OSPI_NOR_OK, and OSPINORHandle.

Referenced by BSP_OSPI_NOR_Erase_Block(), BSP_OSPI_NOR_Erase_Chip(), BSP_OSPI_NOR_Write(), and OSPI_NOR_OctalMode().

static void OSPI_NOR_MspDeInit ( void  ) [static]

De-Initializes the OSPI MSP.

Return values:
None

Definition at line 947 of file stm32l4r9i_discovery_ospi_nor.c.

Referenced by BSP_OSPI_NOR_DeInit().

static void OSPI_NOR_MspInit ( void  ) [static]

Initializes the OSPI MSP.

Return values:
None

Definition at line 896 of file stm32l4r9i_discovery_ospi_nor.c.

Referenced by BSP_OSPI_NOR_Init().

static uint8_t OSPI_NOR_OctalMode ( OSPI_HandleTypeDef *  hospi,
uint8_t  Operation 
) [static]

This function enables/disables the octal mode of the memory.

Parameters:
hospi,:OSPI handle
Operation,:Octal operation mode enable/disable
Return values:
None

Definition at line 1182 of file stm32l4r9i_discovery_ospi_nor.c.

References DUMMY_CYCLES_CR_CFG, DUMMY_CYCLES_READ_OCTAL, OSPI_NOR_AutoPollingMemReady(), OSPI_NOR_ERROR, OSPI_NOR_OCTAL_ENABLE, OSPI_NOR_OK, OSPI_NOR_WriteEnable(), and OSPINORHandle.

Referenced by BSP_OSPI_NOR_DeInit(), and BSP_OSPI_NOR_Init().

static uint8_t OSPI_NOR_ResetMemory ( OSPI_HandleTypeDef *  hospi) [static]

This function reset the OSPI memory.

Parameters:
hospi,:OSPI handle
Return values:
None

Definition at line 983 of file stm32l4r9i_discovery_ospi_nor.c.

References OSPI_NOR_ERROR, OSPI_NOR_OK, and OSPINORHandle.

Referenced by BSP_OSPI_NOR_Init().

static uint8_t OSPI_NOR_WriteEnable ( OSPI_HandleTypeDef *  hospi) [static]

This function send a Write Enable and wait it is effective.

Parameters:
hospi,:OSPI handle
Return values:
None

Definition at line 1045 of file stm32l4r9i_discovery_ospi_nor.c.

References DUMMY_CYCLES_READ_OCTAL, OSPI_NOR_ERROR, OSPI_NOR_OK, and OSPINORHandle.

Referenced by BSP_OSPI_NOR_EnableMemoryMappedMode(), BSP_OSPI_NOR_Erase_Block(), BSP_OSPI_NOR_Erase_Chip(), BSP_OSPI_NOR_Erase_Sector(), BSP_OSPI_NOR_Write(), and OSPI_NOR_OctalMode().

Generated on Fri Oct 13 2017 02:37:42 for STM32L4R9I-Discovery BSP User Manual by   doxygen 1.7.6.1