arch_xt_acp.cpp File Reference

yasimavr: arch_xt_acp.cpp File Reference
yasimavr
Loading...
Searching...
No Matches
arch_xt_acp.cpp File Reference
#include "arch_xt_acp.h"
#include "arch_xt_io.h"
#include "arch_xt_io_utils.h"
#include "core/sim_sleep.h"
#include "core/sim_device.h"

Macros

#define REG_ADDR(reg)    (m_config.reg_base + offsetof(AC_t, reg))
 
#define REG_OFS(reg)    offsetof(AC_t, reg)
 

Typedefs

typedef ArchXT_ACPConfig cfg_t
 

Enumerations

enum  HookTag { HookTag_VREF , HookTag_PosMux , HookTag_NegMux }
 

Variables

const double Hysteresis [2][4]
 

Macro Definition Documentation

◆ REG_ADDR

#define REG_ADDR (   reg)     (m_config.reg_base + offsetof(AC_t, reg))

◆ REG_OFS

#define REG_OFS (   reg)     offsetof(AC_t, reg)

Typedef Documentation

◆ cfg_t

Enumeration Type Documentation

◆ HookTag

enum HookTag
Enumerator
HookTag_VREF 
HookTag_PosMux 
HookTag_NegMux 

Variable Documentation

◆ Hysteresis

const double Hysteresis[2][4]
Initial value:
= {
{ 0.0, 0.01, 0.03, 0.06 },
{ 0.0, 0.01, 0.025, 0.05 }
}