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

nRF52: No function called nrf_drv_gpiote_out_config()

I'm sure there is something obvious that I am missing, but bear with me. The following link references a function called: nrf_drv_gpiote_out_config :

infocenter.nordicsemi.com/.../hardware_driver_gpiote.html

It is the the example code that is supposed to set pin 10 to high.

I cannot find a single reference or piece of documentation that describes this function, or even confirms that it exits, yet this function call is referenced all the time.

I have searched every file in the 0.9.1 version of the nRF52 SDK and found nothing other than the struct which is called nrf_drv_gpiote_out_config_t.

What obvious thing escapes me?

Parents
  • The only one place I see that missing function is in the paragraph about pin initialisation, where it's clearly a documentation error. 20 lines before it tells you the function to call is nrf_drv_gpiote_out_init(), it's just wrong in the code snippet as far as I can tell.

    Where else is that function referenced?

    PS Can we go back to having an offline copy of the documentation for each SDK included with the SDK or available as a separate download. You don't always have an internet connection available to search the infocenter.

Reply
  • The only one place I see that missing function is in the paragraph about pin initialisation, where it's clearly a documentation error. 20 lines before it tells you the function to call is nrf_drv_gpiote_out_init(), it's just wrong in the code snippet as far as I can tell.

    Where else is that function referenced?

    PS Can we go back to having an offline copy of the documentation for each SDK included with the SDK or available as a separate download. You don't always have an internet connection available to search the infocenter.

Children
Related