1 /* 2 * Copyright (c) 2022 FuZhou Lockzhiner Electronic Co., Ltd. All rights reserved. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 /** 17 * @addtogroup lockzhiner 18 * 19 * @file lz_hardware.h 20 * 21 */ 22 #ifndef _LZ_HARDWARE_H_ 23 #define _LZ_HARDWARE_H_ 24 25 #include "lz_hardware/base.h" 26 #include "lz_hardware/device.h" 27 #include "lz_hardware/log.h" 28 #include "lz_hardware/errno.h" 29 #include "lz_hardware/gpio.h" 30 #include "lz_hardware/pinctrl.h" 31 #include "lz_hardware/delay.h" 32 #include "lz_hardware/file.h" 33 #include "lz_hardware/flash.h" 34 #include "lz_hardware/i2c.h" 35 #include "lz_hardware/spi.h" 36 #include "lz_hardware/pwm.h" 37 #include "lz_hardware/uart.h" 38 #include "lz_hardware/interrupt.h" 39 #include "lz_hardware/thread.h" 40 #include "lz_hardware/rand.h" 41 #include "lz_hardware/mutex.h" 42 #include "lz_hardware/spinlock.h" 43 #include "lz_hardware/wait.h" 44 #include "lz_hardware/saradc.h" 45 #include "lz_hardware/wifi.h" 46 #include "lz_hardware/vendor.h" 47 48 typedef struct { 49 int swIrq; /**< The interrupt number */ 50 void *pDevId; /**< The pointer to the device ID that launches the interrupt */ 51 const char *pName; /**< The interrupt name */ 52 } RkIrqParam; 53 54 unsigned int HalInit(void); 55 56 #endif 57