all pios_i2c: moved event enum definition into private header