Solved
Counter? Nucleo L476RG
Can someone tell me when I use
uint16_t temp;
temp = __HAL_TIM_GET_COUNTER(&htim2);the above why temp doesn't equal the TIM2 CNT register in the debugger? I've also tried
temp = htim2.Instance->CNT;Can someone tell me when I use
uint16_t temp;
temp = __HAL_TIM_GET_COUNTER(&htim2);the above why temp doesn't equal the TIM2 CNT register in the debugger? I've also tried
temp = htim2.Instance->CNT;Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.