10#ifndef HAL_PWM_V151_REGS_OP_H
11#define HAL_PWM_V151_REGS_OP_H
62static inline void hal_pwm_startclrcnt_en_set_pwm_startclrcnt_en_i(
pwm_v151_group_t group, uint32_t val)
100static inline void hal_pwm_en_set_pwm_en_j(
pwm_channel_t channel, uint32_t val)
113static inline uint32_t hal_pwm_en_get_pwm_en_j(
pwm_channel_t channel)
125static inline void hal_pwm_portity_set_pwm_portity_j(
pwm_channel_t channel, uint32_t val)
138static inline uint32_t hal_pwm_portity_get_pwm_portity_j(
pwm_channel_t channel)
150static inline void hal_pwm_oen_cfg_set_pwm_oen_cfg_j(
pwm_channel_t channel, uint32_t val)
163static inline uint32_t hal_pwm_oen_cfg_get_pwm_oen_cfg_j(
pwm_channel_t channel)
175static inline void hal_pwm_offset_l_set_pwm_offset_l_j(
pwm_channel_t channel, uint32_t val)
188static inline uint32_t hal_pwm_offset_l_get_pwm_offset_l_j(
pwm_channel_t channel)
200static inline void hal_pwm_offset_h_set_pwm_offset_h_j(
pwm_channel_t channel, uint32_t val)
213static inline uint32_t hal_pwm_offset_h_get_pwm_offset_h_j(
pwm_channel_t channel)
225static inline void hal_pwm_freq_l_set_pwm_freq_l_j(
pwm_channel_t channel, uint32_t val)
238static inline uint32_t hal_pwm_freq_l_get_pwm_freq_l_j(
pwm_channel_t channel)
250static inline void hal_pwm_freq_h_set_pwm_freq_h_j(
pwm_channel_t channel, uint32_t val)
263static inline uint32_t hal_pwm_freq_h_get_pwm_freq_h_j(
pwm_channel_t channel)
275static inline void hal_pwm_duty_l_set_pwm_duty_l_j(
pwm_channel_t channel, uint32_t val)
288static inline uint32_t hal_pwm_duty_l_get_pwm_duty_l_j(
pwm_channel_t channel)
300static inline void hal_pwm_duty_h_set_pwm_duty_h_j(
pwm_channel_t channel, uint32_t val)
313static inline uint32_t hal_pwm_duty_h_get_pwm_duty_h_j(
pwm_channel_t channel)
325static inline uint32_t hal_pwm_periodload_flag_get_pwm_periodload_flag_j(
pwm_channel_t channel)
337static inline void hal_pwm_period_val_set_pwm_period_val_j(
pwm_channel_t channel, uint16_t val)
350static inline uint32_t hal_pwm_period_val_get_pwm_period_val_j(
pwm_channel_t channel)
362static inline uint32_t hal_pwm_periodcnt_get_pwm_periodcnt_j(
pwm_channel_t channel)
373static inline uint32_t hal_pwm_abnor_state0_get_pwm_abnor_state0(
void)
384static inline uint32_t hal_pwm_abnor_state1_get_pwm_abnor_state1(
void)
395static inline uint32_t hal_pwm_abnor_state1_get_reserved(
void)
406static inline void hal_pwm_abnor_state_clr0_set_pwm_abnor_state_clr0(uint32_t val)
418static inline uint32_t hal_pwm_abnor_state_clr0_get_reserved(
void)
429static inline void hal_pwm_abnor_state_clr1_set_pwm_abnor_state_clr1(uint32_t val)
441static inline uint32_t hal_pwm_abnor_state_clr1_get_reserved(
void)
452static inline void hal_pwm_int_mask_set_pwm_int_mask(uint32_t val)
464static inline uint32_t hal_pwm_int_mask_get_pwm_int_mask(
void)
475static inline void hal_pwm_dma_en_set_pwm_dma_en(uint32_t val)
487static inline uint32_t hal_pwm_dma_en_get_pwm_dma_en(
void)
498static inline void hal_pwm_cfg_int_clr0_set_pwm_cfg_int_clr0(uint32_t val)
510static inline uint32_t hal_pwm_cfg_int_clr0_get_reserved(
void)
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