summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Devices/Pwm
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/Devices/Pwm')
-rw-r--r--vendor/windows-sys/src/Windows/Devices/Pwm/Provider/mod.rs2
-rw-r--r--vendor/windows-sys/src/Windows/Devices/Pwm/mod.rs17
2 files changed, 19 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Devices/Pwm/Provider/mod.rs b/vendor/windows-sys/src/Windows/Devices/Pwm/Provider/mod.rs
new file mode 100644
index 000000000..be08ef3f5
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Devices/Pwm/Provider/mod.rs
@@ -0,0 +1,2 @@
+pub type IPwmControllerProvider = *mut ::core::ffi::c_void;
+pub type IPwmProvider = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/Devices/Pwm/mod.rs b/vendor/windows-sys/src/Windows/Devices/Pwm/mod.rs
new file mode 100644
index 000000000..0465e2496
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Devices/Pwm/mod.rs
@@ -0,0 +1,17 @@
+#[cfg(feature = "Devices_Pwm_Provider")]
+pub mod Provider;
+pub type PwmController = *mut ::core::ffi::c_void;
+pub type PwmPin = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_Pwm\"`*"]
+#[repr(transparent)]
+pub struct PwmPulsePolarity(pub i32);
+impl PwmPulsePolarity {
+ pub const ActiveHigh: Self = Self(0i32);
+ pub const ActiveLow: Self = Self(1i32);
+}
+impl ::core::marker::Copy for PwmPulsePolarity {}
+impl ::core::clone::Clone for PwmPulsePolarity {
+ fn clone(&self) -> Self {
+ *self
+ }
+}