示例#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);
		}
示例#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);
		}
示例#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);
		}
示例#4
0
		static extern void bcm2835_gpio_clr_multi(GPIOPinMask mask);
示例#5
0
		static extern void bcm2835_gpio_write_multi(GPIOPinMask mask, bool on);
示例#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);
 }
示例#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);
 }
示例#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);
 }
示例#9
0
 static extern void bcm2835_gpio_write_multi(GPIOPinMask mask, bool on);
示例#10
0
 static extern void bcm2835_gpio_clr_multi(GPIOPinMask mask);