參數資料
型號: HIF_SPEC
英文描述: EZ-030 Demonstration Board Theory of Operation Host Interface (HIF) Specification
中文描述: 易- 030演示板的經營理論主機接口(誘導因子)規(guī)格
文件頁數: 48/118頁
文件大?。?/td> 356K
代理商: HIF_SPEC
3–24
Host Interface (HIF) Specification
48
Example Call
fd:
.word
6
;file descriptor=6
const
gr96,fd
;set address of
consth
gr69,fd
;file descriptor
load
0,0,lr2,gr96
;get file descriptor
consth
lr3,23
;offset argument=23
consth
lr4,0
;origin argument=0
const
gr121,21
;service = 21
asneq
69,gr1,gr1
;call the OS
jmpf
gr121,seek_err
;seek error if false
nop
The call example shows how a file can be positioned to a particular byte
address by specifying the
orig
, which is the starting point from which the file
position is adjusted, and the
offset
, which is the number of bytes from the
orig
to move the file pointer. In this case, the file identified by file descriptor 6 is
being repositioned to byte 23, measured from the beginning of the file (origin
= 0).
The file descriptor,
offset
, and
orig
values are loaded and
lseek
is called to
perform the file positioning operation. If an error occurs when attempting to
reposition the file, the value returned in
gr121
is FALSE, and contains an error
code that indicates the reason for the error. Upon return,
gr96
also contains the
file position measured from the beginning of the file.
相關PDF資料
PDF描述
HIGHCURRENTSWITCHINGAPPLICATION (286.88 k)
DC-DCCONVERTERANDMOTORDRIVEAPPLICATIONS (286.88 k)
HIGHVOLTAGECAPACITORS(DATASHEETS) Ceramic Capacitors. 1000 V-5000 V
HIGHVOLTAGECERAMICCAPACITORS(GENERALINFO) Ceramic Capacitors. 1000 V-5000 V
HIH-3602-A Signal Conditioner
相關代理商/技術參數
參數描述
HIG-A 制造商:Cooper Bussmann 功能描述:
HIGH DENSITY BALUN ASSY TOOL 制造商:ITT Interconnect Solutions 功能描述:HIGH DENSITY BALUN ASSY TOOL / T4837 / RF
HIGHCURRENTVOLTAGEKIT 制造商:Lapp 功能描述:4 Way top entry 制造商:Lapp Group 功能描述:4 Way top entry
HIGHLAND 制造商:3M Electronic Products Division 功能描述:Highland™ Vinyl Electrical Tape - 3/4" x 66'
HIGHLAND TAPE 制造商:3M Electronic Products Division 功能描述:TAPE INSULATION PVC BLACK 19MMX20.1M 制造商:3M Electronic Products Division 功能描述:TAPE, INSULATION, PVC, BLACK, 19MMX20.1M 制造商:3M Electronic Products Division 功能描述:TAPE, INSULATION, PVC, BLACK, 19MMX20.1M; Tape Type:Electrical Insulation; Tape Backing Material:PVC (Polyvinyl Chloride); Tape Width - Metric:19mm; Tape Width - Imperial:0.748"; Tape Length - Metric:20.1m; Tape Color:Black ;RoHS Compliant: Yes