dmac.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /**
  2. * \brief Instance header file for ATSAMD21J18A
  3. *
  4. * Copyright (c) 2021 Microchip Technology Inc. and its subsidiaries.
  5. *
  6. * Subject to your compliance with these terms, you may use Microchip software and any derivatives
  7. * exclusively with Microchip products. It is your responsibility to comply with third party license
  8. * terms applicable to your use of third party software (including open source software) that may
  9. * accompany Microchip software.
  10. *
  11. * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY,
  12. * APPLY TO THIS SOFTWARE, INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND
  13. * FITNESS FOR A PARTICULAR PURPOSE.
  14. *
  15. * IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL
  16. * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF
  17. * MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT
  18. * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY RELATED TO THIS SOFTWARE WILL NOT
  19. * EXCEED THE AMOUNT OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE.
  20. *
  21. */
  22. /* file generated from device description version 2019-11-25T06:52:33Z */
  23. #ifndef _SAMD21_DMAC_INSTANCE_
  24. #define _SAMD21_DMAC_INSTANCE_
  25. /* ========== Instance Parameter definitions for DMAC peripheral ========== */
  26. #define DMAC_CH_BITS _UL_(4) /* Number of bits to select channel */
  27. #define DMAC_CH_NUM _UL_(12) /* Number of channels */
  28. #define DMAC_EVIN_NUM _UL_(4) /* Number of input events */
  29. #define DMAC_EVOUT_NUM _UL_(4) /* Number of output events */
  30. #define DMAC_LVL_BITS _UL_(2) /* Number of bit to select level priority */
  31. #define DMAC_LVL_NUM _UL_(4) /* Enable priority level number */
  32. #define DMAC_TRIG_BITS _UL_(6) /* Number of bits to select trigger source */
  33. #define DMAC_TRIG_NUM _UL_(45) /* Number of peripheral triggers */
  34. #define DMAC_INSTANCE_ID _UL_(36)
  35. #endif /* _SAMD21_DMAC_INSTANCE_ */