Professional Documents
Culture Documents
Student Workbook/Manual
1
Student Workbook EE-07310: Microprocessor based Embedded Systems
LABORATORY SESSION # 3
3 Configuration of STM32F100xx GPIOs as an Output
3.1 EQUIPMENT & MATERIAL REQUIRED
- __________________________________
- __________________________________
- __________________________________
- __________________________________
- __________________________________
- __________________________________
- __________________________________
- __________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
3.3 PROCEDURE
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
2
Student Workbook EE-07310: Microprocessor based Embedded Systems
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
3
Student Workbook EE-07310: Microprocessor based Embedded Systems
4
Student Workbook EE-07310: Microprocessor based Embedded Systems
Figure 3.3: (a) Peripherals selection and (b) Port C peripheral window
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
____________________________________________________________________
5
Student Workbook EE-07310: Microprocessor based Embedded Systems
6
Student Workbook EE-07310: Microprocessor based Embedded Systems
7
Student Workbook EE-07310: Microprocessor based Embedded Systems
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
8
Student Workbook EE-07310: Microprocessor based Embedded Systems
- Investigate the outcome of program if the data type of variable ‘i’ in for loop
is changed from ‘int’ to ‘char’.
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
- Masking is used in the code. Compare the simple assignment of values to the
register with the masking approach.
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
- How can you enable and disable the clock for GPIOA, GPIOB and GPIOC
simultaneously?
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
9
Student Workbook EE-07310: Microprocessor based Embedded Systems
Is adept in the use Is able to use the Is able to use the Is unable to use
of software tool software tool software tool but the software tool
Software Usage
and can access effectively by cannot access all 10
(Software) – C3
advanced features accessing all the the required
required features features
10