This manual introduces the design and use of REX OS
This reference manual describes the REX OS API used in Hisense mobile devices. It includes function prototypes, parameter descriptions, and return values for core OS services such as task creation, priority handling, and system initialization.
The document is organized into sections covering each API function (e.g., rex_init, rex_def_task, rex_set_pri) with purpose, parameters, and usage notes, plus a brief preface and common‑questions list for developers.
Call the rex_init function with the required stack, task control block, and parameter arguments.
Use the rex_set_pri function, passing the desired priority value as an unsigned long.
Call rex_get_pri, which returns the task's priority as an unsigned long.