-
Notifications
You must be signed in to change notification settings - Fork 119
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
nrfx: hal: auxpll: add additional APIs #182
nrfx: hal: auxpll: add additional APIs #182
Conversation
nrfx/hal/nrf_auxpll.h
Outdated
* @param dither_off Turn off dither in sigma delta modulator. | ||
* @param range Loop divider base settings. | ||
*/ | ||
#define AUXPLL_CFGSTATIC_INIT(out_drive, constant_i, sdm_off, dither_off, range) \ |
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.
nit: perhaps it would be good to use here parameter names matching the corresponding fields in nrf_auxpll_config_t
e8f3820
to
e238659
Compare
nrfx/hal/nrf_auxpll.h
Outdated
* @param dither_off Turn off dither in sigma delta modulator. | ||
* @param range Loop divider base settings. | ||
*/ | ||
#define AUXPLL_CFGSTATIC_RAW_INIT(out_drive, constant_i, sdm_off, dither_off, range) \ |
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.
Wouldn't it make sense to use this macro inside nrf_auxpll_config_set()
?
nrfx/hal/nrf_auxpll.h
Outdated
* @param dither_off Turn off dither in sigma delta modulator. | ||
* @param range Loop divider base settings. | ||
*/ | ||
#define AUXPLL_CFGSTATIC_RAW_INIT(out_drive, constant_i, sdm_off, dither_off, range) \ |
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.
This macro name should be prefixed with NRF_
.
Add some additional APIs for AUXPLL that are needed/useful in the Zephyr context. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
RAW accessor/initializer moved to #185 |
Add some additional APIs for AUXPLL that are needed/useful in the Zephyr context.