Integrated circuit timer