Arduino IDE with AVR instruction set

I need to use AVR instruction set in Arduino IDE for specific functions. Where do I find the documentation for the same. example how do I set the Timer , Check the Timer overflow status, Reset the Timer flag etc.

The chip is fully documented in its datasheet.