Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AT90SCR100 Datasheet(PDF) 262 Page - ATMEL Corporation

Part # AT90SCR100
Description  8-bit Microcontroller for Smart Card Readers
PDF  433 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT90SCR100 Datasheet(HTML) 262 Page - ATMEL Corporation

Back Button AT90SCR100 Datasheet HTML 258Page - ATMEL Corporation AT90SCR100 Datasheet HTML 259Page - ATMEL Corporation AT90SCR100 Datasheet HTML 260Page - ATMEL Corporation AT90SCR100 Datasheet HTML 261Page - ATMEL Corporation AT90SCR100 Datasheet HTML 262Page - ATMEL Corporation AT90SCR100 Datasheet HTML 263Page - ATMEL Corporation AT90SCR100 Datasheet HTML 264Page - ATMEL Corporation AT90SCR100 Datasheet HTML 265Page - ATMEL Corporation AT90SCR100 Datasheet HTML 266Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 262 / 433 page
background image
262
TPR0327AY–SMS–30Jan09
AT90SCR100
19.6.1
Transmitter and Receiver Flags and Interrupts
The RXC0, TXC0, and UDRE0 flags and corresponding interrupts in USART in MSPIM mode
are identical in function to the normal USART operation. However, the receiver error status flags
(FE, DOR, and PE) are not in use and is always read as zero.
19.6.2
Disabling the Transmitter or Receiver
The disabling of the transmitter or receiver in USART in MSPIM mode is identical in function to
the normal USART operation.
19.7
USART MSPIM Register Description
The following section describes the registers used for SPI operation using the USART.
19.7.1
UDR0 – USART MSPIM I/O Data Register
The function and bit description of the USART data register (UDR0) in MSPI mode is identical to
normal USART operation. See “UDR0 – USART I/O Data Register n” on page 249.
Assembly Code Example
USART_MSPIM_Transfer:
; Wait for empty transmit buffer
sbis
UCSR0A, UDRE0
rjmp
USART_MSPIM_Transfer
; Put data (r16) into buffer, sends the data
out
UDR0,r16
; Wait for data to be received
USART_MSPIM_Wait_RXC0:
sbis
UCSR0A, RXC0
rjmp
USART_MSPIM_Wait_RXC0
; Get and return received data from buffer
in
r16, UDR0
ret
C Code Example
unsigned char
USART_Receive( void )
{
/* Wait for empty transmit buffer */
while
( !( UCSR0A & (1<<UDRE0)) );
/* Put data into buffer, sends the data */
UDR0 = data;
/* Wait for data to be received */
while
( !(UCSR0A & (1<<RXC0)) );
/* Get and return received data from buffer */
return
UDR0;
}



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