Setting Of Transfer Enable Bit (Bfok) During Control Transfer - Fujitsu MB91319 Series Hardware Manual

Fr60 32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 17 USB FUNCTION
17.4.8
Setting of Transfer Enable bit (BFOK) during Control
Transfer
To enable the macro program to receive a command and respond to it with ACK in the
setup stage of control transfer, the BFOK0o bit of the CONT3 register must be set to 1.
If the BFOK0o bit is 0, the command is ignored and time-out occurs. The same
condition also applies to the commands that are automatically processed by the macro
program in the setup stage.
■ Setting of Transfer Enable (BFOK) Bits during Control Transfer
The settings of the BFOK0i and BFOK0o bits during control transfer are explained below.
❍ For a request the macro program processes automatically
Setup stage
The BFOK0o bit must be set to 1 to enable an ACK response.
If the BFOK0o bit is 0, a time-out occurs.
Data stage
IN: No request is processed automatically by the macro program.
OUT: ACK response is made regardless of the setting of BFOK0o.
Status stage
IN: ACK response is made regardless of the setting of BFOK0i.
OUT: ACK response is made regardless of the setting of BFOK0o.
❍ For a request the macro program does not process automatically
Setup stage
The BFOK0o bit must be set to 1 to enable an ACK response.
Data stage
IN: The BFOK0i bit must be set to 1 to enable an ACK response.
OUT: The BFOK0o bit must be set to 1 to enable an ACK response.
Status stage
IN: The BFOK0i bit must be set to 1 to enable an ACK response.
OUT: The BFOK0o bit must be set to 1 to enable an ACK response.
448

Advertisement

Table of Contents
loading

Table of Contents