Peripheral: Adapt GPIO for enum classes and add special support for ISC2.
Adapt SPI for enum classes.