Nexus Embedded Platform 0.1.0
Statically assembled reusable embedded mechanisms
Loading...
Searching...
No Matches
nx_pwm_ops_t Struct Reference

Shared read-only methods using one provider state. More...

#include <timer.h>

Data Fields

nx_result_t(* set )(void *context, uint32_t period_ticks, uint32_t duty_ticks)
nx_result_t(* start )(void *context)
nx_result_t(* stop )(void *context)
nx_result_t(* state )(const void *context, nx_pwm_state_t *state)

Detailed Description

Shared read-only methods using one provider state.

Note
Methods follow each public operation's ownership contract. Missing optional methods report UNSUPPORTED.

Definition at line 33 of file timer.h.

Field Documentation

◆ set

nx_result_t(* nx_pwm_ops_t::set) (void *context, uint32_t period_ticks, uint32_t duty_ticks)

Definition at line 34 of file timer.h.

◆ start

nx_result_t(* nx_pwm_ops_t::start) (void *context)

Definition at line 36 of file timer.h.

◆ state

nx_result_t(* nx_pwm_ops_t::state) (const void *context, nx_pwm_state_t *state)

Definition at line 38 of file timer.h.

◆ stop

nx_result_t(* nx_pwm_ops_t::stop) (void *context)

Definition at line 37 of file timer.h.


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