Descriptor chain execution status. More...
#include <spwm.h>
Data Fields | |
| bool | running |
| bool | done |
| bool | error |
| bool | irq_enabled |
| bool | irq_pending |
Descriptor chain execution status.
This structure reports the current state of a descriptor instance running a descriptor chain.
| bool spwm_dsc_chain_status_t::running |
true if descriptor instance is currently executing
| bool spwm_dsc_chain_status_t::done |
true if execution completed and done status is latched
| bool spwm_dsc_chain_status_t::error |
true if an error was detected during execution
| bool spwm_dsc_chain_status_t::irq_enabled |
true if descriptor instance interrupt is enabled
| bool spwm_dsc_chain_status_t::irq_pending |
true if descriptor instance interrupt is pending