Subversion Repositories DashDisplay

Rev

Rev 50 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 50 Rev 61
Line 750... Line 750...
750
 
750
 
751
/** @addtogroup Exported_constants
751
/** @addtogroup Exported_constants
752
  * @{
752
  * @{
753
  */
753
  */
754
 
754
 
-
 
755
  /** @addtogroup Hardware_Constant_Definition
-
 
756
    * @{
-
 
757
    */
-
 
758
#define LSI_STARTUP_TIME 200U /*!< LSI Maximum startup time in us */
-
 
759
 
-
 
760
  /**
-
 
761
    * @}
-
 
762
    */
-
 
763
 
755
/** @addtogroup Peripheral_Registers_Bits_Definition
764
/** @addtogroup Peripheral_Registers_Bits_Definition
756
  * @{
765
  * @{
757
  */
766
  */
758
   
767
   
759
/******************************************************************************/
768
/******************************************************************************/
Line 2838... Line 2847...
2838
/*                                                                            */
2847
/*                                                                            */
2839
/*                FLASH, DATA EEPROM and Option Bytes Registers               */
2848
/*                FLASH, DATA EEPROM and Option Bytes Registers               */
2840
/*                        (FLASH, DATA_EEPROM, OB)                            */
2849
/*                        (FLASH, DATA_EEPROM, OB)                            */
2841
/*                                                                            */
2850
/*                                                                            */
2842
/******************************************************************************/
2851
/******************************************************************************/
-
 
2852
/*
-
 
2853
 * @brief Specific device feature definitions (not present on all devices in the STM32L1 serie)
-
 
2854
 */
-
 
2855
#define FLASH_CUT3
2843
 
2856
 
2844
/*******************  Bit definition for FLASH_ACR register  ******************/
2857
/*******************  Bit definition for FLASH_ACR register  ******************/
2845
#define FLASH_ACR_LATENCY_Pos                (0U)                              
2858
#define FLASH_ACR_LATENCY_Pos                (0U)                              
2846
#define FLASH_ACR_LATENCY_Msk                (0x1UL << FLASH_ACR_LATENCY_Pos)   /*!< 0x00000001 */
2859
#define FLASH_ACR_LATENCY_Msk                (0x1UL << FLASH_ACR_LATENCY_Pos)   /*!< 0x00000001 */
2847
#define FLASH_ACR_LATENCY                    FLASH_ACR_LATENCY_Msk             /*!< Latency */
2860
#define FLASH_ACR_LATENCY                    FLASH_ACR_LATENCY_Msk             /*!< Latency */
Line 5521... Line 5534...
5521
#define SYSCFG_EXTICR1_EXTI3_PA         (0x00000000U)                          /*!< PA[3] pin */
5534
#define SYSCFG_EXTICR1_EXTI3_PA         (0x00000000U)                          /*!< PA[3] pin */
5522
#define SYSCFG_EXTICR1_EXTI3_PB         (0x00001000U)                          /*!< PB[3] pin */
5535
#define SYSCFG_EXTICR1_EXTI3_PB         (0x00001000U)                          /*!< PB[3] pin */
5523
#define SYSCFG_EXTICR1_EXTI3_PC         (0x00002000U)                          /*!< PC[3] pin */
5536
#define SYSCFG_EXTICR1_EXTI3_PC         (0x00002000U)                          /*!< PC[3] pin */
5524
#define SYSCFG_EXTICR1_EXTI3_PD         (0x00003000U)                          /*!< PD[3] pin */
5537
#define SYSCFG_EXTICR1_EXTI3_PD         (0x00003000U)                          /*!< PD[3] pin */
5525
#define SYSCFG_EXTICR1_EXTI3_PE         (0x00004000U)                          /*!< PE[3] pin */
5538
#define SYSCFG_EXTICR1_EXTI3_PE         (0x00004000U)                          /*!< PE[3] pin */
5526
#define SYSCFG_EXTICR1_EXTI3_PF         (0x00003000U)                          /*!< PF[3] pin */
5539
#define SYSCFG_EXTICR1_EXTI3_PF         (0x00006000U)                          /*!< PF[3] pin */
5527
#define SYSCFG_EXTICR1_EXTI3_PG         (0x00004000U)                          /*!< PG[3] pin */
5540
#define SYSCFG_EXTICR1_EXTI3_PG         (0x00007000U)                          /*!< PG[3] pin */
5528
 
5541
 
5529
/*****************  Bit definition for SYSCFG_EXTICR2 register  *****************/
5542
/*****************  Bit definition for SYSCFG_EXTICR2 register  *****************/
5530
#define SYSCFG_EXTICR2_EXTI4_Pos        (0U)                                   
5543
#define SYSCFG_EXTICR2_EXTI4_Pos        (0U)                                   
5531
#define SYSCFG_EXTICR2_EXTI4_Msk        (0xFUL << SYSCFG_EXTICR2_EXTI4_Pos)     /*!< 0x0000000F */
5544
#define SYSCFG_EXTICR2_EXTI4_Msk        (0xFUL << SYSCFG_EXTICR2_EXTI4_Pos)     /*!< 0x0000000F */
5532
#define SYSCFG_EXTICR2_EXTI4            SYSCFG_EXTICR2_EXTI4_Msk               /*!< EXTI 4 configuration */
5545
#define SYSCFG_EXTICR2_EXTI4            SYSCFG_EXTICR2_EXTI4_Msk               /*!< EXTI 4 configuration */
Line 5697... Line 5710...
5697
#define SYSCFG_EXTICR4_EXTI15_PC        (0x00002000U)                          /*!< PC[15] pin */
5710
#define SYSCFG_EXTICR4_EXTI15_PC        (0x00002000U)                          /*!< PC[15] pin */
5698
#define SYSCFG_EXTICR4_EXTI15_PD        (0x00003000U)                          /*!< PD[15] pin */
5711
#define SYSCFG_EXTICR4_EXTI15_PD        (0x00003000U)                          /*!< PD[15] pin */
5699
#define SYSCFG_EXTICR4_EXTI15_PE        (0x00004000U)                          /*!< PE[15] pin */
5712
#define SYSCFG_EXTICR4_EXTI15_PE        (0x00004000U)                          /*!< PE[15] pin */
5700
#define SYSCFG_EXTICR4_EXTI15_PF        (0x00006000U)                          /*!< PF[15] pin */
5713
#define SYSCFG_EXTICR4_EXTI15_PF        (0x00006000U)                          /*!< PF[15] pin */
5701
#define SYSCFG_EXTICR4_EXTI15_PG        (0x00007000U)                          /*!< PG[15] pin */
5714
#define SYSCFG_EXTICR4_EXTI15_PG        (0x00007000U)                          /*!< PG[15] pin */
5702
 
5715
 
5703
/******************************************************************************/
5716
/******************************************************************************/
5704
/*                                                                            */
5717
/*                                                                            */
5705
/*                       Routing Interface (RI)                               */
5718
/*                       Routing Interface (RI)                               */
5706
/*                                                                            */
5719
/*                                                                            */
5707
/******************************************************************************/
5720
/******************************************************************************/