CMSIS-RTX  
Keil RTX5 Real-Time Operating System
 
Loading...
Searching...
No Matches
osRtxInfo_t Struct Reference

OS Runtime Information structure. More...

#include <rtx_os.h>

Data Fields

const char * os_id
 OS Identification.
 
uint32_t version
 OS Version.
 
struct {
uint8_t state
 State.
 
volatile uint8_t blocked
 Blocked.
 
uint8_t pendSV
 Pending SV.
 
uint8_t protect
 Protect options.
 
uint32_t tick
 Tick counter.
 
} kernel
 Kernel Info.
 
int32_t tick_irqn
 Tick Timer IRQ Number.
 
struct {
   struct {
osRtxThread_t * curr
 Current running Thread.
 
osRtxThread_t * next
 Next Thread to Run.
 
   } run
 Thread Run Info.
 
osRtxObject_t ready
 Ready List Object.
 
osRtxThread_t * idle
 Idle Thread.
 
osRtxThread_t * delay_list
 Delay List.
 
osRtxThread_t * wait_list
 Wait List (no Timeout)
 
osRtxThread_t * terminate_list
 Terminate Thread List.
 
osRtxThread_t * wdog_list
 Watchdog List.
 
   struct {
osRtxThread_t * thread
 Round Robin Thread.
 
uint32_t timeout
 Round Robin Timeout.
 
   } robin
 Thread Round Robin Info.
 
} thread
 Thread Info.
 
struct {
osRtxTimer_t * list
 Active Timer List.
 
osRtxThread_t * thread
 Timer Thread.
 
osRtxMessageQueue_t * mq
 Timer Message Queue.
 
void(* tick )(void)
 Timer Tick Function.
 
} timer
 Timer Info.
 
struct {
uint16_t max
 Maximum Items.
 
uint16_t cnt
 Item Count.
 
uint16_t in
 Incoming Item Index.
 
uint16_t out
 Outgoing Item Index.
 
void ** data
 Queue Data.
 
} isr_queue
 ISR Post Processing Queue.
 
struct {
void(* thread )(osRtxThread_t *)
 Thread Post Processing function.
 
void(* event_flags )(osRtxEventFlags_t *)
 Event Flags Post Processing function.
 
void(* semaphore )(osRtxSemaphore_t *)
 Semaphore Post Processing function.
 
void(* memory_pool )(osRtxMemoryPool_t *)
 Memory Pool Post Processing function.
 
void(* message )(osRtxMessage_t *)
 Message Post Processing function.
 
} post_process
 ISR Post Processing functions.
 
struct {
void * stack
 Stack Memory.
 
void * mp_data
 Memory Pool Data Memory.
 
void * mq_data
 Message Queue Data Memory.
 
void * common
 Common Memory.
 
} mem
 Memory Pools (Variable Block Size)
 
struct {
osRtxMpInfo_t * stack
 Stack for Threads.
 
osRtxMpInfo_t * thread
 Thread Control Blocks.
 
osRtxMpInfo_t * timer
 Timer Control Blocks.
 
osRtxMpInfo_t * event_flags
 Event Flags Control Blocks.
 
osRtxMpInfo_t * mutex
 Mutex Control Blocks.
 
osRtxMpInfo_t * semaphore
 Semaphore Control Blocks.
 
osRtxMpInfo_t * memory_pool
 Memory Pool Control Blocks.
 
osRtxMpInfo_t * message_queue
 Message Queue Control Blocks.
 
} mpi
 Memory Pools (Fixed Block Size)
 

Description

OS Runtime Information structure.

Field Documentation

◆ os_id

const char* os_id

OS Identification.

◆ version

uint32_t version

OS Version.

◆ 

struct { ... } kernel

Kernel Info.

◆ tick_irqn

int32_t tick_irqn

Tick Timer IRQ Number.

◆ 

struct { ... } thread

Thread Info.

◆ 

struct { ... } timer

Timer Info.

◆ 

struct { ... } isr_queue

ISR Post Processing Queue.

◆ 

struct { ... } post_process

ISR Post Processing functions.

◆ 

struct { ... } mem

Memory Pools (Variable Block Size)

◆ 

struct { ... } mpi

Memory Pools (Fixed Block Size)