swm050: Adds WDT peripheral
Reviewed-by: Karl Palsson <karlp@tweak.net.au> (Fixed an &| in wdt_set_time)
This commit is contained in:
committed by
Karl Palsson
parent
dd18b9fdbc
commit
47b59e2df4
@@ -37,6 +37,6 @@ not get locked out of the MCU.
|
||||
*/
|
||||
void pwr_sleep(void)
|
||||
{
|
||||
SYSCTL_SYS_CFG_2 |= (1<<4);
|
||||
SYSCTL_SYS_CFG_2 |= SYSCTL_SYS_CFG_2_SLEEP;
|
||||
}
|
||||
/**@}*/
|
||||
|
||||
Reference in New Issue
Block a user