|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||||
|
|||||
|
Re: Shadow Register Problem
Do you consider macros more or less readable than what you have?
A macro for that statement off the top of my heads is Code:
#define writeShadow(S,R) while((S).CANMC.bit.CCR==0){(S).CANMC.all=(R).CANMC.all;};
Code:
writeShadow(ECanaShadow,ECanaRegs) |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shadow of the Colossus - Absolutly Amazing | Zero-Bee | Chit-Chat | 0 | 07-01-2006 13:35 |
| pic: The Shadow Claw | bradleym1559 | Robot Showcase | 8 | 27-02-2005 15:10 |
| pic: 1241 Robot - Shadow | CD47-Bot | Robot Showcase | 2 | 11-04-2004 13:16 |
| Shadow? | Jack | Chit-Chat | 9 | 03-02-2003 20:28 |
| How to register | Jeremy Roberts | General Forum | 0 | 02-10-2002 01:09 |