Confirmation of the Output Level of the Port Set as the Output Port in Traveo™ S6J3110/3120/3200/3300/3310/3320/3330/3340/3350/3360/3370/3400/3510 Series MCUs - KBA221180

Version: **

 

Question:

Is it possible to check the current output level when the port is set to output?

 

Answer:

Yes, you can read the port output level from Port Input Data Register (GPIO_PIDRi) by setting port input as:.

- PPC_PCFGRijj.PIE=1

- GPIO_PORTEN.GPORTEN=1