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

Meaning of the built in functions

Hi, where can I get access to the definition and meaning and definition of the built in functions and headers of nrf51822? for instance what does this mean: uint8_t err_code = NRF_SUCCESS

Parents
  • Hi. You can search in our documentation page. This page can by found under "Documentation" on nordicsemi.com, or under "SDK and Documentation" on the top of the Devzone page.

    The error codes are for example described here.

    Depending on your IDE (Code/project editor), you can look up definitions directly. In Keil you can right click and choose "Go to definition", or press F12 while marking the variable or function you are interested in.

    As Hung mentioned, NRF_SUCCESS represents that an operation executed successfully. The err_code variable is used to store return codes from various functions in the SDK.

Reply
  • Hi. You can search in our documentation page. This page can by found under "Documentation" on nordicsemi.com, or under "SDK and Documentation" on the top of the Devzone page.

    The error codes are for example described here.

    Depending on your IDE (Code/project editor), you can look up definitions directly. In Keil you can right click and choose "Go to definition", or press F12 while marking the variable or function you are interested in.

    As Hung mentioned, NRF_SUCCESS represents that an operation executed successfully. The err_code variable is used to store return codes from various functions in the SDK.

Children
No Data
Related