亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? stm32l1xx_lcd.c

?? VS1003_MP3_SPI_SDHC_FAT32
?? C
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
  LCD->FCR |= (uint32_t)(LCD_DeadTime);
}

/**
  * @brief  Configures the LCD Blink mode and Blink frequency.
  * @param  LCD_BlinkMode: specifies the LCD blink mode.
  *   This parameter can be one of the following values:
  *     @arg LCD_BlinkMode_Off:           Blink disabled
  *     @arg LCD_BlinkMode_SEG0_COM0:     Blink enabled on SEG[0], COM[0] (1 pixel)
  *     @arg LCD_BlinkMode_SEG0_AllCOM:   Blink enabled on SEG[0], all COM (up to 8
  *                                       pixels according to the programmed duty)
  *     @arg LCD_BlinkMode_AllSEG_AllCOM: Blink enabled on all SEG and all COM 
  *                                       (all pixels)
  * @param  LCD_BlinkFrequency: specifies the LCD blink frequency.
  *   This parameter can be one of the following values:
  *     @arg LCD_BlinkFrequency_Div8:    The Blink frequency = fLcd/8
  *     @arg LCD_BlinkFrequency_Div16:   The Blink frequency = fLcd/16
  *     @arg LCD_BlinkFrequency_Div32:   The Blink frequency = fLcd/32
  *     @arg LCD_BlinkFrequency_Div64:   The Blink frequency = fLcd/64
  *     @arg LCD_BlinkFrequency_Div128:  The Blink frequency = fLcd/128
  *     @arg LCD_BlinkFrequency_Div256:  The Blink frequency = fLcd/256
  *     @arg LCD_BlinkFrequency_Div512:  The Blink frequency = fLcd/512
  *     @arg LCD_BlinkFrequency_Div1024: The Blink frequency = fLcd/1024
  * @retval None
  */
void LCD_BlinkConfig(uint32_t LCD_BlinkMode, uint32_t LCD_BlinkFrequency)
{
  /* Check the parameters */
  assert_param(IS_LCD_BLINK_MODE(LCD_BlinkMode));
  assert_param(IS_LCD_BLINK_FREQUENCY(LCD_BlinkFrequency));
  
  LCD->FCR &= (uint32_t)BLINK_MASK;
  LCD->FCR |= (uint32_t)(LCD_BlinkMode | LCD_BlinkFrequency);
}

/**
  * @brief  Configures the LCD Contrast.
  * @param  LCD_Contrast: specifies the LCD Contrast.
  *   This parameter can be one of the following values:
  *     @arg LCD_Contrast_Level_0: Maximum Voltage = 2.60V
  *     @arg LCD_Contrast_Level_1: Maximum Voltage = 2.73V
  *     @arg LCD_Contrast_Level_2: Maximum Voltage = 2.86V
  *     @arg LCD_Contrast_Level_3: Maximum Voltage = 2.99V
  *     @arg LCD_Contrast_Level_4: Maximum Voltage = 3.12V
  *     @arg LCD_Contrast_Level_5: Maximum Voltage = 3.25V
  *     @arg LCD_Contrast_Level_6: Maximum Voltage = 3.38V
  *     @arg LCD_Contrast_Level_7: Maximum Voltage = 3.51V
  * @retval None
  */
void LCD_ContrastConfig(uint32_t LCD_Contrast)
{
  /* Check the parameters */
  assert_param(IS_LCD_CONTRAST(LCD_Contrast));

  LCD->FCR &= (uint32_t)CONTRAST_MASK;
  LCD->FCR |= (uint32_t)(LCD_Contrast);
}

/**
  * @}
  */

