công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

PFS172 bảng dữ liệu(PDF) 38 Page - PADAUK Technology.

tên linh kiện PFS172
Giải thích chi tiết về linh kiện  8bit MTP Type MCU with 8-bit ADC
PDF  92 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  PADAUK [PADAUK Technology.]
Trang chủ  http://www.padauk.com.tw/
Logo PADAUK - PADAUK Technology.

PFS172 bảng dữ liệu(HTML) 38 Page - PADAUK Technology.

Back Button PFS172 Datasheet HTML 34Page - PADAUK Technology. PFS172 Datasheet HTML 35Page - PADAUK Technology. PFS172 Datasheet HTML 36Page - PADAUK Technology. PFS172 Datasheet HTML 37Page - PADAUK Technology. PFS172 Datasheet HTML 38Page - PADAUK Technology. PFS172 Datasheet HTML 39Page - PADAUK Technology. PFS172 Datasheet HTML 40Page - PADAUK Technology. PFS172 Datasheet HTML 41Page - PADAUK Technology. PFS172 Datasheet HTML 42Page - PADAUK Technology. Next Button
Zoom Inzoom in Zoom Outzoom out
 38 / 92 page
background image
PFS172
8bit MTP MCU with 8-bit ADC
©Copyright 2020, PADAUK Technology Co. Ltd
Page 38 of 92
PDK-DS-PFS172-EN_V000-May 8, 2020
5.5.2
Using the comparator
Case I:
Choosing PA3 as minus input and Vinternal R with (18/32)*VDD voltage level as plus input. Vinternal R is
configured as the above Figure “gpcs[5:4] = 2b’00” and gpcs [3:0] = 4b’1001 (n=9) to have Vinternal R =
(1/4)*VDD + [(9+1)/32]*VDD = [(9+9)/32]*VDD = (18/32)*VDD.
gpcs
= 0b0_0_00_1001;
// Vinternal R = VDD*(18/32)
gpcc
= 0b1_0_0_0_000_0;
// enable comp, - input: PA3, + input: Vinternal R
padier = 0bxxxx_0_xxx;
// disable PA3 digital input to prevent leakage current
or
$ GPCS
VDD*18/32;
$ GPCC
Enable, N_PA3, P_R;
// - input: N_xx, + input: P_R(
Vinternal R)
PADIER = 0bxxxx_0_xxx;
Case 2:
Choosing Vinternal R as minus input with (22/40)*VDD voltage level and PA4 as plus input, the comparator
result will be inverted and then output to PA0. Vinternal R is configured as the above Figure “gpcs[5:4] =
2b’10” and gpcs [3:0] = 4b’1101 (n=13) to have Vinternal R = (1/5)*VDD + [(13+1)/40]*VDD = [(13+9)/40]*VDD
= (22/40)*VDD.
gpcs
= 0b1_0_10_1101;
// output to PA0,Vinternal R = VDD*(22/40)
gpcc
= 0b1_0_0_1_011_1;
// Inverse output, - input: Vinternal R, + input: PA4
padier
= 0bxxx_0_xxxx;
// disable PA4 digital input to prevent leakage current
or
$ GPCS
Output, VDD*22/40;
$ GPCC
Enable, Inverse, N_R, P_PA4;
// - input: N_R(
Vinternal R), + input: P_xx
PADIER = 0bxxx_0_xxxx;
Note: When selecting output to PA0 output, GPCS will affect the PA3 output function in ICE. Though the
IC is fine, be careful to avoid this error during emulation.



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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