Input/Output Ports ........................................................................................... 104
Pull-high Resisto�s ...................................................................................................................107
Po�t A Wake-up ........................................................................................................................107
I/O Port Control Registers ........................................................................................................107
Pin-sha�ed Fun�tions ...............................................................................................................108
I/O Pin Structures .....................................................................................................................1�1
Timer Modules - TM ........................................................................................ 122
Int�odu�tion ..............................................................................................................................1��
TM Ope�ation ...........................................................................................................................1�3
TM Clo�k Sou��e ......................................................................................................................1�3
TM Inte��upts ............................................................................................................................1�3
TM Exte�nal Pins ......................................................................................................................1�3
Co�pa�t TM Ope�ation ............................................................................................................1��
Co�pa�t Type TM Registe� Des��iption...................................................................................1�7
Co�pa�t Type TM Ope�ation Modes .......................................................................................131
Standa�d TM Ope�ation ............................................................................................................137
Standa�d Type TM Registe� Des��iption ..................................................................................138
Pe�iodi� TM Ope�ation .............................................................................................................1��
Pe�iodi� Type TM Registe� Des��iption ....................................................................................1�3
Pe�iodi� Type TM Ope�ation Modes .........................................................................................1�7
A/D Overview ...........................................................................................................................1��
Registe�s Des��iptions .............................................................................................................1�7
A/D Operation ..........................................................................................................................173
A/D Reference Voltage .............................................................................................................174
A/D Input Pins ..........................................................................................................................174
Conve�sion Rate and Ti�ing Diag�a� .....................................................................................174
P�og�a��ing Conside�ations ...................................................................................................17�
A/D Transfer Function ..............................................................................................................17�
A/D Programming Examples ....................................................................................................177
SPI Inte�fa�e ............................................................................................................................179
I
C Inte�fa�e .............................................................................................................................18�
�
Rev. 1.40
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
4
De�e��e� 1�� �01�
Need help?
Do you have a question about the BS67F340 and is the answer not in the manual?