Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

why these codes can't work?

why these codes can't work?

2006-05-12 by armnewbie

I want to get a 1000HZ PWM.
@15MHz VPB Clock
codes like this

void ini_pwm()
{

   PINSEL0 =0x02<<14;  /* Enable P0.7 as PWM output */
   PWMPR=0x00;
   PWMMCR=0x02;
   PWMPCR=0x0400;
   PWMMR0=0x16E360;
   PWMMR2=PWMMR0/2;
   PWMLER=0x05;
   PWMTCR=0x02;
   PWMTCR=0x09;
}

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.