/** @defgroup LCD_Group2  LCD RAM memory write functions
 *  @brief    LCD RAM memory write functions
 *
@verbatim
 ===============================================================================
                  ##### LCD RAM memory write functions #####
 ===============================================================================
    [..] Using its double buffer memory the LCD controller ensures the coherency 
         of the displayed information without having to use interrupts to control 
         LCD_RAM modification.

    [..] The application software can access the first buffer level (LCD_RAM) through
         the APB interface. Once it has modified the LCD_RAM, it sets the UDR flag 
         in the LCD_SR register using the LCD_UpdateDisplayRequest() function.

    [..] This UDR flag (update display request) requests the updated information 
         to be moved into the second buffer level (LCD_DISPLAY).

    [..] This operation is done synchronously with the frame (at the beginning of 
         the next frame), until the update is completed, the LCD_RAM is write 
         protected and the UDR flag stays high.

    [..] Once the update is completed another flag (UDD - Update Display Done) is 
         set and generates an interrupt if the UDDIE bit in the LCD_FCR register 
        is set.

    [..] The time it takes to update LCD_DISPLAY is, in the worst case, one odd 
         and one even frame.

    [..] The update will not occur (UDR = 1 and UDD = 0) until the display is
         enabled (LCDEN = 1).

@endverbatim
  * @{
  */

/**
  * @brief  Writes a word in the specific LCD RAM.
  * @param  LCD_RAMRegister: specifies the LCD Contrast.
  *   This parameter can be one of the following values:
  *     @arg LCD_RAMRegister_0: LCD RAM Register 0
  *     @arg LCD_RAMRegister_1: LCD RAM Register 1
  *     @arg LCD_RAMRegister_2: LCD RAM Register 2
  *     @arg LCD_RAMRegister_3: LCD RAM Register 3
  *     @arg LCD_RAMRegister_4: LCD RAM Register 4
  *     @arg LCD_RAMRegister_5: LCD RAM Register 5
  *     @arg LCD_RAMRegister_6: LCD RAM Register 6
  *     @arg LCD_RAMRegister_7: LCD RAM Register 7
  *     @arg LCD_RAMRegister_8: LCD RAM Register 8
  *     @arg LCD_RAMRegister_9: LCD RAM Register 9
  *     @arg LCD_RAMRegister_10: LCD RAM Register 10
  *     @arg LCD_RAMRegister_11: LCD RAM Register 11
  *     @arg LCD_RAMRegister_12: LCD RAM Register 12
  *     @arg LCD_RAMRegister_13: LCD RAM Register 13
  *     @arg LCD_RAMRegister_14: LCD RAM Register 14
  *     @arg LCD_RAMRegister_15: LCD RAM Register 15
  * @param  LCD_Data: specifies LCD Data Value to be written.
  * @retval None
  */
void LCD_Write(uint32_t LCD_RAMRegister, uint32_t LCD_Data)
{
  /* Check the parameters */
  assert_param(IS_LCD_RAM_REGISTER(LCD_RAMRegister));

  /* Copy data bytes to RAM register */
  LCD->RAM[LCD_RAMRegister] = (uint32_t)LCD_Data;
}

/**
  * @brief  Enables the Update Display Request.
  * @note   Each time software modifies the LCD_RAM it must set the UDR bit to
  *         transfer the updated data to the second level buffer.
  *         The UDR bit stays set until the end of the update and during this
  *         time the LCD_RAM is write protected.
  * @note   When the display is disabled, the update is performed for all
  *         LCD_DISPLAY locations.
  *         When the display is enabled, the update is performed only for locations
  *         for which commons are active (depending on DUTY). For example if
  *         DUTY = 1/2, only the LCD_DISPLAY of COM0 and COM1 will be updated.
  * @param  None
  * @retval None
  */
void LCD_UpdateDisplayRequest(void)
{
  *(__IO uint32_t *) SR_UDR_BB = (uint32_t)0x01;
}

/**
  * @}
  */

/** @defgroup LCD_Group3 Interrupts and flags management functions
 *  @brief   Interrupts and flags management functions
 *
@verbatim
 ===============================================================================
            ##### Interrupts and flags management functions #####
 ===============================================================================

@endverbatim
  * @{
  */

