Datasheet

LED MAPPING INSTRUCTIONS
INSTRUCTION SYNTAX FUNCTION EXAMPLE 16-BIT ASSEMBLED
BIT SEQUENCE
ASSEMBLED
CODE HEX
mux_ld_start address Defines the start
address of the
mapping data table.
mux_ld_start row1 1001 1110 0000 0000 9E00
Address is a label which
specifies where to find the first
row.
; The first row can be found at
the address marked with row1
Assumed that row1
points to addr 00h.
mux_map_start address Defines the start
address of the
mapping data table
and sets the row
active.
mux_map_start row1 1001 1100 0000 0000 9C00
Address is a label which
specifies where to find the first
row.
; The first row can be found at
the address marked with row1
Assumed that row1
points to addr 00h.
mux_ld_end address Defines the end
address of the
mapping data table.
mux_ld_end row9 1001 1100 1000 1000 9C88
Address is a label which
specifies where to find the last
row.
; The last row can be found at
the address marked with row9
Assumed that row9
points to addr 08h.
mux_sel output Connects one and only
one LED output to an
engine.
mux_sel 1 1001 1101 0000 0001 9D01
Output is a constant (0 to 9 or
16).
; D1 output will be connected to
the engine.
mux_clr Clears engine-to-driver
mapping.
mux_clr 1001 1101 0000 0000 9D00
mux_map_next Sets the next row
active in the mapping
table.
mux_map_next 1001 1101 1000 0000 9D80
mux_map_prev Sets the previous row
active in the mapping
table.
mux_map_prev 1001 1101 1100 0000 9DC0
mux_ld_next The index pointer will
be set to point to the
next row in the
mapping table.
mux_ld_next 1001 1101 1000 0000 9D81
mux_ld_prev The index pointer will
be set to point to the
previous row in the
mapping table.
mux_ld_prev 1001 1101 1100 0000 9DC1
mux_ld_addr address Sets the index pointer
to point the mapping
table row defined by
address.
mux_ld_addr row2 1001 1111 0000 0001 9F01
Address is a label which
specifies the row to which the
pointer is to be moved.
; The index pointer will be set to
point to the row labelled with
row2.
Assumed that row2
points to addr 01h.
mux_map_addr address Sets the index pointer
to point the mapping
table row defined by
address and sets the
row active.
mux_map_addr row2 1001 1111 1000 0001 9F81
Address is a label which
specifies the row of the table
that will be set active.
; The index pointer will be set to
point to the row labelled with
row2 and the row will be set
active.
Assumed that row2
points to addr 01h.
AN-2227 - LP5523 Evaluation Kit
Copyright © 1999-2012, Texas Instruments Incorporated 15