Disables all interrupts.
This function disables all interrupts. The interrupts can be enabled again by the fnet_cpu_irq_enable() function.