Electronic Components Datasheet Search
  English  ▼

X  

UPD17015GS Datasheet(PDF) 86 Page - NEC

Part # UPD17015GS
Description  4-BIT SINGLE-CHIP MICROCONTROLLER FOR PORTABLE RADIOS
PDF  120 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD17015GS Datasheet(HTML) 86 Page - NEC

Back Button UPD17015GS Datasheet HTML 82Page - NEC UPD17015GS Datasheet HTML 83Page - NEC UPD17015GS Datasheet HTML 84Page - NEC UPD17015GS Datasheet HTML 85Page - NEC UPD17015GS Datasheet HTML 86Page - NEC UPD17015GS Datasheet HTML 87Page - NEC UPD17015GS Datasheet HTML 88Page - NEC UPD17015GS Datasheet HTML 89Page - NEC UPD17015GS Datasheet HTML 90Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 86 / 120 page
background image
86
µPD17015
14.4
DEVICE OPERATION IN THE HALT AND CLOCK-STOP STATES
Table 14-1 shows the operation of the CPU and peripheral hardware in the halt state and clock-stop state.
In the halt state, all the peripheral hardware units continue to operate normally except that they stop executing
instructions.
In the clock-stop state, all the peripheral hardware units stop operating.
In the halt state, the peripheral control register that controls the operating state of the peripheral hardware operates
normally (not initialized). However, when a clock-stop instruction is executed, it is initialized to the specified value.
In short, in the halt state, the operation set in the peripheral control register continues and in the clock-stop state,
the operating state is determined in accordance with the initialized peripheral control register value.
For the peripheral control register value in the clock-stop state, see the relevant items.
A sample program is shown below.
Example
Program that sets the P0A1 and P0A0 pins as output ports and which performs LCD display
HLTBTMR
DAT
0001B
; Symbol definition
XTAL
DAT
0000B
INITFLG
P0ABIO1, P0ABIO0
; 1
SET2
P0A1, P0A0
LCDDATA :
; 2
Process B
; 3
SET1
LCDEN
; LCD display on
;
4
HALT
HLTKEY
; 5
STOP
XTAL
In the example, 1 outputs high level from the P0A1 and P0A0 pins, 2 sets the display data for the LCD segment
register, and 3 turns the LCD display on.
When the HALT instruction is executed at
4
, LCD display continues turning on, and the halt state is released
when a key input is accepted.
If the STOP instruction of ( is executed instead of the HALT instruction of
4
, all the flags of the peripheral control
register set at 1 ,
2
and 3 are initialized. LCD display is terminated and P0A1 and P0A0 pins are made general-
purpose input ports.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com