345 NRF_GPIO->OUTCLR = ((leds_mask) & gpio_state); } while (0)
346
347#define LEDS_CONFIGURE(leds_mask) do { uint32_t pin; \
348 ASSERT(sizeof(leds_mask) == 4); \
349 for (pin = 0; pin < 32; pin++) \
350 if ( (leds_mask) & (1 << pin) ) \
351 nrf_gpio_cfg_output(pin); } while (0)
352
353#ifdef __cplusplus
354 }
355#endif
356
357#endif
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.