The intervals after which the duty cycle is updated for the PIO_MOTOR  dịch - The intervals after which the duty cycle is updated for the PIO_MOTOR  Việt làm thế nào để nói

The intervals after which the duty

The intervals after which the duty cycle is updated for the PIO_MOTOR
* signal, in microseconds.
*
* Setting it to (NUMBER_OF_STEPS/32768) seconds would change the duty cycle
* after one complete pulse cycle, since each cycle consists of as many steps
* as NUMBER_OF_STEPS and each step takes (1/32768) seconds. */


The total number of steps when incrementing the duty cycle. This value
* has range 1 to 255. It determines the frequency (or time period)
* of the PWM waveform generated; lower the value higher the frequency */

Initialise UART communications

/* Pulse timings for the dullest part of the sequence:
* dullest part of the sequence has the pulse off for the whole
* period, in effect the line stays low for the duration for which
* the dullest part of the sequence lasts. */
0, /* ON time for the pulse is 0us */
255, /* OFF time for the pulse is (255 * 30)us */
62, /* Dullest part of the sequence lasts for
( 62 * 16 )ms before ramping up to the brightest
part of the sequence */

/* Pulse timings for the brightest part of the sequence:
* brightest part of the sequence has the pulse ON for the whole
* period, in effect the line stays high for the duration for which
* the brightest part of the sequence lasts. */
255, /* ON time for the pulse is (255 * 30)us */
0, /* OFF time for the pulse is 0us */
62, /* Brightest part of the sequence lasts for
( 62 * 16 )ms before ramping down to the dullest
part of the sequence */

/* Ramping between dullest and brightest parts of the sequence
* This parameter determines the duration for which the ramping
* lasts when going from dullest to the brightest (and vice-versa).
*
* The total duration for which the ramping lasts is determined by
* multiplying this value with one less than the difference between
* the on_time or off_time of the two states, whichever is bigger;
* in the units of 30us
* */
132 /* Ramping lasts for ((255-1) * 132 * 30)us */

Duration for which the first part of the sequence lasts for
* in units of 16ms. Since a fixed frequency waveform is
* produced, both parts of the sequence contain identical
* pulses. As ramping will not enabled for this PWM, the
* output switches from the first part of the sequence to
* the second part instantaneously. Since they are identical,
* the switching doesn't have any effect and hence the duration
* for which the first or second part of the sequence last
* doesn't really matter. We simply choose a non-zero value. */


/* ON time for the pulses during the second part of the
* sequence is also (value * 30)us */


pwm_id the index (0-3) of the PWM unit to be configured.
mode the operating mode (pio_pwm_mode) of the PIO pins used.
dull_off_time the amount of time, in units of ~30us, for which the LED should be off during the dullest part of the flash sequence.

dull_on_time the amount of time, in units of ~30us, for which the LED should be on during the dullest part of the flash sequence.
dull_hold_time the amount of time, in units of ~16ms, for which the LED should be held in the dullest part of the flash sequence.
bright_off_time the amount of time, in units of ~30us, for which the LED should be off during the brightest part of the flash sequence.
bright_on_time the amount of time, in units of ~30us, for which the LED should be on during the brightest part of the flash sequence.
bright_hold_time the amount of time, in units of ~16ms, for which the LED should be held in the brightest part of the flash sequence.
ramp_rate the ramp rate for ramping between brightness levels, in units of ~30us per step with 0 being instantaneous (no ramp).


Enumerations
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
The intervals after which the duty cycle is updated for the PIO_MOTOR * signal, in microseconds. * * Setting it to (NUMBER_OF_STEPS/32768) seconds would change the duty cycle * after one complete pulse cycle, since each cycle consists of as many steps * as NUMBER_OF_STEPS and each step takes (1/32768) seconds. */The total number of steps when incrementing the duty cycle. This value * has range 1 to 255. It determines the frequency (or time period) * of the PWM waveform generated; lower the value higher the frequency */ Initialise UART communications /* Pulse timings for the dullest part of the sequence: * dullest part of the sequence has the pulse off for the whole * period, in effect the line stays low for the duration for which * the dullest part of the sequence lasts. */ 0, /* ON time for the pulse is 0us */ 255, /* OFF time for the pulse is (255 * 30)us */ 62, /* Dullest part of the sequence lasts for ( 62 * 16 )ms before ramping up to the brightest part of the sequence */ /* Pulse timings for the brightest part of the sequence: * brightest part of the sequence has the pulse ON for the whole * period, in effect the line stays high for the duration for which * the brightest part of the sequence lasts. */ 255, /* ON time for the pulse is (255 * 30)us */ 0, /* OFF time for the pulse is 0us */ 62, /* Brightest part of the sequence lasts for ( 62 * 16 )ms before ramping down to the dullest part of the sequence */ /* Ramping between dullest and brightest parts of the sequence * This parameter determines the duration for which the ramping * lasts when going from dullest to the brightest (and vice-versa). * * The total duration for which the ramping lasts is determined by * multiplying this value with one less than the difference between * the on_time or off_time of the two states, whichever is bigger; * in the units of 30us * */ 132 /* Ramping lasts for ((255-1) * 132 * 30)us */ Duration for which the first part of the sequence lasts for * in units of 16ms. Since a fixed frequency waveform is * produced, both parts of the sequence contain identical * pulses. As ramping will not enabled for this PWM, the * output switches from the first part of the sequence to * the second part instantaneously. Since they are identical, * the switching doesn't have any effect and hence the duration * for which the first or second part of the sequence last * doesn't really matter. We simply choose a non-zero value. */ /* ON time for the pulses during the second part of the * sequence is also (value * 30)us */pwm_id the index (0-3) of the PWM unit to be configured.mode the operating mode (pio_pwm_mode) of the PIO pins used.dull_off_time the amount of time, in units of ~30us, for which the LED should be off during the dullest part of the flash sequence.dull_on_time the amount of time, in units of ~30us, for which the LED should be on during the dullest part of the flash sequence.dull_hold_time the amount of time, in units of ~16ms, for which the LED should be held in the dullest part of the flash sequence.bright_off_time the amount of time, in units of ~30us, for which the LED should be off during the brightest part of the flash sequence.bright_on_time the amount of time, in units of ~30us, for which the LED should be on during the brightest part of the flash sequence.bright_hold_time the amount of time, in units of ~16ms, for which the LED should be held in the brightest part of the flash sequence.ramp_rate the ramp rate for ramping between brightness levels, in units of ~30us per step with 0 being instantaneous (no ramp).Enumerations
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: