datasheetbank_Logo
Технический паспорт Поисковая и бесплатно техническое описание Скачать

DLP-245PB-G Просмотр технического описания (PDF) - Unspecified

Номер в каталоге
Компоненты Описание
Список матч
DLP-245PB-G Datasheet PDF : 17 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
0xA9 – A/D Conversion
Parameters:
Returns:
Function:
Example:
Analog Port Number – Selects the analog port for the A/D conversion.
2 Bytes: The 10-bit voltage data; LSB first.
This function will set the channel for the A/D conversion, pause 10uS, perform
the A/D conversion, and then return 2 bytes to the host (LSB first). Command
0xA8 must have been previously called to configure the desired analog channel
as an A/D input.
0x2, 0xA9, 0x2, 0xA9 – Selects analog channel 2 (AN2), performs the A/D
conversion, and returns 2 bytes of data.
0xAA – EEPROM Read
Parameters:
Returns:
Function:
Example:
Address – Selects the zero-based address of the location in the 16F877A’s
internal EEPROM for reading.
1 Byte: The byte of data read from the EEPROM.
This function will read the selected location in the 16F877A’s internal EEPROM.
0x2, 0xAA, 0x2, 0xAA – Reads EEPROM Address 2, and returns a single byte of
data.
0xAB – EEPROM Write
Parameters:
Returns:
Function:
Example:
Address – Selects the zero-based address of the location in the 16F877A’s
internal EEPROM for writing.
Data Data to be written to the EEPROM.
Undefined.
This function will write the selected location in the 16F877A’s internal EEPROM.
0x3, 0xAA, 0x2, 0xFE, 0x55 – Writes a value of 0xFE to EEPROM Address 2.
V2.3
Page 9 of 15
February 2007

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]