Digital controllers for electrical engineering (microcontrollers, DSP, FPGA): main peripherals Book chapter (January 2023)