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

[simio] support Timer_B #69

Merged
merged 6 commits into from
Jul 23, 2018
Merged

[simio] support Timer_B #69

merged 6 commits into from
Jul 23, 2018

Conversation

tgtakaoka
Copy link
Contributor

Timer_B is identical to Timer_A with the following exceptions.

  • The interrupt vector word of TBIFG is different than TAIFG one.
  • The length of Timer_B is programable to be 8, 10, 12, or 16 bits.
  • Timer_B TBCCRx registers are double-buffered and can be grouped.
  • The SCCI bit function is not implemented in Timer_B.

@tgtakaoka
Copy link
Contributor Author

Please have a look!

@tgtakaoka tgtakaoka mentioned this pull request Jul 1, 2018
@tgtakaoka
Copy link
Contributor Author

Please hold off on reviewing. I'm writing test code for this.

@dlbeer
Copy link
Owner

dlbeer commented Jul 1, 2018 via email

tgtakaoka and others added 6 commits July 21, 2018 16:00
Timer_B is identical to Timer_A with the following exceptions.

  1. The SCCI bit function is not implemented in Timer_B.
  2. The interrupt vector word of TBIFG is different than TAIFG one.
  3. The length of Timer_B is programable to be 8, 10, 12, or 16 bits.
  4. Timer_B TBCCRx registers can be double-buffered.
  5. Timer_B TBCCRx registers can be grouped.

This change implements 1, 2, and 3.
Double-buffering and grouping TBCCRx will be following.
@tgtakaoka
Copy link
Contributor Author

Hi,
I split the original change into 6.

  • Add timer test.
  • Fix original simio timer to handle timer period changing.
  • Fix original simio timer to handle software initiated capturing.
  • Add basic Timer_B simio implementation.
  • Add double buffering compare latch of Timer_B.
  • Add compare latch grouping of Timer_B.

Please have a look!

@dlbeer dlbeer merged commit f017df6 into dlbeer:master Jul 23, 2018
@dlbeer
Copy link
Owner

dlbeer commented Jul 23, 2018

Excellent, thanks very much for this!

@tgtakaoka tgtakaoka deleted the simio-timer-b branch July 23, 2018 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants