ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_gpt_three_phase_state_t Struct Reference

Driver-internal three-phase tracking state. More...

Data Fields

uint8_t channels [k_ra8_gpt_three_phase_count]
 Channel ids.
uint32_t channel_mask
 OR of (1<<ch) bits.
bool open
 Open flag.

Detailed Description

Driver-internal three-phase tracking state.

Holds the U/V/W channel ids recorded at ra8_gpt_three_phase_open time so that set_duty and close know which channels to operate on without re-reading caller config.

Definition at line 740 of file ra8_gpt.c.

Field Documentation

◆ channel_mask

uint32_t ra8_gpt_three_phase_state_t::channel_mask

OR of (1<<ch) bits.

Definition at line 742 of file ra8_gpt.c.

◆ channels

uint8_t ra8_gpt_three_phase_state_t::channels[k_ra8_gpt_three_phase_count]

Channel ids.

Definition at line 741 of file ra8_gpt.c.

◆ open

bool ra8_gpt_three_phase_state_t::open

Open flag.

Definition at line 743 of file ra8_gpt.c.


The documentation for this struct was generated from the following file: