RTEMS 6.1-rc2
|
Modules | |
HAL Control functions | |
HAL Control functions. | |
Initialization and de-initialization Functions | |
Initialization and de-initialization functions. | |
Functions | |
void | HAL_IncTick (void) |
This function is called to increment a global variable "uwTick" used as application time base. | |
void | HAL_Delay (uint32_t Delay) |
This function provides minimum delay (in milliseconds) based on variable incremented. | |
uint32_t | HAL_GetTick (void) |
Provides a tick value in millisecond. | |
uint32_t | HAL_GetTickPrio (void) |
This function returns a tick priority. | |
HAL_StatusTypeDef | HAL_SetTickFreq (HAL_TickFreqTypeDef Freq) |
Set new tick Freq. | |
HAL_TickFreqTypeDef | HAL_GetTickFreq (void) |
Return tick frequency. | |
void | HAL_SuspendTick (void) |
Suspend Tick increment. | |
void | HAL_ResumeTick (void) |
Resume Tick increment. | |
uint32_t | HAL_GetHalVersion (void) |
Returns the HAL revision. | |
uint32_t | HAL_GetREVID (void) |
Returns the device revision identifier. | |
uint32_t | HAL_GetDEVID (void) |
Returns the device identifier. | |
uint32_t | HAL_GetUIDw0 (void) |
Return the first word of the unique device identifier (UID based on 96 bits) | |
uint32_t | HAL_GetUIDw1 (void) |
Return the second word of the unique device identifier (UID based on 96 bits) | |
uint32_t | HAL_GetUIDw2 (void) |
Return the third word of the unique device identifier (UID based on 96 bits) | |
void | HAL_SYSCFG_AnalogSwitchConfig (uint32_t SYSCFG_AnalogSwitch, uint32_t SYSCFG_SwitchState) |
Analog Switch control for dual analog pads. | |
void | HAL_EnableCompensationCell (void) |
Enables the I/O Compensation Cell. | |
void | HAL_DisableCompensationCell (void) |
Power-down the I/O Compensation Cell. | |
void | HAL_SYSCFG_EnableIOSpeedOptimize (void) |
To Enable optimize the I/O speed when the product voltage is low. | |
void | HAL_SYSCFG_DisableIOSpeedOptimize (void) |
To Disable optimize the I/O speed when the product voltage is low. | |
void | HAL_SYSCFG_CompensationCodeSelect (uint32_t SYSCFG_CompCode) |
Code selection for the I/O Compensation cell. | |
void | HAL_SYSCFG_CompensationCodeConfig (uint32_t SYSCFG_PMOSCode, uint32_t SYSCFG_NMOSCode) |
Code selection for the I/O Compensation cell. | |
void | HAL_DBGMCU_EnableDBGSleepMode (void) |
Enable the Debug Module during Domain1/CDomain SLEEP mode. | |
void | HAL_DBGMCU_DisableDBGSleepMode (void) |
Disable the Debug Module during Domain1/CDomain SLEEP mode. | |
void | HAL_DBGMCU_EnableDBGStopMode (void) |
Enable the Debug Module during Domain1/CDomain STOP mode. | |
void | HAL_DBGMCU_DisableDBGStopMode (void) |
Disable the Debug Module during Domain1/CDomain STOP mode. | |
void | HAL_DBGMCU_EnableDBGStandbyMode (void) |
Enable the Debug Module during Domain1/CDomain STANDBY mode. | |
void | HAL_DBGMCU_DisableDBGStandbyMode (void) |
Disable the Debug Module during Domain1/CDomain STANDBY mode. | |
void | HAL_EXTI_EdgeConfig (uint32_t EXTI_Line, uint32_t EXTI_Edge) |
Configure the EXTI input event line edge. | |
void | HAL_EXTI_GenerateSWInterrupt (uint32_t EXTI_Line) |
Generates a Software interrupt on selected EXTI line. | |
void | HAL_EXTI_D1_ClearFlag (uint32_t EXTI_Line) |
Clears the EXTI's line pending flags for Domain D1. | |
void | HAL_EXTI_D1_EventInputConfig (uint32_t EXTI_Line, uint32_t EXTI_Mode, uint32_t EXTI_LineCmd) |
Configure the EXTI input event line for Domain D1. | |
void | HAL_EXTI_D3_EventInputConfig (uint32_t EXTI_Line, uint32_t EXTI_LineCmd, uint32_t EXTI_ClearSrc) |
Configure the EXTI input event line for Domain D3. | |
void | HAL_SetFMCMemorySwappingConfig (uint32_t BankMapConfig) |
Set the FMC Memory Mapping Swapping config. | |
uint32_t | HAL_GetFMCMemorySwappingConfig (void) |
Get FMC Bank mapping mode. | |
void | HAL_SYSCFG_VREFBUF_VoltageScalingConfig (uint32_t VoltageScaling) |
Configure the internal voltage reference buffer voltage scale. | |
void | HAL_SYSCFG_VREFBUF_HighImpedanceConfig (uint32_t Mode) |
Configure the internal voltage reference buffer high impedance mode. | |
void | HAL_SYSCFG_VREFBUF_TrimmingConfig (uint32_t TrimmingValue) |
Tune the Internal Voltage Reference buffer (VREFBUF). | |
HAL_StatusTypeDef | HAL_SYSCFG_EnableVREFBUF (void) |
Enable the Internal Voltage Reference buffer (VREFBUF). | |
void | HAL_SYSCFG_DisableVREFBUF (void) |
Disable the Internal Voltage Reference buffer (VREFBUF). | |
void HAL_DBGMCU_DisableDBGSleepMode | ( | void | ) |
Disable the Debug Module during Domain1/CDomain SLEEP mode.
None |
void HAL_DBGMCU_DisableDBGStandbyMode | ( | void | ) |
Disable the Debug Module during Domain1/CDomain STANDBY mode.
None |
void HAL_DBGMCU_DisableDBGStopMode | ( | void | ) |
Disable the Debug Module during Domain1/CDomain STOP mode.
None |
void HAL_DBGMCU_EnableDBGSleepMode | ( | void | ) |
Enable the Debug Module during Domain1/CDomain SLEEP mode.
None |
void HAL_DBGMCU_EnableDBGStandbyMode | ( | void | ) |
Enable the Debug Module during Domain1/CDomain STANDBY mode.
None |
void HAL_DBGMCU_EnableDBGStopMode | ( | void | ) |
Enable the Debug Module during Domain1/CDomain STOP mode.
None |
void HAL_Delay | ( | uint32_t | Delay | ) |
This function provides minimum delay (in milliseconds) based on variable incremented.
Delay | specifies the delay time length, in milliseconds. |
None |
void HAL_DisableCompensationCell | ( | void | ) |
Power-down the I/O Compensation Cell.
None |
void HAL_EnableCompensationCell | ( | void | ) |
Enables the I/O Compensation Cell.
None |
void HAL_EXTI_D1_ClearFlag | ( | uint32_t | EXTI_Line | ) |
Clears the EXTI's line pending flags for Domain D1.
EXTI_Line | Specifies the EXTI LINE, it can be one of the following values, (EXTI_LINE0....EXTI_LINE87)excluding :line45, line81,line83 which are reserved |
None |
void HAL_EXTI_D1_EventInputConfig | ( | uint32_t | EXTI_Line, |
uint32_t | EXTI_Mode, | ||
uint32_t | EXTI_LineCmd | ||
) |
Configure the EXTI input event line for Domain D1.
EXTI_Line | Specifies the EXTI LINE, it can be one of the following values, (EXTI_LINE0....EXTI_LINE87)excluding :line45, line81,line83 which are reserved |
EXTI_Mode | Specifies which EXTI line is used as interrupt or an event. This parameter can be one or a combination of the following values :
|
EXTI_LineCmd | controls (Enable/Disable) the EXTI line. |
None |
void HAL_EXTI_D3_EventInputConfig | ( | uint32_t | EXTI_Line, |
uint32_t | EXTI_LineCmd, | ||
uint32_t | EXTI_ClearSrc | ||
) |
Configure the EXTI input event line for Domain D3.
EXTI_Line | Specifies the EXTI LINE, it can be one of the following values, (EXTI_LINE0...EXTI_LINE15),(EXTI_LINE19...EXTI_LINE21),EXTI_LINE25, EXTI_LINE34, EXTI_LINE35,EXTI_LINE41,(EXTI_LINE48...EXTI_LINE53) |
EXTI_LineCmd | controls (Enable/Disable) the EXTI line. |
EXTI_ClearSrc | Specifies the clear source of D3 pending event. This parameter can be one of the following values :
|
None |
void HAL_EXTI_EdgeConfig | ( | uint32_t | EXTI_Line, |
uint32_t | EXTI_Edge | ||
) |
Configure the EXTI input event line edge.
EXTI_Line | Specifies the EXTI LINE, it can be one of the following values, (EXTI_LINE0....EXTI_LINE87)excluding :line45, line81,line83 which are reserved |
EXTI_Edge | Specifies EXTI line Edge used. This parameter can be one of the following values :
|
None |
void HAL_EXTI_GenerateSWInterrupt | ( | uint32_t | EXTI_Line | ) |
Generates a Software interrupt on selected EXTI line.
EXTI_Line | Specifies the EXTI LINE, it can be one of the following values, (EXTI_LINE0..EXTI_LINE21),EXTI_LINE49,EXTI_LINE51,EXTI_LINE82,EXTI_LINE84,EXTI_LINE85 and EXTI_LINE86. |
None |
uint32_t HAL_GetDEVID | ( | void | ) |
Returns the device identifier.
Device | identifier |
uint32_t HAL_GetFMCMemorySwappingConfig | ( | void | ) |
Get FMC Bank mapping mode.
The | FMC Bank mapping mode. This parameter can be FMC_SWAPBMAP_DISABLE, FMC_SWAPBMAP_SDRAM_SRAM, FMC_SWAPBMAP_SDRAMB2 |
uint32_t HAL_GetHalVersion | ( | void | ) |
Returns the HAL revision.
version | : 0xXYZR (8bits for each decimal, R for RC) |
uint32_t HAL_GetREVID | ( | void | ) |
Returns the device revision identifier.
Device | revision identifier |
uint32_t HAL_GetTick | ( | void | ) |
Provides a tick value in millisecond.
tick | value |
HAL_TickFreqTypeDef HAL_GetTickFreq | ( | void | ) |
Return tick frequency.
Tick | frequency. Value of HAL_TickFreqTypeDef. |
uint32_t HAL_GetTickPrio | ( | void | ) |
This function returns a tick priority.
tick | priority |
uint32_t HAL_GetUIDw0 | ( | void | ) |
Return the first word of the unique device identifier (UID based on 96 bits)
Device | identifier |
uint32_t HAL_GetUIDw1 | ( | void | ) |
Return the second word of the unique device identifier (UID based on 96 bits)
Device | identifier |
uint32_t HAL_GetUIDw2 | ( | void | ) |
Return the third word of the unique device identifier (UID based on 96 bits)
Device | identifier |
void HAL_IncTick | ( | void | ) |
This function is called to increment a global variable "uwTick" used as application time base.
None |
void HAL_ResumeTick | ( | void | ) |
Resume Tick increment.
None |
None |
None |
None |
None |
void HAL_SetFMCMemorySwappingConfig | ( | uint32_t | BankMapConfig | ) |
Set the FMC Memory Mapping Swapping config.
BankMapConfig | Defines the FMC Bank mapping configuration. This parameter can be FMC_SWAPBMAP_DISABLE, FMC_SWAPBMAP_SDRAM_SRAM, FMC_SWAPBMAP_SDRAMB2 |
HAL | state |
HAL_StatusTypeDef HAL_SetTickFreq | ( | HAL_TickFreqTypeDef | Freq | ) |
Set new tick Freq.
Status |
void HAL_SuspendTick | ( | void | ) |
Suspend Tick increment.
None |
None |
None |
None |
None |
void HAL_SYSCFG_AnalogSwitchConfig | ( | uint32_t | SYSCFG_AnalogSwitch, |
uint32_t | SYSCFG_SwitchState | ||
) |
Analog Switch control for dual analog pads.
SYSCFG_AnalogSwitch | Selects the analog pad This parameter can be one or a combination of the following values:
|
SYSCFG_SwitchState | Open or Close the analog switch between dual pads (PXn and PXn_C) This parameter can be one or a combination of the following values:
|
None |
void HAL_SYSCFG_CompensationCodeConfig | ( | uint32_t | SYSCFG_PMOSCode, |
uint32_t | SYSCFG_NMOSCode | ||
) |
Code selection for the I/O Compensation cell.
SYSCFG_PMOSCode | PMOS compensation code This code is applied to the I/O compensation cell when the CS bit of the SYSCFG_CMPCR is set |
SYSCFG_NMOSCode | NMOS compensation code This code is applied to the I/O compensation cell when the CS bit of the SYSCFG_CMPCR is set |
None |
void HAL_SYSCFG_CompensationCodeSelect | ( | uint32_t | SYSCFG_CompCode | ) |
Code selection for the I/O Compensation cell.
SYSCFG_CompCode | Selects the code to be applied for the I/O compensation cell This parameter can be one of the following values:
|
None |
void HAL_SYSCFG_DisableIOSpeedOptimize | ( | void | ) |
To Disable optimize the I/O speed when the product voltage is low.
None |
void HAL_SYSCFG_DisableVREFBUF | ( | void | ) |
Disable the Internal Voltage Reference buffer (VREFBUF).
None |
void HAL_SYSCFG_EnableIOSpeedOptimize | ( | void | ) |
To Enable optimize the I/O speed when the product voltage is low.
None |
HAL_StatusTypeDef HAL_SYSCFG_EnableVREFBUF | ( | void | ) |
Enable the Internal Voltage Reference buffer (VREFBUF).
HAL_OK/HAL_TIMEOUT |
void HAL_SYSCFG_VREFBUF_HighImpedanceConfig | ( | uint32_t | Mode | ) |
Configure the internal voltage reference buffer high impedance mode.
Mode | specifies the high impedance mode This parameter can be one of the following values:
|
None |
void HAL_SYSCFG_VREFBUF_TrimmingConfig | ( | uint32_t | TrimmingValue | ) |
Tune the Internal Voltage Reference buffer (VREFBUF).
None |
void HAL_SYSCFG_VREFBUF_VoltageScalingConfig | ( | uint32_t | VoltageScaling | ) |
Configure the internal voltage reference buffer voltage scale.
VoltageScaling | specifies the output voltage to achieve This parameter can be one of the following values:
|
None |