
USB Interface Board and I
2
C-Compatible Interface Program
20
SNVU509 – January 2016
Copyright © 2016, Texas Instruments Incorporated
LM36923HEVM User's Guide
5.8
Macro Example
The LM36923HEVM GUI provides the user with the ability to create custom macros to configure the
LM36923H with a single button click. Multiple macros can be created and saved in a single file as shown
in
Table 3. Macro commands
Macro command
Macro function
Syntax
Description
rem
Remark
none
Optional keyword, allows user to enter
comments which are not executed
RD
read register
two fields required, register hex
address and variable for return data
Optional keyword, allows user to read any
register, value appears in history section
WR
write register
two fields required, register hex
address and register hex data
Optional keyword, allows user to write any
register, value written appears in history
section
MDLY
millisecond delay
one field, decimal delay
Optional keyword. allows user to insert a
millisecond delay between commands
title
macro title
one field, macro title
Required keyword to initiate macro, allows
user to set descriptive name to macro
end
macro end
all macro commands between "title"
and "end" included in macro
Required keyword to terminate macro
OK
pop up dialog box
one field, text to appear in dialog
box
Optional keyword, allows user prompt and
halts macro execution until user response
Figure 19. Example macro