Text this: Digital current sensing in modular multilevel converter for HVDC applications