Hi,

Can any one provide me TOM code for generating 1Mhz clock with 50% duty cycle. My controller operating frequency is 20Mhz.