Here is an initial skeleton for what I'm envisioning the interface for interacting with the gate driver to look like. A lot of this stuff is STM internal (i.e. the current ADCs) so we prob don't need "drivers" for that, but for the actual isolated ADC we probably do.
Notes
Moving forward, we are gonna have to be super anal about signal synchronization. Especially for PWM, we want to calculate all the PWM values to write and then write them all at once in an ideal world. I can take more of a look at how STM does this in our example code that was generated.
Test Cases
Made sure it built, since its a skeleton there isn't functionality yet
To Do
Lot of stuff outside of this PR to address in future tickets
It can be helpful to check the Checks and Files changed tabs.
Please reach out to your Project Lead if anything is unclear.
Please request reviewers and ping on slack only after you've gone through this whole checklist.
[x] All commits are tagged with the ticket number
[x] No merge conflicts
[x] All checks passing
[x] Remove any non-applicable sections of this template
[x] Assign the PR to yourself
[x] Request reviewers & ping on Slack
[x] PR is linked to the ticket (fill in the closes line below)
Changes
Here is an initial skeleton for what I'm envisioning the interface for interacting with the gate driver to look like. A lot of this stuff is STM internal (i.e. the current ADCs) so we prob don't need "drivers" for that, but for the actual isolated ADC we probably do.
Notes
Moving forward, we are gonna have to be super anal about signal synchronization. Especially for PWM, we want to calculate all the PWM values to write and then write them all at once in an ideal world. I can take more of a look at how STM does this in our example code that was generated.
Test Cases
To Do
Checklist
It can be helpful to check the
Checks
andFiles changed
tabs. Please reach out to your Project Lead if anything is unclear. Please request reviewers and ping on slack only after you've gone through this whole checklist.Closes #3