/**
  * @brief  Enables or disables the specified LCD interrupts.
  * @param  LCD_IT: specifies the LCD interrupts sources to be enabled or disabled.
  *   This parameter can be any combination of the following values:
  *     @arg LCD_IT_SOF: Start of Frame Interrupt
  *     @arg LCD_IT_UDD: Update Display Done Interrupt
  * @param NewState: new state of the specified LCD interrupts.
  *   This parameter can be: ENABLE or DISABLE.
  * @retval None
  */
void LCD_ITConfig(uint32_t LCD_IT, FunctionalState NewState)
{
  /* Check the parameters */
  assert_param(IS_LCD_IT(LCD_IT));
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  
  if (NewState != DISABLE)
  {
    LCD->FCR |= LCD_IT;
  }
  else
  {
    LCD->FCR &= (uint32_t)~LCD_IT;
  }
}

/**
  * @brief  Checks whether the specified LCD flag is set or not.
  * @param  LCD_FLAG: specifies the flag to check.
  *   This parameter can be one of the following values:
  *     @arg LCD_FLAG_ENS: LCD Enabled flag. It indicates the LCD controller status.
  *      @note  The ENS bit is set immediately when the LCDEN bit in the LCD_CR
  *             goes from 0 to 1. On deactivation it reflects the real status of
  *             LCD so it becomes 0 at the end of the last displayed frame.
  *     @arg LCD_FLAG_SOF: Start of Frame flag. This flag is set by hardware at
  *       the beginning of a new frame, at the same time as the display data is
  *       updated.
  *     @arg LCD_FLAG_UDR: Update Display Request flag.
  *     @arg LCD_FLAG_UDD: Update Display Done flag.
  *     @arg LCD_FLAG_RDY: Step_up converter Ready flag. It indicates the status
  *                        of the step-up converter.
  *     @arg LCD_FLAG_FCRSF: LCD Frame Control Register Synchronization Flag.
  *       This flag is set by hardware each time the LCD_FCR register is updated
  *       in the LCDCLK domain.
  * @retval The new state of LCD_FLAG (SET or RESET).
  */
FlagStatus LCD_GetFlagStatus(uint32_t LCD_FLAG)
{
  FlagStatus bitstatus = RESET;
  
  /* Check the parameters */
  assert_param(IS_LCD_GET_FLAG(LCD_FLAG));
  
  if ((LCD->SR & LCD_FLAG) != (uint32_t)RESET)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return bitstatus;
}

/**
  * @brief  Clears the LCD's pending flags.
  * @param  LCD_FLAG: specifies the flag to clear.
  *   This parameter can be any combination of the following values:
  *     @arg LCD_FLAG_SOF: Start of Frame Interrupt
  *     @arg LCD_FLAG_UDD: Update Display Done Interrupt
  * @retval None
  */
void LCD_ClearFlag(uint32_t LCD_FLAG)
{
  /* Check the parameters */
  assert_param(IS_LCD_CLEAR_FLAG(LCD_FLAG));
    
  /* Clear the corresponding LCD flag */
  LCD->CLR = (uint32_t)LCD_FLAG;
}

/**
  * @brief  Checks whether the specified RTC interrupt has occurred or not.
  * @param  LCD_IT: specifies the LCD interrupts sources to check.
  *   This parameter can be one of the following values:
  *     @arg LCD_IT_SOF: Start of Frame Interrupt
  *     @arg LCD_IT_UDD: Update Display Done Interrupt.
  *     @note If the device is in STOP mode (PCLK not provided) UDD will not 
  *          generate an interrupt even if UDDIE = 1. 
  *          If the display is not enabled the UDD interrupt will never occur.
  * @retval The new state of the LCD_IT (SET or RESET).
  */
