Similar presentations:
Microprocessor technology. Мікропроцесорна техніка (лекція 4)
1. Мікропроцесорна техніка (лекція 4) Благітко Б.Я. 2019 р.
PSoC Creator 4.2Designing with PSoC 3/5
2. PSoC@3/5 Interrupts
PSoC Creator 4.2Designing with PSoC 3/5
3. Interrupts
34. Модулі PSoC@3/5
45. Цифрові модулі
56. PWMs, Timers and Counters
PWMs, Timers and Counters share manycapabilities
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 and Counters
When to Use a CounterA 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. PWM
89. Interrupts
910. Interrupts
1011. Interrupts
1112. Interrupts
1213. Interrupts
1314. Interrupts
1415. Interrupts
1516. Interrupts
1617. Interrupts
1718. Interrupts
1819. Interrupts
1920. Interrupts
2021. Interrupts
2122. Interrupts
2223. Interrupts
2324. Creator
2425. File – New - Projekt
2526. Empty PSoC 3 Design
2627.
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