Add the function of GPIO initialization