STE 58762

The task ID (the number assigned to the task) is described.

The characteristic numbers (task ID) are assigned to the tasks which have been started by the TASK command respectively. In the example of Fig. 2, “1” is assigned to the program 1, “2” is assigned to the program 2 and “3” is assigned to the program 3. This task ID starts from 1 in sequence and this ID increases one by one every time the task starts (every time the task executes). If the task is managed by the SCOL language, this task ID is used.

To get the task ID, see the following examples.

Example: I1 = TASK (“PROG 2”)

“I1” is a desired variable of integer type. The task ID of PROG 2 can be obtained. This command is executed in the program 1. The task ID of its own cannot be referred to in the program 2 in this example.

Example: I2 = TID

“I2” is a desired variable of integer type. If the system variable TID is referred to, the task ID of its own can be acquired. If this command is executed in the program 2, the task ID of its own can be seen in the program 2 (“2” in this occasion).

If this command is executed in the program 1, the task ID of program 1 (“1” in this occasion) is substituted for “I2”.

If the task ID other than the own task is referred to from other tasks, variables of examples 1 and 2 are required to be defined as the global variable.

Change-over of task is described.

As shown in the Fig. 2, the system executes the program 1 ~ 3 by time sharing. When this happens, timing of program change-over depends on the following three conditions.

(1)When the program change-over is specified clearly by the SWITCH command of the SCOL. The SWITCH command is used if the task is changed over clearly by the SCOL language. Even if the task change-over conditions specified in the system are not satisfied while the SWITCH command is used, the task can be changed over.

(2)When a new task starts by the TASK command of the SCOL.

If a new task starts by the TASK command, the program control is changed over to the newly started task.

(3)When the task terminates by the KILL command of the SCOL.

If the task of its own terminates by the KILL command, the program control is changed over to the next task.

2-27

Page 41
Image 41
Toshiba STE 58762 instruction manual - 2-27 -

STE 58762 specifications

The Toshiba STE 58762 is a high-performance microcontroller known for its advanced features and robust architecture, making it suitable for a range of applications in automotive, industrial, and consumer electronics. One of the standout characteristics of this microcontroller is its ability to perform complex computations with improved efficiency, thanks to its 16-bit RISC architecture. The RISC (Reduced Instruction Set Computing) design enables faster processing speeds, lower power consumption, and an overall increase in performance.

The STE 58762 integrates a variety of peripherals that enhance its functionality. It includes multiple I/O ports, timers, and an advanced interrupt management system, allowing for seamless interaction with external devices. The integrated analog-to-digital converter (ADC) is particularly noteworthy, enabling the microcontroller to handle real-time data acquisition, essential in applications that require precision and quick response times.

Another significant advantage of the Toshiba STE 58762 is its built-in support for communication protocols, facilitating easy integration into different systems. It supports standard communication interfaces such as UART, SPI, and I2C, which enhance its connectivity with other devices and components. This flexibility makes the microcontroller a versatile choice for designers looking to implement diverse communication methods in their projects.

In terms of memory architecture, the STE 58762 offers an ample amount of ROM and RAM, allowing for sufficient space to store program code and data. This characteristic is crucial for developers who require extensive data handling capabilities in their applications. Furthermore, the microcontroller is equipped with built-in power management features, including sleep and idle modes, that optimize energy consumption during operation.

Overall, the Toshiba STE 58762 microcontroller is characterized by its powerful processing capabilities, extensive peripheral support, and efficient power management. These features make it an excellent choice for demanding applications, providing designers with the tools they need to create innovative and reliable solutions across various industries. As technology continues to evolve, the STE 58762 stands out as a dependable option, ensuring performance and efficiency are met in today’s competitive market. Its reliability and robust features position it as a strong contender in the landscape of microcontroller options available today.