X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-lib.git/blobdiff_plain/55433cf00200eebb491a885bb64701d56b60e687..cc2ca82b4245bfb8eeecd7585cc7abd16d35ea8d:/rpp/include/hal/_tms570_hydctr/port_def.h diff --git a/rpp/include/hal/_tms570_hydctr/port_def.h b/rpp/include/hal/_tms570_hydctr/port_def.h index 5095a19..3ec8180 100644 --- a/rpp/include/hal/_tms570_hydctr/port_def.h +++ b/rpp/include/hal/_tms570_hydctr/port_def.h @@ -62,16 +62,16 @@ typedef struct port_def_st { #define PORT_CFG_GIOA { PIN_DSC_GIOA0, PIN_DSC_GIOA1, PIN_DSC_GIOA2, PIN_DSC_GIOA3, \ PIN_DSC_GIOA4, PIN_DSC_GIOA5, PIN_DSC_GIOA6, PIN_DSC_GIOA7 } #define PORT_NV_GIOA 8 -#define PORT_GFC_GIOA &hal_gio_port_get_val -#define PORT_SFC_GIOA &hal_gio_port_set_val +#define PORT_GFC_GIOA &hal_gpio_port_get_val +#define PORT_SFC_GIOA &hal_gpio_port_set_val #define PORT_INT_TYPE_GIOA PORT_INTERFACE_GPIO #define PORT_NAME_GIOB "GIOB" #define PORT_CFG_GIOB { PIN_DSC_GIOB0, PIN_DSC_GIOB1, PIN_DSC_GIOB2, PIN_DSC_GIOB3, \ PIN_DSC_GIOB4, PIN_DSC_GIOB5, PIN_DSC_GIOB6, PIN_DSC_GIOB7 } #define PORT_NV_GIOB 8 -#define PORT_GFC_GIOB &hal_gio_port_get_val -#define PORT_SFC_GIOB &hal_gio_port_set_val +#define PORT_GFC_GIOB &hal_gpio_port_get_val +#define PORT_SFC_GIOB &hal_gpio_port_set_val #define PORT_INT_TYPE_GIOB PORT_INTERFACE_GPIO /* Some pins are commented out, because they are muxed with SCI. */ @@ -85,8 +85,8 @@ typedef struct port_def_st { PIN_DSC_NHET1_24, PIN_DSC_NHET1_25, PIN_DSC_NHET1_26, PIN_DSC_NHET1_27, \ PIN_DSC_NHET1_28, PIN_DSC_NHET1_29, PIN_DSC_NHET1_30, PIN_DSC_NHET1_31 } #define PORT_NV_NHET1 30 -#define PORT_GFC_NHET1 &hal_gio_port_get_val -#define PORT_SFC_NHET1 &hal_gio_port_set_val +#define PORT_GFC_NHET1 &hal_gpio_port_get_val +#define PORT_SFC_NHET1 &hal_gpio_port_set_val #define PORT_INT_TYPE_NHET1 PORT_INTERFACE_GPIO #define PORT_ADC_CHANNEL_NUM 16