參數(shù)資料
型號: RX78K4
英文描述: 78K/IV Series Real-Time OS Fundamental | User's Manual[01/1997]
中文描述: 78K/IV系列實時操作系統(tǒng)的基本|用戶手冊[01/1997]
文件頁數(shù): 84/96頁
文件大?。?/td> 265K
代理商: RX78K4
75
APPENDIX 4 EXAMPLE OF CYCLIC HANDLER CODING
When creating a cyclic handler, be careful about the following points.
(1) The cyclic handler can be mapped in the 1MB memory space. (Large model only)
(2) The cyclic handler is invoked with the “br rg” command from the timer dispatch routine. For this reason, it is
handled in the same manner as an interrupt handler; therefore, the system calls that can be issued are only
the “i
′′′
_
′′′
” system calls. However, the “i
′′′
_
′′′
” system calls targeting cyclic handlers cannot be issued
from a cyclic handler.
(3) After ending the cyclic handler processing, be sure to return to the timer dispatch routine “tm_ret”. Please
code the cyclic handler processing as follows:
(4) When switching to another register bank in the cyclic handler, return to the original register bank first before
returning to the timer dispatch routine.
(5) In the timer dispatch routine, the “rg7, rg6, rg5, rp1, and rp0” registers are stored on the stack when
interrupted. Therefore, when using the “rg4, rp3, and rp2” registers in the cyclic handler, please restore the
value to the original one when returning to the timer dispatch routine.
public
[cyclic handler address]
extern
tm_ret
[Cyclic handler address]:
[Cyclic handler processing]
br
!tm_ret
public
cyc_ptr
extrn
tm_ret
cyc_ptr:
push
psw
sel
rb6
push
rp2
cyclic handler processing
pop
rp2
pop
psw
br
!tm_ret
(4)
(5)
(5)
(4)
(3)
相關(guān)PDF資料
PDF描述
RXB06150W TRANSISTOR | BJT | NPN | 15V V(BR)CEO | FO-91VAR
RXB12350Y Bipolar NPN UHF/Microwave Transisitor
RXE005 Poly Switch PTC DEVICES
RXE010S Poly Switch PTC DEVICES
RXE025 MULTISICHERUNG RXE 0.25A
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
RX-7P 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-101K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-102K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-121K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-122K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS