diff options
Diffstat (limited to 'c/src/libchip/rtc/icm7170.h')
-rw-r--r-- | c/src/libchip/rtc/icm7170.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/c/src/libchip/rtc/icm7170.h b/c/src/libchip/rtc/icm7170.h index de672699df..743cb89b04 100644 --- a/c/src/libchip/rtc/icm7170.h +++ b/c/src/libchip/rtc/icm7170.h @@ -51,48 +51,48 @@ extern rtc_fns icm7170_fns; * Default register access routines */ -unsigned32 icm7170_get_register( /* registers are at 1 byte boundaries */ - unsigned32 ulCtrlPort, /* and accessed as bytes */ - unsigned8 ucRegNum +uint32_t icm7170_get_register( /* registers are at 1 byte boundaries */ + uint32_t ulCtrlPort, /* and accessed as bytes */ + uint8_t ucRegNum ); void icm7170_set_register( - unsigned32 ulCtrlPort, - unsigned8 ucRegNum, - unsigned32 ucData + uint32_t ulCtrlPort, + uint8_t ucRegNum, + uint32_t ucData ); -unsigned32 icm7170_get_register_2( /* registers are at 2 byte boundaries */ - unsigned32 ulCtrlPort, /* and accessed as bytes */ - unsigned8 ucRegNum +uint32_t icm7170_get_register_2( /* registers are at 2 byte boundaries */ + uint32_t ulCtrlPort, /* and accessed as bytes */ + uint8_t ucRegNum ); void icm7170_set_register_2( - unsigned32 ulCtrlPort, - unsigned8 ucRegNum, - unsigned32 ucData + uint32_t ulCtrlPort, + uint8_t ucRegNum, + uint32_t ucData ); -unsigned32 icm7170_get_register_4( /* registers are at 4 byte boundaries */ - unsigned32 ulCtrlPort, /* and accessed as bytes */ - unsigned8 ucRegNum +uint32_t icm7170_get_register_4( /* registers are at 4 byte boundaries */ + uint32_t ulCtrlPort, /* and accessed as bytes */ + uint8_t ucRegNum ); void icm7170_set_register_4( - unsigned32 ulCtrlPort, - unsigned8 ucRegNum, - unsigned32 ucData + uint32_t ulCtrlPort, + uint8_t ucRegNum, + uint32_t ucData ); -unsigned32 icm7170_get_register_8( /* registers are at 8 byte boundaries */ - unsigned32 ulCtrlPort, /* and accessed as bytes */ - unsigned8 ucRegNum +uint32_t icm7170_get_register_8( /* registers are at 8 byte boundaries */ + uint32_t ulCtrlPort, /* and accessed as bytes */ + uint8_t ucRegNum ); void icm7170_set_register_8( - unsigned32 ulCtrlPort, - unsigned8 ucRegNum, - unsigned32 ucData + uint32_t ulCtrlPort, + uint8_t ucRegNum, + uint32_t ucData ); #endif |