| Electronic Components Datasheet Search |
|
BL6810 Datasheet(PDF) 49 Page - SHANGHAI BELLING CO., LTD. |
|
|
|||||||||||||||||||||||||||||
BL6810 Datasheet(HTML) 49 Page - SHANGHAI BELLING CO., LTD. |
|
49 / 50 page ![]() BL6810 Shanghai Belling Corp., Ltd. 49 / 50 13.3.36 User Flash Control Register Name Address Initial value Type Description ADR_NVR_ADDRL 0xf0 0x00 RW Low address ADR_NVR_ADDRH 0xf1 0x00 RW High address ADR_NVR_WD 0xf2 0x00 RW Write data ADR_NVR_RD 0xf3 0x00 RO Read data ADR_NVR_CTRL 0xf4 0x00 RW Control byte "2a", page erase "10", read "01", write 1. NVR can read and write address from 0x000 to 0x1FF, total is 512 bytes 2. Low address written first, and then written high address. The whole process can’t be interrupted, otherwise the operation may fail. Advised to turn off interrupts. 3. Address increase 1 automatic. 4. CPU is in suspended state when writing operation, and recovery after completed, no need to use software delay The sample application for reading and writing a byte unsigned char ifp_nvr_read(unsigned char addr_h, unsigned char addr_l) /*using 0*/ { SSC_ADR = ADR_NVR_ADDRL; SSC_DAT = addr_l; SSC_ADR = ADR_NVR_ADDRH; SSC_DAT = addr_h; SSC_ADR = ADR_NVR_CTRL; SSC_DAT = 0x10; SSC_ADR = ADR_NVR_RD; return SSC_DAT; } void ifp_nvr_write(unsigned char addr_h, unsigned char addr_l, unsigned char dt) /*using 0*/ { SSC_ADR = ADR_NVR_ADDRL; SSC_DAT = addr_l; SSC_ADR = ADR_NVR_ADDRH; SSC_DAT = addr_h; SSC_ADR = ADR_NVR_WD; SSC_DAT = dt; SSC_ADR = ADR_NVR_CTRL; SSC_DAT = 0x01; } |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |