- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
typedef volatile struct
{
uint32_t period;
uint32_t pulse_width;
} PWM; voidmain(void){ pwm * const pled = ...
pled->period = 5; pled->pulse_width = 4;
asm("nop"); asm("nop"); asm("nop"); pled->pulse_width = 2;} For the code above. I would like to know what modules I need to create for the computer. For example if i need, a PIO module in SOPC called pLED or period or pulse_width or all of them. Thanks.
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page