summaryrefslogtreecommitdiff
path: root/include/mock/tcpci_i2c_mock.h
blob: 87f163836c0ff5f911aff99198af8843b141a269 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Copyright 2020 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "common.h"

#define MOCK_TCPCI_I2C_ADDR_FLAGS 0x99

void mock_tcpci_reset(void);

void mock_tcpci_set_reg(int reg, uint16_t value);

uint16_t mock_tcpci_get_reg(int reg_offset);