InES Hardware Abstraction Layer
system_ctboard.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * -- _____ ______ _____ -
3  * -- |_ _| | ____|/ ____| -
4  * -- | | _ __ | |__ | (___ Institute of Embedded Systems -
5  * -- | | | '_ \| __| \___ \ Zurich University of -
6  * -- _| |_| | | | |____ ____) | Applied Sciences -
7  * -- |_____|_| |_|______|_____/ 8401 Winterthur, Switzerland -
8  * ------------------------------------------------------------------------- */
16 /* Re-definition guard */
17 #ifndef _SYSTEM_CTBOARD_H
18 #define _SYSTEM_CTBOARD_H
19 
20 
21 /* Load the right platform configuration */
22 #ifdef KEIL_PACK
23  /* if coding the pack itself load m4 file */
24  #include "m4\platform_ctboard.h"
25 #else
26  /* else load provided (platform specific) file from pack */
27  #include "platform_ctboard.h"
28 #endif
29 
30 
31 /* User includes */
32 #include "hal_gpio.h"
33 #include "hal_fmc.h"
34 #include "hal_pwr.h"
35 #include "hal_rcc.h"
36 
37 
38 /* -- Public function declarations
39  * ------------------------------------------------------------------------- */
40 
48 void system_enter_run(void);
49 
50 
51 /* --- low power modes --- */
52 
58 
59 
66  hal_pwr_lp_entry_t entry);
67 
71 void system_enter_standby(void);
72 
73 #endif
Interface of module hal_rcc.
Interface of module hal_gpio.
void system_enter_run(void)
Enters into run mode. Initializes all necessary peripherals for running the ct board:
void system_enter_stop(hal_pwr_regulator_t regulator, hal_pwr_lp_entry_t entry)
Enter the stop mode.
void system_enter_standby(void)
Enter the standby mode.
hal_pwr_lp_entry_t
Defines the method used to enter/leave the low power modes.
Definition: hal_pwr.h:43
void system_enter_sleep(hal_pwr_lp_entry_t entry)
Enter the sleep mode.
hal_pwr_regulator_t
Defines the available voltage regulators.
Definition: hal_pwr.h:34
Interface of module hal_pwr.
Interface of module hal_fmc.