6. input_level

6.1. Function description:

  • This demo shows LGPIO in output mode.

  • Configure GPIO_PIN0 and GPIO_PIN1 as PP output, and configure internal pull-down for continuous level conversion.

6.2. Test result:

If GPIO_PIN0 and GPIO_PIN1 trigger, printf pass, if not printf fail.

6.3. IO connection:

None