| 전자부품 데이터시트 검색엔진 |
|
EF6805P2 데이터시트(PDF) 16 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
EF6805P2 데이터시트(HTML) 16 Page - STMicroelectronics |
|
16 / 31 page ![]() A software interrupt (SWI) is an executable instruc- tion which is executed regardless of the state of the I bit in the condition code register. SWIs are usually used as break-points for debugging or a system calls. Figure 19 : Typical Interrupt Circuits. INPUT/OUTPUT CIRCUITRY There are 32 input/output pins. The INT pin may be polled with branch instructions to provide an additio- nal input pin. All pins on ports A, B, and C are pro- grammable as either inputs or outputs under soft- ware control of the corresponding data direction re- gister (DDR). See below I/O port control registers configuration. The port I/O programming is ac- complished by writing the corresponding bit in the port DDR to a logic one for output or a logic zero for input. On reset all the DDRs are initialized to a logic zero state, placing the ports in the input mode. The port output registers are not initialized on reset and should be initialized by software before changing the DDRs from input to output. A read operation on a port programmed as an output will read the contents of the output latch regardless of the logic levels at the output pin, due to output loading. Refer to figure 20. PORT DATA REGISTER 70 Port A Addr = $000 Port B Addr = $001 Port C Addr = $002 Port D Addr = $003 PORT DATA DIRECTION REGISTER (DDR) 70 (1) Write only ; reads as all “1s” (2) 1 = Output.0 = input Cleared to 0 by Reset (3) Port A Addr = $004 Port B Addr = $005 Port C Addr = $006 EF6805U3 16/31 |
|
링크 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 |