I've been trying to control a BLDC motor with Micro STM32f10xx series. I want to apply the output of the hall effect sensor to the micro. now I found that STM32f10xx have some Hal functions such as HAL_TIMEx_HallSensor_Start() and HAL_TIMEx_HallSensor_GetState(). how can I use these function for my purpose?