2020-09-04 03:40 AM
I recently changed the chip i'm using for a project. I'm trying to port code between an STM32F031K6 and an STM32L412K8 but some of the registers seems to be called different things. In particular any reference to
ADC1->CHSELR
doesn't work. Where can I find a list of all the register names? Im using cubeIDE in case that makes a difference
Solved! Go to Solution.
2020-09-04 05:04 AM
Starting with "Drivers/", the path is the same in the CubeF0 installation on your computer.
ADCs between various STM32 families differ quite a lot, so you will probably need to read and compare the ADC chapters for both anyway.
JW
2020-09-04 03:48 AM
The Reference Manual?
For structures, look at the part and peripheral specific Include files.
2020-09-04 03:51 AM
thanks which is the specific include file i need to look at?
2020-09-04 04:05 AM
Try right clicking dependencies, or using find-in-file or grep type searches?
2020-09-04 05:04 AM
Starting with "Drivers/", the path is the same in the CubeF0 installation on your computer.
ADCs between various STM32 families differ quite a lot, so you will probably need to read and compare the ADC chapters for both anyway.
JW