• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
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  * Description: Provides V150 gpio register operation api \n
16  *
17  * History: \n
18  * 2022-11-27, Create file. \n
19  */
20 
21 #include <stdint.h>
22 #include "common_def.h"
23 #include "hal_gpio_v150_regs_op.h"
24 
hal_gpio_v150_intr_rebase(uint32_t channel,uint32_t group)25 void hal_gpio_v150_intr_rebase(uint32_t channel, uint32_t group)
26 {
27     hal_gpio_gpio_int_en_disable_all(channel, group);
28     hal_gpio_gpio_int_mask_mask_all(channel, group);
29     hal_gpio_gpio_int_eoi_clr_all(channel, group);
30 }