Page 308 of 346 Start Back Next End ZBasic System Library 296 ZBasic Microcontrollers TaskWaitPinChangeQ1 37 The task is waiting for a pin change event, port Q. TaskWaitAnalogCompA0 38 The task is waiting for an analog comparator A event. TaskWaitAnalogCompA1 39 The task is waiting for an analog comparator A event. TaskWaitAnalogCompAW 40 The task is waiting for an analog comparator A window event. TaskWaitAnalogCompB0 41 The task is waiting for an analog comparator B event. TaskWaitAnalogCompB1 42 The task is waiting for an analog comparator B event. TaskWaitAnalogCompBW 43 The task is waiting for an analog comparator B window event. TaskHalting 254 The task is in the process of terminating. TaskHalted 255 The task has terminated. The shaded entries in the table above are specific to ZBasic devices based on ATTiny and ATmega processors. The values 18-43 are specific to ZBasic devices based on ATxmega processors. See the Resource Usage sub-section Pin Change Interrupts for information about the mapping of ports to pin change interrupt events. If this function is invoked using an array other than one that is or was being used for a task stack the result is undefined. See the section on Task Management in the ZBasic Reference Manual for additional information regarding task management. See Also ExitTask, ResumeTask, RunTask, TaskIsValid, WaitForInterrupt