A portable electronic device includes a first chassis and a second chassis
movably connected to one another, which can be opened away from one
another and closed against one another, a magnetic recording device (a
hard disk device) provided within the first chassis, and a wireless
communication module (a non contact type IC module) provided within the
second chassis. The portable electronic device can be operated in a mode
#1 in which the operation of the non contact type IC module is permitted
while the operation of the HDD section is prohibited, or in a mode #2 in
which the operation of the non contact type IC module is prohibited while
the operation of the HDD section is permitted. Since operation of the non
contact type IC module is prohibited when the system is changed over from
the mode #1 to the mode #2, accordingly the HDD section can perform
reading or writing without experiencing any influence due to shock,
magnetism, or electromagnetic waves.