Hey Alice,
The pin is being used as pwm, and with the following characteristics:
const uint32_t port3_pin10_config = (
IOCON_PIO_FUNC3 |
IOCON_PIO_MODE_INACT | // I tried using the MODE_PULLDOWN function
IOCON_PIO_INV_DI |
IOCON_PIO_DIGITAL_EN |
IOCON_PIO_INPFILT_OFF |
IOCON_PIO_SLEW_STANDARD |
IOCON_PIO_OPENDRAIN_DI
);
IOCON_PinMuxSet(IOCON, PORT3_IDX, PIN10_IDX, port3_pin10_config);
In this way, the output of this pin is connected to the non-inverting port of an Ampop 741.
Regards, RA.