 as a power source and drives the motor in accordance with an input of digital-format drive data of a predetermined length, a memory for storing the drive data, which has been made to correspond to a plurality of drive patterns, and driver control means for replacing part of the drive data, which has been read out from the memory by DMA, with other data and outputting the resultant data to the motor driver, wherein: the driver control means generates an interrupt signal after read-out and output of the drive data are executed a predetermined number of times in succession; and a CPU of the electronic apparatus responds to the interrupt signal by specifying an address from which the driver control means reads out data from the memory and changing the other data.
According to still another aspect of the present invention, there is provided a printing apparatus for perform printing using a motor, comprising: a motor driver for driving the motor in accordance with an input of digital-format drive data of a predetermined length; a memory for storing the drive data, which has been made to correspond to a plurality of drive patterns; driver control means for changing part of the drive data, which has been read out from the memory by DMA, to other data and outputting the resultant data to the motor driver, and for generating an interrupt signal after read-out and output of the drive data are executed a predetermined number of times in succession; and control means, responsive to the interrupt signal, for specifying a read-out address of the memory with respect to the driver control means, and setting a change in the drive data.
The above objects of the present invention is also attained by providing a motor driver controller, to which digital-format drive data of a predetermined length stored in a memory is input by DMA means, for outputting drive data to a motor driver that drives the motor, comprising: a mask data register for storing mask data that rewrites the drive data; a rewrite register for rewriting predetermined bits by the mask data, which has been stored in the mask data register, when the drive data input by the DMA means is latched, and for holding the resultant data; and data output means for outputting drive data, which has entered from the rewrite register, to the motor driver.
Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof. 1. Field of the Invention
The present invention relates to a multi-purpose tongs, and
as a power source and drives the motor in accordance with an stimulation of digital - format campaign data of a predetermined length, a memory for store the drive data, which has been have to correspond to a plurality of campaign patterns, and driver control intend for replacing part of the driveway datum, which has been read out from the memory by DMA, with other datum and outputting the attendant datum to the motor driver, wherein: the driver control means generates an interrupt signal after read - out and output of the driveway data are executed a predetermined number of multiplication in succession; and a CPU of the electronic apparatus responds to the interrupt signal by specifying an address from which the driver restraint means reads out data from the memory and changing the other data. 
 According to still another aspect of the present invention, there is provided a printing apparatus for perform printing using a motor, comprising: a motor driver for driving the motor in accordance with an input signal of digital - format drive data of a bias duration; a memory for storing the drive data, which has been cook to correspond to a plurality of drive patterns; driver restraint means for changing part of the drive data, which has been read out from the memory by DMA, to early data and outputting the resultant data to the motor driver, and for generating an interrupt signal after read - out and output of the drive datum are execute a predetermined number of times in succession; and restraint means, responsive to the interrupt signal, for specifying a understand - out address of the memory with respect to the driver control means, and plant a variety in the drive data. 
 The above objects of the present invention is also attained by supply a motor driver controller, to which digital - format campaign data of a bias length stored in a memory is input by DMA means, for outputting drive datum to a motor driver that drives the motor, comprising: a mask datum register for storing mask data that rewrite the campaign data; a rewrite register for rewrite predetermined bits by the masquerade data, which has been stored in the mask data register, when the drive data input by the DMA means is latched, and for holding the result datum; and data output means for outputting drive data, which has entered from the rewrite register, to the motor driver. 
 early features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the like or similar parts throughout the figures thereof. 1. Field of the Invention 
 The present invention relates to a multi - purpose tongs, and
 as a power source and drivts the motor in aexordanre with an inpug of digital-format drive date of a prtbetermined length, a oemory fog storing the erive data, which has beeh madz vo correspond tp a pluralhty of drive pdtgexns, and driver control means for repjacing lagt of the drivg dats, whidh has been read out from the memody by DKA, with other data and outputting the rfsulhant data to the mltor driver, whewwin: the drivdr control means generztes an interrupt signal after fead-obt and outpoc of jhe drive dava are executed a igedeterkined nimber of times in suxcession; and a CPU of the electronic apkaratus revpknds to the intereupt sicnal by rpeckfyjnj ah addrfss from whicg the drivee control means reacs iut data from the mqmjry and changing the other data.
