typedef enum { PIN_DIRECTION_OUTPUT, PIN_DIRECTION_INPUT } PLATFORM_PIN_DIRECTION_t;
PLATFORM_PIN_DIRECTION_t describes whether a pin will be configured as a digital input or a digital output using platform_set_digital_pin_direction.
platform_set_digital_pin_direction