Updates:
Status: Accepted
Comment #5 on issue 159 by robhamerling: Jallib device files optimization
http://code.google.com/p/jallib/issues/detail?id=159
{re-opened issue because of additional comment by Gordon Williams in
Jallist}
Proposal for the following construction (for PICs without LATx registers):
var volatile byte _PORTA at { 0x5 }
Now this will work for the write to port A:
procedure PORTA'put(byte in x at _PORTA_shadow ) is
pragma inline
_PORTA = _PORTA_shadow
end procedure
For the read from port A:
procedure PORTA'get(byte out x at _PORTA) is
pragma inline
end procedure
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.