USBB17RX78K4-XXX NEC Electronics, USBB17RX78K4-XXX Datasheet - Page 74
USBB17RX78K4-XXX
Manufacturer Part Number
USBB17RX78K4-XXX
Description
78K/4 series realtime OS
Manufacturer
NEC Electronics
Datasheet
1.USBB17RX78K4-XXX.pdf
(96 pages)
- Current page: 74 of 96
- Download datasheet (240Kb)
4.6.1 act_cyc (Activate Cyclic Handler)
[Function]
[Remarks]
[System call ID number]
[Parameter]
[Return parameter]
iact_cyc (Activate Cyclic Handler for Interrupt)
Controls activation of a cyclic handler.
Changes the activation state of the cyclic handler shown by cyhid to the state specified by the cyhact. The
specific method of specifying cyhact is as follows:
cyhact = (TCY_OFF || TCY_ON) | [TCY_INI]
“cyhact = TCY_OFF” means that the cyclic handler has temporarily stopped. During this time, the handler is
not started.
“cyhact = TCY_ON” sets the activation state to ON, independently of the elapsing of the cycle. The specified
cycles are counted even while the activation state is OFF; therefore, the time from execution of the “act_cyc
(iact_cyc)” system call until the first execution of the cyclic handler is not constant.
“cyhact = (TCY_ON | TCY_INI)” not only sets the activation state to ON but at the same time clears the cyclic
handler counter. Therefore, the initial handler startup takes place exactly after the specified number of cycles
has elapsed since the “actcyc (iact_cyc)” system call.
A cyclic handler cannot be created or destroyed dynamically.
configurator.
act_cyc = 26
cyhid (Cyclic Handler Identifier)
cyhact (Cyclic Handler Activation)
E_OK
7
0
6
0
Fixed to 0
5
0
4
0
CHAPTER 4
3
0
Cyclic handler ID (HCB top address)
Cyclic handler activation state
Normal termination
2
0
RX78K/IV SYSTEM CALL LIST
1
0
bit
0 : TCY_OFF (Not started)
1 : TCY_ON (started)
1 : TCY_INI
A cycle handler is registered with the
(Initializes the cycle time)
- 24 bits (large model)
- 16 bits (small model)
- 8 bits
65
Related parts for USBB17RX78K4-XXX
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
NEC Electronics
Datasheet:
Part Number:
Description:
Manufacturer:
NEC Electronics
Datasheet:
Part Number:
Description:
Resistance inclusion NPN silicon transistor
Manufacturer:
NEC Electronics
Datasheet:
Part Number:
Description:
MEDIUM SPEED SWITCHING RESISTOR BUILT-IN TYPE NPN TRANSISTOR
Manufacturer:
NEC Electronics
Part Number:
Description:
MEDIUM SPEED SWITCHING RESISTOR BUILT-IN TYPE NPN TRANSISTOR
Manufacturer:
NEC Electronics
Part Number:
Description:
Medium Speed Switching Resistor Built-In Type NPN Transistor
Manufacturer:
NEC Electronics