Due to their high efficiency and advanced battery management capability, cascaded multilevel inverters are an exciting option for battery electric powertrains. A promising, new and highly efficient cascaded multilevel inverter is the Parallel Enhanced Commutation Integrated Nested Multilevel Inverter. The inverter, with four semiconductor switches per submodule, can reconfigure individual battery cells in series and parallel and generate positive and negative phase voltages in regular four-quadrant operation. Therefore, emerging degrees of freedom in battery management and inverter operation must be managed and mapped into a specific Switching State for every switch. As controlling the high number of switches is safety-relevant, this publication profoundly explains the inverter’s functionality. We introduce a Switching Function that accepts easy-to-understand functional states as input, simplifying research on higher-level control algorithms and advanced single-cell battery-management capabilities. As the Switching Function guarantees safe operation and the correct contribution of every cell to the overall functionality of the inverter, it enables researchers to confidently use and thereby accelerate research on the promising new topology. The method we describe is fast, simple, deterministic and designed to convert setpoint specifications into an executable Switching Pattern. We prove that our Switching Function is operable on an FPGA with a twenty-kilohertz setpoint update operating a 17-level inverter.