library function for counter module


can u plz inform me the library function for counter module in arduino

its an urgent one

I think you need to give us a little mor informartion about what you need.

From your post it is very difficult to giove you any help / advice

In ATmega8 we have timer modules and counter modules.

Timer register increments based on our instruction cycle. similarly in counter module the register value increments depending upon an external clock input.

Actually i want to count all input values that i got in external clock pin.
How how can i do a counter ftn in arduino?

Is there any library function for such an external count .

plz tell me .