added function for registering callbacks when connecting SQWOUT with one of the external interrupt pins