Header functions for cc1120.c