The 8253/8254 timer contains three independent counters that can each divide the input clock frequency. It has four I/O port addresses to access the individual counters and the control register. Each counter has pins for the clock input, output, and gating signal. The timer can operate in different modes like interrupt on terminal count, one shot, rate generator, and software/hardware triggered strobe by programming the corresponding counter and control registers.