2.5V~5.5V電源供電。16個(gè)IO端口中的任何一個(gè)都可以配置為L(zhǎng)ED模式或GPIO模式。此外,任何GPIO都可以單獨(dú)配置為輸入或輸出。
通電后,16個(gè)IO端口配置默認(rèn)為GPIO輸出,默認(rèn)狀態(tài)根據(jù)AD0和AD1決定。所有配置為輸入的IO端口都會(huì)持續(xù)監(jiān)控狀態(tài)變化,并具有8μs的防抖動(dòng)時(shí)間,IO口的變化由INTN輸出指示。當(dāng)GPIO狀態(tài)通過(guò)I2C接口被讀取時(shí),INTN輸出被清除。
當(dāng)IO端口配置為L(zhǎng)ED模式時(shí),可以通過(guò)I2C接口將LED驅(qū)動(dòng)器的電流設(shè)置在0~IMAX之間,并可以以該值除以256步進(jìn)行線(xiàn)性調(diào)光。默認(rèn)最大電流(IMAX)為37mA,可在全局在控制寄存器中更改IMAX。
HTR3316提供QFN4×4-24L封裝。價(jià)格:¥0.00 | 庫(kù)存99999 |
數(shù)量:
|
特點(diǎn)
| 應(yīng)用
|
引腳號(hào) | 名稱(chēng) | 功能 |
1~4 | P1_0~P1_3 | GPIO mode default, input or output (push-pull), the state after power on is decided by AD1 and AD0 terminals. Can be configured as LED mode. 默認(rèn)GPIO模式,輸入或輸出(推挽結(jié)構(gòu)),上電默認(rèn)狀態(tài)由AD1和AD0決定。可設(shè)置為L(zhǎng)ED模式。 |
5~8 | P0_0~P0_3 | GPIO mode default, input or output (open-drain (default) or push-pull), the state after power on is decided by AD1 and AD0 terminals. Can be configured as LED mode. 默認(rèn)GPIO模式,輸入或輸出(開(kāi)漏結(jié)構(gòu)(默認(rèn))或推挽結(jié)構(gòu)),上電默認(rèn)狀態(tài)由AD1和AD0決定??稍O(shè)置為L(zhǎng)ED模式。 |
9 | GND | Ground. 地 |
10~13 | P0_4~P0_7 | GPIO mode default, input or output (open-drain (default) or push-pull), the state after power on is decided by AD1 and AD0 terminals. Can be configured as LED mode. 默認(rèn)GPIO,輸入或輸出(開(kāi)漏結(jié)構(gòu)(默認(rèn))或推挽結(jié)構(gòu)),上電默認(rèn)狀態(tài)由AD1和AD0決定??稍O(shè)置為L(zhǎng)ED模式。 |
14~17 | P1_4~P1_7 | GPIO mode default, input or output (push-pull), the state after power on is decided by AD1 and AD0 terminals. Can be configured as LED mode. 默認(rèn)GPIO,輸入或輸出(推挽結(jié)構(gòu)), ,上電默認(rèn)狀態(tài)由AD1和AD0決定??稍O(shè)置為L(zhǎng)ED模式。 |
18 | AD0 | I2C device address, connect to VCC or GND,and control the default state of GPIOs (see table 1)。 I2C器件地址選擇,接VCC或GND,并設(shè)置GPIO狀態(tài)(見(jiàn)表1)。 |
19 | SCL | I2C serial clock. I2C時(shí)鐘 |
20 | SDA | I2C serial data. I2C數(shù)據(jù) |
21 | VCC | Power supply. 電源輸入端. |
22 | INTN | Interrupt output pin, open-drain, need external pull-up resistor; active low. 中斷輸出,開(kāi)漏結(jié)構(gòu),需外部上拉電阻;低有效 |
23 | RSTN | Hardware reset pin, active low; internal 100 kΩ (typical) pull-down resistor. 硬件復(fù)位,低為復(fù)位;內(nèi)部下拉100 kΩ(典型值)電阻 |
24 | AD1 | I2C device address, connect to VCC or GND,and control the default state of GPIO (see table 1)。 I2C器件地址選擇,接VCC或GND,并設(shè)置GPIO狀態(tài)(見(jiàn)表1)。 |
EP | GND | Provides both electrical and thermal connection from the device to the board. Connect to the system ground. 接地。 |