| 전자부품 데이터시트 검색엔진 |
|
SMBP2501BPB 데이터시트(PDF) 72 Page - SONiX Technology Company |
|
|
|||||||||||||||||||||||||||||
SMBP2501BPB 데이터시트(HTML) 72 Page - SONiX Technology Company |
|
72 / 107 page ![]() SN8P2501B 8-Bit Micro-Controller SONiX TECHNOLOGY CO., LTD Page 72 Version 2.1 7.3 I/O OPEN-DRAIN REGISTER P1.0 is built-in open-drain function. P1.0 must be set as output mode when enable P1.0 open-drain function. Open-drain external circuit is as following. U MCU2 U VCC Open-drain pin Open-drain pin MCU1 Pull -up Resi stor The pull-up resistor is necessary. Open-drain output high is driven by pull-up resistor. Output low is sunken by MCU ’s pin. 0E9H Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 P1OC - - - - - - - P10OC Read/Write - - - - - - - W After reset - - - - - - - 0 Bit 0 P10OC: P1.0 open-drain control bit 0 = Disable open-drain mode 1 = Enable open-drain mode Example: Enable P1.0 to open-drain mode and output high. B0BSET P1.0 ; Set P1.0 buffer high. B0BSET P10M ; Enable P1.0 output mode. MOV A, #01H ; Enable P1.0 open-drain function. B0MOV P1OC, A Note: P1OC is write only register. Setting P10OC must be used “MOV” instructions. Example: Disable P1.0 to open-drain mode and output low. MOV A, #0 ; Disable P1.0 open-drain function. B0MOV P1OC, A Note: After disable P1.0 open-drain function, P1.0 mode returns to last I/O mode. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |