Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/TMS320F28027: PWM Generation using gpio

$
0
0

Part Number:TMS320F28027

Tool/software: Code Composer Studio

void Gpio_example1(void)
{
// Example 1:
// Toggle I/Os using DATA registers

for(;;)
{
((GPIO_Obj *)myGpio)->GPADAT = 0xAAAAAAAA;

delay_loop();

((GPIO_Obj *)myGpio)->GPADAT = 0x55555555;


delay_loop();
}
}

will this code snippet work for pwm generation using gpio ?


Viewing all articles
Browse latest Browse all 262198


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>