Beispiel #1
0
enum parseType F()
{
	char *save = next;
	if (!F02()) {
		next = save;
		if (!F01()) {
			return tERR;
		} else return tF01;
	} else return tF02;
	return tERR;
}
Beispiel #2
0
/* F function mapping */
uint32_t F (uint8_t idx, uint32_t v0) {
	/* choose function based on idx */
	switch(idx) {
		case  0:  return( F00(v0) );
		case  1:  return( F01(v0) );
		case  2:  return( F02(v0) );
		case  3:  return( F03(v0) );
		case  4:  return( F04(v0) );
		case  5:  return( F05(v0) );
		case  6:  return( F06(v0) );
		case  7:  return( F07(v0) );
		case  8:  return( F08(v0) );
		case  9:  return( F09(v0) );
		case 10:  return( F10(v0) );
		case 11:  return( F11(v0) );
		case 12:  return( F12(v0) );
		case 13:  return( F13(v0) );
		case 14:  return( F14(v0) );
		case 15:  return( F15(v0) );
		default:  return( F15(v0) );
	}
}