Renesas M3T-MR100 Manual de usuario Pagina 174

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 173
- 160 -
ref_cyc Reference cyclic handler status
iref_cyc Reference cyclic handler status (handler only)
[
[
[
[
C
C
L
L
a
a
n
n
g
g
u
u
a
a
g
g
e
e
A
A
P
P
I
I
]
]
]
]
ER ercd = ref_cyc( ID cycid, T_RCYC *pk_rcyc );
ER ercd = iref_cyc( ID cycid, T_RCYC *pk_rcyc );
z
z
P
P
a
a
r
r
a
a
m
m
e
e
t
t
e
e
r
r
s
s
ID cycid ID number of the target cyclic handler
T_RCYC *pk_rcyc Pointer to the packet to which cyclic handler status is returned
z
z
R
R
e
e
t
t
u
u
r
r
n
n
P
P
a
a
r
r
a
a
m
m
e
e
t
t
e
e
r
r
s
s
ER ercd Terminated normally (E_OK)
T_RCYC *pk_rcyc Pointer to the packet to which cyclic handler status is returned
Contents of pk_rcyc
typedef struct t_rcyc{
STAT cycstat +0 2 Operating status of cyclic handler
RELTIM lefttim +2 4 Left time before cyclic handler starts up
} T_RCYC;
[
[
[
[
A
A
s
s
s
s
e
e
m
m
b
b
l
l
y
y
l
l
a
a
n
n
g
g
u
u
a
a
g
g
e
e
A
A
P
P
I
I
]
]
]
]
.include mr100.inc
ref_cyc ID,PK_RCYC
iref_cyc ID,PK_RCYC
z
z
P
P
a
a
r
r
a
a
m
m
e
e
t
t
e
e
r
r
s
s
CYCNO ID number of the target cyclic handler
PK_RCYC Pointer to the packet to which cyclic handler status is returned
z
z
R
R
e
e
g
g
i
i
s
s
t
t
e
e
r
r
c
c
o
o
n
n
t
t
e
e
n
n
t
t
s
s
a
a
f
f
t
t
e
e
r
r
s
s
e
e
r
r
v
v
i
i
c
c
e
e
c
c
a
a
l
l
l
l
i
i
s
s
i
i
s
s
s
s
u
u
e
e
d
d
Register name Content after service call is issued
R0 Error code
R2 ID number of the target cyclic handler
A1 Pointer to the packet to which cyclic handler status is returned
[
[
[
[
E
E
r
r
r
r
o
o
r
r
c
c
o
o
d
d
e
e
]
]
]
]
None
[
[
[
[
F
F
u
u
n
n
c
c
t
t
i
i
o
o
n
n
a
a
l
l
d
d
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
]
]
]
]
This service call returns various statuses of the cyclic handler indicated by cycid.
cycstat
The status of the target cyclic handler is returned.
*TCYC_STA Cyclic handler is an operational state.
*TCYC_STP Cyclic handler is a non-operational state.
lefttim
The remaining time before the target cyclic handler will start next is returned. This time is expressed in ms units.
If the target cyclic handler is non-operational state, the returned value is indeterminate.
If this service call is to be issued from task context, use ref_cyc; if issued from non-task context, use iref_cyc.
Vista de pagina 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 303 304

Comentarios a estos manuales

Sin comentarios