Implemented hal system interrupt functions