| поискавой системы для электроныых деталей |
|
M38045FFHKP датащи(PDF) 245 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
M38045FFHKP датащи(HTML) 245 Page - Renesas Technology Corp |
|
245 / 387 page ![]() 2-121 APPLICATION 2.6 PWM Rev.1.00 Jan 14, 2005 REJ09B0212-0100Z 3804 Group (Spec.H) Fig. 2.6.7 Setting of relevant registers <About PWM output> 1. Set the PWM function enable bit to “1” : The P56/PWM pin is used as the PWM pin. The pulse beginning with “H” level pulse is output. 2. Set the PWM function enable bit to “0” : The P56/PWM pin is used as the port P56. Thus, when fixing the output level, take the following procedure: (1) Write an output value to bit 6 of the port P5 register. (2) Write “010000002” to the port P5 direction register. 3. After data is set to the PWM prescaler and the PWM register, the PWM waveforms corresponding to updated data will be output from the next repetitive cycle. Fig. 2.6.8 PWM output 1 PWM output: Enabled (Note) PWMCON PWM control register (Address : 002B16) 255 ✕ (n + 1) Set “T”, PWM cycle n = 1 PREPWM PWM prescaler (Address : 002C16) Note: The PWM output function has priority even when bit 6 (corresponding bit to P56 pin) of Port P5 direction register is set to “0” (input mode). b7 b0 0 Count source: f(XIN) b7 b0 n [Equation] T = Set “t”, “H” level width of PWM m = 100 PWM PWM register (Address : 002D16) b7 b0 m [Equation] t = f(XIN) T ✕ m 255 PWM output Change PWM output data From the next repetitive cycle, output modified data |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |