GRLIB GR740THSENS Model

The GR740THSENS device is part of the GRLIB IP library. It is available in libTEMUGR740THSENS.so.

Loading the Plugin

import GR740THSENS

Configuration

@GR740THSENS Reference

Properties

Name Type Description

Class

*void

Class object

Component

*void

Pointer to component object if part of component

LocalName

*char

Local name (in component, if applicable)

LoggingFlags

uint64_t

Flags for logging info

Name

*char

Object name

TimeSource

*void

Time source object

Commands

Name Description

delete

Dispose instance of @GR740THSENS

new

Create new instance of GR740THSENS

Command new Arguments

Name Type Required Description

name

string

yes

Name of object to create

GR740THSENS Reference

Properties

Name Type Description

CTRL

uint32_t

Counter value register

Class

*void

Class object

Component

*void

Pointer to component object if part of component

LocalName

*char

Local name (in component, if applicable)

LoggingFlags

uint64_t

Flags for logging info

Name

*char

Object name

STATUS

uint32_t

Counter control register

THRES

uint32_t

Counter max/latch register

TimeSource

*void

Time source object

apb.pnp.bar

uint32_t

apb.pnp.config

uint32_t

config.littleEndian

uint8_t

Endianess of memory interface.

Interfaces

Name Type Description

ApbIface

ApbIface

DeviceIface

DeviceIface

MemAccessIface

MemAccessIface

RegisterIface

temu::RegisterIface

ResetIface

ResetIface

Registers

Register support is currently experimental!

Register Bank default

Register CTRL
Description

Counter value register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register STATUS
Description

Counter control register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Register THRES
Description

Counter max/latch register

Reset value

0x00000000

Warm reset mask

0x00000000

Field Mask Reset Description

-

-

-

-

Commands

Name Description

delete

Dispose instance of GR740THSENS

Limitations

The GR740THSENSE does not interact with the environment.

The device is non-functional, in that it only provides registers for reading and writing.