01.06.2014 Views

STM32W108C8

STM32W108C8

STM32W108C8

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>STM32W108C8</strong><br />

Analog-to-digital converter<br />

11.3.4 ADC DMA configuration register (ADC_DMACFG)<br />

Table 114.<br />

Address offset: 0xD010<br />

Reset value: 0x0000 0000<br />

ADC DMA configuration register (ADC_DMACFG)<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

Reserved<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

ADC_<br />

DMAR<br />

ST<br />

Reserved<br />

ADC_<br />

DMAA<br />

UTOW<br />

RAP<br />

ADC_<br />

DMAL<br />

OAD<br />

w rw rw<br />

Bit 4 ADC_DMARST: Write 1 to reset the ADC DMA. This bit auto-clears.<br />

Bit 1 ADC_DMAAUTOWRAP: Selects DMA mode.<br />

0: Linear mode, the DMA stops when the buffer is full.<br />

1: Auto-wrap mode, the DMA output wraps back to the start when the buffer is full.<br />

Bit 0 ADC_DMALOAD: Loads the DMA buffer.<br />

Write 1 to start DMA (writing 0 has no effect). Cleared when DMA starts or is reset.<br />

11.3.5 ADC DMA status register (ADC_DMASTAT)<br />

Table 115.<br />

Address offset: 0xD014<br />

Reset value: 0x0000 0000<br />

ADC DMA status register (ADC_DMASTAT)<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

Reserved<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

ADC_D<br />

MAOVF<br />

r<br />

ADC_D<br />

MAACT<br />

r<br />

Bit 1 ADC_DMAOVF: DMA overflow: occurs when an ADC result is ready and the DMA is not active.<br />

Cleared by DMA reset.<br />

Bit 0 ADC_DMAACT: DMA status: reads 1 if DMA is active.<br />

Doc ID 018587 Rev 2 170/215

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!