Skip to content

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Jun 3, 2022

This PR exports some getter api:

uint32_t get_adc_channel(PinName pin, uint32_t *bank);
uint32_t get_adc_internal_channel(PinName pin);
uint32_t get_dac_channel(PinName pin);

Fixes #1669

@fpistm fpistm added enhancement New feature or request fix 🩹 Bug fix labels Jun 3, 2022
@fpistm fpistm added this to the 2.3.0 milestone Jun 3, 2022
@fpistm fpistm requested a review from ABOSTM June 3, 2022 15:46
@fpistm fpistm marked this pull request as draft June 3, 2022 16:33
@fpistm fpistm force-pushed the review_channel_function branch from ee9109d to f406f68 Compare June 7, 2022 15:54
@fpistm fpistm marked this pull request as ready for review June 8, 2022 09:03
Copy link
Contributor

@ABOSTM ABOSTM left a comment

Choose a reason for hiding this comment

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

Minor comment otherwise LGTM

fpistm added 5 commits June 8, 2022 14:30
Moved from analog.* to timer.*.

Signed-off-by: Frederic Pillon <[email protected]>
as 0 can be a valid value.

Signed-off-by: Frederic Pillon <[email protected]>
@fpistm fpistm force-pushed the review_channel_function branch from f406f68 to f731fdb Compare June 8, 2022 12:37
@fpistm fpistm merged commit b715820 into stm32duino:main Jun 8, 2022
@fpistm fpistm deleted the review_channel_function branch June 8, 2022 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fix 🩹 Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exposing get_adc_channel function
2 participants