summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJerzy Kasenberg <[email protected]>2021-09-24 09:12:52 +0200
committerJerzy Kasenberg <[email protected]>2021-09-24 09:28:51 +0200
commitf172c5ee13fe9eb00e7560c5f2ded34290b9e4f7 (patch)
treef081e7b4270e95cc89e43f94f4b7b4bc60002276 /examples
parent2eaf99e0aa9c10d62dd8d0a4e765f5941bfeaf98 (diff)
dcd_da146xx: Remove registers pointer from xfer_ctl_t
Note: this commit does not change any logic. xfer_ctl_t structure keeps all dynamic data connected with transfer. It used to have pointer to register set that was constant and was there for convenience only. Removing register pointer from structure makes cleanup easier as whole structure can be erased with memset like function. In many cases functions were using local variable regs and xfer->regs which were same, that could be confusing so this part is unified. Few macros were added for easy conversion between epnum, xfer, and regs.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions