DebugPort: rewrite to use new API and symbolic constants.
DebugPort: rewrite to use new API and symbolic constants.

kcuzner/PySWD,heartscrytech/PySWD,pfalcon/PySWD,kcuzner/PySWD,pfalcon/PySWD,heartscrytech/PySWD,pfalcon/PySWD