USBB17RX78K4-XXX NEC Electronics, USBB17RX78K4-XXX Datasheet - Page 91

no-image

USBB17RX78K4-XXX

Manufacturer Part Number
USBB17RX78K4-XXX
Description
78K/4 series realtime OS
Manufacturer
NEC Electronics
Datasheet
system.
Sample 1
82
public
@nuc_idl:
;
The following sample indicates an example of changing the internal system clock if the clock is fixed in the user
Remark
The default standby mode of the RX78K/IV is HALT. To change the mode, refer to the following:
To change from HALT mode to STOP mode
Before change
mov
To change from HALT mode to IDLE mode
Before change
mov
For the standby control register (STBC), refer to the User’s Manual of the device.
The above sample is for when the internal system clock is fixed. However, do not change symbol name
“@nuc_idl”.
stbc, #00000001b
stbc, #00000001b
@nuc_idl
cseg
ei
mov
ret
end
Change standby control register (STBC) value
Change standby control register (STBC) value
base
stbc, #00000001b
APPENDIX 7
o
o
After change
mov
After change
mov
STANDBY FUNCTION
stbc, #00000010b
stbc, #00000011b
; set halt mode (fxx/2)

Related parts for USBB17RX78K4-XXX