công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN2841 bảng dữ liệu(PDF) 18 Page - STMicroelectronics

tên linh kiện AN2841
Giải thích chi tiết về linh kiện  This application note deals with the general principles of LED dimming
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2841 bảng dữ liệu(HTML) 18 Page - STMicroelectronics

Back Button AN2841 Datasheet HTML 14Page - STMicroelectronics AN2841 Datasheet HTML 15Page - STMicroelectronics AN2841 Datasheet HTML 16Page - STMicroelectronics AN2841 Datasheet HTML 17Page - STMicroelectronics AN2841 Datasheet HTML 18Page - STMicroelectronics AN2841 Datasheet HTML 19Page - STMicroelectronics AN2841 Datasheet HTML 20Page - STMicroelectronics AN2841 Datasheet HTML 21Page - STMicroelectronics AN2841 Datasheet HTML 22Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 31 page
background image
Dimming application using an STM32 microcontroller
AN2841
18/31
Figure 16.
Real signals: timer interrupt + DMA transfer + DMA interrupt model
Step "1" in Figure 16 is not necessary, but it is used for a better visualization of the tracking
of signals on the oscilloscope.
Example of C code of DMA and timer interrupt routine: interrupt + DMA +
interrupt approach
void SysTickHandler(void)
{
LE_LOW();(Step 1)
LE_HIGH();
depth+=4;
if(depth > 0x400)
depth = 0;
DMA_Channel3->CCR &= CCR_ENABLE_Reset;
DMA_Channel3->CNDTR = 0x04;
DMA_Channel3->CMAR = ((u32) (LookUp))+depth;
DMA_Channel3->CCR |= CCR_ENABLE_Set; (Step 2)
DMA_Channel3->CCR |= DMA_IT_TC;
LE_LOW();
}
void DMAChannel3_IRQHandler(void)(Step 5)
{
while(!SPI_GetFlagStatus(SPI1, SPI_FLAG_TXE));(Step 6)
LE_HIGH();(Step 7)
LE_LOW();
DMA_ClearITPendingBit(DMA_IT_GL3);
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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