The main function of the GPIO peripheral is to provide direct access to device pins from withing the PS and to allow software designers to drive pins through application software in a highly flexible manner. This is useful for a wide variety of system applications to control external hardware components and implement general purpose interfaces between devices. The GPIO peripheral also provides an interrupt capability through an event detection unit. The basic functions of a bank of GPIO pins are illustrated in This Figure.