Register Command Syntax - Texas Instruments LMH0318 Programmer's Manual

Table of Contents

Advertisement

www.ti.com
3

Register Command Syntax

Unless otherwise specified, the settings below apply to both SMBus and SPI register programming.
Operations are read-modify-write. This requires the register to be read first and modified by applying the
specific bit mask.
Command Syntax:
RAW
Register
Address
RAW:
Register Address: Specifies the register address in hex
Register Content
Register Mask:
//:
Example: RAW
80 01 01
RAR
Register
Address
RAR:
Register Address: Specifies the register address in hex format
Register Content
Register Mask:
//:
Example: RAR
E2 10 10
● When using SMBus or SPI interface, the host controller may need to set over-ride bit prior to setting
the control bits of a register
● It is recommended to issue CDR Reset and Release after changing register settings that alters CDR
state machine
● See
Register Tables
SNLU183 – September 2015
Submit Documentation Feedback
Register
Register Mask
Content
This defines a Read/Write command
Specifies the value in hex that is going to be written
Defines bits within the register content that will be modified
Text comment
In this example, we are setting reg 0x80[0] = 1'b to power down OUT0.
0x80[7:1] are not modified since mask = 0x01
Register
Register Mask
Content
Read Only Command
Specifies the register content that is being read
Defines the mask for register content. For example, 1 in a mask defines bits
being read
Characters following // are text comments
Read 0xE2[4] and check if bit 4 is set
for further details on register bit definitions
Copyright © 2015, Texas Instruments Incorporated
Register Command Syntax
//Comments
//Comments
LMH0318 Programming Guide
5

Advertisement

Table of Contents
loading

Table of Contents