A method and a device for controlling a functional unit of a motor vehicle
are provided. In the method, a function sequence is implemented in a
functional program. The functional program is verified here by a safety
program, which is in turn monitored by a monitoring module. Like the
safety program, the functional program has a modular structure. The
monitoring of the safety program is accordingly implemented in multiple
stages corresponding to the number of modules.