> For the complete documentation index, see [llms.txt](https://mwx.twelite.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mwx.twelite.info/latest_en/api-reference/funcs.md).

# Functions

- [System Functions](https://mwx.twelite.info/latest_en/api-reference/funcs/systemfunc.md): System functions (time, random numbers)
- [millis()](https://mwx.twelite.info/latest_en/api-reference/funcs/systemfunc/millis.md): Obtain the system time, \[ms].
- [delay()](https://mwx.twelite.info/latest_en/api-reference/funcs/systemfunc/delay.md): Waiting for time by polling.
- [delayMicroseconds()](https://mwx.twelite.info/latest_en/api-reference/funcs/systemfunc/delaymicroseconds.md): Wait for time by polling (specified in μsec).
- [random()](https://mwx.twelite.info/latest_en/api-reference/funcs/systemfunc/random.md): Generates an random number.
- [DIO General purpose IO](https://mwx.twelite.info/latest_en/api-reference/funcs/dio.md): API for DIO (General-purpose digital IO)
- [pinMode()](https://mwx.twelite.info/latest_en/api-reference/funcs/dio/pinmode.md): Sets the DIO (general-purpose digital IO) pin.
- [digitalWrite()](https://mwx.twelite.info/latest_en/api-reference/funcs/dio/digitalwrite.md): Change the setting of the digital output pins.
- [digitalRead()](https://mwx.twelite.info/latest_en/api-reference/funcs/dio/digitalread.md): Reads the value of the port of the input configuration.
- [attachIntDio()](https://mwx.twelite.info/latest_en/api-reference/funcs/dio/attachintdio.md): to enable DIO interrupt.
- [detachIntDio()](https://mwx.twelite.info/latest_en/api-reference/funcs/dio/detachintdio.md): to unregister the interrupt handler.
- [digitalReadBitmap()](https://mwx.twelite.info/latest_en/api-reference/funcs/dio/digitalreadbitmap.md): Reads the values of all ports in the input settings at once.
- [Utility Functions](https://mwx.twelite.info/latest_en/api-reference/funcs/utility.md)
- [Printf utils](https://mwx.twelite.info/latest_en/api-reference/funcs/utility/printf-utils.md): Printf utils
- [pack\_bits()](https://mwx.twelite.info/latest_en/api-reference/funcs/utility/pack_bits.md): Sets 1 at the specified bit position.
- [collect\_bits()](https://mwx.twelite.info/latest_en/api-reference/funcs/utility/collect_bits.md): Generating bitmaps with specified order.
- [Byte array utils](https://mwx.twelite.info/latest_en/api-reference/funcs/utility/byte-array-utils.md): Byte array utils
- [pack\_bytes()](https://mwx.twelite.info/latest_en/api-reference/funcs/utility/pack_bytes.md): Generates a sequence of bytes by arranging element data.
- [expand\_bytes()](https://mwx.twelite.info/latest_en/api-reference/funcs/utility/expand_bytes.md): Decompose a sequence of bytes and store it in a variable.
- [CRC8, XOR, LRC](https://mwx.twelite.info/latest_en/api-reference/funcs/utility/checksum.md): functions for calculating checksums.
- [div100()](https://mwx.twelite.info/latest_en/api-reference/funcs/utility/div100.md): Fast divisions by 10, 100 or 1000.
- [Scale utils](https://mwx.twelite.info/latest_en/api-reference/funcs/utility/scale-utils.md): scaling function between 0..1000 and 0..255.
- [pnew](https://mwx.twelite.info/latest_en/api-reference/funcs/utility/pnew.md): pnew() - Simplify the description of placement new
