Introduction - If you have any usage issues, please Google them yourself
slop function
1) call the function to initialize the various hardware modules.
2) control the corresponding IO charge and discharge.
3) In the capture interrupt in capture value read back, the resistance value is used to calculate Rsense.
Upload program can achieve measurement sensor resistance of the resistance. msp430g2553 can be used directly