CANSELPAGE
Uit MCS Wiki AVR
(Verschil tussen bewerkingen)
Admin (Overleg | bijdragen)
(Created page with "= <span class="f_Header">Action</span> = Selects the Message Object index or page. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> <...")
(Created page with "= <span class="f_Header">Action</span> = Selects the Message Object index or page. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> <...")
Huidige versie van 7 feb 2013 om 16:29
Inhoud |
Action
Selects the Message Object index or page.
Syntax
CANSELPAGE index
Remarks
All 15 message objects share the same registers. With CANSELPAGE you select the index of the MOB you want to access.
The index is a constant or variable in the range of 0-14.
You should save and restore the CANPAGE register when changing the index. This is shown in the CAN example.
See also
CONFIG CANBUS , CONFIG CANMOB , CANBAUD , CANRESET , CANCLEARMOB , CANCLEARALLMOBS , CANSEND , CANRECEIVE , CANID , CANGETINTS
Example
| Languages | English • Deutsch |
|---|