Information processing apparatus, method of controlling the same, and storage medium for controlling transition to a sleep mode and setting of an interrupt setting in accordance with reception of data
AssigneeCanon Kabushiki Kaisha
InventorYasuo Hirouchi
Life of this patent
Estimating the term…
Abstract
An information processing apparatus having an interface for communicating with an external apparatus, and a method of controlling the same, detect that a transition condition for the information processing apparatus to transition into a sleep mode is satisfied; and cancel, in a case where an interrupt from the interface occurs during an interval from a timing of that it is detected that the transition condition is satisfied to a timing of that the transition to the sleep mode completes, the transition to the sleep mode.
Claims13
An information processing apparatus having an interface for communicating with an external apparatus, the information processing apparatus comprising:
- a processor;
- a memory;
- a detection unit configured to detect that a transition condition for the information processing apparatus to transition into a sleep mode is satisfied;
- a setting unit configured to set, for the interface, (a) a NAK response setting for indicating that a NAK response is performed upon a data reception and (b) an interrupt setting for indicating that an interrupt is caused to occur upon a reception of data, in a case where the detection unit detects that the transition condition is satisfied;
- and
- a controlling unit configured to stop a transition to the sleep mode, when the interrupt is caused to occur during the interval after the setting unit has set the NAK response setting and the interrupt setting to the interface until the transition to the sleep mode is completed, and to cancel the NAK response setting and the interrupt setting set to the interface,
- wherein the detection unit, the setting unit and the controlling unit are implemented at least in part by the processor executing at least one program recorded on the memory.
A method of controlling an information processing apparatus having an interface for communicating with an external apparatus, the method comprising:
- detecting that a transition condition for the information processing apparatus to transition into a sleep mode is satisfied;
- setting, for the interface, (a) a NAK response setting for indicating that a NAK response is performed upon a data reception and (b) an interrupt setting for indicating that an interrupt is caused to occur upon a reception of data, in a case where it is detected that the transition condition is satisfied;
- stopping, when the interrupt is caused to occur during the interval after the NAK response setting and the interrupt setting are set to the interface until the transition to the sleep mode is completed, a transition to the sleep mode and cancelling the NAK response setting and the interrupt setting set to the interface.
A non-transitory computer-readable storage medium storing a program for causing a computer to function as an information processing apparatus having an interface for communicating with an external apparatus, the information processing apparatus comprising:
- a detection module for detecting that a transition condition for the information processing apparatus to transition into a sleep mode is satisfied;
- a setting module for setting, for the interface, (a) a NAK response setting for indicating that a NAK response is performed upon a data reception and (b) an interrupt setting for indicating that an interrupt is caused to occur upon a reception of data, in a case where the detection module detects that the transition condition is satisfied;
- and
- a controlling module for stopping a transition to the sleep mode, in a case where the interrupt is caused to occur during the interval after the setting module has set the NAK response setting and the interrupt setting to the interface until the transition to the sleep mode is completed, and cancelling the NAK response setting and the interrupt setting set to the interface.
An information processing apparatus having an interface for communicating with an external apparatus, the information processing apparatus comprising:
- a processor;
- a memory;
- a detection unit configured to detect that a transition condition for the information processing apparatus to transition into a sleep mode is satisfied;
- a setting unit configured to set, for the interface, (a) a NAK response setting for indicating that a NAK response is performed upon a data reception and (b) an interrupt setting for indicating that an interrupt is caused to occur upon the data reception, in a case where the detection unit detects that the transition condition is satisfied;
- and
- a controlling unit configured to stop a transition to the sleep mode, when the interrupt is caused to occur during the interval after the setting unit has set the NAK response setting and the interrupt setting to the interface until a predetermined time period has elapsed, and to cancel the NAK response setting and the interrupt setting set to the interface,
- wherein the detection unit, the setting unit and the controlling unit are implemented at least in part by the processor executing at least one program recorded on the memory.
A method of controlling an information processing apparatus having an interface for communicating with an external apparatus, the method comprising:
- detecting that a transition condition for the information processing apparatus to transition into a sleep mode is satisfied;
- setting, for the interface, a NAK response setting for indicating that a NAK response is performed upon a data reception and an interrupt setting for indicating that an interrupt is caused to occur upon the data reception, in a case where it is detected in the detecting that the transition condition is satisfied;
- and
- stopping a transition to the sleep mode, when the interrupt is caused to occur during the interval after the NAK response setting and the interrupt setting are set to the interface until a predetermined time period has elapsed, and cancelling the NAK response setting and the interrupt setting set to the interface.
A non-transitory computer-readable storage medium storing a program for causing a computer to function as an information processing apparatus having an interface for communicating with an external apparatus, the information processing apparatus comprising:
- a detection module for detecting that a transition condition for the information processing apparatus to transition into a sleep mode is satisfied;
- a setting module for setting, for the interface, (a) a NAK response setting for indicating that a NAK response is performed upon a data reception and (b) an interrupt setting for indicating that an interrupt is caused to occur upon the data reception, in a case where the detection module detects that the transition condition is satisfied;
- and
- a controlling module for stopping a transition to the sleep mode, when the interrupt is caused to occur during the interval after the setting module has set the NAK response setting and the interrupt setting to the interface until a predetermined time period has elapsed, and cancelling the NAK response setting and the interrupt setting set to the interface.
Dependencies are inferred from the claim text.