Struct hpm5361_pac::QEO0
source · pub struct QEO0 { /* private fields */ }
Expand description
QEO0
Implementations§
source§impl QEO0
impl QEO0
sourcepub const PTR: *const RegisterBlock = {0xf0308000 as *const qeo0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xf0308000 as *const qeo0::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn wave_resolution(&self) -> &WAVE_RESOLUTION
pub fn wave_resolution(&self) -> &WAVE_RESOLUTION
0x04 - resolution of wave0/1/2
sourcepub fn phase_shift_wave(&self, n: usize) -> &PHASE_SHIFT_WAVE
pub fn phase_shift_wave(&self, n: usize) -> &PHASE_SHIFT_WAVE
0x08..0x14 - no description available
sourcepub fn phase_shift_wave_iter(&self) -> impl Iterator<Item = &PHASE_SHIFT_WAVE>
pub fn phase_shift_wave_iter(&self) -> impl Iterator<Item = &PHASE_SHIFT_WAVE>
Iterator for array of: 0x08..0x14 - no description available
sourcepub fn phase_shift_wavewave0(&self) -> &PHASE_SHIFT_WAVE
pub fn phase_shift_wavewave0(&self) -> &PHASE_SHIFT_WAVE
0x08 - no description available
sourcepub fn phase_shift_wavewave1(&self) -> &PHASE_SHIFT_WAVE
pub fn phase_shift_wavewave1(&self) -> &PHASE_SHIFT_WAVE
0x0c - no description available
sourcepub fn phase_shift_wavewave2(&self) -> &PHASE_SHIFT_WAVE
pub fn phase_shift_wavewave2(&self) -> &PHASE_SHIFT_WAVE
0x10 - no description available
sourcepub fn vd_vq_inject(&self, n: usize) -> &VD_VQ_INJECT
pub fn vd_vq_inject(&self, n: usize) -> &VD_VQ_INJECT
0x14..0x20 - no description available
sourcepub fn vd_vq_inject_iter(&self) -> impl Iterator<Item = &VD_VQ_INJECT>
pub fn vd_vq_inject_iter(&self) -> impl Iterator<Item = &VD_VQ_INJECT>
Iterator for array of: 0x14..0x20 - no description available
sourcepub fn vd_vq_injectwave0(&self) -> &VD_VQ_INJECT
pub fn vd_vq_injectwave0(&self) -> &VD_VQ_INJECT
0x14 - no description available
sourcepub fn vd_vq_injectwave1(&self) -> &VD_VQ_INJECT
pub fn vd_vq_injectwave1(&self) -> &VD_VQ_INJECT
0x18 - no description available
sourcepub fn vd_vq_injectwave2(&self) -> &VD_VQ_INJECT
pub fn vd_vq_injectwave2(&self) -> &VD_VQ_INJECT
0x1c - no description available
sourcepub fn vd_vq_load(&self) -> &VD_VQ_LOAD
pub fn vd_vq_load(&self) -> &VD_VQ_LOAD
0x20 - load wave0/1/2 vd vq value
sourcepub fn amplitude_iter(&self) -> impl Iterator<Item = &LITUDE>
pub fn amplitude_iter(&self) -> impl Iterator<Item = &LITUDE>
Iterator for array of: 0x24..0x30 - no description available
sourcepub fn amplitudewave0(&self) -> &LITUDE
pub fn amplitudewave0(&self) -> &LITUDE
0x24 - no description available
sourcepub fn amplitudewave1(&self) -> &LITUDE
pub fn amplitudewave1(&self) -> &LITUDE
0x28 - no description available
sourcepub fn amplitudewave2(&self) -> &LITUDE
pub fn amplitudewave2(&self) -> &LITUDE
0x2c - no description available
sourcepub fn mid_point_iter(&self) -> impl Iterator<Item = &MID_POINT>
pub fn mid_point_iter(&self) -> impl Iterator<Item = &MID_POINT>
Iterator for array of: 0x30..0x3c - no description available
sourcepub fn mid_pointwave0(&self) -> &MID_POINT
pub fn mid_pointwave0(&self) -> &MID_POINT
0x30 - no description available
sourcepub fn mid_pointwave1(&self) -> &MID_POINT
pub fn mid_pointwave1(&self) -> &MID_POINT
0x34 - no description available
sourcepub fn mid_pointwave2(&self) -> &MID_POINT
pub fn mid_pointwave2(&self) -> &MID_POINT
0x38 - no description available
sourcepub fn limit_iter(&self) -> impl Iterator<Item = &LIMIT>
pub fn limit_iter(&self) -> impl Iterator<Item = &LIMIT>
Iterator for array of: 0x3c..0x54 - no description available
sourcepub fn limitwave0(&self) -> &LIMIT
pub fn limitwave0(&self) -> &LIMIT
0x3c..0x44 - no description available
sourcepub fn limitwave1(&self) -> &LIMIT
pub fn limitwave1(&self) -> &LIMIT
0x44..0x4c - no description available
sourcepub fn limitwave2(&self) -> &LIMIT
pub fn limitwave2(&self) -> &LIMIT
0x4c..0x54 - no description available
sourcepub fn deadzone_shift(&self, n: usize) -> &DEADZONE_SHIFT
pub fn deadzone_shift(&self, n: usize) -> &DEADZONE_SHIFT
0x54..0x60 - no description available
sourcepub fn deadzone_shift_iter(&self) -> impl Iterator<Item = &DEADZONE_SHIFT>
pub fn deadzone_shift_iter(&self) -> impl Iterator<Item = &DEADZONE_SHIFT>
Iterator for array of: 0x54..0x60 - no description available
sourcepub fn deadzone_shiftwave0(&self) -> &DEADZONE_SHIFT
pub fn deadzone_shiftwave0(&self) -> &DEADZONE_SHIFT
0x54 - no description available
sourcepub fn deadzone_shiftwave1(&self) -> &DEADZONE_SHIFT
pub fn deadzone_shiftwave1(&self) -> &DEADZONE_SHIFT
0x58 - no description available
sourcepub fn deadzone_shiftwave2(&self) -> &DEADZONE_SHIFT
pub fn deadzone_shiftwave2(&self) -> &DEADZONE_SHIFT
0x5c - no description available
sourcepub fn abz_resolution(&self) -> &ABZ_RESOLUTION
pub fn abz_resolution(&self) -> &ABZ_RESOLUTION
0x64 - resolution of wave_a/b/z
sourcepub fn phase_shift_abz(&self, n: usize) -> &PHASE_SHIFT_ABZ
pub fn phase_shift_abz(&self, n: usize) -> &PHASE_SHIFT_ABZ
0x68..0x74 - no description available
sourcepub fn phase_shift_abz_iter(&self) -> impl Iterator<Item = &PHASE_SHIFT_ABZ>
pub fn phase_shift_abz_iter(&self) -> impl Iterator<Item = &PHASE_SHIFT_ABZ>
Iterator for array of: 0x68..0x74 - no description available
sourcepub fn phase_shift_abza(&self) -> &PHASE_SHIFT_ABZ
pub fn phase_shift_abza(&self) -> &PHASE_SHIFT_ABZ
0x68 - no description available
sourcepub fn phase_shift_abzb(&self) -> &PHASE_SHIFT_ABZ
pub fn phase_shift_abzb(&self) -> &PHASE_SHIFT_ABZ
0x6c - no description available
sourcepub fn phase_shift_abzz(&self) -> &PHASE_SHIFT_ABZ
pub fn phase_shift_abzz(&self) -> &PHASE_SHIFT_ABZ
0x70 - no description available
sourcepub fn line_width(&self) -> &LINE_WIDTH
pub fn line_width(&self) -> &LINE_WIDTH
0x74 - Two-phase orthogonality wave 1/4 period
sourcepub fn wdog_width(&self) -> &WDOG_WIDTH
pub fn wdog_width(&self) -> &WDOG_WIDTH
0x78 - wdog width of qeo
sourcepub fn postion_sync(&self) -> &POSTION_SYNC
pub fn postion_sync(&self) -> &POSTION_SYNC
0x7c - sync abz owned postion
sourcepub fn resolution(&self) -> &RESOLUTION
pub fn resolution(&self) -> &RESOLUTION
0x84 - resolution of pwm
sourcepub fn phase_shift(&self, n: usize) -> &PHASE_SHIFT
pub fn phase_shift(&self, n: usize) -> &PHASE_SHIFT
0x88..0x98 - no description available
sourcepub fn phase_shift_iter(&self) -> impl Iterator<Item = &PHASE_SHIFT>
pub fn phase_shift_iter(&self) -> impl Iterator<Item = &PHASE_SHIFT>
Iterator for array of: 0x88..0x98 - no description available
sourcepub fn phase_shifta(&self) -> &PHASE_SHIFT
pub fn phase_shifta(&self) -> &PHASE_SHIFT
0x88 - no description available
sourcepub fn phase_shiftb(&self) -> &PHASE_SHIFT
pub fn phase_shiftb(&self) -> &PHASE_SHIFT
0x8c - no description available
sourcepub fn phase_shiftc(&self) -> &PHASE_SHIFT
pub fn phase_shiftc(&self) -> &PHASE_SHIFT
0x90 - no description available
sourcepub fn phase_shiftd(&self) -> &PHASE_SHIFT
pub fn phase_shiftd(&self) -> &PHASE_SHIFT
0x94 - no description available
sourcepub fn phase_table(&self, n: usize) -> &PHASE_TABLE
pub fn phase_table(&self, n: usize) -> &PHASE_TABLE
0x98..0xf8 - no description available
sourcepub fn phase_table_iter(&self) -> impl Iterator<Item = &PHASE_TABLE>
pub fn phase_table_iter(&self) -> impl Iterator<Item = &PHASE_TABLE>
Iterator for array of: 0x98..0xf8 - no description available
sourcepub fn phase_tableposedge0(&self) -> &PHASE_TABLE
pub fn phase_tableposedge0(&self) -> &PHASE_TABLE
0x98 - no description available
sourcepub fn phase_tableposedge1(&self) -> &PHASE_TABLE
pub fn phase_tableposedge1(&self) -> &PHASE_TABLE
0x9c - no description available
sourcepub fn phase_tableposedge2(&self) -> &PHASE_TABLE
pub fn phase_tableposedge2(&self) -> &PHASE_TABLE
0xa0 - no description available
sourcepub fn phase_tableposedge3(&self) -> &PHASE_TABLE
pub fn phase_tableposedge3(&self) -> &PHASE_TABLE
0xa4 - no description available
sourcepub fn phase_tableposedge4(&self) -> &PHASE_TABLE
pub fn phase_tableposedge4(&self) -> &PHASE_TABLE
0xa8 - no description available
sourcepub fn phase_tableposedge5(&self) -> &PHASE_TABLE
pub fn phase_tableposedge5(&self) -> &PHASE_TABLE
0xac - no description available
sourcepub fn phase_tableposedge6(&self) -> &PHASE_TABLE
pub fn phase_tableposedge6(&self) -> &PHASE_TABLE
0xb0 - no description available
sourcepub fn phase_tableposedge7(&self) -> &PHASE_TABLE
pub fn phase_tableposedge7(&self) -> &PHASE_TABLE
0xb4 - no description available
sourcepub fn phase_tableposedge8(&self) -> &PHASE_TABLE
pub fn phase_tableposedge8(&self) -> &PHASE_TABLE
0xb8 - no description available
sourcepub fn phase_tableposedge9(&self) -> &PHASE_TABLE
pub fn phase_tableposedge9(&self) -> &PHASE_TABLE
0xbc - no description available
sourcepub fn phase_tableposedge10(&self) -> &PHASE_TABLE
pub fn phase_tableposedge10(&self) -> &PHASE_TABLE
0xc0 - no description available
sourcepub fn phase_tableposedge11(&self) -> &PHASE_TABLE
pub fn phase_tableposedge11(&self) -> &PHASE_TABLE
0xc4 - no description available
sourcepub fn phase_tablenegedge0(&self) -> &PHASE_TABLE
pub fn phase_tablenegedge0(&self) -> &PHASE_TABLE
0xc8 - no description available
sourcepub fn phase_tablenegedge1(&self) -> &PHASE_TABLE
pub fn phase_tablenegedge1(&self) -> &PHASE_TABLE
0xcc - no description available
sourcepub fn phase_tablenegedge2(&self) -> &PHASE_TABLE
pub fn phase_tablenegedge2(&self) -> &PHASE_TABLE
0xd0 - no description available
sourcepub fn phase_tablenegedge3(&self) -> &PHASE_TABLE
pub fn phase_tablenegedge3(&self) -> &PHASE_TABLE
0xd4 - no description available
sourcepub fn phase_tablenegedge4(&self) -> &PHASE_TABLE
pub fn phase_tablenegedge4(&self) -> &PHASE_TABLE
0xd8 - no description available
sourcepub fn phase_tablenegedge5(&self) -> &PHASE_TABLE
pub fn phase_tablenegedge5(&self) -> &PHASE_TABLE
0xdc - no description available
sourcepub fn phase_tablenegedge6(&self) -> &PHASE_TABLE
pub fn phase_tablenegedge6(&self) -> &PHASE_TABLE
0xe0 - no description available
sourcepub fn phase_tablenegedge7(&self) -> &PHASE_TABLE
pub fn phase_tablenegedge7(&self) -> &PHASE_TABLE
0xe4 - no description available
sourcepub fn phase_tablenegedge8(&self) -> &PHASE_TABLE
pub fn phase_tablenegedge8(&self) -> &PHASE_TABLE
0xe8 - no description available
sourcepub fn phase_tablenegedge9(&self) -> &PHASE_TABLE
pub fn phase_tablenegedge9(&self) -> &PHASE_TABLE
0xec - no description available
sourcepub fn phase_tablenegedge10(&self) -> &PHASE_TABLE
pub fn phase_tablenegedge10(&self) -> &PHASE_TABLE
0xf0 - no description available
sourcepub fn phase_tablenegedge11(&self) -> &PHASE_TABLE
pub fn phase_tablenegedge11(&self) -> &PHASE_TABLE
0xf4 - no description available
sourcepub fn postion_software(&self) -> &POSTION_SOFTWARE
pub fn postion_software(&self) -> &POSTION_SOFTWARE
0xf8 - softwave inject postion
sourcepub fn postion_sel(&self) -> &POSTION_SEL
pub fn postion_sel(&self) -> &POSTION_SEL
0xfc - select softwave inject postion