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

X  

ZLP12840 데이터시트(PDF) 58 Page - Zilog, Inc.

부품명 ZLP12840
상세설명  Crimzon-TM Infrared Microcontrollers ZLP12840 OTP MCU with Learning Amplification
PDF  58 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  ZILOG [Zilog, Inc.]
홈페이지  http://www.zilog.com
Logo ZILOG - Zilog, Inc.

ZLP12840 데이터시트(HTML) 58 Page - Zilog, Inc.

Back Button ZLP12840 Datasheet HTML 50Page - Zilog, Inc. ZLP12840 Datasheet HTML 51Page - Zilog, Inc. ZLP12840 Datasheet HTML 52Page - Zilog, Inc. ZLP12840 Datasheet HTML 53Page - Zilog, Inc. ZLP12840 Datasheet HTML 54Page - Zilog, Inc. ZLP12840 Datasheet HTML 55Page - Zilog, Inc. ZLP12840 Datasheet HTML 56Page - Zilog, Inc. ZLP12840 Datasheet HTML 57Page - Zilog, Inc. ZLP12840 Datasheet HTML 58Page - Zilog, Inc.  
Zoom Inzoom in Zoom Outzoom out
 58 / 58 page
background image
PS024406-0106
P R E L I M I N A R Y
Operation
ZLP12840 OTP MCU
Product Specification
47
Receiving Data Using the Polled Method
Follow these steps to configure the UART for polled data reception:
1. Write to the BCNST register to set the appropriate baud rate.
2. Write to the UART control register (UCTL) to:
a. Set the receive enable bit (UCTL[6]) to enable the UART for data reception
b. Enable parity, if appropriate and select either even or odd parity
3. Check the receive status bit in the UART Status register, bit UST[7], to determine if
the Receive Data register contains a valid data byte (indicated by a 1). If UST[7] is set
to 1 to indicate available data, continue to Step 4. If the Receive Data register is empty
(indicated by a 0), continue to monitor the UST[7] bit awaiting reception of the valid
data.
4. Read data from the UART Receive Data register.
5. Return to Step 3 to receive additional data.
Receiving Data Using the Interrupt-Driven Method
The UART Receiver interrupt indicates the availability of new data (as well as error condi-
tions). Follow these steps to configure the UART receiver for interrupt-driven operation:
1. Write to the UART BRG Constant registers to set the appropriate baud rate.
2. Execute a DI instruction to disable interrupts.
3. Write to the interrupt control registers to enable the UART receiver interrupt and set
the appropriate priority.
4. Clear the UART Receiver interrupt in the applicable Interrupt Request register.
5. Write to the UART Control register (UCTL) to:
a. Set the receive enable bit (UCTL[6]) to enable the UART for data reception
b. Enable parity, if appropriate, and select either even or odd parity
6. Execute an EI instruction to enable interrupts.
The UART is now configured for interrupt-driven data reception. When the UART
Receiver interrupt is detected, the associated interrupt service routine (ISR) performs the
following:
1. Checks the UART Status register to determine the source of the interrupt, whether it is
an error, break, or received data.
2. Reads the data from the UART Receive Data register if the interrupt was caused by
data available.
3. Clears the UART receiver interrupt in the applicable Interrupt Request register.



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


데이터시트 다운로드

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