ITStatus LCD_GetITStatus(uint32_t LCD_IT)
{
  ITStatus bitstatus = RESET;
  
  /* Check the parameters */
  assert_param(IS_LCD_GET_IT(LCD_IT));
    
  if ((LCD->SR & LCD_IT) != (uint16_t)RESET)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  
  if (((LCD->FCR & LCD_IT) != (uint16_t)RESET) && (bitstatus != (uint32_t)RESET))
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return bitstatus;
}

/**
  * @brief  Clears the LCD's interrupt pending bits.
  * @param  LCD_IT: specifies the interrupt pending bit to clear.
  *   This parameter can be any combination of the following values:
  *     @arg LCD_IT_SOF: Start of Frame Interrupt
  *     @arg LCD_IT_UDD: Update Display Done Interrupt
  * @retval None
  */
void LCD_ClearITPendingBit(uint32_t LCD_IT)
{
  /* Check the parameters */
  assert_param(IS_LCD_IT(LCD_IT));
  
  /* Clear the corresponding LCD pending bit */
  LCD->CLR = (uint32_t)LCD_IT;
}

/**
  * @}
  */

/**
  * @}
  */

/**
  * @}
  */

/**
  * @}
  */

/******************* (C) COPYRIGHT 2012 STMicroelectronics *****END OF FILE****/

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产制服丝袜一区| 日韩精品国产精品| 7777女厕盗摄久久久| 国产一区二区三区在线观看免费| 亚洲欧美视频在线观看| 精品国产a毛片| 欧美日韩日日夜夜| 成人国产一区二区三区精品| 日本va欧美va精品| 亚洲精品欧美二区三区中文字幕| 91精品国产福利| 99精品欧美一区二区三区综合在线| 免费在线观看视频一区| 亚洲精品视频一区二区| 国产精品理论在线观看| 久久免费的精品国产v∧| 日韩三级视频在线观看| 欧美日韩黄色影视| 色综合视频在线观看| 国产91丝袜在线播放0| 精品在线一区二区三区| 偷拍与自拍一区| 亚洲一区二区三区小说| 国产精品麻豆一区二区| 国产女主播在线一区二区| 日韩三级视频在线观看| 日韩一级完整毛片| 在线精品视频免费播放| www.日本不卡| 成人动漫一区二区| 成人一区二区三区视频在线观看| 九九在线精品视频| 久久电影国产免费久久电影| 蜜桃久久久久久| 麻豆视频观看网址久久| 蜜臀av性久久久久蜜臀av麻豆| 天天av天天翘天天综合网色鬼国产| 亚洲综合自拍偷拍| 伊人性伊人情综合网| 亚洲欧美色图小说| 一区二区三区不卡在线观看| 一区二区三区91| 一区二区高清视频在线观看| 一区二区三区视频在线看| 亚洲女子a中天字幕| 亚洲精品乱码久久久久久日本蜜臀| 亚洲天天做日日做天天谢日日欢 | 国产精品第一页第二页第三页| 欧美精品一区二区三区很污很色的| 26uuu久久天堂性欧美| 国产亚洲人成网站| 国产欧美一区视频| 亚洲欧美日韩在线播放| 亚洲一级在线观看| 日本视频免费一区| 久久精品国产亚洲高清剧情介绍 | 制服丝袜亚洲播放| 欧美一区二区视频在线观看| 欧美不卡在线视频| 日韩欧美在线观看一区二区三区| 欧美一级欧美三级在线观看| 欧美不卡一区二区三区| 日韩欧美一级精品久久| 日韩一级欧美一级| 国产嫩草影院久久久久| 亚洲日本中文字幕区| 亚洲高清免费一级二级三级| 免费在线看一区| 成人国产精品视频| 精品视频在线免费观看| www国产精品av| 成人欧美一区二区三区白人 | 久久影院电视剧免费观看| 国产欧美一区二区精品性| 亚洲黄色小说网站| 日韩影院在线观看| 国产大陆精品国产| 欧美性视频一区二区三区| 欧美刺激脚交jootjob| 国产精品人成在线观看免费| 丝袜诱惑制服诱惑色一区在线观看 | 日本韩国精品一区二区在线观看| 欧美在线小视频| 日韩免费视频一区| 国产精品电影院| 午夜精品久久久久久久| 精品中文字幕一区二区| 91在线视频18| 日韩欧美一二区| 欧美激情综合网| 亚洲精品ww久久久久久p站 | 青草国产精品久久久久久| 九九在线精品视频| 99精品欧美一区二区三区小说| 7777精品伊人久久久大香线蕉最新版| 欧美一区二区三区啪啪| 亚洲三级久久久| 美女免费视频一区二区| 97精品视频在线观看自产线路二| 欧美性色黄大片| 欧美激情一区在线观看| 美女视频黄免费的久久| 成人av在线播放网址| 欧美tickling网站挠脚心| 亚洲一二三区视频在线观看| 国产另类ts人妖一区二区| 在线不卡一区二区| 亚洲精品视频一区| 99久久精品99国产精品| 国产日韩精品一区| 久久国产乱子精品免费女| 欧美三级在线播放| 亚洲免费在线电影| 96av麻豆蜜桃一区二区| 国产三区在线成人av| 老司机精品视频在线| 欧美视频日韩视频| 日韩美女视频一区二区| av激情成人网| 国产日产欧产精品推荐色| 奇米影视一区二区三区小说| 欧美日韩精品综合在线| 亚洲激情网站免费观看| 9久草视频在线视频精品| 欧美国产精品中文字幕| 久久精品国产亚洲aⅴ| 在线亚洲高清视频| 亚洲精品视频在线看| 色综合网色综合| 国产精品入口麻豆九色| 丰满放荡岳乱妇91ww| 国产欧美精品一区二区三区四区 | 狠狠色综合播放一区二区| 日韩欧美中文字幕精品| 日日夜夜精品免费视频| 欧美色综合网站| 亚洲一级片在线观看| 欧美日韩高清不卡| 一区二区三区日韩精品视频| 91色在线porny| 国产欧美一区二区精品仙草咪| 韩国三级在线一区| 日韩三级伦理片妻子的秘密按摩| 视频一区二区不卡| 精品伦理精品一区| 国产美女娇喘av呻吟久久| 精品粉嫩aⅴ一区二区三区四区| 日韩电影在线观看网站| 欧美巨大另类极品videosbest | 99久久久精品| 亚洲图片另类小说| 欧洲精品一区二区| 亚洲一区二区高清| 日本道色综合久久| 日韩中文欧美在线| 久久久久久99久久久精品网站| 国产91丝袜在线观看| 亚洲精品高清视频在线观看| 欧美精品xxxxbbbb| 国产精品影音先锋| 亚洲黄色小视频| 日韩欧美中文一区| 99精品欧美一区二区蜜桃免费 | 中文字幕在线观看一区二区| 色偷偷久久人人79超碰人人澡| 日韩国产高清影视| 久久久精品免费网站| 成年人午夜久久久| 三级一区在线视频先锋 | 亚洲欧美激情在线| 337p亚洲精品色噜噜| 岛国一区二区在线观看| 亚洲一区二区综合| 精品国产污网站| 99re这里都是精品| 蜜臀av国产精品久久久久| 中文字幕第一区| 777久久久精品| 国产一区激情在线| 亚洲三级小视频| 在线播放91灌醉迷j高跟美女| 精品制服美女丁香| 自拍偷拍国产精品| 欧美亚洲综合久久| 国产99久久久国产精品| 日韩国产一区二| 亚洲男人天堂av| 久久久影视传媒| 欧美另类一区二区三区| 99久久久国产精品| 国产一区二区三区日韩 | 亚洲电影一区二区| 久久尤物电影视频在线观看| 欧美色欧美亚洲另类二区| 精品亚洲国内自在自线福利| 亚洲啪啪综合av一区二区三区| 精品久久久久久无| 在线精品视频一区二区| 国产一区二区在线看| 性久久久久久久|