- This topic has 0 replies, 1 voice, and was last updated 9 years ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
|
LPC_TMR32B0->MR0 = 50 * ((SystemCoreClock/(LPC_
LPC_TMR16B0->PR = 00;
LPC_TMR16B0->MR3 = 1000;//freq is generated at this point of match register
LPC_TMR16B0->MR0 = LPC_TMR16B0->MR3/4; //MAT0 1/4 low, 3/4 high
LPC_TMR16B0->PWMC = ((1<<0)|(1<<1));
LPC_TMR16B0->TCR = 1; //start timer 0//clock runs & tim dec
}
Thank you.