-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(PeriphDrivers): Add Clock Setter APIs for MAX32690 & MAX78002 Pe…
…ripherals, Add Dual Mode TMR Support, Add MAX32690 Clock Calibration API for IPO, Add MAX32690 RISCV Clock Setter, CFS Support Functions (#1108)
- Loading branch information
1 parent
cac32a7
commit 3f96590
Showing
26 changed files
with
1,037 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
/****************************************************************************** | ||
* | ||
* Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by | ||
* Analog Devices, Inc.), | ||
* Copyright (C) 2023-2024 Analog Devices, Inc. | ||
* | ||
* 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 License 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. | ||
* | ||
******************************************************************************/ | ||
|
||
#ifndef LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32690_MXC_H_ | ||
#define LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32690_MXC_H_ | ||
|
||
#ifdef __riscv | ||
// TODO(JC): This is a somewhat ugly hack added to avoid | ||
// implicit function warnings on RISC-V projects | ||
// when LIB_BOARD was added to libs.mk. When the | ||
// RISC-V build system is improved to use libs.mk | ||
// this should be removed. | ||
#ifndef LIB_BOARD | ||
#define LIB_BOARD | ||
#endif | ||
#endif | ||
|
||
#include "mxc_device.h" | ||
#include "mxc_delay.h" | ||
#include "mxc_assert.h" | ||
#include "mxc_errors.h" | ||
#include "mxc_lock.h" | ||
#include "mxc_pins.h" | ||
#include "mxc_sys.h" | ||
#include "nvic_table.h" | ||
#ifdef LIB_BOARD | ||
#include "board.h" | ||
#endif | ||
|
||
/* | ||
* Peripheral Driver Includes | ||
*/ | ||
#include "adc.h" | ||
// #include "aes.h" // TODO(JC): AES drivers not implemented for ME18 (?) | ||
#include "can.h" | ||
#include "crc.h" | ||
#include "ctb.h" | ||
#include "dma.h" | ||
#include "emcc.h" | ||
#include "flc.h" | ||
#include "gpio.h" | ||
#include "hpb.h" | ||
#include "i2c.h" | ||
#include "i2s.h" | ||
#include "icc.h" | ||
#include "lp.h" | ||
#include "lpcmp.h" | ||
#include "owm.h" | ||
#include "pt.h" | ||
#include "rtc.h" | ||
#include "sema.h" | ||
#include "spi.h" | ||
#include "spixf.h" | ||
#include "spixr.h" | ||
#include "tmr.h" | ||
#include "trng.h" | ||
#include "uart.h" | ||
#include "wdt.h" | ||
#include "wut.h" | ||
|
||
#endif // LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32690_MXC_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.