This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

When configuring a pin as a task pin in GPIOTE, is it still possible to use the input buffer?

Hi there,

The PS says that a pin configure as a task will get the output overrided, but does it also get the input overrided?

Regards

Parents Reply
  • David Fernandez said:
    I only need to connect 2 events to master SCL & SDA, and 2 tasks to slave SCL & SDA, but I need to be able to read the actual state on the task pins.

    Taking two events and triggering two tasks in another peripheral is no problem, using individual PPI channels, so lets forget about that scenario.

    You want to read the state of a task pin - what do you mean by this? Do you want to read the actual state of the GPIO taken by a peripheral, or do you want to trigger something when that task occurs?

    It still sounds to me like you want to connect several peripherals to the same GPIO, ie: TWIS and GPIOTE to operate on the same pin.

     

    Best regards,

    Håkon

Children
Related