Go to the documentation of this file.
30 #ifndef _SAME54_TCC3_INSTANCE_
31 #define _SAME54_TCC3_INSTANCE_
34 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
35 #define REG_TCC3_CTRLA (0x42001000)
36 #define REG_TCC3_CTRLBCLR (0x42001004)
37 #define REG_TCC3_CTRLBSET (0x42001005)
38 #define REG_TCC3_SYNCBUSY (0x42001008)
39 #define REG_TCC3_FCTRLA (0x4200100C)
40 #define REG_TCC3_FCTRLB (0x42001010)
41 #define REG_TCC3_DRVCTRL (0x42001018)
42 #define REG_TCC3_DBGCTRL (0x4200101E)
43 #define REG_TCC3_EVCTRL (0x42001020)
44 #define REG_TCC3_INTENCLR (0x42001024)
45 #define REG_TCC3_INTENSET (0x42001028)
46 #define REG_TCC3_INTFLAG (0x4200102C)
47 #define REG_TCC3_STATUS (0x42001030)
48 #define REG_TCC3_COUNT (0x42001034)
49 #define REG_TCC3_WAVE (0x4200103C)
50 #define REG_TCC3_PER (0x42001040)
51 #define REG_TCC3_CC0 (0x42001044)
52 #define REG_TCC3_CC1 (0x42001048)
53 #define REG_TCC3_PERBUF (0x4200106C)
54 #define REG_TCC3_CCBUF0 (0x42001070)
55 #define REG_TCC3_CCBUF1 (0x42001074)
57 #define REG_TCC3_CTRLA (*(RwReg *)0x42001000UL)
58 #define REG_TCC3_CTRLBCLR (*(RwReg8 *)0x42001004UL)
59 #define REG_TCC3_CTRLBSET (*(RwReg8 *)0x42001005UL)
60 #define REG_TCC3_SYNCBUSY (*(RoReg *)0x42001008UL)
61 #define REG_TCC3_FCTRLA (*(RwReg *)0x4200100CUL)
62 #define REG_TCC3_FCTRLB (*(RwReg *)0x42001010UL)
63 #define REG_TCC3_DRVCTRL (*(RwReg *)0x42001018UL)
64 #define REG_TCC3_DBGCTRL (*(RwReg8 *)0x4200101EUL)
65 #define REG_TCC3_EVCTRL (*(RwReg *)0x42001020UL)
66 #define REG_TCC3_INTENCLR (*(RwReg *)0x42001024UL)
67 #define REG_TCC3_INTENSET (*(RwReg *)0x42001028UL)
68 #define REG_TCC3_INTFLAG (*(RwReg *)0x4200102CUL)
69 #define REG_TCC3_STATUS (*(RwReg *)0x42001030UL)
70 #define REG_TCC3_COUNT (*(RwReg *)0x42001034UL)
71 #define REG_TCC3_WAVE (*(RwReg *)0x4200103CUL)
72 #define REG_TCC3_PER (*(RwReg *)0x42001040UL)
73 #define REG_TCC3_CC0 (*(RwReg *)0x42001044UL)
74 #define REG_TCC3_CC1 (*(RwReg *)0x42001048UL)
75 #define REG_TCC3_PERBUF (*(RwReg *)0x4200106CUL)
76 #define REG_TCC3_CCBUF0 (*(RwReg *)0x42001070UL)
77 #define REG_TCC3_CCBUF1 (*(RwReg *)0x42001074UL)
81 #define TCC3_CC_NUM 2 // Number of Compare/Capture units
82 #define TCC3_DITHERING 0 // Dithering feature implemented
83 #define TCC3_DMAC_ID_MC_0 39
84 #define TCC3_DMAC_ID_MC_1 40
85 #define TCC3_DMAC_ID_MC_LSB 39
86 #define TCC3_DMAC_ID_MC_MSB 40
87 #define TCC3_DMAC_ID_MC_SIZE 2
88 #define TCC3_DMAC_ID_OVF 38 // DMA overflow/underflow/retrigger trigger
89 #define TCC3_DTI 0 // Dead-Time-Insertion feature implemented
90 #define TCC3_EXT 0 // Coding of implemented extended features
91 #define TCC3_GCLK_ID 29 // Index of Generic Clock
92 #define TCC3_MASTER_SLAVE_MODE 0 // TCC type 0 : NA, 1 : Master, 2 : Slave
93 #define TCC3_OTMX 0 // Output Matrix feature implemented
94 #define TCC3_OW_NUM 2 // Number of Output Waveforms
95 #define TCC3_PG 0 // Pattern Generation feature implemented
97 #define TCC3_SWAP 0 // DTI outputs swap feature implemented