Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- volatile uint8_t* pWL = (uint8_t*)0x00; // Pointer to R1:R0
- volatile uint8_t* pWH = (uint8_t*)0x01; // Pointer to R1:R0
- volatile uint8_t* pZL = (uint8_t*)0x1E; // Pointer to R31:R30 (Z-pointer)
- volatile uint8_t* pZH = (uint8_t*)0x1F; // Pointer to R31:R30 (Z-pointer)
- CCP = 0xE7;
- *pZL = 0x00;
- *pZH = 0x27;
- NVMCMD = 0x1D; //WORD_WRITE
- CCP = 0xE7;
- *pWL = 0xDD;
- *pWH = 0xDD;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement