Texas Instruments MSP430x1xx User Manual page 402

Texas instruments modules and peripherals user's guide
Table of Contents

Advertisement

ADC10 Operation
One-Block Transfer Mode
The one-block mode is selected if the ADC10TB is reset. The value n in
ADC10DTC1 defines the total number of transfers for a block. The block start
address is defined anywhere in the MSP430 address range using the 16-bit
register ADC10SA. The block ends at ADC10SA+2n–2. The one-block
transfer mode is shown in Figure 18−9.
Figure 18−9. One-Block Transfer
The internal address pointer is initially equal to ADC10SA and the internal
transfer counter is initially equal to 'n'. The internal pointer and counter are not
visible to software. The DTC transfers the word-value of ADC10MEM to the
address pointer ADC10SA. After each DTC transfer, the internal address
pointer is incremented by two and the internal transfer counter is decremented
by one.
The DTC transfers continue with each loading of ADC10MEM, until the
internal transfer counter becomes equal to zero. No additional DTC transfers
will occur until a write to ADC10SA. When using the DTC in the one-block
mode, the ADC10IFG flag is set only after a complete block has been
transferred. Figure 18−10 shows a state diagram of the one-block mode.
18-16
ADC10
DTC
TB=0
'n'th transfer
ADC10SA+2n−2
ADC10SA+2n−4
2nd transfer
ADC10SA+2
1st transfer
ADC10SA

Advertisement

Table of Contents
loading

Table of Contents