SAME54P20A Test Project
Macros
tc2.h File Reference

Instance description for TC2. More...

Go to the source code of this file.

Macros

#define REG_TC2_CTRLA   (*(RwReg *)0x4101A000UL)
 (TC2) Control A
 
#define REG_TC2_CTRLBCLR   (*(RwReg8 *)0x4101A004UL)
 (TC2) Control B Clear
 
#define REG_TC2_CTRLBSET   (*(RwReg8 *)0x4101A005UL)
 (TC2) Control B Set
 
#define REG_TC2_EVCTRL   (*(RwReg16*)0x4101A006UL)
 (TC2) Event Control
 
#define REG_TC2_INTENCLR   (*(RwReg8 *)0x4101A008UL)
 (TC2) Interrupt Enable Clear
 
#define REG_TC2_INTENSET   (*(RwReg8 *)0x4101A009UL)
 (TC2) Interrupt Enable Set
 
#define REG_TC2_INTFLAG   (*(RwReg8 *)0x4101A00AUL)
 (TC2) Interrupt Flag Status and Clear
 
#define REG_TC2_STATUS   (*(RwReg8 *)0x4101A00BUL)
 (TC2) Status
 
#define REG_TC2_WAVE   (*(RwReg8 *)0x4101A00CUL)
 (TC2) Waveform Generation Control
 
#define REG_TC2_DRVCTRL   (*(RwReg8 *)0x4101A00DUL)
 (TC2) Control C
 
#define REG_TC2_DBGCTRL   (*(RwReg8 *)0x4101A00FUL)
 (TC2) Debug Control
 
#define REG_TC2_SYNCBUSY   (*(RoReg *)0x4101A010UL)
 (TC2) Synchronization Status
 
#define REG_TC2_COUNT16_COUNT   (*(RwReg16*)0x4101A014UL)
 (TC2) COUNT16 Count
 
#define REG_TC2_COUNT16_CC0   (*(RwReg16*)0x4101A01CUL)
 (TC2) COUNT16 Compare and Capture 0
 
#define REG_TC2_COUNT16_CC1   (*(RwReg16*)0x4101A01EUL)
 (TC2) COUNT16 Compare and Capture 1
 
#define REG_TC2_COUNT16_CCBUF0   (*(RwReg16*)0x4101A030UL)
 (TC2) COUNT16 Compare and Capture Buffer 0
 
#define REG_TC2_COUNT16_CCBUF1   (*(RwReg16*)0x4101A032UL)
 (TC2) COUNT16 Compare and Capture Buffer 1
 
#define REG_TC2_COUNT32_COUNT   (*(RwReg *)0x4101A014UL)
 (TC2) COUNT32 Count
 
#define REG_TC2_COUNT32_CC0   (*(RwReg *)0x4101A01CUL)
 (TC2) COUNT32 Compare and Capture 0
 
#define REG_TC2_COUNT32_CC1   (*(RwReg *)0x4101A020UL)
 (TC2) COUNT32 Compare and Capture 1
 
#define REG_TC2_COUNT32_CCBUF0   (*(RwReg *)0x4101A030UL)
 (TC2) COUNT32 Compare and Capture Buffer 0
 
#define REG_TC2_COUNT32_CCBUF1   (*(RwReg *)0x4101A034UL)
 (TC2) COUNT32 Compare and Capture Buffer 1
 
#define REG_TC2_COUNT8_COUNT   (*(RwReg8 *)0x4101A014UL)
 (TC2) COUNT8 Count
 
#define REG_TC2_COUNT8_PER   (*(RwReg8 *)0x4101A01BUL)
 (TC2) COUNT8 Period
 
#define REG_TC2_COUNT8_CC0   (*(RwReg8 *)0x4101A01CUL)
 (TC2) COUNT8 Compare and Capture 0
 
#define REG_TC2_COUNT8_CC1   (*(RwReg8 *)0x4101A01DUL)
 (TC2) COUNT8 Compare and Capture 1
 
#define REG_TC2_COUNT8_PERBUF   (*(RwReg8 *)0x4101A02FUL)
 (TC2) COUNT8 Period Buffer
 
#define REG_TC2_COUNT8_CCBUF0   (*(RwReg8 *)0x4101A030UL)
 (TC2) COUNT8 Compare and Capture Buffer 0
 
#define REG_TC2_COUNT8_CCBUF1   (*(RwReg8 *)0x4101A031UL)
 (TC2) COUNT8 Compare and Capture Buffer 1
 
#define TC2_CC_NUM   2
 
#define TC2_DMAC_ID_MC_0   51
 
#define TC2_DMAC_ID_MC_1   52
 
#define TC2_DMAC_ID_MC_LSB   51
 
#define TC2_DMAC_ID_MC_MSB   52
 
#define TC2_DMAC_ID_MC_SIZE   2
 
#define TC2_DMAC_ID_OVF   50
 
#define TC2_EXT   0
 
#define TC2_GCLK_ID   26
 
#define TC2_MASTER_SLAVE_MODE   1
 
#define TC2_OW_NUM   2
 

Detailed Description

Instance description for TC2.

Copyright (c) 2019 Microchip Technology Inc.

\asf_license_start

Definition in file tc2.h.