поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

ATtiny167-ESMZ датащи(PDF) 69 Page - ATMEL Corporation

номер детали ATtiny167-ESMZ
подробное описание детали  8-bit Microcontroller with 8K/16K Bytes In-System Programmable Flash and LIN Controller
PDF  282 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  ATMEL [ATMEL Corporation]
домашняя страница  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATtiny167-ESMZ датащи(HTML) 69 Page - ATMEL Corporation

Back Button ATtiny167-ESMZ Datasheet HTML 65Page - ATMEL Corporation ATtiny167-ESMZ Datasheet HTML 66Page - ATMEL Corporation ATtiny167-ESMZ Datasheet HTML 67Page - ATMEL Corporation ATtiny167-ESMZ Datasheet HTML 68Page - ATMEL Corporation ATtiny167-ESMZ Datasheet HTML 69Page - ATMEL Corporation ATtiny167-ESMZ Datasheet HTML 70Page - ATMEL Corporation ATtiny167-ESMZ Datasheet HTML 71Page - ATMEL Corporation ATtiny167-ESMZ Datasheet HTML 72Page - ATMEL Corporation ATtiny167-ESMZ Datasheet HTML 73Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 69 / 282 page
background image
69
7728D–AVR–07/09
ATtiny87/ATtiny167
9.2.2
Toggling the Pin
Writing a logic one to PINxn toggles the value of PORTxn, independent on the value of
DDRxn. Note that the SBI assembler instruction can be used to toggle one single bit in a port.
9.2.3
Break-Before-Make Switching
In the Break-Before-Make mode when switching the DDRxn bit from input to output an imme-
diate tri-state period lasting one system clock cycle is introduced as indicated in Figure 9-3.
For example, if the system clock is 4 MHz and the DDRxn is written to make an output, the
immediate tri-state period of 250 ns is introduced, before the value of PORTxn is seen on the
port pin. To avoid glitches it is recommended that the maximum DDRxn toggle frequency is
two system clock cycles. The Break-Before-Make is a port-wise mode and it is activated by the
port-wise BBMx enable bits. For further information about the BBMx bits, see “Port Control
Register – PORTCR” on page 75. When switching the DDRxn bit from output to input there is
no immediate tri-state period introduced.
Figure 9-3.
Break Before Make, switching between input and output
9.2.4
Switching Between Input and Output
When switchin g be tween tr i-sta t e ({DDxn , PORTxn } = 0, 0) a nd o u t put high
({ DDxn, P O R Txn} = 1 , 1 ), an int e rmed i a t e sta t e with e i t her pull-up e nabled
{DDxn, PORTxn} = 0, 1) or output low ({DDxn, PORTxn} = 1, 0) must occur. Normally, the
pull-up enabled state is fully acceptable, as a high-impedant environment will not notice the
difference between a strong high driver and a pull-up. If this is not the case, the PUD bit in the
MCUCR Register or the PUDx bit in PORTCR Register can be set to disable all pull-ups in the
port.
Switching between input with pull-up and output low generates the same problem. The user
must use e i ther the t r i-state ({DDxn, PORTxn} = 0, 0) or t h e output high state
({DDxn, PORTxn} = 1, 1) as an intermediate step.
tri-state
tri-state
tri-state
0x02
0x02
0x01
0x01
0x01
0x55
nop
immediate tri-state cycle
out DDRx, r16
YSTEM CLOCK
R 16
R 17
NSTRUCTIONS
PORTx
DDRx
Px0
Px1
out DDRx, r17
immediate tri-state cycle



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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