Rev. 1.40
�3�
De�e��e� 1�� �01�
Rev. 1.40
�37
De�e��e� 1�� �01�
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
Sta�t
W�ite Ref. OSC inte�nal
Capa�ito� value
to Data Me�o�y (Se�to� � )
Tou�h Key Auto S�an Ope�ation Sta�t
Set Sta�t �it TKST 0
1
Busy flag TKBUSY=1
All Ti�e Slot
Counte� ove�flow ?
No
Initiate Ti�e Slot &
16-bit C/F Counter
All Ti�e Slot �ounte� &
16-bit C/F counter
Sta�t to �ount
Ti�e Slot &
16-bit C/F Counter
Keep �ounting
Yes
TKRCOV = 1
Gene�ate Inte��upt
�equest flag
Read C/F counter value from
Data Me�o�y (Se�to� �)
Tou�h key s�an end
Set TKST �it 1
0
End
Load Ref. OSC inte�nal
Capa�ito� value f�o�
Data Me�o�y (Se�to� � )
Store C/F counter value to
Data Me�o�y (Se�to� � )
All key s�an finish ?
Yes
No
Tou�h key �usy flag
TKBUSY=0
Change next key
Touch Key Auto Scan Mode Flow Chart – TKMOD=0, TSCS=0