CTL_STATUS_t platform_digital_pin_direction(int pin);
platform_digital_pin_direction returns the digital I/O pin direction for pin pin configured as a digital I/O.
This function is fast and does no error checking whatsoever: it is the client's responsibility to use this function correctly.
PLATFORM_PIN_DIRECTION_t, platform_set_digital_pin_direction