Embedded controller design based on ARM and FPGA