Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

ST7265X Datasheet(PDF) 53 Page - STMicroelectronics

Part # ST7265X
Description  LOW-POWER, FULL-SPEED USB 8-BIT MCU WITH 32K FLASH, 5K RAM, FLASH CARD I/F, TIMER, PWM, ADC, I2C, SPI
PDF  166 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST7265X Datasheet(HTML) 53 Page - STMicroelectronics

Back Button ST7265X Datasheet HTML 49Page - STMicroelectronics ST7265X Datasheet HTML 50Page - STMicroelectronics ST7265X Datasheet HTML 51Page - STMicroelectronics ST7265X Datasheet HTML 52Page - STMicroelectronics ST7265X Datasheet HTML 53Page - STMicroelectronics ST7265X Datasheet HTML 54Page - STMicroelectronics ST7265X Datasheet HTML 55Page - STMicroelectronics ST7265X Datasheet HTML 56Page - STMicroelectronics ST7265X Datasheet HTML 57Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 53 / 166 page
background image
ST7265x
53/166
I/O PORTS (Cont’d)
9.2.4 Bit manipulation on Open Drain Outputs
As mentioned in Section 9.2.2, software should
avoid using bit manipulation instructions on the DR
register in open drain output mode, but must al-
ways access it using byte instructions. If bit manip-
ulation is needed, the solution is to use a copy of
the DR register in RAM, change the bits (using
BRES or BCLR instructions for example) and copy
the whole byte into the DR register each time the
value has to be output on a port. This way, no bit
manipulation is performed on the DR register but
each bit of the DR register can be controlled sepa-
rately.
9.3 I/O PORT IMPLEMENTATION
The hardware implementation on each I/O port de-
pends on the settings in the DDR and OR registers
and specific feature of the I/O port such as ADC In-
put or true open drain.
Switching these I/O ports from one state to anoth-
er should be done in a sequence that prevents un-
wanted side effects. Recommended safe transi-
tions are illustrated in Figure 36 Other transitions
are potentially risky and should be avoided, since
they are likely to present unwanted side-effects
such as spurious interrupt generation.
Figure 36. Interrupt I/O Port State Transitions
The I/O port register configurations are summa-
rized as follows.
Port B (without Option Register)
PB[7:0]
Table 14. Port Configuration (with Option Register)
01
floating/pull-up
interrupt
INPUT
00
floating
(reset state)
INPUT
10
open-drain
OUTPUT
11
push-pull
OUTPUT
XX
= DDR, OR
MODE
DDR
floating input
0
push-pull output
1
Port
Pin name
Input
Output
OR = 0
OR = 1
OR = 0
OR = 1
High-Sink
Port A
PA7:0
floating
floating
with interrupt
open drain
push-pull
No
Port C
PC7:4
floating
floating
with interrupt
push-pull
No
PC3:0
floating
floating
with interrupt
push-pull
Yes
Port D
PD7:0
floating
floating
with interrupt
open drain
push-pull
No
Port E
PE7:6
floating
open drain
push-pull
Yes
PE5
floating
with pull-up, if se-
lected by option
byte see Section
15.1)
open drain (with
pull-up, if select-
ed by option byte
see Section 15.1)
push-pull
Yes
PE4:3
floating
open drain
push-pull
No
PE2:0
floating
open drain
push-pull
Yes
Port F
PF6:4
floating
True open drain
Yes
PF3:2
floating
push-pull
No
PF1:0
floating
True open drain
Yes
1



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