BH66F2650/BH66F2660
Body Fat Measurment Flash MCU
Input/Output Ports.............................................................................................76
Pꢀll-high Resistoꢁs .....................................................................................................................76
Poꢁt A Wake-ꢀp ..........................................................................................................................77
I/O Poꢁt Contꢁol Registeꢁs..........................................................................................................77
I/O Poꢁt Soꢀꢁce Cꢀꢁꢁent Contꢁol.................................................................................................7ꢆ
Pin-shaꢁed Fꢀnctions .................................................................................................................79
I/O Pin Stꢁꢀctꢀꢁes.......................................................................................................................ꢆ3
Pꢁogꢁamming Consideꢁations ....................................................................................................ꢆꢃ
Timer Modules – TM ..........................................................................................84
Intꢁodꢀction ................................................................................................................................ꢆꢃ
TM Opeꢁation .............................................................................................................................ꢆ5
TM Clock Soꢀꢁce........................................................................................................................ꢆ5
TM Inteꢁꢁꢀpts..............................................................................................................................ꢆ5
TM Exteꢁnal Pins........................................................................................................................ꢆ5
TM Inpꢀt/Oꢀtpꢀt Pin Selection ...................................................................................................ꢆ6
Pꢁogꢁamming Consideꢁations.....................................................................................................ꢆ7
Standard Type TM – STM ..................................................................................88
Standaꢁd TM Opeꢁation..............................................................................................................ꢆꢆ
Standaꢁd Tꢂpe TM Registeꢁ Descꢁiption ....................................................................................ꢆ9
Standaꢁd Tꢂpe TM Opeꢁation Modes.........................................................................................93
Periodic Type TM – PTM..................................................................................103
Peꢁiodic TM Opeꢁation .............................................................................................................103
Peꢁiodic Tꢂpe TM Registeꢁ Descꢁiption....................................................................................103
Peꢁiodic Tꢂpe TM Opeꢁating Modes ........................................................................................10ꢆ
Analog to Digital Converter – ADC................................................................. 117
A/D Oveꢁview ...........................................................................................................................117
Inteꢁnal Poweꢁ Sꢀpplꢂ .............................................................................................................117
A/D Data Rate Definition..........................................................................................................11ꢆ
A/D Conveꢁteꢁ Registeꢁ Descꢁiption.........................................................................................119
A/D Opeꢁation ..........................................................................................................................1ꢅ7
Sꢀmmaꢁꢂ of A/D Conveꢁsion Steps..........................................................................................1ꢅꢆ
Pꢁogꢁamming Consideꢁations...................................................................................................1ꢅ9
A/D Tꢁansfeꢁ Fꢀnction ..............................................................................................................1ꢅ9
A/D Conveꢁted Data.................................................................................................................130
A/D Conveꢁted Data to Voltage................................................................................................131
A/D Pꢁogꢁamming Example......................................................................................................131
Tempeꢁatꢀꢁe Sensoꢁ.................................................................................................................13ꢅ
Serial Interface Module – SIM.........................................................................132
SPI Inteꢁface ............................................................................................................................13ꢅ
IꢅC Inteꢁface .............................................................................................................................139
Serial Peripheral Interface – SPIA..................................................................148
SPIA Inteꢁface Opeꢁation .........................................................................................................1ꢃꢆ
SPIA Registeꢁs.........................................................................................................................150
Rev. 1.10
ꢃ
�anꢀaꢁꢂ 0ꢃꢄ ꢅ01ꢆ