![]() ![]() when the tick reaches 0 it indicates that a timeout has occurred.the tick is decremented (if not already zero) each system tick if the same thread is still executing.the tick is preloaded with the timeout value when a thread switch occurs.Round-robin thread switching functions as follows: Because the time slice is typically short (only a few milliseconds), it appears as though threads execute simultaneously. Threads are not really executed concurrently, but are scheduled where the available CPU time is divided into time slices and RTX5 assigns a time slice to each thread. Round-robin allows quasi-parallel execution of several threads of the same priority. RTX5 may be configured to use round-robin multitasking thread switching. Value range is entries in multiples of 4.Įnables object memory usage counters to evaluate the maximum memory pool requirements individually for each RTOS object type. RTOS Functions called from ISR store requests to this buffer. Default: 1000Hz = 1ms period.ĭefines how long a thread will execute before a thread switch. Value range is bytes, in multiples of 8 bytes.ĭefines base time unit for delays and timeouts in Hz. The picture below shows the µVision Configuration Wizard view in MDK:ĭefines the combined global dynamic memory size for the Global Memory Pool. Depending on the development tool, the annotations might lead to a more user-friendly graphical representation of the settings. Refer to Pack - Configuration Wizard Annotations for details. The configuration file uses Configuration Wizard Annotations. Both functions can simply be overwritten with a customized behavior by redefining them as part of the user code. The file "RTX_Config.c" contains default implementations of the functions osRtxIdleThread and osRt圎rrorNotify. Event Recorder Configuration provides several parameters to configure RTX for usage with Event Recorder.Message Queue Configuration provides several parameters to configure the Message Queue functions.Memory Pool Configuration provides several parameters to configure the Memory Pool functions.Semaphore Configuration provides several parameters to configure the Semaphores functions.Mutex Configuration provides several parameters to configure the Mutex Management functions. ![]()
0 Comments
Leave a Reply. |