what is happenning actually in any microcontroller with each clock ?

Status
Not open for further replies.

gelectron

Junior Member level 2
Joined
Aug 10, 2012
Messages
23
Helped
4
Reputation
8
Reaction score
3
Trophy points
1,283
Visit site
Activity points
1,416
what is happening actually in any microcontroller with each clock ?

A clock pulse arrived at the concerned pin of the microcontroller what will happen there ?
 

Clock is like heartbeat for a controller.
Just like with every heartbeat the heart pumps blood into your body, in similar fashion with every clock the CPU of the controller executes one instructions provided by you in its memory (i.e. your code ).


for ur 2nd question:

With pulse arriving at any pin there is a possibility of many events according the conditions provided by you in the code.
Suppose you told the controller to monitor the state of the concerned pin and whenever a pulse occurs "do something"(like count those pulses).

hope this helps a bit.....................
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…