22 #ifndef LIBCPU_POWERPC_MPC55XX_WATCHDOG_H 23 #define LIBCPU_POWERPC_MPC55XX_WATCHDOG_H 35 static inline void mpc55xx_watchdog_clear()
40 static inline void mpc55xx_watchdog_enable_interrupt(
bool enable)
57 BOOKE_TCR_WP( bit) | BOOKE_TCR_WPEXT( bit >> 2),
58 BOOKE_TCR_WP_MASK | BOOKE_TCR_WPEXT_MASK
#define PPC_SET_SPECIAL_PURPOSE_REGISTER_BITS_MASKED(spr, bits, mask)
Sets in the Special Purpose Register with number spr all bits which are set in bits. The previous register value will be masked with mask.
Definition: powerpc-utility.h:610
#define PPC_SET_SPECIAL_PURPOSE_REGISTER(spr, val)
Sets the Special Purpose Register with number spr to the value in val.
Definition: powerpc-utility.h:576
#define PPC_CLEAR_SPECIAL_PURPOSE_REGISTER_BITS(spr, bits)
Clears in the Special Purpose Register with number spr all bits which are set in bits.
Definition: powerpc-utility.h:630
General purpose assembler macros, linker command file support and some inline functions for direct re...
#define PPC_SET_SPECIAL_PURPOSE_REGISTER_BITS(spr, bits)
Sets in the Special Purpose Register with number spr all bits which are set in bits.
Definition: powerpc-utility.h:591
rtems_status_code
Classic API Status.
Definition: status.h:43