| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
71M6545HT-IGTR/F bảng dữ liệu(PDF) 43 Page - Maxim Integrated Products |
|
|
|||||||||||||||||||||||||||||
71M6545HT-IGTR/F bảng dữ liệu(HTML) 43 Page - Maxim Integrated Products |
|
43 / 66 page ![]() Maxim Integrated │ 43 71M6545T/71M6545HT Energy Meter ICs www.maximintegrated.com sponding offsets relative to the Info Page base address. After reading the desired Info Page information, the MPU must reset the INFO_PG bit. The code below provides an example for reading Info Page fuse trims. In this code example, the address, px is a pointer to the MPU’s code space. In assembly language, the Info Page data objects, which are read-only, must be accessed with the MOVC 8051 instruction. In the C-language, Info Page trim fuses must be fetched with a pointer of the correct width, depending on the format of the trim fuse (an 8-bit or a 16-bit data object). The case statements in the code example below perform casts to obtain a pointer of the correct size for each object, as needed. In assembly language, the MPU has to form 11-bit or 16-bit values from two separate 8-bit fetches, depending on the object being fetched. The byte values containing less than 8 valid bits are LSB justified. For example Info Page offset 0x90 is an 8-bit object whose three LSBs are bits [10:8] of the complete TEMP_85[10:0] 11-bit object. The Info Page data objects are 2s complement format and should be sign-extended when read into a 16-bit data type (see case _TEMP85 in the code example). #if HIGH_PRECISION_METER int16_t read_trim (enum eTRIMSEL select) { uint8r_t *px; int16_t x; px = ((uint16_t)select) + ((uint8r_t *)(CE3 << 10)); switch (select) { default: case _TRIMBGD: INFO_PG = 1; x = *px; INFO_PG = 0; break; case _TRIMBGB: INFO_PG = 1; x = *(uint16r_t*)px; INFO_PG = 0; break; case _TEMP85: INFO_PG = 1; x = *(uint16r_t*)px; INFO_PG = 0; if (x & 0x800) x |= 0xF800; break; } return (x); } #endif //#if HIGH_PRECISION_METER Table 11. Info Page Trim Fuses REGISTER NAME DEFINITION LOCATION ADDRESS FORMAT TYPICAL VALUE STEMP_T85_P STEMP at +85C Info Block 0xAA, 0xAB 16 bits, signed 4400 STEMP_T22_P STEMP at +22C Info Block 0x8A, 0x8B 13 bits, unsigned 3600 T85_P Probe temperature at +85C Info Block 0xA6, 0xA7 16 bits signed 605 T22_P Probe temperature at +22C Info Block 0x9A 8 bits signed 35 STEMP Temperature sensor I/O RAM 0x2882, 0x2882 11 bits, sign extended |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |