Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ZLP12840 Datasheet(PDF) 57 Page - Zilog, Inc.

Part # ZLP12840
Description  Crimzon-TM Infrared Microcontrollers ZLP12840 OTP MCU with Learning Amplification
PDF  58 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ZILOG [Zilog, Inc.]
Direct Link  http://www.zilog.com
Logo ZILOG - Zilog, Inc.

ZLP12840 Datasheet(HTML) 57 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
 57 / 58 page
background image
PS024406-0106
P R E L I M I N A R Y
Operation
ZLP12840 OTP MCU
Product Specification
46
7. Before disabling the transmitter, read the transmit completion status bit, UST[1]. If
UST[1]=0, continue to monitor the bit until it changes to 1, which indicates that all
data in the Transmit Data and internal shift registers has been transmitted.
Data written while the transmit enable bit is clear (UCTL[7]=0) will not be transmitted.
Data written while the transmit data status bit is clear (UST[2]=0) overwrites the previ-
ous value written, so the previous written value will not be transmitted. Disabling the
UART transmitter while the transmit completion status bit is clear (UST[1]=0) can cor-
rupt the byte being transmitted.
Transmitting Data Using the Interrupt-Driven Method
The UART transmitter interrupt indicates the availability of the Transmit Data register to
accept new data for transmission. Follow these steps to configure the UART for interrupt-
driven data transmission:
1. Write to the BCNST register to set the appropriate baud rate.
2. Write a 0 to bit 6 of the P01M register.
3. Execute a DI instruction to disable interrupts.
4. Write to the Interrupt control registers to enable the UART Transmitter interrupt and
set the appropriate priority.
5. Write to the UART Control register to:
a. Set the transmit enable bit (UCTL bit 7) to enable the UART for data transmission.
b. Enable parity, if appropriate, and select either even or odd parity.
6. Execute an EI instruction to enable interrupts.
7. Because the transmit buffer is empty, an interrupt is immediately executed.
8. Write the data byte to the UART Transmit Data register. The transmitter automatically
transfers the data to the internal transmit shift register and transmits the data.
9. Execute the IRET instruction to return from the interrupt-service routine and wait for
the Transmit Data register to again become empty.
10. Before disabling the transmitter, read the transmit completion status bit, UST[1]. If
UST[1]=0, continue to monitor the bit until it changes to 1, which indicates that all
data in the Transmit Data and internal shift registers has been transmitted.
Data written while the transmit enable bit is clear (UCTL[7]=0) will not be transmitted.
Data written while the transmit data status bit is clear (UST[2]=0) overwrites the previ-
ous value written, so the previous written value will not be transmitted. Disabling the
UART transmitter while the transmit completion status bit is clear (UST[1]=0) can cor-
rupt the byte being transmitted.
Caution:
Caution:



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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