Subversion Repositories FuelGauge

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 6
Line 38... Line 38...
38
 
38
 
39
#ifdef __cplusplus
39
#ifdef __cplusplus
40
 extern "C" {
40
 extern "C" {
41
#endif /* __cplusplus */
41
#endif /* __cplusplus */
42
 
42
 
43
  /** @addtogroup Configuration_section_for_CMSIS
43
/** @addtogroup Configuration_section_for_CMSIS
44
  * @{
44
  * @{
45
  */
45
  */
46
/**
46
/**
47
 * @brief Configuration of the Cortex-M0 Processor and Core Peripherals
47
 * @brief Configuration of the Cortex-M0 Processor and Core Peripherals
48
 */
48
 */
Line 62... Line 62...
62
/**
62
/**
63
 * @brief STM32F0xx Interrupt Number Definition, according to the selected device
63
 * @brief STM32F0xx Interrupt Number Definition, according to the selected device
64
 *        in @ref Library_configuration_section
64
 *        in @ref Library_configuration_section
65
 */
65
 */
66
 
66
 
67
 /*!< Interrupt Number Definition */
67
/*!< Interrupt Number Definition */
68
typedef enum
68
typedef enum
69
{
69
{
70
/******  Cortex-M0 Processor Exceptions Numbers **************************************************************/
70
/******  Cortex-M0 Processor Exceptions Numbers **************************************************************/
71
  NonMaskableInt_IRQn         = -14,    /*!< 2 Non Maskable Interrupt                                        */
71
  NonMaskableInt_IRQn         = -14,    /*!< 2 Non Maskable Interrupt                                        */
72
  HardFault_IRQn              = -13,    /*!< 3 Cortex-M0 Hard Fault Interrupt                                */
72
  HardFault_IRQn              = -13,    /*!< 3 Cortex-M0 Hard Fault Interrupt                                */
Line 673... Line 673...
673
 
673
 
674
/** @addtogroup Exported_constants
674
/** @addtogroup Exported_constants
675
  * @{
675
  * @{
676
  */
676
  */
677
 
677
 
-
 
678
/** @addtogroup Hardware_Constant_Definition
-
 
679
  * @{
-
 
680
  */
-
 
681
#define LSI_STARTUP_TIME 85U /*!< LSI Maximum startup time in us */
-
 
682
 
-
 
683
/**
-
 
684
  * @}
-
 
685
  */
-
 
686
 
678
  /** @addtogroup Peripheral_Registers_Bits_Definition
687
/** @addtogroup Peripheral_Registers_Bits_Definition
679
  * @{
688
  * @{
680
  */
689
  */
681
 
690
 
682
/******************************************************************************/
691
/******************************************************************************/
683
/*                         Peripheral Registers Bits Definition               */
692
/*                         Peripheral Registers Bits Definition               */
Line 3174... Line 3183...
3174
#define GPIO_AFRL_AFSEL6                GPIO_AFRL_AFSEL6_Msk                    
3183
#define GPIO_AFRL_AFSEL6                GPIO_AFRL_AFSEL6_Msk                    
3175
#define GPIO_AFRL_AFSEL7_Pos            (28U)                                  
3184
#define GPIO_AFRL_AFSEL7_Pos            (28U)                                  
3176
#define GPIO_AFRL_AFSEL7_Msk            (0xFUL << GPIO_AFRL_AFSEL7_Pos)         /*!< 0xF0000000 */
3185
#define GPIO_AFRL_AFSEL7_Msk            (0xFUL << GPIO_AFRL_AFSEL7_Pos)         /*!< 0xF0000000 */
3177
#define GPIO_AFRL_AFSEL7                GPIO_AFRL_AFSEL7_Msk  
3186
#define GPIO_AFRL_AFSEL7                GPIO_AFRL_AFSEL7_Msk  
3178
 
3187
 
3179
/* Legacy aliases */                  
3188
/* Legacy aliases */
3180
#define GPIO_AFRL_AFRL0_Pos             GPIO_AFRL_AFSEL0_Pos                                  
3189
#define GPIO_AFRL_AFRL0_Pos             GPIO_AFRL_AFSEL0_Pos                                  
3181
#define GPIO_AFRL_AFRL0_Msk             GPIO_AFRL_AFSEL0_Msk
3190
#define GPIO_AFRL_AFRL0_Msk             GPIO_AFRL_AFSEL0_Msk
3182
#define GPIO_AFRL_AFRL0                 GPIO_AFRL_AFSEL0
3191
#define GPIO_AFRL_AFRL0                 GPIO_AFRL_AFSEL0
3183
#define GPIO_AFRL_AFRL1_Pos             GPIO_AFRL_AFSEL1_Pos
3192
#define GPIO_AFRL_AFRL1_Pos             GPIO_AFRL_AFSEL1_Pos
3184
#define GPIO_AFRL_AFRL1_Msk             GPIO_AFRL_AFSEL1_Msk
3193
#define GPIO_AFRL_AFRL1_Msk             GPIO_AFRL_AFSEL1_Msk
Line 7356... Line 7365...
7356
 
7365
 
7357
/**
7366
/**
7358
  * @}
7367
  * @}
7359
  */
7368
  */
7360
 
7369
 
7361
  /**
7370
/**
7362
  * @}
7371
  * @}
7363
  */
7372
  */
7364
 
7373
 
7365
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
7374
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/