7.00M
Категория: ЭлектроникаЭлектроника

Мікропроцесорна техніка 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/5
Interrupts
PSoC Creator 4.2
Designing with PSoC 3/5

3.

Interrupts
3

4.

Модулі PSoC@3/5
4

5.

Цифрові модулі
5

6.

PWMs, Timers and Counters
PWMs, 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 and
Counters
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.

PWM
8

9.

Interrupts
9

10.

Interrupts
10

11.

Interrupts
11

12.

Interrupts
12

13.

Interrupts
13

14.

Interrupts
14

15.

Interrupts
15

16.

Interrupts
16

17.

Interrupts
17

18.

Interrupts
18

19.

Interrupts
19

20.

Interrupts
20

21.

Interrupts
21

22.

Interrupts
22

23.

Interrupts
23

24.

Creator
24

25.

File – New - Projekt
25

26.

Empty PSoC 3 Design
26

27.

Lab_4
27
Interrupts

28.

Configure LCD
28

29.

Main.c
29

30.

Lab_4.cywr
30

31.

Lab_4
31
Interrupts

32.

Lab_4
32
Interrupts

33.

Lab_4
33
Interrupts

34.

Lab_4
34
Interrupts

35.

Lab_4
35
Interrupts

36.

Lab_4
36
Interrupts

37.

Lab_4
37
Interrupts

38.

Lab_4
38
Interrupts

39.

Lab_4
39
Interrupts

40.

Lab_4
40
Interrupts

41.

Lab_4
41
Interrupts

42.

Lab_4
42
Interrupts

43.

Lab_4
43
Interrupts

44.

Lab_4
44
Interrupts

45.

Lab_4
45
Interrupts

46.

Lab_4
46
Interrupts

47.

Lab_4
47
Interrupts

48.

Lab_4
48
Interrupts

49.

Lab_6
49
Interrupts

50.

Приклади застосування
МК PSOC
На сайті фірми
Cypress
знаходиться більше
200 Application
Notes і Reference
Designs, які
ілюструють області
застосування
мікроконтролерів
PSoC.
50

51.

Мікропроцесорна
техніка
(лекція 4, кінець)
Благітко Б.Я.
2019 р.
English     Русский Правила