Example #1
0
		/// <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);
		}
Example #2
0
		/// <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);
		}
Example #3
0
		/// <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);
		}
Example #4
0
		static extern void bcm2835_gpio_clr_multi(GPIOPinMask mask);
Example #5
0
		static extern void bcm2835_gpio_write_multi(GPIOPinMask mask, bool on);
Example #6
0
 /// <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);
 }
Example #7
0
 /// <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);
 }
Example #8
0
 /// <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);
 }
Example #9
0
 static extern void bcm2835_gpio_write_multi(GPIOPinMask mask, bool on);
Example #10
0
 static extern void bcm2835_gpio_clr_multi(GPIOPinMask mask);