| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
PS501 bảng dữ liệu(PDF) 16 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PS501 bảng dữ liệu(HTML) 16 Page - Microchip Technology |
|
16 / 42 page ![]() PS501 DS21818C-page 16 2004 Microchip Technology Inc. 7.0 GPIO CONFIGURATION GPIOs can be set up to act as inputs or outputs that are based on conditions involving SBData parameters or GPIO levels compared to constants. This powerful pro- gramming model allows for customizing GPIO to set on any possible fuel gauge conditions and reset on any other possible fuel gauge conditions in any groupings. TABLE 7-1: GPIO CONFIGURATIONS GPIOs configured above as standard logic output can be programmed to activate or reset in response to any group of fuel gauge conditions. Each “condition” is defined by 4 bytes. TABLE 7-2: GPIO CONDITIONS Name Length Definition GPIOSTATE 2 Initialized default state (positive logic) GPIODIRECTION 2 Initialized direction: 1 = input 0 = output GPIOCONFIG 2 GPIO configuration Bit 8: 1 = pull-ups/downs disabled 0 = pull-downs enabled Bits 7:0: if input: 1 = pulled down 0 = pulled up if output: 1 = LED drive (GPIO0-7 only) 0 = standard logic GPIOPOLARITY 2 “Polarity” mask applied to invert positive logic Byte Condition Definition Byte 1 Flags bit 7: 1 signifies last condition in group bit 4: Combination function (1:AND, 0:OR) bit 3: Signed (1) or unsigned (0) bits 2:0 Comparison function (0 : >, 1 : <, 2 : =, 3 : AND, 4 : NOR) Byte 2 Condition selection x00-x3F – SBData command code x40 – State flags x41 – GPIO flags x42 – VCELL-min x43 – VCELL-max x44 – VCELL-diff x45 – Misc. flags Byte 3 Byte 4 Condition threshold Constant |
|
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 |
| 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 |