Pin Names & Registers

25 May 2017

Hello, I'm new to mbed and I just wanted to know where are the pin definitions? I can't seem to find it on the mbed library neither on the MAX32630FTHR library. Also, I wanted to write to a specific register but I assume once I find the definitions I would be good to go. Any kind of help would be really appreciated, thanks.

31 May 2017

You need to look at all the source code. For an online project, remove the precompiled mbed library and import mbed-dev, which is the source for mbed 2. Here's the github page:

https://developer.mbed.org/users/mbed_official/code/mbed/

They keep moving stuff around but the /target folder usually contains target specific stuff. PinNames.h and PeripheralNames.h and PeripheralPins.h are good places to start because you can see what names they've given all the pins and peripherals. For that device:

https://developer.mbed.org/users/mbed_official/code/mbed/file/86740a56073b/TARGET_MAX32630FTHR/TARGET_Maxim/TARGET_MAX32630/TARGET_MAX32630FTHR

01 Jun 2017

Alternatively, you can view the in the platforms page for convenience - https://developer.mbed.org/platforms/MAX32630FTHR/.