| поискавой системы для электроныых деталей |
|
LM8322 датащи(PDF) 28 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
LM8322 датащи(HTML) 28 Page - National Semiconductor (TI) |
|
28 / 42 page ![]() 17.0 Host Commands Function Cmd Dir Data Bytes Description READ_ID 0x80 R nnnn nnnn Read the manufacturer code (nnnn nnnn) and the device revision number (pppp pppp). pppp pppp WRITE_CFG 0x81 W nnnn nnnn Write the hardware configuration register. READ_INT 0x82 R nnnn nnnn Read the interrupt code, deassert the IRQ output, and clear the code. (If the NOINIT bit is set, it remains set and IRQ remains asserted until a WRITE_CFG command is received. RESET 0x83 W nnnn nnnn Reset the LM8322. Error if nnnn nnnn is not 0xAA. WRITE_PULL_DO WN 0x84 W nnnn nnnn Select pullup (0) or pulldown (1) direction for the corresponding general-purpose I/O (GPIO) port pins. pppp pppp WRITE_PORT_SE L 0x85 W nnnn nnnn Select input (0) or output (1) for the corresponding general- purpose I/O (GPIO) port pins. pppp pppp WRITE_PORT_ST ATE 0x86 W nnnn nnnn For pins configured as inputs, 0 selects high-impedance mode and 1 enables a weak pullup. For pins configured as outputs, each bit specifies the logic level driven on the pin. pppp pppp READ_PORT_SEL 0x87 R nnnn nnnn Read the direction of the corresponding GPIO port pins. pppp pppp READ_PORT_STA TE 0x88 R nnnn nnnn Read the state on the corresponding GPIO port pins. pppp pppp READ_FIFO 0x89 R Up to 15 event codes Read an event from the FIFO. Maximum of 14 event codes stored in the FIFO. RPT_READ_FIFO 0x8A R Up to 15 event codes Repeats a FIFO read without advancing the FIFO pointer, for example to retry a read after an error. SET_ACTIVE 0x8B W nnnn nnnn Set the time during which the LM8322 stays active before entering Halt mode. The active time must be greater than the debounce time. The default time is 500 milliseconds. The valid range is 1255. Active time = n × 4 milliseconds. READ_ERROR 0x8C R nnnn nnnn Read and clear the error code. SET_DEBOUNCE 0x8F W nnnn nnnn Set the time for rescanning the keypad after detecting a key- press or key-release event to verify the event. The default time is 12 milliseconds. The valid range is 1255. Debounce time = n × 4 milliseconds and must not exceed active time. SET_KEY_SIZE 0x90 W nnnn pppp Set keypad size. nnnn = KP-Xx pins, pppp = KP-Yx pins READ_KEY_SIZE 0x91 R nnnn pppp Read keypad size. nnnn = KP-Xx pins, pppp = KP-Yx pins READ_CFG 0x92 R nnnn nnnn Read the hardware configuration register. WRITE_CLOCK 0x93 W nnnn nnnn Write the clock configuration register. READ_CLOCK 0x94 R nnnn nnnn Read the clock configuration register. PWM_WRITE 0x95 W aaaa aann Write a command to the PWM script command file. pppp pppp nn = PWM channel number (01, 10, or 11) qqqq qqqq aaaaaa = address in script command file (059) pppp pppp = high byte of script command qqqq qqqq = low byte of script command PWM_START 0x96 W aaaa aann Start script on channel nn (01, 10, or 11) at address aaaaaa. PWM_STOP 0x97 W 0000 00nn Stop script on channel nn (01, 10, or 11). www.national.com 28 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |