1. Basic specifications of HW-RTOS
The basic specifications of HW-RTOS in the R-IN32, RZ-T1, and RZ-N1 Series are as follows.
Item | Specifications |
---|---|
Tasks | 64 |
ISRs | 1 |
Interrupts | 1 |
Interrupts for HW ISR | 32 |
Priority levels | 15 |
Tick intervals | Programmable every 1 us from 10 us to 100 ms |
Semaphore ID | 128 |
Event flag ID | 64 |
Mail box ID | 64 |
2. API
Category | API call | Remarks |
---|---|---|
Start/end task | Terminate task (self), Terminate other task, Start task | |
Event flag | Wait for event flag, Set event flag, Clear event flag | Optional timeout and polling |
Semaphore | Acquire semaphore resource, Release semaphore resource | Optional timeout and polling |
Mail box | Receive from mail box, Send to mail box | Optional timeout and polling |
Wakeup | Wait for wakeup, Wakeup task | Optional timeout |
Priority | Change task priority, Rotate task priority | |
Other | Release waiting, Enter CPU locked state, Release CPU locked state, Disable dispatch, Enable dispatch |
3. HW ISR
In the HW ISR, the following APIs can be set programmably to correspond to interrupt signals.
- Set event flag
- Release semaphore resource
- Wakeup
- Release wait state