| поискавой системы для электроныых деталей |
|
STWBC2-HP датащи(PDF) 43 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STWBC2-HP датащи(HTML) 43 Page - STMicroelectronics |
|
43 / 96 page ![]() 2.2.6.3 Functional description This IP generates a repetitive programmable pulse pattern (usable with LED or Buzzer circuit) accordingly with the register parameter's configuration values. Alternatively, the LED signal may be used as a general I/O signal controlled by SW. Here below is shown an outline view of the LED pattern generator block diagram: Figure 45. LED_SPK block diagram overview 2.2.6.4 Programming After power-up the IP is disabled; the usage of this requires the following program sequences: 2.2.6.4.1 Pattern generator 1. Configure the 16-bit repetition data pattern through the registers: LED_BUZZER_<x>_PATTERN_L and LED_BUZZER_<x>_PATTERN_H. 2. Configure the pulse frequency by programming the clock pre-scale (Prescale) through register field LED_BUZZER_<x>_CLK_DIV[1:0] and clock division (Clkdivision) via register field LED_BUZZER_<x>_CLK_DIV[7:2]. The pulse pattern frequency is generated according to the following equation: Fpulse= Fafe Clkdivision+1* Prescale Table 32 summarizes the range of pulse frequency configurable with the register parameters assuming Fafe = 16 MHz: Table 32. Pulse range configuration values Pulse frequency configuration Prescale Step division Clkdivision = 0 Clkdivision = 126 Unit 00 256 62500 492.126 Hz 01 2048 7812.5 61.51575 10 16384 976.5625 7.689469 11 131072 122.0703 0.961184 3. Selecting the I/O driver mode operations and current sink configuring respectively the register fields LED_BUZZER_<x>_CFG[2:0] and LED_BUZZER_<x>_CFG[4:3]. 4. Enabling the pulse logic generation by clearing the register field LED_BUZZER_<x>_CFG[5] enable bit. STWBC2-HP Digital AFE functions DS13825 - Rev 1.0 page 43/96 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |