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.