Analogue or digitally controlled thyristors