Serial port: To which kind of variable can I assing this SERIAL_8N1?(Solved)

No worries, I find myself looking at the core frequently to verify stuff.

@Frédéric_Plante, please do not delete posts. The code I wrote does not make sense without the 'real' if statement. It has little relevance to the 'if' I asked you for more info on.

So if people are wondering where I pulled the values from, here is the code.

	if (bit_parite == 0){

		if(longueur_donnees == 7){

			if (bit_arret == 0){configuration_UART=0x04}
			else if (bit_arret == 2){configuration_UART=0x0C}

		}

		if(longueur_donnees == 8){

			if (bit_arret == 0){configuration_UART=0x06}
			else if (bit_arret == 2){configuration_UART=0x0E}
		}

	}

	else if (bit_parite == 1){

		if(longueur_donnees == 7){
		
			if (bit_arret == 0){configuration_UART=0x34}
			else if (bit_arret == 2){configuration_UART=0x3C}

		}

		if(longueur_donnees == 8){

			if (bit_arret == 0){configuration_UART=0x36}
			else if (bit_arret == 2){configuration_UART=0x3E}

		}

	}

	else if (bit_parite == 2){

		if(longueur_donnees == 7){

			if (bit_arret == 0){configuration_UART=0x24}
			else if (bit_arret == 2){configuration_UART=0x2C}

		}

		if(longueur_donnees == 8){

			if (bit_arret == 0){configuration_UART=0x26}
			else if (bit_arret == 2){configuration_UART=0x2E}

		}

	}