HSE usage
[cortex-from-scratch] / include / lib / regfunc.h
index f194df0..b13c28f 100644 (file)
@@ -1,5 +1,10 @@
 /* regfunc.h */
 extern char * regtohex(uint32_t );
 extern uint32_t hextoreg(char *);
+extern void rsetbit(volatile uint32_t *, short);
+extern void rclrbit(volatile uint32_t *, short);
+extern void rsetbitsfrom(volatile uint32_t *, short, int);
+extern int rchkbit(volatile uint32_t *, short);
+extern void rwrite(volatile uint32_t *, uint32_t);
 extern void regw_u8(volatile uint32_t *, uint8_t, short, short);
 extern void regw_u32(volatile uint32_t *, uint32_t, short, short);