Renesas M3T-MR100 用户手册

下载
页码 304
   
245 
5. Activation 
phase 
[( Definition format )]
 Numeric 
value 
[( Definition range )]
 
0 to 0x7FFFFFFF 
[( Default value )] 
 None 
Define the activation phase of the cyclic handler. The time representing this startup phase must be defined in ms 
units. 
6. Start 
Address 
[( Definition format )]
 
Symbol or Function Name 
[( Definition range )]
 None 
[( Default value )] 
 None 
Define the start address of the cyclic handler.   
Note that the function name defined here will have the declaration statement shown below output to the ker-
nel_id.h file. 
 
   
#pragma CYCHANDLER /V4 function name 
7. Extended 
information 
[( Definition format )]
 Numeric 
value 
[( Definition range )]
 
0 to 0xFFFFFFFF 
[( Default value )] 
 0 
Define the extended information of the cyclic handler. This information is passed as argument to the cyclic han-
dler when it starts. 
 
[( Alarm handler definition )] 
This definition is necessary to use Alarm handler function. 
<< Format >> 
 
 
 // Alarm Handlar Definition  
 alarm_hand[ 
 ID No. 
 ]{ 
  
name 
 
 ID name
 ;  
  
entry_address 
 Start address
 ;  
  
exitf 
 
 Extended information 
 ; 
 }; 
  
 
:  
  
 
 
The ID number must be in the range of 1 to 255. The ID number can be omitted. 
If omitted, numbers are automatically assigned sequentially beginning with the smallest. 
 
<< Content >> 
 
Define the following for each alarm handler ID number. 
1. ID 
name 
[( Definition format )]
 Symbol 
[( Definition range )]
 None 
[( Default value )] 
 None 
Define the name by which the alarm handler is specified in a program.