b13c28f3e65d1b3e35d0a2566e7bc34c985741c6
[cortex-from-scratch] / include / lib / regfunc.h
1 /* regfunc.h */
2 extern char * regtohex(uint32_t );
3 extern uint32_t hextoreg(char *);
4 extern void rsetbit(volatile uint32_t *, short);
5 extern void rclrbit(volatile uint32_t *, short);
6 extern void rsetbitsfrom(volatile uint32_t *, short, int);
7 extern int rchkbit(volatile uint32_t *, short);
8 extern void rwrite(volatile uint32_t *, uint32_t);
9 extern void regw_u8(volatile uint32_t *, uint8_t, short, short);
10 extern void regw_u32(volatile uint32_t *, uint32_t, short, short);