![FTDI FT51A Скачать руководство пользователя страница 99](http://html1.mh-extra.com/html/ftdi/ft51a/ft51a_application-note_2341158099.webp)
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
98
Copyright © 2015 Future Technology Devices International Limited
Bit
Symbol
Reset
Description
3-0
Clock Division Factor
0xB
The Clock Division Factor value (CDF) determines the
output clock frequency on the CLKOUT pin. Frequency =
48 MHz / (CDF +1), where CDF ranges 1-12 or the
allowed CLKOUT frequency is 4-24 MHz. Default CLKOUT
is 4 MHz.
When the CDF is programmed to 0xF, the CLKOUT will
be turned off. It is recommended to turn off the CLKOUT
if it is not used, for power saving.
Note: The programmed value is not be changed by a
bus reset.
5-4
Reserved
0
Reserved, write to 0
6
SET_TO_ONE
0
This bit must be set to 1
7
SOF-only Interrupt
Mode
0
0: normal operation
1: interrupt will generate on receiving SOF packet only.
Table 2.122 Clock Division Factor Register (Byte 2)
2.11.3.4
Set Endpoint Configuration (for Enhanced Mode)
Command
: 0xB0-0xBF
Data
: Write 1 byte
Bit
Symbol
Reset
Description
0
Endpoint Enabled
0
Enable or disable the endpoint index associated with the
command
2-1
Endpoint Type
0
Endpoint type
00: control
01: bulk or interrupt
10: isochronous
11: reserved
6-3
Max Packet Size
0
Maximum USB packet size for this endpoint. Defined by
the IN buffer or OUT buffer size for the endpoint. Refer
to Section 2.11.1 for full details on the buffer
configuration.
7
Reserved
0
Reserved, write to 0
Table 2.123 Endpoint Configuration Register