Product Specs

Table Of Contents
33 TWIM I
2
C compatible two-wire interface
master with EasyDMA
Page
311
Table 75: Register Overview
Register
Offset
Description
TASKS_STARTRX
0x000
Start TWI receive sequence
TASKS_STARTTX
0x008
Start TWI transmit sequence
TASKS_STOP
0x014
Stop TWI transaction. Must be issued while the TWI master is not suspended.
TASKS_SUSPEND
0x01C
Suspend TWI transaction
TASKS_RESUME
0x020
Resume TWI transaction
EVENTS_STOPPED
0x104
TWI stopped
EVENTS_ERROR
0x124
TWI error
EVENTS_SUSPENDED
0x148
Last byte has been sent out after the SUSPEND task has been issued, TWI traffic is now suspended.
EVENTS_RXSTARTED
0x14C
Receive sequence started
EVENTS_TXSTARTED
0x150
Transmit sequence started
EVENTS_LASTRX
0x15C
Byte boundary, starting to receive the last byte
EVENTS_LASTTX
0x160
Byte boundary, starting to transmit the last byte
SHORTS
0x200
Shortcut register
INTEN
0x300
Enable or disable interrupt
INTENSET
0x304
Enable interrupt
INTENCLR
0x308
Disable interrupt
ERRORSRC
0x4C4
Error source
ENABLE
0x500
Enable TWIM
PSEL.SCL
0x508
Pin select for SCL signal
PSEL.SDA
0x50C
Pin select for SDA signal
FREQUENCY
0x524
TWI frequency
RXD.PTR
0x534
Data pointer
RXD.MAXCNT
0x538
Maximum number of bytes in receive buffer
RXD.AMOUNT
0x53C
Number of bytes transferred in the last transaction
RXD.LIST
0x540
EasyDMA list type
TXD.PTR
0x544
Data pointer
TXD.MAXCNT
0x548
Maximum number of bytes in transmit buffer
TXD.AMOUNT
0x54C
Number of bytes transferred in the last transaction
TXD.LIST
0x550
EasyDMA list type
ADDRESS
0x588
Address used in the TWI transfer
33.8.1 SHORTS
Address offset: 0x200
Shortcut register
Bit number
Id
Reset 0x00000000
31 30
0 0
29
0
28
0
27
0
26
0
25
0
24
0
23 22 21 20
0 0 0 0
19
0
18
0
17
0
16
0
15
0
14
0
13
0
12
F
0
11
0
10
D
0
9
C
0
8
B
0
7
A
0
6
0
5
0
4
0
3
0
2
0
1
0
0
0
Id RW Field
Value Id
Value
Description
A
RW
LASTTX_STARTRX
Shortcut between LASTTX event and STARTRX task
See EVENTS_LASTTX and TASKS_STARTRX
Disabled
0
Disable shortcut
Enabled
1
Enable shortcut
B
RW
LASTTX_SUSPEND
Shortcut between LASTTX event and SUSPEND task
Disabled
0
See EVENTS_LASTTX and TASKS_SUSPEND
Disable shortcut
Enabled
1
Enable shortcut
C
RW
LASTTX_STOP
Shortcut between LASTTX event and STOP task
Disabled
0
See EVENTS_LASTTX and TASKS_STOP
Disable shortcut
Enabled
1
Enable shortcut
D
RW
LASTRX_STARTTX
Shortcut between LASTRX event and STARTTX task
Disabled
0
See EVENTS_LASTRX and TASKS_STARTTX
Disable shortcut