AIS328DQ Write

Block ID

AISWrite

Library

DeviceSpecific/motohawk_AIS328DQ_lib

Description

The AIS328DQ is an ultra low-power high performance 3-axis linear accelerometer.

The AIS328DQ blockset allows a developer full control over the AIS328DQ device via Definition, Read and Write blocks. This abstraction requires the developer to be familiar with the datasheet available for the part.

This block allows the user to write data to the device. The user enters a reference to the device definition and also selects the command to write via a dropdown selection. The command selected defines which ports are visible on the input of the block. Individual command fields are separated onto separate ports. Fields that are not of a boolean value have an enumeration defined, accessible using the following scripts:

When the block executes the data present on the input ports is written to the device.

Block Parameters

Parameter Field Values Comments/Description
Reference Name Single quote enclosed alpha numeric Name that references the definition. A name must be supplied in order to access the resource.
Command Dropdown Command to process. These commands map to register opcodes defined in the datasheet. Output ports exposed depend on command selected.