/// <summary> /// Sets any of the first 32 GPIO output pins specified in the mask to value. /// </summary> /// <param name="mask">Mask of pins to affect. Use eg: (GPIOPinMask.GPIO_00) | GPIOPinMask.GPIO_01)</param> public static void WriteMulti(GPIOPinMask mask, bool value) { bcm2835_gpio_write_multi(mask, value); }
/// <summary> /// Sets any of the first 32 GPIO output pins specified in the mask to HIGH. /// </summary> /// <param name="mask">Mask of pins to affect. Use eg: (GPIOPinMask.GPIO_00) | GPIOPinMask.GPIO_01)</param> public static void SetMulti(GPIOPinMask mask) { bcm2835_gpio_set_multi(mask); }
/// <summary> /// Sets any of the first 32 GPIO output pins specified in the mask to LOW. /// </summary> /// <param name="mask">Mask of pins to affect. Use eg: (GPIOPinMask.GPIO_00) | GPIOPinMask.GPIO_01)</param> public static void ClearMulti(GPIOPinMask mask) { bcm2835_gpio_clr_multi(mask); }
static extern void bcm2835_gpio_clr_multi(GPIOPinMask mask);
static extern void bcm2835_gpio_write_multi(GPIOPinMask mask, bool on);