Trying to understand typedef struct enum

That's a function prototype, not a function call. You need to get rid of the type specification to call the function:

mySensor.setInterruptMode(val);

val must be a variable of type sths34pf80_int_mode_t.