|
The OP
Published on 2011-7-19 14:50
Only look at the author
This post is from Microcontroller MCU
Latest reply
The author of the post is so sharp. It took me many days to put together this program. I admire you for analyzing it to this point!
#pragma vector=TIMER1_A1_VECTOR__interrupt void TIMER1_A1_ISR(void){switch(__even_in_range(TA1IV,14)){case 0: break; case 2: TA1CCR1 += 16; // Add Offset to CCR1break;case 4: TA1CCR2 += 100; // Add Offset to CCR2break;case 6: break; // CCR3 not usedcase 8: break; // CCR4 not usedcase 10: break; // CCR5 not usedcase 12: break; // Reserved not usedcase 14: P4OUT ^= 0x10; // overflowbreak;default: break;}}
Details
Published on 2011-8-6 17:27
| ||
|
|
||
|
gongshuipeng
Currently offline
|
2
Published on 2011-7-20 14:12
Only look at the author
This post is from Microcontroller MCU
| |
|
|
||
|
|
|
4
Published on 2011-8-6 17:27
Only look at the author
This post is from Microcontroller MCU
| ||
|
|
||
|
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building,
Block B, 18 Zhongguancun Street, Haidian District,
Beijing 100190, China
Tel:(010)82350740
Postcode:100190
京公网安备 11010802033920号

