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 ![Question](images/smiles/icon_question.gif) _________________ i love to work |
|
![](templates/subSilver/images/spacer.gif) |
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 ![Question](images/smiles/icon_question.gif) |
CCS <--- C compiler from CCS company
pwm <--- Pulse Width Modulation
Use google for pwm .... ccs ---> www.ccsinfo.com |
|
![](templates/subSilver/images/spacer.gif) |
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 |
|
![](templates/subSilver/images/spacer.gif) |
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 |
|
![](templates/subSilver/images/spacer.gif) |
|