Updated examples to use new clock enabling and resetting mechanism