changed the GPIO buffers into a unioned structure