at91sam9260-cj ATMEL Corporation, at91sam9260-cj Datasheet - Page 412

no-image

at91sam9260-cj

Manufacturer Part Number
at91sam9260-cj
Description
At91 Arm Thumb Microcontrollers
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91SAM9260-CJ
Manufacturer:
Atmel
Quantity:
60
Part Number:
AT91SAM9260-CJ
Manufacturer:
ATMEL
Quantity:
210
31.10.1
Name:
Access:
Reset Value: 0x00000000
• START: Send a START Condition
0 = No effect.
1 = A frame beginning with a START bit is transmitted according to the features defined in the mode register.
This action is necessary when the TWI peripheral wants to read data from a slave. When configured in Master Mode with a
write operation, a frame is sent as soon as the user writes a character in the Transmit Holding Register (TWI_THR).
• STOP: Send a STOP Condition
0 = No effect.
1 = STOP Condition is sent just after completing the current byte transmission in master read mode.
• MSEN: TWI Master Mode Enabled
0 = No effect.
1 = If MSDIS = 0, the master mode is enabled.
Note:
• MSDIS: TWI Master Mode Disabled
0 = No effect.
1 = The master mode is disabled, all pending data is transmitted. The shifter and holding characters (if it contains data) are
transmitted in case of write operation. In read operation, the character being transferred must be completely received
before disabling.
412
SWRST
– In single data byte master read, the START and STOP must both be set.
– In multiple data bytes master read, the STOP must be set after the last data received but one.
– In master read mode, if a NACK bit is received, the STOP is automatically performed.
– In multiple data write operation, when both THR and shift register are empty, a STOP condition is automatically
31
23
15
7
sent.
Switching from Slave to Master mode is only permitted when TXCOMP = 1.
AT91SAM9260
TWI Control Register
TWI_CR
Write-only
30
22
14
6
SVDIS
29
21
13
5
SVEN
28
20
12
4
MSDIS
27
19
11
3
MSEN
26
18
10
2
STOP
25
17
9
1
6221G–ATARM–31-Jan-08
START
24
16
8
0

Related parts for at91sam9260-cj