Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

ZAMC4100GA2R Datasheet(PDF) 91 Page - Renesas Technology Corp

Part # ZAMC4100GA2R
Description  Actuator and Motor Controller
PDF  156 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  RENESAS [Renesas Technology Corp]
Direct Link  http://www.renesas.com
Logo RENESAS - Renesas Technology Corp

ZAMC4100GA2R Datasheet(HTML) 91 Page - Renesas Technology Corp

Back Button ZAMC4100GA2R Datasheet HTML 87Page - Renesas Technology Corp ZAMC4100GA2R Datasheet HTML 88Page - Renesas Technology Corp ZAMC4100GA2R Datasheet HTML 89Page - Renesas Technology Corp ZAMC4100GA2R Datasheet HTML 90Page - Renesas Technology Corp ZAMC4100GA2R Datasheet HTML 91Page - Renesas Technology Corp ZAMC4100GA2R Datasheet HTML 92Page - Renesas Technology Corp ZAMC4100GA2R Datasheet HTML 93Page - Renesas Technology Corp ZAMC4100GA2R Datasheet HTML 94Page - Renesas Technology Corp ZAMC4100GA2R Datasheet HTML 95Page - Renesas Technology Corp Next Button
Zoom Inzoom in Zoom Outzoom out
 91 / 156 page
background image
ZAMC4100 Datasheet
© 2016 Integrated Device Technology, Inc.
91
January 26, 2016
3.12.9. ADC Comparator and Counter
The ZAMC4100 features a 10-bit result comparator that allows continuous ADC running and signed result
comparison within the SBC. After each conversion, the ADC comparator checks the result for being less than or
greater than a pre-configured value. If the result of the comparison is TRUE, the comparator counter is
incremented. If the result is FALSE, the counter value is decremented or cleared depending on the value of the
CNTDEC bit in the ADCCMPH register (Table 3.42). When the comparator counter value reaches the value
programmed in the RCMPCNT register (Table 3.50), a comparator interrupt is generated and indicated in the
ADCCMPIF flag in the ADCSTAT register (Table 3.39).
Using the ADC comparator together with the counter allows filtering out the short-term deviations in the measured
analog values (currents, voltages, positions, etc.).
Note: When the comparator is enabled (bit CMPEN = ‘1’), the ADCRDYIF flag is automatically masked. In this
way, the global ADC interrupt (see Figure 3.8) is not always generated at the end of every conversion cycle, only
when a valid comparator event is detected.
Signed or Unsigned Comparison
Whether the results are signed or unsigned in ADC comparator mode is determined automatically depending on
the type of the ADC conversion and the value of the RESSIGN bit (see section 3.12.8). When the ADC performs
ratiometric conversion, the ADC comparison runs in signed mode if bit RESSIGN = 1 and in unsigned mode if
RESSIGN = 0. For absolute or temperature ADC conversion, the comparator performs unsigned results
comparison.
ADCCMPH and ADCCMPL Registers
These registers are used for configuring the comparator mode and threshold value. The bits of both registers are
described in Table 3.42. The reset values for registers ADCCMPH and ADCCMPL are 00HEX.
Note: When the ADC conversion is running, WRITE access to registers ADCCMPH and ADCCMPL is disabled.
Table 3.42 ADCCMPH and ADCCMPL Bits Description
Bit
Description
Register ADCCMPH
7
CMPEN: Comparator enable bit.
1 = The comparator is enabled.
0 = The comparator is disabled.
6
CMPMD: Comparison mode bit.
1 = The comparison returns TRUE if the ADC result is less than the programmed value.
0 = The comparison returns TRUE if the ADC result is greater than or equal to the programmed value.
5
CNTDEC: Determines the comparator’s counter decrement behavior.
1 = When the comparison returns FALSE, the counter value is decremented by one.
0 = When the comparator returns FALSE, the counter value is cleared.
4:2
Unimplemented bits. Read as 0.
1:0
CMPTH[9:8]: Bits 9:8 of the ADC comparator threshold value.
Register ADCCMPL
7:0
Bits 7:0 of the ADC comparator threshold value.



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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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