SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
 
Loading...
Searching...
No Matches
i2c_master_v2.h
Go to the documentation of this file.
1/*
2 © 2018 Intel Corporation
3
4 This software and the related documents are Intel copyrighted materials, and
5 your use of them is governed by the express license under which they were
6 provided to you ("License"). Unless the License provides otherwise, you may
7 not use, modify, copy, publish, distribute, disclose or transmit this software
8 or the related documents without Intel's prior written permission.
9
10 This software and the related documents are provided as is, with no express or
11 implied warranties, other than those that are expressly stated in the License.
12*/
13
14#ifndef SIMICS_SYSTEMC_SIMICS2TLM_I2C_MASTER_V2_H
15#define SIMICS_SYSTEMC_SIMICS2TLM_I2C_MASTER_V2_H
16
21
22#include <stdint.h>
23
24namespace simics {
25namespace systemc {
26namespace simics2tlm {
27
33 public GasketOwner {
34 public:
35 void gasketUpdated() override;
36
37 void acknowledge(types::i2c_ack_t ack) override;
38 void read_response(uint8_t value) override;
39
40 private:
41 ExtensionSender sender_;
43};
44
45} // namespace simics2tlm
46} // namespace systemc
47} // namespace simics
48
49#endif
Definition: i2c_master_v2_extension.h:25
Simics i2c_master_v2 interface.
Definition: i2c_master_v2_interface.h:25
Specialized extension sender for simics2tlm gaskets.
Definition: extension_sender.h:29
Base class, responsible for handling a gasket.
Definition: gasket_owner.h:30
Class that implements the Simics i2c_master_v2 interface and translates it into a TLM transaction.
Definition: i2c_master_v2.h:33
void read_response(uint8_t value) override
void acknowledge(types::i2c_ack_t ack) override
i2c_ack_t
Definition: i2c_ack.h:20
Definition: adapter.h:79