Hello Justin Jonas,
Please refer to the following example about how to use GPIO registers.
Set GPDIR_1 = 0h00001000, GPODR_1 = 0h00001000 to configure the GPIO_1[13] pin as output and open drain pin.
Write data to generate the pulses through GPIO_1[13] .
a. Set GPDAT_1 = 0h00001000; (HIGH)
b. Set GPDAT_1 = 0h00000000; (LOW)
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------