Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
cubexHal.pdf
Скачиваний:
110
Добавлен:
10.02.2016
Размер:
16.16 Mб
Скачать

HAL CORTEX Generic Driver

 

UM1725

 

and returns the pending bit for the specified interrupt).

Parameters

 

IRQn: External interrupt number. This parameter can be an

 

 

enumerator of IRQn_Type enumeration (For the complete

 

 

STM32 Devices IRQ Channels list, please refer to the

 

 

appropriate CMSIS device file (stm32f4xxxx.h))

Return values

 

status - 0 Interrupt status is not pending. 1 Interrupt status is

 

 

pending.

8.1.14HAL_NVIC_ClearPendingIRQ

Function Name

void HAL_NVIC_ClearPendingIRQ (IRQn_Type IRQn)

Function Description

Clears the pending bit of an external interrupt.

Parameters

 

IRQn: External interrupt number. This parameter can be an

 

 

enumerator of IRQn_Type enumeration (For the complete

 

 

STM32 Devices IRQ Channels list, please refer to the

 

 

appropriate CMSIS device file (stm32f4xxxx.h))

Return values

 

None

8.1.15HAL_NVIC_GetActive

Function Name

uint32_t HAL_NVIC_GetActive (IRQn_Type IRQn)

Function Description

Gets active interrupt ( reads the active register in NVIC and returns

 

the active bit).

Parameters

 

IRQn: External interrupt number This parameter can be an

 

 

enumerator of IRQn_Type enumeration (For the complete

 

 

STM32 Devices IRQ Channels list, please refer to the

 

 

appropriate CMSIS device file (stm32f4xxxx.h))

Return values

 

status - 0 Interrupt status is not pending. 1 Interrupt status is

 

 

pending.

8.1.16HAL_SYSTICK_CLKSourceConfig

Function Name

void HAL_SYSTICK_CLKSourceConfig (uint32_t CLKSource)

Function Description

Configures the SysTick clock source.

Parameters

 

CLKSource: specifies the SysTick clock source. This

 

 

parameter can be one of the following values:

 

 

SYSTICK_CLKSOURCE_HCLK_DIV8: AHB clock divided by

 

 

8 selected as SysTick clock

 

 

source.SYSTICK_CLKSOURCE_HCLK: AHB clock selected

 

 

as SysTick clock source.

Return values

 

None

8.1.17HAL_SYSTICK_IRQHandler

Function Name

void HAL_SYSTICK_IRQHandler (void )

Function Description

This function handles SYSTICK interrupt request.

Return values

None

166/900

DOCID025834 Rev 2

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]