STM32L4x2
1.6
STM32L4x2
CM4
r1p0
little
false
false
3
false
8
32
0x20
0x0
0xFFFFFFFF
DMA1
Direct memory access controller
DMA
0x40020000
0x0
0x400
registers
DMA1_CH1
DMA1 Channel1 global interrupt
11
DMA1_CH2
DMA1 Channel2 global interrupt
12
DMA1_CH3
DMA1 Channel3 interrupt
13
DMA1_CH4
DMA1 Channel4 interrupt
14
DMA1_CH5
DMA1 Channel5 interrupt
15
DMA1_CH6
DMA1 Channel6 interrupt
16
DMA1_CH7
DMA1 Channel 7 interrupt
17
ISR
ISR
interrupt status register
0x0
0x20
read-only
0x00000000
TEIF7
Channel x transfer error flag (x = 1
..7)
27
1
HTIF7
Channel x half transfer flag (x = 1
..7)
26
1
TCIF7
Channel x transfer complete flag (x = 1
..7)
25
1
GIF7
Channel x global interrupt flag (x = 1
..7)
24
1
TEIF6
Channel x transfer error flag (x = 1
..7)
23
1
HTIF6
Channel x half transfer flag (x = 1
..7)
22
1
TCIF6
Channel x transfer complete flag (x = 1
..7)
21
1
GIF6
Channel x global interrupt flag (x = 1
..7)
20
1
TEIF5
Channel x transfer error flag (x = 1
..7)
19
1
HTIF5
Channel x half transfer flag (x = 1
..7)
18
1
TCIF5
Channel x transfer complete flag (x = 1
..7)
17
1
GIF5
Channel x global interrupt flag (x = 1
..7)
16
1
TEIF4
Channel x transfer error flag (x = 1
..7)
15
1
HTIF4
Channel x half transfer flag (x = 1
..7)
14
1
TCIF4
Channel x transfer complete flag (x = 1
..7)
13
1
GIF4
Channel x global interrupt flag (x = 1
..7)
12
1
TEIF3
Channel x transfer error flag (x = 1
..7)
11
1
HTIF3
Channel x half transfer flag (x = 1
..7)
10
1
TCIF3
Channel x transfer complete flag (x = 1
..7)
9
1
GIF3
Channel x global interrupt flag (x = 1
..7)
8
1
TEIF2
Channel x transfer error flag (x = 1
..7)
7
1
HTIF2
Channel x half transfer flag (x = 1
..7)
6
1
TCIF2
Channel x transfer complete flag (x = 1
..7)
5
1
GIF2
Channel x global interrupt flag (x = 1
..7)
4
1
TEIF1
Channel x transfer error flag (x = 1
..7)
3
1
HTIF1
Channel x half transfer flag (x = 1
..7)
2
1
TCIF1
Channel x transfer complete flag (x = 1
..7)
1
1
GIF1
Channel x global interrupt flag (x = 1
..7)
0
1
IFCR
IFCR
interrupt flag clear register
0x4
0x20
write-only
0x00000000
CTEIF7
Channel x transfer error clear (x = 1
..7)
27
1
CHTIF7
Channel x half transfer clear (x = 1
..7)
26
1
CTCIF7
Channel x transfer complete clear (x = 1
..7)
25
1
CGIF7
Channel x global interrupt clear (x = 1
..7)
24
1
CTEIF6
Channel x transfer error clear (x = 1
..7)
23
1
CHTIF6
Channel x half transfer clear (x = 1
..7)
22
1
CTCIF6
Channel x transfer complete clear (x = 1
..7)
21
1
CGIF6
Channel x global interrupt clear (x = 1
..7)
20
1
CTEIF5
Channel x transfer error clear (x = 1
..7)
19
1
CHTIF5
Channel x half transfer clear (x = 1
..7)
18
1
CTCIF5
Channel x transfer complete clear (x = 1
..7)
17
1
CGIF5
Channel x global interrupt clear (x = 1
..7)
16
1
CTEIF4
Channel x transfer error clear (x = 1
..7)
15
1
CHTIF4
Channel x half transfer clear (x = 1
..7)
14
1
CTCIF4
Channel x transfer complete clear (x = 1
..7)
13
1
CGIF4
Channel x global interrupt clear (x = 1
..7)
12
1
CTEIF3
Channel x transfer error clear (x = 1
..7)
11
1
CHTIF3
Channel x half transfer clear (x = 1
..7)
10
1
CTCIF3
Channel x transfer complete clear (x = 1
..7)
9
1
CGIF3
Channel x global interrupt clear (x = 1
..7)
8
1
CTEIF2
Channel x transfer error clear (x = 1
..7)
7
1
CHTIF2
Channel x half transfer clear (x = 1
..7)
6
1
CTCIF2
Channel x transfer complete clear (x = 1
..7)
5
1
CGIF2
Channel x global interrupt clear (x = 1
..7)
4
1
CTEIF1
Channel x transfer error clear (x = 1
..7)
3
1
CHTIF1
Channel x half transfer clear (x = 1
..7)
2
1
CTCIF1
Channel x transfer complete clear (x = 1
..7)
1
1
CGIF1
Channel x global interrupt clear (x = 1
..7)
0
1
CCR1
CCR1
channel x configuration
register
0x8
0x20
read-write
0x00000000
MEM2MEM
Memory to memory mode
14
1
PL
Channel priority level
12
2
MSIZE
Memory size
10
2
PSIZE
Peripheral size
8
2
MINC
Memory increment mode
7
1
PINC
Peripheral increment mode
6
1
CIRC
Circular mode
5
1
DIR
Data transfer direction
4
1
TEIE
Transfer error interrupt
enable
3
1
HTIE
Half transfer interrupt
enable
2
1
TCIE
Transfer complete interrupt
enable
1
1
EN
Channel enable
0
1
CNDTR1
CNDTR1
channel x number of data
register
0xC
0x20
read-write
0x00000000
NDT
Number of data to transfer
0
16
CPAR1
CPAR1
channel x peripheral address
register
0x10
0x20
read-write
0x00000000
PA
Peripheral address
0
32
CMAR1
CMAR1
channel x memory address
register
0x14
0x20
read-write
0x00000000
MA
Memory address
0
32
CCR2
CCR2
channel x configuration
register
0x1C
0x20
read-write
0x00000000
MEM2MEM
Memory to memory mode
14
1
PL
Channel priority level
12
2
MSIZE
Memory size
10
2
PSIZE
Peripheral size
8
2
MINC
Memory increment mode
7
1
PINC
Peripheral increment mode
6
1
CIRC
Circular mode
5
1
DIR
Data transfer direction
4
1
TEIE
Transfer error interrupt
enable
3
1
HTIE
Half transfer interrupt
enable
2
1
TCIE
Transfer complete interrupt
enable
1
1
EN
Channel enable
0
1
CNDTR2
CNDTR2
channel x number of data
register
0x20
0x20
read-write
0x00000000
NDT
Number of data to transfer
0
16
CPAR2
CPAR2
channel x peripheral address
register
0x24
0x20
read-write
0x00000000
PA
Peripheral address
0
32
CMAR2
CMAR2
channel x memory address
register
0x28
0x20
read-write
0x00000000
MA
Memory address
0
32
CCR3
CCR3
channel x configuration
register
0x30
0x20
read-write
0x00000000
MEM2MEM
Memory to memory mode
14
1
PL
Channel priority level
12
2
MSIZE
Memory size
10
2
PSIZE
Peripheral size
8
2
MINC
Memory increment mode
7
1
PINC
Peripheral increment mode
6
1
CIRC
Circular mode
5
1
DIR
Data transfer direction
4
1
TEIE
Transfer error interrupt
enable
3
1
HTIE
Half transfer interrupt
enable
2
1
TCIE
Transfer complete interrupt
enable
1
1
EN
Channel enable
0
1
CNDTR3
CNDTR3
channel x number of data
register
0x34
0x20
read-write
0x00000000
NDT
Number of data to transfer
0
16
CPAR3
CPAR3
channel x peripheral address
register
0x38
0x20
read-write
0x00000000
PA
Peripheral address
0
32
CMAR3
CMAR3
channel x memory address
register
0x3C
0x20
read-write
0x00000000
MA
Memory address
0
32
CCR4
CCR4
channel x configuration
register
0x44
0x20
read-write
0x00000000
MEM2MEM
Memory to memory mode
14
1
PL
Channel priority level
12
2
MSIZE
Memory size
10
2
PSIZE
Peripheral size
8
2
MINC
Memory increment mode
7
1
PINC
Peripheral increment mode
6
1
CIRC
Circular mode
5
1
DIR
Data transfer direction
4
1
TEIE
Transfer error interrupt
enable
3
1
HTIE
Half transfer interrupt
enable
2
1
TCIE
Transfer complete interrupt
enable
1
1
EN
Channel enable
0
1
CNDTR4
CNDTR4
channel x number of data
register
0x48
0x20
read-write
0x00000000
NDT
Number of data to transfer
0
16
CPAR4
CPAR4
channel x peripheral address
register
0x4C
0x20
read-write
0x00000000
PA
Peripheral address
0
32
CMAR4
CMAR4
channel x memory address
register
0x50
0x20
read-write
0x00000000
MA
Memory address
0
32
CCR5
CCR5
channel x configuration
register
0x58
0x20
read-write
0x00000000
MEM2MEM
Memory to memory mode
14
1
PL
Channel priority level
12
2
MSIZE
Memory size
10
2
PSIZE
Peripheral size
8
2
MINC
Memory increment mode
7
1
PINC
Peripheral increment mode
6
1
CIRC
Circular mode
5
1
DIR
Data transfer direction
4
1
TEIE
Transfer error interrupt
enable
3
1
HTIE
Half transfer interrupt
enable
2
1
TCIE
Transfer complete interrupt
enable
1
1
EN
Channel enable
0
1
CNDTR5
CNDTR5
channel x number of data
register
0x5C
0x20
read-write
0x00000000
NDT
Number of data to transfer
0
16
CPAR5
CPAR5
channel x peripheral address
register
0x60
0x20
read-write
0x00000000
PA
Peripheral address
0
32
CMAR5
CMAR5
channel x memory address
register
0x64
0x20
read-write
0x00000000
MA
Memory address
0
32
CCR6
CCR6
channel x configuration
register
0x6C
0x20
read-write
0x00000000
MEM2MEM
Memory to memory mode
14
1
PL
Channel priority level
12
2
MSIZE
Memory size
10
2
PSIZE
Peripheral size
8
2
MINC
Memory increment mode
7
1
PINC
Peripheral increment mode
6
1
CIRC
Circular mode
5
1
DIR
Data transfer direction
4
1
TEIE
Transfer error interrupt
enable
3
1
HTIE
Half transfer interrupt
enable
2
1
TCIE
Transfer complete interrupt
enable
1
1
EN
Channel enable
0
1
CNDTR6
CNDTR6
channel x number of data
register
0x70
0x20
read-write
0x00000000
NDT
Number of data to transfer
0
16
CPAR6
CPAR6
channel x peripheral address
register
0x74
0x20
read-write
0x00000000
PA
Peripheral address
0
32
CMAR6
CMAR6
channel x memory address
register
0x78
0x20
read-write
0x00000000
MA
Memory address
0
32
CCR7
CCR7
channel x configuration
register
0x80
0x20
read-write
0x00000000
MEM2MEM
Memory to memory mode
14
1
PL
Channel priority level
12
2
MSIZE
Memory size
10
2
PSIZE
Peripheral size
8
2
MINC
Memory increment mode
7
1
PINC
Peripheral increment mode
6
1
CIRC
Circular mode
5
1
DIR
Data transfer direction
4
1
TEIE
Transfer error interrupt
enable
3
1
HTIE
Half transfer interrupt
enable
2
1
TCIE
Transfer complete interrupt
enable
1
1
EN
Channel enable
0
1
CNDTR7
CNDTR7
channel x number of data
register
0x84
0x20
read-write
0x00000000
NDT
Number of data to transfer
0
16
CPAR7
CPAR7
channel x peripheral address
register
0x88
0x20
read-write
0x00000000
PA
Peripheral address
0
32
CMAR7
CMAR7
channel x memory address
register
0x8C
0x20
read-write
0x00000000
MA
Memory address
0
32
CSELR
CSELR
channel selection register
0xA8
0x20
read-write
0x00000000
C7S
DMA channel 7 selection
24
4
C6S
DMA channel 6 selection
20
4
C5S
DMA channel 5 selection
16
4
C4S
DMA channel 4 selection
12
4
C3S
DMA channel 3 selection
8
4
C2S
DMA channel 2 selection
4
4
C1S
DMA channel 1 selection
0
4
DMA2
0x40020400
DMA2_CH1
DMA2 Channel 1 global Interrupt
56
DMA2_CH2
DMA2 Channel 2 global Interrupt
57
DMA2_CH3
DMA2 Channel 3 global Interrupt
58
DMA2_CH4
DMA2 Channel 4 global Interrupt
59
DMA2_CH5
DMA2 Channel 5 global Interrupt
60
DMA2_CH6
DMA2 Channel 6 global Interrupt
68
DMA2_CH7
DMA2 Channel 7 global Interrupt
69
USB_SRAM
Universal serial bus full-speed device
interface
USB
0x40006C00
0x0
0x400
registers
EP0R
EP0R
endpoint 0 register
0x0
0x20
read-write
0x00000000
EA
Endpoint address
0
4
STAT_TX
Status bits, for transmission
transfers
4
2
DTOG_TX
Data Toggle, for transmission
transfers
6
1
CTR_TX
Correct Transfer for
transmission
7
1
EP_KIND
Endpoint kind
8
1
EP_TYPE
Endpoint type
9
2
SETUP
Setup transaction
completed
11
1
STAT_RX
Status bits, for reception
transfers
12
2
DTOG_RX
Data Toggle, for reception
transfers
14
1
CTR_RX
Correct transfer for
reception
15
1
EP1R
EP1R
endpoint 1 register
0x4
0x20
read-write
0x00000000
EA
Endpoint address
0
4
STAT_TX
Status bits, for transmission
transfers
4
2
DTOG_TX
Data Toggle, for transmission
transfers
6
1
CTR_TX
Correct Transfer for
transmission
7
1
EP_KIND
Endpoint kind
8
1
EP_TYPE
Endpoint type
9
2
SETUP
Setup transaction
completed
11
1
STAT_RX
Status bits, for reception
transfers
12
2
DTOG_RX
Data Toggle, for reception
transfers
14
1
CTR_RX
Correct transfer for
reception
15
1
EP2R
EP2R
endpoint 2 register
0x8
0x20
read-write
0x00000000
EA
Endpoint address
0
4
STAT_TX
Status bits, for transmission
transfers
4
2
DTOG_TX
Data Toggle, for transmission
transfers
6
1
CTR_TX
Correct Transfer for
transmission
7
1
EP_KIND
Endpoint kind
8
1
EP_TYPE
Endpoint type
9
2
SETUP
Setup transaction
completed
11
1
STAT_RX
Status bits, for reception
transfers
12
2
DTOG_RX
Data Toggle, for reception
transfers
14
1
CTR_RX
Correct transfer for
reception
15
1
EP3R
EP3R
endpoint 3 register
0xC
0x20
read-write
0x00000000
EA
Endpoint address
0
4
STAT_TX
Status bits, for transmission
transfers
4
2
DTOG_TX
Data Toggle, for transmission
transfers
6
1
CTR_TX
Correct Transfer for
transmission
7
1
EP_KIND
Endpoint kind
8
1
EP_TYPE
Endpoint type
9
2
SETUP
Setup transaction
completed
11
1
STAT_RX
Status bits, for reception
transfers
12
2
DTOG_RX
Data Toggle, for reception
transfers
14
1
CTR_RX
Correct transfer for
reception
15
1
EP4R
EP4R
endpoint 4 register
0x10
0x20
read-write
0x00000000
EA
Endpoint address
0
4
STAT_TX
Status bits, for transmission
transfers
4
2
DTOG_TX
Data Toggle, for transmission
transfers
6
1
CTR_TX
Correct Transfer for
transmission
7
1
EP_KIND
Endpoint kind
8
1
EP_TYPE
Endpoint type
9
2
SETUP
Setup transaction
completed
11
1
STAT_RX
Status bits, for reception
transfers
12
2
DTOG_RX
Data Toggle, for reception
transfers
14
1
CTR_RX
Correct transfer for
reception
15
1
EP5R
EP5R
endpoint 5 register
0x14
0x20
read-write
0x00000000
EA
Endpoint address
0
4
STAT_TX
Status bits, for transmission
transfers
4
2
DTOG_TX
Data Toggle, for transmission
transfers
6
1
CTR_TX
Correct Transfer for
transmission
7
1
EP_KIND
Endpoint kind
8
1
EP_TYPE
Endpoint type
9
2
SETUP
Setup transaction
completed
11
1
STAT_RX
Status bits, for reception
transfers
12
2
DTOG_RX
Data Toggle, for reception
transfers
14
1
CTR_RX
Correct transfer for
reception
15
1
EP6R
EP6R
endpoint 6 register
0x18
0x20
read-write
0x00000000
EA
Endpoint address
0
4
STAT_TX
Status bits, for transmission
transfers
4
2
DTOG_TX
Data Toggle, for transmission
transfers
6
1
CTR_TX
Correct Transfer for
transmission
7
1
EP_KIND
Endpoint kind
8
1
EP_TYPE
Endpoint type
9
2
SETUP
Setup transaction
completed
11
1
STAT_RX
Status bits, for reception
transfers
12
2
DTOG_RX
Data Toggle, for reception
transfers
14
1
CTR_RX
Correct transfer for
reception
15
1
EP7R
EP7R
endpoint 7 register
0x1C
0x20
read-write
0x00000000
EA
Endpoint address
0
4
STAT_TX
Status bits, for transmission
transfers
4
2
DTOG_TX
Data Toggle, for transmission
transfers
6
1
CTR_TX
Correct Transfer for
transmission
7
1
EP_KIND
Endpoint kind
8
1
EP_TYPE
Endpoint type
9
2
SETUP
Setup transaction
completed
11
1
STAT_RX
Status bits, for reception
transfers
12
2
DTOG_RX
Data Toggle, for reception
transfers
14
1
CTR_RX
Correct transfer for
reception
15
1
CNTR
CNTR
control register
0x40
0x20
read-write
0x00000003
FRES
Force USB Reset
0
1
PDWN
Power down
1
1
LPMODE
Low-power mode
2
1
FSUSP
Force suspend
3
1
RESUME
Resume request
4
1
L1RESUME
LPM L1 Resume request
5
1
L1REQM
LPM L1 state request interrupt
mask
7
1
ESOFM
Expected start of frame interrupt
mask
8
1
SOFM
Start of frame interrupt
mask
9
1
RESETM
USB reset interrupt mask
10
1
SUSPM
Suspend mode interrupt
mask
11
1
WKUPM
Wakeup interrupt mask
12
1
ERRM
Error interrupt mask
13
1
PMAOVRM
Packet memory area over / underrun
interrupt mask
14
1
CTRM
Correct transfer interrupt
mask
15
1
ISTR
ISTR
interrupt status register
0x44
0x20
0x00000000
EP_ID
Endpoint Identifier
0
4
read-only
DIR
Direction of transaction
4
1
read-only
L1REQ
LPM L1 state request
7
1
read-write
ESOF
Expected start frame
8
1
read-write
SOF
start of frame
9
1
read-write
RESET
reset request
10
1
read-write
SUSP
Suspend mode request
11
1
read-write
WKUP
Wakeup
12
1
read-write
ERR
Error
13
1
read-write
PMAOVR
Packet memory area over /
underrun
14
1
read-write
CTR
Correct transfer
15
1
read-only
FNR
FNR
frame number register
0x48
0x20
read-only
0x0000
FN
Frame number
0
11
LSOF
Lost SOF
11
2
LCK
Locked
13
1
RXDM
Receive data - line status
14
1
RXDP
Receive data + line status
15
1
DADDR
DADDR
device address
0x4C
0x20
read-write
0x0000
ADD
Device address
0
7
EF
Enable function
7
1
BTABLE
BTABLE
Buffer table address
0x50
0x20
read-write
0x0000
BTABLE
Buffer table
3
13
LPMCSR
LPMCSR
LPM control and status
register
0x54
0x20
0x0000
LPMEN
LPM support enable
0
1
read-write
LPMACK
LPM Token acknowledge
enable
1
1
read-write
REMWAKE
bRemoteWake value
3
1
read-only
BESL
BESL value
4
4
read-only
BCDR
BCDR
Battery charging detector
0x58
0x20
0x0000
BCDEN
Battery charging detector
0
1
read-write
DCDEN
Data contact detection
1
1
read-write
PDEN
Primary detection
2
1
read-write
SDEN
Secondary detection
3
1
read-write
DCDET
Data contact detection
4
1
read-only
PDET
Primary detection
5
1
read-only
SDET
Secondary detection
6
1
read-only
PS2DET
DM pull-up detection
status
7
1
read-only
DPPU
DP pull-up control
15
1
read-write
USB_FS
0x40006800
USB_FS
USB event interrupt through EXTI
67
SCB_ACTRL
System control block ACTLR
SCB
0xE000E008
0x0
0x5
registers
ACTRL
ACTRL
Auxiliary control register
0x0
0x20
read-write
0x00000000
DISMCYCINT
DISMCYCINT
0
1
DISDEFWBUF
DISDEFWBUF
1
1
DISFOLD
DISFOLD
2
1
DISFPCA
DISFPCA
8
1
DISOOFP
DISOOFP
9
1