187 of 307
ZBasic System Library 177 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 Pin 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-24e, ZX-24ae, ZX-24pe, ZX-24ne 13, D.4 - - - 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 - - - When performing an output capture on a general I/O pin, Timer1 will be used to generate the required timing. On ZX devices that have Timer3, it will be used if Timer1 is not available. If neither 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 mega644P, mega328P Timer1_CompB mega128 Timer1_CompB, Timer3_CompB mega1281 Timer1_CompB, Timer1_CompC, Timer3_CompB mega1280 Timer1_CompB, Timer1_CompC, Timer3_CompB, Timer4_CompB Timer5_CompB Compatibility This routine is not available in BasicX compatibility mode.