// Set the state of a all 32 outputs in the mask to on or off void bcm2835_gpio_write_multi(uint32_t mask, uint8_t on) { if (on) bcm2835_gpio_set_multi(mask); else bcm2835_gpio_clr_multi(mask); }
// Set the state of a all 32 outputs in the mask to the values in value void bcm2835_gpio_write_mask(uint32_t value, uint32_t mask) { bcm2835_gpio_set_multi(value & mask); bcm2835_gpio_clr_multi((~value) & mask); }
//void bcm2835_gpio_clr_multi(uint32_t mask); /// Call bcm2835_gpio_clr_multi with 1 parameter /// \par Refer /// \par Modify void ope_gpio_clr_multi(void) { get_int_code(); bcm2835_gpio_clr_multi( *((uint32_t *)(buff+1)) ); // set_ope_code( OPE_GPIO_CLR_MULTI ); }