nrf52832 buttons_leds_init error

What does this error mean?

<error> app: ERROR 3735928559 [Unknown error code] at c:\nrf\modules\nrfx\hal\nrf_gpio.h:492
PC at: 0x00033D23
<error> app: End of error report

For your information, I attached the code for line 492 in that gpio.h header file.

/**
 * @brief Function for extracting port and the relative pin number from the absolute pin number.
 *
 * @param[in,out] p_pin Pointer to the absolute pin number overriden by the pin number that is relative to the port.
 *
 * @return Pointer to port register set.
 */
__STATIC_INLINE NRF_GPIO_Type * nrf_gpio_pin_port_decode(uint32_t * p_pin)
{
    NRFX_ASSERT(nrf_gpio_pin_present_check(*p_pin));
#if (GPIO_COUNT == 1)
    return NRF_P0;
#else
    if (*p_pin < P0_PIN_NUM)
    {
        return NRF_P0;
    }
    else
    {
        *p_pin = *p_pin & 0x1F;
        return NRF_P1;
    }
#endif
}

Parents Reply Children
No Data
Related