Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

M38045F2HKP Folha de dados(PDF) 245 Page - Renesas Technology Corp

Nome de Peças M38045F2HKP
Descrição Electrónicos  8-BIT CISC SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
PDF  387 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  RENESAS [Renesas Technology Corp]
Página de início  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

M38045F2HKP Folha de dados(HTML) 245 Page - Renesas Technology Corp

Back Button M38045F2HKP Datasheet HTML 241Page - Renesas Technology Corp M38045F2HKP Datasheet HTML 242Page - Renesas Technology Corp M38045F2HKP Datasheet HTML 243Page - Renesas Technology Corp M38045F2HKP Datasheet HTML 244Page - Renesas Technology Corp M38045F2HKP Datasheet HTML 245Page - Renesas Technology Corp M38045F2HKP Datasheet HTML 246Page - Renesas Technology Corp M38045F2HKP Datasheet HTML 247Page - Renesas Technology Corp M38045F2HKP Datasheet HTML 248Page - Renesas Technology Corp M38045F2HKP Datasheet HTML 249Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 245 / 387 page
background image
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



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Folha de dados Download

Go To PDF Page


Ligação URL



ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   Link para a ficha técnica    |   roca de Link   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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