Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- uint32_t timestamp()
- {
- static uint32_t now = 0;
- return now += ( (uint16_t)( CT_ECAP.TSCTR >> 16 ) - (uint16_t)now );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement