<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unlock_kinetis_abort_clear():
 """Returns the abort register clear code. Returns: The abort register clear code. """

    flags = registers.AbortRegisterFlags()
    flags.STKCMPCLR = 1
    flags.STKERRCLR = 1
    flags.WDERRCLR = 1
    flags.ORUNERRCLR = 1
    return flags.value