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

RTX5 types. More...

Data Structures

struct  osRtxEventFlags_t
 Event Flags Control Block. More...
 
struct  osRtxMemoryPool_t
 Memory Pool Control Block. More...
 
struct  osRtxMessage_t
 Message Control Block. More...
 
struct  osRtxMessageQueue_t
 Message Queue Control Block. More...
 
struct  osRtxMpInfo_t
 Memory Pool Information. More...
 
struct  osRtxMutex_t
 Mutex Control Block. More...
 
struct  osRtxObject_t
 Generic Object Control Block. More...
 
struct  osRtxSemaphore_t
 Semaphore Control Block. More...
 
struct  osRtxTimer_t
 Timer Control Block. More...
 
struct  osRtxTimerFinfo_t
 Timer Function Information. More...
 
struct  osRtxThread_t
 Thread Control Block. More...
 

Description

RTX5 types.

The RTX5 types listed in this section define RTX Object Control Blocks and are mostly meant for use internally in the RTX implementation.

To obtain the size of a control block for use in Static Object Memory it is best to use corresponding Macros.


Data Structure Documentation

◆ osRtxEventFlags_t

struct osRtxEventFlags_t

Event Flags Control Block.

Data Fields
uint8_t id Object Identifier.
uint8_t reserved_state Object State (not used)
uint8_t flags Object Flags.
uint8_t attr Object Attributes.
const char * name Object Name.
osRtxThread_t * thread_list Waiting Threads List.
uint32_t event_flags Event Flags.

◆ osRtxMemoryPool_t

struct osRtxMemoryPool_t

Memory Pool Control Block.

Data Fields
uint8_t id Object Identifier.
uint8_t reserved_state Object State (not used)
uint8_t flags Object Flags.
uint8_t attr Object Attributes.
const char * name Object Name.
osRtxThread_t * thread_list Waiting Threads List.
osRtxMpInfo_t mp_info Memory Pool Info.

◆ osRtxMessage_t

struct osRtxMessage_t

Message Control Block.

Data Fields
uint8_t id Object Identifier.
uint8_t reserved_state Object State (not used)
uint8_t flags Object Flags.
uint8_t priority Message Priority.
struct osRtxMessage_s * prev Pointer to previous Message.
struct osRtxMessage_s * next Pointer to next Message.

◆ osRtxMessageQueue_t

struct osRtxMessageQueue_t

Message Queue Control Block.

Data Fields
uint8_t id Object Identifier.
uint8_t reserved_state Object State (not used)
uint8_t flags Object Flags.
uint8_t attr Object Attributes.
const char * name Object Name.
osRtxThread_t * thread_list Waiting Threads List.
osRtxMpInfo_t mp_info Memory Pool Info.
uint32_t msg_size Message Size.
uint32_t msg_count Number of queued Messages.
osRtxMessage_t * msg_first Pointer to first Message.
osRtxMessage_t * msg_last Pointer to last Message.

◆ osRtxMpInfo_t

struct osRtxMpInfo_t

Memory Pool Information.

Data Fields
uint32_t max_blocks Maximum number of Blocks.
uint32_t used_blocks Number of used Blocks.
uint32_t block_size Block Size.
void * block_base Block Memory Base Address.
void * block_lim Block Memory Limit Address.
void * block_free First free Block Address.

◆ osRtxMutex_t

struct osRtxMutex_t

Mutex Control Block.

Data Fields
uint8_t id Object Identifier.
uint8_t reserved_state Object State (not used)
uint8_t flags Object Flags.
uint8_t attr Object Attributes.
const char * name Object Name.
osRtxThread_t * thread_list Waiting Threads List.
osRtxThread_t * owner_thread Owner Thread.
struct osRtxMutex_s * owner_prev Pointer to previous owned Mutex.
struct osRtxMutex_s * owner_next Pointer to next owned Mutex.
uint8_t lock Lock counter.
uint8_t padding[3]

◆ osRtxObject_t

struct osRtxObject_t

Generic Object Control Block.

Data Fields
uint8_t id Object Identifier.
uint8_t state Object State.
uint8_t flags Object Flags.
uint8_t attr Object Attributes.
const char * name Object Name.
osRtxThread_t * thread_list Threads List.

◆ osRtxSemaphore_t

struct osRtxSemaphore_t

Semaphore Control Block.

Data Fields
uint8_t id Object Identifier.
uint8_t reserved_state Object State (not used)
uint8_t flags Object Flags.
uint8_t attr Object Attributes.
const char * name Object Name.
osRtxThread_t * thread_list Waiting Threads List.
uint16_t tokens Current number of tokens.
uint16_t max_tokens Maximum number of tokens.

◆ osRtxTimer_t

struct osRtxTimer_t

Timer Control Block.

Data Fields
uint8_t id Object Identifier.
uint8_t state Object State.
uint8_t flags Object Flags.
uint8_t attr Object Attributes.
const char * name Object Name.
struct osRtxTimer_s * prev Pointer to previous active Timer.
struct osRtxTimer_s * next Pointer to next active Timer.
uint32_t tick Timer current Tick.
uint32_t load Timer Load value.
osRtxTimerFinfo_t finfo Timer Function Info.

◆ osRtxTimerFinfo_t

struct osRtxTimerFinfo_t

Timer Function Information.

Data Fields
osTimerFunc_t func Function Pointer.
void * arg Function Argument.

◆ osRtxThread_t

struct osRtxThread_t

Thread Control Block.

Data Fields
uint8_t id Object Identifier.
uint8_t state Object State.
uint8_t flags Object Flags.
uint8_t attr Object Attributes.
const char * name Object Name.
struct osRtxThread_s * thread_next Link pointer to next Thread in Object list.
struct osRtxThread_s * thread_prev Link pointer to previous Thread in Object list.
struct osRtxThread_s * delay_next Link pointer to next Thread in Delay list.
struct osRtxThread_s * delay_prev Link pointer to previous Thread in Delay list.
struct osRtxThread_s * thread_join Thread waiting to Join.
uint32_t delay Delay Time/Round Robin Time Tick.
int8_t priority Thread Priority.
int8_t priority_base Base Priority.
uint8_t stack_frame Stack Frame (EXC_RETURN[7..0])
uint8_t flags_options Thread/Event Flags Options.
uint32_t wait_flags Waiting Thread/Event Flags.
uint32_t thread_flags Thread Flags.
struct osRtxMutex_s * mutex_list Link pointer to list of owned Mutexes.
void * stack_mem Stack Memory.
uint32_t stack_size Stack Size.
uint32_t sp Current Stack Pointer.
uint32_t thread_addr Thread entry address.
uint32_t tz_memory TrustZone Memory Identifier.
uint8_t zone Thread Zone.
uint8_t reserved[3]
struct osRtxThread_s * wdog_next Link pointer to next Thread in Watchdog list.
uint32_t wdog_tick Watchdog tick counter.