Using MCUXpresso Config Tools to specify pin direction

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using MCUXpresso Config Tools to specify pin direction

755 Views
aberger
Contributor V

I am using MCUXpresso Config Tools to generate the BOARD_InitPins() function. I am trying to initialize a couple of pins as GPIO (some as input, others as output). I am able to set the routed pin direction on the "Routed Pins" tab, but it seems that there is no code generated that actually sets the port direction register.

Is Config Tools able to generate C code to configure the port data direction?

0 Kudos
1 Reply

457 Views
liborukropec
NXP Employee
NXP Employee

Hello Andy,

today is available Config Tools v4.1 which generates the code for the direction, when configured in the tool.

Regards,

Libor

0 Kudos