47 #include "IfxGpt12_reg.h"
973 return &MODULE_SRC.GPT12.GPT12[0].T2;
979 return (
uint16)gpt12->T2.U;
985 gpt12->T2CON.B.T2R = runTimer;
991 gpt12->T2CON.B.T2I = inputMode;
997 gpt12->T2CON.B.T2I = inputMode;
1003 gpt12->T2CON.B.T2UDE = source;
1010 gpt12->PISEL.B.IST2EUD = input;
1016 gpt12->T2CON.B.T2I = inputMode;
1023 gpt12->PISEL.B.IST2IN = input;
1029 gpt12->T2CON.B.T2IRDIS = enabled ? 0 : 1;
1035 gpt12->T2CON.B.T2M = mode;
1041 gpt12->T2CON.B.T2I = inputMode;
1047 gpt12->T2CON.B.T2RC = control;
1053 gpt12->T2CON.B.T2UD = direction;
1059 gpt12->T2CON.B.T2I = inputPrescaler;
1065 gpt12->T2.U = value;
1071 gpt12->T3CON.B.T3OE = enable ? 1 : 0;
1083 return &MODULE_SRC.GPT12.GPT12[0].T3;
1089 return (
uint16)gpt12->T3.U;
1095 gpt12->T3CON.B.T3R = runTimer;
1102 gpt12->T3CON.B.T3I = inputMode;
1108 gpt12->T3CON.B.T3UDE = source;
1114 gpt12->PISEL.B.IST3EUD = input;
1120 gpt12->T3CON.B.T3I = inputMode;
1126 gpt12->PISEL.B.IST3IN = input;
1133 gpt12->T3CON.B.T3M = mode;
1139 gpt12->T3CON.B.T3UD = direction;
1145 gpt12->T3CON.B.T3I = inputPrescaler;
1151 gpt12->T3.U = value;
1157 gpt12->T4CON.B.CLRT2EN = enabled ? 1 : 0;
1163 gpt12->T4CON.B.CLRT3EN = enabled ? 1 : 0;
1175 return &MODULE_SRC.GPT12.GPT12[0].T4;
1181 return (
uint16)gpt12->T4.U;
1187 gpt12->T4CON.B.T4R = runTimer;
1193 gpt12->T4CON.B.T4I = inputMode;
1199 gpt12->T4CON.B.T4I = inputMode;
1205 gpt12->T4CON.B.T4UDE = source;
1211 gpt12->PISEL.B.IST4EUD = input;
1217 gpt12->T4CON.B.T4I = inputMode;
1223 gpt12->PISEL.B.IST4IN = input;
1229 gpt12->T4CON.B.T4IRDIS = enabled ? 0 : 1;
1235 gpt12->T4CON.B.T4M = mode;
1241 gpt12->T4CON.B.T4I = inputMode;
1247 gpt12->T4CON.B.T4RC = control;
1253 gpt12->T4CON.B.T4UD = direction;
1259 gpt12->T4CON.B.T4I = inputPrescaler;
1265 gpt12->T4.U = value;
1271 gpt12->T5CON.B.T5CLR = enabled ? 1 : 0;
1283 return &MODULE_SRC.GPT12.GPT12[0].T5;
1289 return (
uint16)gpt12->T5.U;
1295 gpt12->T5CON.B.T5R = runTimer;
1301 gpt12->T5CON.B.CT3 = trigger;
1307 gpt12->T5CON.B.T5SC = enabled;
1313 gpt12->T5CON.B.CI = mode;
1319 gpt12->T5CON.B.T5I = inputMode;
1325 gpt12->T5CON.B.T5UDE = source;
1332 gpt12->PISEL.B.IST5EUD = input;
1339 gpt12->PISEL.B.IST5IN = input;
1346 gpt12->T5CON.B.T5M = mode;
1352 gpt12->T5CON.B.T5RC = control;
1358 gpt12->T5CON.B.T5UD = direction;
1364 gpt12->T5CON.B.T5I = inputPrescaler;
1370 gpt12->T5.U = value;
1376 gpt12->T6CON.B.T6CLR = enabled ? 1 : 0;
1388 return &MODULE_SRC.GPT12.GPT12[0].T6;
1394 return (
uint16)gpt12->T6.U;
1400 gpt12->T6CON.B.T6R = runTimer;
1407 gpt12->T6CON.B.T6I = inputMode;
1413 gpt12->T6CON.B.T6UDE = source;
1420 gpt12->PISEL.B.IST6EUD = input;
1427 gpt12->PISEL.B.IST6IN = input;
1434 gpt12->T6CON.B.T6M = mode;
1440 gpt12->T6CON.B.T6UD = direction;
1446 gpt12->T6CON.B.T6I = inputPrescaler;
1452 gpt12->T6.U = value;
1458 return &MODULE_SRC.GPT12.GPT12[0].CIRQ;
1484 gpt12->PISEL.B.ISCAPIN = input;
1490 gpt12->T3CON.B.BPS1 = bps1;
1496 gpt12->T6CON.B.BPS2 = bps2;
1504 gpt12->CLC.B.EDIS = mode;