Embedded Systems Final

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

flashcard set

Earn XP

Description and Tags

C Embedded Systems Flashcards

Last updated 5:23 AM on 7/22/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

What is Embedded C?

Embedded C is an extension of C language and it is used to develop microcontroller based applications.

2
New cards

What is C language?

C is a general-purpose programming language, which is widely used to design hardware-based applications.

3
New cards

Global Variable

A global variable exists in the program for the entire time the program is executed. Global variables are created starting address 0x0200.

4
New cards

Local Variable

A local variable is created when the function is executed, and once the execution is finished, the variable is destroyed. Local variables are kept in the stack (0x0400).

5
New cards

Executable File

The executable file (.out) that is output from the build process is the file that can be loaded and executed on a target device.

6
New cards

Header File

A header file is a file with extension .h which contains C function declarations and macro definitions to be shared between several source files.

7
New cards

#include files and why you would want to have multiple .c source files for a program.

(1) It speeds up compile time.

(2) It keeps your code more organized.

(3) It allows you to separate interface from implementation.

8
New cards

Static Library

A static library is a compiled object file containing all symbols required by the main program to operate (functions, variables etc.) as opposed to having to pull in separate entities.

9
New cards

#ifndef

checks whether HEADERFILE_H is not declared

10
New cards

#define

will declare HEADERFILE_H once #ifndef generates true

11
New cards

#endif

is to know the scope of #ifndef i.e end of #ifndef

12
New cards

Source Files

the files that contain the code that gets compiled. The implementation of your algorithm is contained in a source file.

13
New cards

What is Capture?

A timer capture will store the current value of the timer into one of the

capture/compare registers upon a triggering event.

14
New cards

The timer has four modes of operation:

stop, up, continuous, and up/down.

15
New cards

The SYNC bit enables…

synchronous capture, which means the capture event is

synchronized with the timer clock.

16
New cards

What is Compare?

The compare mode is selected when CAP = 0. Compare mode is used to

generate PWM output signals or interrupts at specific time intervals.

17
New cards

PWM meaning

Pulse Width Modulation

18
New cards

PWM Device

It’s a device that breaks up a DC voltage into pulses which can be changed to our needs. When

we change the width of the pulses, we are modulating them

19
New cards

Serial Communication

In serial communication the data bits are transmitted serially one by one i.e. bit

by bit on single communication line. Less costly.

20
New cards

Parallel Communication

In parallel communication, all the bits of data are transmitted simultaneously

on separate communication lines. Used for shorter distance.