*******************************************************************/
-#include <types.h>
+#include <stdint.h>
#include <cpu_def.h>
//#include <h8s2633h.h>
#include <mcu_regs.h>
#endif
-__u8 test_buf_tx[TEST_BUF]={0x10,0x11,0x22,0x33};
-__u8 test_buf_rx[TEST_BUF];
+uint8_t test_buf_tx[TEST_BUF]={0x10,0x11,0x22,0x33};
+uint8_t test_buf_rx[TEST_BUF];
int test_callback(struct iic_ifc *ifc, int code, struct iic_msg_head *msg);
unsigned t_mkbd_cnt=0;
-__u8 t_mkbd_buf_tx[TEST_BUF];
-__u8 t_mkbd_buf_rx[TEST_BUF];
+uint8_t t_mkbd_buf_tx[TEST_BUF];
+uint8_t t_mkbd_buf_rx[TEST_BUF];
int t_mkbd_callback(struct iic_ifc *ifc, int code, struct iic_msg_head *msg);
int t_mkbd_callback(struct iic_ifc *ifc, int code, struct iic_msg_head *msg)
{
unsigned u,v;
- __u8 *p;
+ uint8_t *p;
if(code==IIC_MSG_CB_PROC) return test_callback(ifc, code, msg);
switch(code){
}
-int test_rd_arr(char **ps, __u8 *buf, int n)
+int test_rd_arr(char **ps, uint8_t *buf, int n)
{
long val;
int c;