![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
Macros | |
#define | __HAL_TIM_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_TIM_STATE_RESET) |
Reset TIM handle state. More... | |
#define | __HAL_TIM_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1|=(TIM_CR1_CEN)) |
Enable the TIM peripheral. More... | |
#define | __HAL_TIM_URS_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1|=(TIM_CR1_URS)) |
Enable the TIM update source request. More... | |
#define | __HAL_TIM_MOE_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->BDTR|=(TIM_BDTR_MOE)) |
Enable the TIM main Output. More... | |
#define | TIM_CCER_CCxE_MASK ((uint32_t)(TIM_CCER_CC1E | TIM_CCER_CC2E | TIM_CCER_CC3E | TIM_CCER_CC4E)) |
#define | TIM_CCER_CCxNE_MASK ((uint32_t)(TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE)) |
#define | __HAL_TIM_DISABLE(__HANDLE__) |
Disable the TIM peripheral. More... | |
#define | __HAL_TIM_URS_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR1&=~(TIM_CR1_URS)) |
Disable the TIM update source request. More... | |
#define | __HAL_TIM_MOE_DISABLE(__HANDLE__) |
Disable the TIM main Output. More... | |
#define | __HAL_TIM_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->DIER |= (__INTERRUPT__)) |
#define | __HAL_TIM_ENABLE_DMA(__HANDLE__, __DMA__) ((__HANDLE__)->Instance->DIER |= (__DMA__)) |
#define | __HAL_TIM_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->DIER &= ~(__INTERRUPT__)) |
#define | __HAL_TIM_DISABLE_DMA(__HANDLE__, __DMA__) ((__HANDLE__)->Instance->DIER &= ~(__DMA__)) |
#define | __HAL_TIM_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->SR &(__FLAG__)) == (__FLAG__)) |
#define | __HAL_TIM_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR = ~(__FLAG__)) |
#define | __HAL_TIM_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((__HANDLE__)->Instance->DIER & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
#define | __HAL_TIM_CLEAR_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->SR = ~(__INTERRUPT__)) |
#define | __HAL_TIM_IS_TIM_COUNTING_DOWN(__HANDLE__) (((__HANDLE__)->Instance->CR1 &(TIM_CR1_DIR)) == (TIM_CR1_DIR)) |
#define | __HAL_TIM_SET_PRESCALER (__HANDLE__, __PRESC__) ((__HANDLE__)->Instance->PSC = (__PRESC__)) |
#define | TIM_SET_ICPRESCALERVALUE(__HANDLE__, __CHANNEL__, __ICPSC__) |
#define | TIM_RESET_ICPRESCALERVALUE(__HANDLE__, __CHANNEL__) |
#define | TIM_SET_CAPTUREPOLARITY(__HANDLE__, __CHANNEL__, __POLARITY__) |
#define | TIM_RESET_CAPTUREPOLARITY(__HANDLE__, __CHANNEL__) |
#define | __HAL_TIM_SET_COUNTER(__HANDLE__, __COUNTER__) ((__HANDLE__)->Instance->CNT = (__COUNTER__)) |
Sets the TIM Counter Register value on runtime. More... | |
#define | __HAL_TIM_GET_COUNTER(__HANDLE__) ((__HANDLE__)->Instance->CNT) |
Gets the TIM Counter Register value on runtime. More... | |
#define | __HAL_TIM_SET_AUTORELOAD(__HANDLE__, __AUTORELOAD__) |
Sets the TIM Autoreload Register value on runtime without calling another time any Init function. More... | |
#define | __HAL_TIM_GET_AUTORELOAD(__HANDLE__) ((__HANDLE__)->Instance->ARR) |
Gets the TIM Autoreload Register value on runtime. More... | |
#define | __HAL_TIM_SET_CLOCKDIVISION(__HANDLE__, __CKD__) |
Sets the TIM Clock Division value on runtime without calling another time any Init function. More... | |
#define | __HAL_TIM_GET_CLOCKDIVISION(__HANDLE__) ((__HANDLE__)->Instance->CR1 & TIM_CR1_CKD) |
Gets the TIM Clock Division value on runtime. More... | |
#define | __HAL_TIM_SET_ICPRESCALER(__HANDLE__, __CHANNEL__, __ICPSC__) |
Sets the TIM Input Capture prescaler on runtime without calling another time HAL_TIM_IC_ConfigChannel() function. More... | |
#define | __HAL_TIM_GET_ICPRESCALER(__HANDLE__, __CHANNEL__) |
Gets the TIM Input Capture prescaler on runtime. More... | |
#define | __HAL_TIM_SET_CAPTUREPOLARITY(__HANDLE__, __CHANNEL__, __POLARITY__) |
Sets the TIM Capture x input polarity on runtime. More... | |
#define __HAL_TIM_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->SR = ~(__FLAG__)) |
Definition at line 907 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_CLEAR_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->SR = ~(__INTERRUPT__)) |
Definition at line 910 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_DISABLE | ( | __HANDLE__ | ) |
Disable the TIM peripheral.
<strong>HANDLE</strong> | TIM handle |
None |
Definition at line 865 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_DISABLE_DMA | ( | __HANDLE__, | |
__DMA__ | |||
) | ((__HANDLE__)->Instance->DIER &= ~(__DMA__)) |
Definition at line 905 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->DIER &= ~(__INTERRUPT__)) |
Definition at line 904 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1|=(TIM_CR1_CEN)) |
Enable the TIM peripheral.
<strong>HANDLE</strong> | TIM handle |
None |
Definition at line 838 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_ENABLE_DMA | ( | __HANDLE__, | |
__DMA__ | |||
) | ((__HANDLE__)->Instance->DIER |= (__DMA__)) |
Definition at line 903 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->DIER |= (__INTERRUPT__)) |
Definition at line 902 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_GET_AUTORELOAD | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->ARR) |
Gets the TIM Autoreload Register value on runtime.
<strong>HANDLE</strong> | TIM handle. |
None |
Definition at line 971 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_GET_CLOCKDIVISION | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1 & TIM_CR1_CKD) |
Gets the TIM Clock Division value on runtime.
<strong>HANDLE</strong> | TIM handle. |
None |
Definition at line 995 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_GET_COUNTER | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CNT) |
Gets the TIM Counter Register value on runtime.
<strong>HANDLE</strong> | TIM handle. |
None |
Definition at line 952 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((__HANDLE__)->Instance->SR &(__FLAG__)) == (__FLAG__)) |
Definition at line 906 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_GET_ICPRESCALER | ( | __HANDLE__, | |
__CHANNEL__ | |||
) |
Gets the TIM Input Capture prescaler on runtime.
<strong>HANDLE</strong> | TIM handle. |
<strong>CHANNEL</strong> | : TIM Channels to be configured. This parameter can be one of the following values:
|
None |
Definition at line 1032 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((((__HANDLE__)->Instance->DIER & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Definition at line 909 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_IS_TIM_COUNTING_DOWN | ( | __HANDLE__ | ) | (((__HANDLE__)->Instance->CR1 &(TIM_CR1_DIR)) == (TIM_CR1_DIR)) |
Definition at line 912 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_MOE_DISABLE | ( | __HANDLE__ | ) |
Disable the TIM main Output.
<strong>HANDLE</strong> | TIM handle |
None |
Definition at line 891 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_MOE_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->BDTR|=(TIM_BDTR_MOE)) |
Enable the TIM main Output.
<strong>HANDLE</strong> | TIM handle |
None |
Definition at line 852 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_TIM_STATE_RESET) |
Reset TIM handle state.
<strong>HANDLE</strong> | TIM handle |
None |
Definition at line 831 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_SET_AUTORELOAD | ( | __HANDLE__, | |
__AUTORELOAD__ | |||
) |
Sets the TIM Autoreload Register value on runtime without calling another time any Init function.
<strong>HANDLE</strong> | TIM handle. |
<strong>AUTORELOAD</strong> | specifies the Counter register new value. |
None |
Definition at line 961 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_SET_CAPTUREPOLARITY | ( | __HANDLE__, | |
__CHANNEL__, | |||
__POLARITY__ | |||
) |
Sets the TIM Capture x input polarity on runtime.
<strong>HANDLE</strong> | TIM handle. |
<strong>CHANNEL</strong> | TIM Channels to be configured. This parameter can be one of the following values:
|
<strong>POLARITY</strong> | Polarity for TIx source
|
None |
Definition at line 1054 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_SET_CLOCKDIVISION | ( | __HANDLE__, | |
__CKD__ | |||
) |
Sets the TIM Clock Division value on runtime without calling another time any Init function.
<strong>HANDLE</strong> | TIM handle. |
<strong>CKD</strong> | specifies the clock division value. This parameter can be one of the following value:
|
None |
Definition at line 984 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_SET_COUNTER | ( | __HANDLE__, | |
__COUNTER__ | |||
) | ((__HANDLE__)->Instance->CNT = (__COUNTER__)) |
Sets the TIM Counter Register value on runtime.
<strong>HANDLE</strong> | TIM handle. |
<strong>COUNTER</strong> | specifies the Counter register new value. |
None |
Definition at line 945 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_SET_ICPRESCALER | ( | __HANDLE__, | |
__CHANNEL__, | |||
__ICPSC__ | |||
) |
Sets the TIM Input Capture prescaler on runtime without calling another time HAL_TIM_IC_ConfigChannel() function.
<strong>HANDLE</strong> | TIM handle. |
<strong>CHANNEL</strong> | : TIM Channels to be configured. This parameter can be one of the following values:
|
<strong>ICPSC</strong> | specifies the Input Capture4 prescaler new value. This parameter can be one of the following values:
|
None |
Definition at line 1015 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_SET_PRESCALER (__HANDLE__, __PRESC__) ((__HANDLE__)->Instance->PSC = (__PRESC__)) |
Definition at line 913 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_URS_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1&=~(TIM_CR1_URS)) |
Disable the TIM update source request.
<strong>HANDLE</strong> | TIM handle |
None |
Definition at line 881 of file stm32f7xx_hal_tim.h.
#define __HAL_TIM_URS_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR1|=(TIM_CR1_URS)) |
Enable the TIM update source request.
<strong>HANDLE</strong> | TIM handle |
None |
Definition at line 845 of file stm32f7xx_hal_tim.h.
#define TIM_CCER_CCxE_MASK ((uint32_t)(TIM_CCER_CC1E | TIM_CCER_CC2E | TIM_CCER_CC3E | TIM_CCER_CC4E)) |
Definition at line 857 of file stm32f7xx_hal_tim.h.
#define TIM_CCER_CCxNE_MASK ((uint32_t)(TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE)) |
Definition at line 858 of file stm32f7xx_hal_tim.h.
#define TIM_RESET_CAPTUREPOLARITY | ( | __HANDLE__, | |
__CHANNEL__ | |||
) |
Definition at line 933 of file stm32f7xx_hal_tim.h.
#define TIM_RESET_ICPRESCALERVALUE | ( | __HANDLE__, | |
__CHANNEL__ | |||
) |
Definition at line 921 of file stm32f7xx_hal_tim.h.
#define TIM_SET_CAPTUREPOLARITY | ( | __HANDLE__, | |
__CHANNEL__, | |||
__POLARITY__ | |||
) |
Definition at line 927 of file stm32f7xx_hal_tim.h.
#define TIM_SET_ICPRESCALERVALUE | ( | __HANDLE__, | |
__CHANNEL__, | |||
__ICPSC__ | |||
) |
Definition at line 915 of file stm32f7xx_hal_tim.h.