The Kinetis SDK provides a HAL driver for the Port Control and Interrupts (PORT) block of Kinetis devices.