Start Back Next End
  
ZBasic System Library
29
ZBasic Microcontrollers
System Library Routines that Disable Interrupts
CountTransitions
I2CPutByte
RCTime
DACPin
PlaySound
Reset1Wire
FreqOut
PulseIn
ShiftIn
Get1Wire
PulseOut
ShiftInEx
Get1WireByte
Put1Wire
ShiftOut
Get1WireData
Put1WireByte
ShiftOutEx
I2CCmd
Put1WireData
I2CGetByte
PutDAC
The I2C routines do not disable interrupts when the hardware I2C controller is used (e.g. channel 0).
External Interrupts
ATtiny and ATmega target devices (and ZX devices based on them) support a varying number of external
interrupt inputs.  (External interrupts are not available on any ATxmega devices.)  The table below gives
the available external interrupt input pins for ZX devices.
External Interrupt Pins for ZX Devices
ZX Device
Ext.
Int.
Pin
Ext.
Int.
Pin
ZX-24, ZX-24a, ZX-24p, ZX-24n, ZX-24r, ZX-24s
INT0
INT2
6, D.2
18, B.2
INT1
11, D.3
ZX-40, ZX-40a, ZX-40p, ZX-40n, ZX-40r, ZX-40s, ZX-40t
INT0
INT2
16, D.2
3, B.2
INT1
17, D.3
ZX-44, ZX-44a, ZX-44p, ZX-44n, ZX-44r, ZX-44s, ZX-44t
INT0
INT2
11, D.2
42, B.2
INT1
12, D.3
ZX-328n, ZX-328l
INT0
4, D.2
INT1
5, D.3
ZX-32n, ZX-32l
INT0
32, D.2
INT1
1, D.3
ZX-1281, ZX-1281n
INT0
INT2
INT4
INT6
25, D.0
27, D.2
6, E.4
8, E.6
INT1
INT3
INT5
INT7
26, D.1
28, D.3
7, E.5
9, E.7
ZX-1280, ZX-1280n
INT0
INT2
INT4
INT6
43, D.0
45, D.2
6, E.4
8, E.6
INT1
INT3
INT5
INT7
44, D.1
46, D.3
7, E.5
9, E.7
ZX-24e, ZX-24ae, ZX-24pe, ZX-24ne, ZX-24pu, ZX-24nu,
ZX-24ru, ZX-24su
INT0
INT2
18, D.2
26, B.2
INT1
17, D.3
ZX-128e, ZX-128ne, ZX-1281e, ZX-1281ne
INT0
INT2
INT4
INT6
12, D.0
10, D.2
16, E.4
14, E.6
INT1
INT3
INT5
INT7
11, D.1
9, D.3
15, E.5
13, E.7
ZX-328nu
INT0
5, D.2
INT1
6, D.3
The table below gives the available external interrupt input pins for generic target devices.  Note that
external interrupts are not available on xmega devices.
Previous page Top Next page