| 전자부품 데이터시트 검색엔진 |
|
PS501 데이터시트(PDF) 16 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PS501 데이터시트(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 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |