CLEON
Version 1
Cloud-Offloaded GPS Receiver
Main Page
Related Pages
Data Structures
Files
File List
Globals
sys_power.c
Go to the documentation of this file.
1
7
#include "
cleon_conf.h
"
8
#include "
app_define.h
"
9
#include "
sys_define.h
"
10
#include "
hal_define.h
"
11
#include "
fs_define.h
"
12
13
/*----------------------------------------------------------------------------*/
21
void
SYS_PWR_Init
(
void
)
22
{
23
// Boost-up regulator
24
BOOST_SHDN_N_PORT
(OUT) &= ~
BV
(
BOOST_SHDN_N_PIN
);
25
BOOST_SHDN_N_PORT
(
DIR
) |=
BV
(
BOOST_SHDN_N_PIN
);
26
27
// GPS power
28
GPS_PWR_SHDN_N_PORT
(OUT) &= ~
BV
(
GPS_PWR_SHDN_N_PIN
);
29
GPS_PWR_SHDN_N_PORT
(
DIR
) |=
BV
(
GPS_PWR_SHDN_N_PIN
);
30
}
sys
sys_power.c
Generated on Tue May 28 2013 15:17:19 for CLEON by
1.8.2