Skip to main content
MYAQO.1
Associate II
January 14, 2021
Solved

Register Level Equivalent of LL Statment

  • January 14, 2021
  • 3 replies
  • 1098 views

What would be the register level equivalent of the following statement:

 LL_HRTIM_ClearFlag_REP(HRTIM1, LL_HRTIM_TIMER_MASTER);

This topic has been closed for replies.
Best answer by waclawek.jan

Cube is open source, so you can look it up yourself in Cube's sources.

For example, look at https://github.com/STMicroelectronics/STM32CubeH7/blob/beced99ac090fece04d1e0eb6648b8075e156c6c/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_hrtim.h#L7810

JW

3 replies

MYAQO.1
MYAQO.1Author
Associate II
January 14, 2021

Also,

 HAL_GPIO_WritePin(GPIOB, GPIO_PIN_10, GPIO_PIN_SET);

  HAL_GPIO_WritePin(GPIOB, GPIO_PIN_10, GPIO_PIN_RESET);

Any guide to programming at the register level for all peripherals? Thank you so much!

waclawek.jan
waclawek.janBest answer
Super User
January 14, 2021
MYAQO.1
MYAQO.1Author
Associate II
January 14, 2021

Thanks!