OpenBIC
OpenSource Bridge-IC
adm1272.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include <stdio.h>
18#include <stdint.h>
19
20#ifndef ADM1272_H
21#define ADM1272_H
22
23#define ADM1272_HOT_SWAP_OUTPUT_REG 0x01
24#define ADM1272_POWER_CYCLE_REG 0xd9
25
29};
30
34};
35
36bool enable_adm1272_hsc(uint8_t bus, uint8_t addr, bool enable_flag);
37
38#endif
bool enable_adm1272_hsc(uint8_t bus, uint8_t addr, bool enable_flag)
Definition: adm1272.c:34
ADM1272_IRANGE
Definition: adm1272.h:26
@ IRANGE_0MV_TO_15MV
Definition: adm1272.h:27
@ IRANGE_0MV_TO_30MV
Definition: adm1272.h:28
ADM1272_VRANGE
Definition: adm1272.h:31
@ VRANGE_0V_TO_60V
Definition: adm1272.h:32
@ VRANGE_0V_TO_100V
Definition: adm1272.h:33
uint8_t addr
Definition: isl69259.c:0