Timer1 setting under servo library

Hello everyone!

Today, for the hell of it, I was trying to program a pwm directly to my atmega328p in order to mimic the servo library shipped with the arduino IDE. Even tough I looked through servo.cpp, I could not find which mode of timer1 (pin 9 and 10) was used to generate the pwm.

Thank you in advance

M.