libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
Cortex-M Trace Port Interface Unit (TPIU)
Collaboration diagram for Cortex-M Trace Port Interface Unit (TPIU):

Macros

#define TPIU_SSPSR   MMIO32(TPIU_BASE + 0x000)
 
#define TPIU_CSPSR   MMIO32(TPIU_BASE + 0x004)
 
#define TPIU_ACPR   MMIO32(TPIU_BASE + 0x010)
 
#define TPIU_SPPR   MMIO32(TPIU_BASE + 0x0F0)
 
#define TPIU_FFSR   MMIO32(TPIU_BASE + 0x300)
 
#define TPIU_FFCR   MMIO32(TPIU_BASE + 0x304)
 
#define TPIU_DEVID   MMIO32(TPIU_BASE + 0xFC8)
 
#define TPIU_LSR   MMIO32(TPIU_BASE + CORESIGHT_LSR_OFFSET)
 
#define TPIU_LAR   MMIO32(TPIU_BASE + CORESIGHT_LAR_OFFSET)
 
#define TPIU_SPPR_SYNC   (0x0)
 
#define TPIU_SPPR_ASYNC_MANCHESTER   (0x1)
 
#define TPIU_SPPR_ASYNC_NRZ   (0x2)
 
#define TPIU_FFSR_FTNONSTOP   (1 << 3)
 
#define TPIU_FFSR_TCPRESENT   (1 << 2)
 
#define TPIU_FFSR_FTSTOPPED   (1 << 1)
 
#define TPIU_FFSR_FLINPROG   (1 << 0)
 
#define TPIU_FFCR_TRIGIN   (1 << 8)
 
#define TPIU_FFCR_ENFCONT   (1 << 1)
 
#define TPUI_DEVID_NRZ_SUPPORTED   (1 << 11)
 
#define TPUI_DEVID_MANCHESTER_SUPPORTED   (1 << 10)
 
#define TPUI_DEVID_FIFO_SIZE_MASK   (7 << 6)
 

Detailed Description

Macro Definition Documentation

◆ TPIU_ACPR

#define TPIU_ACPR   MMIO32(TPIU_BASE + 0x010)

Definition at line 43 of file tpiu.h.

◆ TPIU_CSPSR

#define TPIU_CSPSR   MMIO32(TPIU_BASE + 0x004)

Definition at line 40 of file tpiu.h.

◆ TPIU_DEVID

#define TPIU_DEVID   MMIO32(TPIU_BASE + 0xFC8)

Definition at line 55 of file tpiu.h.

◆ TPIU_FFCR

#define TPIU_FFCR   MMIO32(TPIU_BASE + 0x304)

Definition at line 52 of file tpiu.h.

◆ TPIU_FFCR_ENFCONT

#define TPIU_FFCR_ENFCONT   (1 << 1)

Definition at line 89 of file tpiu.h.

◆ TPIU_FFCR_TRIGIN

#define TPIU_FFCR_TRIGIN   (1 << 8)

Definition at line 87 of file tpiu.h.

◆ TPIU_FFSR

#define TPIU_FFSR   MMIO32(TPIU_BASE + 0x300)

Definition at line 49 of file tpiu.h.

◆ TPIU_FFSR_FLINPROG

#define TPIU_FFSR_FLINPROG   (1 << 0)

Definition at line 82 of file tpiu.h.

◆ TPIU_FFSR_FTNONSTOP

#define TPIU_FFSR_FTNONSTOP   (1 << 3)

Definition at line 79 of file tpiu.h.

◆ TPIU_FFSR_FTSTOPPED

#define TPIU_FFSR_FTSTOPPED   (1 << 1)

Definition at line 81 of file tpiu.h.

◆ TPIU_FFSR_TCPRESENT

#define TPIU_FFSR_TCPRESENT   (1 << 2)

Definition at line 80 of file tpiu.h.

◆ TPIU_LAR

#define TPIU_LAR   MMIO32(TPIU_BASE + CORESIGHT_LAR_OFFSET)

Definition at line 60 of file tpiu.h.

◆ TPIU_LSR

#define TPIU_LSR   MMIO32(TPIU_BASE + CORESIGHT_LSR_OFFSET)

Definition at line 58 of file tpiu.h.

◆ TPIU_SPPR

#define TPIU_SPPR   MMIO32(TPIU_BASE + 0x0F0)

Definition at line 46 of file tpiu.h.

◆ TPIU_SPPR_ASYNC_MANCHESTER

#define TPIU_SPPR_ASYNC_MANCHESTER   (0x1)

Definition at line 73 of file tpiu.h.

◆ TPIU_SPPR_ASYNC_NRZ

#define TPIU_SPPR_ASYNC_NRZ   (0x2)

Definition at line 74 of file tpiu.h.

◆ TPIU_SPPR_SYNC

#define TPIU_SPPR_SYNC   (0x0)

Definition at line 72 of file tpiu.h.

◆ TPIU_SSPSR

#define TPIU_SSPSR   MMIO32(TPIU_BASE + 0x000)

Definition at line 37 of file tpiu.h.

◆ TPUI_DEVID_FIFO_SIZE_MASK

#define TPUI_DEVID_FIFO_SIZE_MASK   (7 << 6)

Definition at line 98 of file tpiu.h.

◆ TPUI_DEVID_MANCHESTER_SUPPORTED

#define TPUI_DEVID_MANCHESTER_SUPPORTED   (1 << 10)

Definition at line 96 of file tpiu.h.

◆ TPUI_DEVID_NRZ_SUPPORTED

#define TPUI_DEVID_NRZ_SUPPORTED   (1 << 11)

Definition at line 95 of file tpiu.h.