1 Intro
2
Electrocardiogram (
Ecg
) Signals
The Electrocardiogram (
Ecg
)
•
Ecg
: electrical manifestation of heart activity recorded
from the body surface
•
monitoring of heart rate
The
Ecg
signal can be recorded fairly easily with surface
electrodes placed on the limbs and/or the chest, see pages
6
–
16
below.
Josef Goette
2
2009
3 Keil SDK
3.5 Setting up a new Project
3.5.1 Preparation
Create a new directory for the project. Copy the files copy
STM32 Init.c
,
STM32 Init.h
,
STM32 Reg.h
and
renameMe.c
from
/code/library
into the new folder. Rename
renameMe.c
to
gpio.c
.
gpio.c
This will be the main file.
•
STM32 Init.c
and
STM32 Init.h
: Configuration files for the STM32 processor
•
STM32 Reg.h
: Register file with defined addresses
3.5.2 Create a new project
Open
µ
Vision3 and create a new project by
Project
7→
µ
Vision3 Project...
as shown in Figure
and
save it as
gpio.uv2
.
Figure 3.1:
Create a new project
The SDK needs to know your microcontroller and therefore you must specify the device to
STM32F103RB
from STMicroelectronics (Figure
Figure 3.2:
Specify the device: STM32F103RB
The STM32 requires startup code which can be added automatically as shown in Figure
. Click
on Yes.
14
STM32 Cortex-M3 Tutorial