Skip to main content
TFuji.4
Associate II
Mar 26, 2019 6:54 AM UTC
Solved

What is the file that sets the register?

Hello everyone.

​

I program the MCU for the first time.​

​

I got the "NUCLEO-L496ZG".

Next, I downloaded "STM32CubeL4" from ST homepage.

I run the "\Projects\NUCLEO-L496ZG\Example\ ADC\ADC_DMA_Transfer" for the downloaded file.

I want to change the input pin of the ADC.

But I don't know what files to change.

​

Please teach me the file to set the register first.

​

Best regards,

Toru​

​

​

​

This topic has been closed for replies.
Mohamed Aymen HZAMI
ST Employee
Mar 27, 2019 9:18 AM UTC

Hello,

You can find the ADC input pin define in the main.h file.

Best Regards,

Mohamed Aymen.

2 replies

Mohamed Aymen HZAMI
ST Employee
Mar 27, 2019 9:18 AM UTC

Hello,

You can find the ADC input pin define in the main.h file.

Best Regards,

Mohamed Aymen.

TFuji.4
TFuji.4Author
Associate II
Mar 27, 2019 10:26 AM UTC

Hi, Mohamed-san,

Thank you for your reply.

I will try to change the file of "main.h".

Best regards,

Toru