2020-08-20 05:28 AM
Hello,
there's a user button on that board. I'd like to attach this button to an interrupt handler.
I have to enable this button for interrupts. It should be done by setting some bit in some register called SETENA0 or maybe SETENA1 or something like that. Perhaps also I need to synchronize the clock with that button or something like that by setting some bits somewhere in some of the GPIOA or GPIOstuff registers, or something.
But I read the entire manual of the nucleo (more than 900 pages), they don't talk about the button. Where are the registers associated to this particular button located?
Thanks for the help.
2020-08-20 06:16 AM
From the user manual:
2020-08-20 06:23 AM
Oh, thanks. I was reading the reference manual. I didn't think the user manual had that kind of information. Thank you.
2020-08-20 06:57 AM
No problem.
The reference manual has data specific to that family of chips.
The datasheet has information specific to that chip number.
The nucleo user manual has info specific to that board.
2020-08-20 07:31 AM
Of course, you're right, the reference manual is about the chips, not about the boards. If I remember well I had downloaded the reference manual from the same page as the user manual for the nucleo so maybe that's why I associated this manual to the nucleo.