Skip to content

What is the meaning of ADCSD in the PeripherialPins.c #48

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

Closed
michsens opened this issue Oct 31, 2019 · 1 comment
Closed

What is the meaning of ADCSD in the PeripherialPins.c #48

michsens opened this issue Oct 31, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@michsens
Copy link

Hello,

in the PinMap_ADC are several lines like:
//{PB_0, ADCSD1,STM_PIN_DATA_EXT(STM_MODE_ANALOG, GPIO_NOPULL, 0, A6P, 0)}, // SDADC1_AIN6P

What is the meaining of this?

I first thought those lines belong to the SDADC, for example in the STM32F373. But uncomment a line leads to errors. First ADCSD1 seem nowhere to be defined. Changing this to SDADC1 throws an error about A6P is not defined.

In which case are these lines to be used?

Thanks.

@michsens michsens changed the title What is the meaning of ADCSD in the Peripherial.c What is the meaning of ADCSD in the PeripherialPins.c Oct 31, 2019
@fpistm
Copy link
Member

fpistm commented Oct 31, 2019

Well, the PeripheralPins is generate thanks a script and it does not properly manage this.
They should not be in ADC array.

@fpistm fpistm transferred this issue from stm32duino/Arduino_Core_STM32 Oct 31, 2019
@fpistm fpistm closed this as completed in 1643992 Oct 31, 2019
fpistm added a commit that referenced this issue Oct 31, 2019
Fixes #48

Signed-off-by: Frederic Pillon <[email protected]>
@fpistm fpistm added enhancement New feature or request and removed Tool update labels Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants