Timer, counter, clock-calendar, flip-flop as peripheral