| 数据搜索系统,热门电子元器件搜索 |
|
STM8S 数据表(PDF) 121 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM8S 数据表(HTML) 121 Page - STMicroelectronics |
|
121 / 467 page ![]() DocID14587 Rev 14 121/467 RM0016 Beeper (BEEP) 123 13 Beeper (BEEP) 13.1 Beeper introduction This function generates a beep signal in the range of 1, 2 or 4 kHz when the LS clock is operating at a frequency of 128 kHz. Figure 26. Beep block diagram 13.2 Beeper functional description 13.2.1 Beeper operation To use the beep function, perform the following steps in order: 1. Calibrate the LS clock frequency as described in Section 13.2.2: Beeper calibration to define BEEPDIV[4:0] value. 2. Select 1 kHz, 2 kHz or 4 kHz output frequency by writing to the BEEPSEL[1:0] bits in the Beeper control/status register (BEEP_CSR). 3. Set the BEEPEN bit in the Beeper control/status register (BEEP_CSR) to enable the LS clock source. Note: The prescaler counter starts to count only if BEEPDIV[4:0] value is different from its reset value, 0x1F. MSv45270V1 HSE clock (4 – 24 MHz) PRSC [1:0] OPTION bits CKAWUSEL OPTION bit ~ 128 kHz LS clock MSR To timer input capture (for measurement) fLS BEEPDIV[4:0] bits BEEPEN Prescaler LSI RC 128 kHz 5-BIT BEEPER PROG COUNTER BEEPSEL[1:0] bits 3-BIT COUNTER 1 kHz, 2 kHz, 4 kHz BEEP pin |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |