|
| _pwrdn_| Summary | |
#include <intrins.h>
void _pwrdn_ (void);
| | Description | | The _pwrdn_ function inserts a PWRDN instruction into the program causing the CPU to enter power down mode. This routine is implemented as an intrinsic function. The code is generated inline rather than being called. | | Return Value | | None. | | See Also | | _idle_ | | Example | |
#include <intrins.h>
void testpwrdn (void) {
P1 = 0xFF;
_pwrdn_(); /* enter power down mode */
P1 = 0x00;
}
|
|
|