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

Pin_CNF Pullup value

In the nRF51 reference manual, page 59 shows the config value for pullup is 2 (upshift by 2)

In the file nrf51.bitfields.h, at line 2339, we have:

#define GPIO_PIN_CNF_PULL_Pullup (0x03UL) /*!< Pullup on pin. */

Which is correct?

In nrf51_sdk.chm the documentation for nrf_gpio_range_cfg_input() nrf_gpio_cfg_output () nrf_gpio_cfg_input () all refer to a "given initial value" but none of these have such a parameter.

Parents
  • Thanks Håkon,

    Any comment on the second part "given initial value" ?

    While I am not complaining, I seem to be continuously finding little problems like this one and case 7200 , as well as $@#*! such as case 2347. I have more that I haven't reported yet, both in documentation and example sources.

    Please advise your preferred way for me to report them: A) Open a case B) Post here in the developer zone C) Direct email D) Stop bugging us with this trivia.

    Thanks again for great support, Philip

  • Hi Philip,

    I believe "given initial value" points to the hardcoding of some configuration, like SENSE for IN and drive strength for OUT.

    We very much value feedback on what we deliver, so continue posting issues and bugs. You can post them here, or in the technical support portal.

    Best regards Håkon

Reply Children
No Data
Related