127 of 208
ZBasic Language Reference 119 ZX Microcontroller Family TIMER3_COMPA 11 TIMER3_COMPA TIMER3_COMPA TIMER3_COMPA TIMER3_COMPB 11 TIMER3_COMPB 7 TIMER3_COMPB 7 TIMER3_COMPB 7 TIMER3_COMPC 11 TIMER3_COMPC TIMER3_COMPC TIMER3_COMPC TIMER3_OVF 11 TIMER3_OVF 5 TIMER3_OVF 5 TIMER3_OVF 5 TIMER4_CAPT 5 TIMER4_COMPA 6 TIMER4_COMPA 6 TIMER4_COMPB TIMER4_COMPB 7 TIMER4_COMPC TIMER4_COMPC TIMER4_OVF TIMER4_OVF 5 TIMER5_CAPT 5 TIMER5_COMPA TIMER5_COMPA TIMER5_COMPB TIMER5_COMPB 7 TIMER5_COMPC TIMER5_COMPC TIMER5_OVF TIMER5_OVF 5 TWI or I2C TWI or I2C TWI or I2C TWI or I2C TWI or I2C USART0_RX 8 USART0_RX 8 USART0_RX 8 USART0_RX 9, 10 USART0_RX 8 USART0_TX 8 USART0_TX 8 USART0_TX 8 USART0_TX 9, 10 USART0_TX 8 USART0_UDRE 8 USART0_UDRE 8 USART0_UDRE 8 USART0_UDRE 9, 10 USART0_UDRE 8 USART1_RX 9 USART1_RX 9 USART1_RX 8, 10 USART1_RX 9 USART1_TX 9 USART1_TX 9 USART1_TX 8, 10 USART1_TX 9 USART1_UDRE 9 USART1_UDRE 9 USART1_UDRE 8, 10 USART1_UDRE 9 USART2_RX 9 USART2_TX 9 USART2_UDRE 9 USART3_RX 9 USART3_TX 9 USART3_UDRE 9 WDT WDT WDT WDT 1 Used by WaitForInterrupt(). 2 Used by the RTC, cannot be replaced. 3 Used by OpenCom() for channels 3-6 (software UART). 4 Used by OpenX10() along with INT0. 5 Used by InputCapture(). 6 Used by ComToDAC() and DACToCom1(). 7 Used by OutputCapture(). 8 Used by Com1, cannot be replaced. 9 Used by OpenCom() for channels 2, 7 or 8 (where supported). 10 For the ZX-1281e and ZX-1281ne, the roles of USART0 and USART1 are reversed. 11 For the mega1284P-based devices only. Available ISR Names by CPU Type (ATxmega Family) xmega32A4 xmega128A1 ACA_AC0 1, 4 , ACA_AC1¹, ACA_AW1¹ ACA_AC0 1, 4 , ACA_AC1¹, ACA_AW1¹ ACB_AC0 1, 4 , ACB_AC1¹, ACB_AW1¹ ADCA_CH0, ADCA_CH1, ADCA_CH2, ADCA_CH3 ADCA_CH0, ADCA_CH1, ADCA_CH2, ADCA_CH3 ADCB_CH0, ADCB_CH1, ADCB_CH2, ADCB_CH3 AES_INT AES_INT DMA_CH0, DMA_CH1, DMA_CH2, DMA_CH3 DMA_CH0, DMA_CH1, DMA_CH2, DMA_CH3 NVM_EE, NVM_SPM NVM_EE, NVM_SPM OSC_XOSCF OSC_XOSCF PORTA_INT0¹, PORTA_INT1¹ PORTA_INT0¹, PORTA_INT1¹ PORTB_INT0¹, PORTB_INT1¹ PORTB_INT0¹, PORTB_INT1¹ PORTC_INT0¹, PORTC_INT1¹ PORTC_INT0¹, PORTC_INT1¹ PORTD_INT0¹, PORTD_INT1¹ PORTD_INT0¹, PORTD_INT1¹ PORTE_INT0¹, PORTE_INT1¹ PORTE_INT0¹, PORTE_INT1¹