OpenOCD
rlink_st7.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ST7_ADCCSR   (ST7_ADCDR + 1)
 
#define ST7_ADCDR   (0x0012)
 
#define ST7_EP2TXR   (0x003e)
 
#define ST7_EP2TXR_CTR_TX   (1 << 3)
 
#define ST7_EP2TXR_DTOG_TX   (1 << 2)
 
#define ST7_EP2TXR_STAT_DISABLED   (0)
 
#define ST7_EP2TXR_STAT_NAK   (ST7_EP2TXR_STAT_TX1)
 
#define ST7_EP2TXR_STAT_STALL   (ST7_EP2TXR_STAT_TX0)
 
#define ST7_EP2TXR_STAT_TX0   (1 << 0)
 
#define ST7_EP2TXR_STAT_TX1   (1 << 1)
 
#define ST7_EP2TXR_STAT_VALID   (ST7_EP2TXR_STAT_TX1 | ST7_EP2TXR_STAT_TX0)
 
#define ST7_FOSC   (12 * 1000000)
 
#define ST7_PA0   (1 << 0)
 
#define ST7_PA1   (1 << 1)
 
#define ST7_PA2   (1 << 2)
 
#define ST7_PA3   (1 << 3)
 
#define ST7_PA4   (1 << 4)
 
#define ST7_PA5   (1 << 5)
 
#define ST7_PA6   (1 << 6)
 
#define ST7_PA7   (1 << 7)
 
#define ST7_PADDR   (ST7_PADR + 1)
 
#define ST7_PADR   (0x0000)
 
#define ST7_PAOR   (ST7_PADR + 2)
 
#define ST7_PB0   (1 << 0)
 
#define ST7_PB1   (1 << 1)
 
#define ST7_PB2   (1 << 2)
 
#define ST7_PB3   (1 << 3)
 
#define ST7_PB4   (1 << 4)
 
#define ST7_PB5   (1 << 5)
 
#define ST7_PB6   (1 << 6)
 
#define ST7_PB7   (1 << 7)
 
#define ST7_PBDDR   (ST7_PBDR + 1)
 
#define ST7_PBDR   (0x0003)
 
#define ST7_PC0   (1 << 0)
 
#define ST7_PC1   (1 << 1)
 
#define ST7_PC2   (1 << 2)
 
#define ST7_PC3   (1 << 3)
 
#define ST7_PC4   (1 << 4)
 
#define ST7_PC5   (1 << 5)
 
#define ST7_PC6   (1 << 6)
 
#define ST7_PC7   (1 << 7)
 
#define ST7_PCDDR   (ST7_PCDR + 1)
 
#define ST7_PCDR   (0x0006)
 
#define ST7_PCOR   (ST7_PCDR + 2)
 
#define ST7_PD0   (1 << 0)
 
#define ST7_PD1   (1 << 1)
 
#define ST7_PD2   (1 << 2)
 
#define ST7_PD3   (1 << 3)
 
#define ST7_PD4   (1 << 4)
 
#define ST7_PD5   (1 << 5)
 
#define ST7_PD6   (1 << 6)
 
#define ST7_PD7   (1 << 7)
 
#define ST7_PDDDR   (ST7_PDDR + 1)
 
#define ST7_PDDR   (0x0009)
 
#define ST7_PDOR   (ST7_PDDR + 2)
 
#define ST7_PE0   (1 << 0)
 
#define ST7_PE1   (1 << 1)
 
#define ST7_PE2   (1 << 2)
 
#define ST7_PE3   (1 << 3)
 
#define ST7_PE4   (1 << 4)
 
#define ST7_PE5   (1 << 5)
 
#define ST7_PE6   (1 << 6)
 
#define ST7_PE7   (1 << 7)
 
#define ST7_PEDDR   (ST7_PEDR + 1)
 
#define ST7_PEDR   (0x000c)
 
#define ST7_PEOR   (ST7_PEDR + 2)
 
#define ST7_PF0   (1 << 0)
 
#define ST7_PF1   (1 << 1)
 
