cancel
Showing results for 
Search instead for 
Did you mean: 

What is the file that sets the register?

TFuji.4
Associate II

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​

1 ACCEPTED SOLUTION

Accepted Solutions
Mohamed Aymen HZAMI
ST Employee

Hello,

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

Best Regards,

Mohamed Aymen.

View solution in original post

2 REPLIES 2
Mohamed Aymen HZAMI
ST Employee

Hello,

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

Best Regards,

Mohamed Aymen.

TFuji.4
Associate II

Hi, Mohamed-san,

Thank you for your reply.

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

Best regards,

Toru