-#define portCLEAR_ON_TGRA_COMPARE_MATCH ( ( unsigned char ) 0x20 )\r
-#define portCLOCK_DIV_64 ( ( unsigned char ) 0x03 )\r
-#define portCLOCK_DIV ( ( unsigned long ) 64 )\r
-#define portTGRA_INTERRUPT_ENABLE ( ( unsigned char ) 0x01 )\r
-#define portTIMER_CHANNEL ( ( unsigned char ) 0x02 )\r
-#define portMSTP13 ( ( unsigned short ) 0x2000 )\r
+#define portCLEAR_ON_TGRA_COMPARE_MATCH ( ( uint8_t ) 0x20 )\r
+#define portCLOCK_DIV_64 ( ( uint8_t ) 0x03 )\r
+#define portCLOCK_DIV ( ( uint32_t ) 64 )\r
+#define portTGRA_INTERRUPT_ENABLE ( ( uint8_t ) 0x01 )\r
+#define portTIMER_CHANNEL ( ( uint8_t ) 0x02 )\r
+#define portMSTP13 ( ( uint16_t ) 0x2000 )\r