202 of 323
ZBasic System Library 192 ZX Microcontroller Family Resource Usage This routine uses the I/O Timer. If the timer is already in use the routine will return immediately without performing the waveform generation. Also, this routine cannot be used at the same time as InputCapture() or InputCaptureEx() that requires the same timer. Hardware Output Capture Pins ZX Models Timer 1 Pin Timer 3 Pin Timer 4 Pin Timer 5 Pin ZX-24, ZX-24a, ZX-24p, ZX-24n 27, D.4 - - - ZX-40, ZX-40a, ZX-40p, ZX-40n 18, D.4 - - - ZX-44, ZX-44a, ZX-44p, ZX-44n 13, D.4 - - - ZX-24r, ZX-24s 27, D.4 B.7 - - ZX-40r, ZX-40s 18, D.4 8, B.7 - - ZX-44r, ZX-44s 13, D.4 3, B.7 - - ZX-24e, ZX-24ae, ZX-24ne, ZX-24pe, ZX-24nu, ZX-24pu 13, D.4 - - - ZX-24ru, ZX-24su 16, D.4 21, B.7 - - ZX-328n, ZX-328l 16, B.2 - - - ZX-32n, ZX-32l 14, B.2 - - - ZX-1281, ZX-1281n 16, B.6 6, E.4 - - ZX-1280, ZX-1280n 25, B.6 6, E.4 16, H.4 39, L.4 ZX-128e, ZX-128ne, ZX-1281e, ZX-1281ne 22, B.6 16, E.4 - - ZX-328nu 13, B.2 - - - Hardware Output Capture Pins ZX Models TimerC0 TimerD0 TimerD1 TimerE0 TimerE1 TimerF0 TimerF1 ZX-24x 11, C.1 27, D.1 D.5 17, E.1 - - - ZX-32a4 11, C.1 21, D.1 25, D.5 29, E.1 - - - ZX-128a1 16, C.1 26, D.1 30, D.5 36, E.1 40, E.5 46, F.1 50, F.5 ZX-24xu 11, C.1 13, D.1 15, D.5 23, E.1 - - - When performing an output capture on a general I/O pin, the IO Timer will be used to generate the required timing. On ZX devices that have other 16-bit timers, they will be used if the IO Timer is not available. If no 16-bit timer is available, the routine will return immediately. For native code devices, the table below gives the ISRs that may be loaded if your program uses OutputCapture(). If the compiler cannot determine which specific timer ISR is required by analyzing the parameters used, all listed ISRs will be included. ISRs Required Underlying CPU ISR Name mega328P, mega644P Timer1_CompB mega128 Timer1_CompB, Timer3_CompB mega1281, mega1284P Timer1_CompB, Timer1_CompC, Timer3_CompB mega1280 Timer1_CompB, Timer1_CompC, Timer3_CompB, Timer4_CompB Timer5_CompB xmega32A4 TimerC0_CCB, TimerD0_CCB, TimerD1_CCB, TimerE0_CCB xmega128A1 TimerC0_CCB, TimerD0_CCB, TimerD1_CCB,