fix HAL_NULL, add more GPIO_CLK macros