MC68HC05T16
MOTOROLA
10-3
ANALOG TO DIGITAL CONVERTER
10
10.3
ADC Control and Status Register
This read/write register, located at address $3C, contains six control bits and one status bit.
RESULT - Comparator Status (Read Only)
1 (set)
–
AD4-0 value greater than analog in.
0 (clear) –
AD4-0 value is less than analog in.
CHNL - Channel Select
1 (set)
–
ADCIN1 is selected for conversion.
0 (clear) –
ADCIN0 is selected for conversion
AD4-0 - ADC Digital Result
These bits are written by the user to perform successive approximations in software. When a value
causes the RESULT bit to change state from the value immediately before or after it, AD4-0 are
considered to be the digital equivalent of the analog input. Note that when AD4-0 are all 1’s, ADC
is virtually turned off to minimize power consumption.
Address
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$3C
RESULT
CHNL
AD4
AD3
AD2
AD1
AD0
u000 0000
TPG
89
Summary of Contents for MC68HC05T16
Page 2: ......
Page 14: ...MOTOROLA vi MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 12 ...
Page 16: ...MOTOROLA viii MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 14 ...
Page 18: ...MOTOROLA x MC68HC05T16 THIS PAGE LEFT BLANK INTENTIONALLY TPG 16 ...
Page 54: ...MOTOROLA 5 12 MC68HC05T16 TIMERS 5 THIS PAGE LEFT BLANK INTENTIONALLY TPG 52 ...
Page 64: ...MOTOROLA 6 10 MC68HC05T16 M BUS SERIAL INTERFACE 6 THIS PAGE LEFT BLANK INTENTIONALLY TPG 62 ...
Page 110: ...MOTOROLA 12 4 MC68HC05T16 LOW POWER MODES 12 THIS PAGE LEFT BLANK INTENTIONALLY TPG 108 ...
Page 116: ...MOTOROLA 13 6 MC68HC05T16 OPERATING MODES 13 THIS PAGE LEFT BLANK INTENTIONALLY TPG 114 ...