hi...its a doubt related to psoc .i have to doubt that how to provide digital data as input to one of the PWM as the pwm has two inputs one is system clock and the other is enable. i need to give the digital data as input to enable??whether i need to use UART???
The PWM used a clock generated from the system. The period and duty cycle are then set in software. The commands for doing that are in the datasheet. You can view the datasheet from PSoC Designer.
The PWM, like all microcontroller PWMs, is software controlled. You could write some code to change the PWM based on data from somewhere else, e.g. from a UART or I/O pins.