Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SN8F5708 Datasheet(PDF) 112 Page - SONiX Technology Company

Part # SN8F5708
Description  8051-based Microcontroller
PDF  204 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SONIX [SONiX Technology Company]
Direct Link  http://www.sonix.com.tw
Logo SONIX - SONiX Technology Company

SN8F5708 Datasheet(HTML) 112 Page - SONiX Technology Company

Back Button SN8F5708 Datasheet HTML 108Page - SONiX Technology Company SN8F5708 Datasheet HTML 109Page - SONiX Technology Company SN8F5708 Datasheet HTML 110Page - SONiX Technology Company SN8F5708 Datasheet HTML 111Page - SONiX Technology Company SN8F5708 Datasheet HTML 112Page - SONiX Technology Company SN8F5708 Datasheet HTML 113Page - SONiX Technology Company SN8F5708 Datasheet HTML 114Page - SONiX Technology Company SN8F5708 Datasheet HTML 115Page - SONiX Technology Company SN8F5708 Datasheet HTML 116Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 112 / 204 page
background image
www.sonix.com.tw
SN8F5708 Series
Copyright © 2019, SONiX Technology Co., Ltd.
Comparator
Datasheet Rev. 2.4
112
17.2
Comparator Output Function
The comparator output signal is the source of comparator output function. The comparator output
function includes:
CMnOUT output flag: The comparator output signal is connected to CMnOUT flag directly.
CMnOUT bit responses comparator status immediately. Program reads comparator status from
CMnOUT bit.
Comparator extern pin output function: The comparator output status can output to CMnO pin
controlled by CMnOEN bit. When CMnOEN=0, the comparator output pin is GPIO mode. If
CMnOEN=1, CMnO pin outputs comparator output status and isolates GPIO mode.
Comparator edge trigger and interrupt function: The comparator builds in interrupt function, and
the trigger edge is programmable. CMnG[1:0] bit controls comparator trigger edge. When the edge
trigger condition occurs, CMPnF will be set automatically. To clear CMPnF bit must be through
program. If CMnEN=1, program counter will be pointed to interrupt vector to execute interrupt
service routine as CMPnF is setting. When the trigger edge direction is equal to interrupt trigger
condition, the system will execute interrupt operation immediately.
Comparator IDLE Mode Wake-up function: The comparator’s wake-up function only support IDLE
Mode (interrupt needs enable), not STOP Mode. If the trigger edge condition (comparator output
status exchanging) is found, the system will be wake-up from IDLE Mode. Because in interrupt
trigger condition, the CMPnF is set as “1”. Of course the interrupt routine is executed if the
interrupt function enabled.
17.3
PWM Output Control
The results of comparator can be used to control PWM outputs. User can select the appropriate
control mode through CMPT register. The following table lists these types of control methods.
CMnT[1:0]
PWM Synchronous Trigger Operation
00
CMPn with PWM output is not related.
01
CMPnF = 1  PWM stop
10
CMnP > CMnN (Rising edge trigger)  PWM output
CMnP < CMnN (Falling edge trigger)  PWM stop
11
CMnP < CMnN (Falling edge trigger)  PWM output
CMnP > CMnN (rising edge trigger)  PWM stop
The comparator can control those PWM outputs, depending PWnCM* bits set. See detailed
description of PWM section. OPM register bit 7 – 2: PW3CM1, PW3CM0, PW2CM0, PW2CM1,
PW1CM1, PW1CM0.



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