modified to make internall-pullup enabled for ad lines respectively