#define ST7_PF2   (1 << 2)
 
#define ST7_PF3   (1 << 3)
 
#define ST7_PF4   (1 << 4)
 
#define ST7_PF5   (1 << 5)
 
#define ST7_PF6   (1 << 6)
 
#define ST7_PF7   (1 << 7)
 
#define ST7_PFDDR   (ST7_PFDR + 1)
 
#define ST7_PFDR   (0x000f)
 
#define ST7_USB_BUF_EP0IN   (0x1560)
 
#define ST7_USB_BUF_EP0OUT   (0x1550)
 
#define ST7_USB_BUF_EP1IN   (0x1580)
 
#define ST7_USB_BUF_EP1OUT   (0x1570)
 
#define ST7_USB_BUF_EP2UIDO   (0x1650)
 
#define ST7_USB_BUF_EP2UODI   (0x1590)
 

Macro Definition Documentation

◆ ST7_ADCCSR

#define ST7_ADCCSR   (ST7_ADCDR + 1)

Definition at line 33 of file rlink_st7.h.

◆ ST7_ADCDR

#define ST7_ADCDR   (0x0012)

Definition at line 32 of file rlink_st7.h.

◆ ST7_EP2TXR

#define ST7_EP2TXR   (0x003e)

Definition at line 35 of file rlink_st7.h.

◆ ST7_EP2TXR_CTR_TX

#define ST7_EP2TXR_CTR_TX   (1 << 3)

Definition at line 43 of file rlink_st7.h.

◆ ST7_EP2TXR_DTOG_TX

#define ST7_EP2TXR_DTOG_TX   (1 << 2)

Definition at line 42 of file rlink_st7.h.

◆ ST7_EP2TXR_STAT_DISABLED

#define ST7_EP2TXR_STAT_DISABLED   (0)

Definition at line 38 of file rlink_st7.h.

◆ ST7_EP2TXR_STAT_NAK

#define ST7_EP2TXR_STAT_NAK   (ST7_EP2TXR_STAT_TX1)

Definition at line 41 of file rlink_st7.h.

◆ ST7_EP2TXR_STAT_STALL

#define ST7_EP2TXR_STAT_STALL   (ST7_EP2TXR_STAT_TX0)

Definition at line 39 of file rlink_st7.h.

◆ ST7_EP2TXR_STAT_TX0

#define ST7_EP2TXR_STAT_TX0   (1 << 0)

Definition at line 36 of file rlink_st7.h.

◆ ST7_EP2TXR_STAT_TX1

#define ST7_EP2TXR_STAT_TX1   (1 << 1)

Definition at line 37 of file rlink_st7.h.

◆ ST7_EP2TXR_STAT_VALID

#define ST7_EP2TXR_STAT_VALID   (ST7_EP2TXR_STAT_TX1 | ST7_EP2TXR_STAT_TX0)

Definition at line 40 of file rlink_st7.h.

◆ ST7_FOSC

#define ST7_FOSC   (12 * 1000000)

Definition at line 11 of file rlink_st7.h.

◆ ST7_PA0

#define ST7_PA0   (1 << 0)

Definition at line 52 of file rlink_st7.h.

◆ ST7_PA1

#define ST7_PA1   (1 << 1)

Definition at line 53 of file rlink_st7.h.

◆ ST7_PA2

#define ST7_PA2   (1 << 2)

Definition at line 54 of file rlink_st7.h.

◆ ST7_PA3

#define ST7_PA3   (1 << 3)

Definition at line 55 of file rlink_st7.h.

◆ ST7_PA4

#define ST7_PA4   (1 << 4)

Definition at line 56 of file rlink_st7.h.

◆ ST7_PA5

#define ST7_PA5   (1 << 5)

Definition at line 57 of file rlink_st7.h.

◆ ST7_PA6

#define ST7_PA6   (1 << 6)

Definition at line 58 of file rlink_st7.h.

◆ ST7_PA7

#define ST7_PA7   (1 << 7)

Definition at line 59 of file rlink_st7.h.

◆ ST7_PADDR

#define ST7_PADDR   (ST7_PADR + 1)

