Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

ST20-GP1 Datasheet(PDF) 79 Page - STMicroelectronics

Part # ST20-GP1
Description  GPS PROCESSOR
PDF  116 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST20-GP1 Datasheet(HTML) 79 Page - STMicroelectronics

Back Button ST20-GP1 Datasheet HTML 75Page - STMicroelectronics ST20-GP1 Datasheet HTML 76Page - STMicroelectronics ST20-GP1 Datasheet HTML 77Page - STMicroelectronics ST20-GP1 Datasheet HTML 78Page - STMicroelectronics ST20-GP1 Datasheet HTML 79Page - STMicroelectronics ST20-GP1 Datasheet HTML 80Page - STMicroelectronics ST20-GP1 Datasheet HTML 81Page - STMicroelectronics ST20-GP1 Datasheet HTML 82Page - STMicroelectronics ST20-GP1 Datasheet HTML 83Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 79 / 116 page
background image
ST20-GP1
79/116
®
13.4.1 Using the ASC interrupts
For normal operation (i.e. besides the error interrupt) the ASC provides three interrupt requests to
control data exchange via the serial channel:
TxBufEmpty is activated when data is moved from ASCTxBuffer to the transmit shift reg-
ister.
TxEmpty is activated before the last bit of a frame is transmitted.
RxBufFull is activated when the received frame is moved to ASCRxBuffer.
The transmitter generates two interrupts. This provides advantages for the servicing software.
For single transfers it is sufficient to use the transmitter interrupt (TxEmpty), which indicates that
the previously loaded data has been transmitted, except for the last bit of a frame.
For multiple back-to-back transfers it is necessary to load the next data before the last bit of the
previous frame has been transmitted. This leaves just one bit-time for the handler to respond to the
transmitter interrupt request.
Using the transmit buffer interrupt (TxBufEmpty) to reload transmit data allows the time to transmit
a complete frame for the service routine, as ASCTxBuffer may be reloaded while the previous
data is still being transmitted.
As shown in Figure 13.5 below, TxBufEmpty is an early trigger for the reload routine, while
TxEmpty indicates the completed transmission of the data field of the frame. Therefore, software
using handshake should rely on TxEmpty at the end of a data block to make sure that all data has
really been transmitted.
Figure 13.5 ASC interrupt generation
13.5 ASC configuration registers
ASCBaudRate register
The ASCBaudRate register is the dual-function baud rate generator/reload register.
A read from this register returns the content of the timer, writing to it updates the reload register.
An auto-reload of the timer with the content of the reload register is performed each time the
ASCBaudRate register is written to. However, if the Run bit of the ASCControl register, see Table
13.5, is 0 at the time the write operation to the ASCBaudRate register is performed, the timer will
not be reloaded until the first CPU clock cycle after the Run bit is 1.
Idle
Idle
TxBufEmpty
TxEmpty
TxBufEmpty
TxBufEmpty
TxEmpty
TxEmpty
RxBufFull
RxBufFull
RxBufFull



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


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