mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Merged in yanqil-br/feature-multi_chan_pwm (pull request #973)
multi-channel PWM with single chan selection Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
@@ -154,6 +154,9 @@ struct pwm_info_s
|
||||
uint32_t count; /* The number of pulse to generate. 0 means to
|
||||
* generate an indefinite number of pulses */
|
||||
# endif
|
||||
# ifdef CONFIG_PWM_MULTICHAN_SELECT
|
||||
uint8_t chan_num; /* Selects the PWM channel number to modify */
|
||||
#endif
|
||||
#endif /* CONFIG_PWM_MULTICHAN */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user