From ffde5e2c52a731f7845dbbc6ac4bd0f8fa020097 Mon Sep 17 00:00:00 2001 From: Carrie Sundra Date: Sat, 20 Nov 2021 18:30:47 -0800 Subject: [PATCH] added ptc.h to instance folder --- .../ATMEL/samd21/include/instance/ptc.h | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/instance/ptc.h diff --git a/CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/instance/ptc.h b/CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/instance/ptc.h new file mode 100644 index 0000000..fc9c2ec --- /dev/null +++ b/CMSIS-Atmel/CMSIS/Device/ATMEL/samd21/include/instance/ptc.h @@ -0,0 +1,36 @@ +/** + * \file + * + * \brief Instance description for PTC + * + * Copyright (c) 2018 Microchip Technology Inc. + * + * \asf_license_start + * + * \page License + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the Licence at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * \asf_license_stop + * + */ + +#ifndef _SAMD21_PTC_INSTANCE_ +#define _SAMD21_PTC_INSTANCE_ + +/* ========== Instance parameters for PTC peripheral ========== */ +#define PTC_GCLK_ID 34 // Index of Generic Clock + +#endif /* _SAMD21_PTC_INSTANCE_ */