-
Notifications
You must be signed in to change notification settings - Fork 1
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
Initial interlock configuration and RF channel management structure #27
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double checked pins, pin modes, power down state and sequence, i2c channels, conversion factors.
Note that I realized there's an issue with how the analog pins are implemented (since they are downgraded, we can't pass them to the ADC). I'll implement a refactor for this in a follow-on PR. |
This PR implements the
BoosterChannels
management object that is responsible for detecting, instantiating, and interfacing to all Booster RF channels.Instantiating a channel currently implements an algorithm to query for devices on the I2C bus after properly powering up the channel.
The only currently-implemented functionality is the ability to configure interlock thresholds. All thresholds are defaulted to -30dBm.
This structure should allow for extensible control of the channel as the underlying object has all of the available I2C devices instantiated.
The only resource not yet present in RF channels are their reflected and output power ADC inputs. I'll add these in the future when I add support for measuring these signals.