1 pub const GUID_DEVINTERFACE_PWM_CONTROLLER
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 1619151692, data2: 61137, data3: 19612, data4: [180, 156, 27, 150, 20, 97, 168, 25] }
;
2 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
3 pub const GUID_DEVINTERFACE_PWM_CONTROLLER_WSZ
: &str = "{60824B4C-EED1-4C9C-B49C-1B961461A819}";
4 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
5 pub const IOCTL_PWM_CONTROLLER_GET_ACTUAL_PERIOD
: u32 = 262148u32;
6 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
7 pub const IOCTL_PWM_CONTROLLER_GET_INFO
: u32 = 262144u32;
8 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
9 pub const IOCTL_PWM_CONTROLLER_SET_DESIRED_PERIOD
: u32 = 294920u32;
10 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
11 pub const IOCTL_PWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE
: u32 = 262544u32;
12 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
13 pub const IOCTL_PWM_PIN_GET_POLARITY
: u32 = 262552u32;
14 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
15 pub const IOCTL_PWM_PIN_IS_STARTED
: u32 = 262568u32;
16 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
17 pub const IOCTL_PWM_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE
: u32 = 295316u32;
18 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
19 pub const IOCTL_PWM_PIN_SET_POLARITY
: u32 = 295324u32;
20 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
21 pub const IOCTL_PWM_PIN_START
: u32 = 295331u32;
22 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
23 pub const IOCTL_PWM_PIN_STOP
: u32 = 295335u32;
24 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
25 pub const PWM_IOCTL_ID_CONTROLLER_GET_ACTUAL_PERIOD
: i32 = 1i32;
26 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
27 pub const PWM_IOCTL_ID_CONTROLLER_GET_INFO
: i32 = 0i32;
28 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
29 pub const PWM_IOCTL_ID_CONTROLLER_SET_DESIRED_PERIOD
: i32 = 2i32;
30 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
31 pub const PWM_IOCTL_ID_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE
: i32 = 100i32;
32 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
33 pub const PWM_IOCTL_ID_PIN_GET_POLARITY
: i32 = 102i32;
34 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
35 pub const PWM_IOCTL_ID_PIN_IS_STARTED
: i32 = 106i32;
36 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
37 pub const PWM_IOCTL_ID_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE
: i32 = 101i32;
38 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
39 pub const PWM_IOCTL_ID_PIN_SET_POLARITY
: i32 = 103i32;
40 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
41 pub const PWM_IOCTL_ID_PIN_START
: i32 = 104i32;
42 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
43 pub const PWM_IOCTL_ID_PIN_STOP
: i32 = 105i32;
44 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
45 pub type PWM_POLARITY
= i32;
46 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
47 pub const PWM_ACTIVE_HIGH
: PWM_POLARITY
= 0i32;
48 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
49 pub const PWM_ACTIVE_LOW
: PWM_POLARITY
= 1i32;
51 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
52 pub struct PWM_CONTROLLER_GET_ACTUAL_PERIOD_OUTPUT
{
53 pub ActualPeriod
: u64,
55 impl ::core
::marker
::Copy
for PWM_CONTROLLER_GET_ACTUAL_PERIOD_OUTPUT {}
56 impl ::core
::clone
::Clone
for PWM_CONTROLLER_GET_ACTUAL_PERIOD_OUTPUT
{
57 fn clone(&self) -> Self {
62 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
63 pub struct PWM_CONTROLLER_INFO
{
66 pub MinimumPeriod
: u64,
67 pub MaximumPeriod
: u64,
69 impl ::core
::marker
::Copy
for PWM_CONTROLLER_INFO {}
70 impl ::core
::clone
::Clone
for PWM_CONTROLLER_INFO
{
71 fn clone(&self) -> Self {
76 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
77 pub struct PWM_CONTROLLER_SET_DESIRED_PERIOD_INPUT
{
78 pub DesiredPeriod
: u64,
80 impl ::core
::marker
::Copy
for PWM_CONTROLLER_SET_DESIRED_PERIOD_INPUT {}
81 impl ::core
::clone
::Clone
for PWM_CONTROLLER_SET_DESIRED_PERIOD_INPUT
{
82 fn clone(&self) -> Self {
87 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
88 pub struct PWM_CONTROLLER_SET_DESIRED_PERIOD_OUTPUT
{
89 pub ActualPeriod
: u64,
91 impl ::core
::marker
::Copy
for PWM_CONTROLLER_SET_DESIRED_PERIOD_OUTPUT {}
92 impl ::core
::clone
::Clone
for PWM_CONTROLLER_SET_DESIRED_PERIOD_OUTPUT
{
93 fn clone(&self) -> Self {
98 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
99 pub struct PWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE_OUTPUT
{
102 impl ::core
::marker
::Copy
for PWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE_OUTPUT {}
103 impl ::core
::clone
::Clone
for PWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE_OUTPUT
{
104 fn clone(&self) -> Self {
109 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
110 pub struct PWM_PIN_GET_POLARITY_OUTPUT
{
111 pub Polarity
: PWM_POLARITY
,
113 impl ::core
::marker
::Copy
for PWM_PIN_GET_POLARITY_OUTPUT {}
114 impl ::core
::clone
::Clone
for PWM_PIN_GET_POLARITY_OUTPUT
{
115 fn clone(&self) -> Self {
120 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`, `\"Win32_Foundation\"`*"]
121 #[cfg(feature = "Win32_Foundation")]
122 pub struct PWM_PIN_IS_STARTED_OUTPUT
{
123 pub IsStarted
: super::super::Foundation
::BOOLEAN
,
125 #[cfg(feature = "Win32_Foundation")]
126 impl ::core
::marker
::Copy
for PWM_PIN_IS_STARTED_OUTPUT {}
127 #[cfg(feature = "Win32_Foundation")]
128 impl ::core
::clone
::Clone
for PWM_PIN_IS_STARTED_OUTPUT
{
129 fn clone(&self) -> Self {
134 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
135 pub struct PWM_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE_INPUT
{
138 impl ::core
::marker
::Copy
for PWM_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE_INPUT {}
139 impl ::core
::clone
::Clone
for PWM_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE_INPUT
{
140 fn clone(&self) -> Self {
145 #[doc = "*Required features: `\"Win32_Devices_Pwm\"`*"]
146 pub struct PWM_PIN_SET_POLARITY_INPUT
{
147 pub Polarity
: PWM_POLARITY
,
149 impl ::core
::marker
::Copy
for PWM_PIN_SET_POLARITY_INPUT {}
150 impl ::core
::clone
::Clone
for PWM_PIN_SET_POLARITY_INPUT
{
151 fn clone(&self) -> Self {