Navigation bar
  Start Previous page
 15 of 307 
Next page End  

ZBasic System Library
5
ZX Microcontroller Family
Data Manipulation Routines
reverse the order of bits in a byte
extract the high byte of a value
extract the high word of a value
extract the low byte of a value
extract the low word of a value
construct a 32-bit value from two 16-bit values
construct a 16-bit value from two 8-bit values
construct a string from a sequence of bytes
extract the middle two bytes of a 4-byte value
set the state of specified bits in a byte
shift a value to the left
shift a value to the right
change the state of specified bits in a byte
Task-related Routines
prepare a task to begin execution
disable interrupts
pause a task
pause a task
conditionally re-enable interrupts
cause a task to terminate
suspend normal task switching
pause a task without relinquishing control
cause a waiting task to resume execution
cause a specific task to run
coordinate the use of a resource
set the interval timer period
pause a task
enable or disable stack checking
determine the status of a task
determine the unused space in a task’s stack
determine if a task is locked
determine if a task stack is in the task list
resume normal task switching
update RTC registers to account for missed ticks
pause a task until an external event occurs
pause a task until an interval timer expires
allow another task to run
Miscellaneous Routines
deactivate the watchdog timer
cause the CPU to go into sleep mode
compute a 16-bit CRC value
compute a 32-bit CRC value
determine if this is the first the program has been run since downloading
populate a buffer with higher precision timing information
determine the elapsed time relative to previous time information
select the value of one of two expressions
determine the lower bound of an array
perform a non-local goto (e.g. for exception handling)
execute a “nop” instruction
activate the watchdog timer
check the parity of a data byte
Previous page Top Next page