Definition at line 16 of file rlink_st7.h.

◆ ST7_PADR

#define ST7_PADR   (0x0000)

Definition at line 15 of file rlink_st7.h.

◆ ST7_PAOR

#define ST7_PAOR   (ST7_PADR + 2)

Definition at line 17 of file rlink_st7.h.

◆ ST7_PB0

#define ST7_PB0   (1 << 0)

Definition at line 61 of file rlink_st7.h.

◆ ST7_PB1

#define ST7_PB1   (1 << 1)

Definition at line 62 of file rlink_st7.h.

◆ ST7_PB2

#define ST7_PB2   (1 << 2)

Definition at line 63 of file rlink_st7.h.

◆ ST7_PB3

#define ST7_PB3   (1 << 3)

Definition at line 64 of file rlink_st7.h.

◆ ST7_PB4

#define ST7_PB4   (1 << 4)

Definition at line 65 of file rlink_st7.h.

◆ ST7_PB5

#define ST7_PB5   (1 << 5)

Definition at line 66 of file rlink_st7.h.

◆ ST7_PB6

#define ST7_PB6   (1 << 6)

Definition at line 67 of file rlink_st7.h.

◆ ST7_PB7

#define ST7_PB7   (1 << 7)

Definition at line 68 of file rlink_st7.h.

◆ ST7_PBDDR

#define ST7_PBDDR   (ST7_PBDR + 1)

Definition at line 19 of file rlink_st7.h.

◆ ST7_PBDR

#define ST7_PBDR   (0x0003)

Definition at line 18 of file rlink_st7.h.

◆ ST7_PC0

#define ST7_PC0   (1 << 0)

Definition at line 70 of file rlink_st7.h.

◆ ST7_PC1

#define ST7_PC1   (1 << 1)

Definition at line 71 of file rlink_st7.h.

◆ ST7_PC2

#define ST7_PC2   (1 << 2)

Definition at line 72 of file rlink_st7.h.

◆ ST7_PC3

#define ST7_PC3   (1 << 3)

Definition at line 73 of file rlink_st7.h.

◆ ST7_PC4

#define ST7_PC4   (1 << 4)

Definition at line 74 of file rlink_st7.h.

◆ ST7_PC5

#define ST7_PC5   (1 << 5)

Definition at line 75 of file rlink_st7.h.

◆ ST7_PC6

#define ST7_PC6   (1 << 6)

Definition at line 76 of file rlink_st7.h.

◆ ST7_PC7

#define ST7_PC7   (1 << 7)

Definition at line 77 of file rlink_st7.h.

◆ ST7_PCDDR

#define ST7_PCDDR   (ST7_PCDR + 1)

Definition at line 21 of file rlink_st7.h.

◆ ST7_PCDR

#define ST7_PCDR   (0x0006)

Definition at line 20 of file rlink_st7.h.

◆ ST7_PCOR

#define ST7_PCOR   (ST7_PCDR + 2)

Definition at line 22 of file rlink_st7.h.

◆ ST7_PD0

#define ST7_PD0   (1 << 0)

Definition at line 79 of file rlink_st7.h.

◆ ST7_PD1

#define ST7_PD1   (1 << 1)

Definition at line 80 of file rlink_st7.h.

◆ ST7_PD2

#define ST7_PD2   (1 << 2)

Definition at line 81 of file rlink_st7.h.

◆ ST7_PD3

#define ST7_PD3   (1 << 3)

Definition at line 82 of file rlink_st7.h.

◆ ST7_PD4

#define ST7_PD4   (1 << 4)

Definition at line 83 of file rlink_st7.h.

◆ ST7_PD5

#define ST7_PD5   (1 << 5)

Definition at line 84 of file rlink_st7.h.

◆ ST7_PD6

#define ST7_PD6   (1 << 6)

Definition at line 85 of file rlink_st7.h.

◆ ST7_PD7

#define ST7_PD7   (1 << 7)

Definition at line 86 of file rlink_st7.h.

◆ ST7_PDDDR

