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决定。可设置为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决定。可设置为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决定。可设置为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. 接地。 |