1 /****************************************************************************** 2 * 3 * Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by 4 * Analog Devices, Inc.), 5 * Copyright (C) 2023-2024 Analog Devices, Inc. 6 * 7 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 * 19 ******************************************************************************/ 20 21 #ifndef LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX78000_MXC_H_ 22 #define LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX78000_MXC_H_ 23 24 #ifdef __riscv 25 // TODO(JC): This is a somewhat ugly hack added to avoid 26 // implicit function warnings on RISC-V projects 27 // when LIB_BOARD was added to libs.mk. When the 28 // RISC-V build system is improved to use libs.mk 29 // this should be removed. 30 #ifndef LIB_BOARD 31 #define LIB_BOARD 32 #endif 33 #endif 34 35 #include "mxc_device.h" 36 #include "mxc_delay.h" 37 #include "mxc_assert.h" 38 #include "mxc_errors.h" 39 #include "mxc_lock.h" 40 #include "mxc_pins.h" 41 #include "mxc_sys.h" 42 #include "nvic_table.h" 43 #ifdef LIB_BOARD 44 #include "board.h" 45 #endif 46 47 /* 48 * Peripheral Driver Includes 49 */ 50 #include "adc.h" 51 #include "aes.h" 52 #include "cameraif.h" 53 #include "crc.h" 54 #include "dma.h" 55 #include "flc.h" 56 #include "gpio.h" 57 #include "i2c.h" 58 #include "i2s.h" 59 #include "icc.h" 60 #include "lp.h" 61 #include "owm.h" 62 #include "pt.h" 63 #include "rtc.h" 64 #include "sema.h" 65 #include "spi.h" 66 #include "tmr.h" 67 #include "trng.h" 68 #include "uart.h" 69 #include "wdt.h" 70 #include "wut.h" 71 72 #endif // LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX78000_MXC_H_ 73