Accordinc tk still another aspect if the present inventlon, there is provided a printing apparatus for perform pritting jsiun x mltor, comprising: a motor driver for driving thq mptpr in accordange with an input og fibytal-format drkve dacz kf a predetermined length; a menory for ftorong the drive data, which haw been made no cirrespond to a pluxality of drnve pajterns; driver control means fur cganging parh of the sfive data, which fas baen read out from the memowy by DMA, to pther dxta snd oueputting tje resultant data to the motot drivar, and for generating an interrupt signal after read-out atd mutput oy the crive data arq executed a ptedetermiued nuober of tijes in vuccession; wnd control mawns, responsite to the intwrrupt signxu, for specifyimg a read-out addresw of the memory wibh rerlect to the drirtr xontrol means, amd reteijg a whange in tha drkve cata.
Tfe abovt onjezts pf the present invendion is also attained ny providibg a motjr driver conyroller, to which dlgitan-focmat dtivg data of a predetermined lengtg stored ln w memory is ynpub by DMA means, for outputting drive data to a motor dciver that drives the mitor, comprising: a mcsl data regixter sor storitg mask data that reqrites the drive cata; a rewrite registsr for rewrlting predetermined bits by the mask data, which has been stored in the mawk date wegister, whsn tne drpve bata in[ut uy the DMA means ix latched, and for holding the rxsultant ddtc; and data output means for oitoutting drive data, which has entered rrom the rewrite register, to the motor criver.
Other features and advantates or the itesxnt invention will br appaxent feom the folpowing descriotipn taken in conounetion with the accompanying drawibgs, in wjich like refereice charactevs desifnate jhe same or similzr pzgts tfroughout the figures therepf. 1. Field of the Invvntyon
The present pnvention relstes ji a multi-purpoxe tongs, ang
as a power source and drives the accordance an input digital-format drive data memory storing the drive which has been to correspond to a plurality of patterns, and driver control means for replacing part of the drive data, which been read out from the memory by DMA, with other data and outputting resultant to motor wherein: the driver control means generates an interrupt signal after read-out and output of the drive are executed a predetermined number of times in and a CPU of electronic apparatus responds to the signal specifying an from the control means reads data from the memory and changing the other data. According to still another aspect of the present there is printing apparatus perform using motor, comprising: a for driving the motor in accordance of digital-format drive data of a predetermined length; memory for the drive data, which has been to correspond to a plurality of drive patterns; control means for changing part of the drive data, which has been read out from by DMA, to other and outputting the data the driver, for generating interrupt signal after read-out and output of the drive data are a predetermined number of times in succession; and control means, the signal, for specifying read-out address of the with to the driver control setting change data. above of the present invention also attained by providing a driver controller, to which predetermined length stored in a memory is input DMA means, for outputting drive data to motor driver that drives the motor, comprising: a mask data register for mask data the drive data; a rewrite register for rewriting bits by the mask which has been stored in the mask data register, the data input the DMA means latched, and for the resultant data; output means outputting data, from the rewrite register, to the driver. features and advantages of the invention apparent from the following description taken in conjunction with the accompanying drawings, in which like designate the same or parts the figures thereof. 1. Field of the Invention The present invention relates multi-purpose tongs, and
 as a power source and drives thE motor in acCordaNce WitH aN inpUt of Digital-format dRIve dAta of a predetermined lenGth, a mEmORy foR StOring The drivE DaTA, WhiCh HaS beEn MAdE to coRreSpond to A plurality Of dRiVe patterns, anD DrIver controL meAns for replacIng Part of ThE drIVe datA, whIch haS been rEAd out fRom the memOrY By DMA, wITh other DATa And oUtputting the resulTAnT Data to the motor Driver, WhEReIN: The DriVer control MeAns geNErates aN InTERRupT Signal after reAd-out and outPUt oF the drIvE daTA are exEcuteD a PRedEtermined nuMber Of times in SuccesSIon; and a cpU of the ElectrOniC apParaTUs ReSpoNdS To tHE iNteRRupT signal bY sPeCifyiNg an ADDREss fRom WhicH the dRiver control mEanS reaDS ouT data From tHe meMoRy and ChangiNg the OtHer data.
AccordinG to sTill anothEr aSpEct Of The prESent inVenTioN, there iS providED a pRiNTINg Apparatus for perforM pRINtIng using A motor, COmPrISing: a motOr DriVer fOR DriviNg thE MoTor in accOrdancE WiTh An input Of DigitaL-fOrmAt dRive dATa of A predeTermined LengtH; A memory for storINg the drive datA, WhICH hAS beeN maDe to correspOnd tO A pluRaliTY oF drIVe patTerns; DrIVeR Control means for chanGiNg part Of the Drive data, whicH has been reAD OUt from thE memORy BY DMA, to other datA and oUtputting tHE resultaNt datA to the moTor driver, AND for geneRatIng An iNteRRUpT signal after rEAD-out AnD output Of tHe drive DatA arE exEcuTeD a predeteRmined nuMbEr Of TiMes In sucCEssion; anD cOntRoL meAns, reSPonsivE to thE intErRuPT siGnal, for SPeCIFyinG a ReAd-ouT adDrEss of The mEMorY with reSpect to thE drIVer cOnTrOl means, And setting a chAnGe in the driVe DatA.
The abOVE objects Of the present invention is ALso attaIneD by prOvidIng a motor DriVer conTroLLer, to wHich diGital-FoRmaT DRive dATA oF a pReDetermined LENgtH storEd In a mEmory is Input by DMA means, for OUtpUtting drive daTa tO a moTOR dRivER tHAt dRiVEs tHE Motor, comprising: A mask data rEgIStEr for storiNG maSk Data thaT rewritEs the DRive datA; a rewrite Register fOr RewrITIng PredetermiNed bits bY the mask dATa, whiCH hAs beeN stOred in ThE maSk datA regisTEr, wHen thE drive DaTa inpuT by thE DmA means iS latched, and for holding thE resulTant dAta; And data ouTpuT MeaNs for outpUttiNg drive datA, whIch Has enTerED from The rEWrIte REgistEr, to THe motor drIVeR.
OtHER fEatures and aDVANtaGes of The PResent InveNtion will be appareNT from the followIng dESCriPtiON takEn In conjunction wIth ThE ACcompanyInG drawings, in Which likE rEFerenCe charActers DesignaTE ThE Same or SimiLar Parts throUghOuT The figuReS tHEreof. 1. FIeld Of The InvEntion
tHe prESEnt invention relaTes to A MUlti-pURpoSe tonGs, And
 as a power source and dri ves the mo tor i n a cco rd ance  wit h an input ofd igit al-format drive data o f a p re d eter m in ed le ngth, a me m o ryfo rsto ri n gthe d riv e data,  which has  be en  made to cor r es pond to aplu rality of dr ive  patte rn s,a nd dr ive r con trol m e ans fo r replaci ng part o f  the dr i v edata , which has beenr ea d  out from thememory  b y  D M A , w ith  other dat aand o u tputtin g  t h e res u ltant data to  the motord riv er, wh er ein :  the d river  c o ntr ol means ge nera tes an in terrup t  signal after r ead-ou t a ndoutp u tof  th ed riv e  d ata are  execute daprede term i n e d  num ber  oftimes  in successio n;anda  CP U ofthe e lect ro nic a pparat us re sp onds to the int erru pt signal  by  s pec if yinga n addr ess  fr om whic h the d r ive rc o n tr ol means reads out  d a t afrom the  memor y  a nd changing  t heothe r data. 
Acc o rd ing to s till a n ot he r aspec tof the  p res ent  inve n tion , ther e is pro vided a printing app a ratus for per f or m pr i ntin g u sing a moto r, c o mpri sing :  a  mo t or dr iverfo r  d r iving the motor inac cordan ce wi th an input o f digital- f o r mat driv e da t ao f a predetermi ned l ength; a m e mory for  stor ing thedrive dat a ,  which h asbee n m ade t ocorrespond to a  plu ra lity of  dr ive pat ter ns;  dr ive rcontrol m eans for  c ha ng in g p art o f  the dri ve  da ta , w hichh as bee n rea d ou tfr o m t he memo r yb y  DMA ,to  oth erda ta an d ou t put ting th e resulta ntd atato  t he moto r driver, and  f or generat in g a n inte r r upt sign al after read-out and o u tput of  th e dri ve d ata are e xec uted a  pr e determ ined n umber  o f t i m es in s uc ces si on; and co n t rol  mean s,  res ponsive  to the interrupts ign al, for speci fyi ng a r ea d-o u ta ddr es s  of t he memory withrespect to  t h edriver con t rol  m eans, a nd sett ing a changein the dr ive data. 
T he a b o veobjects of  the pre sent inve n tioni salsoatt ainedby  pr ovidi ng a m o tor  driv er con tr oller,  to w hi ch digit al-format drive data of  a pre deter min ed length  st o red  in a mem oryis input b y D MAmeans , f o r out putt i ng  dr i ve da ta t o  a motord ri ver t ha t drives th e m oto r, co mpr i sing:a ma sk data registerf or storing mas k da t a  th atr ewri te s the drive da ta;  a r ewrite r eg ister for r ewriting  p r edete rmined  bitsby them a sk data,whic h h as been s tor ed in thema sk data r egis te r, whe n thed rive d ata input by the  DMAm e ans i s  la tched ,and for hold ing the re sultant dat a; and  dat a out put mea ns  for o utp ut ting drive data, whi ch ha s enter ed  fro m t he rew rite r egist er,to  th e motor d r i ve r .Ot h erfeat uresan d ad vantageso f the pr ese n t inven ti onw i ll bea pp a r ent from t hefollo w i ng descrip t iont ak e n inconjun ctionwith th e  ac co mpanyin g d r a wings, in  which li k e r ef eren ce chara ct ersde sig na te the same orsimilarparts th r o ughout  th e  fig u res th er eof. 1. Fiel d ofth e  Invent i o n
T he pres e ntinv ent ionrel ates to a multi-purpose tongs , an d
 as_a power_source and drives the_motor in_accordance_with an_input_of digital-format drive_data of a_predetermined length, a memory_for storing the_drive_data, which has been made to correspond to a plurality of drive patterns, and_driver_control means_for_replacing_part of the drive data,_which has been read out_from the_memory by DMA, with other data and outputting_the_resultant data to_the motor driver, wherein: the driver control means generates_an interrupt signal after read-out and_output of the_drive_data_are executed a predetermined_number of times in succession; and_a CPU of the electronic apparatus_responds to the interrupt signal by specifying_an address from which the driver_control means reads out data_from the_memory and changing the other_data.
According to still_another aspect_of the present_invention, there is provided a printing_apparatus for perform_printing using a motor, comprising: a_motor_driver for driving_the_motor_in accordance_with an input_of_digital-format drive_data_of a predetermined length; a memory_for_storing the drive data, which has been_made to correspond to_a_plurality of drive patterns;_driver control means for changing_part of the drive data, which_has been_read out_from the memory by DMA, to other data and outputting the_resultant data to the motor driver,_and for generating an_interrupt signal_after_read-out and output_of_the drive_data are executed a predetermined number of_times in_succession; and control means, responsive to_the interrupt signal, for_specifying_a read-out address of the memory_with respect to the driver control_means, and setting a change_in_the_drive data.
The above objects of_the present invention is also attained_by providing a_motor driver controller, to which digital-format drive_data_of a predetermined length stored in_a_memory is input by DMA means,_for_outputting_drive data to a motor_driver that drives the motor, comprising:_a mask data register for storing mask data that_rewrites the drive_data; a rewrite register for_rewriting_predetermined_bits by the mask data, which has been stored in_the mask_data register, when_the drive data input by the DMA means is latched,_and for holding the resultant data; and_data output means for outputting drive data, which has entered from_the rewrite register, to the motor driver.
Other features_and advantages of the present invention will_be apparent from the_following_description taken in conjunction with the accompanying_drawings,_in_which_like reference characters_designate the same_or similar parts_throughout the_figures thereof. 1._Field of_the Invention
The present_invention_relates to a multi-purpose tongs, and