A safety microcontroller Dedicated to Railway control