Commit d5876bae authored by Lucas Russo's avatar Lucas Russo

chips/ad9510_regs.h: pad Instruction size to 16-bits

There are unused address bits, so even if
we can use it, the instruction size is 16-bits
and we must extend it with 0s
parent dda12c9a
......@@ -52,8 +52,12 @@
#define AD9510_HDR_ADDR_R(reg) WBGEN2_GEN_READ(reg, AD9510_HDR_ADDR_SHIFT, \
AD9510_HDR_ADDR_SIZE)
/* Pad bytes to 16-bit */
#define AD9510_HDR_ADDR_PAD_SIZE 6
#define AD9510_INSTADDR_SIZE (AD9510_HDR_RW_SIZE + \
AD9510_HDR_BT_SIZE + \
AD9510_HDR_ADDR_PAD_SIZE + \
AD9510_HDR_ADDR_SIZE)
/* AD9510 Data for 24-bit transfers */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment