summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/rtc/m48t08.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/libchip/rtc/m48t08.h')
-rw-r--r--c/src/libchip/rtc/m48t08.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/c/src/libchip/rtc/m48t08.h b/c/src/libchip/rtc/m48t08.h
index b4e22ace5e..496d288ab7 100644
--- a/c/src/libchip/rtc/m48t08.h
+++ b/c/src/libchip/rtc/m48t08.h
@@ -41,48 +41,48 @@ extern rtc_fns m48t08_fns;
* Default register access routines
*/
-unsigned32 m48t08_get_register( /* registers are at 1 byte boundaries */
- unsigned32 ulCtrlPort, /* and accessed as bytes */
- unsigned8 ucRegNum
+uint32_t m48t08_get_register( /* registers are at 1 byte boundaries */
+ uint32_t ulCtrlPort, /* and accessed as bytes */
+ uint8_t ucRegNum
);
void m48t08_set_register(
- unsigned32 ulCtrlPort,
- unsigned8 ucRegNum,
- unsigned32 ucData
+ uint32_t ulCtrlPort,
+ uint8_t ucRegNum,
+ uint32_t ucData
);
-unsigned32 m48t08_get_register_2( /* registers are at 2 byte boundaries */
- unsigned32 ulCtrlPort, /* and accessed as bytes */
- unsigned8 ucRegNum
+uint32_t m48t08_get_register_2( /* registers are at 2 byte boundaries */
+ uint32_t ulCtrlPort, /* and accessed as bytes */
+ uint8_t ucRegNum
);
void m48t08_set_register_2(
- unsigned32 ulCtrlPort,
- unsigned8 ucRegNum,
- unsigned32 ucData
+ uint32_t ulCtrlPort,
+ uint8_t ucRegNum,
+ uint32_t ucData
);
-unsigned32 m48t08_get_register_4( /* registers are at 4 byte boundaries */
- unsigned32 ulCtrlPort, /* and accessed as bytes */
- unsigned8 ucRegNum
+uint32_t m48t08_get_register_4( /* registers are at 4 byte boundaries */
+ uint32_t ulCtrlPort, /* and accessed as bytes */
+ uint8_t ucRegNum
);
void m48t08_set_register_4(
- unsigned32 ulCtrlPort,
- unsigned8 ucRegNum,
- unsigned32 ucData
+ uint32_t ulCtrlPort,
+ uint8_t ucRegNum,
+ uint32_t ucData
);
-unsigned32 m48t08_get_register_8( /* registers are at 8 byte boundaries */
- unsigned32 ulCtrlPort, /* and accessed as bytes */
- unsigned8 ucRegNum
+uint32_t m48t08_get_register_8( /* registers are at 8 byte boundaries */
+ uint32_t ulCtrlPort, /* and accessed as bytes */
+ uint8_t ucRegNum
);
void m48t08_set_register_8(
- unsigned32 ulCtrlPort,
- unsigned8 ucRegNum,
- unsigned32 ucData
+ uint32_t ulCtrlPort,
+ uint8_t ucRegNum,
+ uint32_t ucData
);
#endif