STM32L476G_EVAL BSP User Manual
|
Functions | |
uint8_t | BSP_IDD_Init (void) |
Configures IDD measurement components. | |
void | BSP_IDD_EnterStopMode1 (void) |
Board Enter Stop Mode 1. | |
void | BSP_IDD_EnterStopMode2 (void) |
Board Enter Stop Mode 2. | |
void | BSP_IDD_ExitStopMode (void) |
Board Exit Stop Mode. | |
void | BSP_IDD_EnterSleepMode (void) |
Board Enter Sleep Mode. | |
void | BSP_IDD_ExitSleepMode (void) |
Board Exit Sleep Mode. | |
void | BSP_IDD_EnterRunMode (void) |
Board Enter Run Mode. | |
void | BSP_IDD_EnterStandbyMode (void) |
Board Enter Standby Mode. | |
uint32_t | BSP_IDD_GetValue (IDD_ModeTypdef LowPowerMode, uint32_t Calibration, uint32_t *IddValue) |
Get IDD current consumption value. | |
uint8_t | BSP_QSPI_Init (void) |
Initializes the QSPI interface. | |
uint8_t | BSP_QSPI_DeInit (void) |
De-Initializes the QSPI interface. | |
uint8_t | BSP_QSPI_Read (uint8_t *pData, uint32_t ReadAddr, uint32_t Size) |
Reads an amount of data from the QSPI memory. | |
uint8_t | BSP_QSPI_Write (uint8_t *pData, uint32_t WriteAddr, uint32_t Size) |
Writes an amount of data to the QSPI memory. | |
uint8_t | BSP_QSPI_Erase_Block (uint32_t BlockAddress) |
Erases the specified block of the QSPI memory. | |
uint8_t | BSP_QSPI_Erase_Chip (void) |
Erases the entire QSPI memory. | |
uint8_t | BSP_QSPI_GetStatus (void) |
Reads current status of the QSPI memory. | |
uint8_t | BSP_QSPI_GetInfo (QSPI_Info *pInfo) |
Return the configuration of the QSPI memory. | |
uint8_t | BSP_QSPI_EnableMemoryMappedMode (void) |
Configure the QSPI in memory-mapped mode. |
Function Documentation
void BSP_IDD_EnterRunMode | ( | void | ) |
void BSP_IDD_EnterSleepMode | ( | void | ) |
void BSP_IDD_EnterStandbyMode | ( | void | ) |
Board Enter Standby Mode.
- Return values:
-
None.
Definition at line 278 of file stm32l476g_eval_idd.c.
void BSP_IDD_EnterStopMode1 | ( | void | ) |
void BSP_IDD_EnterStopMode2 | ( | void | ) |
void BSP_IDD_ExitSleepMode | ( | void | ) |
void BSP_IDD_ExitStopMode | ( | void | ) |
uint32_t BSP_IDD_GetValue | ( | IDD_ModeTypdef | LowPowerMode, |
uint32_t | Calibration, | ||
uint32_t * | IddValue | ||
) |
Get IDD current consumption value.
- Parameters:
-
LowPowerMode,: Low Power Mode (STOP, SLEEP, RUN, STANDBY). Calibration,: Offset Calibration. IddValue,: Pointer on u32 to store Idd. Value unit is nA.
- Return values:
-
BSP_IDD_OK if no problem during initialization
Definition at line 301 of file stm32l476g_eval_idd.c.
References BSP_IDD_ERROR, BSP_IDD_MODE_CALIBRATION, BSP_IDD_OK, EVAL_IDD_FULL_SCALE, EVAL_IDD_VDD, heval_AdcChannelConfig, and heval_AdcHandle.
uint8_t BSP_IDD_Init | ( | void | ) |
Configures IDD measurement components.
- Return values:
-
BSP_IDD_OK if no problem during initialization
Definition at line 92 of file stm32l476g_eval_idd.c.
References BSP_IDD_ERROR, BSP_IDD_OK, heval_AdcChannelConfig, and heval_AdcHandle.
uint8_t BSP_QSPI_DeInit | ( | void | ) |
De-Initializes the QSPI interface.
- Return values:
-
QSPI memory status
Definition at line 170 of file stm32l476g_eval_qspi.c.
References QSPI_ERROR, QSPI_MspDeInit(), QSPI_OK, and QSPIHandle.
uint8_t BSP_QSPI_EnableMemoryMappedMode | ( | void | ) |
Configure the QSPI in memory-mapped mode.
- Return values:
-
QSPI memory status
Definition at line 464 of file stm32l476g_eval_qspi.c.
References QSPI_ERROR, QSPI_OK, and QSPIHandle.
uint8_t BSP_QSPI_Erase_Block | ( | uint32_t | BlockAddress | ) |
Erases the specified block of the QSPI memory.
- Parameters:
-
BlockAddress,: Block address to erase
- Return values:
-
QSPI memory status
Definition at line 313 of file stm32l476g_eval_qspi.c.
References QSPI_AutoPollingMemReady(), QSPI_ERROR, QSPI_OK, QSPI_WriteEnable(), and QSPIHandle.
uint8_t BSP_QSPI_Erase_Chip | ( | void | ) |
Erases the entire QSPI memory.
- Return values:
-
QSPI memory status
Definition at line 355 of file stm32l476g_eval_qspi.c.
References QSPI_AutoPollingMemReady(), QSPI_ERROR, QSPI_OK, QSPI_WriteEnable(), and QSPIHandle.
uint8_t BSP_QSPI_GetInfo | ( | QSPI_Info * | pInfo | ) |
Return the configuration of the QSPI memory.
- Parameters:
-
pInfo,: pointer on the configuration structure
- Return values:
-
QSPI memory status
Definition at line 448 of file stm32l476g_eval_qspi.c.
References QSPI_Info::EraseSectorSize, QSPI_Info::EraseSectorsNumber, QSPI_Info::FlashSize, QSPI_Info::ProgPageSize, QSPI_Info::ProgPagesNumber, and QSPI_OK.
uint8_t BSP_QSPI_GetStatus | ( | void | ) |
Reads current status of the QSPI memory.
- Return values:
-
QSPI memory status
Definition at line 395 of file stm32l476g_eval_qspi.c.
References QSPI_BUSY, QSPI_ERROR, QSPI_OK, QSPI_SUSPENDED, and QSPIHandle.
uint8_t BSP_QSPI_Init | ( | void | ) |
Initializes the QSPI interface.
- Return values:
-
QSPI memory status
Definition at line 119 of file stm32l476g_eval_qspi.c.
References QSPI_DummyCyclesCfg(), QSPI_EnterFourBytesAddress(), QSPI_ERROR, QSPI_MspInit(), QSPI_NOT_SUPPORTED, QSPI_OK, QSPI_ResetMemory(), and QSPIHandle.
uint8_t BSP_QSPI_Read | ( | uint8_t * | pData, |
uint32_t | ReadAddr, | ||
uint32_t | Size | ||
) |
Reads an amount of data from the QSPI memory.
- Parameters:
-
pData,: Pointer to data to be read ReadAddr,: Read start address Size,: Size of data to read
- Return values:
-
QSPI memory status
Definition at line 193 of file stm32l476g_eval_qspi.c.
References QSPI_ERROR, QSPI_OK, and QSPIHandle.
uint8_t BSP_QSPI_Write | ( | uint8_t * | pData, |
uint32_t | WriteAddr, | ||
uint32_t | Size | ||
) |
Writes an amount of data to the QSPI memory.
- Parameters:
-
pData,: Pointer to data to be written WriteAddr,: Write start address Size,: Size of data to write
- Return values:
-
QSPI memory status
Definition at line 233 of file stm32l476g_eval_qspi.c.
References QSPI_AutoPollingMemReady(), QSPI_ERROR, QSPI_OK, QSPI_WriteEnable(), and QSPIHandle.
Generated on Sun Jun 21 2015 23:46:42 for STM32L476G_EVAL BSP User Manual by
