Start Back Next End
  
ZBasic System Library
212
ZBasic Microcontrollers
For native mode devices, the ISRs noted in the table below are automatically included.  The notation
INT# in that table indicates the default or specified zero-crossing interrupt input, e.g. INT0, INT1, etc. 
The timing for the X-10 signaling is derived from the RTC timer using a second output compare register
(OCRnB).  Target devices that do not have a second compare register consequently do not support the
low-level X-10 functionality.  Further, an application must include the RTC functionality (present by default
in ZX devices, not so in generic target devices) in order to support the low-level X-10 functionality.
Resources Required for Low-level X-10 Functionality
Target Device
Zero-Crossing
Input
ISRs Included
tiny87, tiny167
n/a
n/a
tiny24, tiny24A, tiny44, tiny44A, tiny84, tiny84A, tiny441,
tiny841, tiny48, tiny88, tiny2313, tiny2313A, tiny4313, tiny828,
tiny1634
INT#
Timer0_CompB, INT#
mega8, mega8A, mega16, mega16A, mega32, mega32A,
mega64, mega64A, mega128, mega128A, mega8515,
mega8535, mega161, mega162, mega163, mega323,
mega165, mega165, mega165A, mega165P, mega165PA,
mega325, mega325P, mega645, mega645A, mega645P,
mega169, mega169A, mega169P, mega169PA, mega329,
mega329P, mega329PA, mega649, mega649A, mega649P,
mega3250, mega3250P, mega6450, mega6450A,
mega6450P, mega3290, mega3290P, mega6490,
mega6490A, mega6490P, AT90CAN32, AT90CAN64,
AT90CAN128
n/a
n/a
mega48, mega48A, mega48P, mega48PA, mega48PB,
mega88, mega88A, mega88P, mega88PA, mega88PB,
mega168, mega168A, mega168P, mega168PA, mega168PB,
mega328, mega328P, mega328PB
INT#
Timer0_CompB, INT#
mega164A, mega164P, mega164PA, mega324P,
mega324PA, mega644, mega644A, mega644P, mega644PA,
mega1284P
INT#
Timer0_CompB, INT#
mega640, mega1280, mega2560, mega1281, mega2561
INT#
Timer2_CompB, INT#
mega8U2, mega16U2, mega32U2, AT90USB82,
AT90USB162 
INT#
Timer0_CompB, INT#
AT90USB162, AT90USB646, AT90USB647, AT90USB1286,
AT90USB1287
INT#
Timer2_CompB, INT#
all xmega
A.5
TCC1_CCB, ACA_AC0
Compatibility
If the RTC is not enabled in your application or if the target device does not have a second output
compare register on the RTC timer, this routine will not be available.  Moreover, it is not available in
BasicX compatibility mode.  
See Also
Previous page Top Next page