전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

STM8S 데이터시트(PDF) 306 Page - STMicroelectronics

부품명 STM8S
상세설명  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S 데이터시트(HTML) 306 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 302Page - STMicroelectronics STM8S Datasheet HTML 303Page - STMicroelectronics STM8S Datasheet HTML 304Page - STMicroelectronics STM8S Datasheet HTML 305Page - STMicroelectronics STM8S Datasheet HTML 306Page - STMicroelectronics STM8S Datasheet HTML 307Page - STMicroelectronics STM8S Datasheet HTML 308Page - STMicroelectronics STM8S Datasheet HTML 309Page - STMicroelectronics STM8S Datasheet HTML 310Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 306 / 467 page
background image
Inter-integrated circuit (I2C) interface
RM0016
306/467
DocID14587 Rev 14
21.7.2
Control register 2 (I2C_CR2)
Address offset: 0x01
Reset value: 0x00
7
654
3210
SWRST
Reserved
POS
ACK
STOP
START
rw
r
rw
rw
rw
rw
Bit 7 SWRST: Software reset
When set, the I2C is at reset state. Before resetting this bit, make sure the I2C lines are released and
the bus is free.
0: I2C Peripheral not at reset state
1: I2C Peripheral at reset state
Note: This bit can be used in case the BUSY bit is set to ‘1’ when no stop condition has been
detected on the bus.
Bits 6::4 Reserved
Bit 3 POS: Acknowledge position (for data reception).
This bit is set and cleared by software and cleared by hardware when PE=0.
0: ACK bit controls the (N)ACK of the current byte being received in the shift register.
1: ACK bit controls the (N)ACK of the next byte which will be received in the shift register.
Note: The POS bit is used when the procedure for reception of 2 bytes (see Method 2: transfer
sequence diagram for master receiver when N=2) is followed. It must be configured before
data reception starts. In this case, to NACK the 2nd byte, the ACK bit must be cleared just after
ADDR is cleared.
Note:
Bit 2 ACK: Acknowledge enable
This bit is set and cleared by software and cleared by hardware when PE=0.
0: No acknowledge returned
1: Acknowledge returned after a byte is received (matched address or data)
Bit 1 STOP: Stop generation
The bit is set and cleared by software, cleared by hardware when a Stop condition is detected, set by
hardware when a timeout error is detected.
– In Master mode:
0: No Stop generation.
1: Stop generation after the current byte transfer or after the current Start condition is sent.
– In Slave mode:
0: No Stop generation.
1: Release the SCL and SDA lines after the current byte transfer.
Bit 0 START: Start generation
This bit is set and cleared by software and cleared by hardware when start is sent or PE=0.
– In Master mode:
0: No Start generation
1: Repeated start generation
– In Slave mode:
0: No Start generation
1: Start generation when the bus is free



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



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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