WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hal_pwm_v151_regs_op.h
浏览该文件的文档.
1
10#ifndef HAL_PWM_V151_REGS_OP_H
11#define HAL_PWM_V151_REGS_OP_H
12
13#include <stdint.h>
14#include "errcode.h"
16#include "pwm_porting.h"
17
18#ifdef __cplusplus
19#if __cplusplus
20extern "C" {
21#endif /* __cplusplus */
22#endif /* __cplusplus */
23
31
37static inline void hal_pwm_sel_set_pwm_sel_i(pwm_v151_group_t group, uint16_t val)
38{
40 sel.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_v151_sel[group].pwm_sel;
41 sel.b.pwm_sel_i = val;
42 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_v151_sel[group].pwm_sel = sel.d32;
43}
44
50static inline uint16_t hal_pwm_sel_get_pwm_sel_i(pwm_v151_group_t group)
51{
53 sel.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_v151_sel[group].pwm_sel;
54 return sel.b.pwm_sel_i;
55}
56
62static inline void hal_pwm_startclrcnt_en_set_pwm_startclrcnt_en_i(pwm_v151_group_t group, uint32_t val)
63{
64 pwm_startclrcnt_en_data_t startclrcnt_en;
65 startclrcnt_en.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_v151_sel[group].pwm_startclrcnt_en;
66 startclrcnt_en.b.pwm_startclrcnt_en_i = val;
67 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_v151_sel[group].pwm_startclrcnt_en = startclrcnt_en.d32;
68}
69
75static inline uint32_t hal_pwm_startclrcnt_en_get_pwm_startclrcnt_en_i(pwm_v151_group_t group)
76{
77 pwm_startclrcnt_en_data_t startclrcnt_en;
78 startclrcnt_en.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_v151_sel[group].pwm_startclrcnt_en;
79 return startclrcnt_en.b.pwm_startclrcnt_en_i;
80}
81
87static inline void hal_pwm_start_set_pwm_start_i(pwm_v151_group_t group, uint32_t val)
88{
89 pwm_start_data_t start;
90 start.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_v151_sel[group].pwm_start;
91 start.b.pwm_start_i = val;
92 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_v151_sel[group].pwm_start = start.d32;
93}
94
100static inline void hal_pwm_en_set_pwm_en_j(pwm_channel_t channel, uint32_t val)
101{
102 pwm_en_data_t en;
103 en.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_en;
104 en.b.pwm_en_j = val;
105 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_en = en.d32;
106}
107
113static inline uint32_t hal_pwm_en_get_pwm_en_j(pwm_channel_t channel)
114{
115 pwm_en_data_t en;
116 en.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_en;
117 return en.b.pwm_en_j;
118}
119
125static inline void hal_pwm_portity_set_pwm_portity_j(pwm_channel_t channel, uint32_t val)
126{
127 pwm_portity_data_t portity;
128 portity.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_portity;
129 portity.b.pwm_portity_j = val;
130 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_portity = portity.d32;
131}
132
138static inline uint32_t hal_pwm_portity_get_pwm_portity_j(pwm_channel_t channel)
139{
140 pwm_portity_data_t portity;
141 portity.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_portity;
142 return portity.b.pwm_portity_j;
143}
144
150static inline void hal_pwm_oen_cfg_set_pwm_oen_cfg_j(pwm_channel_t channel, uint32_t val)
151{
152 pwm_oen_cfg_data_t oen_cfg;
153 oen_cfg.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_oen_cfg;
154 oen_cfg.b.pwm_oen_cfg_j = val;
155 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_oen_cfg = oen_cfg.d32;
156}
157
163static inline uint32_t hal_pwm_oen_cfg_get_pwm_oen_cfg_j(pwm_channel_t channel)
164{
165 pwm_oen_cfg_data_t oen_cfg;
166 oen_cfg.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_oen_cfg;
167 return oen_cfg.b.pwm_oen_cfg_j;
168}
169
175static inline void hal_pwm_offset_l_set_pwm_offset_l_j(pwm_channel_t channel, uint32_t val)
176{
177 pwm_offset_l_data_t offset_l;
178 offset_l.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_offset_l;
179 offset_l.b.pwm_offset_l_j = val;
180 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_offset_l = offset_l.d32;
181}
182
188static inline uint32_t hal_pwm_offset_l_get_pwm_offset_l_j(pwm_channel_t channel)
189{
190 pwm_offset_l_data_t offset_l;
191 offset_l.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_offset_l;
192 return offset_l.b.pwm_offset_l_j;
193}
194
200static inline void hal_pwm_offset_h_set_pwm_offset_h_j(pwm_channel_t channel, uint32_t val)
201{
202 pwm_offset_h_data_t offset_h;
203 offset_h.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_offset_h;
204 offset_h.b.pwm_offset_h_j = val;
205 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_offset_h = offset_h.d32;
206}
207
213static inline uint32_t hal_pwm_offset_h_get_pwm_offset_h_j(pwm_channel_t channel)
214{
215 pwm_offset_h_data_t offset_h;
216 offset_h.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_offset_h;
217 return offset_h.b.pwm_offset_h_j;
218}
219
225static inline void hal_pwm_freq_l_set_pwm_freq_l_j(pwm_channel_t channel, uint32_t val)
226{
227 pwm_freq_l_data_t freq_l;
228 freq_l.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_freq_l;
229 freq_l.b.pwm_freq_l_j = val;
230 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_freq_l = freq_l.d32;
231}
232
238static inline uint32_t hal_pwm_freq_l_get_pwm_freq_l_j(pwm_channel_t channel)
239{
240 pwm_freq_l_data_t freq_l;
241 freq_l.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_freq_l;
242 return freq_l.b.pwm_freq_l_j;
243}
244
250static inline void hal_pwm_freq_h_set_pwm_freq_h_j(pwm_channel_t channel, uint32_t val)
251{
252 pwm_freq_h_data_t freq_h;
253 freq_h.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_freq_h;
254 freq_h.b.pwm_freq_h_j = val;
255 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_freq_h = freq_h.d32;
256}
257
263static inline uint32_t hal_pwm_freq_h_get_pwm_freq_h_j(pwm_channel_t channel)
264{
265 pwm_freq_h_data_t freq_h;
266 freq_h.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_freq_h;
267 return freq_h.b.pwm_freq_h_j;
268}
269
275static inline void hal_pwm_duty_l_set_pwm_duty_l_j(pwm_channel_t channel, uint32_t val)
276{
277 pwm_duty_l_data_t duty_l;
278 duty_l.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_duty_l;
279 duty_l.b.pwm_duty_l_j = val;
280 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_duty_l = duty_l.d32;
281}
282
288static inline uint32_t hal_pwm_duty_l_get_pwm_duty_l_j(pwm_channel_t channel)
289{
290 pwm_duty_l_data_t duty_l;
291 duty_l.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_duty_l;
292 return duty_l.b.pwm_duty_l_j;
293}
294
300static inline void hal_pwm_duty_h_set_pwm_duty_h_j(pwm_channel_t channel, uint32_t val)
301{
302 pwm_duty_h_data_t duty_h;
303 duty_h.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_duty_h;
304 duty_h.b.pwm_duty_h_j = val;
305 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_duty_h = duty_h.d32;
306}
307
313static inline uint32_t hal_pwm_duty_h_get_pwm_duty_h_j(pwm_channel_t channel)
314{
315 pwm_duty_h_data_t duty_h;
316 duty_h.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_duty_h;
317 return duty_h.b.pwm_duty_h_j;
318}
319
325static inline uint32_t hal_pwm_periodload_flag_get_pwm_periodload_flag_j(pwm_channel_t channel)
326{
327 pwm_periodload_flag_data_t periodload_flag;
328 periodload_flag.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_periodload_flag;
329 return periodload_flag.b.pwm_periodload_flag_j;
330}
331
337static inline void hal_pwm_period_val_set_pwm_period_val_j(pwm_channel_t channel, uint16_t val)
338{
339 pwm_period_val_data_t period_val;
340 period_val.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_period_val;
341 period_val.b.pwm_period_val_j = val;
342 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_period_val = period_val.d32;
343}
344
350static inline uint32_t hal_pwm_period_val_get_pwm_period_val_j(pwm_channel_t channel)
351{
352 pwm_period_val_data_t period_val;
353 period_val.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_period_val;
354 return period_val.b.pwm_period_val_j;
355}
356
362static inline uint32_t hal_pwm_periodcnt_get_pwm_periodcnt_j(pwm_channel_t channel)
363{
364 pwm_periodcnt_data_t periodcnt;
365 periodcnt.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_ip[channel].pwm_periodcnt;
366 return periodcnt.b.pwm_periodcnt_j;
367}
368
373static inline uint32_t hal_pwm_abnor_state0_get_pwm_abnor_state0(void)
374{
375 pwm_abnor_state0_data_t abnor_state0;
376 abnor_state0.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_abnor_state0;
377 return abnor_state0.b.pwm_abnor_state0;
378}
379
384static inline uint32_t hal_pwm_abnor_state1_get_pwm_abnor_state1(void)
385{
386 pwm_abnor_state1_data_t abnor_state1;
387 abnor_state1.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_abnor_state1;
388 return abnor_state1.b.pwm_abnor_state1;
389}
390
395static inline uint32_t hal_pwm_abnor_state1_get_reserved(void)
396{
397 pwm_abnor_state1_data_t abnor_state1;
398 abnor_state1.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_abnor_state1;
399 return abnor_state1.b.reserved16_31;
400}
401
406static inline void hal_pwm_abnor_state_clr0_set_pwm_abnor_state_clr0(uint32_t val)
407{
408 pwm_abnor_state_clr0_data_t abnor_state_clr0;
409 abnor_state_clr0.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_abnor_state_clr0;
410 abnor_state_clr0.b.pwm_abnor_state_clr0 = val;
411 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_abnor_state_clr0 = abnor_state_clr0.d32;
412}
413
418static inline uint32_t hal_pwm_abnor_state_clr0_get_reserved(void)
419{
420 pwm_abnor_state_clr0_data_t abnor_state_clr0;
421 abnor_state_clr0.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_abnor_state_clr0;
422 return abnor_state_clr0.b.reserved16_31;
423}
424
429static inline void hal_pwm_abnor_state_clr1_set_pwm_abnor_state_clr1(uint32_t val)
430{
431 pwm_abnor_state_clr1_data_t abnor_state_clr1;
432 abnor_state_clr1.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_abnor_state_clr1;
433 abnor_state_clr1.b.pwm_abnor_state_clr1 = val;
434 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_abnor_state_clr1 = abnor_state_clr1.d32;
435}
436
441static inline uint32_t hal_pwm_abnor_state_clr1_get_reserved(void)
442{
443 pwm_abnor_state_clr1_data_t abnor_state_clr1;
444 abnor_state_clr1.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_abnor_state_clr1;
445 return abnor_state_clr1.b.reserved16_31;
446}
447
452static inline void hal_pwm_int_mask_set_pwm_int_mask(uint32_t val)
453{
454 pwm_int_mask_data_t int_mask;
455 int_mask.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_int_mask;
456 int_mask.b.pwm_int_mask = val;
457 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_int_mask = int_mask.d32;
458}
459
464static inline uint32_t hal_pwm_int_mask_get_pwm_int_mask(void)
465{
466 pwm_int_mask_data_t int_mask;
467 int_mask.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_int_mask;
468 return int_mask.b.pwm_int_mask;
469}
470
475static inline void hal_pwm_dma_en_set_pwm_dma_en(uint32_t val)
476{
477 pwm_dma_en_data_t dma_en;
478 dma_en.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_dma_en;
479 dma_en.b.pwm_dma_en = val;
480 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_dma_en = dma_en.d32;
481}
482
487static inline uint32_t hal_pwm_dma_en_get_pwm_dma_en(void)
488{
489 pwm_dma_en_data_t dma_en;
490 dma_en.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_dma_en;
491 return dma_en.b.pwm_dma_en;
492}
493
498static inline void hal_pwm_cfg_int_clr0_set_pwm_cfg_int_clr0(uint32_t val)
499{
500 pwm_cfg_int_clr0_data_t cfg_int_clr0;
501 cfg_int_clr0.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_cfg_int_clr0;
502 cfg_int_clr0.b.pwm_cfg_int_clr0 = val;
503 ((pwm_v151_regs_t *)g_pwm_regs)->pwm_cfg_int_clr0 = cfg_int_clr0.d32;
504}
505
510static inline uint32_t hal_pwm_cfg_int_clr0_get_reserved(void)
511{
512 pwm_cfg_int_clr0_data_t cfg_int_clr0;
513 cfg_int_clr0.d32 = ((pwm_v151_regs_t *)g_pwm_regs)->pwm_cfg_int_clr0;
514 return cfg_int_clr0.b.reserved16_31;
515}
516
517
522#ifdef __cplusplus
523#if __cplusplus
524}
525#endif /* __cplusplus */
526#endif /* __cplusplus */
527
528#endif
uintptr_t g_pwm_regs
Definition hal_pwm.c:13
pwm_channel_t
PWM v150 channel ID.
Definition pwm_porting.h:37
pwm_v151_group_t
PWM v150 group ID.
Definition pwm_porting.h:60
osal_u32 group
Definition oal_net.h:3
Definition hal_pwm_v151_regs_def.h:398
unsigned int uintptr_t
Definition td_type.h:65
This union represents the bit fields in the pwm_abnor_state0 register. Read the register into the d32...
Definition hal_pwm_v151_regs_def.h:268
struct pwm_abnor_state0_data::@120 b
uint32_t d32
Definition hal_pwm_v151_regs_def.h:269
uint32_t pwm_abnor_state0
Definition hal_pwm_v151_regs_def.h:271
This union represents the bit fields in the pwm_abnor_state1 register. Read the register into the d32...
Definition hal_pwm_v151_regs_def.h:282
uint32_t pwm_abnor_state1
Definition hal_pwm_v151_regs_def.h:285
uint32_t reserved16_31
Definition hal_pwm_v151_regs_def.h:287
uint32_t d32
Definition hal_pwm_v151_regs_def.h:283
struct pwm_abnor_state1_data::@121 b
This union represents the bit fields in the pwm_abnor_state_clr0 register. Read the register into the...
Definition hal_pwm_v151_regs_def.h:296
uint32_t d32
Definition hal_pwm_v151_regs_def.h:297
struct pwm_abnor_state_clr0_data::@123 b
uint32_t pwm_abnor_state_clr0
Definition hal_pwm_v151_regs_def.h:299
uint32_t reserved16_31
Definition hal_pwm_v151_regs_def.h:301
This union represents the bit fields in the pwm_abnor_state_clr1 register. Read the register into the...
Definition hal_pwm_v151_regs_def.h:310
uint32_t pwm_abnor_state_clr1
Definition hal_pwm_v151_regs_def.h:313
uint32_t d32
Definition hal_pwm_v151_regs_def.h:311
struct pwm_abnor_state_clr1_data::@124 b
uint32_t reserved16_31
Definition hal_pwm_v151_regs_def.h:315
This union represents the bit fields in the pwm_cfg_int_clr0 register. Read the register into the d32...
Definition hal_pwm_v151_regs_def.h:356
struct pwm_cfg_int_clr0_data::@128 b
uint32_t d32
Definition hal_pwm_v151_regs_def.h:357
uint32_t reserved16_31
Definition hal_pwm_v151_regs_def.h:362
uint32_t pwm_cfg_int_clr0
Definition hal_pwm_v151_regs_def.h:359
This union represents the bit fields in the pwm_dma_en register. Read the register into the d32 membe...
Definition hal_pwm_v151_regs_def.h:341
uint32_t d32
Definition hal_pwm_v151_regs_def.h:342
struct pwm_dma_en_data::@127 b
uint32_t pwm_dma_en
Definition hal_pwm_v151_regs_def.h:344
This union represents the bit fields in the pwm_duty_high register. Read the register into the d32 me...
Definition hal_pwm_v151_regs_def.h:208
uint32_t pwm_duty_h_j
Definition hal_pwm_v151_regs_def.h:211
struct pwm_duty_h_data::@114 b
uint32_t d32
Definition hal_pwm_v151_regs_def.h:209
This union represents the bit fields in the pwm_duty_low register. Read the register into the d32 mem...
Definition hal_pwm_v151_regs_def.h:192
uint32_t pwm_duty_l_j
Definition hal_pwm_v151_regs_def.h:195
uint32_t d32
Definition hal_pwm_v151_regs_def.h:193
struct pwm_duty_l_data::@113 b
This union represents the bit fields in the pwm_en register. Read the register into the d32 member th...
Definition hal_pwm_v151_regs_def.h:80
uint32_t d32
Definition hal_pwm_v151_regs_def.h:81
uint32_t pwm_en_j
Definition hal_pwm_v151_regs_def.h:83
struct pwm_en_data::@105 b
This union represents the bit fields in the pwm_freq_high register. Read the register into the d32 me...
Definition hal_pwm_v151_regs_def.h:175
uint32_t d32
Definition hal_pwm_v151_regs_def.h:176
uint32_t pwm_freq_h_j
Definition hal_pwm_v151_regs_def.h:178
struct pwm_freq_h_data::@112 b
This union represents the bit fields in the pwm_freq_low register. Read the register into the d32 mem...
Definition hal_pwm_v151_regs_def.h:159
uint32_t d32
Definition hal_pwm_v151_regs_def.h:160
struct pwm_freq_l_data::@111 b
uint32_t pwm_freq_l_j
Definition hal_pwm_v151_regs_def.h:162
This union represents the bit fields in the pwm_int_mask register. Read the register into the d32 mem...
Definition hal_pwm_v151_regs_def.h:324
struct pwm_int_mask_data::@125 b
uint32_t pwm_int_mask
Definition hal_pwm_v151_regs_def.h:327
uint32_t d32
Definition hal_pwm_v151_regs_def.h:325
This union represents the bit fields in the pwm_oen_cfg register. Read the register into the d32 memb...
Definition hal_pwm_v151_regs_def.h:111
uint32_t pwm_oen_cfg_j
Definition hal_pwm_v151_regs_def.h:114
struct pwm_oen_cfg_data::@107 b
uint32_t d32
Definition hal_pwm_v151_regs_def.h:112
This union represents the bit fields in the pwm_offset_high register. Read the register into the d32 ...
Definition hal_pwm_v151_regs_def.h:142
uint32_t pwm_offset_h_j
Definition hal_pwm_v151_regs_def.h:145
struct pwm_offset_h_data::@110 b
uint32_t d32
Definition hal_pwm_v151_regs_def.h:143
This union represents the bit fields in the pwm_offset_low register. Read the register into the d32 m...
Definition hal_pwm_v151_regs_def.h:126
uint32_t pwm_offset_l_j
Definition hal_pwm_v151_regs_def.h:129
uint32_t d32
Definition hal_pwm_v151_regs_def.h:127
struct pwm_offset_l_data::@109 b
This union represents the bit fields in the pwm_period_value register. Read the register into the d32...
Definition hal_pwm_v151_regs_def.h:240
struct pwm_period_val_data::@118 b
uint32_t d32
Definition hal_pwm_v151_regs_def.h:241
uint32_t pwm_period_val_j
Definition hal_pwm_v151_regs_def.h:243
This union represents the bit fields in the pwm_periodcnt register. Read the register into the d32 me...
Definition hal_pwm_v151_regs_def.h:255
uint32_t pwm_periodcnt_j
Definition hal_pwm_v151_regs_def.h:258
struct pwm_periodcnt_data::@119 b
uint32_t d32
Definition hal_pwm_v151_regs_def.h:256
This union represents the bit fields in the pwm_periodload_flag register. Read the register into the ...
Definition hal_pwm_v151_regs_def.h:224
uint32_t d32
Definition hal_pwm_v151_regs_def.h:225
uint32_t pwm_periodload_flag_j
Definition hal_pwm_v151_regs_def.h:227
struct pwm_periodload_flag_data::@116 b
This union represents the bit fields in the pwm_portity register. Read the register into the d32 memb...
Definition hal_pwm_v151_regs_def.h:96
struct pwm_portity_data::@106 b
uint32_t pwm_portity_j
Definition hal_pwm_v151_regs_def.h:99
uint32_t d32
Definition hal_pwm_v151_regs_def.h:97
This union represents the bit fields in the pwm_sel register. Read the register into the d32 member t...
Definition hal_pwm_v151_regs_def.h:35
struct pwm_sel_data::@102 b
uint32_t pwm_sel_i
Definition hal_pwm_v151_regs_def.h:38
uint32_t d32
Definition hal_pwm_v151_regs_def.h:36
This union represents the bit fields in the pwm_start register. Read the register into the d32 member...
Definition hal_pwm_v151_regs_def.h:65
uint32_t pwm_start_i
Definition hal_pwm_v151_regs_def.h:68
uint32_t d32
Definition hal_pwm_v151_regs_def.h:66
struct pwm_start_data::@104 b
This union represents the bit fields in the pwm_startclrcnt_en register. Read the register into the d...
Definition hal_pwm_v151_regs_def.h:51
uint32_t pwm_startclrcnt_en_i
Definition hal_pwm_v151_regs_def.h:54
struct pwm_startclrcnt_en_data::@103 b
uint32_t d32
Definition hal_pwm_v151_regs_def.h:52