* atmel-samd: Remove ASF3. This will break builds. * atmel-samd: Add ASF4 for the SAMD21 and SAMD51. * Introduce the supervisor concept to facilitate porting. The supervisor is the code which runs individual MicroPython VMs. By splitting it out we make it more consistent and easier to find. This also adds very basic SAMD21 and SAMD51 support using the supervisor. Only the REPL currently works. This begins the work for #178.
3058 lines
92 KiB
C
3058 lines
92 KiB
C
/* Auto-generated config file hpl_dmac_config.h */
|
|
#ifndef HPL_DMAC_CONFIG_H
|
|
#define HPL_DMAC_CONFIG_H
|
|
|
|
// <<< Use Configuration Wizard in Context Menu >>>
|
|
|
|
// <e> DMAC enable
|
|
// <i> Indicates whether dmac is enabled or not
|
|
// <id> dmac_enable
|
|
#ifndef CONF_DMAC_ENABLE
|
|
#define CONF_DMAC_ENABLE 0
|
|
#endif
|
|
|
|
// <q> Priority Level 0
|
|
// <i> Indicates whether Priority Level 0 is enabled or not
|
|
// <id> dmac_lvlen0
|
|
#ifndef CONF_DMAC_LVLEN0
|
|
#define CONF_DMAC_LVLEN0 0
|
|
#endif
|
|
|
|
// <o> Level 0 Round-Robin Arbitration
|
|
// <0=> Static arbitration scheme for channel with priority 0
|
|
// <1=> Round-robin arbitration scheme for channel with priority 0
|
|
// <i> Defines Level 0 Arbitration for DMA channels
|
|
// <id> dmac_rrlvlen0
|
|
#ifndef CONF_DMAC_RRLVLEN0
|
|
#define CONF_DMAC_RRLVLEN0 0
|
|
#endif
|
|
|
|
// <o> Level 0 Channel Priority Number <0x00-0xFF>
|
|
// <id> dmac_lvlpri0
|
|
#ifndef CONF_DMAC_LVLPRI0
|
|
#define CONF_DMAC_LVLPRI0 0
|
|
#endif
|
|
|
|
// <q> Priority Level 1
|
|
// <i> Indicates whether Priority Level 1 is enabled or not
|
|
// <id> dmac_lvlen1
|
|
#ifndef CONF_DMAC_LVLEN1
|
|
#define CONF_DMAC_LVLEN1 0
|
|
#endif
|
|
|
|
// <o> Level 1 Round-Robin Arbitration
|
|
// <0=> Static arbitration scheme for channel with priority 1
|
|
// <1=> Round-robin arbitration scheme for channel with priority 1
|
|
// <i> Defines Level 1 Arbitration for DMA channels
|
|
// <id> dmac_rrlvlen1
|
|
#ifndef CONF_DMAC_RRLVLEN1
|
|
#define CONF_DMAC_RRLVLEN1 0
|
|
#endif
|
|
|
|
// <o> Level 1 Channel Priority Number <0x00-0xFF>
|
|
// <id> dmac_lvlpri1
|
|
#ifndef CONF_DMAC_LVLPRI1
|
|
#define CONF_DMAC_LVLPRI1 0
|
|
#endif
|
|
|
|
// <q> Priority Level 2
|
|
// <i> Indicates whether Priority Level 2 is enabled or not
|
|
// <id> dmac_lvlen2
|
|
#ifndef CONF_DMAC_LVLEN2
|
|
#define CONF_DMAC_LVLEN2 0
|
|
#endif
|
|
|
|
// <o> Level 2 Round-Robin Arbitration
|
|
// <0=> Static arbitration scheme for channel with priority 2
|
|
// <1=> Round-robin arbitration scheme for channel with priority 2
|
|
// <i> Defines Level 2 Arbitration for DMA channels
|
|
// <id> dmac_rrlvlen2
|
|
#ifndef CONF_DMAC_RRLVLEN2
|
|
#define CONF_DMAC_RRLVLEN2 0
|
|
#endif
|
|
|
|
// <o> Level 2 Channel Priority Number <0x00-0xFF>
|
|
// <id> dmac_lvlpri2
|
|
#ifndef CONF_DMAC_LVLPRI2
|
|
#define CONF_DMAC_LVLPRI2 0
|
|
#endif
|
|
|
|
// <q> Priority Level 3
|
|
// <i> Indicates whether Priority Level 3 is enabled or not
|
|
// <id> dmac_lvlen3
|
|
#ifndef CONF_DMAC_LVLEN3
|
|
#define CONF_DMAC_LVLEN3 0
|
|
#endif
|
|
|
|
// <o> Level 3 Round-Robin Arbitration
|
|
// <0=> Static arbitration scheme for channel with priority 3
|
|
// <1=> Round-robin arbitration scheme for channel with priority 3
|
|
// <i> Defines Level 3 Arbitration for DMA channels
|
|
// <id> dmac_rrlvlen3
|
|
#ifndef CONF_DMAC_RRLVLEN3
|
|
#define CONF_DMAC_RRLVLEN3 0
|
|
#endif
|
|
|
|
// <o> Level 3 Channel Priority Number <0x00-0xFF>
|
|
// <id> dmac_lvlpri3
|
|
#ifndef CONF_DMAC_LVLPRI3
|
|
#define CONF_DMAC_LVLPRI3 0
|
|
#endif
|
|
|
|
// <q> Debug Run
|
|
// <i> Indicates whether Debug Run is enabled or not
|
|
// <id> dmac_dbgrun
|
|
#ifndef CONF_DMAC_DBGRUN
|
|
#define CONF_DMAC_DBGRUN 0
|
|
#endif
|
|
|
|
// <e> Channel 0 settings
|
|
// <id> dmac_channel_0_settings
|
|
#ifndef CONF_DMAC_CHANNEL_0_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_0_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 0 is enabled or not
|
|
// <id> dmac_enable_0
|
|
#ifndef CONF_DMAC_ENABLE_0
|
|
#define CONF_DMAC_ENABLE_0 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_0
|
|
#ifndef CONF_DMAC_TRIGACT_0
|
|
#define CONF_DMAC_TRIGACT_0 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_0
|
|
#ifndef CONF_DMAC_TRIGSRC_0
|
|
#define CONF_DMAC_TRIGSRC_0 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_0
|
|
#ifndef CONF_DMAC_LVL_0
|
|
#define CONF_DMAC_LVL_0 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_0
|
|
#ifndef CONF_DMAC_EVOE_0
|
|
#define CONF_DMAC_EVOE_0 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_0
|
|
#ifndef CONF_DMAC_EVIE_0
|
|
#define CONF_DMAC_EVIE_0 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_0
|
|
#ifndef CONF_DMAC_EVACT_0
|
|
#define CONF_DMAC_EVACT_0 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_0
|
|
#ifndef CONF_DMAC_STEPSIZE_0
|
|
#define CONF_DMAC_STEPSIZE_0 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_0
|
|
#ifndef CONF_DMAC_STEPSEL_0
|
|
#define CONF_DMAC_STEPSEL_0 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_0
|
|
#ifndef CONF_DMAC_SRCINC_0
|
|
#define CONF_DMAC_SRCINC_0 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_0
|
|
#ifndef CONF_DMAC_DSTINC_0
|
|
#define CONF_DMAC_DSTINC_0 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_0
|
|
#ifndef CONF_DMAC_BEATSIZE_0
|
|
#define CONF_DMAC_BEATSIZE_0 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_0
|
|
#ifndef CONF_DMAC_BLOCKACT_0
|
|
#define CONF_DMAC_BLOCKACT_0 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_0
|
|
#ifndef CONF_DMAC_EVOSEL_0
|
|
#define CONF_DMAC_EVOSEL_0 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 1 settings
|
|
// <id> dmac_channel_1_settings
|
|
#ifndef CONF_DMAC_CHANNEL_1_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_1_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 1 is enabled or not
|
|
// <id> dmac_enable_1
|
|
#ifndef CONF_DMAC_ENABLE_1
|
|
#define CONF_DMAC_ENABLE_1 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_1
|
|
#ifndef CONF_DMAC_TRIGACT_1
|
|
#define CONF_DMAC_TRIGACT_1 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_1
|
|
#ifndef CONF_DMAC_TRIGSRC_1
|
|
#define CONF_DMAC_TRIGSRC_1 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_1
|
|
#ifndef CONF_DMAC_LVL_1
|
|
#define CONF_DMAC_LVL_1 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_1
|
|
#ifndef CONF_DMAC_EVOE_1
|
|
#define CONF_DMAC_EVOE_1 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_1
|
|
#ifndef CONF_DMAC_EVIE_1
|
|
#define CONF_DMAC_EVIE_1 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_1
|
|
#ifndef CONF_DMAC_EVACT_1
|
|
#define CONF_DMAC_EVACT_1 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_1
|
|
#ifndef CONF_DMAC_STEPSIZE_1
|
|
#define CONF_DMAC_STEPSIZE_1 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_1
|
|
#ifndef CONF_DMAC_STEPSEL_1
|
|
#define CONF_DMAC_STEPSEL_1 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_1
|
|
#ifndef CONF_DMAC_SRCINC_1
|
|
#define CONF_DMAC_SRCINC_1 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_1
|
|
#ifndef CONF_DMAC_DSTINC_1
|
|
#define CONF_DMAC_DSTINC_1 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_1
|
|
#ifndef CONF_DMAC_BEATSIZE_1
|
|
#define CONF_DMAC_BEATSIZE_1 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_1
|
|
#ifndef CONF_DMAC_BLOCKACT_1
|
|
#define CONF_DMAC_BLOCKACT_1 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_1
|
|
#ifndef CONF_DMAC_EVOSEL_1
|
|
#define CONF_DMAC_EVOSEL_1 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 2 settings
|
|
// <id> dmac_channel_2_settings
|
|
#ifndef CONF_DMAC_CHANNEL_2_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_2_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 2 is enabled or not
|
|
// <id> dmac_enable_2
|
|
#ifndef CONF_DMAC_ENABLE_2
|
|
#define CONF_DMAC_ENABLE_2 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_2
|
|
#ifndef CONF_DMAC_TRIGACT_2
|
|
#define CONF_DMAC_TRIGACT_2 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_2
|
|
#ifndef CONF_DMAC_TRIGSRC_2
|
|
#define CONF_DMAC_TRIGSRC_2 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_2
|
|
#ifndef CONF_DMAC_LVL_2
|
|
#define CONF_DMAC_LVL_2 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_2
|
|
#ifndef CONF_DMAC_EVOE_2
|
|
#define CONF_DMAC_EVOE_2 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_2
|
|
#ifndef CONF_DMAC_EVIE_2
|
|
#define CONF_DMAC_EVIE_2 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_2
|
|
#ifndef CONF_DMAC_EVACT_2
|
|
#define CONF_DMAC_EVACT_2 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_2
|
|
#ifndef CONF_DMAC_STEPSIZE_2
|
|
#define CONF_DMAC_STEPSIZE_2 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_2
|
|
#ifndef CONF_DMAC_STEPSEL_2
|
|
#define CONF_DMAC_STEPSEL_2 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_2
|
|
#ifndef CONF_DMAC_SRCINC_2
|
|
#define CONF_DMAC_SRCINC_2 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_2
|
|
#ifndef CONF_DMAC_DSTINC_2
|
|
#define CONF_DMAC_DSTINC_2 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_2
|
|
#ifndef CONF_DMAC_BEATSIZE_2
|
|
#define CONF_DMAC_BEATSIZE_2 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_2
|
|
#ifndef CONF_DMAC_BLOCKACT_2
|
|
#define CONF_DMAC_BLOCKACT_2 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_2
|
|
#ifndef CONF_DMAC_EVOSEL_2
|
|
#define CONF_DMAC_EVOSEL_2 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 3 settings
|
|
// <id> dmac_channel_3_settings
|
|
#ifndef CONF_DMAC_CHANNEL_3_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_3_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 3 is enabled or not
|
|
// <id> dmac_enable_3
|
|
#ifndef CONF_DMAC_ENABLE_3
|
|
#define CONF_DMAC_ENABLE_3 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_3
|
|
#ifndef CONF_DMAC_TRIGACT_3
|
|
#define CONF_DMAC_TRIGACT_3 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_3
|
|
#ifndef CONF_DMAC_TRIGSRC_3
|
|
#define CONF_DMAC_TRIGSRC_3 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_3
|
|
#ifndef CONF_DMAC_LVL_3
|
|
#define CONF_DMAC_LVL_3 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_3
|
|
#ifndef CONF_DMAC_EVOE_3
|
|
#define CONF_DMAC_EVOE_3 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_3
|
|
#ifndef CONF_DMAC_EVIE_3
|
|
#define CONF_DMAC_EVIE_3 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_3
|
|
#ifndef CONF_DMAC_EVACT_3
|
|
#define CONF_DMAC_EVACT_3 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_3
|
|
#ifndef CONF_DMAC_STEPSIZE_3
|
|
#define CONF_DMAC_STEPSIZE_3 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_3
|
|
#ifndef CONF_DMAC_STEPSEL_3
|
|
#define CONF_DMAC_STEPSEL_3 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_3
|
|
#ifndef CONF_DMAC_SRCINC_3
|
|
#define CONF_DMAC_SRCINC_3 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_3
|
|
#ifndef CONF_DMAC_DSTINC_3
|
|
#define CONF_DMAC_DSTINC_3 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_3
|
|
#ifndef CONF_DMAC_BEATSIZE_3
|
|
#define CONF_DMAC_BEATSIZE_3 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_3
|
|
#ifndef CONF_DMAC_BLOCKACT_3
|
|
#define CONF_DMAC_BLOCKACT_3 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_3
|
|
#ifndef CONF_DMAC_EVOSEL_3
|
|
#define CONF_DMAC_EVOSEL_3 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 4 settings
|
|
// <id> dmac_channel_4_settings
|
|
#ifndef CONF_DMAC_CHANNEL_4_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_4_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 4 is enabled or not
|
|
// <id> dmac_enable_4
|
|
#ifndef CONF_DMAC_ENABLE_4
|
|
#define CONF_DMAC_ENABLE_4 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_4
|
|
#ifndef CONF_DMAC_TRIGACT_4
|
|
#define CONF_DMAC_TRIGACT_4 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_4
|
|
#ifndef CONF_DMAC_TRIGSRC_4
|
|
#define CONF_DMAC_TRIGSRC_4 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_4
|
|
#ifndef CONF_DMAC_LVL_4
|
|
#define CONF_DMAC_LVL_4 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_4
|
|
#ifndef CONF_DMAC_EVOE_4
|
|
#define CONF_DMAC_EVOE_4 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_4
|
|
#ifndef CONF_DMAC_EVIE_4
|
|
#define CONF_DMAC_EVIE_4 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_4
|
|
#ifndef CONF_DMAC_EVACT_4
|
|
#define CONF_DMAC_EVACT_4 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_4
|
|
#ifndef CONF_DMAC_STEPSIZE_4
|
|
#define CONF_DMAC_STEPSIZE_4 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_4
|
|
#ifndef CONF_DMAC_STEPSEL_4
|
|
#define CONF_DMAC_STEPSEL_4 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_4
|
|
#ifndef CONF_DMAC_SRCINC_4
|
|
#define CONF_DMAC_SRCINC_4 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_4
|
|
#ifndef CONF_DMAC_DSTINC_4
|
|
#define CONF_DMAC_DSTINC_4 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_4
|
|
#ifndef CONF_DMAC_BEATSIZE_4
|
|
#define CONF_DMAC_BEATSIZE_4 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_4
|
|
#ifndef CONF_DMAC_BLOCKACT_4
|
|
#define CONF_DMAC_BLOCKACT_4 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_4
|
|
#ifndef CONF_DMAC_EVOSEL_4
|
|
#define CONF_DMAC_EVOSEL_4 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 5 settings
|
|
// <id> dmac_channel_5_settings
|
|
#ifndef CONF_DMAC_CHANNEL_5_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_5_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 5 is enabled or not
|
|
// <id> dmac_enable_5
|
|
#ifndef CONF_DMAC_ENABLE_5
|
|
#define CONF_DMAC_ENABLE_5 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_5
|
|
#ifndef CONF_DMAC_TRIGACT_5
|
|
#define CONF_DMAC_TRIGACT_5 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_5
|
|
#ifndef CONF_DMAC_TRIGSRC_5
|
|
#define CONF_DMAC_TRIGSRC_5 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_5
|
|
#ifndef CONF_DMAC_LVL_5
|
|
#define CONF_DMAC_LVL_5 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_5
|
|
#ifndef CONF_DMAC_EVOE_5
|
|
#define CONF_DMAC_EVOE_5 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_5
|
|
#ifndef CONF_DMAC_EVIE_5
|
|
#define CONF_DMAC_EVIE_5 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_5
|
|
#ifndef CONF_DMAC_EVACT_5
|
|
#define CONF_DMAC_EVACT_5 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_5
|
|
#ifndef CONF_DMAC_STEPSIZE_5
|
|
#define CONF_DMAC_STEPSIZE_5 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_5
|
|
#ifndef CONF_DMAC_STEPSEL_5
|
|
#define CONF_DMAC_STEPSEL_5 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_5
|
|
#ifndef CONF_DMAC_SRCINC_5
|
|
#define CONF_DMAC_SRCINC_5 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_5
|
|
#ifndef CONF_DMAC_DSTINC_5
|
|
#define CONF_DMAC_DSTINC_5 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_5
|
|
#ifndef CONF_DMAC_BEATSIZE_5
|
|
#define CONF_DMAC_BEATSIZE_5 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_5
|
|
#ifndef CONF_DMAC_BLOCKACT_5
|
|
#define CONF_DMAC_BLOCKACT_5 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_5
|
|
#ifndef CONF_DMAC_EVOSEL_5
|
|
#define CONF_DMAC_EVOSEL_5 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 6 settings
|
|
// <id> dmac_channel_6_settings
|
|
#ifndef CONF_DMAC_CHANNEL_6_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_6_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 6 is enabled or not
|
|
// <id> dmac_enable_6
|
|
#ifndef CONF_DMAC_ENABLE_6
|
|
#define CONF_DMAC_ENABLE_6 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_6
|
|
#ifndef CONF_DMAC_TRIGACT_6
|
|
#define CONF_DMAC_TRIGACT_6 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_6
|
|
#ifndef CONF_DMAC_TRIGSRC_6
|
|
#define CONF_DMAC_TRIGSRC_6 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_6
|
|
#ifndef CONF_DMAC_LVL_6
|
|
#define CONF_DMAC_LVL_6 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_6
|
|
#ifndef CONF_DMAC_EVOE_6
|
|
#define CONF_DMAC_EVOE_6 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_6
|
|
#ifndef CONF_DMAC_EVIE_6
|
|
#define CONF_DMAC_EVIE_6 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_6
|
|
#ifndef CONF_DMAC_EVACT_6
|
|
#define CONF_DMAC_EVACT_6 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_6
|
|
#ifndef CONF_DMAC_STEPSIZE_6
|
|
#define CONF_DMAC_STEPSIZE_6 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_6
|
|
#ifndef CONF_DMAC_STEPSEL_6
|
|
#define CONF_DMAC_STEPSEL_6 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_6
|
|
#ifndef CONF_DMAC_SRCINC_6
|
|
#define CONF_DMAC_SRCINC_6 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_6
|
|
#ifndef CONF_DMAC_DSTINC_6
|
|
#define CONF_DMAC_DSTINC_6 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_6
|
|
#ifndef CONF_DMAC_BEATSIZE_6
|
|
#define CONF_DMAC_BEATSIZE_6 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_6
|
|
#ifndef CONF_DMAC_BLOCKACT_6
|
|
#define CONF_DMAC_BLOCKACT_6 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_6
|
|
#ifndef CONF_DMAC_EVOSEL_6
|
|
#define CONF_DMAC_EVOSEL_6 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 7 settings
|
|
// <id> dmac_channel_7_settings
|
|
#ifndef CONF_DMAC_CHANNEL_7_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_7_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 7 is enabled or not
|
|
// <id> dmac_enable_7
|
|
#ifndef CONF_DMAC_ENABLE_7
|
|
#define CONF_DMAC_ENABLE_7 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_7
|
|
#ifndef CONF_DMAC_TRIGACT_7
|
|
#define CONF_DMAC_TRIGACT_7 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_7
|
|
#ifndef CONF_DMAC_TRIGSRC_7
|
|
#define CONF_DMAC_TRIGSRC_7 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_7
|
|
#ifndef CONF_DMAC_LVL_7
|
|
#define CONF_DMAC_LVL_7 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_7
|
|
#ifndef CONF_DMAC_EVOE_7
|
|
#define CONF_DMAC_EVOE_7 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_7
|
|
#ifndef CONF_DMAC_EVIE_7
|
|
#define CONF_DMAC_EVIE_7 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_7
|
|
#ifndef CONF_DMAC_EVACT_7
|
|
#define CONF_DMAC_EVACT_7 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_7
|
|
#ifndef CONF_DMAC_STEPSIZE_7
|
|
#define CONF_DMAC_STEPSIZE_7 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_7
|
|
#ifndef CONF_DMAC_STEPSEL_7
|
|
#define CONF_DMAC_STEPSEL_7 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_7
|
|
#ifndef CONF_DMAC_SRCINC_7
|
|
#define CONF_DMAC_SRCINC_7 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_7
|
|
#ifndef CONF_DMAC_DSTINC_7
|
|
#define CONF_DMAC_DSTINC_7 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_7
|
|
#ifndef CONF_DMAC_BEATSIZE_7
|
|
#define CONF_DMAC_BEATSIZE_7 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_7
|
|
#ifndef CONF_DMAC_BLOCKACT_7
|
|
#define CONF_DMAC_BLOCKACT_7 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_7
|
|
#ifndef CONF_DMAC_EVOSEL_7
|
|
#define CONF_DMAC_EVOSEL_7 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 8 settings
|
|
// <id> dmac_channel_8_settings
|
|
#ifndef CONF_DMAC_CHANNEL_8_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_8_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 8 is enabled or not
|
|
// <id> dmac_enable_8
|
|
#ifndef CONF_DMAC_ENABLE_8
|
|
#define CONF_DMAC_ENABLE_8 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_8
|
|
#ifndef CONF_DMAC_TRIGACT_8
|
|
#define CONF_DMAC_TRIGACT_8 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_8
|
|
#ifndef CONF_DMAC_TRIGSRC_8
|
|
#define CONF_DMAC_TRIGSRC_8 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_8
|
|
#ifndef CONF_DMAC_LVL_8
|
|
#define CONF_DMAC_LVL_8 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_8
|
|
#ifndef CONF_DMAC_EVOE_8
|
|
#define CONF_DMAC_EVOE_8 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_8
|
|
#ifndef CONF_DMAC_EVIE_8
|
|
#define CONF_DMAC_EVIE_8 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_8
|
|
#ifndef CONF_DMAC_EVACT_8
|
|
#define CONF_DMAC_EVACT_8 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_8
|
|
#ifndef CONF_DMAC_STEPSIZE_8
|
|
#define CONF_DMAC_STEPSIZE_8 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_8
|
|
#ifndef CONF_DMAC_STEPSEL_8
|
|
#define CONF_DMAC_STEPSEL_8 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_8
|
|
#ifndef CONF_DMAC_SRCINC_8
|
|
#define CONF_DMAC_SRCINC_8 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_8
|
|
#ifndef CONF_DMAC_DSTINC_8
|
|
#define CONF_DMAC_DSTINC_8 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_8
|
|
#ifndef CONF_DMAC_BEATSIZE_8
|
|
#define CONF_DMAC_BEATSIZE_8 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_8
|
|
#ifndef CONF_DMAC_BLOCKACT_8
|
|
#define CONF_DMAC_BLOCKACT_8 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_8
|
|
#ifndef CONF_DMAC_EVOSEL_8
|
|
#define CONF_DMAC_EVOSEL_8 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 9 settings
|
|
// <id> dmac_channel_9_settings
|
|
#ifndef CONF_DMAC_CHANNEL_9_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_9_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 9 is enabled or not
|
|
// <id> dmac_enable_9
|
|
#ifndef CONF_DMAC_ENABLE_9
|
|
#define CONF_DMAC_ENABLE_9 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_9
|
|
#ifndef CONF_DMAC_TRIGACT_9
|
|
#define CONF_DMAC_TRIGACT_9 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_9
|
|
#ifndef CONF_DMAC_TRIGSRC_9
|
|
#define CONF_DMAC_TRIGSRC_9 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_9
|
|
#ifndef CONF_DMAC_LVL_9
|
|
#define CONF_DMAC_LVL_9 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_9
|
|
#ifndef CONF_DMAC_EVOE_9
|
|
#define CONF_DMAC_EVOE_9 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_9
|
|
#ifndef CONF_DMAC_EVIE_9
|
|
#define CONF_DMAC_EVIE_9 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_9
|
|
#ifndef CONF_DMAC_EVACT_9
|
|
#define CONF_DMAC_EVACT_9 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_9
|
|
#ifndef CONF_DMAC_STEPSIZE_9
|
|
#define CONF_DMAC_STEPSIZE_9 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_9
|
|
#ifndef CONF_DMAC_STEPSEL_9
|
|
#define CONF_DMAC_STEPSEL_9 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_9
|
|
#ifndef CONF_DMAC_SRCINC_9
|
|
#define CONF_DMAC_SRCINC_9 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_9
|
|
#ifndef CONF_DMAC_DSTINC_9
|
|
#define CONF_DMAC_DSTINC_9 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_9
|
|
#ifndef CONF_DMAC_BEATSIZE_9
|
|
#define CONF_DMAC_BEATSIZE_9 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_9
|
|
#ifndef CONF_DMAC_BLOCKACT_9
|
|
#define CONF_DMAC_BLOCKACT_9 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_9
|
|
#ifndef CONF_DMAC_EVOSEL_9
|
|
#define CONF_DMAC_EVOSEL_9 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 10 settings
|
|
// <id> dmac_channel_10_settings
|
|
#ifndef CONF_DMAC_CHANNEL_10_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_10_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 10 is enabled or not
|
|
// <id> dmac_enable_10
|
|
#ifndef CONF_DMAC_ENABLE_10
|
|
#define CONF_DMAC_ENABLE_10 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_10
|
|
#ifndef CONF_DMAC_TRIGACT_10
|
|
#define CONF_DMAC_TRIGACT_10 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_10
|
|
#ifndef CONF_DMAC_TRIGSRC_10
|
|
#define CONF_DMAC_TRIGSRC_10 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_10
|
|
#ifndef CONF_DMAC_LVL_10
|
|
#define CONF_DMAC_LVL_10 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_10
|
|
#ifndef CONF_DMAC_EVOE_10
|
|
#define CONF_DMAC_EVOE_10 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_10
|
|
#ifndef CONF_DMAC_EVIE_10
|
|
#define CONF_DMAC_EVIE_10 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_10
|
|
#ifndef CONF_DMAC_EVACT_10
|
|
#define CONF_DMAC_EVACT_10 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_10
|
|
#ifndef CONF_DMAC_STEPSIZE_10
|
|
#define CONF_DMAC_STEPSIZE_10 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_10
|
|
#ifndef CONF_DMAC_STEPSEL_10
|
|
#define CONF_DMAC_STEPSEL_10 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_10
|
|
#ifndef CONF_DMAC_SRCINC_10
|
|
#define CONF_DMAC_SRCINC_10 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_10
|
|
#ifndef CONF_DMAC_DSTINC_10
|
|
#define CONF_DMAC_DSTINC_10 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_10
|
|
#ifndef CONF_DMAC_BEATSIZE_10
|
|
#define CONF_DMAC_BEATSIZE_10 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_10
|
|
#ifndef CONF_DMAC_BLOCKACT_10
|
|
#define CONF_DMAC_BLOCKACT_10 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_10
|
|
#ifndef CONF_DMAC_EVOSEL_10
|
|
#define CONF_DMAC_EVOSEL_10 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 11 settings
|
|
// <id> dmac_channel_11_settings
|
|
#ifndef CONF_DMAC_CHANNEL_11_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_11_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 11 is enabled or not
|
|
// <id> dmac_enable_11
|
|
#ifndef CONF_DMAC_ENABLE_11
|
|
#define CONF_DMAC_ENABLE_11 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_11
|
|
#ifndef CONF_DMAC_TRIGACT_11
|
|
#define CONF_DMAC_TRIGACT_11 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_11
|
|
#ifndef CONF_DMAC_TRIGSRC_11
|
|
#define CONF_DMAC_TRIGSRC_11 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_11
|
|
#ifndef CONF_DMAC_LVL_11
|
|
#define CONF_DMAC_LVL_11 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_11
|
|
#ifndef CONF_DMAC_EVOE_11
|
|
#define CONF_DMAC_EVOE_11 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_11
|
|
#ifndef CONF_DMAC_EVIE_11
|
|
#define CONF_DMAC_EVIE_11 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_11
|
|
#ifndef CONF_DMAC_EVACT_11
|
|
#define CONF_DMAC_EVACT_11 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_11
|
|
#ifndef CONF_DMAC_STEPSIZE_11
|
|
#define CONF_DMAC_STEPSIZE_11 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_11
|
|
#ifndef CONF_DMAC_STEPSEL_11
|
|
#define CONF_DMAC_STEPSEL_11 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_11
|
|
#ifndef CONF_DMAC_SRCINC_11
|
|
#define CONF_DMAC_SRCINC_11 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_11
|
|
#ifndef CONF_DMAC_DSTINC_11
|
|
#define CONF_DMAC_DSTINC_11 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_11
|
|
#ifndef CONF_DMAC_BEATSIZE_11
|
|
#define CONF_DMAC_BEATSIZE_11 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_11
|
|
#ifndef CONF_DMAC_BLOCKACT_11
|
|
#define CONF_DMAC_BLOCKACT_11 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_11
|
|
#ifndef CONF_DMAC_EVOSEL_11
|
|
#define CONF_DMAC_EVOSEL_11 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 12 settings
|
|
// <id> dmac_channel_12_settings
|
|
#ifndef CONF_DMAC_CHANNEL_12_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_12_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 12 is enabled or not
|
|
// <id> dmac_enable_12
|
|
#ifndef CONF_DMAC_ENABLE_12
|
|
#define CONF_DMAC_ENABLE_12 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_12
|
|
#ifndef CONF_DMAC_TRIGACT_12
|
|
#define CONF_DMAC_TRIGACT_12 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_12
|
|
#ifndef CONF_DMAC_TRIGSRC_12
|
|
#define CONF_DMAC_TRIGSRC_12 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_12
|
|
#ifndef CONF_DMAC_LVL_12
|
|
#define CONF_DMAC_LVL_12 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_12
|
|
#ifndef CONF_DMAC_EVOE_12
|
|
#define CONF_DMAC_EVOE_12 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_12
|
|
#ifndef CONF_DMAC_EVIE_12
|
|
#define CONF_DMAC_EVIE_12 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_12
|
|
#ifndef CONF_DMAC_EVACT_12
|
|
#define CONF_DMAC_EVACT_12 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_12
|
|
#ifndef CONF_DMAC_STEPSIZE_12
|
|
#define CONF_DMAC_STEPSIZE_12 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_12
|
|
#ifndef CONF_DMAC_STEPSEL_12
|
|
#define CONF_DMAC_STEPSEL_12 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_12
|
|
#ifndef CONF_DMAC_SRCINC_12
|
|
#define CONF_DMAC_SRCINC_12 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_12
|
|
#ifndef CONF_DMAC_DSTINC_12
|
|
#define CONF_DMAC_DSTINC_12 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_12
|
|
#ifndef CONF_DMAC_BEATSIZE_12
|
|
#define CONF_DMAC_BEATSIZE_12 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_12
|
|
#ifndef CONF_DMAC_BLOCKACT_12
|
|
#define CONF_DMAC_BLOCKACT_12 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_12
|
|
#ifndef CONF_DMAC_EVOSEL_12
|
|
#define CONF_DMAC_EVOSEL_12 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 13 settings
|
|
// <id> dmac_channel_13_settings
|
|
#ifndef CONF_DMAC_CHANNEL_13_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_13_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 13 is enabled or not
|
|
// <id> dmac_enable_13
|
|
#ifndef CONF_DMAC_ENABLE_13
|
|
#define CONF_DMAC_ENABLE_13 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_13
|
|
#ifndef CONF_DMAC_TRIGACT_13
|
|
#define CONF_DMAC_TRIGACT_13 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_13
|
|
#ifndef CONF_DMAC_TRIGSRC_13
|
|
#define CONF_DMAC_TRIGSRC_13 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_13
|
|
#ifndef CONF_DMAC_LVL_13
|
|
#define CONF_DMAC_LVL_13 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_13
|
|
#ifndef CONF_DMAC_EVOE_13
|
|
#define CONF_DMAC_EVOE_13 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_13
|
|
#ifndef CONF_DMAC_EVIE_13
|
|
#define CONF_DMAC_EVIE_13 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_13
|
|
#ifndef CONF_DMAC_EVACT_13
|
|
#define CONF_DMAC_EVACT_13 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_13
|
|
#ifndef CONF_DMAC_STEPSIZE_13
|
|
#define CONF_DMAC_STEPSIZE_13 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_13
|
|
#ifndef CONF_DMAC_STEPSEL_13
|
|
#define CONF_DMAC_STEPSEL_13 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_13
|
|
#ifndef CONF_DMAC_SRCINC_13
|
|
#define CONF_DMAC_SRCINC_13 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_13
|
|
#ifndef CONF_DMAC_DSTINC_13
|
|
#define CONF_DMAC_DSTINC_13 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_13
|
|
#ifndef CONF_DMAC_BEATSIZE_13
|
|
#define CONF_DMAC_BEATSIZE_13 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_13
|
|
#ifndef CONF_DMAC_BLOCKACT_13
|
|
#define CONF_DMAC_BLOCKACT_13 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_13
|
|
#ifndef CONF_DMAC_EVOSEL_13
|
|
#define CONF_DMAC_EVOSEL_13 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 14 settings
|
|
// <id> dmac_channel_14_settings
|
|
#ifndef CONF_DMAC_CHANNEL_14_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_14_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 14 is enabled or not
|
|
// <id> dmac_enable_14
|
|
#ifndef CONF_DMAC_ENABLE_14
|
|
#define CONF_DMAC_ENABLE_14 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_14
|
|
#ifndef CONF_DMAC_TRIGACT_14
|
|
#define CONF_DMAC_TRIGACT_14 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_14
|
|
#ifndef CONF_DMAC_TRIGSRC_14
|
|
#define CONF_DMAC_TRIGSRC_14 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_14
|
|
#ifndef CONF_DMAC_LVL_14
|
|
#define CONF_DMAC_LVL_14 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_14
|
|
#ifndef CONF_DMAC_EVOE_14
|
|
#define CONF_DMAC_EVOE_14 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_14
|
|
#ifndef CONF_DMAC_EVIE_14
|
|
#define CONF_DMAC_EVIE_14 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_14
|
|
#ifndef CONF_DMAC_EVACT_14
|
|
#define CONF_DMAC_EVACT_14 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_14
|
|
#ifndef CONF_DMAC_STEPSIZE_14
|
|
#define CONF_DMAC_STEPSIZE_14 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_14
|
|
#ifndef CONF_DMAC_STEPSEL_14
|
|
#define CONF_DMAC_STEPSEL_14 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_14
|
|
#ifndef CONF_DMAC_SRCINC_14
|
|
#define CONF_DMAC_SRCINC_14 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_14
|
|
#ifndef CONF_DMAC_DSTINC_14
|
|
#define CONF_DMAC_DSTINC_14 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_14
|
|
#ifndef CONF_DMAC_BEATSIZE_14
|
|
#define CONF_DMAC_BEATSIZE_14 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_14
|
|
#ifndef CONF_DMAC_BLOCKACT_14
|
|
#define CONF_DMAC_BLOCKACT_14 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_14
|
|
#ifndef CONF_DMAC_EVOSEL_14
|
|
#define CONF_DMAC_EVOSEL_14 0
|
|
#endif
|
|
// </e>
|
|
|
|
// <e> Channel 15 settings
|
|
// <id> dmac_channel_15_settings
|
|
#ifndef CONF_DMAC_CHANNEL_15_SETTINGS
|
|
#define CONF_DMAC_CHANNEL_15_SETTINGS 0
|
|
#endif
|
|
|
|
// <q> Channel Enable
|
|
// <i> Indicates whether channel 15 is enabled or not
|
|
// <id> dmac_enable_15
|
|
#ifndef CONF_DMAC_ENABLE_15
|
|
#define CONF_DMAC_ENABLE_15 0
|
|
#endif
|
|
|
|
// <o> Trigger action
|
|
// <0=> One trigger required for each block transfer
|
|
// <2=> One trigger required for each beat transfer
|
|
// <3=> One trigger required for each transaction
|
|
// <i> Defines the trigger action used for a transfer
|
|
// <id> dmac_trigact_15
|
|
#ifndef CONF_DMAC_TRIGACT_15
|
|
#define CONF_DMAC_TRIGACT_15 0
|
|
#endif
|
|
|
|
// <o> Trigger source
|
|
// <0x00=> Only software/event triggers
|
|
// <0x01=> SERCOM0 RX Trigger
|
|
// <0x02=> SERCOM0 TX Trigger
|
|
// <0x03=> SERCOM1 RX Trigger
|
|
// <0x04=> SERCOM1 TX Trigger
|
|
// <0x05=> SERCOM2 RX Trigger
|
|
// <0x06=> SERCOM2 TX Trigger
|
|
// <0x07=> SERCOM3 RX Trigger
|
|
// <0x08=> SERCOM3 TX Trigger
|
|
// <0x09=> SERCOM4 RX Trigger
|
|
// <0x0A=> SERCOM4 TX Trigger
|
|
// <0x0B=> SERCOM5 RX Trigger
|
|
// <0x0C=> SERCOM5 TX Trigger
|
|
// <0x0D=> TCC0 Overflow Trigger
|
|
// <0x0E=> TCC0 Match/Compare 0 Trigger
|
|
// <0x0F=> TCC0 Match/Compare 1 Trigger
|
|
// <0x10=> TCC0 Match/Compare 2 Trigger
|
|
// <0x11=> TCC0 Match/Compare 3 Trigger
|
|
// <0x12=> TCC1 Overflow Trigger
|
|
// <0x13=> TCC1 Match/Compare 0 Trigger
|
|
// <0x14=> TCC1 Match/Compare 1 Trigger
|
|
// <0x15=> TCC2 Overflow Trigger
|
|
// <0x16=> TCC2 Match/Compare 0 Trigger
|
|
// <0x17=> TCC2 Match/Compare 1 Trigger
|
|
// <0x18=> TC3 Overflow Trigger
|
|
// <0x19=> TC3 Match/Compare 0 Trigger
|
|
// <0x1A=> TC3 Match/Compare 1 Trigger
|
|
// <0x1B=> TC4 Overflow Trigger
|
|
// <0x1C=> TC4 Match/Compare 0 Trigger
|
|
// <0x1D=> TC4 Match/Compare 1 Trigger
|
|
// <0x1E=> TC5 Overflow Trigger
|
|
// <0x1F=> TC5 Match/Compare 0 Trigger
|
|
// <0x20=> TC5 Match/Compare 1 Trigger
|
|
// <0x21=> TC6 Overflow Trigger
|
|
// <0x22=> TC6 Match/Compare 0 Trigger
|
|
// <0x23=> TC6 Match/Compare 1 Trigger
|
|
// <0x24=> TC7 Overflow Trigger
|
|
// <0x25=> TC7 Match/Compare 0 Trigger
|
|
// <0x26=> TC7 Match/Compare 1 Trigger
|
|
// <0x27=> ADC Result Ready Trigger
|
|
// <0x28=> DAC Empty Trigger
|
|
// <0x29=> I2S Rx 0 Trigger
|
|
// <0x2A=> I2S Rx 1 Trigger
|
|
// <0x2B=> I2S Tx 0 Trigger
|
|
// <0x2C=> I2S Tx 1 Trigger
|
|
// <i> Defines the peripheral trigger which is source of the transfer
|
|
// <id> dmac_trifsrc_15
|
|
#ifndef CONF_DMAC_TRIGSRC_15
|
|
#define CONF_DMAC_TRIGSRC_15 0
|
|
#endif
|
|
|
|
// <o> Channel Arbitration Level
|
|
// <0=> Channel priority 0
|
|
// <1=> Channel priority 1
|
|
// <2=> Channel priority 2
|
|
// <3=> Channel priority 3
|
|
// <i> Defines the arbitration level for this channel
|
|
// <id> dmac_lvl_15
|
|
#ifndef CONF_DMAC_LVL_15
|
|
#define CONF_DMAC_LVL_15 0
|
|
#endif
|
|
|
|
// <q> Channel Event Output
|
|
// <i> Indicates whether channel event generation is enabled or not
|
|
// <id> dmac_evoe_15
|
|
#ifndef CONF_DMAC_EVOE_15
|
|
#define CONF_DMAC_EVOE_15 0
|
|
#endif
|
|
|
|
// <q> Channel Event Input
|
|
// <i> Indicates whether channel event reception is enabled or not
|
|
// <id> dmac_evie_15
|
|
#ifndef CONF_DMAC_EVIE_15
|
|
#define CONF_DMAC_EVIE_15 0
|
|
#endif
|
|
|
|
// <o> Event Input Action
|
|
// <0=> No action
|
|
// <1=> Normal transfer and conditional transfer on strobe trigger
|
|
// <2=> Conditional transfer trigger
|
|
// <3=> Conditional block transfer
|
|
// <4=> Channel suspend operation
|
|
// <5=> Channel resume operation
|
|
// <6=> Skip next block suspend action
|
|
// <i> Defines the event input action
|
|
// <id> dmac_evact_15
|
|
#ifndef CONF_DMAC_EVACT_15
|
|
#define CONF_DMAC_EVACT_15 0
|
|
#endif
|
|
|
|
// <o> Address Increment Step Size
|
|
// <0=> Next ADDR = ADDR + (BEATSIZE + 1) * 1
|
|
// <1=> Next ADDR = ADDR + (BEATSIZE + 1) * 2
|
|
// <2=> Next ADDR = ADDR + (BEATSIZE + 1) * 4
|
|
// <3=> Next ADDR = ADDR + (BEATSIZE + 1) * 8
|
|
// <4=> Next ADDR = ADDR + (BEATSIZE + 1) * 16
|
|
// <5=> Next ADDR = ADDR + (BEATSIZE + 1) * 32
|
|
// <6=> Next ADDR = ADDR + (BEATSIZE + 1) * 64
|
|
// <7=> Next ADDR = ADDR + (BEATSIZE + 1) * 128
|
|
// <i> Defines the address increment step size, applies to source or destination address
|
|
// <id> dmac_stepsize_15
|
|
#ifndef CONF_DMAC_STEPSIZE_15
|
|
#define CONF_DMAC_STEPSIZE_15 0
|
|
#endif
|
|
|
|
// <o> Step Selection
|
|
// <0=> Step size settings apply to the destination address
|
|
// <1=> Step size settings apply to the source address
|
|
// <i> Defines whether source or destination addresses are using the step size settings
|
|
// <id> dmac_stepsel_15
|
|
#ifndef CONF_DMAC_STEPSEL_15
|
|
#define CONF_DMAC_STEPSEL_15 0
|
|
#endif
|
|
|
|
// <q> Source Address Increment
|
|
// <i> Indicates whether the source address incrementation is enabled or not
|
|
// <id> dmac_srcinc_15
|
|
#ifndef CONF_DMAC_SRCINC_15
|
|
#define CONF_DMAC_SRCINC_15 0
|
|
#endif
|
|
|
|
// <q> Destination Address Increment
|
|
// <i> Indicates whether the destination address incrementation is enabled or not
|
|
// <id> dmac_dstinc_15
|
|
#ifndef CONF_DMAC_DSTINC_15
|
|
#define CONF_DMAC_DSTINC_15 0
|
|
#endif
|
|
|
|
// <o> Beat Size
|
|
// <0=> 8-bit bus transfer
|
|
// <1=> 16-bit bus transfer
|
|
// <2=> 32-bit bus transfer
|
|
// <i> Defines the size of one beat
|
|
// <id> dmac_beatsize_15
|
|
#ifndef CONF_DMAC_BEATSIZE_15
|
|
#define CONF_DMAC_BEATSIZE_15 0
|
|
#endif
|
|
|
|
// <o> Block Action
|
|
// <0=> Channel will be disabled if it is the last block transfer in the transaction
|
|
// <1=> Channel will be disabled if it is the last block transfer in the transaction and block interrupt
|
|
// <2=> Channel suspend operation is complete
|
|
// <3=> Both channel suspend operation and block interrupt
|
|
// <i> Defines the the DMAC should take after a block transfer has completed
|
|
// <id> dmac_blockact_15
|
|
#ifndef CONF_DMAC_BLOCKACT_15
|
|
#define CONF_DMAC_BLOCKACT_15 0
|
|
#endif
|
|
|
|
// <o> Event Output Selection
|
|
// <0=> Event generation disabled
|
|
// <1=> Event strobe when block transfer complete
|
|
// <3=> Event strobe when beat transfer complete
|
|
// <i> Defines the event output selection
|
|
// <id> dmac_evosel_15
|
|
#ifndef CONF_DMAC_EVOSEL_15
|
|
#define CONF_DMAC_EVOSEL_15 0
|
|
#endif
|
|
// </e>
|
|
|
|
// </e>
|
|
|
|
// <<< end of configuration section >>>
|
|
|
|
#endif // HPL_DMAC_CONFIG_H
|