Functional Description
32 digital GPIOs can be used:
- For general purpose input/output GPIOs.
 - To multiplex different peripherals on different output pins of the package.
 - To multiplex debug signals from different blocks of the GR551x SoC.
 
8 digital GPIOs in the AON domain can be configured:
- As wakeup sources from deep sleep.
 - Output 2 MHz clocks.
 - As digital GPIOs for input/output.
 - To multiplex some different peripherals.
 
5 mixed-signal GPIOs can be configured:
- As input to the sense ADC or Wakeup Comparator.
 - As digital GPIOs for input /output.
 - To multiplex some different peripherals.
 
A functional drawing of the GPIO pad is shown in 图 22. The digital GPIO pads can be configured to set direction, enable pull-up/pull-down resistors and enable output retention.