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

drivers: sensor: npm1300_charger: expose VBUS status #81430

Merged

Conversation

seov-nordic
Copy link
Contributor

Add possibility to retrieve VBUS status of the nPM1300 charger through its sensor APIs. Updated shields/npm1300_ek sample to use the new API.

kartben
kartben previously approved these changes Nov 18, 2024
return ret;
}

switch ((uint32_t)attr) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

non-blocking: cast to enum sensor_attribute_npm1300_charger instead

Add possibility to retrieve VBUS status of the nPM1300 charger through
its sensor APIs. Updated shields/npm1300_ek sample to use the new API.

Signed-off-by: Sergei Ovchinnikov <[email protected]>
@kartben kartben assigned MaureenHelm and unassigned kartben Nov 19, 2024
@nashif nashif merged commit 55c6a0e into zephyrproject-rtos:main Nov 19, 2024
23 checks passed
Copy link

Hi @seov-nordic!
Congratulations on getting your very first Zephyr pull request merged 🎉🥳. This is a fantastic achievement, and we're thrilled to have you as part of our community!

To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge.

Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Samples Samples area: Sensors Sensors area: Shields Shields (add-on boards) platform: nRF Nordic nRFx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants