372
XMEGA B [DATASHEET]
8291B–AVR–01/2013
29.4.5.1 LDS - Load Data from PDIBUS Data Space using Direct Addressing
The LDS instruction is used to load data from the PDIBUS data space for read out. The LDS instruction is based on direct
addressing, which means that the address must be given as an argument to the instruction. Even though the protocol is
based on byte-wise communication, the LDS instruction supports multiple-byte addresses and data access. Four
different address/data sizes are supported: single-byte, word (two bytes), three-byte, and long (four bytes). Multiple-byte
access is broken down internally into repeated single-byte accesses, but this reduces protocol overhead. When using the
LDS instruction, the address byte(s) must be transmitted before the data transfer.
29.4.5.2 STS - Store Data to PDIBUS Data Space using Direct Addressing
The STS instruction is used to store data that are serially shifted into the physical layer shift register to locations within
the PDIBUS data space. The STS instruction is based on direct addressing, which means that the address must be given
as an argument to the instruction. Even though the protocol is based on byte-wise communication, the ST instruction
supports multiple-bytes addresses and data access. Four different address/data sizes are supported: single-byte, word
(two bytes), three-byte, and long (four bytes). Multiple-byte access is broken down internally into repeated single-byte
accesses, but this reduces protocol overhead. When using the STS instruction, the address byte(s) must be transmitted
before the data transfer.
29.4.5.3 LD - Load Data from PDIBUS Data Space using Indirect Addressing
The LD instruction is used to load data from the PDIBUS data space into the physical layer shift register for serial read
out. The LD instruction is based on indirect addressing (pointer access), which means that the address must be stored in
the pointer register prior to the data access. Indirect addressing can be combined with pointer increment. In addition to
reading data from the PDIBUS data space, the LD instruction can read the pointer register. Even though the protocol is
based on byte-wise communication, the LD instruction supports multiple-byte addresses and data access. Four different
address/data sizes are supported: single-byte, word (two bytes), three-byte, and long (four bytes). Multiple-byte access is
broken down internally into repeated single-byte accesses, but this reduces the protocol overhead.
29.4.5.4 ST - Store Data to PDIBUS Data Space using Indirect Addressing
The ST instruction is used to store data that is serially shifted into the physical layer shift register to locations within the
PDIBUS data space. The ST instruction is based on indirect addressing (pointer access), which means that the address
must be stored in the pointer register prior to the data access. Indirect addressing can be combined with pointer
increment. In addition to writing data to the PDIBUS data space, the ST instruction can write the pointer register. Even
though the protocol is based on byte-wise communication, the ST instruction supports multiple-bytes address - and data
access. Four different address/data sizes are supported; byte, word, 3 bytes, and long (4 bytes). Multiple-bytes access is
internally broken down to repeated single-byte accesses, but it reduces the protocol overhead.
29.4.5.5 LDCS - Load Data from PDI Control and Status Register Space
The LDCS instruction is used to load data from the PDI control and status registers into the physical layer shift register
for serial read out. The LDCS instruction supports only direct addressing and single-byte access.
29.4.5.6 STCS - Store Data to PDI Control and Status Register Space
The STCS instruction is used to store data that are serially shifted into the physical layer shift register to locations within
the PDI control and status registers. The STCS instruction supports only direct addressing and single-byte access.
29.4.5.7 KEY - Set Activation Key
The KEY instruction is used to communicate the activation key bytes required for activating the NVM interfaces.
29.4.5.8 REPEAT - Set Instruction Repeat Counter
The REPEAT instruction is used to store count values that are serially shifted into the physical layer shift register to the
repeat counter register. The instruction that is loaded directly after the REPEAT instruction operand(s) will be repeated a
number of times according to the specified repeat counter register value. Hence, the initial repeat counter value plus one
gives the total number of times the instruction will be executed. Setting the repeat counter register to zero makes the
following instruction run once without being repeated.
Summary of Contents for XMEGA B
Page 320: ...320 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 12 7 segments Character Table...
Page 321: ...321 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 13 14 segments Character Table...
Page 322: ...322 XMEGA B DATASHEET 8291B AVR 01 2013 Table 25 14 16 segments Character Table...
Page 412: ...412 XMEGA B DATASHEET 8291B AVR 01 2013...
Page 413: ...413 XMEGA B DATASHEET 8291B AVR 01 2013...