qualcomm/qbox
Loading...
Searching...
No Matches
apss_hm_apss_shared_apss_intu_gen.h
1/*
2 * Quic Module apss_hm_apss_shared_apss_intu
3 *
4 * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All Rights Reserved.
5 *
6 * SPDX-License-Identifier: BSD-3-Clause
7 */
8
9#ifndef apss_hm_apss_shared_apss_intu_gen_H
10#define apss_hm_apss_shared_apss_intu_gen_H
11
27
28#include <reg_model_maker/reg_model_maker.h>
29
30namespace quic {
31class apss_hm_apss_shared_apss_intu_gen
32{
33private:
34 std::string m_name;
35
36public:
37 gs::gs_register<uint32_t> IPC_INTERRUPT;
39
40 apss_hm_apss_shared_apss_intu_gen()
41 : m_name("apss_hm_apss_shared_apss_intu_gen")
42 , IPC_INTERRUPT("IPC_INTERRUPT", "apss_shared_apss_intu.IPC_INTERRUPT", 0xc, 1)
43 , CDSP_IPC(IPC_INTERRUPT, IPC_INTERRUPT.get_regname() + ".CDSP_IPC", 4, 4)
44 {
45 }
46
47 void bind_regs(gs::json_module& jm)
48 {
49 jm.bind_reg(IPC_INTERRUPT);
50
51 jm.log_end_of_binding_msg(m_name);
52 }
53};
54} // namespace quic
55#endif
fields within registered encapsulated using a bitfield proxy. This field is constructed from a specif...
Definition registers.h:716
Class that encapsulates a 'register' that proxies it's data via a tlm interface, and uses callbacks (...
Definition registers.h:556
Definition reg_model_maker.h:457
Definition aoss_pmic_arb_pmic_arb_core.h:27