Similar presentations:
Мікропроцесорна техніка PSoC Creator 4.2 Designing with PSoC 3/5. (Лекція 4)
1.
Мікропроцесорнатехніка
(лекція 4)
Благітко Б.Я.
2019 р.
PSoC Creator 4.2
Designing with PSoC 3/5
2.
PSoC@3/5Interrupts
PSoC Creator 4.2
Designing with PSoC 3/5
3.
Interrupts3
4.
Модулі PSoC@3/54
5.
Цифрові модулі5
6.
PWMs, Timers and CountersPWMs, Timers and Counters share many
capabilities
but
each
provides
specific
capabilities.
When to Use a PWM
The most common use of the PWM is to
generate periodic waveforms with adjustable
duty cycles. The PWM also provides optimized
features for power control, motor control,
switching regulators and lighting control. The
PWM can also be used as a clock divider by
driving a clock into the clock input and using
the terminal count or a PWM output as the
divided clock output.
6
7.
PWMs, Timers andCounters
When to Use a Counter
A Counter component is better used in
situations that require the counting of a
number of events but also provides rising edge
capture input as well as a compare output.
When to Use a Timer
A Timer component is better used in
situations focused on timing the length of
events, measuring the interval of multiple
rising and/or falling edges, or for multiple
capture events.
7
8.
PWM8
9.
Interrupts9
10.
Interrupts10
11.
Interrupts11
12.
Interrupts12
13.
Interrupts13
14.
Interrupts14
15.
Interrupts15
16.
Interrupts16
17.
Interrupts17
18.
Interrupts18
19.
Interrupts19
20.
Interrupts20
21.
Interrupts21
22.
Interrupts22
23.
Interrupts23
24.
Creator24
25.
File – New - Projekt25
26.
Empty PSoC 3 Design26
27.
Lab_427
Interrupts
28.
Configure LCD28
29.
Main.c29
30.
Lab_4.cywr30
31.
Lab_431
Interrupts
32.
Lab_432
Interrupts
33.
Lab_433
Interrupts
34.
Lab_434
Interrupts
35.
Lab_435
Interrupts
36.
Lab_436
Interrupts
37.
Lab_437
Interrupts
38.
Lab_438
Interrupts
39.
Lab_439
Interrupts
40.
Lab_440
Interrupts
41.
Lab_441
Interrupts
42.
Lab_442
Interrupts
43.
Lab_443
Interrupts
44.
Lab_444
Interrupts
45.
Lab_445
Interrupts
46.
Lab_446
Interrupts
47.
Lab_447
Interrupts
48.
Lab_448
Interrupts
49.
Lab_649
Interrupts
50.
Приклади застосуванняМК PSOC
На сайті фірми
Cypress
знаходиться більше
200 Application
Notes і Reference
Designs, які
ілюструють області
застосування
мікроконтролерів
PSoC.
50
51.
Мікропроцесорнатехніка
(лекція 4, кінець)
Благітко Б.Я.
2019 р.