| поискавой системы для электроныых деталей |
|
LP5569ARTWR датащи(PDF) 27 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
LP5569ARTWR датащи(HTML) 27 Page - Texas Instruments |
|
27 / 93 page ![]() 27 LP5569 www.ti.com SNVSAP8A – JULY 2017 – REVISED SEPTEMBER 2017 Product Folder Links: LP5569 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated (1) These instructions are compatible with the LP5523 and LP55231 mux_* LED mapping instructions. (2) x - The instruction activates LED mapping to the driver when the instruction is executed. Table 5. LED Mapping Instructions INSTRUCTION(1) ACT(2) USAGE COMPILER EXAMPLE load_start Define the LED mapping-table start address in SRAM. load_start 01h; starting address at 01h map_start x Define the LED mapping-table start address in SRAM and set that address active. map_start 01h; starting address at 01h load_end Define the last address of the LED mapping table in SRAM. load_end 03h; last address at 03h map_sel x Connect one LED driver to the LED engine. map_sel 0; select LED0 as output map_clr x Clear the LED driver mappings in an engine map_clr map_next x Select the next address in the LED mapping table and set that address active. map_next map_prev x Select the previous address in the LED mapping table and set that address active. map_prev load_next Move the mapping-table pointer to the next address. load_next load_prev Move the mapping-table pointer to the previous address. load_prev load_addr Set the mapping-table pointer to the assigned address. load_addr 02h; set pointer to 02h map_addr x Set the mapping-table pointer to the assigned address and set that address active. map_addr 02h; set mapping to 02h (1) This opcode is used with numerical operands. (2) This opcode is used with variables. (3) This is a new instruction, not available in LP5523 or LP55231 Table 6. Branch Instructions INSTRUCTION USAGE COMPILER EXAMPLE rst Reset program counter to zero. Reset branch(1) Branch to address. The number of loops can be set to a value or do an infinite loop. branch 20, loop1; do 20 loops to loop1 label branch(2) Branch to address. The loop count can be one of four variables A, B, C, or D. ld ra, 20 branch ra, loop1; do 20 loops to loop1 label int Send an interrupt to the host system by pulling the GPIO/TRIG/INT pin low. int end End program execution and reset the program counter to zero. Can also the set GPIO/TRIG/INT pin high and/or reset mapped LED PWM and engine LED mapping. end; end and reset LEDs. trigger Wait or send trigger. The trigger can be sent or received from an external pin or another engine. trigger w{e}; wait for external trigger trig_clear(3) Clear pending triggers. trig_clear jne Jump if not equal. A != B Jump to loop1 if A != B: jne ra, rb, loop1 jl Jump if less. A < B Jump to loop1 if A < B : jl ra, rb, loop1 jge Jump if greater or equal. A ≥ B Jump to loop1 if A >= B: jge ra, rb, loop1 je Jump if equal. A = B Jump to loop1 if A = B: je ra, rb, loop1 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |