Add first version of HAL delay