ESP-IDF
mcpwm_dev_t::timer
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (3/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
mcpwm_dev_t::timer
mcpwm_dev_t::timer field
Syntax
Show:
Summary
Declaration
from
mcpwm_struct.h:1440
volatile
mcpwm_timer_regs_t
timer
[
3
]
;
Examples
References
from
examples
Code
Location
Referrer
volatile
mcpwm_timer_regs_t
timer
[
3
]
;
mcpwm_struct.h:1440
HAL_FORCE_MODIFY_U32_REG_FIELD
(
mcpwm
->
timer
[
timer_id
]
.
timer_cfg0
,
timer_prescale
,
prescale
-
1
)
;
mcpwm_ll.h:244
mcpwm_ll_timer_set_clock_prescale()
HAL_FORCE_MODIFY_U32_REG_FIELD
(
mcpwm
->
timer
[
timer_id
]
.
timer_cfg0
,
timer_period
,
peak
-
1
)
;
mcpwm_ll.h:259
mcpwm_ll_timer_set_peak()
HAL_FORCE_MODIFY_U32_REG_FIELD
(
mcpwm
->
timer
[
timer_id
]
.
timer_cfg0
,
timer_period
,
peak
)
;
mcpwm_ll.h:261
mcpwm_ll_timer_set_peak()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg0
.
timer_period_upmethod
=
0
;
mcpwm_ll.h:274
mcpwm_ll_timer_update_period_at_once()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg0
.
timer_period_upmethod
|=
0x01
;
mcpwm_ll.h:287
mcpwm_ll_timer_enable_update_period_on_tez()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg0
.
timer_period_upmethod
&=
~
0x01
;
mcpwm_ll.h:289
mcpwm_ll_timer_enable_update_period_on_tez()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg0
.
timer_period_upmethod
|=
0x02
;
mcpwm_ll.h:303
mcpwm_ll_timer_enable_update_period_on_sync()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg0
.
timer_period_upmethod
&=
~
0x02
;
mcpwm_ll.h:305
mcpwm_ll_timer_enable_update_period_on_sync()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg1
.
timer_mod
=
0
;
mcpwm_ll.h:320
mcpwm_ll_timer_set_count_mode()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg1
.
timer_mod
=
1
;
mcpwm_ll.h:323
mcpwm_ll_timer_set_count_mode()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg1
.
timer_mod
=
2
;
mcpwm_ll.h:326
mcpwm_ll_timer_set_count_mode()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg1
.
timer_mod
=
3
;
mcpwm_ll.h:329
mcpwm_ll_timer_set_count_mode()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg1
.
timer_start
=
0
;
mcpwm_ll.h:348
mcpwm_ll_timer_set_start_stop_command()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg1
.
timer_start
=
1
;
mcpwm_ll.h:351
mcpwm_ll_timer_set_start_stop_command()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg1
.
timer_start
=
2
;
mcpwm_ll.h:354
mcpwm_ll_timer_set_start_stop_command()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg1
.
timer_start
=
3
;
mcpwm_ll.h:357
mcpwm_ll_timer_set_start_stop_command()
mcpwm
->
timer
[
timer_id
]
.
timer_cfg1
.
timer_start
=
4
;
mcpwm_ll.h:360
mcpwm_ll_timer_set_start_stop_command()
return
HAL_FORCE_READ_U32_REG_FIELD
(
mcpwm
->
timer
[
timer_id
]
.
timer_status
,
timer_value
)
;
mcpwm_ll.h:378
mcpwm_ll_timer_get_count_value()
return
mcpwm
->
timer
[
timer_id
]
.
timer_status
.
timer_direction
?
MCPWM_TIMER_DIRECTION_DOWN
:
MCPWM_TIMER_DIRECTION_UP
;
mcpwm_ll.h:391
mcpwm_ll_timer_get_count_direction()
mcpwm
->
timer
[
timer_id
]
.
timer_sync
.
timer_synci_en
=
enable
;
mcpwm_ll.h:403
mcpwm_ll_timer_enable_sync_input()
mcpwm
->
timer
[
timer_id
]
.
timer_sync
.
timer_synco_sel
=
0
;
mcpwm_ll.h:415
mcpwm_ll_timer_propagate_input_sync()
mcpwm
->
timer
[
timer_id
]
.
timer_sync
.
timer_synco_sel
=
1
;
mcpwm_ll.h:429
mcpwm_ll_timer_sync_out_on_timer_event()
mcpwm
->
timer
[
timer_id
]
.
timer_sync
.
timer_synco_sel
=
2
;
mcpwm_ll.h:432
mcpwm_ll_timer_sync_out_on_timer_event()
mcpwm
->
timer
[
timer_id
]
.
timer_sync
.
timer_synco_sel
=
3
;
mcpwm_ll.h:449
mcpwm_ll_timer_disable_sync_out()
mcpwm
->
timer
[
timer_id
]
.
timer_sync
.
timer_sync_sw
=
~
mcpwm
->
timer
[
timer_id
]
.
timer_sync
.
timer_sync_sw
;
mcpwm_ll.h:460
mcpwm_ll_timer_trigger_soft_sync()
HAL_FORCE_MODIFY_U32_REG_FIELD
(
mcpwm
->
timer
[
timer_id
]
.
timer_sync
,
timer_phase
,
phase_value
)
;
mcpwm_ll.h:472
mcpwm_ll_timer_set_sync_phase_value()
mcpwm
->
timer
[
timer_id
]
.
timer_sync
.
timer_phase_direction
=
direction
;
mcpwm_ll.h:484
mcpwm_ll_timer_set_sync_phase_direction()
return
HAL_FORCE_READ_U32_REG_FIELD
(
mcpwm
->
timer
[
timer_id
]
.
timer_cfg0
,
timer_period
)
+
(
symmetric
?
0
:
1
)
;
mcpwm_ll.h:1626
mcpwm_ll_timer_get_peak()
switch
(
mcpwm
->
timer
[
timer_id
]
.
timer_cfg1
.
timer_mod
)
{
mcpwm_ll.h:1631
mcpwm_ll_timer_get_count_mode()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mcpwm_dev_t::timer
is read by 18 functions:
All items filtered out
mcpwm_dev_t::timer
mcpwm_ll_timer_set_clock_prescale()
mcpwm_ll_timer_set_peak()
mcpwm_ll_timer_update_period_at_once()
mcpwm_ll_timer_enable_update_period_on_tez()
mcpwm_ll_timer_enable_update_period_on_sync()
mcpwm_ll_timer_set_count_mode()
mcpwm_ll_timer_set_start_stop_command()
mcpwm_ll_timer_get_count_value()
mcpwm_ll_timer_get_count_direction()
mcpwm_ll_timer_enable_sync_input()
mcpwm_ll_timer_propagate_input_sync()
mcpwm_ll_timer_sync_out_on_timer_event()
mcpwm_ll_timer_disable_sync_out()
mcpwm_ll_timer_trigger_soft_sync()
mcpwm_ll_timer_set_sync_phase_value()
mcpwm_ll_timer_set_sync_phase_direction()
mcpwm_ll_timer_get_peak()
mcpwm_ll_timer_get_count_mode()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out