| View previous topic :: View next topic |
| Author |
Message |
haseeb1431
Joined: 29 Apr 2009 Posts: 2 Location: Pakistan
|
| What is CCS and pwm in mcu |
Posted: Wed Apr 29, 2009 6:58 am |
|
|
i cannot understand that basically what is ccs and pwm and how these
work  _________________ i love to work |
|
 |
bungee-
Joined: 27 Jun 2007 Posts: 206
|
| Re: What is CCS and pwm in mcu |
Posted: Wed Apr 29, 2009 7:46 am |
|
|
| haseeb1431 wrote: | i cannot understand that basically what is ccs and pwm and how these
work  |
CCS <--- C compiler from CCS company
pwm <--- Pulse Width Modulation
Use google for pwm .... ccs ---> www.ccsinfo.com |
|
 |
haseeb1431
Joined: 29 Apr 2009 Posts: 2 Location: Pakistan
|
|
Posted: Wed Apr 29, 2009 7:56 am |
|
|
ccs not this way
we used this functions in picc compiler as
set_ccp(ccp_pwm)??? _________________ i love to work |
|
 |
Ttelmah Guest
|
|
Posted: Wed Apr 29, 2009 10:06 am |
|
|
CCP, not CCS......
CCP. Stands for 'Capture Compare PWM'. Basically a hardware counter in the chip, that can be configured to capture times when an external signal occurs (capture). Compare a constant value, with a timer, and trigger when they match (Compare), or generate a PWM output, based upon an internal clock, and a width value (PWM). The setting you post, configures the module, to perform the latter function.
Microchip, have a number of application notes about their CCP modules. Read them.....
Best Wishes |
|
 |
|