System Debug Reference Manual (32650-90888)
474 Chapter10
System Debug Standard Functions
func u16
$nmdebug > wl typeof(cmpc)
GRP
$nmdebug > wl typeof(cmtonmnode(cmpc))
TRANS
$nmdebug > wl typeof(a.c00024c8)
LPTR
$nmdebug > wl typeof(pib(pin))
SPTR
Limitations, Restrictions
none
func u16
Coerces an expression into an unsigned 16-bit value.
Syntax
u16 (
value
)
Formal Declaration
u16:u16 (
value
:any)
Parameters
value
An expression to be coerced. All types are valid.
Table 10-18. Derivation of the U16 Bit Pattern
Parameter Type Action
BOOL 1 if TRUE, 0 if FALSE.
U16
S16
Transfer the original bit pattern unchanged.
U32
S32
S64
SPTR
Transfer the low-order 16 bits.