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

gpiote with FreeRTOS

Hi,

I migrate my code to FreeRTOS environment.

I use SDK12.2.0 ble_hrs_freertos code example as a startup project.

My question is how i need to init gpite?I receive error ,8

  err_code = nrf_drv_gpiote_init(); //!!! err_code  = 8
  APP_ERROR_CHECK(err_code);

And how to receive interrupts from GPIOs

void in_Pin_handler(nrf_drv_gpiote_pin_t pin, nrf_gpiote_polarity_t action)

Thanks

Related