![Cypress enCoRe V CY7C643 Series Скачать руководство пользователя страница 61](http://html1.mh-extra.com/html/cypress/encore-v-cy7c643-series/encore-v-cy7c643-series_technical-reference-manual_2706365061.webp)
enCoRe™ V CY7C643xx, enCoRe™ V LV CY7C604xx TRM, Document No. 001-32519 Rev *H
61
Analog-to-Digital Converter (ADC)
Modulator Control Register 0
This is the Control Register 0 for the modulator in the ADC
block.
Bit 7: Modulator Enable.
‘0‘ is disable. ‘1’ is enable.
Bits 6 to 1: MOD_CR0[6:1].
These 6 bits are reserved and
are ‘0’ by default.
Bit 0: Timer/Counter Enable.
‘0‘ is disable Timer/Counter.
‘1’ is enable Timer/Counter.
Modulator Control Register 1
This is the Control Register 1 for the modulator in the ADC
block.
Bits 7 to 4: MOD_CR1[7:4].
These 4 bits are reserved and
are ‘0’ by default.
Bit 3: ADC Interrupt Enable.
‘0‘ is disable the interrupt. ‘1’
is enable ADC interrupt.
The application M8C recognizes these interrupts as ADC
interface interrupts .
Bits 2 to 1: ADC Input Select.
These bits select the input
to the ADC.
‘00‘ - Temp Sensor Ouput
‘01‘ - Positive Reference Voltage
‘10‘ - Analog Bus
‘11‘ - External Port Input
Bit 0: Reserved.
This bit is reserved and is ‘0’ by default.
Analog Clock Configuration Register
This is the configuration register for the analog clock in the
Temperature Sensor/ADC core.
Bits 7 to 4: ACLK[7:4].
These 4 bits are reserved and are
‘0’ by default.
Bits 3 to 0: Clock Divider.
These bits set the divider value
for the ADC clock. The temperature sensor block is clocked
at 36 MHz. This value of 36 MHz is then divided by the value
set by these 4 bits.
‘0000‘ - Divide by 1
‘0001‘ - Divide by 2
‘0010‘ - Divide by 3
‘0011‘ - Divide by 4
‘0100‘ - Divide by 5
‘0101‘ - Divide by 6
‘0110‘ - Divide by 7
‘0111‘ - Divide by 8
‘1000‘ - Divide by 9
‘1001‘ - Divide by 10
‘1010‘ - Divide by 11
‘1011‘ - Divide by 12
‘1100‘ - Divide by 13
‘1101‘ - Divide by 14
‘1110‘ - Divide by 15
‘1111‘ - Divide by 16
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
3Bh
MOD_CR0
MOD_EN
Reserved
TIMER_EN
RW : 00
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
3Ch
MOD_CR1
Reserved
INT_EN
ADC Input Select
Reserved
RW : 00
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
3Dh
ACLK
Reserved
Clock Divider Value
RW : 00