#define ST7_PDDDR   (ST7_PDDR + 1)

Definition at line 24 of file rlink_st7.h.

◆ ST7_PDDR

#define ST7_PDDR   (0x0009)

Definition at line 23 of file rlink_st7.h.

◆ ST7_PDOR

#define ST7_PDOR   (ST7_PDDR + 2)

Definition at line 25 of file rlink_st7.h.

◆ ST7_PE0

#define ST7_PE0   (1 << 0)

Definition at line 88 of file rlink_st7.h.

◆ ST7_PE1

#define ST7_PE1   (1 << 1)

Definition at line 89 of file rlink_st7.h.

◆ ST7_PE2

#define ST7_PE2   (1 << 2)

Definition at line 90 of file rlink_st7.h.

◆ ST7_PE3

#define ST7_PE3   (1 << 3)

Definition at line 91 of file rlink_st7.h.

◆ ST7_PE4

#define ST7_PE4   (1 << 4)

Definition at line 92 of file rlink_st7.h.

◆ ST7_PE5

#define ST7_PE5   (1 << 5)

Definition at line 93 of file rlink_st7.h.

◆ ST7_PE6

#define ST7_PE6   (1 << 6)

Definition at line 94 of file rlink_st7.h.

◆ ST7_PE7

#define ST7_PE7   (1 << 7)

Definition at line 95 of file rlink_st7.h.

◆ ST7_PEDDR

#define ST7_PEDDR   (ST7_PEDR + 1)

Definition at line 27 of file rlink_st7.h.

◆ ST7_PEDR

#define ST7_PEDR   (0x000c)

Definition at line 26 of file rlink_st7.h.

◆ ST7_PEOR

#define ST7_PEOR   (ST7_PEDR + 2)

Definition at line 28 of file rlink_st7.h.

◆ ST7_PF0

#define ST7_PF0   (1 << 0)

Definition at line 97 of file rlink_st7.h.

◆ ST7_PF1

#define ST7_PF1   (1 << 1)

Definition at line 98 of file rlink_st7.h.

◆ ST7_PF2

#define ST7_PF2   (1 << 2)

Definition at line 99 of file rlink_st7.h.

◆ ST7_PF3

#define ST7_PF3   (1 << 3)

Definition at line 100 of file rlink_st7.h.

◆ ST7_PF4

#define ST7_PF4   (1 << 4)

Definition at line 101 of file rlink_st7.h.

◆ ST7_PF5

#define ST7_PF5   (1 << 5)

Definition at line 102 of file rlink_st7.h.

◆ ST7_PF6

#define ST7_PF6   (1 << 6)

Definition at line 103 of file rlink_st7.h.

◆ ST7_PF7

#define ST7_PF7   (1 << 7)

Definition at line 104 of file rlink_st7.h.

◆ ST7_PFDDR

#define ST7_PFDDR   (ST7_PFDR + 1)

Definition at line 30 of file rlink_st7.h.

◆ ST7_PFDR

#define ST7_PFDR   (0x000f)

Definition at line 29 of file rlink_st7.h.

◆ ST7_USB_BUF_EP0IN

#define ST7_USB_BUF_EP0IN   (0x1560)

Definition at line 46 of file rlink_st7.h.

◆ ST7_USB_BUF_EP0OUT

#define ST7_USB_BUF_EP0OUT   (0x1550)

Definition at line 45 of file rlink_st7.h.

◆ ST7_USB_BUF_EP1IN

#define ST7_USB_BUF_EP1IN   (0x1580)

Definition at line 48 of file rlink_st7.h.

◆ ST7_USB_BUF_EP1OUT

#define ST7_USB_BUF_EP1OUT   (0x1570)

Definition at line 47 of file rlink_st7.h.

◆ ST7_USB_BUF_EP2UIDO

#define ST7_USB_BUF_EP2UIDO   (0x1650)

Definition at line 50 of file rlink_st7.h.

◆ ST7_USB_BUF_EP2UODI

#define ST7_USB_BUF_EP2UODI   (0x1590)

Definition at line 49 of file rlink_st7.h.