Renesas M3T-MR100 用户手册

下载
页码 304
   
242 
4.  Size (in bytes) 
[( Definition format )]
 Numeric 
value 
[( Definition range
 )] 
4 to 65,535 
[( Default value )] 
 256 
Define the size of the memory pool per block. The RAM size to be used as a memory pool is determined by this 
definition: (number of blocks) x (size) in bytes. 
5.  Selecting a memory pool waiting queue 
[( Definition format )]
 Symbol 
[( Definition range
 )] 
TA_TFIFO or TA_TPRI 
[( Default value )] 
 TA_TFIFO 
Select a method in which tasks wait for acquisition of the fixed-size memory pool. If TA_TFIFO is selected, 
tasks are enqueued in order of FIFO. If TA_TPRI is selected, tasks are enqueued in order of priority beginning 
with the one that has the highest priority. 
 
[( Variable-size memory pool definition )] 
This definition is necessary to use Variable-size memory pool function. 
<< Format >> 
 
 // Message buffer Definition 
 message_buffer[ 
 ID No.
  ]{  
  
name 
 
 ID Name 
;  
 mbf_section  = 
 Section name 
  
mbf_size 
 Message buffer size
 ; 
 max_msgsz 
 Maximum message size
 ; 
 wait_queue 
 Message buffer transmit wait queue selection 
 ; 
 }; 
 
The ID number must be in the range from 1 to 255. The ID number can be omitted. If omitted, ID numbers are automati-
cally assigned in order of magnitude beginning with the smallest.   
 
<< Content >> 
6. ID 
name 
[( Definition format )]
 Symbol 
[( Definition range )]
 None 
[( Default value )] 
 None 
Define the name by which the memory pool is specified in a program. 
7.  The maximum memory block size to be allocated 
[( Definition format )]
 Numeric 
value 
[( Definition range )]
 
1 to 65520 
[( Default value )] 
 None 
Specify, within an application program, the maximum memory block size to be allocated.