2.5V~5.5V電源供電。16個IO端口中的任何一個都可以配置為LED模式或GPIO模式。此外,任何GPIO都可以單獨配置為輸入或輸出。
通電后,16個IO端口配置默認為GPIO輸出,默認狀態根據AD0和AD1決定。所有配置為輸入的IO端口都會持續監控狀態變化,并具有8μs的防抖動時間,IO口的變化由INTN輸出指示。當GPIO狀態通過I2C接口被讀取時,INTN輸出被清除。
當IO端口配置為LED模式時,可以通過I2C接口將LED驅動器的電流設置在0~IMAX之間,并可以以該值除以256步進行線性調光。默認最大電流(IMAX)為37mA,可在全局在控制寄存器中更改IMAX。
HTR3316提供QFN4×4-24L封裝。價格:¥0.00 | 庫存99999 |
數量:
|
特點
| 應用
|
引腳號 | 名稱 | 功能 |
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. 默認GPIO模式,輸入或輸出(推挽結構),上電默認狀態由AD1和AD0決定。可設置為LED模式。 |
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. 默認GPIO模式,輸入或輸出(開漏結構(默認)或推挽結構),上電默認狀態由AD1和AD0決定??稍O置為LED模式。 |
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. 默認GPIO,輸入或輸出(開漏結構(默認)或推挽結構),上電默認狀態由AD1和AD0決定??稍O置為LED模式。 |
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. 默認GPIO,輸入或輸出(推挽結構), ,上電默認狀態由AD1和AD0決定??稍O置為LED模式。 |
18 | AD0 | I2C device address, connect to VCC or GND,and control the default state of GPIOs (see table 1)。 I2C器件地址選擇,接VCC或GND,并設置GPIO狀態(見表1)。 |
19 | SCL | I2C serial clock. I2C時鐘 |
20 | SDA | I2C serial data. I2C數據 |
21 | VCC | Power supply. 電源輸入端. |
22 | INTN | Interrupt output pin, open-drain, need external pull-up resistor; active low. 中斷輸出,開漏結構,需外部上拉電阻;低有效 |
23 | RSTN | Hardware reset pin, active low; internal 100 kΩ (typical) pull-down resistor. 硬件復位,低為復位;內部下拉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,并設置GPIO狀態(見表1)。 |
EP | GND | Provides both electrical and thermal connection from the device to the board. Connect to the system ground. 接地。 |