Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement "virtualization" of 16 bits timer to 32 bits timer in hal-mc4plus. #77

Open
valegagge opened this issue Sep 15, 2016 · 0 comments

Comments

@valegagge
Copy link
Member

In ordet to read a quand_enc, HAL libary reads conuter of timer connected to the motor.
In mc4plus there are two 16-bits timer (TIM3 and TIM4) and two 32-bits timer(TIM2 and TIM5).

In some cases, like pronosupination of icub, 16 bits are not enought. hance, the need to implement this improvement.

The implementation could use the interrupt on overflow of timer counter register.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant