Skip to main content
TFuji.4
Associate II
March 26, 2019
Solved

What is the file that sets the register?

  • March 26, 2019
  • 2 replies
  • 867 views

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.
Best answer by Mohamed Aymen HZAMI

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
March 27, 2019

Hello,

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

Best Regards,

Mohamed Aymen.

TFuji.4
TFuji.4Author
Associate II
March 27, 2019

Hi, Mohamed-san,

Thank you for your reply.

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

Best regards,

Toru