Electronic Components Datasheet Search
  English  ▼

X  

HD6433635SW Datasheet(PDF) 65 Page - Renesas Technology Corp

Part # HD6433635SW
Description  8-Bit Microcomputer
PDF  418 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

HD6433635SW Datasheet(HTML) 65 Page - Renesas Technology Corp

Back Button HD6433635SW Datasheet HTML 61Page - Renesas Technology Corp HD6433635SW Datasheet HTML 62Page - Renesas Technology Corp HD6433635SW Datasheet HTML 63Page - Renesas Technology Corp HD6433635SW Datasheet HTML 64Page - Renesas Technology Corp HD6433635SW Datasheet HTML 65Page - Renesas Technology Corp HD6433635SW Datasheet HTML 66Page - Renesas Technology Corp HD6433635SW Datasheet HTML 67Page - Renesas Technology Corp HD6433635SW Datasheet HTML 68Page - Renesas Technology Corp HD6433635SW Datasheet HTML 69Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 65 / 418 page
background image
51
Example 2: Here a BSET instruction is executed designating port 6.
P6
7 and P66 are designated as input pins, with a low-level signal input at P67 and a high-level
signal at P6
6. The remaining pins, P65 to P60, are output pins and output low-level signals. In this
example, the BSET instruction is used to change pin P6
0 to high-level output.
[A: Prior to executing BSET]
P6
7
P6
6
P6
5
P6
4
P6
3
P6
2
P6
1
P6
0
Input/output
Input
Input
Output
Output
Output
Output
Output
Output
Pin state
Low
level
High
level
Low
level
Low
level
Low
level
Low
level
Low
level
Low
level
PCR6
00111111
PDR6
10000000
[B: BSET instruction executed]
BSET
#0,
@PDR6
The BSET instruction is executed designating port 6.
[C: After executing BSET]
P6
7
P6
6
P6
5
P6
4
P6
3
P6
2
P6
1
P6
0
Input/output
Input
Input
Output
Output
Output
Output
Output
Output
Pin state
Low
level
High
level
Low
level
Low
level
Low
level
Low
level
Low
level
High
level
PCR6
00111111
PDR6
0
100000
1
[D: Explanation of how BSET operates]
When the BSET instruction is executed, first the CPU reads port 6.
Since P6
7 and P66 are input pins, the CPU reads the pin states (low-level and high-level input).
P6
5 to P60 are output pins, so the CPU reads the value in PDR6. In this example PDR6 has a value
of H'80, but the value read by the CPU is H'40.
Next, the CPU sets bit 0 of the read data to 1, changing the PDR6 data to H'41. Finally, the CPU
writes this value (H'41) to PDR6, completing execution of BSET.
As a result of this operation, bit 0 in PDR6 becomes 1, and P6
0 outputs a high-level signal.
However, bits 7 and 6 of PDR6 end up with different values.



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