I'm working on a project which must be used in an automotive application and act as a node into the multiplex CAN-BUS network. There are number of I/O that must be actuated and some of them had a level of safety critical attribute. I developed my code using the STM32 HAL generic driver. And because the overall application and task are simple and latency is in lower priority so I decided not to deal with the register it self and using HAL driver instead, as the matter of speed and optimization of the code.
My question is that although the software seem to be working in prototype device, is it reliable to use HAL driver for safety critical application like automotive?