pic32mx270f256b.pp 1.1 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757
  1. unit pic32mx270f256b;
  2. interface
  3. {$goto on}
  4. {$modeswitch advancedrecords}
  5. {$INLINE ON}
  6. {$OPTIMIZATION STACKFRAME}
  7. {$L startup.o}
  8. {$PACKRECORDS 2}
  9. type
  10. TBits_1 = 0..1;
  11. TBits_2 = 0..3;
  12. TBits_3 = 0..7;
  13. TBits_4 = 0..15;
  14. TBits_5 = 0..31;
  15. TBits_6 = 0..63;
  16. TBits_7 = 0..127;
  17. TBits_8 = 0..255;
  18. TBits_9 = 0..511;
  19. TBits_10 = 0..1023;
  20. TBits_11 = 0..2047;
  21. TBits_12 = 0..4095;
  22. TBits_13 = 0..8191;
  23. TBits_14 = 0..16383;
  24. TBits_15 = 0..32767;
  25. TBits_16 = 0..65535;
  26. TBits_17 = 0..131071;
  27. TBits_18 = 0..262143;
  28. TBits_19 = 0..524287;
  29. TBits_20 = 0..1048575;
  30. TBits_21 = 0..2097151;
  31. TBits_22 = 0..4194303;
  32. TBits_23 = 0..8388607;
  33. TBits_24 = 0..16777215;
  34. TBits_25 = 0..33554431;
  35. TBits_26 = 0..67108863;
  36. TBits_27 = 0..134217727;
  37. TBits_28 = 0..268435455;
  38. TBits_29 = 0..536870911;
  39. TBits_30 = 0..1073741823;
  40. TBits_31 = 0..2147483647;
  41. TBits_32 = 0..4294967295;
  42. TWDT_WDTCON = record
  43. private
  44. function getON : TBits_1; inline;
  45. function getSWDTPS : TBits_5; inline;
  46. function getSWDTPS0 : TBits_1; inline;
  47. function getSWDTPS1 : TBits_1; inline;
  48. function getSWDTPS2 : TBits_1; inline;
  49. function getSWDTPS3 : TBits_1; inline;
  50. function getSWDTPS4 : TBits_1; inline;
  51. function getWDTCLR : TBits_1; inline;
  52. function getWDTPS : TBits_5; inline;
  53. function getWDTPSTA : TBits_5; inline;
  54. function getWDTWINEN : TBits_1; inline;
  55. function getw : TBits_32; inline;
  56. procedure setON(thebits : TBits_1); inline;
  57. procedure setSWDTPS(thebits : TBits_5); inline;
  58. procedure setSWDTPS0(thebits : TBits_1); inline;
  59. procedure setSWDTPS1(thebits : TBits_1); inline;
  60. procedure setSWDTPS2(thebits : TBits_1); inline;
  61. procedure setSWDTPS3(thebits : TBits_1); inline;
  62. procedure setSWDTPS4(thebits : TBits_1); inline;
  63. procedure setWDTCLR(thebits : TBits_1); inline;
  64. procedure setWDTPS(thebits : TBits_5); inline;
  65. procedure setWDTPSTA(thebits : TBits_5); inline;
  66. procedure setWDTWINEN(thebits : TBits_1); inline;
  67. procedure setw(thebits : TBits_32); inline;
  68. public
  69. procedure clearON; inline;
  70. procedure clearSWDTPS0; inline;
  71. procedure clearSWDTPS1; inline;
  72. procedure clearSWDTPS2; inline;
  73. procedure clearSWDTPS3; inline;
  74. procedure clearSWDTPS4; inline;
  75. procedure clearWDTCLR; inline;
  76. procedure clearWDTWINEN; inline;
  77. procedure setON; inline;
  78. procedure setSWDTPS0; inline;
  79. procedure setSWDTPS1; inline;
  80. procedure setSWDTPS2; inline;
  81. procedure setSWDTPS3; inline;
  82. procedure setSWDTPS4; inline;
  83. procedure setWDTCLR; inline;
  84. procedure setWDTWINEN; inline;
  85. property ON : TBits_1 read getON write setON;
  86. property SWDTPS : TBits_5 read getSWDTPS write setSWDTPS;
  87. property SWDTPS0 : TBits_1 read getSWDTPS0 write setSWDTPS0;
  88. property SWDTPS1 : TBits_1 read getSWDTPS1 write setSWDTPS1;
  89. property SWDTPS2 : TBits_1 read getSWDTPS2 write setSWDTPS2;
  90. property SWDTPS3 : TBits_1 read getSWDTPS3 write setSWDTPS3;
  91. property SWDTPS4 : TBits_1 read getSWDTPS4 write setSWDTPS4;
  92. property WDTCLR : TBits_1 read getWDTCLR write setWDTCLR;
  93. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  94. property WDTPSTA : TBits_5 read getWDTPSTA write setWDTPSTA;
  95. property WDTWINEN : TBits_1 read getWDTWINEN write setWDTWINEN;
  96. property w : TBits_32 read getw write setw;
  97. end;
  98. type
  99. TWDTRegisters = record
  100. WDTCONbits : TWDT_WDTCON;
  101. WDTCON : longWord;
  102. WDTCONCLR : longWord;
  103. WDTCONSET : longWord;
  104. WDTCONINV : longWord;
  105. end;
  106. TRTCC_RTCCON = record
  107. private
  108. function getCAL : TBits_10; inline;
  109. function getHALFSEC : TBits_1; inline;
  110. function getON : TBits_1; inline;
  111. function getRTCCLKON : TBits_1; inline;
  112. function getRTCOE : TBits_1; inline;
  113. function getRTCSYNC : TBits_1; inline;
  114. function getRTCWREN : TBits_1; inline;
  115. function getRTSECSEL : TBits_1; inline;
  116. function getSIDL : TBits_1; inline;
  117. function getw : TBits_32; inline;
  118. procedure setCAL(thebits : TBits_10); inline;
  119. procedure setHALFSEC(thebits : TBits_1); inline;
  120. procedure setON(thebits : TBits_1); inline;
  121. procedure setRTCCLKON(thebits : TBits_1); inline;
  122. procedure setRTCOE(thebits : TBits_1); inline;
  123. procedure setRTCSYNC(thebits : TBits_1); inline;
  124. procedure setRTCWREN(thebits : TBits_1); inline;
  125. procedure setRTSECSEL(thebits : TBits_1); inline;
  126. procedure setSIDL(thebits : TBits_1); inline;
  127. procedure setw(thebits : TBits_32); inline;
  128. public
  129. procedure clearHALFSEC; inline;
  130. procedure clearON; inline;
  131. procedure clearRTCCLKON; inline;
  132. procedure clearRTCOE; inline;
  133. procedure clearRTCSYNC; inline;
  134. procedure clearRTCWREN; inline;
  135. procedure clearRTSECSEL; inline;
  136. procedure clearSIDL; inline;
  137. procedure setHALFSEC; inline;
  138. procedure setON; inline;
  139. procedure setRTCCLKON; inline;
  140. procedure setRTCOE; inline;
  141. procedure setRTCSYNC; inline;
  142. procedure setRTCWREN; inline;
  143. procedure setRTSECSEL; inline;
  144. procedure setSIDL; inline;
  145. property CAL : TBits_10 read getCAL write setCAL;
  146. property HALFSEC : TBits_1 read getHALFSEC write setHALFSEC;
  147. property ON : TBits_1 read getON write setON;
  148. property RTCCLKON : TBits_1 read getRTCCLKON write setRTCCLKON;
  149. property RTCOE : TBits_1 read getRTCOE write setRTCOE;
  150. property RTCSYNC : TBits_1 read getRTCSYNC write setRTCSYNC;
  151. property RTCWREN : TBits_1 read getRTCWREN write setRTCWREN;
  152. property RTSECSEL : TBits_1 read getRTSECSEL write setRTSECSEL;
  153. property SIDL : TBits_1 read getSIDL write setSIDL;
  154. property w : TBits_32 read getw write setw;
  155. end;
  156. TRTCC_RTCALRM = record
  157. private
  158. function getALRMEN : TBits_1; inline;
  159. function getALRMSYNC : TBits_1; inline;
  160. function getAMASK : TBits_4; inline;
  161. function getARPT : TBits_8; inline;
  162. function getCHIME : TBits_1; inline;
  163. function getPIV : TBits_1; inline;
  164. function getw : TBits_32; inline;
  165. procedure setALRMEN(thebits : TBits_1); inline;
  166. procedure setALRMSYNC(thebits : TBits_1); inline;
  167. procedure setAMASK(thebits : TBits_4); inline;
  168. procedure setARPT(thebits : TBits_8); inline;
  169. procedure setCHIME(thebits : TBits_1); inline;
  170. procedure setPIV(thebits : TBits_1); inline;
  171. procedure setw(thebits : TBits_32); inline;
  172. public
  173. procedure clearALRMEN; inline;
  174. procedure clearALRMSYNC; inline;
  175. procedure clearCHIME; inline;
  176. procedure clearPIV; inline;
  177. procedure setALRMEN; inline;
  178. procedure setALRMSYNC; inline;
  179. procedure setCHIME; inline;
  180. procedure setPIV; inline;
  181. property ALRMEN : TBits_1 read getALRMEN write setALRMEN;
  182. property ALRMSYNC : TBits_1 read getALRMSYNC write setALRMSYNC;
  183. property AMASK : TBits_4 read getAMASK write setAMASK;
  184. property ARPT : TBits_8 read getARPT write setARPT;
  185. property CHIME : TBits_1 read getCHIME write setCHIME;
  186. property PIV : TBits_1 read getPIV write setPIV;
  187. property w : TBits_32 read getw write setw;
  188. end;
  189. TRTCC_RTCTIME = record
  190. private
  191. function getHR01 : TBits_4; inline;
  192. function getHR10 : TBits_4; inline;
  193. function getMIN01 : TBits_4; inline;
  194. function getMIN10 : TBits_4; inline;
  195. function getSEC01 : TBits_4; inline;
  196. function getSEC10 : TBits_4; inline;
  197. function getw : TBits_32; inline;
  198. procedure setHR01(thebits : TBits_4); inline;
  199. procedure setHR10(thebits : TBits_4); inline;
  200. procedure setMIN01(thebits : TBits_4); inline;
  201. procedure setMIN10(thebits : TBits_4); inline;
  202. procedure setSEC01(thebits : TBits_4); inline;
  203. procedure setSEC10(thebits : TBits_4); inline;
  204. procedure setw(thebits : TBits_32); inline;
  205. public
  206. property HR01 : TBits_4 read getHR01 write setHR01;
  207. property HR10 : TBits_4 read getHR10 write setHR10;
  208. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  209. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  210. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  211. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  212. property w : TBits_32 read getw write setw;
  213. end;
  214. TRTCC_RTCDATE = record
  215. private
  216. function getDAY01 : TBits_4; inline;
  217. function getDAY10 : TBits_4; inline;
  218. function getMONTH01 : TBits_4; inline;
  219. function getMONTH10 : TBits_4; inline;
  220. function getWDAY01 : TBits_4; inline;
  221. function getYEAR01 : TBits_4; inline;
  222. function getYEAR10 : TBits_4; inline;
  223. function getw : TBits_32; inline;
  224. procedure setDAY01(thebits : TBits_4); inline;
  225. procedure setDAY10(thebits : TBits_4); inline;
  226. procedure setMONTH01(thebits : TBits_4); inline;
  227. procedure setMONTH10(thebits : TBits_4); inline;
  228. procedure setWDAY01(thebits : TBits_4); inline;
  229. procedure setYEAR01(thebits : TBits_4); inline;
  230. procedure setYEAR10(thebits : TBits_4); inline;
  231. procedure setw(thebits : TBits_32); inline;
  232. public
  233. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  234. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  235. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  236. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  237. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  238. property YEAR01 : TBits_4 read getYEAR01 write setYEAR01;
  239. property YEAR10 : TBits_4 read getYEAR10 write setYEAR10;
  240. property w : TBits_32 read getw write setw;
  241. end;
  242. TRTCC_ALRMTIME = record
  243. private
  244. function getHR01 : TBits_4; inline;
  245. function getHR10 : TBits_4; inline;
  246. function getMIN01 : TBits_4; inline;
  247. function getMIN10 : TBits_4; inline;
  248. function getSEC01 : TBits_4; inline;
  249. function getSEC10 : TBits_4; inline;
  250. function getw : TBits_32; inline;
  251. procedure setHR01(thebits : TBits_4); inline;
  252. procedure setHR10(thebits : TBits_4); inline;
  253. procedure setMIN01(thebits : TBits_4); inline;
  254. procedure setMIN10(thebits : TBits_4); inline;
  255. procedure setSEC01(thebits : TBits_4); inline;
  256. procedure setSEC10(thebits : TBits_4); inline;
  257. procedure setw(thebits : TBits_32); inline;
  258. public
  259. property HR01 : TBits_4 read getHR01 write setHR01;
  260. property HR10 : TBits_4 read getHR10 write setHR10;
  261. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  262. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  263. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  264. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  265. property w : TBits_32 read getw write setw;
  266. end;
  267. TRTCC_ALRMDATE = record
  268. private
  269. function getDAY01 : TBits_4; inline;
  270. function getDAY10 : TBits_4; inline;
  271. function getMONTH01 : TBits_4; inline;
  272. function getMONTH10 : TBits_4; inline;
  273. function getWDAY01 : TBits_4; inline;
  274. function getw : TBits_32; inline;
  275. procedure setDAY01(thebits : TBits_4); inline;
  276. procedure setDAY10(thebits : TBits_4); inline;
  277. procedure setMONTH01(thebits : TBits_4); inline;
  278. procedure setMONTH10(thebits : TBits_4); inline;
  279. procedure setWDAY01(thebits : TBits_4); inline;
  280. procedure setw(thebits : TBits_32); inline;
  281. public
  282. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  283. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  284. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  285. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  286. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  287. property w : TBits_32 read getw write setw;
  288. end;
  289. type
  290. TRTCCRegisters = record
  291. RTCCONbits : TRTCC_RTCCON;
  292. RTCCON : longWord;
  293. RTCCONCLR : longWord;
  294. RTCCONSET : longWord;
  295. RTCCONINV : longWord;
  296. RTCALRMbits : TRTCC_RTCALRM;
  297. RTCALRM : longWord;
  298. RTCALRMCLR : longWord;
  299. RTCALRMSET : longWord;
  300. RTCALRMINV : longWord;
  301. RTCTIMEbits : TRTCC_RTCTIME;
  302. RTCTIME : longWord;
  303. RTCTIMECLR : longWord;
  304. RTCTIMESET : longWord;
  305. RTCTIMEINV : longWord;
  306. RTCDATEbits : TRTCC_RTCDATE;
  307. RTCDATE : longWord;
  308. RTCDATECLR : longWord;
  309. RTCDATESET : longWord;
  310. RTCDATEINV : longWord;
  311. ALRMTIMEbits : TRTCC_ALRMTIME;
  312. ALRMTIME : longWord;
  313. ALRMTIMECLR : longWord;
  314. ALRMTIMESET : longWord;
  315. ALRMTIMEINV : longWord;
  316. ALRMDATEbits : TRTCC_ALRMDATE;
  317. ALRMDATE : longWord;
  318. ALRMDATECLR : longWord;
  319. ALRMDATESET : longWord;
  320. ALRMDATEINV : longWord;
  321. end;
  322. TTMR1_T1CON = record
  323. private
  324. function getON : TBits_1; inline;
  325. function getSIDL : TBits_1; inline;
  326. function getTCKPS : TBits_2; inline;
  327. function getTCKPS0 : TBits_1; inline;
  328. function getTCKPS1 : TBits_1; inline;
  329. function getTCS : TBits_1; inline;
  330. function getTGATE : TBits_1; inline;
  331. function getTON : TBits_1; inline;
  332. function getTSIDL : TBits_1; inline;
  333. function getTSYNC : TBits_1; inline;
  334. function getTWDIS : TBits_1; inline;
  335. function getTWIP : TBits_1; inline;
  336. function getw : TBits_32; inline;
  337. procedure setON(thebits : TBits_1); inline;
  338. procedure setSIDL(thebits : TBits_1); inline;
  339. procedure setTCKPS(thebits : TBits_2); inline;
  340. procedure setTCKPS0(thebits : TBits_1); inline;
  341. procedure setTCKPS1(thebits : TBits_1); inline;
  342. procedure setTCS(thebits : TBits_1); inline;
  343. procedure setTGATE(thebits : TBits_1); inline;
  344. procedure setTON(thebits : TBits_1); inline;
  345. procedure setTSIDL(thebits : TBits_1); inline;
  346. procedure setTSYNC(thebits : TBits_1); inline;
  347. procedure setTWDIS(thebits : TBits_1); inline;
  348. procedure setTWIP(thebits : TBits_1); inline;
  349. procedure setw(thebits : TBits_32); inline;
  350. public
  351. procedure clearON; inline;
  352. procedure clearSIDL; inline;
  353. procedure clearTCKPS0; inline;
  354. procedure clearTCKPS1; inline;
  355. procedure clearTCS; inline;
  356. procedure clearTGATE; inline;
  357. procedure clearTON; inline;
  358. procedure clearTSIDL; inline;
  359. procedure clearTSYNC; inline;
  360. procedure clearTWDIS; inline;
  361. procedure clearTWIP; inline;
  362. procedure setON; inline;
  363. procedure setSIDL; inline;
  364. procedure setTCKPS0; inline;
  365. procedure setTCKPS1; inline;
  366. procedure setTCS; inline;
  367. procedure setTGATE; inline;
  368. procedure setTON; inline;
  369. procedure setTSIDL; inline;
  370. procedure setTSYNC; inline;
  371. procedure setTWDIS; inline;
  372. procedure setTWIP; inline;
  373. property ON : TBits_1 read getON write setON;
  374. property SIDL : TBits_1 read getSIDL write setSIDL;
  375. property TCKPS : TBits_2 read getTCKPS write setTCKPS;
  376. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  377. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  378. property TCS : TBits_1 read getTCS write setTCS;
  379. property TGATE : TBits_1 read getTGATE write setTGATE;
  380. property TON : TBits_1 read getTON write setTON;
  381. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  382. property TSYNC : TBits_1 read getTSYNC write setTSYNC;
  383. property TWDIS : TBits_1 read getTWDIS write setTWDIS;
  384. property TWIP : TBits_1 read getTWIP write setTWIP;
  385. property w : TBits_32 read getw write setw;
  386. end;
  387. type
  388. TTMR1Registers = record
  389. T1CONbits : TTMR1_T1CON;
  390. T1CON : longWord;
  391. T1CONCLR : longWord;
  392. T1CONSET : longWord;
  393. T1CONINV : longWord;
  394. TMR1 : longWord;
  395. TMR1CLR : longWord;
  396. TMR1SET : longWord;
  397. TMR1INV : longWord;
  398. PR1 : longWord;
  399. PR1CLR : longWord;
  400. PR1SET : longWord;
  401. PR1INV : longWord;
  402. end;
  403. TTMR2_T2CON = record
  404. private
  405. function getON : TBits_1; inline;
  406. function getSIDL : TBits_1; inline;
  407. function getT32 : TBits_1; inline;
  408. function getTCKPS : TBits_3; inline;
  409. function getTCKPS0 : TBits_1; inline;
  410. function getTCKPS1 : TBits_1; inline;
  411. function getTCKPS2 : TBits_1; inline;
  412. function getTCS : TBits_1; inline;
  413. function getTGATE : TBits_1; inline;
  414. function getTON : TBits_1; inline;
  415. function getTSIDL : TBits_1; inline;
  416. function getw : TBits_32; inline;
  417. procedure setON(thebits : TBits_1); inline;
  418. procedure setSIDL(thebits : TBits_1); inline;
  419. procedure setT32(thebits : TBits_1); inline;
  420. procedure setTCKPS(thebits : TBits_3); inline;
  421. procedure setTCKPS0(thebits : TBits_1); inline;
  422. procedure setTCKPS1(thebits : TBits_1); inline;
  423. procedure setTCKPS2(thebits : TBits_1); inline;
  424. procedure setTCS(thebits : TBits_1); inline;
  425. procedure setTGATE(thebits : TBits_1); inline;
  426. procedure setTON(thebits : TBits_1); inline;
  427. procedure setTSIDL(thebits : TBits_1); inline;
  428. procedure setw(thebits : TBits_32); inline;
  429. public
  430. procedure clearON; inline;
  431. procedure clearSIDL; inline;
  432. procedure clearT32; inline;
  433. procedure clearTCKPS0; inline;
  434. procedure clearTCKPS1; inline;
  435. procedure clearTCKPS2; inline;
  436. procedure clearTCS; inline;
  437. procedure clearTGATE; inline;
  438. procedure clearTON; inline;
  439. procedure clearTSIDL; inline;
  440. procedure setON; inline;
  441. procedure setSIDL; inline;
  442. procedure setT32; inline;
  443. procedure setTCKPS0; inline;
  444. procedure setTCKPS1; inline;
  445. procedure setTCKPS2; inline;
  446. procedure setTCS; inline;
  447. procedure setTGATE; inline;
  448. procedure setTON; inline;
  449. procedure setTSIDL; inline;
  450. property ON : TBits_1 read getON write setON;
  451. property SIDL : TBits_1 read getSIDL write setSIDL;
  452. property T32 : TBits_1 read getT32 write setT32;
  453. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  454. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  455. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  456. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  457. property TCS : TBits_1 read getTCS write setTCS;
  458. property TGATE : TBits_1 read getTGATE write setTGATE;
  459. property TON : TBits_1 read getTON write setTON;
  460. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  461. property w : TBits_32 read getw write setw;
  462. end;
  463. type
  464. TTMR2Registers = record
  465. T2CONbits : TTMR2_T2CON;
  466. T2CON : longWord;
  467. T2CONCLR : longWord;
  468. T2CONSET : longWord;
  469. T2CONINV : longWord;
  470. TMR2 : longWord;
  471. TMR2CLR : longWord;
  472. TMR2SET : longWord;
  473. TMR2INV : longWord;
  474. PR2 : longWord;
  475. PR2CLR : longWord;
  476. PR2SET : longWord;
  477. PR2INV : longWord;
  478. end;
  479. TTMR3_T3CON = record
  480. private
  481. function getON : TBits_1; inline;
  482. function getSIDL : TBits_1; inline;
  483. function getTCKPS : TBits_3; inline;
  484. function getTCKPS0 : TBits_1; inline;
  485. function getTCKPS1 : TBits_1; inline;
  486. function getTCKPS2 : TBits_1; inline;
  487. function getTCS : TBits_1; inline;
  488. function getTGATE : TBits_1; inline;
  489. function getTON : TBits_1; inline;
  490. function getTSIDL : TBits_1; inline;
  491. function getw : TBits_32; inline;
  492. procedure setON(thebits : TBits_1); inline;
  493. procedure setSIDL(thebits : TBits_1); inline;
  494. procedure setTCKPS(thebits : TBits_3); inline;
  495. procedure setTCKPS0(thebits : TBits_1); inline;
  496. procedure setTCKPS1(thebits : TBits_1); inline;
  497. procedure setTCKPS2(thebits : TBits_1); inline;
  498. procedure setTCS(thebits : TBits_1); inline;
  499. procedure setTGATE(thebits : TBits_1); inline;
  500. procedure setTON(thebits : TBits_1); inline;
  501. procedure setTSIDL(thebits : TBits_1); inline;
  502. procedure setw(thebits : TBits_32); inline;
  503. public
  504. procedure clearON; inline;
  505. procedure clearSIDL; inline;
  506. procedure clearTCKPS0; inline;
  507. procedure clearTCKPS1; inline;
  508. procedure clearTCKPS2; inline;
  509. procedure clearTCS; inline;
  510. procedure clearTGATE; inline;
  511. procedure clearTON; inline;
  512. procedure clearTSIDL; inline;
  513. procedure setON; inline;
  514. procedure setSIDL; inline;
  515. procedure setTCKPS0; inline;
  516. procedure setTCKPS1; inline;
  517. procedure setTCKPS2; inline;
  518. procedure setTCS; inline;
  519. procedure setTGATE; inline;
  520. procedure setTON; inline;
  521. procedure setTSIDL; inline;
  522. property ON : TBits_1 read getON write setON;
  523. property SIDL : TBits_1 read getSIDL write setSIDL;
  524. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  525. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  526. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  527. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  528. property TCS : TBits_1 read getTCS write setTCS;
  529. property TGATE : TBits_1 read getTGATE write setTGATE;
  530. property TON : TBits_1 read getTON write setTON;
  531. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  532. property w : TBits_32 read getw write setw;
  533. end;
  534. type
  535. TTMR3Registers = record
  536. T3CONbits : TTMR3_T3CON;
  537. T3CON : longWord;
  538. T3CONCLR : longWord;
  539. T3CONSET : longWord;
  540. T3CONINV : longWord;
  541. TMR3 : longWord;
  542. TMR3CLR : longWord;
  543. TMR3SET : longWord;
  544. TMR3INV : longWord;
  545. PR3 : longWord;
  546. PR3CLR : longWord;
  547. PR3SET : longWord;
  548. PR3INV : longWord;
  549. end;
  550. TTMR4_T4CON = record
  551. private
  552. function getON : TBits_1; inline;
  553. function getSIDL : TBits_1; inline;
  554. function getT32 : TBits_1; inline;
  555. function getTCKPS : TBits_3; inline;
  556. function getTCKPS0 : TBits_1; inline;
  557. function getTCKPS1 : TBits_1; inline;
  558. function getTCKPS2 : TBits_1; inline;
  559. function getTCS : TBits_1; inline;
  560. function getTGATE : TBits_1; inline;
  561. function getTON : TBits_1; inline;
  562. function getTSIDL : TBits_1; inline;
  563. function getw : TBits_32; inline;
  564. procedure setON(thebits : TBits_1); inline;
  565. procedure setSIDL(thebits : TBits_1); inline;
  566. procedure setT32(thebits : TBits_1); inline;
  567. procedure setTCKPS(thebits : TBits_3); inline;
  568. procedure setTCKPS0(thebits : TBits_1); inline;
  569. procedure setTCKPS1(thebits : TBits_1); inline;
  570. procedure setTCKPS2(thebits : TBits_1); inline;
  571. procedure setTCS(thebits : TBits_1); inline;
  572. procedure setTGATE(thebits : TBits_1); inline;
  573. procedure setTON(thebits : TBits_1); inline;
  574. procedure setTSIDL(thebits : TBits_1); inline;
  575. procedure setw(thebits : TBits_32); inline;
  576. public
  577. procedure clearON; inline;
  578. procedure clearSIDL; inline;
  579. procedure clearT32; inline;
  580. procedure clearTCKPS0; inline;
  581. procedure clearTCKPS1; inline;
  582. procedure clearTCKPS2; inline;
  583. procedure clearTCS; inline;
  584. procedure clearTGATE; inline;
  585. procedure clearTON; inline;
  586. procedure clearTSIDL; inline;
  587. procedure setON; inline;
  588. procedure setSIDL; inline;
  589. procedure setT32; inline;
  590. procedure setTCKPS0; inline;
  591. procedure setTCKPS1; inline;
  592. procedure setTCKPS2; inline;
  593. procedure setTCS; inline;
  594. procedure setTGATE; inline;
  595. procedure setTON; inline;
  596. procedure setTSIDL; inline;
  597. property ON : TBits_1 read getON write setON;
  598. property SIDL : TBits_1 read getSIDL write setSIDL;
  599. property T32 : TBits_1 read getT32 write setT32;
  600. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  601. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  602. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  603. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  604. property TCS : TBits_1 read getTCS write setTCS;
  605. property TGATE : TBits_1 read getTGATE write setTGATE;
  606. property TON : TBits_1 read getTON write setTON;
  607. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  608. property w : TBits_32 read getw write setw;
  609. end;
  610. type
  611. TTMR4Registers = record
  612. T4CONbits : TTMR4_T4CON;
  613. T4CON : longWord;
  614. T4CONCLR : longWord;
  615. T4CONSET : longWord;
  616. T4CONINV : longWord;
  617. TMR4 : longWord;
  618. TMR4CLR : longWord;
  619. TMR4SET : longWord;
  620. TMR4INV : longWord;
  621. PR4 : longWord;
  622. PR4CLR : longWord;
  623. PR4SET : longWord;
  624. PR4INV : longWord;
  625. end;
  626. TTMR5_T5CON = record
  627. private
  628. function getON : TBits_1; inline;
  629. function getSIDL : TBits_1; inline;
  630. function getTCKPS : TBits_3; inline;
  631. function getTCKPS0 : TBits_1; inline;
  632. function getTCKPS1 : TBits_1; inline;
  633. function getTCKPS2 : TBits_1; inline;
  634. function getTCS : TBits_1; inline;
  635. function getTGATE : TBits_1; inline;
  636. function getTON : TBits_1; inline;
  637. function getTSIDL : TBits_1; inline;
  638. function getw : TBits_32; inline;
  639. procedure setON(thebits : TBits_1); inline;
  640. procedure setSIDL(thebits : TBits_1); inline;
  641. procedure setTCKPS(thebits : TBits_3); inline;
  642. procedure setTCKPS0(thebits : TBits_1); inline;
  643. procedure setTCKPS1(thebits : TBits_1); inline;
  644. procedure setTCKPS2(thebits : TBits_1); inline;
  645. procedure setTCS(thebits : TBits_1); inline;
  646. procedure setTGATE(thebits : TBits_1); inline;
  647. procedure setTON(thebits : TBits_1); inline;
  648. procedure setTSIDL(thebits : TBits_1); inline;
  649. procedure setw(thebits : TBits_32); inline;
  650. public
  651. procedure clearON; inline;
  652. procedure clearSIDL; inline;
  653. procedure clearTCKPS0; inline;
  654. procedure clearTCKPS1; inline;
  655. procedure clearTCKPS2; inline;
  656. procedure clearTCS; inline;
  657. procedure clearTGATE; inline;
  658. procedure clearTON; inline;
  659. procedure clearTSIDL; inline;
  660. procedure setON; inline;
  661. procedure setSIDL; inline;
  662. procedure setTCKPS0; inline;
  663. procedure setTCKPS1; inline;
  664. procedure setTCKPS2; inline;
  665. procedure setTCS; inline;
  666. procedure setTGATE; inline;
  667. procedure setTON; inline;
  668. procedure setTSIDL; inline;
  669. property ON : TBits_1 read getON write setON;
  670. property SIDL : TBits_1 read getSIDL write setSIDL;
  671. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  672. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  673. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  674. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  675. property TCS : TBits_1 read getTCS write setTCS;
  676. property TGATE : TBits_1 read getTGATE write setTGATE;
  677. property TON : TBits_1 read getTON write setTON;
  678. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  679. property w : TBits_32 read getw write setw;
  680. end;
  681. type
  682. TTMR5Registers = record
  683. T5CONbits : TTMR5_T5CON;
  684. T5CON : longWord;
  685. T5CONCLR : longWord;
  686. T5CONSET : longWord;
  687. T5CONINV : longWord;
  688. TMR5 : longWord;
  689. TMR5CLR : longWord;
  690. TMR5SET : longWord;
  691. TMR5INV : longWord;
  692. PR5 : longWord;
  693. PR5CLR : longWord;
  694. PR5SET : longWord;
  695. PR5INV : longWord;
  696. end;
  697. TICAP1_IC1CON = record
  698. private
  699. function getC32 : TBits_1; inline;
  700. function getFEDGE : TBits_1; inline;
  701. function getICBNE : TBits_1; inline;
  702. function getICI : TBits_2; inline;
  703. function getICI0 : TBits_1; inline;
  704. function getICI1 : TBits_1; inline;
  705. function getICM : TBits_3; inline;
  706. function getICM0 : TBits_1; inline;
  707. function getICM1 : TBits_1; inline;
  708. function getICM2 : TBits_1; inline;
  709. function getICOV : TBits_1; inline;
  710. function getICSIDL : TBits_1; inline;
  711. function getICTMR : TBits_1; inline;
  712. function getON : TBits_1; inline;
  713. function getSIDL : TBits_1; inline;
  714. function getw : TBits_32; inline;
  715. procedure setC32(thebits : TBits_1); inline;
  716. procedure setFEDGE(thebits : TBits_1); inline;
  717. procedure setICBNE(thebits : TBits_1); inline;
  718. procedure setICI(thebits : TBits_2); inline;
  719. procedure setICI0(thebits : TBits_1); inline;
  720. procedure setICI1(thebits : TBits_1); inline;
  721. procedure setICM(thebits : TBits_3); inline;
  722. procedure setICM0(thebits : TBits_1); inline;
  723. procedure setICM1(thebits : TBits_1); inline;
  724. procedure setICM2(thebits : TBits_1); inline;
  725. procedure setICOV(thebits : TBits_1); inline;
  726. procedure setICSIDL(thebits : TBits_1); inline;
  727. procedure setICTMR(thebits : TBits_1); inline;
  728. procedure setON(thebits : TBits_1); inline;
  729. procedure setSIDL(thebits : TBits_1); inline;
  730. procedure setw(thebits : TBits_32); inline;
  731. public
  732. procedure clearC32; inline;
  733. procedure clearFEDGE; inline;
  734. procedure clearICBNE; inline;
  735. procedure clearICI0; inline;
  736. procedure clearICI1; inline;
  737. procedure clearICM0; inline;
  738. procedure clearICM1; inline;
  739. procedure clearICM2; inline;
  740. procedure clearICOV; inline;
  741. procedure clearICSIDL; inline;
  742. procedure clearICTMR; inline;
  743. procedure clearON; inline;
  744. procedure clearSIDL; inline;
  745. procedure setC32; inline;
  746. procedure setFEDGE; inline;
  747. procedure setICBNE; inline;
  748. procedure setICI0; inline;
  749. procedure setICI1; inline;
  750. procedure setICM0; inline;
  751. procedure setICM1; inline;
  752. procedure setICM2; inline;
  753. procedure setICOV; inline;
  754. procedure setICSIDL; inline;
  755. procedure setICTMR; inline;
  756. procedure setON; inline;
  757. procedure setSIDL; inline;
  758. property C32 : TBits_1 read getC32 write setC32;
  759. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  760. property ICBNE : TBits_1 read getICBNE write setICBNE;
  761. property ICI : TBits_2 read getICI write setICI;
  762. property ICI0 : TBits_1 read getICI0 write setICI0;
  763. property ICI1 : TBits_1 read getICI1 write setICI1;
  764. property ICM : TBits_3 read getICM write setICM;
  765. property ICM0 : TBits_1 read getICM0 write setICM0;
  766. property ICM1 : TBits_1 read getICM1 write setICM1;
  767. property ICM2 : TBits_1 read getICM2 write setICM2;
  768. property ICOV : TBits_1 read getICOV write setICOV;
  769. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  770. property ICTMR : TBits_1 read getICTMR write setICTMR;
  771. property ON : TBits_1 read getON write setON;
  772. property SIDL : TBits_1 read getSIDL write setSIDL;
  773. property w : TBits_32 read getw write setw;
  774. end;
  775. type
  776. TICAP1Registers = record
  777. IC1CONbits : TICAP1_IC1CON;
  778. IC1CON : longWord;
  779. IC1CONCLR : longWord;
  780. IC1CONSET : longWord;
  781. IC1CONINV : longWord;
  782. IC1BUF : longWord;
  783. end;
  784. TICAP2_IC2CON = record
  785. private
  786. function getC32 : TBits_1; inline;
  787. function getFEDGE : TBits_1; inline;
  788. function getICBNE : TBits_1; inline;
  789. function getICI : TBits_2; inline;
  790. function getICI0 : TBits_1; inline;
  791. function getICI1 : TBits_1; inline;
  792. function getICM : TBits_3; inline;
  793. function getICM0 : TBits_1; inline;
  794. function getICM1 : TBits_1; inline;
  795. function getICM2 : TBits_1; inline;
  796. function getICOV : TBits_1; inline;
  797. function getICSIDL : TBits_1; inline;
  798. function getICTMR : TBits_1; inline;
  799. function getON : TBits_1; inline;
  800. function getSIDL : TBits_1; inline;
  801. function getw : TBits_32; inline;
  802. procedure setC32(thebits : TBits_1); inline;
  803. procedure setFEDGE(thebits : TBits_1); inline;
  804. procedure setICBNE(thebits : TBits_1); inline;
  805. procedure setICI(thebits : TBits_2); inline;
  806. procedure setICI0(thebits : TBits_1); inline;
  807. procedure setICI1(thebits : TBits_1); inline;
  808. procedure setICM(thebits : TBits_3); inline;
  809. procedure setICM0(thebits : TBits_1); inline;
  810. procedure setICM1(thebits : TBits_1); inline;
  811. procedure setICM2(thebits : TBits_1); inline;
  812. procedure setICOV(thebits : TBits_1); inline;
  813. procedure setICSIDL(thebits : TBits_1); inline;
  814. procedure setICTMR(thebits : TBits_1); inline;
  815. procedure setON(thebits : TBits_1); inline;
  816. procedure setSIDL(thebits : TBits_1); inline;
  817. procedure setw(thebits : TBits_32); inline;
  818. public
  819. procedure clearC32; inline;
  820. procedure clearFEDGE; inline;
  821. procedure clearICBNE; inline;
  822. procedure clearICI0; inline;
  823. procedure clearICI1; inline;
  824. procedure clearICM0; inline;
  825. procedure clearICM1; inline;
  826. procedure clearICM2; inline;
  827. procedure clearICOV; inline;
  828. procedure clearICSIDL; inline;
  829. procedure clearICTMR; inline;
  830. procedure clearON; inline;
  831. procedure clearSIDL; inline;
  832. procedure setC32; inline;
  833. procedure setFEDGE; inline;
  834. procedure setICBNE; inline;
  835. procedure setICI0; inline;
  836. procedure setICI1; inline;
  837. procedure setICM0; inline;
  838. procedure setICM1; inline;
  839. procedure setICM2; inline;
  840. procedure setICOV; inline;
  841. procedure setICSIDL; inline;
  842. procedure setICTMR; inline;
  843. procedure setON; inline;
  844. procedure setSIDL; inline;
  845. property C32 : TBits_1 read getC32 write setC32;
  846. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  847. property ICBNE : TBits_1 read getICBNE write setICBNE;
  848. property ICI : TBits_2 read getICI write setICI;
  849. property ICI0 : TBits_1 read getICI0 write setICI0;
  850. property ICI1 : TBits_1 read getICI1 write setICI1;
  851. property ICM : TBits_3 read getICM write setICM;
  852. property ICM0 : TBits_1 read getICM0 write setICM0;
  853. property ICM1 : TBits_1 read getICM1 write setICM1;
  854. property ICM2 : TBits_1 read getICM2 write setICM2;
  855. property ICOV : TBits_1 read getICOV write setICOV;
  856. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  857. property ICTMR : TBits_1 read getICTMR write setICTMR;
  858. property ON : TBits_1 read getON write setON;
  859. property SIDL : TBits_1 read getSIDL write setSIDL;
  860. property w : TBits_32 read getw write setw;
  861. end;
  862. type
  863. TICAP2Registers = record
  864. IC2CONbits : TICAP2_IC2CON;
  865. IC2CON : longWord;
  866. IC2CONCLR : longWord;
  867. IC2CONSET : longWord;
  868. IC2CONINV : longWord;
  869. IC2BUF : longWord;
  870. end;
  871. TICAP3_IC3CON = record
  872. private
  873. function getC32 : TBits_1; inline;
  874. function getFEDGE : TBits_1; inline;
  875. function getICBNE : TBits_1; inline;
  876. function getICI : TBits_2; inline;
  877. function getICI0 : TBits_1; inline;
  878. function getICI1 : TBits_1; inline;
  879. function getICM : TBits_3; inline;
  880. function getICM0 : TBits_1; inline;
  881. function getICM1 : TBits_1; inline;
  882. function getICM2 : TBits_1; inline;
  883. function getICOV : TBits_1; inline;
  884. function getICSIDL : TBits_1; inline;
  885. function getICTMR : TBits_1; inline;
  886. function getON : TBits_1; inline;
  887. function getSIDL : TBits_1; inline;
  888. function getw : TBits_32; inline;
  889. procedure setC32(thebits : TBits_1); inline;
  890. procedure setFEDGE(thebits : TBits_1); inline;
  891. procedure setICBNE(thebits : TBits_1); inline;
  892. procedure setICI(thebits : TBits_2); inline;
  893. procedure setICI0(thebits : TBits_1); inline;
  894. procedure setICI1(thebits : TBits_1); inline;
  895. procedure setICM(thebits : TBits_3); inline;
  896. procedure setICM0(thebits : TBits_1); inline;
  897. procedure setICM1(thebits : TBits_1); inline;
  898. procedure setICM2(thebits : TBits_1); inline;
  899. procedure setICOV(thebits : TBits_1); inline;
  900. procedure setICSIDL(thebits : TBits_1); inline;
  901. procedure setICTMR(thebits : TBits_1); inline;
  902. procedure setON(thebits : TBits_1); inline;
  903. procedure setSIDL(thebits : TBits_1); inline;
  904. procedure setw(thebits : TBits_32); inline;
  905. public
  906. procedure clearC32; inline;
  907. procedure clearFEDGE; inline;
  908. procedure clearICBNE; inline;
  909. procedure clearICI0; inline;
  910. procedure clearICI1; inline;
  911. procedure clearICM0; inline;
  912. procedure clearICM1; inline;
  913. procedure clearICM2; inline;
  914. procedure clearICOV; inline;
  915. procedure clearICSIDL; inline;
  916. procedure clearICTMR; inline;
  917. procedure clearON; inline;
  918. procedure clearSIDL; inline;
  919. procedure setC32; inline;
  920. procedure setFEDGE; inline;
  921. procedure setICBNE; inline;
  922. procedure setICI0; inline;
  923. procedure setICI1; inline;
  924. procedure setICM0; inline;
  925. procedure setICM1; inline;
  926. procedure setICM2; inline;
  927. procedure setICOV; inline;
  928. procedure setICSIDL; inline;
  929. procedure setICTMR; inline;
  930. procedure setON; inline;
  931. procedure setSIDL; inline;
  932. property C32 : TBits_1 read getC32 write setC32;
  933. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  934. property ICBNE : TBits_1 read getICBNE write setICBNE;
  935. property ICI : TBits_2 read getICI write setICI;
  936. property ICI0 : TBits_1 read getICI0 write setICI0;
  937. property ICI1 : TBits_1 read getICI1 write setICI1;
  938. property ICM : TBits_3 read getICM write setICM;
  939. property ICM0 : TBits_1 read getICM0 write setICM0;
  940. property ICM1 : TBits_1 read getICM1 write setICM1;
  941. property ICM2 : TBits_1 read getICM2 write setICM2;
  942. property ICOV : TBits_1 read getICOV write setICOV;
  943. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  944. property ICTMR : TBits_1 read getICTMR write setICTMR;
  945. property ON : TBits_1 read getON write setON;
  946. property SIDL : TBits_1 read getSIDL write setSIDL;
  947. property w : TBits_32 read getw write setw;
  948. end;
  949. type
  950. TICAP3Registers = record
  951. IC3CONbits : TICAP3_IC3CON;
  952. IC3CON : longWord;
  953. IC3CONCLR : longWord;
  954. IC3CONSET : longWord;
  955. IC3CONINV : longWord;
  956. IC3BUF : longWord;
  957. end;
  958. TICAP4_IC4CON = record
  959. private
  960. function getC32 : TBits_1; inline;
  961. function getFEDGE : TBits_1; inline;
  962. function getICBNE : TBits_1; inline;
  963. function getICI : TBits_2; inline;
  964. function getICI0 : TBits_1; inline;
  965. function getICI1 : TBits_1; inline;
  966. function getICM : TBits_3; inline;
  967. function getICM0 : TBits_1; inline;
  968. function getICM1 : TBits_1; inline;
  969. function getICM2 : TBits_1; inline;
  970. function getICOV : TBits_1; inline;
  971. function getICSIDL : TBits_1; inline;
  972. function getICTMR : TBits_1; inline;
  973. function getON : TBits_1; inline;
  974. function getSIDL : TBits_1; inline;
  975. function getw : TBits_32; inline;
  976. procedure setC32(thebits : TBits_1); inline;
  977. procedure setFEDGE(thebits : TBits_1); inline;
  978. procedure setICBNE(thebits : TBits_1); inline;
  979. procedure setICI(thebits : TBits_2); inline;
  980. procedure setICI0(thebits : TBits_1); inline;
  981. procedure setICI1(thebits : TBits_1); inline;
  982. procedure setICM(thebits : TBits_3); inline;
  983. procedure setICM0(thebits : TBits_1); inline;
  984. procedure setICM1(thebits : TBits_1); inline;
  985. procedure setICM2(thebits : TBits_1); inline;
  986. procedure setICOV(thebits : TBits_1); inline;
  987. procedure setICSIDL(thebits : TBits_1); inline;
  988. procedure setICTMR(thebits : TBits_1); inline;
  989. procedure setON(thebits : TBits_1); inline;
  990. procedure setSIDL(thebits : TBits_1); inline;
  991. procedure setw(thebits : TBits_32); inline;
  992. public
  993. procedure clearC32; inline;
  994. procedure clearFEDGE; inline;
  995. procedure clearICBNE; inline;
  996. procedure clearICI0; inline;
  997. procedure clearICI1; inline;
  998. procedure clearICM0; inline;
  999. procedure clearICM1; inline;
  1000. procedure clearICM2; inline;
  1001. procedure clearICOV; inline;
  1002. procedure clearICSIDL; inline;
  1003. procedure clearICTMR; inline;
  1004. procedure clearON; inline;
  1005. procedure clearSIDL; inline;
  1006. procedure setC32; inline;
  1007. procedure setFEDGE; inline;
  1008. procedure setICBNE; inline;
  1009. procedure setICI0; inline;
  1010. procedure setICI1; inline;
  1011. procedure setICM0; inline;
  1012. procedure setICM1; inline;
  1013. procedure setICM2; inline;
  1014. procedure setICOV; inline;
  1015. procedure setICSIDL; inline;
  1016. procedure setICTMR; inline;
  1017. procedure setON; inline;
  1018. procedure setSIDL; inline;
  1019. property C32 : TBits_1 read getC32 write setC32;
  1020. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1021. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1022. property ICI : TBits_2 read getICI write setICI;
  1023. property ICI0 : TBits_1 read getICI0 write setICI0;
  1024. property ICI1 : TBits_1 read getICI1 write setICI1;
  1025. property ICM : TBits_3 read getICM write setICM;
  1026. property ICM0 : TBits_1 read getICM0 write setICM0;
  1027. property ICM1 : TBits_1 read getICM1 write setICM1;
  1028. property ICM2 : TBits_1 read getICM2 write setICM2;
  1029. property ICOV : TBits_1 read getICOV write setICOV;
  1030. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1031. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1032. property ON : TBits_1 read getON write setON;
  1033. property SIDL : TBits_1 read getSIDL write setSIDL;
  1034. property w : TBits_32 read getw write setw;
  1035. end;
  1036. type
  1037. TICAP4Registers = record
  1038. IC4CONbits : TICAP4_IC4CON;
  1039. IC4CON : longWord;
  1040. IC4CONCLR : longWord;
  1041. IC4CONSET : longWord;
  1042. IC4CONINV : longWord;
  1043. IC4BUF : longWord;
  1044. end;
  1045. TICAP5_IC5CON = record
  1046. private
  1047. function getC32 : TBits_1; inline;
  1048. function getFEDGE : TBits_1; inline;
  1049. function getICBNE : TBits_1; inline;
  1050. function getICI : TBits_2; inline;
  1051. function getICI0 : TBits_1; inline;
  1052. function getICI1 : TBits_1; inline;
  1053. function getICM : TBits_3; inline;
  1054. function getICM0 : TBits_1; inline;
  1055. function getICM1 : TBits_1; inline;
  1056. function getICM2 : TBits_1; inline;
  1057. function getICOV : TBits_1; inline;
  1058. function getICSIDL : TBits_1; inline;
  1059. function getICTMR : TBits_1; inline;
  1060. function getON : TBits_1; inline;
  1061. function getSIDL : TBits_1; inline;
  1062. function getw : TBits_32; inline;
  1063. procedure setC32(thebits : TBits_1); inline;
  1064. procedure setFEDGE(thebits : TBits_1); inline;
  1065. procedure setICBNE(thebits : TBits_1); inline;
  1066. procedure setICI(thebits : TBits_2); inline;
  1067. procedure setICI0(thebits : TBits_1); inline;
  1068. procedure setICI1(thebits : TBits_1); inline;
  1069. procedure setICM(thebits : TBits_3); inline;
  1070. procedure setICM0(thebits : TBits_1); inline;
  1071. procedure setICM1(thebits : TBits_1); inline;
  1072. procedure setICM2(thebits : TBits_1); inline;
  1073. procedure setICOV(thebits : TBits_1); inline;
  1074. procedure setICSIDL(thebits : TBits_1); inline;
  1075. procedure setICTMR(thebits : TBits_1); inline;
  1076. procedure setON(thebits : TBits_1); inline;
  1077. procedure setSIDL(thebits : TBits_1); inline;
  1078. procedure setw(thebits : TBits_32); inline;
  1079. public
  1080. procedure clearC32; inline;
  1081. procedure clearFEDGE; inline;
  1082. procedure clearICBNE; inline;
  1083. procedure clearICI0; inline;
  1084. procedure clearICI1; inline;
  1085. procedure clearICM0; inline;
  1086. procedure clearICM1; inline;
  1087. procedure clearICM2; inline;
  1088. procedure clearICOV; inline;
  1089. procedure clearICSIDL; inline;
  1090. procedure clearICTMR; inline;
  1091. procedure clearON; inline;
  1092. procedure clearSIDL; inline;
  1093. procedure setC32; inline;
  1094. procedure setFEDGE; inline;
  1095. procedure setICBNE; inline;
  1096. procedure setICI0; inline;
  1097. procedure setICI1; inline;
  1098. procedure setICM0; inline;
  1099. procedure setICM1; inline;
  1100. procedure setICM2; inline;
  1101. procedure setICOV; inline;
  1102. procedure setICSIDL; inline;
  1103. procedure setICTMR; inline;
  1104. procedure setON; inline;
  1105. procedure setSIDL; inline;
  1106. property C32 : TBits_1 read getC32 write setC32;
  1107. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1108. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1109. property ICI : TBits_2 read getICI write setICI;
  1110. property ICI0 : TBits_1 read getICI0 write setICI0;
  1111. property ICI1 : TBits_1 read getICI1 write setICI1;
  1112. property ICM : TBits_3 read getICM write setICM;
  1113. property ICM0 : TBits_1 read getICM0 write setICM0;
  1114. property ICM1 : TBits_1 read getICM1 write setICM1;
  1115. property ICM2 : TBits_1 read getICM2 write setICM2;
  1116. property ICOV : TBits_1 read getICOV write setICOV;
  1117. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1118. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1119. property ON : TBits_1 read getON write setON;
  1120. property SIDL : TBits_1 read getSIDL write setSIDL;
  1121. property w : TBits_32 read getw write setw;
  1122. end;
  1123. type
  1124. TICAP5Registers = record
  1125. IC5CONbits : TICAP5_IC5CON;
  1126. IC5CON : longWord;
  1127. IC5CONCLR : longWord;
  1128. IC5CONSET : longWord;
  1129. IC5CONINV : longWord;
  1130. IC5BUF : longWord;
  1131. end;
  1132. TOCMP1_OC1CON = record
  1133. private
  1134. function getOC32 : TBits_1; inline;
  1135. function getOCFLT : TBits_1; inline;
  1136. function getOCM : TBits_3; inline;
  1137. function getOCM0 : TBits_1; inline;
  1138. function getOCM1 : TBits_1; inline;
  1139. function getOCM2 : TBits_1; inline;
  1140. function getOCSIDL : TBits_1; inline;
  1141. function getOCTSEL : TBits_1; inline;
  1142. function getON : TBits_1; inline;
  1143. function getSIDL : TBits_1; inline;
  1144. function getw : TBits_32; inline;
  1145. procedure setOC32(thebits : TBits_1); inline;
  1146. procedure setOCFLT(thebits : TBits_1); inline;
  1147. procedure setOCM(thebits : TBits_3); inline;
  1148. procedure setOCM0(thebits : TBits_1); inline;
  1149. procedure setOCM1(thebits : TBits_1); inline;
  1150. procedure setOCM2(thebits : TBits_1); inline;
  1151. procedure setOCSIDL(thebits : TBits_1); inline;
  1152. procedure setOCTSEL(thebits : TBits_1); inline;
  1153. procedure setON(thebits : TBits_1); inline;
  1154. procedure setSIDL(thebits : TBits_1); inline;
  1155. procedure setw(thebits : TBits_32); inline;
  1156. public
  1157. procedure clearOC32; inline;
  1158. procedure clearOCFLT; inline;
  1159. procedure clearOCM0; inline;
  1160. procedure clearOCM1; inline;
  1161. procedure clearOCM2; inline;
  1162. procedure clearOCSIDL; inline;
  1163. procedure clearOCTSEL; inline;
  1164. procedure clearON; inline;
  1165. procedure clearSIDL; inline;
  1166. procedure setOC32; inline;
  1167. procedure setOCFLT; inline;
  1168. procedure setOCM0; inline;
  1169. procedure setOCM1; inline;
  1170. procedure setOCM2; inline;
  1171. procedure setOCSIDL; inline;
  1172. procedure setOCTSEL; inline;
  1173. procedure setON; inline;
  1174. procedure setSIDL; inline;
  1175. property OC32 : TBits_1 read getOC32 write setOC32;
  1176. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1177. property OCM : TBits_3 read getOCM write setOCM;
  1178. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1179. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1180. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1181. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1182. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1183. property ON : TBits_1 read getON write setON;
  1184. property SIDL : TBits_1 read getSIDL write setSIDL;
  1185. property w : TBits_32 read getw write setw;
  1186. end;
  1187. type
  1188. TOCMP1Registers = record
  1189. OC1CONbits : TOCMP1_OC1CON;
  1190. OC1CON : longWord;
  1191. OC1CONCLR : longWord;
  1192. OC1CONSET : longWord;
  1193. OC1CONINV : longWord;
  1194. OC1R : longWord;
  1195. OC1RCLR : longWord;
  1196. OC1RSET : longWord;
  1197. OC1RINV : longWord;
  1198. OC1RS : longWord;
  1199. OC1RSCLR : longWord;
  1200. OC1RSSET : longWord;
  1201. OC1RSINV : longWord;
  1202. end;
  1203. TOCMP2_OC2CON = record
  1204. private
  1205. function getOC32 : TBits_1; inline;
  1206. function getOCFLT : TBits_1; inline;
  1207. function getOCM : TBits_3; inline;
  1208. function getOCM0 : TBits_1; inline;
  1209. function getOCM1 : TBits_1; inline;
  1210. function getOCM2 : TBits_1; inline;
  1211. function getOCSIDL : TBits_1; inline;
  1212. function getOCTSEL : TBits_1; inline;
  1213. function getON : TBits_1; inline;
  1214. function getSIDL : TBits_1; inline;
  1215. function getw : TBits_32; inline;
  1216. procedure setOC32(thebits : TBits_1); inline;
  1217. procedure setOCFLT(thebits : TBits_1); inline;
  1218. procedure setOCM(thebits : TBits_3); inline;
  1219. procedure setOCM0(thebits : TBits_1); inline;
  1220. procedure setOCM1(thebits : TBits_1); inline;
  1221. procedure setOCM2(thebits : TBits_1); inline;
  1222. procedure setOCSIDL(thebits : TBits_1); inline;
  1223. procedure setOCTSEL(thebits : TBits_1); inline;
  1224. procedure setON(thebits : TBits_1); inline;
  1225. procedure setSIDL(thebits : TBits_1); inline;
  1226. procedure setw(thebits : TBits_32); inline;
  1227. public
  1228. procedure clearOC32; inline;
  1229. procedure clearOCFLT; inline;
  1230. procedure clearOCM0; inline;
  1231. procedure clearOCM1; inline;
  1232. procedure clearOCM2; inline;
  1233. procedure clearOCSIDL; inline;
  1234. procedure clearOCTSEL; inline;
  1235. procedure clearON; inline;
  1236. procedure clearSIDL; inline;
  1237. procedure setOC32; inline;
  1238. procedure setOCFLT; inline;
  1239. procedure setOCM0; inline;
  1240. procedure setOCM1; inline;
  1241. procedure setOCM2; inline;
  1242. procedure setOCSIDL; inline;
  1243. procedure setOCTSEL; inline;
  1244. procedure setON; inline;
  1245. procedure setSIDL; inline;
  1246. property OC32 : TBits_1 read getOC32 write setOC32;
  1247. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1248. property OCM : TBits_3 read getOCM write setOCM;
  1249. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1250. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1251. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1252. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1253. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1254. property ON : TBits_1 read getON write setON;
  1255. property SIDL : TBits_1 read getSIDL write setSIDL;
  1256. property w : TBits_32 read getw write setw;
  1257. end;
  1258. type
  1259. TOCMP2Registers = record
  1260. OC2CONbits : TOCMP2_OC2CON;
  1261. OC2CON : longWord;
  1262. OC2CONCLR : longWord;
  1263. OC2CONSET : longWord;
  1264. OC2CONINV : longWord;
  1265. OC2R : longWord;
  1266. OC2RCLR : longWord;
  1267. OC2RSET : longWord;
  1268. OC2RINV : longWord;
  1269. OC2RS : longWord;
  1270. OC2RSCLR : longWord;
  1271. OC2RSSET : longWord;
  1272. OC2RSINV : longWord;
  1273. end;
  1274. TOCMP3_OC3CON = record
  1275. private
  1276. function getOC32 : TBits_1; inline;
  1277. function getOCFLT : TBits_1; inline;
  1278. function getOCM : TBits_3; inline;
  1279. function getOCM0 : TBits_1; inline;
  1280. function getOCM1 : TBits_1; inline;
  1281. function getOCM2 : TBits_1; inline;
  1282. function getOCSIDL : TBits_1; inline;
  1283. function getOCTSEL : TBits_1; inline;
  1284. function getON : TBits_1; inline;
  1285. function getSIDL : TBits_1; inline;
  1286. function getw : TBits_32; inline;
  1287. procedure setOC32(thebits : TBits_1); inline;
  1288. procedure setOCFLT(thebits : TBits_1); inline;
  1289. procedure setOCM(thebits : TBits_3); inline;
  1290. procedure setOCM0(thebits : TBits_1); inline;
  1291. procedure setOCM1(thebits : TBits_1); inline;
  1292. procedure setOCM2(thebits : TBits_1); inline;
  1293. procedure setOCSIDL(thebits : TBits_1); inline;
  1294. procedure setOCTSEL(thebits : TBits_1); inline;
  1295. procedure setON(thebits : TBits_1); inline;
  1296. procedure setSIDL(thebits : TBits_1); inline;
  1297. procedure setw(thebits : TBits_32); inline;
  1298. public
  1299. procedure clearOC32; inline;
  1300. procedure clearOCFLT; inline;
  1301. procedure clearOCM0; inline;
  1302. procedure clearOCM1; inline;
  1303. procedure clearOCM2; inline;
  1304. procedure clearOCSIDL; inline;
  1305. procedure clearOCTSEL; inline;
  1306. procedure clearON; inline;
  1307. procedure clearSIDL; inline;
  1308. procedure setOC32; inline;
  1309. procedure setOCFLT; inline;
  1310. procedure setOCM0; inline;
  1311. procedure setOCM1; inline;
  1312. procedure setOCM2; inline;
  1313. procedure setOCSIDL; inline;
  1314. procedure setOCTSEL; inline;
  1315. procedure setON; inline;
  1316. procedure setSIDL; inline;
  1317. property OC32 : TBits_1 read getOC32 write setOC32;
  1318. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1319. property OCM : TBits_3 read getOCM write setOCM;
  1320. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1321. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1322. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1323. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1324. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1325. property ON : TBits_1 read getON write setON;
  1326. property SIDL : TBits_1 read getSIDL write setSIDL;
  1327. property w : TBits_32 read getw write setw;
  1328. end;
  1329. type
  1330. TOCMP3Registers = record
  1331. OC3CONbits : TOCMP3_OC3CON;
  1332. OC3CON : longWord;
  1333. OC3CONCLR : longWord;
  1334. OC3CONSET : longWord;
  1335. OC3CONINV : longWord;
  1336. OC3R : longWord;
  1337. OC3RCLR : longWord;
  1338. OC3RSET : longWord;
  1339. OC3RINV : longWord;
  1340. OC3RS : longWord;
  1341. OC3RSCLR : longWord;
  1342. OC3RSSET : longWord;
  1343. OC3RSINV : longWord;
  1344. end;
  1345. TOCMP4_OC4CON = record
  1346. private
  1347. function getOC32 : TBits_1; inline;
  1348. function getOCFLT : TBits_1; inline;
  1349. function getOCM : TBits_3; inline;
  1350. function getOCM0 : TBits_1; inline;
  1351. function getOCM1 : TBits_1; inline;
  1352. function getOCM2 : TBits_1; inline;
  1353. function getOCSIDL : TBits_1; inline;
  1354. function getOCTSEL : TBits_1; inline;
  1355. function getON : TBits_1; inline;
  1356. function getSIDL : TBits_1; inline;
  1357. function getw : TBits_32; inline;
  1358. procedure setOC32(thebits : TBits_1); inline;
  1359. procedure setOCFLT(thebits : TBits_1); inline;
  1360. procedure setOCM(thebits : TBits_3); inline;
  1361. procedure setOCM0(thebits : TBits_1); inline;
  1362. procedure setOCM1(thebits : TBits_1); inline;
  1363. procedure setOCM2(thebits : TBits_1); inline;
  1364. procedure setOCSIDL(thebits : TBits_1); inline;
  1365. procedure setOCTSEL(thebits : TBits_1); inline;
  1366. procedure setON(thebits : TBits_1); inline;
  1367. procedure setSIDL(thebits : TBits_1); inline;
  1368. procedure setw(thebits : TBits_32); inline;
  1369. public
  1370. procedure clearOC32; inline;
  1371. procedure clearOCFLT; inline;
  1372. procedure clearOCM0; inline;
  1373. procedure clearOCM1; inline;
  1374. procedure clearOCM2; inline;
  1375. procedure clearOCSIDL; inline;
  1376. procedure clearOCTSEL; inline;
  1377. procedure clearON; inline;
  1378. procedure clearSIDL; inline;
  1379. procedure setOC32; inline;
  1380. procedure setOCFLT; inline;
  1381. procedure setOCM0; inline;
  1382. procedure setOCM1; inline;
  1383. procedure setOCM2; inline;
  1384. procedure setOCSIDL; inline;
  1385. procedure setOCTSEL; inline;
  1386. procedure setON; inline;
  1387. procedure setSIDL; inline;
  1388. property OC32 : TBits_1 read getOC32 write setOC32;
  1389. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1390. property OCM : TBits_3 read getOCM write setOCM;
  1391. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1392. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1393. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1394. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1395. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1396. property ON : TBits_1 read getON write setON;
  1397. property SIDL : TBits_1 read getSIDL write setSIDL;
  1398. property w : TBits_32 read getw write setw;
  1399. end;
  1400. type
  1401. TOCMP4Registers = record
  1402. OC4CONbits : TOCMP4_OC4CON;
  1403. OC4CON : longWord;
  1404. OC4CONCLR : longWord;
  1405. OC4CONSET : longWord;
  1406. OC4CONINV : longWord;
  1407. OC4R : longWord;
  1408. OC4RCLR : longWord;
  1409. OC4RSET : longWord;
  1410. OC4RINV : longWord;
  1411. OC4RS : longWord;
  1412. OC4RSCLR : longWord;
  1413. OC4RSSET : longWord;
  1414. OC4RSINV : longWord;
  1415. end;
  1416. TOCMP5_OC5CON = record
  1417. private
  1418. function getOC32 : TBits_1; inline;
  1419. function getOCFLT : TBits_1; inline;
  1420. function getOCM : TBits_3; inline;
  1421. function getOCM0 : TBits_1; inline;
  1422. function getOCM1 : TBits_1; inline;
  1423. function getOCM2 : TBits_1; inline;
  1424. function getOCSIDL : TBits_1; inline;
  1425. function getOCTSEL : TBits_1; inline;
  1426. function getON : TBits_1; inline;
  1427. function getSIDL : TBits_1; inline;
  1428. function getw : TBits_32; inline;
  1429. procedure setOC32(thebits : TBits_1); inline;
  1430. procedure setOCFLT(thebits : TBits_1); inline;
  1431. procedure setOCM(thebits : TBits_3); inline;
  1432. procedure setOCM0(thebits : TBits_1); inline;
  1433. procedure setOCM1(thebits : TBits_1); inline;
  1434. procedure setOCM2(thebits : TBits_1); inline;
  1435. procedure setOCSIDL(thebits : TBits_1); inline;
  1436. procedure setOCTSEL(thebits : TBits_1); inline;
  1437. procedure setON(thebits : TBits_1); inline;
  1438. procedure setSIDL(thebits : TBits_1); inline;
  1439. procedure setw(thebits : TBits_32); inline;
  1440. public
  1441. procedure clearOC32; inline;
  1442. procedure clearOCFLT; inline;
  1443. procedure clearOCM0; inline;
  1444. procedure clearOCM1; inline;
  1445. procedure clearOCM2; inline;
  1446. procedure clearOCSIDL; inline;
  1447. procedure clearOCTSEL; inline;
  1448. procedure clearON; inline;
  1449. procedure clearSIDL; inline;
  1450. procedure setOC32; inline;
  1451. procedure setOCFLT; inline;
  1452. procedure setOCM0; inline;
  1453. procedure setOCM1; inline;
  1454. procedure setOCM2; inline;
  1455. procedure setOCSIDL; inline;
  1456. procedure setOCTSEL; inline;
  1457. procedure setON; inline;
  1458. procedure setSIDL; inline;
  1459. property OC32 : TBits_1 read getOC32 write setOC32;
  1460. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1461. property OCM : TBits_3 read getOCM write setOCM;
  1462. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1463. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1464. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1465. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1466. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1467. property ON : TBits_1 read getON write setON;
  1468. property SIDL : TBits_1 read getSIDL write setSIDL;
  1469. property w : TBits_32 read getw write setw;
  1470. end;
  1471. type
  1472. TOCMP5Registers = record
  1473. OC5CONbits : TOCMP5_OC5CON;
  1474. OC5CON : longWord;
  1475. OC5CONCLR : longWord;
  1476. OC5CONSET : longWord;
  1477. OC5CONINV : longWord;
  1478. OC5R : longWord;
  1479. OC5RCLR : longWord;
  1480. OC5RSET : longWord;
  1481. OC5RINV : longWord;
  1482. OC5RS : longWord;
  1483. OC5RSCLR : longWord;
  1484. OC5RSSET : longWord;
  1485. OC5RSINV : longWord;
  1486. end;
  1487. TI2C1_I2C1ACON = record
  1488. private
  1489. function getA10M : TBits_1; inline;
  1490. function getACKDT : TBits_1; inline;
  1491. function getACKEN : TBits_1; inline;
  1492. function getDISSLW : TBits_1; inline;
  1493. function getGCEN : TBits_1; inline;
  1494. function getI2CEN : TBits_1; inline;
  1495. function getI2CSIDL : TBits_1; inline;
  1496. function getIPMIEN : TBits_1; inline;
  1497. function getON : TBits_1; inline;
  1498. function getPEN : TBits_1; inline;
  1499. function getRCEN : TBits_1; inline;
  1500. function getRSEN : TBits_1; inline;
  1501. function getSCLREL : TBits_1; inline;
  1502. function getSEN : TBits_1; inline;
  1503. function getSIDL : TBits_1; inline;
  1504. function getSMEN : TBits_1; inline;
  1505. function getSTREN : TBits_1; inline;
  1506. function getSTRICT : TBits_1; inline;
  1507. function getw : TBits_32; inline;
  1508. procedure setA10M(thebits : TBits_1); inline;
  1509. procedure setACKDT(thebits : TBits_1); inline;
  1510. procedure setACKEN(thebits : TBits_1); inline;
  1511. procedure setDISSLW(thebits : TBits_1); inline;
  1512. procedure setGCEN(thebits : TBits_1); inline;
  1513. procedure setI2CEN(thebits : TBits_1); inline;
  1514. procedure setI2CSIDL(thebits : TBits_1); inline;
  1515. procedure setIPMIEN(thebits : TBits_1); inline;
  1516. procedure setON(thebits : TBits_1); inline;
  1517. procedure setPEN(thebits : TBits_1); inline;
  1518. procedure setRCEN(thebits : TBits_1); inline;
  1519. procedure setRSEN(thebits : TBits_1); inline;
  1520. procedure setSCLREL(thebits : TBits_1); inline;
  1521. procedure setSEN(thebits : TBits_1); inline;
  1522. procedure setSIDL(thebits : TBits_1); inline;
  1523. procedure setSMEN(thebits : TBits_1); inline;
  1524. procedure setSTREN(thebits : TBits_1); inline;
  1525. procedure setSTRICT(thebits : TBits_1); inline;
  1526. procedure setw(thebits : TBits_32); inline;
  1527. public
  1528. procedure clearA10M; inline;
  1529. procedure clearACKDT; inline;
  1530. procedure clearACKEN; inline;
  1531. procedure clearDISSLW; inline;
  1532. procedure clearGCEN; inline;
  1533. procedure clearI2CEN; inline;
  1534. procedure clearI2CSIDL; inline;
  1535. procedure clearIPMIEN; inline;
  1536. procedure clearON; inline;
  1537. procedure clearPEN; inline;
  1538. procedure clearRCEN; inline;
  1539. procedure clearRSEN; inline;
  1540. procedure clearSCLREL; inline;
  1541. procedure clearSEN; inline;
  1542. procedure clearSIDL; inline;
  1543. procedure clearSMEN; inline;
  1544. procedure clearSTREN; inline;
  1545. procedure clearSTRICT; inline;
  1546. procedure setA10M; inline;
  1547. procedure setACKDT; inline;
  1548. procedure setACKEN; inline;
  1549. procedure setDISSLW; inline;
  1550. procedure setGCEN; inline;
  1551. procedure setI2CEN; inline;
  1552. procedure setI2CSIDL; inline;
  1553. procedure setIPMIEN; inline;
  1554. procedure setON; inline;
  1555. procedure setPEN; inline;
  1556. procedure setRCEN; inline;
  1557. procedure setRSEN; inline;
  1558. procedure setSCLREL; inline;
  1559. procedure setSEN; inline;
  1560. procedure setSIDL; inline;
  1561. procedure setSMEN; inline;
  1562. procedure setSTREN; inline;
  1563. procedure setSTRICT; inline;
  1564. property A10M : TBits_1 read getA10M write setA10M;
  1565. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1566. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1567. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1568. property GCEN : TBits_1 read getGCEN write setGCEN;
  1569. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1570. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1571. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1572. property ON : TBits_1 read getON write setON;
  1573. property PEN : TBits_1 read getPEN write setPEN;
  1574. property RCEN : TBits_1 read getRCEN write setRCEN;
  1575. property RSEN : TBits_1 read getRSEN write setRSEN;
  1576. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1577. property SEN : TBits_1 read getSEN write setSEN;
  1578. property SIDL : TBits_1 read getSIDL write setSIDL;
  1579. property SMEN : TBits_1 read getSMEN write setSMEN;
  1580. property STREN : TBits_1 read getSTREN write setSTREN;
  1581. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1582. property w : TBits_32 read getw write setw;
  1583. end;
  1584. TI2C1_I2C1CON = record
  1585. private
  1586. function getA10M : TBits_1; inline;
  1587. function getACKDT : TBits_1; inline;
  1588. function getACKEN : TBits_1; inline;
  1589. function getDISSLW : TBits_1; inline;
  1590. function getGCEN : TBits_1; inline;
  1591. function getI2CEN : TBits_1; inline;
  1592. function getI2CSIDL : TBits_1; inline;
  1593. function getIPMIEN : TBits_1; inline;
  1594. function getON : TBits_1; inline;
  1595. function getPEN : TBits_1; inline;
  1596. function getRCEN : TBits_1; inline;
  1597. function getRSEN : TBits_1; inline;
  1598. function getSCLREL : TBits_1; inline;
  1599. function getSEN : TBits_1; inline;
  1600. function getSIDL : TBits_1; inline;
  1601. function getSMEN : TBits_1; inline;
  1602. function getSTREN : TBits_1; inline;
  1603. function getSTRICT : TBits_1; inline;
  1604. function getw : TBits_32; inline;
  1605. procedure setA10M(thebits : TBits_1); inline;
  1606. procedure setACKDT(thebits : TBits_1); inline;
  1607. procedure setACKEN(thebits : TBits_1); inline;
  1608. procedure setDISSLW(thebits : TBits_1); inline;
  1609. procedure setGCEN(thebits : TBits_1); inline;
  1610. procedure setI2CEN(thebits : TBits_1); inline;
  1611. procedure setI2CSIDL(thebits : TBits_1); inline;
  1612. procedure setIPMIEN(thebits : TBits_1); inline;
  1613. procedure setON(thebits : TBits_1); inline;
  1614. procedure setPEN(thebits : TBits_1); inline;
  1615. procedure setRCEN(thebits : TBits_1); inline;
  1616. procedure setRSEN(thebits : TBits_1); inline;
  1617. procedure setSCLREL(thebits : TBits_1); inline;
  1618. procedure setSEN(thebits : TBits_1); inline;
  1619. procedure setSIDL(thebits : TBits_1); inline;
  1620. procedure setSMEN(thebits : TBits_1); inline;
  1621. procedure setSTREN(thebits : TBits_1); inline;
  1622. procedure setSTRICT(thebits : TBits_1); inline;
  1623. procedure setw(thebits : TBits_32); inline;
  1624. public
  1625. procedure clearA10M; inline;
  1626. procedure clearACKDT; inline;
  1627. procedure clearACKEN; inline;
  1628. procedure clearDISSLW; inline;
  1629. procedure clearGCEN; inline;
  1630. procedure clearI2CEN; inline;
  1631. procedure clearI2CSIDL; inline;
  1632. procedure clearIPMIEN; inline;
  1633. procedure clearON; inline;
  1634. procedure clearPEN; inline;
  1635. procedure clearRCEN; inline;
  1636. procedure clearRSEN; inline;
  1637. procedure clearSCLREL; inline;
  1638. procedure clearSEN; inline;
  1639. procedure clearSIDL; inline;
  1640. procedure clearSMEN; inline;
  1641. procedure clearSTREN; inline;
  1642. procedure clearSTRICT; inline;
  1643. procedure setA10M; inline;
  1644. procedure setACKDT; inline;
  1645. procedure setACKEN; inline;
  1646. procedure setDISSLW; inline;
  1647. procedure setGCEN; inline;
  1648. procedure setI2CEN; inline;
  1649. procedure setI2CSIDL; inline;
  1650. procedure setIPMIEN; inline;
  1651. procedure setON; inline;
  1652. procedure setPEN; inline;
  1653. procedure setRCEN; inline;
  1654. procedure setRSEN; inline;
  1655. procedure setSCLREL; inline;
  1656. procedure setSEN; inline;
  1657. procedure setSIDL; inline;
  1658. procedure setSMEN; inline;
  1659. procedure setSTREN; inline;
  1660. procedure setSTRICT; inline;
  1661. property A10M : TBits_1 read getA10M write setA10M;
  1662. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1663. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1664. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1665. property GCEN : TBits_1 read getGCEN write setGCEN;
  1666. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1667. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1668. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1669. property ON : TBits_1 read getON write setON;
  1670. property PEN : TBits_1 read getPEN write setPEN;
  1671. property RCEN : TBits_1 read getRCEN write setRCEN;
  1672. property RSEN : TBits_1 read getRSEN write setRSEN;
  1673. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1674. property SEN : TBits_1 read getSEN write setSEN;
  1675. property SIDL : TBits_1 read getSIDL write setSIDL;
  1676. property SMEN : TBits_1 read getSMEN write setSMEN;
  1677. property STREN : TBits_1 read getSTREN write setSTREN;
  1678. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1679. property w : TBits_32 read getw write setw;
  1680. end;
  1681. TI2C1_I2C1ASTAT = record
  1682. private
  1683. function getACKSTAT : TBits_1; inline;
  1684. function getADD10 : TBits_1; inline;
  1685. function getBCL : TBits_1; inline;
  1686. function getD_A : TBits_1; inline;
  1687. function getGCSTAT : TBits_1; inline;
  1688. function getI2COV : TBits_1; inline;
  1689. function getI2CPOV : TBits_1; inline;
  1690. function getIWCOL : TBits_1; inline;
  1691. function getP : TBits_1; inline;
  1692. function getRBF : TBits_1; inline;
  1693. function getR_W : TBits_1; inline;
  1694. function getS : TBits_1; inline;
  1695. function getTBF : TBits_1; inline;
  1696. function getTRSTAT : TBits_1; inline;
  1697. function getw : TBits_32; inline;
  1698. procedure setACKSTAT(thebits : TBits_1); inline;
  1699. procedure setADD10(thebits : TBits_1); inline;
  1700. procedure setBCL(thebits : TBits_1); inline;
  1701. procedure setD_A(thebits : TBits_1); inline;
  1702. procedure setGCSTAT(thebits : TBits_1); inline;
  1703. procedure setI2COV(thebits : TBits_1); inline;
  1704. procedure setI2CPOV(thebits : TBits_1); inline;
  1705. procedure setIWCOL(thebits : TBits_1); inline;
  1706. procedure setP(thebits : TBits_1); inline;
  1707. procedure setRBF(thebits : TBits_1); inline;
  1708. procedure setR_W(thebits : TBits_1); inline;
  1709. procedure setS(thebits : TBits_1); inline;
  1710. procedure setTBF(thebits : TBits_1); inline;
  1711. procedure setTRSTAT(thebits : TBits_1); inline;
  1712. procedure setw(thebits : TBits_32); inline;
  1713. public
  1714. procedure clearACKSTAT; inline;
  1715. procedure clearADD10; inline;
  1716. procedure clearBCL; inline;
  1717. procedure clearD_A; inline;
  1718. procedure clearGCSTAT; inline;
  1719. procedure clearI2COV; inline;
  1720. procedure clearI2CPOV; inline;
  1721. procedure clearIWCOL; inline;
  1722. procedure clearP; inline;
  1723. procedure clearRBF; inline;
  1724. procedure clearR_W; inline;
  1725. procedure clearS; inline;
  1726. procedure clearTBF; inline;
  1727. procedure clearTRSTAT; inline;
  1728. procedure setACKSTAT; inline;
  1729. procedure setADD10; inline;
  1730. procedure setBCL; inline;
  1731. procedure setD_A; inline;
  1732. procedure setGCSTAT; inline;
  1733. procedure setI2COV; inline;
  1734. procedure setI2CPOV; inline;
  1735. procedure setIWCOL; inline;
  1736. procedure setP; inline;
  1737. procedure setRBF; inline;
  1738. procedure setR_W; inline;
  1739. procedure setS; inline;
  1740. procedure setTBF; inline;
  1741. procedure setTRSTAT; inline;
  1742. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1743. property ADD10 : TBits_1 read getADD10 write setADD10;
  1744. property BCL : TBits_1 read getBCL write setBCL;
  1745. property D_A : TBits_1 read getD_A write setD_A;
  1746. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1747. property I2COV : TBits_1 read getI2COV write setI2COV;
  1748. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1749. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1750. property P : TBits_1 read getP write setP;
  1751. property RBF : TBits_1 read getRBF write setRBF;
  1752. property R_W : TBits_1 read getR_W write setR_W;
  1753. property S : TBits_1 read getS write setS;
  1754. property TBF : TBits_1 read getTBF write setTBF;
  1755. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1756. property w : TBits_32 read getw write setw;
  1757. end;
  1758. TI2C1_I2C1STAT = record
  1759. private
  1760. function getACKSTAT : TBits_1; inline;
  1761. function getADD10 : TBits_1; inline;
  1762. function getBCL : TBits_1; inline;
  1763. function getD_A : TBits_1; inline;
  1764. function getGCSTAT : TBits_1; inline;
  1765. function getI2COV : TBits_1; inline;
  1766. function getI2CPOV : TBits_1; inline;
  1767. function getIWCOL : TBits_1; inline;
  1768. function getP : TBits_1; inline;
  1769. function getRBF : TBits_1; inline;
  1770. function getR_W : TBits_1; inline;
  1771. function getS : TBits_1; inline;
  1772. function getTBF : TBits_1; inline;
  1773. function getTRSTAT : TBits_1; inline;
  1774. function getw : TBits_32; inline;
  1775. procedure setACKSTAT(thebits : TBits_1); inline;
  1776. procedure setADD10(thebits : TBits_1); inline;
  1777. procedure setBCL(thebits : TBits_1); inline;
  1778. procedure setD_A(thebits : TBits_1); inline;
  1779. procedure setGCSTAT(thebits : TBits_1); inline;
  1780. procedure setI2COV(thebits : TBits_1); inline;
  1781. procedure setI2CPOV(thebits : TBits_1); inline;
  1782. procedure setIWCOL(thebits : TBits_1); inline;
  1783. procedure setP(thebits : TBits_1); inline;
  1784. procedure setRBF(thebits : TBits_1); inline;
  1785. procedure setR_W(thebits : TBits_1); inline;
  1786. procedure setS(thebits : TBits_1); inline;
  1787. procedure setTBF(thebits : TBits_1); inline;
  1788. procedure setTRSTAT(thebits : TBits_1); inline;
  1789. procedure setw(thebits : TBits_32); inline;
  1790. public
  1791. procedure clearACKSTAT; inline;
  1792. procedure clearADD10; inline;
  1793. procedure clearBCL; inline;
  1794. procedure clearD_A; inline;
  1795. procedure clearGCSTAT; inline;
  1796. procedure clearI2COV; inline;
  1797. procedure clearI2CPOV; inline;
  1798. procedure clearIWCOL; inline;
  1799. procedure clearP; inline;
  1800. procedure clearRBF; inline;
  1801. procedure clearR_W; inline;
  1802. procedure clearS; inline;
  1803. procedure clearTBF; inline;
  1804. procedure clearTRSTAT; inline;
  1805. procedure setACKSTAT; inline;
  1806. procedure setADD10; inline;
  1807. procedure setBCL; inline;
  1808. procedure setD_A; inline;
  1809. procedure setGCSTAT; inline;
  1810. procedure setI2COV; inline;
  1811. procedure setI2CPOV; inline;
  1812. procedure setIWCOL; inline;
  1813. procedure setP; inline;
  1814. procedure setRBF; inline;
  1815. procedure setR_W; inline;
  1816. procedure setS; inline;
  1817. procedure setTBF; inline;
  1818. procedure setTRSTAT; inline;
  1819. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1820. property ADD10 : TBits_1 read getADD10 write setADD10;
  1821. property BCL : TBits_1 read getBCL write setBCL;
  1822. property D_A : TBits_1 read getD_A write setD_A;
  1823. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1824. property I2COV : TBits_1 read getI2COV write setI2COV;
  1825. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1826. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1827. property P : TBits_1 read getP write setP;
  1828. property RBF : TBits_1 read getRBF write setRBF;
  1829. property R_W : TBits_1 read getR_W write setR_W;
  1830. property S : TBits_1 read getS write setS;
  1831. property TBF : TBits_1 read getTBF write setTBF;
  1832. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1833. property w : TBits_32 read getw write setw;
  1834. end;
  1835. type
  1836. TI2C1Registers = record
  1837. I2C1ACONbits : TI2C1_I2C1ACON;
  1838. I2C1ACON : longWord;
  1839. I2C1CONbits : TI2C1_I2C1CON;
  1840. I2C1CON : longWord;
  1841. I2C1ACONCLR : longWord;
  1842. I2C1CONCLR : longWord;
  1843. I2C1ACONSET : longWord;
  1844. I2C1CONSET : longWord;
  1845. I2C1ACONINV : longWord;
  1846. I2C1CONINV : longWord;
  1847. I2C1ASTATbits : TI2C1_I2C1ASTAT;
  1848. I2C1ASTAT : longWord;
  1849. I2C1STATbits : TI2C1_I2C1STAT;
  1850. I2C1STAT : longWord;
  1851. I2C1ASTATCLR : longWord;
  1852. I2C1STATCLR : longWord;
  1853. I2C1ASTATSET : longWord;
  1854. I2C1STATSET : longWord;
  1855. I2C1ASTATINV : longWord;
  1856. I2C1STATINV : longWord;
  1857. I2C1AADD : longWord;
  1858. I2C1ADD : longWord;
  1859. I2C1AADDCLR : longWord;
  1860. I2C1ADDCLR : longWord;
  1861. I2C1AADDSET : longWord;
  1862. I2C1ADDSET : longWord;
  1863. I2C1AADDINV : longWord;
  1864. I2C1ADDINV : longWord;
  1865. I2C1AMSK : longWord;
  1866. I2C1MSK : longWord;
  1867. I2C1AMSKCLR : longWord;
  1868. I2C1MSKCLR : longWord;
  1869. I2C1AMSKSET : longWord;
  1870. I2C1MSKSET : longWord;
  1871. I2C1AMSKINV : longWord;
  1872. I2C1MSKINV : longWord;
  1873. I2C1ABRG : longWord;
  1874. I2C1BRG : longWord;
  1875. I2C1ABRGCLR : longWord;
  1876. I2C1BRGCLR : longWord;
  1877. I2C1ABRGSET : longWord;
  1878. I2C1BRGSET : longWord;
  1879. I2C1ABRGINV : longWord;
  1880. I2C1BRGINV : longWord;
  1881. I2C1ATRN : longWord;
  1882. I2C1TRN : longWord;
  1883. I2C1ATRNCLR : longWord;
  1884. I2C1TRNCLR : longWord;
  1885. I2C1ATRNSET : longWord;
  1886. I2C1TRNSET : longWord;
  1887. I2C1ATRNINV : longWord;
  1888. I2C1TRNINV : longWord;
  1889. I2C1ARCV : longWord;
  1890. I2C1RCV : longWord;
  1891. end;
  1892. TI2C2_I2C2ACON = record
  1893. private
  1894. function getA10M : TBits_1; inline;
  1895. function getACKDT : TBits_1; inline;
  1896. function getACKEN : TBits_1; inline;
  1897. function getDISSLW : TBits_1; inline;
  1898. function getGCEN : TBits_1; inline;
  1899. function getI2CEN : TBits_1; inline;
  1900. function getI2CSIDL : TBits_1; inline;
  1901. function getIPMIEN : TBits_1; inline;
  1902. function getON : TBits_1; inline;
  1903. function getPEN : TBits_1; inline;
  1904. function getRCEN : TBits_1; inline;
  1905. function getRSEN : TBits_1; inline;
  1906. function getSCLREL : TBits_1; inline;
  1907. function getSEN : TBits_1; inline;
  1908. function getSIDL : TBits_1; inline;
  1909. function getSMEN : TBits_1; inline;
  1910. function getSTREN : TBits_1; inline;
  1911. function getSTRICT : TBits_1; inline;
  1912. function getw : TBits_32; inline;
  1913. procedure setA10M(thebits : TBits_1); inline;
  1914. procedure setACKDT(thebits : TBits_1); inline;
  1915. procedure setACKEN(thebits : TBits_1); inline;
  1916. procedure setDISSLW(thebits : TBits_1); inline;
  1917. procedure setGCEN(thebits : TBits_1); inline;
  1918. procedure setI2CEN(thebits : TBits_1); inline;
  1919. procedure setI2CSIDL(thebits : TBits_1); inline;
  1920. procedure setIPMIEN(thebits : TBits_1); inline;
  1921. procedure setON(thebits : TBits_1); inline;
  1922. procedure setPEN(thebits : TBits_1); inline;
  1923. procedure setRCEN(thebits : TBits_1); inline;
  1924. procedure setRSEN(thebits : TBits_1); inline;
  1925. procedure setSCLREL(thebits : TBits_1); inline;
  1926. procedure setSEN(thebits : TBits_1); inline;
  1927. procedure setSIDL(thebits : TBits_1); inline;
  1928. procedure setSMEN(thebits : TBits_1); inline;
  1929. procedure setSTREN(thebits : TBits_1); inline;
  1930. procedure setSTRICT(thebits : TBits_1); inline;
  1931. procedure setw(thebits : TBits_32); inline;
  1932. public
  1933. procedure clearA10M; inline;
  1934. procedure clearACKDT; inline;
  1935. procedure clearACKEN; inline;
  1936. procedure clearDISSLW; inline;
  1937. procedure clearGCEN; inline;
  1938. procedure clearI2CEN; inline;
  1939. procedure clearI2CSIDL; inline;
  1940. procedure clearIPMIEN; inline;
  1941. procedure clearON; inline;
  1942. procedure clearPEN; inline;
  1943. procedure clearRCEN; inline;
  1944. procedure clearRSEN; inline;
  1945. procedure clearSCLREL; inline;
  1946. procedure clearSEN; inline;
  1947. procedure clearSIDL; inline;
  1948. procedure clearSMEN; inline;
  1949. procedure clearSTREN; inline;
  1950. procedure clearSTRICT; inline;
  1951. procedure setA10M; inline;
  1952. procedure setACKDT; inline;
  1953. procedure setACKEN; inline;
  1954. procedure setDISSLW; inline;
  1955. procedure setGCEN; inline;
  1956. procedure setI2CEN; inline;
  1957. procedure setI2CSIDL; inline;
  1958. procedure setIPMIEN; inline;
  1959. procedure setON; inline;
  1960. procedure setPEN; inline;
  1961. procedure setRCEN; inline;
  1962. procedure setRSEN; inline;
  1963. procedure setSCLREL; inline;
  1964. procedure setSEN; inline;
  1965. procedure setSIDL; inline;
  1966. procedure setSMEN; inline;
  1967. procedure setSTREN; inline;
  1968. procedure setSTRICT; inline;
  1969. property A10M : TBits_1 read getA10M write setA10M;
  1970. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1971. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1972. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1973. property GCEN : TBits_1 read getGCEN write setGCEN;
  1974. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1975. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1976. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1977. property ON : TBits_1 read getON write setON;
  1978. property PEN : TBits_1 read getPEN write setPEN;
  1979. property RCEN : TBits_1 read getRCEN write setRCEN;
  1980. property RSEN : TBits_1 read getRSEN write setRSEN;
  1981. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1982. property SEN : TBits_1 read getSEN write setSEN;
  1983. property SIDL : TBits_1 read getSIDL write setSIDL;
  1984. property SMEN : TBits_1 read getSMEN write setSMEN;
  1985. property STREN : TBits_1 read getSTREN write setSTREN;
  1986. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1987. property w : TBits_32 read getw write setw;
  1988. end;
  1989. TI2C2_I2C2CON = record
  1990. private
  1991. function getA10M : TBits_1; inline;
  1992. function getACKDT : TBits_1; inline;
  1993. function getACKEN : TBits_1; inline;
  1994. function getDISSLW : TBits_1; inline;
  1995. function getGCEN : TBits_1; inline;
  1996. function getI2CEN : TBits_1; inline;
  1997. function getI2CSIDL : TBits_1; inline;
  1998. function getIPMIEN : TBits_1; inline;
  1999. function getON : TBits_1; inline;
  2000. function getPEN : TBits_1; inline;
  2001. function getRCEN : TBits_1; inline;
  2002. function getRSEN : TBits_1; inline;
  2003. function getSCLREL : TBits_1; inline;
  2004. function getSEN : TBits_1; inline;
  2005. function getSIDL : TBits_1; inline;
  2006. function getSMEN : TBits_1; inline;
  2007. function getSTREN : TBits_1; inline;
  2008. function getSTRICT : TBits_1; inline;
  2009. function getw : TBits_32; inline;
  2010. procedure setA10M(thebits : TBits_1); inline;
  2011. procedure setACKDT(thebits : TBits_1); inline;
  2012. procedure setACKEN(thebits : TBits_1); inline;
  2013. procedure setDISSLW(thebits : TBits_1); inline;
  2014. procedure setGCEN(thebits : TBits_1); inline;
  2015. procedure setI2CEN(thebits : TBits_1); inline;
  2016. procedure setI2CSIDL(thebits : TBits_1); inline;
  2017. procedure setIPMIEN(thebits : TBits_1); inline;
  2018. procedure setON(thebits : TBits_1); inline;
  2019. procedure setPEN(thebits : TBits_1); inline;
  2020. procedure setRCEN(thebits : TBits_1); inline;
  2021. procedure setRSEN(thebits : TBits_1); inline;
  2022. procedure setSCLREL(thebits : TBits_1); inline;
  2023. procedure setSEN(thebits : TBits_1); inline;
  2024. procedure setSIDL(thebits : TBits_1); inline;
  2025. procedure setSMEN(thebits : TBits_1); inline;
  2026. procedure setSTREN(thebits : TBits_1); inline;
  2027. procedure setSTRICT(thebits : TBits_1); inline;
  2028. procedure setw(thebits : TBits_32); inline;
  2029. public
  2030. procedure clearA10M; inline;
  2031. procedure clearACKDT; inline;
  2032. procedure clearACKEN; inline;
  2033. procedure clearDISSLW; inline;
  2034. procedure clearGCEN; inline;
  2035. procedure clearI2CEN; inline;
  2036. procedure clearI2CSIDL; inline;
  2037. procedure clearIPMIEN; inline;
  2038. procedure clearON; inline;
  2039. procedure clearPEN; inline;
  2040. procedure clearRCEN; inline;
  2041. procedure clearRSEN; inline;
  2042. procedure clearSCLREL; inline;
  2043. procedure clearSEN; inline;
  2044. procedure clearSIDL; inline;
  2045. procedure clearSMEN; inline;
  2046. procedure clearSTREN; inline;
  2047. procedure clearSTRICT; inline;
  2048. procedure setA10M; inline;
  2049. procedure setACKDT; inline;
  2050. procedure setACKEN; inline;
  2051. procedure setDISSLW; inline;
  2052. procedure setGCEN; inline;
  2053. procedure setI2CEN; inline;
  2054. procedure setI2CSIDL; inline;
  2055. procedure setIPMIEN; inline;
  2056. procedure setON; inline;
  2057. procedure setPEN; inline;
  2058. procedure setRCEN; inline;
  2059. procedure setRSEN; inline;
  2060. procedure setSCLREL; inline;
  2061. procedure setSEN; inline;
  2062. procedure setSIDL; inline;
  2063. procedure setSMEN; inline;
  2064. procedure setSTREN; inline;
  2065. procedure setSTRICT; inline;
  2066. property A10M : TBits_1 read getA10M write setA10M;
  2067. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2068. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2069. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2070. property GCEN : TBits_1 read getGCEN write setGCEN;
  2071. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2072. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2073. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2074. property ON : TBits_1 read getON write setON;
  2075. property PEN : TBits_1 read getPEN write setPEN;
  2076. property RCEN : TBits_1 read getRCEN write setRCEN;
  2077. property RSEN : TBits_1 read getRSEN write setRSEN;
  2078. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2079. property SEN : TBits_1 read getSEN write setSEN;
  2080. property SIDL : TBits_1 read getSIDL write setSIDL;
  2081. property SMEN : TBits_1 read getSMEN write setSMEN;
  2082. property STREN : TBits_1 read getSTREN write setSTREN;
  2083. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2084. property w : TBits_32 read getw write setw;
  2085. end;
  2086. TI2C2_I2C2ASTAT = record
  2087. private
  2088. function getACKSTAT : TBits_1; inline;
  2089. function getADD10 : TBits_1; inline;
  2090. function getBCL : TBits_1; inline;
  2091. function getD_A : TBits_1; inline;
  2092. function getGCSTAT : TBits_1; inline;
  2093. function getI2COV : TBits_1; inline;
  2094. function getI2CPOV : TBits_1; inline;
  2095. function getIWCOL : TBits_1; inline;
  2096. function getP : TBits_1; inline;
  2097. function getRBF : TBits_1; inline;
  2098. function getR_W : TBits_1; inline;
  2099. function getS : TBits_1; inline;
  2100. function getTBF : TBits_1; inline;
  2101. function getTRSTAT : TBits_1; inline;
  2102. function getw : TBits_32; inline;
  2103. procedure setACKSTAT(thebits : TBits_1); inline;
  2104. procedure setADD10(thebits : TBits_1); inline;
  2105. procedure setBCL(thebits : TBits_1); inline;
  2106. procedure setD_A(thebits : TBits_1); inline;
  2107. procedure setGCSTAT(thebits : TBits_1); inline;
  2108. procedure setI2COV(thebits : TBits_1); inline;
  2109. procedure setI2CPOV(thebits : TBits_1); inline;
  2110. procedure setIWCOL(thebits : TBits_1); inline;
  2111. procedure setP(thebits : TBits_1); inline;
  2112. procedure setRBF(thebits : TBits_1); inline;
  2113. procedure setR_W(thebits : TBits_1); inline;
  2114. procedure setS(thebits : TBits_1); inline;
  2115. procedure setTBF(thebits : TBits_1); inline;
  2116. procedure setTRSTAT(thebits : TBits_1); inline;
  2117. procedure setw(thebits : TBits_32); inline;
  2118. public
  2119. procedure clearACKSTAT; inline;
  2120. procedure clearADD10; inline;
  2121. procedure clearBCL; inline;
  2122. procedure clearD_A; inline;
  2123. procedure clearGCSTAT; inline;
  2124. procedure clearI2COV; inline;
  2125. procedure clearI2CPOV; inline;
  2126. procedure clearIWCOL; inline;
  2127. procedure clearP; inline;
  2128. procedure clearRBF; inline;
  2129. procedure clearR_W; inline;
  2130. procedure clearS; inline;
  2131. procedure clearTBF; inline;
  2132. procedure clearTRSTAT; inline;
  2133. procedure setACKSTAT; inline;
  2134. procedure setADD10; inline;
  2135. procedure setBCL; inline;
  2136. procedure setD_A; inline;
  2137. procedure setGCSTAT; inline;
  2138. procedure setI2COV; inline;
  2139. procedure setI2CPOV; inline;
  2140. procedure setIWCOL; inline;
  2141. procedure setP; inline;
  2142. procedure setRBF; inline;
  2143. procedure setR_W; inline;
  2144. procedure setS; inline;
  2145. procedure setTBF; inline;
  2146. procedure setTRSTAT; inline;
  2147. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2148. property ADD10 : TBits_1 read getADD10 write setADD10;
  2149. property BCL : TBits_1 read getBCL write setBCL;
  2150. property D_A : TBits_1 read getD_A write setD_A;
  2151. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2152. property I2COV : TBits_1 read getI2COV write setI2COV;
  2153. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2154. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2155. property P : TBits_1 read getP write setP;
  2156. property RBF : TBits_1 read getRBF write setRBF;
  2157. property R_W : TBits_1 read getR_W write setR_W;
  2158. property S : TBits_1 read getS write setS;
  2159. property TBF : TBits_1 read getTBF write setTBF;
  2160. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2161. property w : TBits_32 read getw write setw;
  2162. end;
  2163. TI2C2_I2C2STAT = record
  2164. private
  2165. function getACKSTAT : TBits_1; inline;
  2166. function getADD10 : TBits_1; inline;
  2167. function getBCL : TBits_1; inline;
  2168. function getD_A : TBits_1; inline;
  2169. function getGCSTAT : TBits_1; inline;
  2170. function getI2COV : TBits_1; inline;
  2171. function getI2CPOV : TBits_1; inline;
  2172. function getIWCOL : TBits_1; inline;
  2173. function getP : TBits_1; inline;
  2174. function getRBF : TBits_1; inline;
  2175. function getR_W : TBits_1; inline;
  2176. function getS : TBits_1; inline;
  2177. function getTBF : TBits_1; inline;
  2178. function getTRSTAT : TBits_1; inline;
  2179. function getw : TBits_32; inline;
  2180. procedure setACKSTAT(thebits : TBits_1); inline;
  2181. procedure setADD10(thebits : TBits_1); inline;
  2182. procedure setBCL(thebits : TBits_1); inline;
  2183. procedure setD_A(thebits : TBits_1); inline;
  2184. procedure setGCSTAT(thebits : TBits_1); inline;
  2185. procedure setI2COV(thebits : TBits_1); inline;
  2186. procedure setI2CPOV(thebits : TBits_1); inline;
  2187. procedure setIWCOL(thebits : TBits_1); inline;
  2188. procedure setP(thebits : TBits_1); inline;
  2189. procedure setRBF(thebits : TBits_1); inline;
  2190. procedure setR_W(thebits : TBits_1); inline;
  2191. procedure setS(thebits : TBits_1); inline;
  2192. procedure setTBF(thebits : TBits_1); inline;
  2193. procedure setTRSTAT(thebits : TBits_1); inline;
  2194. procedure setw(thebits : TBits_32); inline;
  2195. public
  2196. procedure clearACKSTAT; inline;
  2197. procedure clearADD10; inline;
  2198. procedure clearBCL; inline;
  2199. procedure clearD_A; inline;
  2200. procedure clearGCSTAT; inline;
  2201. procedure clearI2COV; inline;
  2202. procedure clearI2CPOV; inline;
  2203. procedure clearIWCOL; inline;
  2204. procedure clearP; inline;
  2205. procedure clearRBF; inline;
  2206. procedure clearR_W; inline;
  2207. procedure clearS; inline;
  2208. procedure clearTBF; inline;
  2209. procedure clearTRSTAT; inline;
  2210. procedure setACKSTAT; inline;
  2211. procedure setADD10; inline;
  2212. procedure setBCL; inline;
  2213. procedure setD_A; inline;
  2214. procedure setGCSTAT; inline;
  2215. procedure setI2COV; inline;
  2216. procedure setI2CPOV; inline;
  2217. procedure setIWCOL; inline;
  2218. procedure setP; inline;
  2219. procedure setRBF; inline;
  2220. procedure setR_W; inline;
  2221. procedure setS; inline;
  2222. procedure setTBF; inline;
  2223. procedure setTRSTAT; inline;
  2224. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2225. property ADD10 : TBits_1 read getADD10 write setADD10;
  2226. property BCL : TBits_1 read getBCL write setBCL;
  2227. property D_A : TBits_1 read getD_A write setD_A;
  2228. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2229. property I2COV : TBits_1 read getI2COV write setI2COV;
  2230. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2231. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2232. property P : TBits_1 read getP write setP;
  2233. property RBF : TBits_1 read getRBF write setRBF;
  2234. property R_W : TBits_1 read getR_W write setR_W;
  2235. property S : TBits_1 read getS write setS;
  2236. property TBF : TBits_1 read getTBF write setTBF;
  2237. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2238. property w : TBits_32 read getw write setw;
  2239. end;
  2240. type
  2241. TI2C2Registers = record
  2242. I2C2ACONbits : TI2C2_I2C2ACON;
  2243. I2C2ACON : longWord;
  2244. I2C2CONbits : TI2C2_I2C2CON;
  2245. I2C2CON : longWord;
  2246. I2C2ACONCLR : longWord;
  2247. I2C2CONCLR : longWord;
  2248. I2C2ACONSET : longWord;
  2249. I2C2CONSET : longWord;
  2250. I2C2ACONINV : longWord;
  2251. I2C2CONINV : longWord;
  2252. I2C2ASTATbits : TI2C2_I2C2ASTAT;
  2253. I2C2ASTAT : longWord;
  2254. I2C2STATbits : TI2C2_I2C2STAT;
  2255. I2C2STAT : longWord;
  2256. I2C2ASTATCLR : longWord;
  2257. I2C2STATCLR : longWord;
  2258. I2C2ASTATSET : longWord;
  2259. I2C2STATSET : longWord;
  2260. I2C2ASTATINV : longWord;
  2261. I2C2STATINV : longWord;
  2262. I2C2AADD : longWord;
  2263. I2C2ADD : longWord;
  2264. I2C2AADDCLR : longWord;
  2265. I2C2ADDCLR : longWord;
  2266. I2C2AADDSET : longWord;
  2267. I2C2ADDSET : longWord;
  2268. I2C2AADDINV : longWord;
  2269. I2C2ADDINV : longWord;
  2270. I2C2AMSK : longWord;
  2271. I2C2MSK : longWord;
  2272. I2C2AMSKCLR : longWord;
  2273. I2C2MSKCLR : longWord;
  2274. I2C2AMSKSET : longWord;
  2275. I2C2MSKSET : longWord;
  2276. I2C2AMSKINV : longWord;
  2277. I2C2MSKINV : longWord;
  2278. I2C2ABRG : longWord;
  2279. I2C2BRG : longWord;
  2280. I2C2ABRGCLR : longWord;
  2281. I2C2BRGCLR : longWord;
  2282. I2C2ABRGSET : longWord;
  2283. I2C2BRGSET : longWord;
  2284. I2C2ABRGINV : longWord;
  2285. I2C2BRGINV : longWord;
  2286. I2C2ATRN : longWord;
  2287. I2C2TRN : longWord;
  2288. I2C2ATRNCLR : longWord;
  2289. I2C2TRNCLR : longWord;
  2290. I2C2ATRNSET : longWord;
  2291. I2C2TRNSET : longWord;
  2292. I2C2ATRNINV : longWord;
  2293. I2C2TRNINV : longWord;
  2294. I2C2ARCV : longWord;
  2295. I2C2RCV : longWord;
  2296. end;
  2297. TSPI1_SPI1CON = record
  2298. private
  2299. function getCKE : TBits_1; inline;
  2300. function getCKP : TBits_1; inline;
  2301. function getDISSDI : TBits_1; inline;
  2302. function getDISSDO : TBits_1; inline;
  2303. function getENHBUF : TBits_1; inline;
  2304. function getFRMCNT : TBits_3; inline;
  2305. function getFRMEN : TBits_1; inline;
  2306. function getFRMPOL : TBits_1; inline;
  2307. function getFRMSYNC : TBits_1; inline;
  2308. function getFRMSYPW : TBits_1; inline;
  2309. function getMCLKSEL : TBits_1; inline;
  2310. function getMODE16 : TBits_1; inline;
  2311. function getMODE32 : TBits_1; inline;
  2312. function getMSSEN : TBits_1; inline;
  2313. function getMSTEN : TBits_1; inline;
  2314. function getON : TBits_1; inline;
  2315. function getSIDL : TBits_1; inline;
  2316. function getSMP : TBits_1; inline;
  2317. function getSPIFE : TBits_1; inline;
  2318. function getSRXISEL : TBits_2; inline;
  2319. function getSSEN : TBits_1; inline;
  2320. function getSTXISEL : TBits_2; inline;
  2321. function getw : TBits_32; inline;
  2322. procedure setCKE(thebits : TBits_1); inline;
  2323. procedure setCKP(thebits : TBits_1); inline;
  2324. procedure setDISSDI(thebits : TBits_1); inline;
  2325. procedure setDISSDO(thebits : TBits_1); inline;
  2326. procedure setENHBUF(thebits : TBits_1); inline;
  2327. procedure setFRMCNT(thebits : TBits_3); inline;
  2328. procedure setFRMEN(thebits : TBits_1); inline;
  2329. procedure setFRMPOL(thebits : TBits_1); inline;
  2330. procedure setFRMSYNC(thebits : TBits_1); inline;
  2331. procedure setFRMSYPW(thebits : TBits_1); inline;
  2332. procedure setMCLKSEL(thebits : TBits_1); inline;
  2333. procedure setMODE16(thebits : TBits_1); inline;
  2334. procedure setMODE32(thebits : TBits_1); inline;
  2335. procedure setMSSEN(thebits : TBits_1); inline;
  2336. procedure setMSTEN(thebits : TBits_1); inline;
  2337. procedure setON(thebits : TBits_1); inline;
  2338. procedure setSIDL(thebits : TBits_1); inline;
  2339. procedure setSMP(thebits : TBits_1); inline;
  2340. procedure setSPIFE(thebits : TBits_1); inline;
  2341. procedure setSRXISEL(thebits : TBits_2); inline;
  2342. procedure setSSEN(thebits : TBits_1); inline;
  2343. procedure setSTXISEL(thebits : TBits_2); inline;
  2344. procedure setw(thebits : TBits_32); inline;
  2345. public
  2346. procedure clearCKE; inline;
  2347. procedure clearCKP; inline;
  2348. procedure clearDISSDI; inline;
  2349. procedure clearDISSDO; inline;
  2350. procedure clearENHBUF; inline;
  2351. procedure clearFRMEN; inline;
  2352. procedure clearFRMPOL; inline;
  2353. procedure clearFRMSYNC; inline;
  2354. procedure clearFRMSYPW; inline;
  2355. procedure clearMCLKSEL; inline;
  2356. procedure clearMODE16; inline;
  2357. procedure clearMODE32; inline;
  2358. procedure clearMSSEN; inline;
  2359. procedure clearMSTEN; inline;
  2360. procedure clearON; inline;
  2361. procedure clearSIDL; inline;
  2362. procedure clearSMP; inline;
  2363. procedure clearSPIFE; inline;
  2364. procedure clearSSEN; inline;
  2365. procedure setCKE; inline;
  2366. procedure setCKP; inline;
  2367. procedure setDISSDI; inline;
  2368. procedure setDISSDO; inline;
  2369. procedure setENHBUF; inline;
  2370. procedure setFRMEN; inline;
  2371. procedure setFRMPOL; inline;
  2372. procedure setFRMSYNC; inline;
  2373. procedure setFRMSYPW; inline;
  2374. procedure setMCLKSEL; inline;
  2375. procedure setMODE16; inline;
  2376. procedure setMODE32; inline;
  2377. procedure setMSSEN; inline;
  2378. procedure setMSTEN; inline;
  2379. procedure setON; inline;
  2380. procedure setSIDL; inline;
  2381. procedure setSMP; inline;
  2382. procedure setSPIFE; inline;
  2383. procedure setSSEN; inline;
  2384. property CKE : TBits_1 read getCKE write setCKE;
  2385. property CKP : TBits_1 read getCKP write setCKP;
  2386. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2387. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2388. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2389. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2390. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2391. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2392. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2393. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2394. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2395. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2396. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2397. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2398. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2399. property ON : TBits_1 read getON write setON;
  2400. property SIDL : TBits_1 read getSIDL write setSIDL;
  2401. property SMP : TBits_1 read getSMP write setSMP;
  2402. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2403. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2404. property SSEN : TBits_1 read getSSEN write setSSEN;
  2405. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2406. property w : TBits_32 read getw write setw;
  2407. end;
  2408. TSPI1_SPI1STAT = record
  2409. private
  2410. function getFRMERR : TBits_1; inline;
  2411. function getRXBUFELM : TBits_5; inline;
  2412. function getSPIBUSY : TBits_1; inline;
  2413. function getSPIRBE : TBits_1; inline;
  2414. function getSPIRBF : TBits_1; inline;
  2415. function getSPIROV : TBits_1; inline;
  2416. function getSPITBE : TBits_1; inline;
  2417. function getSPITBF : TBits_1; inline;
  2418. function getSPITUR : TBits_1; inline;
  2419. function getSRMT : TBits_1; inline;
  2420. function getTXBUFELM : TBits_5; inline;
  2421. function getw : TBits_32; inline;
  2422. procedure setFRMERR(thebits : TBits_1); inline;
  2423. procedure setRXBUFELM(thebits : TBits_5); inline;
  2424. procedure setSPIBUSY(thebits : TBits_1); inline;
  2425. procedure setSPIRBE(thebits : TBits_1); inline;
  2426. procedure setSPIRBF(thebits : TBits_1); inline;
  2427. procedure setSPIROV(thebits : TBits_1); inline;
  2428. procedure setSPITBE(thebits : TBits_1); inline;
  2429. procedure setSPITBF(thebits : TBits_1); inline;
  2430. procedure setSPITUR(thebits : TBits_1); inline;
  2431. procedure setSRMT(thebits : TBits_1); inline;
  2432. procedure setTXBUFELM(thebits : TBits_5); inline;
  2433. procedure setw(thebits : TBits_32); inline;
  2434. public
  2435. procedure clearFRMERR; inline;
  2436. procedure clearSPIBUSY; inline;
  2437. procedure clearSPIRBE; inline;
  2438. procedure clearSPIRBF; inline;
  2439. procedure clearSPIROV; inline;
  2440. procedure clearSPITBE; inline;
  2441. procedure clearSPITBF; inline;
  2442. procedure clearSPITUR; inline;
  2443. procedure clearSRMT; inline;
  2444. procedure setFRMERR; inline;
  2445. procedure setSPIBUSY; inline;
  2446. procedure setSPIRBE; inline;
  2447. procedure setSPIRBF; inline;
  2448. procedure setSPIROV; inline;
  2449. procedure setSPITBE; inline;
  2450. procedure setSPITBF; inline;
  2451. procedure setSPITUR; inline;
  2452. procedure setSRMT; inline;
  2453. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2454. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2455. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2456. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2457. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2458. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2459. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2460. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2461. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2462. property SRMT : TBits_1 read getSRMT write setSRMT;
  2463. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2464. property w : TBits_32 read getw write setw;
  2465. end;
  2466. TSPI1_SPI1CON2 = record
  2467. private
  2468. function getAUDEN : TBits_1; inline;
  2469. function getAUDMOD : TBits_2; inline;
  2470. function getAUDMOD0 : TBits_1; inline;
  2471. function getAUDMOD1 : TBits_1; inline;
  2472. function getAUDMONO : TBits_1; inline;
  2473. function getFRMERREN : TBits_1; inline;
  2474. function getIGNROV : TBits_1; inline;
  2475. function getIGNTUR : TBits_1; inline;
  2476. function getSPIROVEN : TBits_1; inline;
  2477. function getSPISGNEXT : TBits_1; inline;
  2478. function getSPITUREN : TBits_1; inline;
  2479. function getw : TBits_32; inline;
  2480. procedure setAUDEN(thebits : TBits_1); inline;
  2481. procedure setAUDMOD(thebits : TBits_2); inline;
  2482. procedure setAUDMOD0(thebits : TBits_1); inline;
  2483. procedure setAUDMOD1(thebits : TBits_1); inline;
  2484. procedure setAUDMONO(thebits : TBits_1); inline;
  2485. procedure setFRMERREN(thebits : TBits_1); inline;
  2486. procedure setIGNROV(thebits : TBits_1); inline;
  2487. procedure setIGNTUR(thebits : TBits_1); inline;
  2488. procedure setSPIROVEN(thebits : TBits_1); inline;
  2489. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2490. procedure setSPITUREN(thebits : TBits_1); inline;
  2491. procedure setw(thebits : TBits_32); inline;
  2492. public
  2493. procedure clearAUDEN; inline;
  2494. procedure clearAUDMOD0; inline;
  2495. procedure clearAUDMOD1; inline;
  2496. procedure clearAUDMONO; inline;
  2497. procedure clearFRMERREN; inline;
  2498. procedure clearIGNROV; inline;
  2499. procedure clearIGNTUR; inline;
  2500. procedure clearSPIROVEN; inline;
  2501. procedure clearSPISGNEXT; inline;
  2502. procedure clearSPITUREN; inline;
  2503. procedure setAUDEN; inline;
  2504. procedure setAUDMOD0; inline;
  2505. procedure setAUDMOD1; inline;
  2506. procedure setAUDMONO; inline;
  2507. procedure setFRMERREN; inline;
  2508. procedure setIGNROV; inline;
  2509. procedure setIGNTUR; inline;
  2510. procedure setSPIROVEN; inline;
  2511. procedure setSPISGNEXT; inline;
  2512. procedure setSPITUREN; inline;
  2513. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2514. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2515. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2516. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2517. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2518. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2519. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2520. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2521. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2522. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2523. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2524. property w : TBits_32 read getw write setw;
  2525. end;
  2526. type
  2527. TSPI1Registers = record
  2528. SPI1CONbits : TSPI1_SPI1CON;
  2529. SPI1CON : longWord;
  2530. SPI1CONCLR : longWord;
  2531. SPI1CONSET : longWord;
  2532. SPI1CONINV : longWord;
  2533. SPI1STATbits : TSPI1_SPI1STAT;
  2534. SPI1STAT : longWord;
  2535. SPI1STATCLR : longWord;
  2536. SPI1STATSET : longWord;
  2537. SPI1STATINV : longWord;
  2538. SPI1BUF : longWord;
  2539. SPI1BRG : longWord;
  2540. SPI1BRGCLR : longWord;
  2541. SPI1BRGSET : longWord;
  2542. SPI1BRGINV : longWord;
  2543. SPI1CON2bits : TSPI1_SPI1CON2;
  2544. SPI1CON2 : longWord;
  2545. SPI1CON2CLR : longWord;
  2546. SPI1CON2SET : longWord;
  2547. SPI1CON2INV : longWord;
  2548. end;
  2549. TSPI2_SPI2CON = record
  2550. private
  2551. function getCKE : TBits_1; inline;
  2552. function getCKP : TBits_1; inline;
  2553. function getDISSDI : TBits_1; inline;
  2554. function getDISSDO : TBits_1; inline;
  2555. function getENHBUF : TBits_1; inline;
  2556. function getFRMCNT : TBits_3; inline;
  2557. function getFRMEN : TBits_1; inline;
  2558. function getFRMPOL : TBits_1; inline;
  2559. function getFRMSYNC : TBits_1; inline;
  2560. function getFRMSYPW : TBits_1; inline;
  2561. function getMCLKSEL : TBits_1; inline;
  2562. function getMODE16 : TBits_1; inline;
  2563. function getMODE32 : TBits_1; inline;
  2564. function getMSSEN : TBits_1; inline;
  2565. function getMSTEN : TBits_1; inline;
  2566. function getON : TBits_1; inline;
  2567. function getSIDL : TBits_1; inline;
  2568. function getSMP : TBits_1; inline;
  2569. function getSPIFE : TBits_1; inline;
  2570. function getSRXISEL : TBits_2; inline;
  2571. function getSSEN : TBits_1; inline;
  2572. function getSTXISEL : TBits_2; inline;
  2573. function getw : TBits_32; inline;
  2574. procedure setCKE(thebits : TBits_1); inline;
  2575. procedure setCKP(thebits : TBits_1); inline;
  2576. procedure setDISSDI(thebits : TBits_1); inline;
  2577. procedure setDISSDO(thebits : TBits_1); inline;
  2578. procedure setENHBUF(thebits : TBits_1); inline;
  2579. procedure setFRMCNT(thebits : TBits_3); inline;
  2580. procedure setFRMEN(thebits : TBits_1); inline;
  2581. procedure setFRMPOL(thebits : TBits_1); inline;
  2582. procedure setFRMSYNC(thebits : TBits_1); inline;
  2583. procedure setFRMSYPW(thebits : TBits_1); inline;
  2584. procedure setMCLKSEL(thebits : TBits_1); inline;
  2585. procedure setMODE16(thebits : TBits_1); inline;
  2586. procedure setMODE32(thebits : TBits_1); inline;
  2587. procedure setMSSEN(thebits : TBits_1); inline;
  2588. procedure setMSTEN(thebits : TBits_1); inline;
  2589. procedure setON(thebits : TBits_1); inline;
  2590. procedure setSIDL(thebits : TBits_1); inline;
  2591. procedure setSMP(thebits : TBits_1); inline;
  2592. procedure setSPIFE(thebits : TBits_1); inline;
  2593. procedure setSRXISEL(thebits : TBits_2); inline;
  2594. procedure setSSEN(thebits : TBits_1); inline;
  2595. procedure setSTXISEL(thebits : TBits_2); inline;
  2596. procedure setw(thebits : TBits_32); inline;
  2597. public
  2598. procedure clearCKE; inline;
  2599. procedure clearCKP; inline;
  2600. procedure clearDISSDI; inline;
  2601. procedure clearDISSDO; inline;
  2602. procedure clearENHBUF; inline;
  2603. procedure clearFRMEN; inline;
  2604. procedure clearFRMPOL; inline;
  2605. procedure clearFRMSYNC; inline;
  2606. procedure clearFRMSYPW; inline;
  2607. procedure clearMCLKSEL; inline;
  2608. procedure clearMODE16; inline;
  2609. procedure clearMODE32; inline;
  2610. procedure clearMSSEN; inline;
  2611. procedure clearMSTEN; inline;
  2612. procedure clearON; inline;
  2613. procedure clearSIDL; inline;
  2614. procedure clearSMP; inline;
  2615. procedure clearSPIFE; inline;
  2616. procedure clearSSEN; inline;
  2617. procedure setCKE; inline;
  2618. procedure setCKP; inline;
  2619. procedure setDISSDI; inline;
  2620. procedure setDISSDO; inline;
  2621. procedure setENHBUF; inline;
  2622. procedure setFRMEN; inline;
  2623. procedure setFRMPOL; inline;
  2624. procedure setFRMSYNC; inline;
  2625. procedure setFRMSYPW; inline;
  2626. procedure setMCLKSEL; inline;
  2627. procedure setMODE16; inline;
  2628. procedure setMODE32; inline;
  2629. procedure setMSSEN; inline;
  2630. procedure setMSTEN; inline;
  2631. procedure setON; inline;
  2632. procedure setSIDL; inline;
  2633. procedure setSMP; inline;
  2634. procedure setSPIFE; inline;
  2635. procedure setSSEN; inline;
  2636. property CKE : TBits_1 read getCKE write setCKE;
  2637. property CKP : TBits_1 read getCKP write setCKP;
  2638. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2639. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2640. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2641. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2642. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2643. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2644. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2645. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2646. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2647. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2648. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2649. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2650. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2651. property ON : TBits_1 read getON write setON;
  2652. property SIDL : TBits_1 read getSIDL write setSIDL;
  2653. property SMP : TBits_1 read getSMP write setSMP;
  2654. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2655. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2656. property SSEN : TBits_1 read getSSEN write setSSEN;
  2657. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2658. property w : TBits_32 read getw write setw;
  2659. end;
  2660. TSPI2_SPI2STAT = record
  2661. private
  2662. function getFRMERR : TBits_1; inline;
  2663. function getRXBUFELM : TBits_5; inline;
  2664. function getSPIBUSY : TBits_1; inline;
  2665. function getSPIRBE : TBits_1; inline;
  2666. function getSPIRBF : TBits_1; inline;
  2667. function getSPIROV : TBits_1; inline;
  2668. function getSPITBE : TBits_1; inline;
  2669. function getSPITBF : TBits_1; inline;
  2670. function getSPITUR : TBits_1; inline;
  2671. function getSRMT : TBits_1; inline;
  2672. function getTXBUFELM : TBits_5; inline;
  2673. function getw : TBits_32; inline;
  2674. procedure setFRMERR(thebits : TBits_1); inline;
  2675. procedure setRXBUFELM(thebits : TBits_5); inline;
  2676. procedure setSPIBUSY(thebits : TBits_1); inline;
  2677. procedure setSPIRBE(thebits : TBits_1); inline;
  2678. procedure setSPIRBF(thebits : TBits_1); inline;
  2679. procedure setSPIROV(thebits : TBits_1); inline;
  2680. procedure setSPITBE(thebits : TBits_1); inline;
  2681. procedure setSPITBF(thebits : TBits_1); inline;
  2682. procedure setSPITUR(thebits : TBits_1); inline;
  2683. procedure setSRMT(thebits : TBits_1); inline;
  2684. procedure setTXBUFELM(thebits : TBits_5); inline;
  2685. procedure setw(thebits : TBits_32); inline;
  2686. public
  2687. procedure clearFRMERR; inline;
  2688. procedure clearSPIBUSY; inline;
  2689. procedure clearSPIRBE; inline;
  2690. procedure clearSPIRBF; inline;
  2691. procedure clearSPIROV; inline;
  2692. procedure clearSPITBE; inline;
  2693. procedure clearSPITBF; inline;
  2694. procedure clearSPITUR; inline;
  2695. procedure clearSRMT; inline;
  2696. procedure setFRMERR; inline;
  2697. procedure setSPIBUSY; inline;
  2698. procedure setSPIRBE; inline;
  2699. procedure setSPIRBF; inline;
  2700. procedure setSPIROV; inline;
  2701. procedure setSPITBE; inline;
  2702. procedure setSPITBF; inline;
  2703. procedure setSPITUR; inline;
  2704. procedure setSRMT; inline;
  2705. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2706. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2707. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2708. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2709. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2710. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2711. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2712. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2713. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2714. property SRMT : TBits_1 read getSRMT write setSRMT;
  2715. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2716. property w : TBits_32 read getw write setw;
  2717. end;
  2718. TSPI2_SPI2CON2 = record
  2719. private
  2720. function getAUDEN : TBits_1; inline;
  2721. function getAUDMOD : TBits_2; inline;
  2722. function getAUDMOD0 : TBits_1; inline;
  2723. function getAUDMOD1 : TBits_1; inline;
  2724. function getAUDMONO : TBits_1; inline;
  2725. function getFRMERREN : TBits_1; inline;
  2726. function getIGNROV : TBits_1; inline;
  2727. function getIGNTUR : TBits_1; inline;
  2728. function getSPIROVEN : TBits_1; inline;
  2729. function getSPISGNEXT : TBits_1; inline;
  2730. function getSPITUREN : TBits_1; inline;
  2731. function getw : TBits_32; inline;
  2732. procedure setAUDEN(thebits : TBits_1); inline;
  2733. procedure setAUDMOD(thebits : TBits_2); inline;
  2734. procedure setAUDMOD0(thebits : TBits_1); inline;
  2735. procedure setAUDMOD1(thebits : TBits_1); inline;
  2736. procedure setAUDMONO(thebits : TBits_1); inline;
  2737. procedure setFRMERREN(thebits : TBits_1); inline;
  2738. procedure setIGNROV(thebits : TBits_1); inline;
  2739. procedure setIGNTUR(thebits : TBits_1); inline;
  2740. procedure setSPIROVEN(thebits : TBits_1); inline;
  2741. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2742. procedure setSPITUREN(thebits : TBits_1); inline;
  2743. procedure setw(thebits : TBits_32); inline;
  2744. public
  2745. procedure clearAUDEN; inline;
  2746. procedure clearAUDMOD0; inline;
  2747. procedure clearAUDMOD1; inline;
  2748. procedure clearAUDMONO; inline;
  2749. procedure clearFRMERREN; inline;
  2750. procedure clearIGNROV; inline;
  2751. procedure clearIGNTUR; inline;
  2752. procedure clearSPIROVEN; inline;
  2753. procedure clearSPISGNEXT; inline;
  2754. procedure clearSPITUREN; inline;
  2755. procedure setAUDEN; inline;
  2756. procedure setAUDMOD0; inline;
  2757. procedure setAUDMOD1; inline;
  2758. procedure setAUDMONO; inline;
  2759. procedure setFRMERREN; inline;
  2760. procedure setIGNROV; inline;
  2761. procedure setIGNTUR; inline;
  2762. procedure setSPIROVEN; inline;
  2763. procedure setSPISGNEXT; inline;
  2764. procedure setSPITUREN; inline;
  2765. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2766. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2767. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2768. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2769. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2770. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2771. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2772. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2773. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2774. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2775. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2776. property w : TBits_32 read getw write setw;
  2777. end;
  2778. type
  2779. TSPI2Registers = record
  2780. SPI2CONbits : TSPI2_SPI2CON;
  2781. SPI2CON : longWord;
  2782. SPI2CONCLR : longWord;
  2783. SPI2CONSET : longWord;
  2784. SPI2CONINV : longWord;
  2785. SPI2STATbits : TSPI2_SPI2STAT;
  2786. SPI2STAT : longWord;
  2787. SPI2STATCLR : longWord;
  2788. SPI2STATSET : longWord;
  2789. SPI2STATINV : longWord;
  2790. SPI2BUF : longWord;
  2791. SPI2BRG : longWord;
  2792. SPI2BRGCLR : longWord;
  2793. SPI2BRGSET : longWord;
  2794. SPI2BRGINV : longWord;
  2795. SPI2CON2bits : TSPI2_SPI2CON2;
  2796. SPI2CON2 : longWord;
  2797. SPI2CON2CLR : longWord;
  2798. SPI2CON2SET : longWord;
  2799. SPI2CON2INV : longWord;
  2800. end;
  2801. TUART1_U1AMODE = record
  2802. private
  2803. function getABAUD : TBits_1; inline;
  2804. function getBRGH : TBits_1; inline;
  2805. function getIREN : TBits_1; inline;
  2806. function getLPBACK : TBits_1; inline;
  2807. function getON : TBits_1; inline;
  2808. function getPDSEL : TBits_2; inline;
  2809. function getPDSEL0 : TBits_1; inline;
  2810. function getPDSEL1 : TBits_1; inline;
  2811. function getRTSMD : TBits_1; inline;
  2812. function getRXINV : TBits_1; inline;
  2813. function getSIDL : TBits_1; inline;
  2814. function getSTSEL : TBits_1; inline;
  2815. function getUARTEN : TBits_1; inline;
  2816. function getUEN : TBits_2; inline;
  2817. function getUEN0 : TBits_1; inline;
  2818. function getUEN1 : TBits_1; inline;
  2819. function getUSIDL : TBits_1; inline;
  2820. function getWAKE : TBits_1; inline;
  2821. function getw : TBits_32; inline;
  2822. procedure setABAUD(thebits : TBits_1); inline;
  2823. procedure setBRGH(thebits : TBits_1); inline;
  2824. procedure setIREN(thebits : TBits_1); inline;
  2825. procedure setLPBACK(thebits : TBits_1); inline;
  2826. procedure setON(thebits : TBits_1); inline;
  2827. procedure setPDSEL(thebits : TBits_2); inline;
  2828. procedure setPDSEL0(thebits : TBits_1); inline;
  2829. procedure setPDSEL1(thebits : TBits_1); inline;
  2830. procedure setRTSMD(thebits : TBits_1); inline;
  2831. procedure setRXINV(thebits : TBits_1); inline;
  2832. procedure setSIDL(thebits : TBits_1); inline;
  2833. procedure setSTSEL(thebits : TBits_1); inline;
  2834. procedure setUARTEN(thebits : TBits_1); inline;
  2835. procedure setUEN(thebits : TBits_2); inline;
  2836. procedure setUEN0(thebits : TBits_1); inline;
  2837. procedure setUEN1(thebits : TBits_1); inline;
  2838. procedure setUSIDL(thebits : TBits_1); inline;
  2839. procedure setWAKE(thebits : TBits_1); inline;
  2840. procedure setw(thebits : TBits_32); inline;
  2841. public
  2842. procedure clearABAUD; inline;
  2843. procedure clearBRGH; inline;
  2844. procedure clearIREN; inline;
  2845. procedure clearLPBACK; inline;
  2846. procedure clearON; inline;
  2847. procedure clearPDSEL0; inline;
  2848. procedure clearPDSEL1; inline;
  2849. procedure clearRTSMD; inline;
  2850. procedure clearRXINV; inline;
  2851. procedure clearSIDL; inline;
  2852. procedure clearSTSEL; inline;
  2853. procedure clearUARTEN; inline;
  2854. procedure clearUEN0; inline;
  2855. procedure clearUEN1; inline;
  2856. procedure clearUSIDL; inline;
  2857. procedure clearWAKE; inline;
  2858. procedure setABAUD; inline;
  2859. procedure setBRGH; inline;
  2860. procedure setIREN; inline;
  2861. procedure setLPBACK; inline;
  2862. procedure setON; inline;
  2863. procedure setPDSEL0; inline;
  2864. procedure setPDSEL1; inline;
  2865. procedure setRTSMD; inline;
  2866. procedure setRXINV; inline;
  2867. procedure setSIDL; inline;
  2868. procedure setSTSEL; inline;
  2869. procedure setUARTEN; inline;
  2870. procedure setUEN0; inline;
  2871. procedure setUEN1; inline;
  2872. procedure setUSIDL; inline;
  2873. procedure setWAKE; inline;
  2874. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2875. property BRGH : TBits_1 read getBRGH write setBRGH;
  2876. property IREN : TBits_1 read getIREN write setIREN;
  2877. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2878. property ON : TBits_1 read getON write setON;
  2879. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2880. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2881. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2882. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2883. property RXINV : TBits_1 read getRXINV write setRXINV;
  2884. property SIDL : TBits_1 read getSIDL write setSIDL;
  2885. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2886. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2887. property UEN : TBits_2 read getUEN write setUEN;
  2888. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2889. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2890. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2891. property WAKE : TBits_1 read getWAKE write setWAKE;
  2892. property w : TBits_32 read getw write setw;
  2893. end;
  2894. TUART1_U1MODE = record
  2895. private
  2896. function getABAUD : TBits_1; inline;
  2897. function getBRGH : TBits_1; inline;
  2898. function getIREN : TBits_1; inline;
  2899. function getLPBACK : TBits_1; inline;
  2900. function getON : TBits_1; inline;
  2901. function getPDSEL : TBits_2; inline;
  2902. function getPDSEL0 : TBits_1; inline;
  2903. function getPDSEL1 : TBits_1; inline;
  2904. function getRTSMD : TBits_1; inline;
  2905. function getRXINV : TBits_1; inline;
  2906. function getSIDL : TBits_1; inline;
  2907. function getSTSEL : TBits_1; inline;
  2908. function getUARTEN : TBits_1; inline;
  2909. function getUEN : TBits_2; inline;
  2910. function getUEN0 : TBits_1; inline;
  2911. function getUEN1 : TBits_1; inline;
  2912. function getUSIDL : TBits_1; inline;
  2913. function getWAKE : TBits_1; inline;
  2914. function getw : TBits_32; inline;
  2915. procedure setABAUD(thebits : TBits_1); inline;
  2916. procedure setBRGH(thebits : TBits_1); inline;
  2917. procedure setIREN(thebits : TBits_1); inline;
  2918. procedure setLPBACK(thebits : TBits_1); inline;
  2919. procedure setON(thebits : TBits_1); inline;
  2920. procedure setPDSEL(thebits : TBits_2); inline;
  2921. procedure setPDSEL0(thebits : TBits_1); inline;
  2922. procedure setPDSEL1(thebits : TBits_1); inline;
  2923. procedure setRTSMD(thebits : TBits_1); inline;
  2924. procedure setRXINV(thebits : TBits_1); inline;
  2925. procedure setSIDL(thebits : TBits_1); inline;
  2926. procedure setSTSEL(thebits : TBits_1); inline;
  2927. procedure setUARTEN(thebits : TBits_1); inline;
  2928. procedure setUEN(thebits : TBits_2); inline;
  2929. procedure setUEN0(thebits : TBits_1); inline;
  2930. procedure setUEN1(thebits : TBits_1); inline;
  2931. procedure setUSIDL(thebits : TBits_1); inline;
  2932. procedure setWAKE(thebits : TBits_1); inline;
  2933. procedure setw(thebits : TBits_32); inline;
  2934. public
  2935. procedure clearABAUD; inline;
  2936. procedure clearBRGH; inline;
  2937. procedure clearIREN; inline;
  2938. procedure clearLPBACK; inline;
  2939. procedure clearON; inline;
  2940. procedure clearPDSEL0; inline;
  2941. procedure clearPDSEL1; inline;
  2942. procedure clearRTSMD; inline;
  2943. procedure clearRXINV; inline;
  2944. procedure clearSIDL; inline;
  2945. procedure clearSTSEL; inline;
  2946. procedure clearUARTEN; inline;
  2947. procedure clearUEN0; inline;
  2948. procedure clearUEN1; inline;
  2949. procedure clearUSIDL; inline;
  2950. procedure clearWAKE; inline;
  2951. procedure setABAUD; inline;
  2952. procedure setBRGH; inline;
  2953. procedure setIREN; inline;
  2954. procedure setLPBACK; inline;
  2955. procedure setON; inline;
  2956. procedure setPDSEL0; inline;
  2957. procedure setPDSEL1; inline;
  2958. procedure setRTSMD; inline;
  2959. procedure setRXINV; inline;
  2960. procedure setSIDL; inline;
  2961. procedure setSTSEL; inline;
  2962. procedure setUARTEN; inline;
  2963. procedure setUEN0; inline;
  2964. procedure setUEN1; inline;
  2965. procedure setUSIDL; inline;
  2966. procedure setWAKE; inline;
  2967. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2968. property BRGH : TBits_1 read getBRGH write setBRGH;
  2969. property IREN : TBits_1 read getIREN write setIREN;
  2970. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2971. property ON : TBits_1 read getON write setON;
  2972. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2973. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2974. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2975. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2976. property RXINV : TBits_1 read getRXINV write setRXINV;
  2977. property SIDL : TBits_1 read getSIDL write setSIDL;
  2978. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2979. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2980. property UEN : TBits_2 read getUEN write setUEN;
  2981. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2982. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2983. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2984. property WAKE : TBits_1 read getWAKE write setWAKE;
  2985. property w : TBits_32 read getw write setw;
  2986. end;
  2987. TUART1_U1ASTA = record
  2988. private
  2989. function getADDEN : TBits_1; inline;
  2990. function getADDR : TBits_8; inline;
  2991. function getADM_EN : TBits_1; inline;
  2992. function getFERR : TBits_1; inline;
  2993. function getOERR : TBits_1; inline;
  2994. function getPERR : TBits_1; inline;
  2995. function getRIDLE : TBits_1; inline;
  2996. function getTRMT : TBits_1; inline;
  2997. function getURXDA : TBits_1; inline;
  2998. function getURXEN : TBits_1; inline;
  2999. function getURXISEL : TBits_2; inline;
  3000. function getURXISEL0 : TBits_1; inline;
  3001. function getURXISEL1 : TBits_1; inline;
  3002. function getUTXBF : TBits_1; inline;
  3003. function getUTXBRK : TBits_1; inline;
  3004. function getUTXEN : TBits_1; inline;
  3005. function getUTXINV : TBits_1; inline;
  3006. function getUTXISEL : TBits_2; inline;
  3007. function getUTXISEL0 : TBits_1; inline;
  3008. function getUTXISEL1 : TBits_1; inline;
  3009. function getUTXSEL : TBits_2; inline;
  3010. function getw : TBits_32; inline;
  3011. procedure setADDEN(thebits : TBits_1); inline;
  3012. procedure setADDR(thebits : TBits_8); inline;
  3013. procedure setADM_EN(thebits : TBits_1); inline;
  3014. procedure setFERR(thebits : TBits_1); inline;
  3015. procedure setOERR(thebits : TBits_1); inline;
  3016. procedure setPERR(thebits : TBits_1); inline;
  3017. procedure setRIDLE(thebits : TBits_1); inline;
  3018. procedure setTRMT(thebits : TBits_1); inline;
  3019. procedure setURXDA(thebits : TBits_1); inline;
  3020. procedure setURXEN(thebits : TBits_1); inline;
  3021. procedure setURXISEL(thebits : TBits_2); inline;
  3022. procedure setURXISEL0(thebits : TBits_1); inline;
  3023. procedure setURXISEL1(thebits : TBits_1); inline;
  3024. procedure setUTXBF(thebits : TBits_1); inline;
  3025. procedure setUTXBRK(thebits : TBits_1); inline;
  3026. procedure setUTXEN(thebits : TBits_1); inline;
  3027. procedure setUTXINV(thebits : TBits_1); inline;
  3028. procedure setUTXISEL(thebits : TBits_2); inline;
  3029. procedure setUTXISEL0(thebits : TBits_1); inline;
  3030. procedure setUTXISEL1(thebits : TBits_1); inline;
  3031. procedure setUTXSEL(thebits : TBits_2); inline;
  3032. procedure setw(thebits : TBits_32); inline;
  3033. public
  3034. procedure clearADDEN; inline;
  3035. procedure clearADM_EN; inline;
  3036. procedure clearFERR; inline;
  3037. procedure clearOERR; inline;
  3038. procedure clearPERR; inline;
  3039. procedure clearRIDLE; inline;
  3040. procedure clearTRMT; inline;
  3041. procedure clearURXDA; inline;
  3042. procedure clearURXEN; inline;
  3043. procedure clearURXISEL0; inline;
  3044. procedure clearURXISEL1; inline;
  3045. procedure clearUTXBF; inline;
  3046. procedure clearUTXBRK; inline;
  3047. procedure clearUTXEN; inline;
  3048. procedure clearUTXINV; inline;
  3049. procedure clearUTXISEL0; inline;
  3050. procedure clearUTXISEL1; inline;
  3051. procedure setADDEN; inline;
  3052. procedure setADM_EN; inline;
  3053. procedure setFERR; inline;
  3054. procedure setOERR; inline;
  3055. procedure setPERR; inline;
  3056. procedure setRIDLE; inline;
  3057. procedure setTRMT; inline;
  3058. procedure setURXDA; inline;
  3059. procedure setURXEN; inline;
  3060. procedure setURXISEL0; inline;
  3061. procedure setURXISEL1; inline;
  3062. procedure setUTXBF; inline;
  3063. procedure setUTXBRK; inline;
  3064. procedure setUTXEN; inline;
  3065. procedure setUTXINV; inline;
  3066. procedure setUTXISEL0; inline;
  3067. procedure setUTXISEL1; inline;
  3068. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3069. property ADDR : TBits_8 read getADDR write setADDR;
  3070. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3071. property FERR : TBits_1 read getFERR write setFERR;
  3072. property OERR : TBits_1 read getOERR write setOERR;
  3073. property PERR : TBits_1 read getPERR write setPERR;
  3074. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3075. property TRMT : TBits_1 read getTRMT write setTRMT;
  3076. property URXDA : TBits_1 read getURXDA write setURXDA;
  3077. property URXEN : TBits_1 read getURXEN write setURXEN;
  3078. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3079. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3080. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3081. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3082. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3083. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3084. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3085. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3086. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3087. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3088. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3089. property w : TBits_32 read getw write setw;
  3090. end;
  3091. TUART1_U1STA = record
  3092. private
  3093. function getADDEN : TBits_1; inline;
  3094. function getADDR : TBits_8; inline;
  3095. function getADM_EN : TBits_1; inline;
  3096. function getFERR : TBits_1; inline;
  3097. function getOERR : TBits_1; inline;
  3098. function getPERR : TBits_1; inline;
  3099. function getRIDLE : TBits_1; inline;
  3100. function getTRMT : TBits_1; inline;
  3101. function getURXDA : TBits_1; inline;
  3102. function getURXEN : TBits_1; inline;
  3103. function getURXISEL : TBits_2; inline;
  3104. function getURXISEL0 : TBits_1; inline;
  3105. function getURXISEL1 : TBits_1; inline;
  3106. function getUTXBF : TBits_1; inline;
  3107. function getUTXBRK : TBits_1; inline;
  3108. function getUTXEN : TBits_1; inline;
  3109. function getUTXINV : TBits_1; inline;
  3110. function getUTXISEL : TBits_2; inline;
  3111. function getUTXISEL0 : TBits_1; inline;
  3112. function getUTXISEL1 : TBits_1; inline;
  3113. function getUTXSEL : TBits_2; inline;
  3114. function getw : TBits_32; inline;
  3115. procedure setADDEN(thebits : TBits_1); inline;
  3116. procedure setADDR(thebits : TBits_8); inline;
  3117. procedure setADM_EN(thebits : TBits_1); inline;
  3118. procedure setFERR(thebits : TBits_1); inline;
  3119. procedure setOERR(thebits : TBits_1); inline;
  3120. procedure setPERR(thebits : TBits_1); inline;
  3121. procedure setRIDLE(thebits : TBits_1); inline;
  3122. procedure setTRMT(thebits : TBits_1); inline;
  3123. procedure setURXDA(thebits : TBits_1); inline;
  3124. procedure setURXEN(thebits : TBits_1); inline;
  3125. procedure setURXISEL(thebits : TBits_2); inline;
  3126. procedure setURXISEL0(thebits : TBits_1); inline;
  3127. procedure setURXISEL1(thebits : TBits_1); inline;
  3128. procedure setUTXBF(thebits : TBits_1); inline;
  3129. procedure setUTXBRK(thebits : TBits_1); inline;
  3130. procedure setUTXEN(thebits : TBits_1); inline;
  3131. procedure setUTXINV(thebits : TBits_1); inline;
  3132. procedure setUTXISEL(thebits : TBits_2); inline;
  3133. procedure setUTXISEL0(thebits : TBits_1); inline;
  3134. procedure setUTXISEL1(thebits : TBits_1); inline;
  3135. procedure setUTXSEL(thebits : TBits_2); inline;
  3136. procedure setw(thebits : TBits_32); inline;
  3137. public
  3138. procedure clearADDEN; inline;
  3139. procedure clearADM_EN; inline;
  3140. procedure clearFERR; inline;
  3141. procedure clearOERR; inline;
  3142. procedure clearPERR; inline;
  3143. procedure clearRIDLE; inline;
  3144. procedure clearTRMT; inline;
  3145. procedure clearURXDA; inline;
  3146. procedure clearURXEN; inline;
  3147. procedure clearURXISEL0; inline;
  3148. procedure clearURXISEL1; inline;
  3149. procedure clearUTXBF; inline;
  3150. procedure clearUTXBRK; inline;
  3151. procedure clearUTXEN; inline;
  3152. procedure clearUTXINV; inline;
  3153. procedure clearUTXISEL0; inline;
  3154. procedure clearUTXISEL1; inline;
  3155. procedure setADDEN; inline;
  3156. procedure setADM_EN; inline;
  3157. procedure setFERR; inline;
  3158. procedure setOERR; inline;
  3159. procedure setPERR; inline;
  3160. procedure setRIDLE; inline;
  3161. procedure setTRMT; inline;
  3162. procedure setURXDA; inline;
  3163. procedure setURXEN; inline;
  3164. procedure setURXISEL0; inline;
  3165. procedure setURXISEL1; inline;
  3166. procedure setUTXBF; inline;
  3167. procedure setUTXBRK; inline;
  3168. procedure setUTXEN; inline;
  3169. procedure setUTXINV; inline;
  3170. procedure setUTXISEL0; inline;
  3171. procedure setUTXISEL1; inline;
  3172. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3173. property ADDR : TBits_8 read getADDR write setADDR;
  3174. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3175. property FERR : TBits_1 read getFERR write setFERR;
  3176. property OERR : TBits_1 read getOERR write setOERR;
  3177. property PERR : TBits_1 read getPERR write setPERR;
  3178. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3179. property TRMT : TBits_1 read getTRMT write setTRMT;
  3180. property URXDA : TBits_1 read getURXDA write setURXDA;
  3181. property URXEN : TBits_1 read getURXEN write setURXEN;
  3182. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3183. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3184. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3185. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3186. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3187. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3188. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3189. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3190. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3191. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3192. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3193. property w : TBits_32 read getw write setw;
  3194. end;
  3195. type
  3196. TUART1Registers = record
  3197. U1AMODEbits : TUART1_U1AMODE;
  3198. U1AMODE : longWord;
  3199. U1MODEbits : TUART1_U1MODE;
  3200. U1MODE : longWord;
  3201. U1AMODECLR : longWord;
  3202. U1MODECLR : longWord;
  3203. U1AMODESET : longWord;
  3204. U1MODESET : longWord;
  3205. U1AMODEINV : longWord;
  3206. U1MODEINV : longWord;
  3207. U1ASTAbits : TUART1_U1ASTA;
  3208. U1ASTA : longWord;
  3209. U1STAbits : TUART1_U1STA;
  3210. U1STA : longWord;
  3211. U1ASTACLR : longWord;
  3212. U1STACLR : longWord;
  3213. U1ASTASET : longWord;
  3214. U1STASET : longWord;
  3215. U1ASTAINV : longWord;
  3216. U1STAINV : longWord;
  3217. U1ATXREG : longWord;
  3218. U1TXREG : longWord;
  3219. U1ARXREG : longWord;
  3220. U1RXREG : longWord;
  3221. U1ABRG : longWord;
  3222. U1BRG : longWord;
  3223. U1ABRGCLR : longWord;
  3224. U1BRGCLR : longWord;
  3225. U1ABRGSET : longWord;
  3226. U1BRGSET : longWord;
  3227. U1ABRGINV : longWord;
  3228. U1BRGINV : longWord;
  3229. end;
  3230. TUART2_U2MODE = record
  3231. private
  3232. function getABAUD : TBits_1; inline;
  3233. function getBRGH : TBits_1; inline;
  3234. function getIREN : TBits_1; inline;
  3235. function getLPBACK : TBits_1; inline;
  3236. function getON : TBits_1; inline;
  3237. function getPDSEL : TBits_2; inline;
  3238. function getPDSEL0 : TBits_1; inline;
  3239. function getPDSEL1 : TBits_1; inline;
  3240. function getRTSMD : TBits_1; inline;
  3241. function getRXINV : TBits_1; inline;
  3242. function getSIDL : TBits_1; inline;
  3243. function getSTSEL : TBits_1; inline;
  3244. function getUARTEN : TBits_1; inline;
  3245. function getUEN : TBits_2; inline;
  3246. function getUEN0 : TBits_1; inline;
  3247. function getUEN1 : TBits_1; inline;
  3248. function getUSIDL : TBits_1; inline;
  3249. function getWAKE : TBits_1; inline;
  3250. function getw : TBits_32; inline;
  3251. procedure setABAUD(thebits : TBits_1); inline;
  3252. procedure setBRGH(thebits : TBits_1); inline;
  3253. procedure setIREN(thebits : TBits_1); inline;
  3254. procedure setLPBACK(thebits : TBits_1); inline;
  3255. procedure setON(thebits : TBits_1); inline;
  3256. procedure setPDSEL(thebits : TBits_2); inline;
  3257. procedure setPDSEL0(thebits : TBits_1); inline;
  3258. procedure setPDSEL1(thebits : TBits_1); inline;
  3259. procedure setRTSMD(thebits : TBits_1); inline;
  3260. procedure setRXINV(thebits : TBits_1); inline;
  3261. procedure setSIDL(thebits : TBits_1); inline;
  3262. procedure setSTSEL(thebits : TBits_1); inline;
  3263. procedure setUARTEN(thebits : TBits_1); inline;
  3264. procedure setUEN(thebits : TBits_2); inline;
  3265. procedure setUEN0(thebits : TBits_1); inline;
  3266. procedure setUEN1(thebits : TBits_1); inline;
  3267. procedure setUSIDL(thebits : TBits_1); inline;
  3268. procedure setWAKE(thebits : TBits_1); inline;
  3269. procedure setw(thebits : TBits_32); inline;
  3270. public
  3271. procedure clearABAUD; inline;
  3272. procedure clearBRGH; inline;
  3273. procedure clearIREN; inline;
  3274. procedure clearLPBACK; inline;
  3275. procedure clearON; inline;
  3276. procedure clearPDSEL0; inline;
  3277. procedure clearPDSEL1; inline;
  3278. procedure clearRTSMD; inline;
  3279. procedure clearRXINV; inline;
  3280. procedure clearSIDL; inline;
  3281. procedure clearSTSEL; inline;
  3282. procedure clearUARTEN; inline;
  3283. procedure clearUEN0; inline;
  3284. procedure clearUEN1; inline;
  3285. procedure clearUSIDL; inline;
  3286. procedure clearWAKE; inline;
  3287. procedure setABAUD; inline;
  3288. procedure setBRGH; inline;
  3289. procedure setIREN; inline;
  3290. procedure setLPBACK; inline;
  3291. procedure setON; inline;
  3292. procedure setPDSEL0; inline;
  3293. procedure setPDSEL1; inline;
  3294. procedure setRTSMD; inline;
  3295. procedure setRXINV; inline;
  3296. procedure setSIDL; inline;
  3297. procedure setSTSEL; inline;
  3298. procedure setUARTEN; inline;
  3299. procedure setUEN0; inline;
  3300. procedure setUEN1; inline;
  3301. procedure setUSIDL; inline;
  3302. procedure setWAKE; inline;
  3303. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3304. property BRGH : TBits_1 read getBRGH write setBRGH;
  3305. property IREN : TBits_1 read getIREN write setIREN;
  3306. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3307. property ON : TBits_1 read getON write setON;
  3308. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3309. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3310. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3311. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3312. property RXINV : TBits_1 read getRXINV write setRXINV;
  3313. property SIDL : TBits_1 read getSIDL write setSIDL;
  3314. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3315. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3316. property UEN : TBits_2 read getUEN write setUEN;
  3317. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3318. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3319. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3320. property WAKE : TBits_1 read getWAKE write setWAKE;
  3321. property w : TBits_32 read getw write setw;
  3322. end;
  3323. TUART2_U3AMODE = record
  3324. private
  3325. function getABAUD : TBits_1; inline;
  3326. function getBRGH : TBits_1; inline;
  3327. function getIREN : TBits_1; inline;
  3328. function getLPBACK : TBits_1; inline;
  3329. function getON : TBits_1; inline;
  3330. function getPDSEL : TBits_2; inline;
  3331. function getPDSEL0 : TBits_1; inline;
  3332. function getPDSEL1 : TBits_1; inline;
  3333. function getRTSMD : TBits_1; inline;
  3334. function getRXINV : TBits_1; inline;
  3335. function getSIDL : TBits_1; inline;
  3336. function getSTSEL : TBits_1; inline;
  3337. function getUARTEN : TBits_1; inline;
  3338. function getUEN : TBits_2; inline;
  3339. function getUEN0 : TBits_1; inline;
  3340. function getUEN1 : TBits_1; inline;
  3341. function getUSIDL : TBits_1; inline;
  3342. function getWAKE : TBits_1; inline;
  3343. function getw : TBits_32; inline;
  3344. procedure setABAUD(thebits : TBits_1); inline;
  3345. procedure setBRGH(thebits : TBits_1); inline;
  3346. procedure setIREN(thebits : TBits_1); inline;
  3347. procedure setLPBACK(thebits : TBits_1); inline;
  3348. procedure setON(thebits : TBits_1); inline;
  3349. procedure setPDSEL(thebits : TBits_2); inline;
  3350. procedure setPDSEL0(thebits : TBits_1); inline;
  3351. procedure setPDSEL1(thebits : TBits_1); inline;
  3352. procedure setRTSMD(thebits : TBits_1); inline;
  3353. procedure setRXINV(thebits : TBits_1); inline;
  3354. procedure setSIDL(thebits : TBits_1); inline;
  3355. procedure setSTSEL(thebits : TBits_1); inline;
  3356. procedure setUARTEN(thebits : TBits_1); inline;
  3357. procedure setUEN(thebits : TBits_2); inline;
  3358. procedure setUEN0(thebits : TBits_1); inline;
  3359. procedure setUEN1(thebits : TBits_1); inline;
  3360. procedure setUSIDL(thebits : TBits_1); inline;
  3361. procedure setWAKE(thebits : TBits_1); inline;
  3362. procedure setw(thebits : TBits_32); inline;
  3363. public
  3364. procedure clearABAUD; inline;
  3365. procedure clearBRGH; inline;
  3366. procedure clearIREN; inline;
  3367. procedure clearLPBACK; inline;
  3368. procedure clearON; inline;
  3369. procedure clearPDSEL0; inline;
  3370. procedure clearPDSEL1; inline;
  3371. procedure clearRTSMD; inline;
  3372. procedure clearRXINV; inline;
  3373. procedure clearSIDL; inline;
  3374. procedure clearSTSEL; inline;
  3375. procedure clearUARTEN; inline;
  3376. procedure clearUEN0; inline;
  3377. procedure clearUEN1; inline;
  3378. procedure clearUSIDL; inline;
  3379. procedure clearWAKE; inline;
  3380. procedure setABAUD; inline;
  3381. procedure setBRGH; inline;
  3382. procedure setIREN; inline;
  3383. procedure setLPBACK; inline;
  3384. procedure setON; inline;
  3385. procedure setPDSEL0; inline;
  3386. procedure setPDSEL1; inline;
  3387. procedure setRTSMD; inline;
  3388. procedure setRXINV; inline;
  3389. procedure setSIDL; inline;
  3390. procedure setSTSEL; inline;
  3391. procedure setUARTEN; inline;
  3392. procedure setUEN0; inline;
  3393. procedure setUEN1; inline;
  3394. procedure setUSIDL; inline;
  3395. procedure setWAKE; inline;
  3396. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3397. property BRGH : TBits_1 read getBRGH write setBRGH;
  3398. property IREN : TBits_1 read getIREN write setIREN;
  3399. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3400. property ON : TBits_1 read getON write setON;
  3401. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3402. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3403. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3404. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3405. property RXINV : TBits_1 read getRXINV write setRXINV;
  3406. property SIDL : TBits_1 read getSIDL write setSIDL;
  3407. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3408. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3409. property UEN : TBits_2 read getUEN write setUEN;
  3410. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3411. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3412. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3413. property WAKE : TBits_1 read getWAKE write setWAKE;
  3414. property w : TBits_32 read getw write setw;
  3415. end;
  3416. TUART2_U2STA = record
  3417. private
  3418. function getADDEN : TBits_1; inline;
  3419. function getADDR : TBits_8; inline;
  3420. function getADM_EN : TBits_1; inline;
  3421. function getFERR : TBits_1; inline;
  3422. function getOERR : TBits_1; inline;
  3423. function getPERR : TBits_1; inline;
  3424. function getRIDLE : TBits_1; inline;
  3425. function getTRMT : TBits_1; inline;
  3426. function getURXDA : TBits_1; inline;
  3427. function getURXEN : TBits_1; inline;
  3428. function getURXISEL : TBits_2; inline;
  3429. function getURXISEL0 : TBits_1; inline;
  3430. function getURXISEL1 : TBits_1; inline;
  3431. function getUTXBF : TBits_1; inline;
  3432. function getUTXBRK : TBits_1; inline;
  3433. function getUTXEN : TBits_1; inline;
  3434. function getUTXINV : TBits_1; inline;
  3435. function getUTXISEL : TBits_2; inline;
  3436. function getUTXISEL0 : TBits_1; inline;
  3437. function getUTXISEL1 : TBits_1; inline;
  3438. function getUTXSEL : TBits_2; inline;
  3439. function getw : TBits_32; inline;
  3440. procedure setADDEN(thebits : TBits_1); inline;
  3441. procedure setADDR(thebits : TBits_8); inline;
  3442. procedure setADM_EN(thebits : TBits_1); inline;
  3443. procedure setFERR(thebits : TBits_1); inline;
  3444. procedure setOERR(thebits : TBits_1); inline;
  3445. procedure setPERR(thebits : TBits_1); inline;
  3446. procedure setRIDLE(thebits : TBits_1); inline;
  3447. procedure setTRMT(thebits : TBits_1); inline;
  3448. procedure setURXDA(thebits : TBits_1); inline;
  3449. procedure setURXEN(thebits : TBits_1); inline;
  3450. procedure setURXISEL(thebits : TBits_2); inline;
  3451. procedure setURXISEL0(thebits : TBits_1); inline;
  3452. procedure setURXISEL1(thebits : TBits_1); inline;
  3453. procedure setUTXBF(thebits : TBits_1); inline;
  3454. procedure setUTXBRK(thebits : TBits_1); inline;
  3455. procedure setUTXEN(thebits : TBits_1); inline;
  3456. procedure setUTXINV(thebits : TBits_1); inline;
  3457. procedure setUTXISEL(thebits : TBits_2); inline;
  3458. procedure setUTXISEL0(thebits : TBits_1); inline;
  3459. procedure setUTXISEL1(thebits : TBits_1); inline;
  3460. procedure setUTXSEL(thebits : TBits_2); inline;
  3461. procedure setw(thebits : TBits_32); inline;
  3462. public
  3463. procedure clearADDEN; inline;
  3464. procedure clearADM_EN; inline;
  3465. procedure clearFERR; inline;
  3466. procedure clearOERR; inline;
  3467. procedure clearPERR; inline;
  3468. procedure clearRIDLE; inline;
  3469. procedure clearTRMT; inline;
  3470. procedure clearURXDA; inline;
  3471. procedure clearURXEN; inline;
  3472. procedure clearURXISEL0; inline;
  3473. procedure clearURXISEL1; inline;
  3474. procedure clearUTXBF; inline;
  3475. procedure clearUTXBRK; inline;
  3476. procedure clearUTXEN; inline;
  3477. procedure clearUTXINV; inline;
  3478. procedure clearUTXISEL0; inline;
  3479. procedure clearUTXISEL1; inline;
  3480. procedure setADDEN; inline;
  3481. procedure setADM_EN; inline;
  3482. procedure setFERR; inline;
  3483. procedure setOERR; inline;
  3484. procedure setPERR; inline;
  3485. procedure setRIDLE; inline;
  3486. procedure setTRMT; inline;
  3487. procedure setURXDA; inline;
  3488. procedure setURXEN; inline;
  3489. procedure setURXISEL0; inline;
  3490. procedure setURXISEL1; inline;
  3491. procedure setUTXBF; inline;
  3492. procedure setUTXBRK; inline;
  3493. procedure setUTXEN; inline;
  3494. procedure setUTXINV; inline;
  3495. procedure setUTXISEL0; inline;
  3496. procedure setUTXISEL1; inline;
  3497. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3498. property ADDR : TBits_8 read getADDR write setADDR;
  3499. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3500. property FERR : TBits_1 read getFERR write setFERR;
  3501. property OERR : TBits_1 read getOERR write setOERR;
  3502. property PERR : TBits_1 read getPERR write setPERR;
  3503. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3504. property TRMT : TBits_1 read getTRMT write setTRMT;
  3505. property URXDA : TBits_1 read getURXDA write setURXDA;
  3506. property URXEN : TBits_1 read getURXEN write setURXEN;
  3507. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3508. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3509. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3510. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3511. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3512. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3513. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3514. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3515. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3516. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3517. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3518. property w : TBits_32 read getw write setw;
  3519. end;
  3520. TUART2_U3ASTA = record
  3521. private
  3522. function getADDEN : TBits_1; inline;
  3523. function getADDR : TBits_8; inline;
  3524. function getADM_EN : TBits_1; inline;
  3525. function getFERR : TBits_1; inline;
  3526. function getOERR : TBits_1; inline;
  3527. function getPERR : TBits_1; inline;
  3528. function getRIDLE : TBits_1; inline;
  3529. function getTRMT : TBits_1; inline;
  3530. function getURXDA : TBits_1; inline;
  3531. function getURXEN : TBits_1; inline;
  3532. function getURXISEL : TBits_2; inline;
  3533. function getURXISEL0 : TBits_1; inline;
  3534. function getURXISEL1 : TBits_1; inline;
  3535. function getUTXBF : TBits_1; inline;
  3536. function getUTXBRK : TBits_1; inline;
  3537. function getUTXEN : TBits_1; inline;
  3538. function getUTXINV : TBits_1; inline;
  3539. function getUTXISEL : TBits_2; inline;
  3540. function getUTXISEL0 : TBits_1; inline;
  3541. function getUTXISEL1 : TBits_1; inline;
  3542. function getUTXSEL : TBits_2; inline;
  3543. function getw : TBits_32; inline;
  3544. procedure setADDEN(thebits : TBits_1); inline;
  3545. procedure setADDR(thebits : TBits_8); inline;
  3546. procedure setADM_EN(thebits : TBits_1); inline;
  3547. procedure setFERR(thebits : TBits_1); inline;
  3548. procedure setOERR(thebits : TBits_1); inline;
  3549. procedure setPERR(thebits : TBits_1); inline;
  3550. procedure setRIDLE(thebits : TBits_1); inline;
  3551. procedure setTRMT(thebits : TBits_1); inline;
  3552. procedure setURXDA(thebits : TBits_1); inline;
  3553. procedure setURXEN(thebits : TBits_1); inline;
  3554. procedure setURXISEL(thebits : TBits_2); inline;
  3555. procedure setURXISEL0(thebits : TBits_1); inline;
  3556. procedure setURXISEL1(thebits : TBits_1); inline;
  3557. procedure setUTXBF(thebits : TBits_1); inline;
  3558. procedure setUTXBRK(thebits : TBits_1); inline;
  3559. procedure setUTXEN(thebits : TBits_1); inline;
  3560. procedure setUTXINV(thebits : TBits_1); inline;
  3561. procedure setUTXISEL(thebits : TBits_2); inline;
  3562. procedure setUTXISEL0(thebits : TBits_1); inline;
  3563. procedure setUTXISEL1(thebits : TBits_1); inline;
  3564. procedure setUTXSEL(thebits : TBits_2); inline;
  3565. procedure setw(thebits : TBits_32); inline;
  3566. public
  3567. procedure clearADDEN; inline;
  3568. procedure clearADM_EN; inline;
  3569. procedure clearFERR; inline;
  3570. procedure clearOERR; inline;
  3571. procedure clearPERR; inline;
  3572. procedure clearRIDLE; inline;
  3573. procedure clearTRMT; inline;
  3574. procedure clearURXDA; inline;
  3575. procedure clearURXEN; inline;
  3576. procedure clearURXISEL0; inline;
  3577. procedure clearURXISEL1; inline;
  3578. procedure clearUTXBF; inline;
  3579. procedure clearUTXBRK; inline;
  3580. procedure clearUTXEN; inline;
  3581. procedure clearUTXINV; inline;
  3582. procedure clearUTXISEL0; inline;
  3583. procedure clearUTXISEL1; inline;
  3584. procedure setADDEN; inline;
  3585. procedure setADM_EN; inline;
  3586. procedure setFERR; inline;
  3587. procedure setOERR; inline;
  3588. procedure setPERR; inline;
  3589. procedure setRIDLE; inline;
  3590. procedure setTRMT; inline;
  3591. procedure setURXDA; inline;
  3592. procedure setURXEN; inline;
  3593. procedure setURXISEL0; inline;
  3594. procedure setURXISEL1; inline;
  3595. procedure setUTXBF; inline;
  3596. procedure setUTXBRK; inline;
  3597. procedure setUTXEN; inline;
  3598. procedure setUTXINV; inline;
  3599. procedure setUTXISEL0; inline;
  3600. procedure setUTXISEL1; inline;
  3601. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3602. property ADDR : TBits_8 read getADDR write setADDR;
  3603. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3604. property FERR : TBits_1 read getFERR write setFERR;
  3605. property OERR : TBits_1 read getOERR write setOERR;
  3606. property PERR : TBits_1 read getPERR write setPERR;
  3607. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3608. property TRMT : TBits_1 read getTRMT write setTRMT;
  3609. property URXDA : TBits_1 read getURXDA write setURXDA;
  3610. property URXEN : TBits_1 read getURXEN write setURXEN;
  3611. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3612. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3613. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3614. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3615. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3616. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3617. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3618. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3619. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3620. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3621. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3622. property w : TBits_32 read getw write setw;
  3623. end;
  3624. type
  3625. TUART2Registers = record
  3626. U2MODEbits : TUART2_U2MODE;
  3627. U2MODE : longWord;
  3628. U3AMODEbits : TUART2_U3AMODE;
  3629. U3AMODE : longWord;
  3630. U2MODECLR : longWord;
  3631. U3AMODECLR : longWord;
  3632. U2MODESET : longWord;
  3633. U3AMODESET : longWord;
  3634. U2MODEINV : longWord;
  3635. U3AMODEINV : longWord;
  3636. U2STAbits : TUART2_U2STA;
  3637. U2STA : longWord;
  3638. U3ASTAbits : TUART2_U3ASTA;
  3639. U3ASTA : longWord;
  3640. U2STACLR : longWord;
  3641. U3ASTACLR : longWord;
  3642. U2STASET : longWord;
  3643. U3ASTASET : longWord;
  3644. U2STAINV : longWord;
  3645. U3ASTAINV : longWord;
  3646. U2TXREG : longWord;
  3647. U3ATXREG : longWord;
  3648. U2RXREG : longWord;
  3649. U3ARXREG : longWord;
  3650. U2BRG : longWord;
  3651. U3ABRG : longWord;
  3652. U2BRGCLR : longWord;
  3653. U3ABRGCLR : longWord;
  3654. U2BRGSET : longWord;
  3655. U3ABRGSET : longWord;
  3656. U2BRGINV : longWord;
  3657. U3ABRGINV : longWord;
  3658. end;
  3659. TPMP_PMCON = record
  3660. private
  3661. function getADRMUX : TBits_2; inline;
  3662. function getADRMUX0 : TBits_1; inline;
  3663. function getADRMUX1 : TBits_1; inline;
  3664. function getALP : TBits_1; inline;
  3665. function getCS1P : TBits_1; inline;
  3666. function getCSF : TBits_2; inline;
  3667. function getCSF0 : TBits_1; inline;
  3668. function getCSF1 : TBits_1; inline;
  3669. function getON : TBits_1; inline;
  3670. function getPMPEN : TBits_1; inline;
  3671. function getPMPTTL : TBits_1; inline;
  3672. function getPSIDL : TBits_1; inline;
  3673. function getPTRDEN : TBits_1; inline;
  3674. function getPTWREN : TBits_1; inline;
  3675. function getRDSP : TBits_1; inline;
  3676. function getSIDL : TBits_1; inline;
  3677. function getWRSP : TBits_1; inline;
  3678. function getw : TBits_32; inline;
  3679. procedure setADRMUX(thebits : TBits_2); inline;
  3680. procedure setADRMUX0(thebits : TBits_1); inline;
  3681. procedure setADRMUX1(thebits : TBits_1); inline;
  3682. procedure setALP(thebits : TBits_1); inline;
  3683. procedure setCS1P(thebits : TBits_1); inline;
  3684. procedure setCSF(thebits : TBits_2); inline;
  3685. procedure setCSF0(thebits : TBits_1); inline;
  3686. procedure setCSF1(thebits : TBits_1); inline;
  3687. procedure setON(thebits : TBits_1); inline;
  3688. procedure setPMPEN(thebits : TBits_1); inline;
  3689. procedure setPMPTTL(thebits : TBits_1); inline;
  3690. procedure setPSIDL(thebits : TBits_1); inline;
  3691. procedure setPTRDEN(thebits : TBits_1); inline;
  3692. procedure setPTWREN(thebits : TBits_1); inline;
  3693. procedure setRDSP(thebits : TBits_1); inline;
  3694. procedure setSIDL(thebits : TBits_1); inline;
  3695. procedure setWRSP(thebits : TBits_1); inline;
  3696. procedure setw(thebits : TBits_32); inline;
  3697. public
  3698. procedure clearADRMUX0; inline;
  3699. procedure clearADRMUX1; inline;
  3700. procedure clearALP; inline;
  3701. procedure clearCS1P; inline;
  3702. procedure clearCSF0; inline;
  3703. procedure clearCSF1; inline;
  3704. procedure clearON; inline;
  3705. procedure clearPMPEN; inline;
  3706. procedure clearPMPTTL; inline;
  3707. procedure clearPSIDL; inline;
  3708. procedure clearPTRDEN; inline;
  3709. procedure clearPTWREN; inline;
  3710. procedure clearRDSP; inline;
  3711. procedure clearSIDL; inline;
  3712. procedure clearWRSP; inline;
  3713. procedure setADRMUX0; inline;
  3714. procedure setADRMUX1; inline;
  3715. procedure setALP; inline;
  3716. procedure setCS1P; inline;
  3717. procedure setCSF0; inline;
  3718. procedure setCSF1; inline;
  3719. procedure setON; inline;
  3720. procedure setPMPEN; inline;
  3721. procedure setPMPTTL; inline;
  3722. procedure setPSIDL; inline;
  3723. procedure setPTRDEN; inline;
  3724. procedure setPTWREN; inline;
  3725. procedure setRDSP; inline;
  3726. procedure setSIDL; inline;
  3727. procedure setWRSP; inline;
  3728. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  3729. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  3730. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  3731. property ALP : TBits_1 read getALP write setALP;
  3732. property CS1P : TBits_1 read getCS1P write setCS1P;
  3733. property CSF : TBits_2 read getCSF write setCSF;
  3734. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  3735. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  3736. property ON : TBits_1 read getON write setON;
  3737. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  3738. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  3739. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  3740. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  3741. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  3742. property RDSP : TBits_1 read getRDSP write setRDSP;
  3743. property SIDL : TBits_1 read getSIDL write setSIDL;
  3744. property WRSP : TBits_1 read getWRSP write setWRSP;
  3745. property w : TBits_32 read getw write setw;
  3746. end;
  3747. TPMP_PMMODE = record
  3748. private
  3749. function getBUSY : TBits_1; inline;
  3750. function getINCM : TBits_2; inline;
  3751. function getINCM0 : TBits_1; inline;
  3752. function getINCM1 : TBits_1; inline;
  3753. function getIRQM : TBits_2; inline;
  3754. function getIRQM0 : TBits_1; inline;
  3755. function getIRQM1 : TBits_1; inline;
  3756. function getMODE : TBits_2; inline;
  3757. function getMODE0 : TBits_1; inline;
  3758. function getMODE1 : TBits_1; inline;
  3759. function getWAITB : TBits_2; inline;
  3760. function getWAITB0 : TBits_1; inline;
  3761. function getWAITB1 : TBits_1; inline;
  3762. function getWAITE : TBits_2; inline;
  3763. function getWAITE0 : TBits_1; inline;
  3764. function getWAITE1 : TBits_1; inline;
  3765. function getWAITM : TBits_4; inline;
  3766. function getWAITM0 : TBits_1; inline;
  3767. function getWAITM1 : TBits_1; inline;
  3768. function getWAITM2 : TBits_1; inline;
  3769. function getWAITM3 : TBits_1; inline;
  3770. function getw : TBits_32; inline;
  3771. procedure setBUSY(thebits : TBits_1); inline;
  3772. procedure setINCM(thebits : TBits_2); inline;
  3773. procedure setINCM0(thebits : TBits_1); inline;
  3774. procedure setINCM1(thebits : TBits_1); inline;
  3775. procedure setIRQM(thebits : TBits_2); inline;
  3776. procedure setIRQM0(thebits : TBits_1); inline;
  3777. procedure setIRQM1(thebits : TBits_1); inline;
  3778. procedure setMODE(thebits : TBits_2); inline;
  3779. procedure setMODE0(thebits : TBits_1); inline;
  3780. procedure setMODE1(thebits : TBits_1); inline;
  3781. procedure setWAITB(thebits : TBits_2); inline;
  3782. procedure setWAITB0(thebits : TBits_1); inline;
  3783. procedure setWAITB1(thebits : TBits_1); inline;
  3784. procedure setWAITE(thebits : TBits_2); inline;
  3785. procedure setWAITE0(thebits : TBits_1); inline;
  3786. procedure setWAITE1(thebits : TBits_1); inline;
  3787. procedure setWAITM(thebits : TBits_4); inline;
  3788. procedure setWAITM0(thebits : TBits_1); inline;
  3789. procedure setWAITM1(thebits : TBits_1); inline;
  3790. procedure setWAITM2(thebits : TBits_1); inline;
  3791. procedure setWAITM3(thebits : TBits_1); inline;
  3792. procedure setw(thebits : TBits_32); inline;
  3793. public
  3794. procedure clearBUSY; inline;
  3795. procedure clearINCM0; inline;
  3796. procedure clearINCM1; inline;
  3797. procedure clearIRQM0; inline;
  3798. procedure clearIRQM1; inline;
  3799. procedure clearMODE0; inline;
  3800. procedure clearMODE1; inline;
  3801. procedure clearWAITB0; inline;
  3802. procedure clearWAITB1; inline;
  3803. procedure clearWAITE0; inline;
  3804. procedure clearWAITE1; inline;
  3805. procedure clearWAITM0; inline;
  3806. procedure clearWAITM1; inline;
  3807. procedure clearWAITM2; inline;
  3808. procedure clearWAITM3; inline;
  3809. procedure setBUSY; inline;
  3810. procedure setINCM0; inline;
  3811. procedure setINCM1; inline;
  3812. procedure setIRQM0; inline;
  3813. procedure setIRQM1; inline;
  3814. procedure setMODE0; inline;
  3815. procedure setMODE1; inline;
  3816. procedure setWAITB0; inline;
  3817. procedure setWAITB1; inline;
  3818. procedure setWAITE0; inline;
  3819. procedure setWAITE1; inline;
  3820. procedure setWAITM0; inline;
  3821. procedure setWAITM1; inline;
  3822. procedure setWAITM2; inline;
  3823. procedure setWAITM3; inline;
  3824. property BUSY : TBits_1 read getBUSY write setBUSY;
  3825. property INCM : TBits_2 read getINCM write setINCM;
  3826. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  3827. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  3828. property IRQM : TBits_2 read getIRQM write setIRQM;
  3829. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  3830. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  3831. property MODE : TBits_2 read getMODE write setMODE;
  3832. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  3833. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  3834. property WAITB : TBits_2 read getWAITB write setWAITB;
  3835. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  3836. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  3837. property WAITE : TBits_2 read getWAITE write setWAITE;
  3838. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  3839. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  3840. property WAITM : TBits_4 read getWAITM write setWAITM;
  3841. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  3842. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  3843. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  3844. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  3845. property w : TBits_32 read getw write setw;
  3846. end;
  3847. TPMP_PMADDR = record
  3848. private
  3849. function getADDR : TBits_14; inline;
  3850. function getCS : TBits_2; inline;
  3851. function getCS1 : TBits_1; inline;
  3852. function getPADDR : TBits_14; inline;
  3853. function getw : TBits_32; inline;
  3854. procedure setADDR(thebits : TBits_14); inline;
  3855. procedure setCS(thebits : TBits_2); inline;
  3856. procedure setCS1(thebits : TBits_1); inline;
  3857. procedure setPADDR(thebits : TBits_14); inline;
  3858. procedure setw(thebits : TBits_32); inline;
  3859. public
  3860. procedure clearCS1; inline;
  3861. procedure setCS1; inline;
  3862. property ADDR : TBits_14 read getADDR write setADDR;
  3863. property CS : TBits_2 read getCS write setCS;
  3864. property CS1 : TBits_1 read getCS1 write setCS1;
  3865. property PADDR : TBits_14 read getPADDR write setPADDR;
  3866. property w : TBits_32 read getw write setw;
  3867. end;
  3868. TPMP_PMDOUT = record
  3869. private
  3870. function getDATAOUT : TBits_32; inline;
  3871. function getw : TBits_32; inline;
  3872. procedure setDATAOUT(thebits : TBits_32); inline;
  3873. procedure setw(thebits : TBits_32); inline;
  3874. public
  3875. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  3876. property w : TBits_32 read getw write setw;
  3877. end;
  3878. TPMP_PMDIN = record
  3879. private
  3880. function getDATAIN : TBits_32; inline;
  3881. function getw : TBits_32; inline;
  3882. procedure setDATAIN(thebits : TBits_32); inline;
  3883. procedure setw(thebits : TBits_32); inline;
  3884. public
  3885. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  3886. property w : TBits_32 read getw write setw;
  3887. end;
  3888. TPMP_PMAEN = record
  3889. private
  3890. function getPTEN : TBits_16; inline;
  3891. function getPTEN0 : TBits_1; inline;
  3892. function getPTEN1 : TBits_1; inline;
  3893. function getPTEN10 : TBits_1; inline;
  3894. function getPTEN11 : TBits_1; inline;
  3895. function getPTEN12 : TBits_1; inline;
  3896. function getPTEN13 : TBits_1; inline;
  3897. function getPTEN14 : TBits_1; inline;
  3898. function getPTEN15 : TBits_1; inline;
  3899. function getPTEN2 : TBits_1; inline;
  3900. function getPTEN3 : TBits_1; inline;
  3901. function getPTEN4 : TBits_1; inline;
  3902. function getPTEN5 : TBits_1; inline;
  3903. function getPTEN6 : TBits_1; inline;
  3904. function getPTEN7 : TBits_1; inline;
  3905. function getPTEN8 : TBits_1; inline;
  3906. function getPTEN9 : TBits_1; inline;
  3907. function getw : TBits_32; inline;
  3908. procedure setPTEN(thebits : TBits_16); inline;
  3909. procedure setPTEN0(thebits : TBits_1); inline;
  3910. procedure setPTEN1(thebits : TBits_1); inline;
  3911. procedure setPTEN10(thebits : TBits_1); inline;
  3912. procedure setPTEN11(thebits : TBits_1); inline;
  3913. procedure setPTEN12(thebits : TBits_1); inline;
  3914. procedure setPTEN13(thebits : TBits_1); inline;
  3915. procedure setPTEN14(thebits : TBits_1); inline;
  3916. procedure setPTEN15(thebits : TBits_1); inline;
  3917. procedure setPTEN2(thebits : TBits_1); inline;
  3918. procedure setPTEN3(thebits : TBits_1); inline;
  3919. procedure setPTEN4(thebits : TBits_1); inline;
  3920. procedure setPTEN5(thebits : TBits_1); inline;
  3921. procedure setPTEN6(thebits : TBits_1); inline;
  3922. procedure setPTEN7(thebits : TBits_1); inline;
  3923. procedure setPTEN8(thebits : TBits_1); inline;
  3924. procedure setPTEN9(thebits : TBits_1); inline;
  3925. procedure setw(thebits : TBits_32); inline;
  3926. public
  3927. procedure clearPTEN0; inline;
  3928. procedure clearPTEN10; inline;
  3929. procedure clearPTEN11; inline;
  3930. procedure clearPTEN12; inline;
  3931. procedure clearPTEN13; inline;
  3932. procedure clearPTEN14; inline;
  3933. procedure clearPTEN15; inline;
  3934. procedure clearPTEN1; inline;
  3935. procedure clearPTEN2; inline;
  3936. procedure clearPTEN3; inline;
  3937. procedure clearPTEN4; inline;
  3938. procedure clearPTEN5; inline;
  3939. procedure clearPTEN6; inline;
  3940. procedure clearPTEN7; inline;
  3941. procedure clearPTEN8; inline;
  3942. procedure clearPTEN9; inline;
  3943. procedure setPTEN0; inline;
  3944. procedure setPTEN10; inline;
  3945. procedure setPTEN11; inline;
  3946. procedure setPTEN12; inline;
  3947. procedure setPTEN13; inline;
  3948. procedure setPTEN14; inline;
  3949. procedure setPTEN15; inline;
  3950. procedure setPTEN1; inline;
  3951. procedure setPTEN2; inline;
  3952. procedure setPTEN3; inline;
  3953. procedure setPTEN4; inline;
  3954. procedure setPTEN5; inline;
  3955. procedure setPTEN6; inline;
  3956. procedure setPTEN7; inline;
  3957. procedure setPTEN8; inline;
  3958. procedure setPTEN9; inline;
  3959. property PTEN : TBits_16 read getPTEN write setPTEN;
  3960. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  3961. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  3962. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  3963. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  3964. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  3965. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  3966. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  3967. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  3968. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  3969. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  3970. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  3971. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  3972. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  3973. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  3974. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  3975. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  3976. property w : TBits_32 read getw write setw;
  3977. end;
  3978. TPMP_PMSTAT = record
  3979. private
  3980. function getIB0F : TBits_1; inline;
  3981. function getIB1F : TBits_1; inline;
  3982. function getIB2F : TBits_1; inline;
  3983. function getIB3F : TBits_1; inline;
  3984. function getIBF : TBits_1; inline;
  3985. function getIBOV : TBits_1; inline;
  3986. function getOB0E : TBits_1; inline;
  3987. function getOB1E : TBits_1; inline;
  3988. function getOB2E : TBits_1; inline;
  3989. function getOB3E : TBits_1; inline;
  3990. function getOBE : TBits_1; inline;
  3991. function getOBUF : TBits_1; inline;
  3992. function getw : TBits_32; inline;
  3993. procedure setIB0F(thebits : TBits_1); inline;
  3994. procedure setIB1F(thebits : TBits_1); inline;
  3995. procedure setIB2F(thebits : TBits_1); inline;
  3996. procedure setIB3F(thebits : TBits_1); inline;
  3997. procedure setIBF(thebits : TBits_1); inline;
  3998. procedure setIBOV(thebits : TBits_1); inline;
  3999. procedure setOB0E(thebits : TBits_1); inline;
  4000. procedure setOB1E(thebits : TBits_1); inline;
  4001. procedure setOB2E(thebits : TBits_1); inline;
  4002. procedure setOB3E(thebits : TBits_1); inline;
  4003. procedure setOBE(thebits : TBits_1); inline;
  4004. procedure setOBUF(thebits : TBits_1); inline;
  4005. procedure setw(thebits : TBits_32); inline;
  4006. public
  4007. procedure clearIB0F; inline;
  4008. procedure clearIB1F; inline;
  4009. procedure clearIB2F; inline;
  4010. procedure clearIB3F; inline;
  4011. procedure clearIBF; inline;
  4012. procedure clearIBOV; inline;
  4013. procedure clearOB0E; inline;
  4014. procedure clearOB1E; inline;
  4015. procedure clearOB2E; inline;
  4016. procedure clearOB3E; inline;
  4017. procedure clearOBE; inline;
  4018. procedure clearOBUF; inline;
  4019. procedure setIB0F; inline;
  4020. procedure setIB1F; inline;
  4021. procedure setIB2F; inline;
  4022. procedure setIB3F; inline;
  4023. procedure setIBF; inline;
  4024. procedure setIBOV; inline;
  4025. procedure setOB0E; inline;
  4026. procedure setOB1E; inline;
  4027. procedure setOB2E; inline;
  4028. procedure setOB3E; inline;
  4029. procedure setOBE; inline;
  4030. procedure setOBUF; inline;
  4031. property IB0F : TBits_1 read getIB0F write setIB0F;
  4032. property IB1F : TBits_1 read getIB1F write setIB1F;
  4033. property IB2F : TBits_1 read getIB2F write setIB2F;
  4034. property IB3F : TBits_1 read getIB3F write setIB3F;
  4035. property IBF : TBits_1 read getIBF write setIBF;
  4036. property IBOV : TBits_1 read getIBOV write setIBOV;
  4037. property OB0E : TBits_1 read getOB0E write setOB0E;
  4038. property OB1E : TBits_1 read getOB1E write setOB1E;
  4039. property OB2E : TBits_1 read getOB2E write setOB2E;
  4040. property OB3E : TBits_1 read getOB3E write setOB3E;
  4041. property OBE : TBits_1 read getOBE write setOBE;
  4042. property OBUF : TBits_1 read getOBUF write setOBUF;
  4043. property w : TBits_32 read getw write setw;
  4044. end;
  4045. type
  4046. TPMPRegisters = record
  4047. PMCONbits : TPMP_PMCON;
  4048. PMCON : longWord;
  4049. PMCONCLR : longWord;
  4050. PMCONSET : longWord;
  4051. PMCONINV : longWord;
  4052. PMMODEbits : TPMP_PMMODE;
  4053. PMMODE : longWord;
  4054. PMMODECLR : longWord;
  4055. PMMODESET : longWord;
  4056. PMMODEINV : longWord;
  4057. PMADDRbits : TPMP_PMADDR;
  4058. PMADDR : longWord;
  4059. PMADDRCLR : longWord;
  4060. PMADDRSET : longWord;
  4061. PMADDRINV : longWord;
  4062. PMDOUTbits : TPMP_PMDOUT;
  4063. PMDOUT : longWord;
  4064. PMDOUTCLR : longWord;
  4065. PMDOUTSET : longWord;
  4066. PMDOUTINV : longWord;
  4067. PMDINbits : TPMP_PMDIN;
  4068. PMDIN : longWord;
  4069. PMDINCLR : longWord;
  4070. PMDINSET : longWord;
  4071. PMDININV : longWord;
  4072. PMAENbits : TPMP_PMAEN;
  4073. PMAEN : longWord;
  4074. PMAENCLR : longWord;
  4075. PMAENSET : longWord;
  4076. PMAENINV : longWord;
  4077. PMSTATbits : TPMP_PMSTAT;
  4078. PMSTAT : longWord;
  4079. PMSTATCLR : longWord;
  4080. PMSTATSET : longWord;
  4081. PMSTATINV : longWord;
  4082. end;
  4083. TADC10_AD1CON1 = record
  4084. private
  4085. function getADON : TBits_1; inline;
  4086. function getADSIDL : TBits_1; inline;
  4087. function getASAM : TBits_1; inline;
  4088. function getCLRASAM : TBits_1; inline;
  4089. function getDONE : TBits_1; inline;
  4090. function getFORM : TBits_3; inline;
  4091. function getFORM0 : TBits_1; inline;
  4092. function getFORM1 : TBits_1; inline;
  4093. function getFORM2 : TBits_1; inline;
  4094. function getON : TBits_1; inline;
  4095. function getSAMP : TBits_1; inline;
  4096. function getSIDL : TBits_1; inline;
  4097. function getSSRC : TBits_3; inline;
  4098. function getSSRC0 : TBits_1; inline;
  4099. function getSSRC1 : TBits_1; inline;
  4100. function getSSRC2 : TBits_1; inline;
  4101. function getw : TBits_32; inline;
  4102. procedure setADON(thebits : TBits_1); inline;
  4103. procedure setADSIDL(thebits : TBits_1); inline;
  4104. procedure setASAM(thebits : TBits_1); inline;
  4105. procedure setCLRASAM(thebits : TBits_1); inline;
  4106. procedure setDONE(thebits : TBits_1); inline;
  4107. procedure setFORM(thebits : TBits_3); inline;
  4108. procedure setFORM0(thebits : TBits_1); inline;
  4109. procedure setFORM1(thebits : TBits_1); inline;
  4110. procedure setFORM2(thebits : TBits_1); inline;
  4111. procedure setON(thebits : TBits_1); inline;
  4112. procedure setSAMP(thebits : TBits_1); inline;
  4113. procedure setSIDL(thebits : TBits_1); inline;
  4114. procedure setSSRC(thebits : TBits_3); inline;
  4115. procedure setSSRC0(thebits : TBits_1); inline;
  4116. procedure setSSRC1(thebits : TBits_1); inline;
  4117. procedure setSSRC2(thebits : TBits_1); inline;
  4118. procedure setw(thebits : TBits_32); inline;
  4119. public
  4120. procedure clearADON; inline;
  4121. procedure clearADSIDL; inline;
  4122. procedure clearASAM; inline;
  4123. procedure clearCLRASAM; inline;
  4124. procedure clearDONE; inline;
  4125. procedure clearFORM0; inline;
  4126. procedure clearFORM1; inline;
  4127. procedure clearFORM2; inline;
  4128. procedure clearON; inline;
  4129. procedure clearSAMP; inline;
  4130. procedure clearSIDL; inline;
  4131. procedure clearSSRC0; inline;
  4132. procedure clearSSRC1; inline;
  4133. procedure clearSSRC2; inline;
  4134. procedure setADON; inline;
  4135. procedure setADSIDL; inline;
  4136. procedure setASAM; inline;
  4137. procedure setCLRASAM; inline;
  4138. procedure setDONE; inline;
  4139. procedure setFORM0; inline;
  4140. procedure setFORM1; inline;
  4141. procedure setFORM2; inline;
  4142. procedure setON; inline;
  4143. procedure setSAMP; inline;
  4144. procedure setSIDL; inline;
  4145. procedure setSSRC0; inline;
  4146. procedure setSSRC1; inline;
  4147. procedure setSSRC2; inline;
  4148. property ADON : TBits_1 read getADON write setADON;
  4149. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  4150. property ASAM : TBits_1 read getASAM write setASAM;
  4151. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  4152. property DONE : TBits_1 read getDONE write setDONE;
  4153. property FORM : TBits_3 read getFORM write setFORM;
  4154. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  4155. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  4156. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  4157. property ON : TBits_1 read getON write setON;
  4158. property SAMP : TBits_1 read getSAMP write setSAMP;
  4159. property SIDL : TBits_1 read getSIDL write setSIDL;
  4160. property SSRC : TBits_3 read getSSRC write setSSRC;
  4161. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  4162. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  4163. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  4164. property w : TBits_32 read getw write setw;
  4165. end;
  4166. TADC10_AD1CON2 = record
  4167. private
  4168. function getALTS : TBits_1; inline;
  4169. function getBUFM : TBits_1; inline;
  4170. function getBUFS : TBits_1; inline;
  4171. function getCSCNA : TBits_1; inline;
  4172. function getOFFCAL : TBits_1; inline;
  4173. function getSMPI : TBits_4; inline;
  4174. function getSMPI0 : TBits_1; inline;
  4175. function getSMPI1 : TBits_1; inline;
  4176. function getSMPI2 : TBits_1; inline;
  4177. function getSMPI3 : TBits_1; inline;
  4178. function getVCFG : TBits_3; inline;
  4179. function getVCFG0 : TBits_1; inline;
  4180. function getVCFG1 : TBits_1; inline;
  4181. function getVCFG2 : TBits_1; inline;
  4182. function getw : TBits_32; inline;
  4183. procedure setALTS(thebits : TBits_1); inline;
  4184. procedure setBUFM(thebits : TBits_1); inline;
  4185. procedure setBUFS(thebits : TBits_1); inline;
  4186. procedure setCSCNA(thebits : TBits_1); inline;
  4187. procedure setOFFCAL(thebits : TBits_1); inline;
  4188. procedure setSMPI(thebits : TBits_4); inline;
  4189. procedure setSMPI0(thebits : TBits_1); inline;
  4190. procedure setSMPI1(thebits : TBits_1); inline;
  4191. procedure setSMPI2(thebits : TBits_1); inline;
  4192. procedure setSMPI3(thebits : TBits_1); inline;
  4193. procedure setVCFG(thebits : TBits_3); inline;
  4194. procedure setVCFG0(thebits : TBits_1); inline;
  4195. procedure setVCFG1(thebits : TBits_1); inline;
  4196. procedure setVCFG2(thebits : TBits_1); inline;
  4197. procedure setw(thebits : TBits_32); inline;
  4198. public
  4199. procedure clearALTS; inline;
  4200. procedure clearBUFM; inline;
  4201. procedure clearBUFS; inline;
  4202. procedure clearCSCNA; inline;
  4203. procedure clearOFFCAL; inline;
  4204. procedure clearSMPI0; inline;
  4205. procedure clearSMPI1; inline;
  4206. procedure clearSMPI2; inline;
  4207. procedure clearSMPI3; inline;
  4208. procedure clearVCFG0; inline;
  4209. procedure clearVCFG1; inline;
  4210. procedure clearVCFG2; inline;
  4211. procedure setALTS; inline;
  4212. procedure setBUFM; inline;
  4213. procedure setBUFS; inline;
  4214. procedure setCSCNA; inline;
  4215. procedure setOFFCAL; inline;
  4216. procedure setSMPI0; inline;
  4217. procedure setSMPI1; inline;
  4218. procedure setSMPI2; inline;
  4219. procedure setSMPI3; inline;
  4220. procedure setVCFG0; inline;
  4221. procedure setVCFG1; inline;
  4222. procedure setVCFG2; inline;
  4223. property ALTS : TBits_1 read getALTS write setALTS;
  4224. property BUFM : TBits_1 read getBUFM write setBUFM;
  4225. property BUFS : TBits_1 read getBUFS write setBUFS;
  4226. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  4227. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  4228. property SMPI : TBits_4 read getSMPI write setSMPI;
  4229. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  4230. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  4231. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  4232. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  4233. property VCFG : TBits_3 read getVCFG write setVCFG;
  4234. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  4235. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  4236. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  4237. property w : TBits_32 read getw write setw;
  4238. end;
  4239. TADC10_AD1CON3 = record
  4240. private
  4241. function getADCS : TBits_8; inline;
  4242. function getADCS0 : TBits_1; inline;
  4243. function getADCS1 : TBits_1; inline;
  4244. function getADCS2 : TBits_1; inline;
  4245. function getADCS3 : TBits_1; inline;
  4246. function getADCS4 : TBits_1; inline;
  4247. function getADCS5 : TBits_1; inline;
  4248. function getADCS6 : TBits_1; inline;
  4249. function getADCS7 : TBits_1; inline;
  4250. function getADRC : TBits_1; inline;
  4251. function getSAMC : TBits_5; inline;
  4252. function getSAMC0 : TBits_1; inline;
  4253. function getSAMC1 : TBits_1; inline;
  4254. function getSAMC2 : TBits_1; inline;
  4255. function getSAMC3 : TBits_1; inline;
  4256. function getSAMC4 : TBits_1; inline;
  4257. function getw : TBits_32; inline;
  4258. procedure setADCS(thebits : TBits_8); inline;
  4259. procedure setADCS0(thebits : TBits_1); inline;
  4260. procedure setADCS1(thebits : TBits_1); inline;
  4261. procedure setADCS2(thebits : TBits_1); inline;
  4262. procedure setADCS3(thebits : TBits_1); inline;
  4263. procedure setADCS4(thebits : TBits_1); inline;
  4264. procedure setADCS5(thebits : TBits_1); inline;
  4265. procedure setADCS6(thebits : TBits_1); inline;
  4266. procedure setADCS7(thebits : TBits_1); inline;
  4267. procedure setADRC(thebits : TBits_1); inline;
  4268. procedure setSAMC(thebits : TBits_5); inline;
  4269. procedure setSAMC0(thebits : TBits_1); inline;
  4270. procedure setSAMC1(thebits : TBits_1); inline;
  4271. procedure setSAMC2(thebits : TBits_1); inline;
  4272. procedure setSAMC3(thebits : TBits_1); inline;
  4273. procedure setSAMC4(thebits : TBits_1); inline;
  4274. procedure setw(thebits : TBits_32); inline;
  4275. public
  4276. procedure clearADCS0; inline;
  4277. procedure clearADCS1; inline;
  4278. procedure clearADCS2; inline;
  4279. procedure clearADCS3; inline;
  4280. procedure clearADCS4; inline;
  4281. procedure clearADCS5; inline;
  4282. procedure clearADCS6; inline;
  4283. procedure clearADCS7; inline;
  4284. procedure clearADRC; inline;
  4285. procedure clearSAMC0; inline;
  4286. procedure clearSAMC1; inline;
  4287. procedure clearSAMC2; inline;
  4288. procedure clearSAMC3; inline;
  4289. procedure clearSAMC4; inline;
  4290. procedure setADCS0; inline;
  4291. procedure setADCS1; inline;
  4292. procedure setADCS2; inline;
  4293. procedure setADCS3; inline;
  4294. procedure setADCS4; inline;
  4295. procedure setADCS5; inline;
  4296. procedure setADCS6; inline;
  4297. procedure setADCS7; inline;
  4298. procedure setADRC; inline;
  4299. procedure setSAMC0; inline;
  4300. procedure setSAMC1; inline;
  4301. procedure setSAMC2; inline;
  4302. procedure setSAMC3; inline;
  4303. procedure setSAMC4; inline;
  4304. property ADCS : TBits_8 read getADCS write setADCS;
  4305. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  4306. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  4307. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  4308. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  4309. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  4310. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  4311. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  4312. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  4313. property ADRC : TBits_1 read getADRC write setADRC;
  4314. property SAMC : TBits_5 read getSAMC write setSAMC;
  4315. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  4316. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  4317. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  4318. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  4319. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  4320. property w : TBits_32 read getw write setw;
  4321. end;
  4322. TADC10_AD1CHS = record
  4323. private
  4324. function getCH0NA : TBits_1; inline;
  4325. function getCH0NB : TBits_1; inline;
  4326. function getCH0SA : TBits_4; inline;
  4327. function getCH0SA0 : TBits_1; inline;
  4328. function getCH0SA1 : TBits_1; inline;
  4329. function getCH0SA2 : TBits_1; inline;
  4330. function getCH0SA3 : TBits_1; inline;
  4331. function getCH0SB : TBits_4; inline;
  4332. function getCH0SB0 : TBits_1; inline;
  4333. function getCH0SB1 : TBits_1; inline;
  4334. function getCH0SB2 : TBits_1; inline;
  4335. function getCH0SB3 : TBits_1; inline;
  4336. function getw : TBits_32; inline;
  4337. procedure setCH0NA(thebits : TBits_1); inline;
  4338. procedure setCH0NB(thebits : TBits_1); inline;
  4339. procedure setCH0SA(thebits : TBits_4); inline;
  4340. procedure setCH0SA0(thebits : TBits_1); inline;
  4341. procedure setCH0SA1(thebits : TBits_1); inline;
  4342. procedure setCH0SA2(thebits : TBits_1); inline;
  4343. procedure setCH0SA3(thebits : TBits_1); inline;
  4344. procedure setCH0SB(thebits : TBits_4); inline;
  4345. procedure setCH0SB0(thebits : TBits_1); inline;
  4346. procedure setCH0SB1(thebits : TBits_1); inline;
  4347. procedure setCH0SB2(thebits : TBits_1); inline;
  4348. procedure setCH0SB3(thebits : TBits_1); inline;
  4349. procedure setw(thebits : TBits_32); inline;
  4350. public
  4351. procedure clearCH0NA; inline;
  4352. procedure clearCH0NB; inline;
  4353. procedure clearCH0SA0; inline;
  4354. procedure clearCH0SA1; inline;
  4355. procedure clearCH0SA2; inline;
  4356. procedure clearCH0SA3; inline;
  4357. procedure clearCH0SB0; inline;
  4358. procedure clearCH0SB1; inline;
  4359. procedure clearCH0SB2; inline;
  4360. procedure clearCH0SB3; inline;
  4361. procedure setCH0NA; inline;
  4362. procedure setCH0NB; inline;
  4363. procedure setCH0SA0; inline;
  4364. procedure setCH0SA1; inline;
  4365. procedure setCH0SA2; inline;
  4366. procedure setCH0SA3; inline;
  4367. procedure setCH0SB0; inline;
  4368. procedure setCH0SB1; inline;
  4369. procedure setCH0SB2; inline;
  4370. procedure setCH0SB3; inline;
  4371. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  4372. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  4373. property CH0SA : TBits_4 read getCH0SA write setCH0SA;
  4374. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  4375. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  4376. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  4377. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  4378. property CH0SB : TBits_4 read getCH0SB write setCH0SB;
  4379. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  4380. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  4381. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  4382. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  4383. property w : TBits_32 read getw write setw;
  4384. end;
  4385. TADC10_AD1CSSL = record
  4386. private
  4387. function getCSSL : TBits_16; inline;
  4388. function getCSSL0 : TBits_1; inline;
  4389. function getCSSL1 : TBits_1; inline;
  4390. function getCSSL10 : TBits_1; inline;
  4391. function getCSSL11 : TBits_1; inline;
  4392. function getCSSL12 : TBits_1; inline;
  4393. function getCSSL13 : TBits_1; inline;
  4394. function getCSSL14 : TBits_1; inline;
  4395. function getCSSL15 : TBits_1; inline;
  4396. function getCSSL2 : TBits_1; inline;
  4397. function getCSSL3 : TBits_1; inline;
  4398. function getCSSL4 : TBits_1; inline;
  4399. function getCSSL5 : TBits_1; inline;
  4400. function getCSSL6 : TBits_1; inline;
  4401. function getCSSL7 : TBits_1; inline;
  4402. function getCSSL8 : TBits_1; inline;
  4403. function getCSSL9 : TBits_1; inline;
  4404. function getw : TBits_32; inline;
  4405. procedure setCSSL(thebits : TBits_16); inline;
  4406. procedure setCSSL0(thebits : TBits_1); inline;
  4407. procedure setCSSL1(thebits : TBits_1); inline;
  4408. procedure setCSSL10(thebits : TBits_1); inline;
  4409. procedure setCSSL11(thebits : TBits_1); inline;
  4410. procedure setCSSL12(thebits : TBits_1); inline;
  4411. procedure setCSSL13(thebits : TBits_1); inline;
  4412. procedure setCSSL14(thebits : TBits_1); inline;
  4413. procedure setCSSL15(thebits : TBits_1); inline;
  4414. procedure setCSSL2(thebits : TBits_1); inline;
  4415. procedure setCSSL3(thebits : TBits_1); inline;
  4416. procedure setCSSL4(thebits : TBits_1); inline;
  4417. procedure setCSSL5(thebits : TBits_1); inline;
  4418. procedure setCSSL6(thebits : TBits_1); inline;
  4419. procedure setCSSL7(thebits : TBits_1); inline;
  4420. procedure setCSSL8(thebits : TBits_1); inline;
  4421. procedure setCSSL9(thebits : TBits_1); inline;
  4422. procedure setw(thebits : TBits_32); inline;
  4423. public
  4424. procedure clearCSSL0; inline;
  4425. procedure clearCSSL10; inline;
  4426. procedure clearCSSL11; inline;
  4427. procedure clearCSSL12; inline;
  4428. procedure clearCSSL13; inline;
  4429. procedure clearCSSL14; inline;
  4430. procedure clearCSSL15; inline;
  4431. procedure clearCSSL1; inline;
  4432. procedure clearCSSL2; inline;
  4433. procedure clearCSSL3; inline;
  4434. procedure clearCSSL4; inline;
  4435. procedure clearCSSL5; inline;
  4436. procedure clearCSSL6; inline;
  4437. procedure clearCSSL7; inline;
  4438. procedure clearCSSL8; inline;
  4439. procedure clearCSSL9; inline;
  4440. procedure setCSSL0; inline;
  4441. procedure setCSSL10; inline;
  4442. procedure setCSSL11; inline;
  4443. procedure setCSSL12; inline;
  4444. procedure setCSSL13; inline;
  4445. procedure setCSSL14; inline;
  4446. procedure setCSSL15; inline;
  4447. procedure setCSSL1; inline;
  4448. procedure setCSSL2; inline;
  4449. procedure setCSSL3; inline;
  4450. procedure setCSSL4; inline;
  4451. procedure setCSSL5; inline;
  4452. procedure setCSSL6; inline;
  4453. procedure setCSSL7; inline;
  4454. procedure setCSSL8; inline;
  4455. procedure setCSSL9; inline;
  4456. property CSSL : TBits_16 read getCSSL write setCSSL;
  4457. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  4458. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  4459. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  4460. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  4461. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  4462. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  4463. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  4464. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  4465. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  4466. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  4467. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  4468. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  4469. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  4470. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  4471. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  4472. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  4473. property w : TBits_32 read getw write setw;
  4474. end;
  4475. type
  4476. TADC10Registers = record
  4477. AD1CON1bits : TADC10_AD1CON1;
  4478. AD1CON1 : longWord;
  4479. AD1CON1CLR : longWord;
  4480. AD1CON1SET : longWord;
  4481. AD1CON1INV : longWord;
  4482. AD1CON2bits : TADC10_AD1CON2;
  4483. AD1CON2 : longWord;
  4484. AD1CON2CLR : longWord;
  4485. AD1CON2SET : longWord;
  4486. AD1CON2INV : longWord;
  4487. AD1CON3bits : TADC10_AD1CON3;
  4488. AD1CON3 : longWord;
  4489. AD1CON3CLR : longWord;
  4490. AD1CON3SET : longWord;
  4491. AD1CON3INV : longWord;
  4492. AD1CHSbits : TADC10_AD1CHS;
  4493. AD1CHS : longWord;
  4494. AD1CHSCLR : longWord;
  4495. AD1CHSSET : longWord;
  4496. AD1CHSINV : longWord;
  4497. AD1CSSLbits : TADC10_AD1CSSL;
  4498. AD1CSSL : longWord;
  4499. AD1CSSLCLR : longWord;
  4500. AD1CSSLSET : longWord;
  4501. AD1CSSLINV : longWord;
  4502. ADC1BUF0 : longWord;
  4503. ADC1BUF1 : longWord;
  4504. ADC1BUF2 : longWord;
  4505. ADC1BUF3 : longWord;
  4506. ADC1BUF4 : longWord;
  4507. ADC1BUF5 : longWord;
  4508. ADC1BUF6 : longWord;
  4509. ADC1BUF7 : longWord;
  4510. ADC1BUF8 : longWord;
  4511. ADC1BUF9 : longWord;
  4512. ADC1BUFA : longWord;
  4513. ADC1BUFB : longWord;
  4514. ADC1BUFC : longWord;
  4515. ADC1BUFD : longWord;
  4516. ADC1BUFE : longWord;
  4517. ADC1BUFF : longWord;
  4518. end;
  4519. TCVR_CVRCON = record
  4520. private
  4521. function getCVR : TBits_4; inline;
  4522. function getCVR0 : TBits_1; inline;
  4523. function getCVR1 : TBits_1; inline;
  4524. function getCVR2 : TBits_1; inline;
  4525. function getCVR3 : TBits_1; inline;
  4526. function getCVROE : TBits_1; inline;
  4527. function getCVRR : TBits_1; inline;
  4528. function getCVRSS : TBits_1; inline;
  4529. function getON : TBits_1; inline;
  4530. function getw : TBits_32; inline;
  4531. procedure setCVR(thebits : TBits_4); inline;
  4532. procedure setCVR0(thebits : TBits_1); inline;
  4533. procedure setCVR1(thebits : TBits_1); inline;
  4534. procedure setCVR2(thebits : TBits_1); inline;
  4535. procedure setCVR3(thebits : TBits_1); inline;
  4536. procedure setCVROE(thebits : TBits_1); inline;
  4537. procedure setCVRR(thebits : TBits_1); inline;
  4538. procedure setCVRSS(thebits : TBits_1); inline;
  4539. procedure setON(thebits : TBits_1); inline;
  4540. procedure setw(thebits : TBits_32); inline;
  4541. public
  4542. procedure clearCVR0; inline;
  4543. procedure clearCVR1; inline;
  4544. procedure clearCVR2; inline;
  4545. procedure clearCVR3; inline;
  4546. procedure clearCVROE; inline;
  4547. procedure clearCVRR; inline;
  4548. procedure clearCVRSS; inline;
  4549. procedure clearON; inline;
  4550. procedure setCVR0; inline;
  4551. procedure setCVR1; inline;
  4552. procedure setCVR2; inline;
  4553. procedure setCVR3; inline;
  4554. procedure setCVROE; inline;
  4555. procedure setCVRR; inline;
  4556. procedure setCVRSS; inline;
  4557. procedure setON; inline;
  4558. property CVR : TBits_4 read getCVR write setCVR;
  4559. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  4560. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  4561. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  4562. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  4563. property CVROE : TBits_1 read getCVROE write setCVROE;
  4564. property CVRR : TBits_1 read getCVRR write setCVRR;
  4565. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  4566. property ON : TBits_1 read getON write setON;
  4567. property w : TBits_32 read getw write setw;
  4568. end;
  4569. type
  4570. TCVRRegisters = record
  4571. CVRCONbits : TCVR_CVRCON;
  4572. CVRCON : longWord;
  4573. CVRCONCLR : longWord;
  4574. CVRCONSET : longWord;
  4575. CVRCONINV : longWord;
  4576. end;
  4577. TCMP_CM1CON = record
  4578. private
  4579. function getCCH : TBits_2; inline;
  4580. function getCCH0 : TBits_1; inline;
  4581. function getCCH1 : TBits_1; inline;
  4582. function getCOE : TBits_1; inline;
  4583. function getCOUT : TBits_1; inline;
  4584. function getCPOL : TBits_1; inline;
  4585. function getCREF : TBits_1; inline;
  4586. function getEVPOL : TBits_2; inline;
  4587. function getEVPOL0 : TBits_1; inline;
  4588. function getEVPOL1 : TBits_1; inline;
  4589. function getON : TBits_1; inline;
  4590. function getw : TBits_32; inline;
  4591. procedure setCCH(thebits : TBits_2); inline;
  4592. procedure setCCH0(thebits : TBits_1); inline;
  4593. procedure setCCH1(thebits : TBits_1); inline;
  4594. procedure setCOE(thebits : TBits_1); inline;
  4595. procedure setCOUT(thebits : TBits_1); inline;
  4596. procedure setCPOL(thebits : TBits_1); inline;
  4597. procedure setCREF(thebits : TBits_1); inline;
  4598. procedure setEVPOL(thebits : TBits_2); inline;
  4599. procedure setEVPOL0(thebits : TBits_1); inline;
  4600. procedure setEVPOL1(thebits : TBits_1); inline;
  4601. procedure setON(thebits : TBits_1); inline;
  4602. procedure setw(thebits : TBits_32); inline;
  4603. public
  4604. procedure clearCCH0; inline;
  4605. procedure clearCCH1; inline;
  4606. procedure clearCOE; inline;
  4607. procedure clearCOUT; inline;
  4608. procedure clearCPOL; inline;
  4609. procedure clearCREF; inline;
  4610. procedure clearEVPOL0; inline;
  4611. procedure clearEVPOL1; inline;
  4612. procedure clearON; inline;
  4613. procedure setCCH0; inline;
  4614. procedure setCCH1; inline;
  4615. procedure setCOE; inline;
  4616. procedure setCOUT; inline;
  4617. procedure setCPOL; inline;
  4618. procedure setCREF; inline;
  4619. procedure setEVPOL0; inline;
  4620. procedure setEVPOL1; inline;
  4621. procedure setON; inline;
  4622. property CCH : TBits_2 read getCCH write setCCH;
  4623. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4624. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4625. property COE : TBits_1 read getCOE write setCOE;
  4626. property COUT : TBits_1 read getCOUT write setCOUT;
  4627. property CPOL : TBits_1 read getCPOL write setCPOL;
  4628. property CREF : TBits_1 read getCREF write setCREF;
  4629. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4630. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4631. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4632. property ON : TBits_1 read getON write setON;
  4633. property w : TBits_32 read getw write setw;
  4634. end;
  4635. TCMP_CM2CON = record
  4636. private
  4637. function getCCH : TBits_2; inline;
  4638. function getCCH0 : TBits_1; inline;
  4639. function getCCH1 : TBits_1; inline;
  4640. function getCOE : TBits_1; inline;
  4641. function getCOUT : TBits_1; inline;
  4642. function getCPOL : TBits_1; inline;
  4643. function getCREF : TBits_1; inline;
  4644. function getEVPOL : TBits_2; inline;
  4645. function getEVPOL0 : TBits_1; inline;
  4646. function getEVPOL1 : TBits_1; inline;
  4647. function getON : TBits_1; inline;
  4648. function getw : TBits_32; inline;
  4649. procedure setCCH(thebits : TBits_2); inline;
  4650. procedure setCCH0(thebits : TBits_1); inline;
  4651. procedure setCCH1(thebits : TBits_1); inline;
  4652. procedure setCOE(thebits : TBits_1); inline;
  4653. procedure setCOUT(thebits : TBits_1); inline;
  4654. procedure setCPOL(thebits : TBits_1); inline;
  4655. procedure setCREF(thebits : TBits_1); inline;
  4656. procedure setEVPOL(thebits : TBits_2); inline;
  4657. procedure setEVPOL0(thebits : TBits_1); inline;
  4658. procedure setEVPOL1(thebits : TBits_1); inline;
  4659. procedure setON(thebits : TBits_1); inline;
  4660. procedure setw(thebits : TBits_32); inline;
  4661. public
  4662. procedure clearCCH0; inline;
  4663. procedure clearCCH1; inline;
  4664. procedure clearCOE; inline;
  4665. procedure clearCOUT; inline;
  4666. procedure clearCPOL; inline;
  4667. procedure clearCREF; inline;
  4668. procedure clearEVPOL0; inline;
  4669. procedure clearEVPOL1; inline;
  4670. procedure clearON; inline;
  4671. procedure setCCH0; inline;
  4672. procedure setCCH1; inline;
  4673. procedure setCOE; inline;
  4674. procedure setCOUT; inline;
  4675. procedure setCPOL; inline;
  4676. procedure setCREF; inline;
  4677. procedure setEVPOL0; inline;
  4678. procedure setEVPOL1; inline;
  4679. procedure setON; inline;
  4680. property CCH : TBits_2 read getCCH write setCCH;
  4681. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4682. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4683. property COE : TBits_1 read getCOE write setCOE;
  4684. property COUT : TBits_1 read getCOUT write setCOUT;
  4685. property CPOL : TBits_1 read getCPOL write setCPOL;
  4686. property CREF : TBits_1 read getCREF write setCREF;
  4687. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4688. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4689. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4690. property ON : TBits_1 read getON write setON;
  4691. property w : TBits_32 read getw write setw;
  4692. end;
  4693. TCMP_CM3CON = record
  4694. private
  4695. function getCCH : TBits_2; inline;
  4696. function getCCH0 : TBits_1; inline;
  4697. function getCCH1 : TBits_1; inline;
  4698. function getCOE : TBits_1; inline;
  4699. function getCOUT : TBits_1; inline;
  4700. function getCPOL : TBits_1; inline;
  4701. function getCREF : TBits_1; inline;
  4702. function getEVPOL : TBits_2; inline;
  4703. function getEVPOL0 : TBits_1; inline;
  4704. function getEVPOL1 : TBits_1; inline;
  4705. function getON : TBits_1; inline;
  4706. function getw : TBits_32; inline;
  4707. procedure setCCH(thebits : TBits_2); inline;
  4708. procedure setCCH0(thebits : TBits_1); inline;
  4709. procedure setCCH1(thebits : TBits_1); inline;
  4710. procedure setCOE(thebits : TBits_1); inline;
  4711. procedure setCOUT(thebits : TBits_1); inline;
  4712. procedure setCPOL(thebits : TBits_1); inline;
  4713. procedure setCREF(thebits : TBits_1); inline;
  4714. procedure setEVPOL(thebits : TBits_2); inline;
  4715. procedure setEVPOL0(thebits : TBits_1); inline;
  4716. procedure setEVPOL1(thebits : TBits_1); inline;
  4717. procedure setON(thebits : TBits_1); inline;
  4718. procedure setw(thebits : TBits_32); inline;
  4719. public
  4720. procedure clearCCH0; inline;
  4721. procedure clearCCH1; inline;
  4722. procedure clearCOE; inline;
  4723. procedure clearCOUT; inline;
  4724. procedure clearCPOL; inline;
  4725. procedure clearCREF; inline;
  4726. procedure clearEVPOL0; inline;
  4727. procedure clearEVPOL1; inline;
  4728. procedure clearON; inline;
  4729. procedure setCCH0; inline;
  4730. procedure setCCH1; inline;
  4731. procedure setCOE; inline;
  4732. procedure setCOUT; inline;
  4733. procedure setCPOL; inline;
  4734. procedure setCREF; inline;
  4735. procedure setEVPOL0; inline;
  4736. procedure setEVPOL1; inline;
  4737. procedure setON; inline;
  4738. property CCH : TBits_2 read getCCH write setCCH;
  4739. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4740. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4741. property COE : TBits_1 read getCOE write setCOE;
  4742. property COUT : TBits_1 read getCOUT write setCOUT;
  4743. property CPOL : TBits_1 read getCPOL write setCPOL;
  4744. property CREF : TBits_1 read getCREF write setCREF;
  4745. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4746. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4747. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4748. property ON : TBits_1 read getON write setON;
  4749. property w : TBits_32 read getw write setw;
  4750. end;
  4751. TCMP_CMSTAT = record
  4752. private
  4753. function getC1OUT : TBits_1; inline;
  4754. function getC2OUT : TBits_1; inline;
  4755. function getC3OUT : TBits_1; inline;
  4756. function getSIDL : TBits_1; inline;
  4757. function getw : TBits_32; inline;
  4758. procedure setC1OUT(thebits : TBits_1); inline;
  4759. procedure setC2OUT(thebits : TBits_1); inline;
  4760. procedure setC3OUT(thebits : TBits_1); inline;
  4761. procedure setSIDL(thebits : TBits_1); inline;
  4762. procedure setw(thebits : TBits_32); inline;
  4763. public
  4764. procedure clearC1OUT; inline;
  4765. procedure clearC2OUT; inline;
  4766. procedure clearC3OUT; inline;
  4767. procedure clearSIDL; inline;
  4768. procedure setC1OUT; inline;
  4769. procedure setC2OUT; inline;
  4770. procedure setC3OUT; inline;
  4771. procedure setSIDL; inline;
  4772. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  4773. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  4774. property C3OUT : TBits_1 read getC3OUT write setC3OUT;
  4775. property SIDL : TBits_1 read getSIDL write setSIDL;
  4776. property w : TBits_32 read getw write setw;
  4777. end;
  4778. TCMP_CTMUCON = record
  4779. private
  4780. function getCTMUSIDL : TBits_1; inline;
  4781. function getCTTRIG : TBits_1; inline;
  4782. function getEDG1MOD : TBits_1; inline;
  4783. function getEDG1POL : TBits_1; inline;
  4784. function getEDG1SEL : TBits_4; inline;
  4785. function getEDG1STAT : TBits_1; inline;
  4786. function getEDG2MOD : TBits_1; inline;
  4787. function getEDG2POL : TBits_1; inline;
  4788. function getEDG2SEL : TBits_4; inline;
  4789. function getEDG2STAT : TBits_1; inline;
  4790. function getEDGEN : TBits_1; inline;
  4791. function getEDGSEQEN : TBits_1; inline;
  4792. function getIDISSEN : TBits_1; inline;
  4793. function getIRNG : TBits_2; inline;
  4794. function getITRIM : TBits_6; inline;
  4795. function getON : TBits_1; inline;
  4796. function getTGEN : TBits_1; inline;
  4797. function getw : TBits_32; inline;
  4798. procedure setCTMUSIDL(thebits : TBits_1); inline;
  4799. procedure setCTTRIG(thebits : TBits_1); inline;
  4800. procedure setEDG1MOD(thebits : TBits_1); inline;
  4801. procedure setEDG1POL(thebits : TBits_1); inline;
  4802. procedure setEDG1SEL(thebits : TBits_4); inline;
  4803. procedure setEDG1STAT(thebits : TBits_1); inline;
  4804. procedure setEDG2MOD(thebits : TBits_1); inline;
  4805. procedure setEDG2POL(thebits : TBits_1); inline;
  4806. procedure setEDG2SEL(thebits : TBits_4); inline;
  4807. procedure setEDG2STAT(thebits : TBits_1); inline;
  4808. procedure setEDGEN(thebits : TBits_1); inline;
  4809. procedure setEDGSEQEN(thebits : TBits_1); inline;
  4810. procedure setIDISSEN(thebits : TBits_1); inline;
  4811. procedure setIRNG(thebits : TBits_2); inline;
  4812. procedure setITRIM(thebits : TBits_6); inline;
  4813. procedure setON(thebits : TBits_1); inline;
  4814. procedure setTGEN(thebits : TBits_1); inline;
  4815. procedure setw(thebits : TBits_32); inline;
  4816. public
  4817. procedure clearCTMUSIDL; inline;
  4818. procedure clearCTTRIG; inline;
  4819. procedure clearEDG1MOD; inline;
  4820. procedure clearEDG1POL; inline;
  4821. procedure clearEDG1STAT; inline;
  4822. procedure clearEDG2MOD; inline;
  4823. procedure clearEDG2POL; inline;
  4824. procedure clearEDG2STAT; inline;
  4825. procedure clearEDGEN; inline;
  4826. procedure clearEDGSEQEN; inline;
  4827. procedure clearIDISSEN; inline;
  4828. procedure clearON; inline;
  4829. procedure clearTGEN; inline;
  4830. procedure setCTMUSIDL; inline;
  4831. procedure setCTTRIG; inline;
  4832. procedure setEDG1MOD; inline;
  4833. procedure setEDG1POL; inline;
  4834. procedure setEDG1STAT; inline;
  4835. procedure setEDG2MOD; inline;
  4836. procedure setEDG2POL; inline;
  4837. procedure setEDG2STAT; inline;
  4838. procedure setEDGEN; inline;
  4839. procedure setEDGSEQEN; inline;
  4840. procedure setIDISSEN; inline;
  4841. procedure setON; inline;
  4842. procedure setTGEN; inline;
  4843. property CTMUSIDL : TBits_1 read getCTMUSIDL write setCTMUSIDL;
  4844. property CTTRIG : TBits_1 read getCTTRIG write setCTTRIG;
  4845. property EDG1MOD : TBits_1 read getEDG1MOD write setEDG1MOD;
  4846. property EDG1POL : TBits_1 read getEDG1POL write setEDG1POL;
  4847. property EDG1SEL : TBits_4 read getEDG1SEL write setEDG1SEL;
  4848. property EDG1STAT : TBits_1 read getEDG1STAT write setEDG1STAT;
  4849. property EDG2MOD : TBits_1 read getEDG2MOD write setEDG2MOD;
  4850. property EDG2POL : TBits_1 read getEDG2POL write setEDG2POL;
  4851. property EDG2SEL : TBits_4 read getEDG2SEL write setEDG2SEL;
  4852. property EDG2STAT : TBits_1 read getEDG2STAT write setEDG2STAT;
  4853. property EDGEN : TBits_1 read getEDGEN write setEDGEN;
  4854. property EDGSEQEN : TBits_1 read getEDGSEQEN write setEDGSEQEN;
  4855. property IDISSEN : TBits_1 read getIDISSEN write setIDISSEN;
  4856. property IRNG : TBits_2 read getIRNG write setIRNG;
  4857. property ITRIM : TBits_6 read getITRIM write setITRIM;
  4858. property ON : TBits_1 read getON write setON;
  4859. property TGEN : TBits_1 read getTGEN write setTGEN;
  4860. property w : TBits_32 read getw write setw;
  4861. end;
  4862. type
  4863. TCMPRegisters = record
  4864. CM1CONbits : TCMP_CM1CON;
  4865. CM1CON : longWord;
  4866. CM1CONCLR : longWord;
  4867. CM1CONSET : longWord;
  4868. CM1CONINV : longWord;
  4869. CM2CONbits : TCMP_CM2CON;
  4870. CM2CON : longWord;
  4871. CM2CONCLR : longWord;
  4872. CM2CONSET : longWord;
  4873. CM2CONINV : longWord;
  4874. CM3CONbits : TCMP_CM3CON;
  4875. CM3CON : longWord;
  4876. CM3CONCLR : longWord;
  4877. CM3CONSET : longWord;
  4878. CM3CONINV : longWord;
  4879. CMSTATbits : TCMP_CMSTAT;
  4880. CMSTAT : longWord;
  4881. CMSTATCLR : longWord;
  4882. CMSTATSET : longWord;
  4883. CMSTATINV : longWord;
  4884. CTMUCONbits : TCMP_CTMUCON;
  4885. CTMUCON : longWord;
  4886. CTMUCONCLR : longWord;
  4887. CTMUCONSET : longWord;
  4888. CTMUCONINV : longWord;
  4889. end;
  4890. TOSC_OSCCON = record
  4891. private
  4892. function getCF : TBits_1; inline;
  4893. function getCLKLOCK : TBits_1; inline;
  4894. function getCOSC : TBits_3; inline;
  4895. function getCOSC0 : TBits_1; inline;
  4896. function getCOSC1 : TBits_1; inline;
  4897. function getCOSC2 : TBits_1; inline;
  4898. function getFRCDIV : TBits_3; inline;
  4899. function getFRCDIV0 : TBits_1; inline;
  4900. function getFRCDIV1 : TBits_1; inline;
  4901. function getFRCDIV2 : TBits_1; inline;
  4902. function getNOSC : TBits_3; inline;
  4903. function getNOSC0 : TBits_1; inline;
  4904. function getNOSC1 : TBits_1; inline;
  4905. function getNOSC2 : TBits_1; inline;
  4906. function getOSWEN : TBits_1; inline;
  4907. function getPBDIV : TBits_2; inline;
  4908. function getPBDIV0 : TBits_1; inline;
  4909. function getPBDIV1 : TBits_1; inline;
  4910. function getPBDIVRDY : TBits_1; inline;
  4911. function getPLLMULT : TBits_3; inline;
  4912. function getPLLMULT0 : TBits_1; inline;
  4913. function getPLLMULT1 : TBits_1; inline;
  4914. function getPLLMULT2 : TBits_1; inline;
  4915. function getPLLODIV : TBits_3; inline;
  4916. function getPLLODIV0 : TBits_1; inline;
  4917. function getPLLODIV1 : TBits_1; inline;
  4918. function getPLLODIV2 : TBits_1; inline;
  4919. function getSLOCK : TBits_1; inline;
  4920. function getSLPEN : TBits_1; inline;
  4921. function getSOSCEN : TBits_1; inline;
  4922. function getSOSCRDY : TBits_1; inline;
  4923. function getUFRCEN : TBits_1; inline;
  4924. function getULOCK : TBits_1; inline;
  4925. function getw : TBits_32; inline;
  4926. procedure setCF(thebits : TBits_1); inline;
  4927. procedure setCLKLOCK(thebits : TBits_1); inline;
  4928. procedure setCOSC(thebits : TBits_3); inline;
  4929. procedure setCOSC0(thebits : TBits_1); inline;
  4930. procedure setCOSC1(thebits : TBits_1); inline;
  4931. procedure setCOSC2(thebits : TBits_1); inline;
  4932. procedure setFRCDIV(thebits : TBits_3); inline;
  4933. procedure setFRCDIV0(thebits : TBits_1); inline;
  4934. procedure setFRCDIV1(thebits : TBits_1); inline;
  4935. procedure setFRCDIV2(thebits : TBits_1); inline;
  4936. procedure setNOSC(thebits : TBits_3); inline;
  4937. procedure setNOSC0(thebits : TBits_1); inline;
  4938. procedure setNOSC1(thebits : TBits_1); inline;
  4939. procedure setNOSC2(thebits : TBits_1); inline;
  4940. procedure setOSWEN(thebits : TBits_1); inline;
  4941. procedure setPBDIV(thebits : TBits_2); inline;
  4942. procedure setPBDIV0(thebits : TBits_1); inline;
  4943. procedure setPBDIV1(thebits : TBits_1); inline;
  4944. procedure setPBDIVRDY(thebits : TBits_1); inline;
  4945. procedure setPLLMULT(thebits : TBits_3); inline;
  4946. procedure setPLLMULT0(thebits : TBits_1); inline;
  4947. procedure setPLLMULT1(thebits : TBits_1); inline;
  4948. procedure setPLLMULT2(thebits : TBits_1); inline;
  4949. procedure setPLLODIV(thebits : TBits_3); inline;
  4950. procedure setPLLODIV0(thebits : TBits_1); inline;
  4951. procedure setPLLODIV1(thebits : TBits_1); inline;
  4952. procedure setPLLODIV2(thebits : TBits_1); inline;
  4953. procedure setSLOCK(thebits : TBits_1); inline;
  4954. procedure setSLPEN(thebits : TBits_1); inline;
  4955. procedure setSOSCEN(thebits : TBits_1); inline;
  4956. procedure setSOSCRDY(thebits : TBits_1); inline;
  4957. procedure setUFRCEN(thebits : TBits_1); inline;
  4958. procedure setULOCK(thebits : TBits_1); inline;
  4959. procedure setw(thebits : TBits_32); inline;
  4960. public
  4961. procedure clearCF; inline;
  4962. procedure clearCLKLOCK; inline;
  4963. procedure clearCOSC0; inline;
  4964. procedure clearCOSC1; inline;
  4965. procedure clearCOSC2; inline;
  4966. procedure clearFRCDIV0; inline;
  4967. procedure clearFRCDIV1; inline;
  4968. procedure clearFRCDIV2; inline;
  4969. procedure clearNOSC0; inline;
  4970. procedure clearNOSC1; inline;
  4971. procedure clearNOSC2; inline;
  4972. procedure clearOSWEN; inline;
  4973. procedure clearPBDIV0; inline;
  4974. procedure clearPBDIV1; inline;
  4975. procedure clearPBDIVRDY; inline;
  4976. procedure clearPLLMULT0; inline;
  4977. procedure clearPLLMULT1; inline;
  4978. procedure clearPLLMULT2; inline;
  4979. procedure clearPLLODIV0; inline;
  4980. procedure clearPLLODIV1; inline;
  4981. procedure clearPLLODIV2; inline;
  4982. procedure clearSLOCK; inline;
  4983. procedure clearSLPEN; inline;
  4984. procedure clearSOSCEN; inline;
  4985. procedure clearSOSCRDY; inline;
  4986. procedure clearUFRCEN; inline;
  4987. procedure clearULOCK; inline;
  4988. procedure setCF; inline;
  4989. procedure setCLKLOCK; inline;
  4990. procedure setCOSC0; inline;
  4991. procedure setCOSC1; inline;
  4992. procedure setCOSC2; inline;
  4993. procedure setFRCDIV0; inline;
  4994. procedure setFRCDIV1; inline;
  4995. procedure setFRCDIV2; inline;
  4996. procedure setNOSC0; inline;
  4997. procedure setNOSC1; inline;
  4998. procedure setNOSC2; inline;
  4999. procedure setOSWEN; inline;
  5000. procedure setPBDIV0; inline;
  5001. procedure setPBDIV1; inline;
  5002. procedure setPBDIVRDY; inline;
  5003. procedure setPLLMULT0; inline;
  5004. procedure setPLLMULT1; inline;
  5005. procedure setPLLMULT2; inline;
  5006. procedure setPLLODIV0; inline;
  5007. procedure setPLLODIV1; inline;
  5008. procedure setPLLODIV2; inline;
  5009. procedure setSLOCK; inline;
  5010. procedure setSLPEN; inline;
  5011. procedure setSOSCEN; inline;
  5012. procedure setSOSCRDY; inline;
  5013. procedure setUFRCEN; inline;
  5014. procedure setULOCK; inline;
  5015. property CF : TBits_1 read getCF write setCF;
  5016. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  5017. property COSC : TBits_3 read getCOSC write setCOSC;
  5018. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  5019. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  5020. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  5021. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  5022. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  5023. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  5024. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  5025. property NOSC : TBits_3 read getNOSC write setNOSC;
  5026. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  5027. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  5028. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  5029. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  5030. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  5031. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  5032. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  5033. property PBDIVRDY : TBits_1 read getPBDIVRDY write setPBDIVRDY;
  5034. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  5035. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  5036. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  5037. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  5038. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  5039. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  5040. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  5041. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  5042. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  5043. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  5044. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  5045. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  5046. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  5047. property ULOCK : TBits_1 read getULOCK write setULOCK;
  5048. property w : TBits_32 read getw write setw;
  5049. end;
  5050. TOSC_OSCTUN = record
  5051. private
  5052. function getTUN : TBits_6; inline;
  5053. function getTUN0 : TBits_1; inline;
  5054. function getTUN1 : TBits_1; inline;
  5055. function getTUN2 : TBits_1; inline;
  5056. function getTUN3 : TBits_1; inline;
  5057. function getTUN4 : TBits_1; inline;
  5058. function getTUN5 : TBits_1; inline;
  5059. function getw : TBits_32; inline;
  5060. procedure setTUN(thebits : TBits_6); inline;
  5061. procedure setTUN0(thebits : TBits_1); inline;
  5062. procedure setTUN1(thebits : TBits_1); inline;
  5063. procedure setTUN2(thebits : TBits_1); inline;
  5064. procedure setTUN3(thebits : TBits_1); inline;
  5065. procedure setTUN4(thebits : TBits_1); inline;
  5066. procedure setTUN5(thebits : TBits_1); inline;
  5067. procedure setw(thebits : TBits_32); inline;
  5068. public
  5069. procedure clearTUN0; inline;
  5070. procedure clearTUN1; inline;
  5071. procedure clearTUN2; inline;
  5072. procedure clearTUN3; inline;
  5073. procedure clearTUN4; inline;
  5074. procedure clearTUN5; inline;
  5075. procedure setTUN0; inline;
  5076. procedure setTUN1; inline;
  5077. procedure setTUN2; inline;
  5078. procedure setTUN3; inline;
  5079. procedure setTUN4; inline;
  5080. procedure setTUN5; inline;
  5081. property TUN : TBits_6 read getTUN write setTUN;
  5082. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  5083. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  5084. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  5085. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  5086. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  5087. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  5088. property w : TBits_32 read getw write setw;
  5089. end;
  5090. TOSC_REFOCON = record
  5091. private
  5092. function getACTIVE : TBits_1; inline;
  5093. function getDIVSWEN : TBits_1; inline;
  5094. function getOE : TBits_1; inline;
  5095. function getON : TBits_1; inline;
  5096. function getRODIV : TBits_15; inline;
  5097. function getROSEL : TBits_4; inline;
  5098. function getRSLP : TBits_1; inline;
  5099. function getSIDL : TBits_1; inline;
  5100. function getw : TBits_32; inline;
  5101. procedure setACTIVE(thebits : TBits_1); inline;
  5102. procedure setDIVSWEN(thebits : TBits_1); inline;
  5103. procedure setOE(thebits : TBits_1); inline;
  5104. procedure setON(thebits : TBits_1); inline;
  5105. procedure setRODIV(thebits : TBits_15); inline;
  5106. procedure setROSEL(thebits : TBits_4); inline;
  5107. procedure setRSLP(thebits : TBits_1); inline;
  5108. procedure setSIDL(thebits : TBits_1); inline;
  5109. procedure setw(thebits : TBits_32); inline;
  5110. public
  5111. procedure clearACTIVE; inline;
  5112. procedure clearDIVSWEN; inline;
  5113. procedure clearOE; inline;
  5114. procedure clearON; inline;
  5115. procedure clearRSLP; inline;
  5116. procedure clearSIDL; inline;
  5117. procedure setACTIVE; inline;
  5118. procedure setDIVSWEN; inline;
  5119. procedure setOE; inline;
  5120. procedure setON; inline;
  5121. procedure setRSLP; inline;
  5122. procedure setSIDL; inline;
  5123. property ACTIVE : TBits_1 read getACTIVE write setACTIVE;
  5124. property DIVSWEN : TBits_1 read getDIVSWEN write setDIVSWEN;
  5125. property OE : TBits_1 read getOE write setOE;
  5126. property ON : TBits_1 read getON write setON;
  5127. property RODIV : TBits_15 read getRODIV write setRODIV;
  5128. property ROSEL : TBits_4 read getROSEL write setROSEL;
  5129. property RSLP : TBits_1 read getRSLP write setRSLP;
  5130. property SIDL : TBits_1 read getSIDL write setSIDL;
  5131. property w : TBits_32 read getw write setw;
  5132. end;
  5133. TOSC_REFOTRIM = record
  5134. private
  5135. function getROTRIM : TBits_9; inline;
  5136. function getw : TBits_32; inline;
  5137. procedure setROTRIM(thebits : TBits_9); inline;
  5138. procedure setw(thebits : TBits_32); inline;
  5139. public
  5140. property ROTRIM : TBits_9 read getROTRIM write setROTRIM;
  5141. property w : TBits_32 read getw write setw;
  5142. end;
  5143. type
  5144. TOSCRegisters = record
  5145. OSCCONbits : TOSC_OSCCON;
  5146. OSCCON : longWord;
  5147. OSCCONCLR : longWord;
  5148. OSCCONSET : longWord;
  5149. OSCCONINV : longWord;
  5150. OSCTUNbits : TOSC_OSCTUN;
  5151. OSCTUN : longWord;
  5152. OSCTUNCLR : longWord;
  5153. OSCTUNSET : longWord;
  5154. OSCTUNINV : longWord;
  5155. REFOCONbits : TOSC_REFOCON;
  5156. REFOCON : longWord;
  5157. REFOCONCLR : longWord;
  5158. REFOCONSET : longWord;
  5159. REFOCONINV : longWord;
  5160. REFOTRIMbits : TOSC_REFOTRIM;
  5161. REFOTRIM : longWord;
  5162. REFOTRIMCLR : longWord;
  5163. REFOTRIMSET : longWord;
  5164. REFOTRIMINV : longWord;
  5165. end;
  5166. TCFG_PMD5 = record
  5167. private
  5168. function getI2C1MD : TBits_1; inline;
  5169. function getI2C2MD : TBits_1; inline;
  5170. function getSPI1MD : TBits_1; inline;
  5171. function getSPI2MD : TBits_1; inline;
  5172. function getU1MD : TBits_1; inline;
  5173. function getU2MD : TBits_1; inline;
  5174. function getUSB1MD : TBits_1; inline;
  5175. function getUSBMD : TBits_1; inline;
  5176. procedure setI2C1MD(thebits : TBits_1); inline;
  5177. procedure setI2C2MD(thebits : TBits_1); inline;
  5178. procedure setSPI1MD(thebits : TBits_1); inline;
  5179. procedure setSPI2MD(thebits : TBits_1); inline;
  5180. procedure setU1MD(thebits : TBits_1); inline;
  5181. procedure setU2MD(thebits : TBits_1); inline;
  5182. procedure setUSB1MD(thebits : TBits_1); inline;
  5183. procedure setUSBMD(thebits : TBits_1); inline;
  5184. public
  5185. procedure clearI2C1MD; inline;
  5186. procedure clearI2C2MD; inline;
  5187. procedure clearSPI1MD; inline;
  5188. procedure clearSPI2MD; inline;
  5189. procedure clearU1MD; inline;
  5190. procedure clearU2MD; inline;
  5191. procedure clearUSB1MD; inline;
  5192. procedure clearUSBMD; inline;
  5193. procedure setI2C1MD; inline;
  5194. procedure setI2C2MD; inline;
  5195. procedure setSPI1MD; inline;
  5196. procedure setSPI2MD; inline;
  5197. procedure setU1MD; inline;
  5198. procedure setU2MD; inline;
  5199. procedure setUSB1MD; inline;
  5200. procedure setUSBMD; inline;
  5201. property I2C1MD : TBits_1 read getI2C1MD write setI2C1MD;
  5202. property I2C2MD : TBits_1 read getI2C2MD write setI2C2MD;
  5203. property SPI1MD : TBits_1 read getSPI1MD write setSPI1MD;
  5204. property SPI2MD : TBits_1 read getSPI2MD write setSPI2MD;
  5205. property U1MD : TBits_1 read getU1MD write setU1MD;
  5206. property U2MD : TBits_1 read getU2MD write setU2MD;
  5207. property USB1MD : TBits_1 read getUSB1MD write setUSB1MD;
  5208. property USBMD : TBits_1 read getUSBMD write setUSBMD;
  5209. end;
  5210. type
  5211. TCFGRegisters = record
  5212. CFGCON : longWord;
  5213. DDPCON : longWord;
  5214. DEVID : longWord;
  5215. SYSKEY : longWord;
  5216. SYSKEYCLR : longWord;
  5217. SYSKEYSET : longWord;
  5218. SYSKEYINV : longWord;
  5219. PMD1 : longWord;
  5220. PMD1CLR : longWord;
  5221. PMD1SET : longWord;
  5222. PMD1INV : longWord;
  5223. PMD2 : longWord;
  5224. PMD2CLR : longWord;
  5225. PMD2SET : longWord;
  5226. PMD2INV : longWord;
  5227. PMD3 : longWord;
  5228. PMD3CLR : longWord;
  5229. PMD3SET : longWord;
  5230. PMD3INV : longWord;
  5231. PMD4 : longWord;
  5232. PMD4CLR : longWord;
  5233. PMD4SET : longWord;
  5234. PMD4INV : longWord;
  5235. PMD5bits : TCFG_PMD5;
  5236. PMD5 : longWord;
  5237. PMD5CLR : longWord;
  5238. PMD5SET : longWord;
  5239. PMD5INV : longWord;
  5240. PMD6 : longWord;
  5241. PMD6CLR : longWord;
  5242. PMD6SET : longWord;
  5243. PMD6INV : longWord;
  5244. end;
  5245. TNVM_NVMCON = record
  5246. private
  5247. function getLVDERR : TBits_1; inline;
  5248. function getLVDSTAT : TBits_1; inline;
  5249. function getNVMOP : TBits_4; inline;
  5250. function getNVMOP0 : TBits_1; inline;
  5251. function getNVMOP1 : TBits_1; inline;
  5252. function getNVMOP2 : TBits_1; inline;
  5253. function getNVMOP3 : TBits_1; inline;
  5254. function getPROGOP : TBits_4; inline;
  5255. function getPROGOP0 : TBits_1; inline;
  5256. function getPROGOP1 : TBits_1; inline;
  5257. function getPROGOP2 : TBits_1; inline;
  5258. function getPROGOP3 : TBits_1; inline;
  5259. function getWR : TBits_1; inline;
  5260. function getWREN : TBits_1; inline;
  5261. function getWRERR : TBits_1; inline;
  5262. function getw : TBits_32; inline;
  5263. procedure setLVDERR(thebits : TBits_1); inline;
  5264. procedure setLVDSTAT(thebits : TBits_1); inline;
  5265. procedure setNVMOP(thebits : TBits_4); inline;
  5266. procedure setNVMOP0(thebits : TBits_1); inline;
  5267. procedure setNVMOP1(thebits : TBits_1); inline;
  5268. procedure setNVMOP2(thebits : TBits_1); inline;
  5269. procedure setNVMOP3(thebits : TBits_1); inline;
  5270. procedure setPROGOP(thebits : TBits_4); inline;
  5271. procedure setPROGOP0(thebits : TBits_1); inline;
  5272. procedure setPROGOP1(thebits : TBits_1); inline;
  5273. procedure setPROGOP2(thebits : TBits_1); inline;
  5274. procedure setPROGOP3(thebits : TBits_1); inline;
  5275. procedure setWR(thebits : TBits_1); inline;
  5276. procedure setWREN(thebits : TBits_1); inline;
  5277. procedure setWRERR(thebits : TBits_1); inline;
  5278. procedure setw(thebits : TBits_32); inline;
  5279. public
  5280. procedure clearLVDERR; inline;
  5281. procedure clearLVDSTAT; inline;
  5282. procedure clearNVMOP0; inline;
  5283. procedure clearNVMOP1; inline;
  5284. procedure clearNVMOP2; inline;
  5285. procedure clearNVMOP3; inline;
  5286. procedure clearPROGOP0; inline;
  5287. procedure clearPROGOP1; inline;
  5288. procedure clearPROGOP2; inline;
  5289. procedure clearPROGOP3; inline;
  5290. procedure clearWR; inline;
  5291. procedure clearWREN; inline;
  5292. procedure clearWRERR; inline;
  5293. procedure setLVDERR; inline;
  5294. procedure setLVDSTAT; inline;
  5295. procedure setNVMOP0; inline;
  5296. procedure setNVMOP1; inline;
  5297. procedure setNVMOP2; inline;
  5298. procedure setNVMOP3; inline;
  5299. procedure setPROGOP0; inline;
  5300. procedure setPROGOP1; inline;
  5301. procedure setPROGOP2; inline;
  5302. procedure setPROGOP3; inline;
  5303. procedure setWR; inline;
  5304. procedure setWREN; inline;
  5305. procedure setWRERR; inline;
  5306. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  5307. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  5308. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  5309. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  5310. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  5311. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  5312. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  5313. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  5314. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  5315. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  5316. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  5317. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  5318. property WR : TBits_1 read getWR write setWR;
  5319. property WREN : TBits_1 read getWREN write setWREN;
  5320. property WRERR : TBits_1 read getWRERR write setWRERR;
  5321. property w : TBits_32 read getw write setw;
  5322. end;
  5323. type
  5324. TNVMRegisters = record
  5325. NVMCONbits : TNVM_NVMCON;
  5326. NVMCON : longWord;
  5327. NVMCONCLR : longWord;
  5328. NVMCONSET : longWord;
  5329. NVMCONINV : longWord;
  5330. NVMKEY : longWord;
  5331. NVMADDR : longWord;
  5332. NVMADDRCLR : longWord;
  5333. NVMADDRSET : longWord;
  5334. NVMADDRINV : longWord;
  5335. NVMDATA : longWord;
  5336. NVMSRCADDR : longWord;
  5337. end;
  5338. TRCON_RCON = record
  5339. private
  5340. function getBOR : TBits_1; inline;
  5341. function getCMR : TBits_1; inline;
  5342. function getEXTR : TBits_1; inline;
  5343. function getIDLE : TBits_1; inline;
  5344. function getPOR : TBits_1; inline;
  5345. function getSLEEP : TBits_1; inline;
  5346. function getSWR : TBits_1; inline;
  5347. function getVREGS : TBits_1; inline;
  5348. function getWDTO : TBits_1; inline;
  5349. function getw : TBits_32; inline;
  5350. procedure setBOR(thebits : TBits_1); inline;
  5351. procedure setCMR(thebits : TBits_1); inline;
  5352. procedure setEXTR(thebits : TBits_1); inline;
  5353. procedure setIDLE(thebits : TBits_1); inline;
  5354. procedure setPOR(thebits : TBits_1); inline;
  5355. procedure setSLEEP(thebits : TBits_1); inline;
  5356. procedure setSWR(thebits : TBits_1); inline;
  5357. procedure setVREGS(thebits : TBits_1); inline;
  5358. procedure setWDTO(thebits : TBits_1); inline;
  5359. procedure setw(thebits : TBits_32); inline;
  5360. public
  5361. procedure clearBOR; inline;
  5362. procedure clearCMR; inline;
  5363. procedure clearEXTR; inline;
  5364. procedure clearIDLE; inline;
  5365. procedure clearPOR; inline;
  5366. procedure clearSLEEP; inline;
  5367. procedure clearSWR; inline;
  5368. procedure clearVREGS; inline;
  5369. procedure clearWDTO; inline;
  5370. procedure setBOR; inline;
  5371. procedure setCMR; inline;
  5372. procedure setEXTR; inline;
  5373. procedure setIDLE; inline;
  5374. procedure setPOR; inline;
  5375. procedure setSLEEP; inline;
  5376. procedure setSWR; inline;
  5377. procedure setVREGS; inline;
  5378. procedure setWDTO; inline;
  5379. property BOR : TBits_1 read getBOR write setBOR;
  5380. property CMR : TBits_1 read getCMR write setCMR;
  5381. property EXTR : TBits_1 read getEXTR write setEXTR;
  5382. property IDLE : TBits_1 read getIDLE write setIDLE;
  5383. property POR : TBits_1 read getPOR write setPOR;
  5384. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  5385. property SWR : TBits_1 read getSWR write setSWR;
  5386. property VREGS : TBits_1 read getVREGS write setVREGS;
  5387. property WDTO : TBits_1 read getWDTO write setWDTO;
  5388. property w : TBits_32 read getw write setw;
  5389. end;
  5390. TRCON_RSWRST = record
  5391. private
  5392. function getSWRST : TBits_1; inline;
  5393. function getw : TBits_32; inline;
  5394. procedure setSWRST(thebits : TBits_1); inline;
  5395. procedure setw(thebits : TBits_32); inline;
  5396. public
  5397. procedure clearSWRST; inline;
  5398. procedure setSWRST; inline;
  5399. property SWRST : TBits_1 read getSWRST write setSWRST;
  5400. property w : TBits_32 read getw write setw;
  5401. end;
  5402. type
  5403. TRCONRegisters = record
  5404. RCONbits : TRCON_RCON;
  5405. RCON : longWord;
  5406. RCONCLR : longWord;
  5407. RCONSET : longWord;
  5408. RCONINV : longWord;
  5409. RSWRSTbits : TRCON_RSWRST;
  5410. RSWRST : longWord;
  5411. RSWRSTCLR : longWord;
  5412. RSWRSTSET : longWord;
  5413. RSWRSTINV : longWord;
  5414. INT1R : longWord;
  5415. INT2R : longWord;
  5416. INT3R : longWord;
  5417. INT4R : longWord;
  5418. T2CKR : longWord;
  5419. T3CKR : longWord;
  5420. T4CKR : longWord;
  5421. T5CKR : longWord;
  5422. IC1R : longWord;
  5423. IC2R : longWord;
  5424. IC3R : longWord;
  5425. IC4R : longWord;
  5426. IC5R : longWord;
  5427. OCFAR : longWord;
  5428. OCFBR : longWord;
  5429. U1RXR : longWord;
  5430. U1CTSR : longWord;
  5431. U2RXR : longWord;
  5432. U2CTSR : longWord;
  5433. SDI1R : longWord;
  5434. SS1R : longWord;
  5435. SDI2R : longWord;
  5436. SS2R : longWord;
  5437. REFCLKIR : longWord;
  5438. RPA0R : longWord;
  5439. RPA1R : longWord;
  5440. RPA2R : longWord;
  5441. RPA3R : longWord;
  5442. RPA4R : longWord;
  5443. RPA8R : longWord;
  5444. RPA9R : longWord;
  5445. RPB0R : longWord;
  5446. RPB1R : longWord;
  5447. RPB2R : longWord;
  5448. RPB3R : longWord;
  5449. RPB4R : longWord;
  5450. RPB5R : longWord;
  5451. RPB7R : longWord;
  5452. RPB8R : longWord;
  5453. RPB9R : longWord;
  5454. RPB10R : longWord;
  5455. RPB11R : longWord;
  5456. RPB13R : longWord;
  5457. RPB14R : longWord;
  5458. RPB15R : longWord;
  5459. RPC0R : longWord;
  5460. RPC1R : longWord;
  5461. RPC2R : longWord;
  5462. RPC3R : longWord;
  5463. RPC4R : longWord;
  5464. RPC5R : longWord;
  5465. RPC6R : longWord;
  5466. RPC7R : longWord;
  5467. RPC8R : longWord;
  5468. RPC9R : longWord;
  5469. end;
  5470. TINT_INTCON = record
  5471. private
  5472. function getINT0EP : TBits_1; inline;
  5473. function getINT1EP : TBits_1; inline;
  5474. function getINT2EP : TBits_1; inline;
  5475. function getINT3EP : TBits_1; inline;
  5476. function getINT4EP : TBits_1; inline;
  5477. function getMVEC : TBits_1; inline;
  5478. function getSS0 : TBits_1; inline;
  5479. function getTPC : TBits_3; inline;
  5480. function getw : TBits_32; inline;
  5481. procedure setINT0EP(thebits : TBits_1); inline;
  5482. procedure setINT1EP(thebits : TBits_1); inline;
  5483. procedure setINT2EP(thebits : TBits_1); inline;
  5484. procedure setINT3EP(thebits : TBits_1); inline;
  5485. procedure setINT4EP(thebits : TBits_1); inline;
  5486. procedure setMVEC(thebits : TBits_1); inline;
  5487. procedure setSS0(thebits : TBits_1); inline;
  5488. procedure setTPC(thebits : TBits_3); inline;
  5489. procedure setw(thebits : TBits_32); inline;
  5490. public
  5491. procedure clearINT0EP; inline;
  5492. procedure clearINT1EP; inline;
  5493. procedure clearINT2EP; inline;
  5494. procedure clearINT3EP; inline;
  5495. procedure clearINT4EP; inline;
  5496. procedure clearMVEC; inline;
  5497. procedure clearSS0; inline;
  5498. procedure setINT0EP; inline;
  5499. procedure setINT1EP; inline;
  5500. procedure setINT2EP; inline;
  5501. procedure setINT3EP; inline;
  5502. procedure setINT4EP; inline;
  5503. procedure setMVEC; inline;
  5504. procedure setSS0; inline;
  5505. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  5506. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  5507. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  5508. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  5509. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  5510. property MVEC : TBits_1 read getMVEC write setMVEC;
  5511. property SS0 : TBits_1 read getSS0 write setSS0;
  5512. property TPC : TBits_3 read getTPC write setTPC;
  5513. property w : TBits_32 read getw write setw;
  5514. end;
  5515. TINT_IFS0 = record
  5516. private
  5517. function getAD1IF : TBits_1; inline;
  5518. function getCS0IF : TBits_1; inline;
  5519. function getCS1IF : TBits_1; inline;
  5520. function getCTIF : TBits_1; inline;
  5521. function getFCEIF : TBits_1; inline;
  5522. function getFSCMIF : TBits_1; inline;
  5523. function getIC1EIF : TBits_1; inline;
  5524. function getIC1IF : TBits_1; inline;
  5525. function getIC2EIF : TBits_1; inline;
  5526. function getIC2IF : TBits_1; inline;
  5527. function getIC3EIF : TBits_1; inline;
  5528. function getIC3IF : TBits_1; inline;
  5529. function getIC4EIF : TBits_1; inline;
  5530. function getIC4IF : TBits_1; inline;
  5531. function getIC5EIF : TBits_1; inline;
  5532. function getIC5IF : TBits_1; inline;
  5533. function getINT0IF : TBits_1; inline;
  5534. function getINT1IF : TBits_1; inline;
  5535. function getINT2IF : TBits_1; inline;
  5536. function getINT3IF : TBits_1; inline;
  5537. function getINT4IF : TBits_1; inline;
  5538. function getOC1IF : TBits_1; inline;
  5539. function getOC2IF : TBits_1; inline;
  5540. function getOC3IF : TBits_1; inline;
  5541. function getOC4IF : TBits_1; inline;
  5542. function getOC5IF : TBits_1; inline;
  5543. function getRTCCIF : TBits_1; inline;
  5544. function getT1IF : TBits_1; inline;
  5545. function getT2IF : TBits_1; inline;
  5546. function getT3IF : TBits_1; inline;
  5547. function getT4IF : TBits_1; inline;
  5548. function getT5IF : TBits_1; inline;
  5549. function getw : TBits_32; inline;
  5550. procedure setAD1IF(thebits : TBits_1); inline;
  5551. procedure setCS0IF(thebits : TBits_1); inline;
  5552. procedure setCS1IF(thebits : TBits_1); inline;
  5553. procedure setCTIF(thebits : TBits_1); inline;
  5554. procedure setFCEIF(thebits : TBits_1); inline;
  5555. procedure setFSCMIF(thebits : TBits_1); inline;
  5556. procedure setIC1EIF(thebits : TBits_1); inline;
  5557. procedure setIC1IF(thebits : TBits_1); inline;
  5558. procedure setIC2EIF(thebits : TBits_1); inline;
  5559. procedure setIC2IF(thebits : TBits_1); inline;
  5560. procedure setIC3EIF(thebits : TBits_1); inline;
  5561. procedure setIC3IF(thebits : TBits_1); inline;
  5562. procedure setIC4EIF(thebits : TBits_1); inline;
  5563. procedure setIC4IF(thebits : TBits_1); inline;
  5564. procedure setIC5EIF(thebits : TBits_1); inline;
  5565. procedure setIC5IF(thebits : TBits_1); inline;
  5566. procedure setINT0IF(thebits : TBits_1); inline;
  5567. procedure setINT1IF(thebits : TBits_1); inline;
  5568. procedure setINT2IF(thebits : TBits_1); inline;
  5569. procedure setINT3IF(thebits : TBits_1); inline;
  5570. procedure setINT4IF(thebits : TBits_1); inline;
  5571. procedure setOC1IF(thebits : TBits_1); inline;
  5572. procedure setOC2IF(thebits : TBits_1); inline;
  5573. procedure setOC3IF(thebits : TBits_1); inline;
  5574. procedure setOC4IF(thebits : TBits_1); inline;
  5575. procedure setOC5IF(thebits : TBits_1); inline;
  5576. procedure setRTCCIF(thebits : TBits_1); inline;
  5577. procedure setT1IF(thebits : TBits_1); inline;
  5578. procedure setT2IF(thebits : TBits_1); inline;
  5579. procedure setT3IF(thebits : TBits_1); inline;
  5580. procedure setT4IF(thebits : TBits_1); inline;
  5581. procedure setT5IF(thebits : TBits_1); inline;
  5582. procedure setw(thebits : TBits_32); inline;
  5583. public
  5584. procedure clearAD1IF; inline;
  5585. procedure clearCS0IF; inline;
  5586. procedure clearCS1IF; inline;
  5587. procedure clearCTIF; inline;
  5588. procedure clearFCEIF; inline;
  5589. procedure clearFSCMIF; inline;
  5590. procedure clearIC1EIF; inline;
  5591. procedure clearIC1IF; inline;
  5592. procedure clearIC2EIF; inline;
  5593. procedure clearIC2IF; inline;
  5594. procedure clearIC3EIF; inline;
  5595. procedure clearIC3IF; inline;
  5596. procedure clearIC4EIF; inline;
  5597. procedure clearIC4IF; inline;
  5598. procedure clearIC5EIF; inline;
  5599. procedure clearIC5IF; inline;
  5600. procedure clearINT0IF; inline;
  5601. procedure clearINT1IF; inline;
  5602. procedure clearINT2IF; inline;
  5603. procedure clearINT3IF; inline;
  5604. procedure clearINT4IF; inline;
  5605. procedure clearOC1IF; inline;
  5606. procedure clearOC2IF; inline;
  5607. procedure clearOC3IF; inline;
  5608. procedure clearOC4IF; inline;
  5609. procedure clearOC5IF; inline;
  5610. procedure clearRTCCIF; inline;
  5611. procedure clearT1IF; inline;
  5612. procedure clearT2IF; inline;
  5613. procedure clearT3IF; inline;
  5614. procedure clearT4IF; inline;
  5615. procedure clearT5IF; inline;
  5616. procedure setAD1IF; inline;
  5617. procedure setCS0IF; inline;
  5618. procedure setCS1IF; inline;
  5619. procedure setCTIF; inline;
  5620. procedure setFCEIF; inline;
  5621. procedure setFSCMIF; inline;
  5622. procedure setIC1EIF; inline;
  5623. procedure setIC1IF; inline;
  5624. procedure setIC2EIF; inline;
  5625. procedure setIC2IF; inline;
  5626. procedure setIC3EIF; inline;
  5627. procedure setIC3IF; inline;
  5628. procedure setIC4EIF; inline;
  5629. procedure setIC4IF; inline;
  5630. procedure setIC5EIF; inline;
  5631. procedure setIC5IF; inline;
  5632. procedure setINT0IF; inline;
  5633. procedure setINT1IF; inline;
  5634. procedure setINT2IF; inline;
  5635. procedure setINT3IF; inline;
  5636. procedure setINT4IF; inline;
  5637. procedure setOC1IF; inline;
  5638. procedure setOC2IF; inline;
  5639. procedure setOC3IF; inline;
  5640. procedure setOC4IF; inline;
  5641. procedure setOC5IF; inline;
  5642. procedure setRTCCIF; inline;
  5643. procedure setT1IF; inline;
  5644. procedure setT2IF; inline;
  5645. procedure setT3IF; inline;
  5646. procedure setT4IF; inline;
  5647. procedure setT5IF; inline;
  5648. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  5649. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  5650. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  5651. property CTIF : TBits_1 read getCTIF write setCTIF;
  5652. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  5653. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  5654. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  5655. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  5656. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  5657. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  5658. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  5659. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  5660. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  5661. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  5662. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  5663. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  5664. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  5665. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  5666. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  5667. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  5668. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  5669. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  5670. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  5671. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  5672. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  5673. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  5674. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  5675. property T1IF : TBits_1 read getT1IF write setT1IF;
  5676. property T2IF : TBits_1 read getT2IF write setT2IF;
  5677. property T3IF : TBits_1 read getT3IF write setT3IF;
  5678. property T4IF : TBits_1 read getT4IF write setT4IF;
  5679. property T5IF : TBits_1 read getT5IF write setT5IF;
  5680. property w : TBits_32 read getw write setw;
  5681. end;
  5682. TINT_IFS1 = record
  5683. private
  5684. function getCMP1IF : TBits_1; inline;
  5685. function getCMP2IF : TBits_1; inline;
  5686. function getCMP3IF : TBits_1; inline;
  5687. function getCNAIF : TBits_1; inline;
  5688. function getCNBIF : TBits_1; inline;
  5689. function getCNCIF : TBits_1; inline;
  5690. function getCTMUIF : TBits_1; inline;
  5691. function getDMA0IF : TBits_1; inline;
  5692. function getDMA1IF : TBits_1; inline;
  5693. function getDMA2IF : TBits_1; inline;
  5694. function getDMA3IF : TBits_1; inline;
  5695. function getI2C1BIF : TBits_1; inline;
  5696. function getI2C1MIF : TBits_1; inline;
  5697. function getI2C1SIF : TBits_1; inline;
  5698. function getI2C2BIF : TBits_1; inline;
  5699. function getI2C2MIF : TBits_1; inline;
  5700. function getI2C2SIF : TBits_1; inline;
  5701. function getPMPEIF : TBits_1; inline;
  5702. function getPMPIF : TBits_1; inline;
  5703. function getSPI1EIF : TBits_1; inline;
  5704. function getSPI1RXIF : TBits_1; inline;
  5705. function getSPI1TXIF : TBits_1; inline;
  5706. function getSPI2EIF : TBits_1; inline;
  5707. function getSPI2RXIF : TBits_1; inline;
  5708. function getSPI2TXIF : TBits_1; inline;
  5709. function getU1EIF : TBits_1; inline;
  5710. function getU1RXIF : TBits_1; inline;
  5711. function getU1TXIF : TBits_1; inline;
  5712. function getU2EIF : TBits_1; inline;
  5713. function getU2RXIF : TBits_1; inline;
  5714. function getU2TXIF : TBits_1; inline;
  5715. function getUSBIF : TBits_1; inline;
  5716. function getw : TBits_32; inline;
  5717. procedure setCMP1IF(thebits : TBits_1); inline;
  5718. procedure setCMP2IF(thebits : TBits_1); inline;
  5719. procedure setCMP3IF(thebits : TBits_1); inline;
  5720. procedure setCNAIF(thebits : TBits_1); inline;
  5721. procedure setCNBIF(thebits : TBits_1); inline;
  5722. procedure setCNCIF(thebits : TBits_1); inline;
  5723. procedure setCTMUIF(thebits : TBits_1); inline;
  5724. procedure setDMA0IF(thebits : TBits_1); inline;
  5725. procedure setDMA1IF(thebits : TBits_1); inline;
  5726. procedure setDMA2IF(thebits : TBits_1); inline;
  5727. procedure setDMA3IF(thebits : TBits_1); inline;
  5728. procedure setI2C1BIF(thebits : TBits_1); inline;
  5729. procedure setI2C1MIF(thebits : TBits_1); inline;
  5730. procedure setI2C1SIF(thebits : TBits_1); inline;
  5731. procedure setI2C2BIF(thebits : TBits_1); inline;
  5732. procedure setI2C2MIF(thebits : TBits_1); inline;
  5733. procedure setI2C2SIF(thebits : TBits_1); inline;
  5734. procedure setPMPEIF(thebits : TBits_1); inline;
  5735. procedure setPMPIF(thebits : TBits_1); inline;
  5736. procedure setSPI1EIF(thebits : TBits_1); inline;
  5737. procedure setSPI1RXIF(thebits : TBits_1); inline;
  5738. procedure setSPI1TXIF(thebits : TBits_1); inline;
  5739. procedure setSPI2EIF(thebits : TBits_1); inline;
  5740. procedure setSPI2RXIF(thebits : TBits_1); inline;
  5741. procedure setSPI2TXIF(thebits : TBits_1); inline;
  5742. procedure setU1EIF(thebits : TBits_1); inline;
  5743. procedure setU1RXIF(thebits : TBits_1); inline;
  5744. procedure setU1TXIF(thebits : TBits_1); inline;
  5745. procedure setU2EIF(thebits : TBits_1); inline;
  5746. procedure setU2RXIF(thebits : TBits_1); inline;
  5747. procedure setU2TXIF(thebits : TBits_1); inline;
  5748. procedure setUSBIF(thebits : TBits_1); inline;
  5749. procedure setw(thebits : TBits_32); inline;
  5750. public
  5751. procedure clearCMP1IF; inline;
  5752. procedure clearCMP2IF; inline;
  5753. procedure clearCMP3IF; inline;
  5754. procedure clearCNAIF; inline;
  5755. procedure clearCNBIF; inline;
  5756. procedure clearCNCIF; inline;
  5757. procedure clearCTMUIF; inline;
  5758. procedure clearDMA0IF; inline;
  5759. procedure clearDMA1IF; inline;
  5760. procedure clearDMA2IF; inline;
  5761. procedure clearDMA3IF; inline;
  5762. procedure clearI2C1BIF; inline;
  5763. procedure clearI2C1MIF; inline;
  5764. procedure clearI2C1SIF; inline;
  5765. procedure clearI2C2BIF; inline;
  5766. procedure clearI2C2MIF; inline;
  5767. procedure clearI2C2SIF; inline;
  5768. procedure clearPMPEIF; inline;
  5769. procedure clearPMPIF; inline;
  5770. procedure clearSPI1EIF; inline;
  5771. procedure clearSPI1RXIF; inline;
  5772. procedure clearSPI1TXIF; inline;
  5773. procedure clearSPI2EIF; inline;
  5774. procedure clearSPI2RXIF; inline;
  5775. procedure clearSPI2TXIF; inline;
  5776. procedure clearU1EIF; inline;
  5777. procedure clearU1RXIF; inline;
  5778. procedure clearU1TXIF; inline;
  5779. procedure clearU2EIF; inline;
  5780. procedure clearU2RXIF; inline;
  5781. procedure clearU2TXIF; inline;
  5782. procedure clearUSBIF; inline;
  5783. procedure setCMP1IF; inline;
  5784. procedure setCMP2IF; inline;
  5785. procedure setCMP3IF; inline;
  5786. procedure setCNAIF; inline;
  5787. procedure setCNBIF; inline;
  5788. procedure setCNCIF; inline;
  5789. procedure setCTMUIF; inline;
  5790. procedure setDMA0IF; inline;
  5791. procedure setDMA1IF; inline;
  5792. procedure setDMA2IF; inline;
  5793. procedure setDMA3IF; inline;
  5794. procedure setI2C1BIF; inline;
  5795. procedure setI2C1MIF; inline;
  5796. procedure setI2C1SIF; inline;
  5797. procedure setI2C2BIF; inline;
  5798. procedure setI2C2MIF; inline;
  5799. procedure setI2C2SIF; inline;
  5800. procedure setPMPEIF; inline;
  5801. procedure setPMPIF; inline;
  5802. procedure setSPI1EIF; inline;
  5803. procedure setSPI1RXIF; inline;
  5804. procedure setSPI1TXIF; inline;
  5805. procedure setSPI2EIF; inline;
  5806. procedure setSPI2RXIF; inline;
  5807. procedure setSPI2TXIF; inline;
  5808. procedure setU1EIF; inline;
  5809. procedure setU1RXIF; inline;
  5810. procedure setU1TXIF; inline;
  5811. procedure setU2EIF; inline;
  5812. procedure setU2RXIF; inline;
  5813. procedure setU2TXIF; inline;
  5814. procedure setUSBIF; inline;
  5815. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  5816. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  5817. property CMP3IF : TBits_1 read getCMP3IF write setCMP3IF;
  5818. property CNAIF : TBits_1 read getCNAIF write setCNAIF;
  5819. property CNBIF : TBits_1 read getCNBIF write setCNBIF;
  5820. property CNCIF : TBits_1 read getCNCIF write setCNCIF;
  5821. property CTMUIF : TBits_1 read getCTMUIF write setCTMUIF;
  5822. property DMA0IF : TBits_1 read getDMA0IF write setDMA0IF;
  5823. property DMA1IF : TBits_1 read getDMA1IF write setDMA1IF;
  5824. property DMA2IF : TBits_1 read getDMA2IF write setDMA2IF;
  5825. property DMA3IF : TBits_1 read getDMA3IF write setDMA3IF;
  5826. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  5827. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  5828. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  5829. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  5830. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  5831. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  5832. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  5833. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  5834. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  5835. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  5836. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  5837. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  5838. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  5839. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  5840. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  5841. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  5842. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  5843. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  5844. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  5845. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  5846. property USBIF : TBits_1 read getUSBIF write setUSBIF;
  5847. property w : TBits_32 read getw write setw;
  5848. end;
  5849. TINT_IEC0 = record
  5850. private
  5851. function getAD1IE : TBits_1; inline;
  5852. function getCS0IE : TBits_1; inline;
  5853. function getCS1IE : TBits_1; inline;
  5854. function getCTIE : TBits_1; inline;
  5855. function getFCEIE : TBits_1; inline;
  5856. function getFSCMIE : TBits_1; inline;
  5857. function getIC1EIE : TBits_1; inline;
  5858. function getIC1IE : TBits_1; inline;
  5859. function getIC2EIE : TBits_1; inline;
  5860. function getIC2IE : TBits_1; inline;
  5861. function getIC3EIE : TBits_1; inline;
  5862. function getIC3IE : TBits_1; inline;
  5863. function getIC4EIE : TBits_1; inline;
  5864. function getIC4IE : TBits_1; inline;
  5865. function getIC5EIE : TBits_1; inline;
  5866. function getIC5IE : TBits_1; inline;
  5867. function getINT0IE : TBits_1; inline;
  5868. function getINT1IE : TBits_1; inline;
  5869. function getINT2IE : TBits_1; inline;
  5870. function getINT3IE : TBits_1; inline;
  5871. function getINT4IE : TBits_1; inline;
  5872. function getOC1IE : TBits_1; inline;
  5873. function getOC2IE : TBits_1; inline;
  5874. function getOC3IE : TBits_1; inline;
  5875. function getOC4IE : TBits_1; inline;
  5876. function getOC5IE : TBits_1; inline;
  5877. function getRTCCIE : TBits_1; inline;
  5878. function getT1IE : TBits_1; inline;
  5879. function getT2IE : TBits_1; inline;
  5880. function getT3IE : TBits_1; inline;
  5881. function getT4IE : TBits_1; inline;
  5882. function getT5IE : TBits_1; inline;
  5883. function getw : TBits_32; inline;
  5884. procedure setAD1IE(thebits : TBits_1); inline;
  5885. procedure setCS0IE(thebits : TBits_1); inline;
  5886. procedure setCS1IE(thebits : TBits_1); inline;
  5887. procedure setCTIE(thebits : TBits_1); inline;
  5888. procedure setFCEIE(thebits : TBits_1); inline;
  5889. procedure setFSCMIE(thebits : TBits_1); inline;
  5890. procedure setIC1EIE(thebits : TBits_1); inline;
  5891. procedure setIC1IE(thebits : TBits_1); inline;
  5892. procedure setIC2EIE(thebits : TBits_1); inline;
  5893. procedure setIC2IE(thebits : TBits_1); inline;
  5894. procedure setIC3EIE(thebits : TBits_1); inline;
  5895. procedure setIC3IE(thebits : TBits_1); inline;
  5896. procedure setIC4EIE(thebits : TBits_1); inline;
  5897. procedure setIC4IE(thebits : TBits_1); inline;
  5898. procedure setIC5EIE(thebits : TBits_1); inline;
  5899. procedure setIC5IE(thebits : TBits_1); inline;
  5900. procedure setINT0IE(thebits : TBits_1); inline;
  5901. procedure setINT1IE(thebits : TBits_1); inline;
  5902. procedure setINT2IE(thebits : TBits_1); inline;
  5903. procedure setINT3IE(thebits : TBits_1); inline;
  5904. procedure setINT4IE(thebits : TBits_1); inline;
  5905. procedure setOC1IE(thebits : TBits_1); inline;
  5906. procedure setOC2IE(thebits : TBits_1); inline;
  5907. procedure setOC3IE(thebits : TBits_1); inline;
  5908. procedure setOC4IE(thebits : TBits_1); inline;
  5909. procedure setOC5IE(thebits : TBits_1); inline;
  5910. procedure setRTCCIE(thebits : TBits_1); inline;
  5911. procedure setT1IE(thebits : TBits_1); inline;
  5912. procedure setT2IE(thebits : TBits_1); inline;
  5913. procedure setT3IE(thebits : TBits_1); inline;
  5914. procedure setT4IE(thebits : TBits_1); inline;
  5915. procedure setT5IE(thebits : TBits_1); inline;
  5916. procedure setw(thebits : TBits_32); inline;
  5917. public
  5918. procedure clearAD1IE; inline;
  5919. procedure clearCS0IE; inline;
  5920. procedure clearCS1IE; inline;
  5921. procedure clearCTIE; inline;
  5922. procedure clearFCEIE; inline;
  5923. procedure clearFSCMIE; inline;
  5924. procedure clearIC1EIE; inline;
  5925. procedure clearIC1IE; inline;
  5926. procedure clearIC2EIE; inline;
  5927. procedure clearIC2IE; inline;
  5928. procedure clearIC3EIE; inline;
  5929. procedure clearIC3IE; inline;
  5930. procedure clearIC4EIE; inline;
  5931. procedure clearIC4IE; inline;
  5932. procedure clearIC5EIE; inline;
  5933. procedure clearIC5IE; inline;
  5934. procedure clearINT0IE; inline;
  5935. procedure clearINT1IE; inline;
  5936. procedure clearINT2IE; inline;
  5937. procedure clearINT3IE; inline;
  5938. procedure clearINT4IE; inline;
  5939. procedure clearOC1IE; inline;
  5940. procedure clearOC2IE; inline;
  5941. procedure clearOC3IE; inline;
  5942. procedure clearOC4IE; inline;
  5943. procedure clearOC5IE; inline;
  5944. procedure clearRTCCIE; inline;
  5945. procedure clearT1IE; inline;
  5946. procedure clearT2IE; inline;
  5947. procedure clearT3IE; inline;
  5948. procedure clearT4IE; inline;
  5949. procedure clearT5IE; inline;
  5950. procedure setAD1IE; inline;
  5951. procedure setCS0IE; inline;
  5952. procedure setCS1IE; inline;
  5953. procedure setCTIE; inline;
  5954. procedure setFCEIE; inline;
  5955. procedure setFSCMIE; inline;
  5956. procedure setIC1EIE; inline;
  5957. procedure setIC1IE; inline;
  5958. procedure setIC2EIE; inline;
  5959. procedure setIC2IE; inline;
  5960. procedure setIC3EIE; inline;
  5961. procedure setIC3IE; inline;
  5962. procedure setIC4EIE; inline;
  5963. procedure setIC4IE; inline;
  5964. procedure setIC5EIE; inline;
  5965. procedure setIC5IE; inline;
  5966. procedure setINT0IE; inline;
  5967. procedure setINT1IE; inline;
  5968. procedure setINT2IE; inline;
  5969. procedure setINT3IE; inline;
  5970. procedure setINT4IE; inline;
  5971. procedure setOC1IE; inline;
  5972. procedure setOC2IE; inline;
  5973. procedure setOC3IE; inline;
  5974. procedure setOC4IE; inline;
  5975. procedure setOC5IE; inline;
  5976. procedure setRTCCIE; inline;
  5977. procedure setT1IE; inline;
  5978. procedure setT2IE; inline;
  5979. procedure setT3IE; inline;
  5980. procedure setT4IE; inline;
  5981. procedure setT5IE; inline;
  5982. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  5983. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  5984. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  5985. property CTIE : TBits_1 read getCTIE write setCTIE;
  5986. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  5987. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  5988. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  5989. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  5990. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  5991. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  5992. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  5993. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  5994. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  5995. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  5996. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  5997. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  5998. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  5999. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  6000. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  6001. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  6002. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  6003. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  6004. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  6005. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  6006. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  6007. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  6008. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  6009. property T1IE : TBits_1 read getT1IE write setT1IE;
  6010. property T2IE : TBits_1 read getT2IE write setT2IE;
  6011. property T3IE : TBits_1 read getT3IE write setT3IE;
  6012. property T4IE : TBits_1 read getT4IE write setT4IE;
  6013. property T5IE : TBits_1 read getT5IE write setT5IE;
  6014. property w : TBits_32 read getw write setw;
  6015. end;
  6016. TINT_IEC1 = record
  6017. private
  6018. function getCMP1IE : TBits_1; inline;
  6019. function getCMP2IE : TBits_1; inline;
  6020. function getCMP3IE : TBits_1; inline;
  6021. function getCNAIE : TBits_1; inline;
  6022. function getCNBIE : TBits_1; inline;
  6023. function getCNCIE : TBits_1; inline;
  6024. function getCTMUIE : TBits_1; inline;
  6025. function getDMA0IE : TBits_1; inline;
  6026. function getDMA1IE : TBits_1; inline;
  6027. function getDMA2IE : TBits_1; inline;
  6028. function getDMA3IE : TBits_1; inline;
  6029. function getI2C1BIE : TBits_1; inline;
  6030. function getI2C1MIE : TBits_1; inline;
  6031. function getI2C1SIE : TBits_1; inline;
  6032. function getI2C2BIE : TBits_1; inline;
  6033. function getI2C2MIE : TBits_1; inline;
  6034. function getI2C2SIE : TBits_1; inline;
  6035. function getPMPEIE : TBits_1; inline;
  6036. function getPMPIE : TBits_1; inline;
  6037. function getSPI1EIE : TBits_1; inline;
  6038. function getSPI1RXIE : TBits_1; inline;
  6039. function getSPI1TXIE : TBits_1; inline;
  6040. function getSPI2EIE : TBits_1; inline;
  6041. function getSPI2RXIE : TBits_1; inline;
  6042. function getSPI2TXIE : TBits_1; inline;
  6043. function getU1EIE : TBits_1; inline;
  6044. function getU1RXIE : TBits_1; inline;
  6045. function getU1TXIE : TBits_1; inline;
  6046. function getU2EIE : TBits_1; inline;
  6047. function getU2RXIE : TBits_1; inline;
  6048. function getU2TXIE : TBits_1; inline;
  6049. function getUSBIE : TBits_1; inline;
  6050. function getw : TBits_32; inline;
  6051. procedure setCMP1IE(thebits : TBits_1); inline;
  6052. procedure setCMP2IE(thebits : TBits_1); inline;
  6053. procedure setCMP3IE(thebits : TBits_1); inline;
  6054. procedure setCNAIE(thebits : TBits_1); inline;
  6055. procedure setCNBIE(thebits : TBits_1); inline;
  6056. procedure setCNCIE(thebits : TBits_1); inline;
  6057. procedure setCTMUIE(thebits : TBits_1); inline;
  6058. procedure setDMA0IE(thebits : TBits_1); inline;
  6059. procedure setDMA1IE(thebits : TBits_1); inline;
  6060. procedure setDMA2IE(thebits : TBits_1); inline;
  6061. procedure setDMA3IE(thebits : TBits_1); inline;
  6062. procedure setI2C1BIE(thebits : TBits_1); inline;
  6063. procedure setI2C1MIE(thebits : TBits_1); inline;
  6064. procedure setI2C1SIE(thebits : TBits_1); inline;
  6065. procedure setI2C2BIE(thebits : TBits_1); inline;
  6066. procedure setI2C2MIE(thebits : TBits_1); inline;
  6067. procedure setI2C2SIE(thebits : TBits_1); inline;
  6068. procedure setPMPEIE(thebits : TBits_1); inline;
  6069. procedure setPMPIE(thebits : TBits_1); inline;
  6070. procedure setSPI1EIE(thebits : TBits_1); inline;
  6071. procedure setSPI1RXIE(thebits : TBits_1); inline;
  6072. procedure setSPI1TXIE(thebits : TBits_1); inline;
  6073. procedure setSPI2EIE(thebits : TBits_1); inline;
  6074. procedure setSPI2RXIE(thebits : TBits_1); inline;
  6075. procedure setSPI2TXIE(thebits : TBits_1); inline;
  6076. procedure setU1EIE(thebits : TBits_1); inline;
  6077. procedure setU1RXIE(thebits : TBits_1); inline;
  6078. procedure setU1TXIE(thebits : TBits_1); inline;
  6079. procedure setU2EIE(thebits : TBits_1); inline;
  6080. procedure setU2RXIE(thebits : TBits_1); inline;
  6081. procedure setU2TXIE(thebits : TBits_1); inline;
  6082. procedure setUSBIE(thebits : TBits_1); inline;
  6083. procedure setw(thebits : TBits_32); inline;
  6084. public
  6085. procedure clearCMP1IE; inline;
  6086. procedure clearCMP2IE; inline;
  6087. procedure clearCMP3IE; inline;
  6088. procedure clearCNAIE; inline;
  6089. procedure clearCNBIE; inline;
  6090. procedure clearCNCIE; inline;
  6091. procedure clearCTMUIE; inline;
  6092. procedure clearDMA0IE; inline;
  6093. procedure clearDMA1IE; inline;
  6094. procedure clearDMA2IE; inline;
  6095. procedure clearDMA3IE; inline;
  6096. procedure clearI2C1BIE; inline;
  6097. procedure clearI2C1MIE; inline;
  6098. procedure clearI2C1SIE; inline;
  6099. procedure clearI2C2BIE; inline;
  6100. procedure clearI2C2MIE; inline;
  6101. procedure clearI2C2SIE; inline;
  6102. procedure clearPMPEIE; inline;
  6103. procedure clearPMPIE; inline;
  6104. procedure clearSPI1EIE; inline;
  6105. procedure clearSPI1RXIE; inline;
  6106. procedure clearSPI1TXIE; inline;
  6107. procedure clearSPI2EIE; inline;
  6108. procedure clearSPI2RXIE; inline;
  6109. procedure clearSPI2TXIE; inline;
  6110. procedure clearU1EIE; inline;
  6111. procedure clearU1RXIE; inline;
  6112. procedure clearU1TXIE; inline;
  6113. procedure clearU2EIE; inline;
  6114. procedure clearU2RXIE; inline;
  6115. procedure clearU2TXIE; inline;
  6116. procedure clearUSBIE; inline;
  6117. procedure setCMP1IE; inline;
  6118. procedure setCMP2IE; inline;
  6119. procedure setCMP3IE; inline;
  6120. procedure setCNAIE; inline;
  6121. procedure setCNBIE; inline;
  6122. procedure setCNCIE; inline;
  6123. procedure setCTMUIE; inline;
  6124. procedure setDMA0IE; inline;
  6125. procedure setDMA1IE; inline;
  6126. procedure setDMA2IE; inline;
  6127. procedure setDMA3IE; inline;
  6128. procedure setI2C1BIE; inline;
  6129. procedure setI2C1MIE; inline;
  6130. procedure setI2C1SIE; inline;
  6131. procedure setI2C2BIE; inline;
  6132. procedure setI2C2MIE; inline;
  6133. procedure setI2C2SIE; inline;
  6134. procedure setPMPEIE; inline;
  6135. procedure setPMPIE; inline;
  6136. procedure setSPI1EIE; inline;
  6137. procedure setSPI1RXIE; inline;
  6138. procedure setSPI1TXIE; inline;
  6139. procedure setSPI2EIE; inline;
  6140. procedure setSPI2RXIE; inline;
  6141. procedure setSPI2TXIE; inline;
  6142. procedure setU1EIE; inline;
  6143. procedure setU1RXIE; inline;
  6144. procedure setU1TXIE; inline;
  6145. procedure setU2EIE; inline;
  6146. procedure setU2RXIE; inline;
  6147. procedure setU2TXIE; inline;
  6148. procedure setUSBIE; inline;
  6149. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  6150. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  6151. property CMP3IE : TBits_1 read getCMP3IE write setCMP3IE;
  6152. property CNAIE : TBits_1 read getCNAIE write setCNAIE;
  6153. property CNBIE : TBits_1 read getCNBIE write setCNBIE;
  6154. property CNCIE : TBits_1 read getCNCIE write setCNCIE;
  6155. property CTMUIE : TBits_1 read getCTMUIE write setCTMUIE;
  6156. property DMA0IE : TBits_1 read getDMA0IE write setDMA0IE;
  6157. property DMA1IE : TBits_1 read getDMA1IE write setDMA1IE;
  6158. property DMA2IE : TBits_1 read getDMA2IE write setDMA2IE;
  6159. property DMA3IE : TBits_1 read getDMA3IE write setDMA3IE;
  6160. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  6161. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  6162. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  6163. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  6164. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  6165. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  6166. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  6167. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  6168. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  6169. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  6170. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  6171. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  6172. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  6173. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  6174. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  6175. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  6176. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  6177. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  6178. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  6179. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  6180. property USBIE : TBits_1 read getUSBIE write setUSBIE;
  6181. property w : TBits_32 read getw write setw;
  6182. end;
  6183. TINT_IPC0 = record
  6184. private
  6185. function getCS0IP : TBits_3; inline;
  6186. function getCS0IS : TBits_2; inline;
  6187. function getCS1IP : TBits_3; inline;
  6188. function getCS1IS : TBits_2; inline;
  6189. function getCTIP : TBits_3; inline;
  6190. function getCTIS : TBits_2; inline;
  6191. function getINT0IP : TBits_3; inline;
  6192. function getINT0IS : TBits_2; inline;
  6193. function getw : TBits_32; inline;
  6194. procedure setCS0IP(thebits : TBits_3); inline;
  6195. procedure setCS0IS(thebits : TBits_2); inline;
  6196. procedure setCS1IP(thebits : TBits_3); inline;
  6197. procedure setCS1IS(thebits : TBits_2); inline;
  6198. procedure setCTIP(thebits : TBits_3); inline;
  6199. procedure setCTIS(thebits : TBits_2); inline;
  6200. procedure setINT0IP(thebits : TBits_3); inline;
  6201. procedure setINT0IS(thebits : TBits_2); inline;
  6202. procedure setw(thebits : TBits_32); inline;
  6203. public
  6204. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  6205. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  6206. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  6207. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  6208. property CTIP : TBits_3 read getCTIP write setCTIP;
  6209. property CTIS : TBits_2 read getCTIS write setCTIS;
  6210. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  6211. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  6212. property w : TBits_32 read getw write setw;
  6213. end;
  6214. TINT_IPC1 = record
  6215. private
  6216. function getIC1IP : TBits_3; inline;
  6217. function getIC1IS : TBits_2; inline;
  6218. function getINT1IP : TBits_3; inline;
  6219. function getINT1IS : TBits_2; inline;
  6220. function getOC1IP : TBits_3; inline;
  6221. function getOC1IS : TBits_2; inline;
  6222. function getT1IP : TBits_3; inline;
  6223. function getT1IS : TBits_2; inline;
  6224. function getw : TBits_32; inline;
  6225. procedure setIC1IP(thebits : TBits_3); inline;
  6226. procedure setIC1IS(thebits : TBits_2); inline;
  6227. procedure setINT1IP(thebits : TBits_3); inline;
  6228. procedure setINT1IS(thebits : TBits_2); inline;
  6229. procedure setOC1IP(thebits : TBits_3); inline;
  6230. procedure setOC1IS(thebits : TBits_2); inline;
  6231. procedure setT1IP(thebits : TBits_3); inline;
  6232. procedure setT1IS(thebits : TBits_2); inline;
  6233. procedure setw(thebits : TBits_32); inline;
  6234. public
  6235. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  6236. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  6237. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  6238. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  6239. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  6240. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  6241. property T1IP : TBits_3 read getT1IP write setT1IP;
  6242. property T1IS : TBits_2 read getT1IS write setT1IS;
  6243. property w : TBits_32 read getw write setw;
  6244. end;
  6245. TINT_IPC2 = record
  6246. private
  6247. function getIC2IP : TBits_3; inline;
  6248. function getIC2IS : TBits_2; inline;
  6249. function getINT2IP : TBits_3; inline;
  6250. function getINT2IS : TBits_2; inline;
  6251. function getOC2IP : TBits_3; inline;
  6252. function getOC2IS : TBits_2; inline;
  6253. function getT2IP : TBits_3; inline;
  6254. function getT2IS : TBits_2; inline;
  6255. function getw : TBits_32; inline;
  6256. procedure setIC2IP(thebits : TBits_3); inline;
  6257. procedure setIC2IS(thebits : TBits_2); inline;
  6258. procedure setINT2IP(thebits : TBits_3); inline;
  6259. procedure setINT2IS(thebits : TBits_2); inline;
  6260. procedure setOC2IP(thebits : TBits_3); inline;
  6261. procedure setOC2IS(thebits : TBits_2); inline;
  6262. procedure setT2IP(thebits : TBits_3); inline;
  6263. procedure setT2IS(thebits : TBits_2); inline;
  6264. procedure setw(thebits : TBits_32); inline;
  6265. public
  6266. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  6267. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  6268. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  6269. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  6270. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  6271. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  6272. property T2IP : TBits_3 read getT2IP write setT2IP;
  6273. property T2IS : TBits_2 read getT2IS write setT2IS;
  6274. property w : TBits_32 read getw write setw;
  6275. end;
  6276. TINT_IPC3 = record
  6277. private
  6278. function getIC3IP : TBits_3; inline;
  6279. function getIC3IS : TBits_2; inline;
  6280. function getINT3IP : TBits_3; inline;
  6281. function getINT3IS : TBits_2; inline;
  6282. function getOC3IP : TBits_3; inline;
  6283. function getOC3IS : TBits_2; inline;
  6284. function getT3IP : TBits_3; inline;
  6285. function getT3IS : TBits_2; inline;
  6286. function getw : TBits_32; inline;
  6287. procedure setIC3IP(thebits : TBits_3); inline;
  6288. procedure setIC3IS(thebits : TBits_2); inline;
  6289. procedure setINT3IP(thebits : TBits_3); inline;
  6290. procedure setINT3IS(thebits : TBits_2); inline;
  6291. procedure setOC3IP(thebits : TBits_3); inline;
  6292. procedure setOC3IS(thebits : TBits_2); inline;
  6293. procedure setT3IP(thebits : TBits_3); inline;
  6294. procedure setT3IS(thebits : TBits_2); inline;
  6295. procedure setw(thebits : TBits_32); inline;
  6296. public
  6297. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  6298. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  6299. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  6300. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  6301. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  6302. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  6303. property T3IP : TBits_3 read getT3IP write setT3IP;
  6304. property T3IS : TBits_2 read getT3IS write setT3IS;
  6305. property w : TBits_32 read getw write setw;
  6306. end;
  6307. TINT_IPC4 = record
  6308. private
  6309. function getIC4IP : TBits_3; inline;
  6310. function getIC4IS : TBits_2; inline;
  6311. function getINT4IP : TBits_3; inline;
  6312. function getINT4IS : TBits_2; inline;
  6313. function getOC4IP : TBits_3; inline;
  6314. function getOC4IS : TBits_2; inline;
  6315. function getT4IP : TBits_3; inline;
  6316. function getT4IS : TBits_2; inline;
  6317. function getw : TBits_32; inline;
  6318. procedure setIC4IP(thebits : TBits_3); inline;
  6319. procedure setIC4IS(thebits : TBits_2); inline;
  6320. procedure setINT4IP(thebits : TBits_3); inline;
  6321. procedure setINT4IS(thebits : TBits_2); inline;
  6322. procedure setOC4IP(thebits : TBits_3); inline;
  6323. procedure setOC4IS(thebits : TBits_2); inline;
  6324. procedure setT4IP(thebits : TBits_3); inline;
  6325. procedure setT4IS(thebits : TBits_2); inline;
  6326. procedure setw(thebits : TBits_32); inline;
  6327. public
  6328. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  6329. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  6330. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  6331. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  6332. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  6333. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  6334. property T4IP : TBits_3 read getT4IP write setT4IP;
  6335. property T4IS : TBits_2 read getT4IS write setT4IS;
  6336. property w : TBits_32 read getw write setw;
  6337. end;
  6338. TINT_IPC5 = record
  6339. private
  6340. function getAD1IP : TBits_3; inline;
  6341. function getAD1IS : TBits_2; inline;
  6342. function getIC5IP : TBits_3; inline;
  6343. function getIC5IS : TBits_2; inline;
  6344. function getOC5IP : TBits_3; inline;
  6345. function getOC5IS : TBits_2; inline;
  6346. function getT5IP : TBits_3; inline;
  6347. function getT5IS : TBits_2; inline;
  6348. function getw : TBits_32; inline;
  6349. procedure setAD1IP(thebits : TBits_3); inline;
  6350. procedure setAD1IS(thebits : TBits_2); inline;
  6351. procedure setIC5IP(thebits : TBits_3); inline;
  6352. procedure setIC5IS(thebits : TBits_2); inline;
  6353. procedure setOC5IP(thebits : TBits_3); inline;
  6354. procedure setOC5IS(thebits : TBits_2); inline;
  6355. procedure setT5IP(thebits : TBits_3); inline;
  6356. procedure setT5IS(thebits : TBits_2); inline;
  6357. procedure setw(thebits : TBits_32); inline;
  6358. public
  6359. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  6360. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  6361. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  6362. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  6363. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  6364. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  6365. property T5IP : TBits_3 read getT5IP write setT5IP;
  6366. property T5IS : TBits_2 read getT5IS write setT5IS;
  6367. property w : TBits_32 read getw write setw;
  6368. end;
  6369. TINT_IPC6 = record
  6370. private
  6371. function getCMP1IP : TBits_3; inline;
  6372. function getCMP1IS : TBits_2; inline;
  6373. function getFCEIP : TBits_3; inline;
  6374. function getFCEIS : TBits_2; inline;
  6375. function getFSCMIP : TBits_3; inline;
  6376. function getFSCMIS : TBits_2; inline;
  6377. function getRTCCIP : TBits_3; inline;
  6378. function getRTCCIS : TBits_2; inline;
  6379. function getw : TBits_32; inline;
  6380. procedure setCMP1IP(thebits : TBits_3); inline;
  6381. procedure setCMP1IS(thebits : TBits_2); inline;
  6382. procedure setFCEIP(thebits : TBits_3); inline;
  6383. procedure setFCEIS(thebits : TBits_2); inline;
  6384. procedure setFSCMIP(thebits : TBits_3); inline;
  6385. procedure setFSCMIS(thebits : TBits_2); inline;
  6386. procedure setRTCCIP(thebits : TBits_3); inline;
  6387. procedure setRTCCIS(thebits : TBits_2); inline;
  6388. procedure setw(thebits : TBits_32); inline;
  6389. public
  6390. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  6391. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  6392. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  6393. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  6394. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  6395. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  6396. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  6397. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  6398. property w : TBits_32 read getw write setw;
  6399. end;
  6400. TINT_IPC7 = record
  6401. private
  6402. function getCMP2IP : TBits_3; inline;
  6403. function getCMP2IS : TBits_2; inline;
  6404. function getCMP3IP : TBits_3; inline;
  6405. function getCMP3IS : TBits_2; inline;
  6406. function getSPI1IP : TBits_3; inline;
  6407. function getSPI1IS : TBits_2; inline;
  6408. function getUSBIP : TBits_3; inline;
  6409. function getUSBIS : TBits_2; inline;
  6410. function getw : TBits_32; inline;
  6411. procedure setCMP2IP(thebits : TBits_3); inline;
  6412. procedure setCMP2IS(thebits : TBits_2); inline;
  6413. procedure setCMP3IP(thebits : TBits_3); inline;
  6414. procedure setCMP3IS(thebits : TBits_2); inline;
  6415. procedure setSPI1IP(thebits : TBits_3); inline;
  6416. procedure setSPI1IS(thebits : TBits_2); inline;
  6417. procedure setUSBIP(thebits : TBits_3); inline;
  6418. procedure setUSBIS(thebits : TBits_2); inline;
  6419. procedure setw(thebits : TBits_32); inline;
  6420. public
  6421. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  6422. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  6423. property CMP3IP : TBits_3 read getCMP3IP write setCMP3IP;
  6424. property CMP3IS : TBits_2 read getCMP3IS write setCMP3IS;
  6425. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  6426. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  6427. property USBIP : TBits_3 read getUSBIP write setUSBIP;
  6428. property USBIS : TBits_2 read getUSBIS write setUSBIS;
  6429. property w : TBits_32 read getw write setw;
  6430. end;
  6431. TINT_IPC8 = record
  6432. private
  6433. function getCNIP : TBits_3; inline;
  6434. function getCNIS : TBits_2; inline;
  6435. function getI2C1IP : TBits_3; inline;
  6436. function getI2C1IS : TBits_2; inline;
  6437. function getPMPIP : TBits_3; inline;
  6438. function getPMPIS : TBits_2; inline;
  6439. function getU1IP : TBits_3; inline;
  6440. function getU1IS : TBits_2; inline;
  6441. function getw : TBits_32; inline;
  6442. procedure setCNIP(thebits : TBits_3); inline;
  6443. procedure setCNIS(thebits : TBits_2); inline;
  6444. procedure setI2C1IP(thebits : TBits_3); inline;
  6445. procedure setI2C1IS(thebits : TBits_2); inline;
  6446. procedure setPMPIP(thebits : TBits_3); inline;
  6447. procedure setPMPIS(thebits : TBits_2); inline;
  6448. procedure setU1IP(thebits : TBits_3); inline;
  6449. procedure setU1IS(thebits : TBits_2); inline;
  6450. procedure setw(thebits : TBits_32); inline;
  6451. public
  6452. property CNIP : TBits_3 read getCNIP write setCNIP;
  6453. property CNIS : TBits_2 read getCNIS write setCNIS;
  6454. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  6455. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  6456. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  6457. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  6458. property U1IP : TBits_3 read getU1IP write setU1IP;
  6459. property U1IS : TBits_2 read getU1IS write setU1IS;
  6460. property w : TBits_32 read getw write setw;
  6461. end;
  6462. TINT_IPC9 = record
  6463. private
  6464. function getCTMUIP : TBits_3; inline;
  6465. function getCTMUIS : TBits_2; inline;
  6466. function getI2C2IP : TBits_3; inline;
  6467. function getI2C2IS : TBits_2; inline;
  6468. function getSPI2IP : TBits_3; inline;
  6469. function getSPI2IS : TBits_2; inline;
  6470. function getU2IP : TBits_3; inline;
  6471. function getU2IS : TBits_2; inline;
  6472. function getw : TBits_32; inline;
  6473. procedure setCTMUIP(thebits : TBits_3); inline;
  6474. procedure setCTMUIS(thebits : TBits_2); inline;
  6475. procedure setI2C2IP(thebits : TBits_3); inline;
  6476. procedure setI2C2IS(thebits : TBits_2); inline;
  6477. procedure setSPI2IP(thebits : TBits_3); inline;
  6478. procedure setSPI2IS(thebits : TBits_2); inline;
  6479. procedure setU2IP(thebits : TBits_3); inline;
  6480. procedure setU2IS(thebits : TBits_2); inline;
  6481. procedure setw(thebits : TBits_32); inline;
  6482. public
  6483. property CTMUIP : TBits_3 read getCTMUIP write setCTMUIP;
  6484. property CTMUIS : TBits_2 read getCTMUIS write setCTMUIS;
  6485. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  6486. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  6487. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  6488. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  6489. property U2IP : TBits_3 read getU2IP write setU2IP;
  6490. property U2IS : TBits_2 read getU2IS write setU2IS;
  6491. property w : TBits_32 read getw write setw;
  6492. end;
  6493. TINT_IPC10 = record
  6494. private
  6495. function getDMA0IP : TBits_3; inline;
  6496. function getDMA0IS : TBits_2; inline;
  6497. function getDMA1IP : TBits_3; inline;
  6498. function getDMA1IS : TBits_2; inline;
  6499. function getDMA2IP : TBits_3; inline;
  6500. function getDMA2IS : TBits_2; inline;
  6501. function getDMA3IP : TBits_3; inline;
  6502. function getDMA3IS : TBits_2; inline;
  6503. function getw : TBits_32; inline;
  6504. procedure setDMA0IP(thebits : TBits_3); inline;
  6505. procedure setDMA0IS(thebits : TBits_2); inline;
  6506. procedure setDMA1IP(thebits : TBits_3); inline;
  6507. procedure setDMA1IS(thebits : TBits_2); inline;
  6508. procedure setDMA2IP(thebits : TBits_3); inline;
  6509. procedure setDMA2IS(thebits : TBits_2); inline;
  6510. procedure setDMA3IP(thebits : TBits_3); inline;
  6511. procedure setDMA3IS(thebits : TBits_2); inline;
  6512. procedure setw(thebits : TBits_32); inline;
  6513. public
  6514. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  6515. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  6516. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  6517. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  6518. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  6519. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  6520. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  6521. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  6522. property w : TBits_32 read getw write setw;
  6523. end;
  6524. type
  6525. TINTRegisters = record
  6526. INTCONbits : TINT_INTCON;
  6527. INTCON : longWord;
  6528. INTCONCLR : longWord;
  6529. INTCONSET : longWord;
  6530. INTCONINV : longWord;
  6531. INTSTAT : longWord;
  6532. IPTMR : longWord;
  6533. IPTMRCLR : longWord;
  6534. IPTMRSET : longWord;
  6535. IPTMRINV : longWord;
  6536. IFS0bits : TINT_IFS0;
  6537. IFS0 : longWord;
  6538. IFS0CLR : longWord;
  6539. IFS0SET : longWord;
  6540. IFS0INV : longWord;
  6541. IFS1bits : TINT_IFS1;
  6542. IFS1 : longWord;
  6543. IFS1CLR : longWord;
  6544. IFS1SET : longWord;
  6545. IFS1INV : longWord;
  6546. IEC0bits : TINT_IEC0;
  6547. IEC0 : longWord;
  6548. IEC0CLR : longWord;
  6549. IEC0SET : longWord;
  6550. IEC0INV : longWord;
  6551. IEC1bits : TINT_IEC1;
  6552. IEC1 : longWord;
  6553. IEC1CLR : longWord;
  6554. IEC1SET : longWord;
  6555. IEC1INV : longWord;
  6556. IPC0bits : TINT_IPC0;
  6557. IPC0 : longWord;
  6558. IPC0CLR : longWord;
  6559. IPC0SET : longWord;
  6560. IPC0INV : longWord;
  6561. IPC1bits : TINT_IPC1;
  6562. IPC1 : longWord;
  6563. IPC1CLR : longWord;
  6564. IPC1SET : longWord;
  6565. IPC1INV : longWord;
  6566. IPC2bits : TINT_IPC2;
  6567. IPC2 : longWord;
  6568. IPC2CLR : longWord;
  6569. IPC2SET : longWord;
  6570. IPC2INV : longWord;
  6571. IPC3bits : TINT_IPC3;
  6572. IPC3 : longWord;
  6573. IPC3CLR : longWord;
  6574. IPC3SET : longWord;
  6575. IPC3INV : longWord;
  6576. IPC4bits : TINT_IPC4;
  6577. IPC4 : longWord;
  6578. IPC4CLR : longWord;
  6579. IPC4SET : longWord;
  6580. IPC4INV : longWord;
  6581. IPC5bits : TINT_IPC5;
  6582. IPC5 : longWord;
  6583. IPC5CLR : longWord;
  6584. IPC5SET : longWord;
  6585. IPC5INV : longWord;
  6586. IPC6bits : TINT_IPC6;
  6587. IPC6 : longWord;
  6588. IPC6CLR : longWord;
  6589. IPC6SET : longWord;
  6590. IPC6INV : longWord;
  6591. IPC7bits : TINT_IPC7;
  6592. IPC7 : longWord;
  6593. IPC7CLR : longWord;
  6594. IPC7SET : longWord;
  6595. IPC7INV : longWord;
  6596. IPC8bits : TINT_IPC8;
  6597. IPC8 : longWord;
  6598. IPC8CLR : longWord;
  6599. IPC8SET : longWord;
  6600. IPC8INV : longWord;
  6601. IPC9bits : TINT_IPC9;
  6602. IPC9 : longWord;
  6603. IPC9CLR : longWord;
  6604. IPC9SET : longWord;
  6605. IPC9INV : longWord;
  6606. IPC10bits : TINT_IPC10;
  6607. IPC10 : longWord;
  6608. IPC10CLR : longWord;
  6609. IPC10SET : longWord;
  6610. IPC10INV : longWord;
  6611. end;
  6612. TBMX_BMXCON = record
  6613. private
  6614. function getBMXARB : TBits_3; inline;
  6615. function getBMXCHEDMA : TBits_1; inline;
  6616. function getBMXERRDMA : TBits_1; inline;
  6617. function getBMXERRDS : TBits_1; inline;
  6618. function getBMXERRICD : TBits_1; inline;
  6619. function getBMXERRIS : TBits_1; inline;
  6620. function getBMXERRIXI : TBits_1; inline;
  6621. function getBMXWSDRM : TBits_1; inline;
  6622. function getw : TBits_32; inline;
  6623. procedure setBMXARB(thebits : TBits_3); inline;
  6624. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  6625. procedure setBMXERRDMA(thebits : TBits_1); inline;
  6626. procedure setBMXERRDS(thebits : TBits_1); inline;
  6627. procedure setBMXERRICD(thebits : TBits_1); inline;
  6628. procedure setBMXERRIS(thebits : TBits_1); inline;
  6629. procedure setBMXERRIXI(thebits : TBits_1); inline;
  6630. procedure setBMXWSDRM(thebits : TBits_1); inline;
  6631. procedure setw(thebits : TBits_32); inline;
  6632. public
  6633. procedure clearBMXCHEDMA; inline;
  6634. procedure clearBMXERRDMA; inline;
  6635. procedure clearBMXERRDS; inline;
  6636. procedure clearBMXERRICD; inline;
  6637. procedure clearBMXERRIS; inline;
  6638. procedure clearBMXERRIXI; inline;
  6639. procedure clearBMXWSDRM; inline;
  6640. procedure setBMXCHEDMA; inline;
  6641. procedure setBMXERRDMA; inline;
  6642. procedure setBMXERRDS; inline;
  6643. procedure setBMXERRICD; inline;
  6644. procedure setBMXERRIS; inline;
  6645. procedure setBMXERRIXI; inline;
  6646. procedure setBMXWSDRM; inline;
  6647. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  6648. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  6649. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  6650. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  6651. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  6652. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  6653. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  6654. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  6655. property w : TBits_32 read getw write setw;
  6656. end;
  6657. type
  6658. TBMXRegisters = record
  6659. BMXCONbits : TBMX_BMXCON;
  6660. BMXCON : longWord;
  6661. BMXCONCLR : longWord;
  6662. BMXCONSET : longWord;
  6663. BMXCONINV : longWord;
  6664. BMXDKPBA : longWord;
  6665. BMXDKPBACLR : longWord;
  6666. BMXDKPBASET : longWord;
  6667. BMXDKPBAINV : longWord;
  6668. BMXDUDBA : longWord;
  6669. BMXDUDBACLR : longWord;
  6670. BMXDUDBASET : longWord;
  6671. BMXDUDBAINV : longWord;
  6672. BMXDUPBA : longWord;
  6673. BMXDUPBACLR : longWord;
  6674. BMXDUPBASET : longWord;
  6675. BMXDUPBAINV : longWord;
  6676. BMXDRMSZ : longWord;
  6677. BMXPUPBA : longWord;
  6678. BMXPUPBACLR : longWord;
  6679. BMXPUPBASET : longWord;
  6680. BMXPUPBAINV : longWord;
  6681. BMXPFMSZ : longWord;
  6682. BMXBOOTSZ : longWord;
  6683. end;
  6684. TDMAC_DMACON = record
  6685. private
  6686. function getDMABUSY : TBits_1; inline;
  6687. function getON : TBits_1; inline;
  6688. function getSUSPEND : TBits_1; inline;
  6689. function getw : TBits_32; inline;
  6690. procedure setDMABUSY(thebits : TBits_1); inline;
  6691. procedure setON(thebits : TBits_1); inline;
  6692. procedure setSUSPEND(thebits : TBits_1); inline;
  6693. procedure setw(thebits : TBits_32); inline;
  6694. public
  6695. procedure clearDMABUSY; inline;
  6696. procedure clearON; inline;
  6697. procedure clearSUSPEND; inline;
  6698. procedure setDMABUSY; inline;
  6699. procedure setON; inline;
  6700. procedure setSUSPEND; inline;
  6701. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  6702. property ON : TBits_1 read getON write setON;
  6703. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  6704. property w : TBits_32 read getw write setw;
  6705. end;
  6706. TDMAC_DMASTAT = record
  6707. private
  6708. function getDMACH : TBits_3; inline;
  6709. function getRDWR : TBits_1; inline;
  6710. function getw : TBits_32; inline;
  6711. procedure setDMACH(thebits : TBits_3); inline;
  6712. procedure setRDWR(thebits : TBits_1); inline;
  6713. procedure setw(thebits : TBits_32); inline;
  6714. public
  6715. procedure clearRDWR; inline;
  6716. procedure setRDWR; inline;
  6717. property DMACH : TBits_3 read getDMACH write setDMACH;
  6718. property RDWR : TBits_1 read getRDWR write setRDWR;
  6719. property w : TBits_32 read getw write setw;
  6720. end;
  6721. TDMAC_DCRCCON = record
  6722. private
  6723. function getBITO : TBits_1; inline;
  6724. function getBYTO : TBits_2; inline;
  6725. function getCRCAPP : TBits_1; inline;
  6726. function getCRCCH : TBits_3; inline;
  6727. function getCRCEN : TBits_1; inline;
  6728. function getCRCTYP : TBits_1; inline;
  6729. function getPLEN : TBits_5; inline;
  6730. function getWBO : TBits_1; inline;
  6731. function getw : TBits_32; inline;
  6732. procedure setBITO(thebits : TBits_1); inline;
  6733. procedure setBYTO(thebits : TBits_2); inline;
  6734. procedure setCRCAPP(thebits : TBits_1); inline;
  6735. procedure setCRCCH(thebits : TBits_3); inline;
  6736. procedure setCRCEN(thebits : TBits_1); inline;
  6737. procedure setCRCTYP(thebits : TBits_1); inline;
  6738. procedure setPLEN(thebits : TBits_5); inline;
  6739. procedure setWBO(thebits : TBits_1); inline;
  6740. procedure setw(thebits : TBits_32); inline;
  6741. public
  6742. procedure clearBITO; inline;
  6743. procedure clearCRCAPP; inline;
  6744. procedure clearCRCEN; inline;
  6745. procedure clearCRCTYP; inline;
  6746. procedure clearWBO; inline;
  6747. procedure setBITO; inline;
  6748. procedure setCRCAPP; inline;
  6749. procedure setCRCEN; inline;
  6750. procedure setCRCTYP; inline;
  6751. procedure setWBO; inline;
  6752. property BITO : TBits_1 read getBITO write setBITO;
  6753. property BYTO : TBits_2 read getBYTO write setBYTO;
  6754. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  6755. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  6756. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  6757. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  6758. property PLEN : TBits_5 read getPLEN write setPLEN;
  6759. property WBO : TBits_1 read getWBO write setWBO;
  6760. property w : TBits_32 read getw write setw;
  6761. end;
  6762. type
  6763. TDMACRegisters = record
  6764. DMACONbits : TDMAC_DMACON;
  6765. DMACON : longWord;
  6766. DMACONCLR : longWord;
  6767. DMACONSET : longWord;
  6768. DMACONINV : longWord;
  6769. DMASTATbits : TDMAC_DMASTAT;
  6770. DMASTAT : longWord;
  6771. DMASTATCLR : longWord;
  6772. DMASTATSET : longWord;
  6773. DMASTATINV : longWord;
  6774. DMAADDR : longWord;
  6775. DMAADDRCLR : longWord;
  6776. DMAADDRSET : longWord;
  6777. DMAADDRINV : longWord;
  6778. DCRCCONbits : TDMAC_DCRCCON;
  6779. DCRCCON : longWord;
  6780. DCRCCONCLR : longWord;
  6781. DCRCCONSET : longWord;
  6782. DCRCCONINV : longWord;
  6783. DCRCDATA : longWord;
  6784. DCRCDATACLR : longWord;
  6785. DCRCDATASET : longWord;
  6786. DCRCDATAINV : longWord;
  6787. DCRCXOR : longWord;
  6788. DCRCXORCLR : longWord;
  6789. DCRCXORSET : longWord;
  6790. DCRCXORINV : longWord;
  6791. end;
  6792. TDMAC0_DCH0CON = record
  6793. private
  6794. function getCHAED : TBits_1; inline;
  6795. function getCHAEN : TBits_1; inline;
  6796. function getCHBUSY : TBits_1; inline;
  6797. function getCHCHN : TBits_1; inline;
  6798. function getCHCHNS : TBits_1; inline;
  6799. function getCHEDET : TBits_1; inline;
  6800. function getCHEN : TBits_1; inline;
  6801. function getCHPRI : TBits_2; inline;
  6802. function getw : TBits_32; inline;
  6803. procedure setCHAED(thebits : TBits_1); inline;
  6804. procedure setCHAEN(thebits : TBits_1); inline;
  6805. procedure setCHBUSY(thebits : TBits_1); inline;
  6806. procedure setCHCHN(thebits : TBits_1); inline;
  6807. procedure setCHCHNS(thebits : TBits_1); inline;
  6808. procedure setCHEDET(thebits : TBits_1); inline;
  6809. procedure setCHEN(thebits : TBits_1); inline;
  6810. procedure setCHPRI(thebits : TBits_2); inline;
  6811. procedure setw(thebits : TBits_32); inline;
  6812. public
  6813. procedure clearCHAED; inline;
  6814. procedure clearCHAEN; inline;
  6815. procedure clearCHBUSY; inline;
  6816. procedure clearCHCHN; inline;
  6817. procedure clearCHCHNS; inline;
  6818. procedure clearCHEDET; inline;
  6819. procedure clearCHEN; inline;
  6820. procedure setCHAED; inline;
  6821. procedure setCHAEN; inline;
  6822. procedure setCHBUSY; inline;
  6823. procedure setCHCHN; inline;
  6824. procedure setCHCHNS; inline;
  6825. procedure setCHEDET; inline;
  6826. procedure setCHEN; inline;
  6827. property CHAED : TBits_1 read getCHAED write setCHAED;
  6828. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  6829. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  6830. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  6831. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  6832. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  6833. property CHEN : TBits_1 read getCHEN write setCHEN;
  6834. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  6835. property w : TBits_32 read getw write setw;
  6836. end;
  6837. TDMAC0_DCH0ECON = record
  6838. private
  6839. function getAIRQEN : TBits_1; inline;
  6840. function getCABORT : TBits_1; inline;
  6841. function getCFORCE : TBits_1; inline;
  6842. function getCHAIRQ : TBits_8; inline;
  6843. function getCHSIRQ : TBits_8; inline;
  6844. function getPATEN : TBits_1; inline;
  6845. function getSIRQEN : TBits_1; inline;
  6846. function getw : TBits_32; inline;
  6847. procedure setAIRQEN(thebits : TBits_1); inline;
  6848. procedure setCABORT(thebits : TBits_1); inline;
  6849. procedure setCFORCE(thebits : TBits_1); inline;
  6850. procedure setCHAIRQ(thebits : TBits_8); inline;
  6851. procedure setCHSIRQ(thebits : TBits_8); inline;
  6852. procedure setPATEN(thebits : TBits_1); inline;
  6853. procedure setSIRQEN(thebits : TBits_1); inline;
  6854. procedure setw(thebits : TBits_32); inline;
  6855. public
  6856. procedure clearAIRQEN; inline;
  6857. procedure clearCABORT; inline;
  6858. procedure clearCFORCE; inline;
  6859. procedure clearPATEN; inline;
  6860. procedure clearSIRQEN; inline;
  6861. procedure setAIRQEN; inline;
  6862. procedure setCABORT; inline;
  6863. procedure setCFORCE; inline;
  6864. procedure setPATEN; inline;
  6865. procedure setSIRQEN; inline;
  6866. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  6867. property CABORT : TBits_1 read getCABORT write setCABORT;
  6868. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  6869. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  6870. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  6871. property PATEN : TBits_1 read getPATEN write setPATEN;
  6872. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  6873. property w : TBits_32 read getw write setw;
  6874. end;
  6875. TDMAC0_DCH0INT = record
  6876. private
  6877. function getCHBCIE : TBits_1; inline;
  6878. function getCHBCIF : TBits_1; inline;
  6879. function getCHCCIE : TBits_1; inline;
  6880. function getCHCCIF : TBits_1; inline;
  6881. function getCHDDIE : TBits_1; inline;
  6882. function getCHDDIF : TBits_1; inline;
  6883. function getCHDHIE : TBits_1; inline;
  6884. function getCHDHIF : TBits_1; inline;
  6885. function getCHERIE : TBits_1; inline;
  6886. function getCHERIF : TBits_1; inline;
  6887. function getCHSDIE : TBits_1; inline;
  6888. function getCHSDIF : TBits_1; inline;
  6889. function getCHSHIE : TBits_1; inline;
  6890. function getCHSHIF : TBits_1; inline;
  6891. function getCHTAIE : TBits_1; inline;
  6892. function getCHTAIF : TBits_1; inline;
  6893. function getw : TBits_32; inline;
  6894. procedure setCHBCIE(thebits : TBits_1); inline;
  6895. procedure setCHBCIF(thebits : TBits_1); inline;
  6896. procedure setCHCCIE(thebits : TBits_1); inline;
  6897. procedure setCHCCIF(thebits : TBits_1); inline;
  6898. procedure setCHDDIE(thebits : TBits_1); inline;
  6899. procedure setCHDDIF(thebits : TBits_1); inline;
  6900. procedure setCHDHIE(thebits : TBits_1); inline;
  6901. procedure setCHDHIF(thebits : TBits_1); inline;
  6902. procedure setCHERIE(thebits : TBits_1); inline;
  6903. procedure setCHERIF(thebits : TBits_1); inline;
  6904. procedure setCHSDIE(thebits : TBits_1); inline;
  6905. procedure setCHSDIF(thebits : TBits_1); inline;
  6906. procedure setCHSHIE(thebits : TBits_1); inline;
  6907. procedure setCHSHIF(thebits : TBits_1); inline;
  6908. procedure setCHTAIE(thebits : TBits_1); inline;
  6909. procedure setCHTAIF(thebits : TBits_1); inline;
  6910. procedure setw(thebits : TBits_32); inline;
  6911. public
  6912. procedure clearCHBCIE; inline;
  6913. procedure clearCHBCIF; inline;
  6914. procedure clearCHCCIE; inline;
  6915. procedure clearCHCCIF; inline;
  6916. procedure clearCHDDIE; inline;
  6917. procedure clearCHDDIF; inline;
  6918. procedure clearCHDHIE; inline;
  6919. procedure clearCHDHIF; inline;
  6920. procedure clearCHERIE; inline;
  6921. procedure clearCHERIF; inline;
  6922. procedure clearCHSDIE; inline;
  6923. procedure clearCHSDIF; inline;
  6924. procedure clearCHSHIE; inline;
  6925. procedure clearCHSHIF; inline;
  6926. procedure clearCHTAIE; inline;
  6927. procedure clearCHTAIF; inline;
  6928. procedure setCHBCIE; inline;
  6929. procedure setCHBCIF; inline;
  6930. procedure setCHCCIE; inline;
  6931. procedure setCHCCIF; inline;
  6932. procedure setCHDDIE; inline;
  6933. procedure setCHDDIF; inline;
  6934. procedure setCHDHIE; inline;
  6935. procedure setCHDHIF; inline;
  6936. procedure setCHERIE; inline;
  6937. procedure setCHERIF; inline;
  6938. procedure setCHSDIE; inline;
  6939. procedure setCHSDIF; inline;
  6940. procedure setCHSHIE; inline;
  6941. procedure setCHSHIF; inline;
  6942. procedure setCHTAIE; inline;
  6943. procedure setCHTAIF; inline;
  6944. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  6945. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  6946. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  6947. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  6948. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  6949. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  6950. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  6951. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  6952. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  6953. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  6954. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  6955. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  6956. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  6957. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  6958. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  6959. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  6960. property w : TBits_32 read getw write setw;
  6961. end;
  6962. type
  6963. TDMAC0Registers = record
  6964. DCH0CONbits : TDMAC0_DCH0CON;
  6965. DCH0CON : longWord;
  6966. DCH0CONCLR : longWord;
  6967. DCH0CONSET : longWord;
  6968. DCH0CONINV : longWord;
  6969. DCH0ECONbits : TDMAC0_DCH0ECON;
  6970. DCH0ECON : longWord;
  6971. DCH0ECONCLR : longWord;
  6972. DCH0ECONSET : longWord;
  6973. DCH0ECONINV : longWord;
  6974. DCH0INTbits : TDMAC0_DCH0INT;
  6975. DCH0INT : longWord;
  6976. DCH0INTCLR : longWord;
  6977. DCH0INTSET : longWord;
  6978. DCH0INTINV : longWord;
  6979. DCH0SSA : longWord;
  6980. DCH0SSACLR : longWord;
  6981. DCH0SSASET : longWord;
  6982. DCH0SSAINV : longWord;
  6983. DCH0DSA : longWord;
  6984. DCH0DSACLR : longWord;
  6985. DCH0DSASET : longWord;
  6986. DCH0DSAINV : longWord;
  6987. DCH0SSIZ : longWord;
  6988. DCH0SSIZCLR : longWord;
  6989. DCH0SSIZSET : longWord;
  6990. DCH0SSIZINV : longWord;
  6991. DCH0DSIZ : longWord;
  6992. DCH0DSIZCLR : longWord;
  6993. DCH0DSIZSET : longWord;
  6994. DCH0DSIZINV : longWord;
  6995. DCH0SPTR : longWord;
  6996. DCH0SPTRCLR : longWord;
  6997. DCH0SPTRSET : longWord;
  6998. DCH0SPTRINV : longWord;
  6999. DCH0DPTR : longWord;
  7000. DCH0DPTRCLR : longWord;
  7001. DCH0DPTRSET : longWord;
  7002. DCH0DPTRINV : longWord;
  7003. DCH0CSIZ : longWord;
  7004. DCH0CSIZCLR : longWord;
  7005. DCH0CSIZSET : longWord;
  7006. DCH0CSIZINV : longWord;
  7007. DCH0CPTR : longWord;
  7008. DCH0CPTRCLR : longWord;
  7009. DCH0CPTRSET : longWord;
  7010. DCH0CPTRINV : longWord;
  7011. DCH0DAT : longWord;
  7012. DCH0DATCLR : longWord;
  7013. DCH0DATSET : longWord;
  7014. DCH0DATINV : longWord;
  7015. end;
  7016. TDMAC1_DCH1CON = record
  7017. private
  7018. function getCHAED : TBits_1; inline;
  7019. function getCHAEN : TBits_1; inline;
  7020. function getCHBUSY : TBits_1; inline;
  7021. function getCHCHN : TBits_1; inline;
  7022. function getCHCHNS : TBits_1; inline;
  7023. function getCHEDET : TBits_1; inline;
  7024. function getCHEN : TBits_1; inline;
  7025. function getCHPRI : TBits_2; inline;
  7026. function getw : TBits_32; inline;
  7027. procedure setCHAED(thebits : TBits_1); inline;
  7028. procedure setCHAEN(thebits : TBits_1); inline;
  7029. procedure setCHBUSY(thebits : TBits_1); inline;
  7030. procedure setCHCHN(thebits : TBits_1); inline;
  7031. procedure setCHCHNS(thebits : TBits_1); inline;
  7032. procedure setCHEDET(thebits : TBits_1); inline;
  7033. procedure setCHEN(thebits : TBits_1); inline;
  7034. procedure setCHPRI(thebits : TBits_2); inline;
  7035. procedure setw(thebits : TBits_32); inline;
  7036. public
  7037. procedure clearCHAED; inline;
  7038. procedure clearCHAEN; inline;
  7039. procedure clearCHBUSY; inline;
  7040. procedure clearCHCHN; inline;
  7041. procedure clearCHCHNS; inline;
  7042. procedure clearCHEDET; inline;
  7043. procedure clearCHEN; inline;
  7044. procedure setCHAED; inline;
  7045. procedure setCHAEN; inline;
  7046. procedure setCHBUSY; inline;
  7047. procedure setCHCHN; inline;
  7048. procedure setCHCHNS; inline;
  7049. procedure setCHEDET; inline;
  7050. procedure setCHEN; inline;
  7051. property CHAED : TBits_1 read getCHAED write setCHAED;
  7052. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7053. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7054. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7055. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7056. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7057. property CHEN : TBits_1 read getCHEN write setCHEN;
  7058. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7059. property w : TBits_32 read getw write setw;
  7060. end;
  7061. TDMAC1_DCH1ECON = record
  7062. private
  7063. function getAIRQEN : TBits_1; inline;
  7064. function getCABORT : TBits_1; inline;
  7065. function getCFORCE : TBits_1; inline;
  7066. function getCHAIRQ : TBits_8; inline;
  7067. function getCHSIRQ : TBits_8; inline;
  7068. function getPATEN : TBits_1; inline;
  7069. function getSIRQEN : TBits_1; inline;
  7070. function getw : TBits_32; inline;
  7071. procedure setAIRQEN(thebits : TBits_1); inline;
  7072. procedure setCABORT(thebits : TBits_1); inline;
  7073. procedure setCFORCE(thebits : TBits_1); inline;
  7074. procedure setCHAIRQ(thebits : TBits_8); inline;
  7075. procedure setCHSIRQ(thebits : TBits_8); inline;
  7076. procedure setPATEN(thebits : TBits_1); inline;
  7077. procedure setSIRQEN(thebits : TBits_1); inline;
  7078. procedure setw(thebits : TBits_32); inline;
  7079. public
  7080. procedure clearAIRQEN; inline;
  7081. procedure clearCABORT; inline;
  7082. procedure clearCFORCE; inline;
  7083. procedure clearPATEN; inline;
  7084. procedure clearSIRQEN; inline;
  7085. procedure setAIRQEN; inline;
  7086. procedure setCABORT; inline;
  7087. procedure setCFORCE; inline;
  7088. procedure setPATEN; inline;
  7089. procedure setSIRQEN; inline;
  7090. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7091. property CABORT : TBits_1 read getCABORT write setCABORT;
  7092. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7093. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7094. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7095. property PATEN : TBits_1 read getPATEN write setPATEN;
  7096. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7097. property w : TBits_32 read getw write setw;
  7098. end;
  7099. TDMAC1_DCH1INT = record
  7100. private
  7101. function getCHBCIE : TBits_1; inline;
  7102. function getCHBCIF : TBits_1; inline;
  7103. function getCHCCIE : TBits_1; inline;
  7104. function getCHCCIF : TBits_1; inline;
  7105. function getCHDDIE : TBits_1; inline;
  7106. function getCHDDIF : TBits_1; inline;
  7107. function getCHDHIE : TBits_1; inline;
  7108. function getCHDHIF : TBits_1; inline;
  7109. function getCHERIE : TBits_1; inline;
  7110. function getCHERIF : TBits_1; inline;
  7111. function getCHSDIE : TBits_1; inline;
  7112. function getCHSDIF : TBits_1; inline;
  7113. function getCHSHIE : TBits_1; inline;
  7114. function getCHSHIF : TBits_1; inline;
  7115. function getCHTAIE : TBits_1; inline;
  7116. function getCHTAIF : TBits_1; inline;
  7117. function getw : TBits_32; inline;
  7118. procedure setCHBCIE(thebits : TBits_1); inline;
  7119. procedure setCHBCIF(thebits : TBits_1); inline;
  7120. procedure setCHCCIE(thebits : TBits_1); inline;
  7121. procedure setCHCCIF(thebits : TBits_1); inline;
  7122. procedure setCHDDIE(thebits : TBits_1); inline;
  7123. procedure setCHDDIF(thebits : TBits_1); inline;
  7124. procedure setCHDHIE(thebits : TBits_1); inline;
  7125. procedure setCHDHIF(thebits : TBits_1); inline;
  7126. procedure setCHERIE(thebits : TBits_1); inline;
  7127. procedure setCHERIF(thebits : TBits_1); inline;
  7128. procedure setCHSDIE(thebits : TBits_1); inline;
  7129. procedure setCHSDIF(thebits : TBits_1); inline;
  7130. procedure setCHSHIE(thebits : TBits_1); inline;
  7131. procedure setCHSHIF(thebits : TBits_1); inline;
  7132. procedure setCHTAIE(thebits : TBits_1); inline;
  7133. procedure setCHTAIF(thebits : TBits_1); inline;
  7134. procedure setw(thebits : TBits_32); inline;
  7135. public
  7136. procedure clearCHBCIE; inline;
  7137. procedure clearCHBCIF; inline;
  7138. procedure clearCHCCIE; inline;
  7139. procedure clearCHCCIF; inline;
  7140. procedure clearCHDDIE; inline;
  7141. procedure clearCHDDIF; inline;
  7142. procedure clearCHDHIE; inline;
  7143. procedure clearCHDHIF; inline;
  7144. procedure clearCHERIE; inline;
  7145. procedure clearCHERIF; inline;
  7146. procedure clearCHSDIE; inline;
  7147. procedure clearCHSDIF; inline;
  7148. procedure clearCHSHIE; inline;
  7149. procedure clearCHSHIF; inline;
  7150. procedure clearCHTAIE; inline;
  7151. procedure clearCHTAIF; inline;
  7152. procedure setCHBCIE; inline;
  7153. procedure setCHBCIF; inline;
  7154. procedure setCHCCIE; inline;
  7155. procedure setCHCCIF; inline;
  7156. procedure setCHDDIE; inline;
  7157. procedure setCHDDIF; inline;
  7158. procedure setCHDHIE; inline;
  7159. procedure setCHDHIF; inline;
  7160. procedure setCHERIE; inline;
  7161. procedure setCHERIF; inline;
  7162. procedure setCHSDIE; inline;
  7163. procedure setCHSDIF; inline;
  7164. procedure setCHSHIE; inline;
  7165. procedure setCHSHIF; inline;
  7166. procedure setCHTAIE; inline;
  7167. procedure setCHTAIF; inline;
  7168. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7169. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7170. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7171. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7172. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7173. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7174. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7175. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7176. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7177. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7178. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7179. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7180. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7181. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7182. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7183. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7184. property w : TBits_32 read getw write setw;
  7185. end;
  7186. type
  7187. TDMAC1Registers = record
  7188. DCH1CONbits : TDMAC1_DCH1CON;
  7189. DCH1CON : longWord;
  7190. DCH1CONCLR : longWord;
  7191. DCH1CONSET : longWord;
  7192. DCH1CONINV : longWord;
  7193. DCH1ECONbits : TDMAC1_DCH1ECON;
  7194. DCH1ECON : longWord;
  7195. DCH1ECONCLR : longWord;
  7196. DCH1ECONSET : longWord;
  7197. DCH1ECONINV : longWord;
  7198. DCH1INTbits : TDMAC1_DCH1INT;
  7199. DCH1INT : longWord;
  7200. DCH1INTCLR : longWord;
  7201. DCH1INTSET : longWord;
  7202. DCH1INTINV : longWord;
  7203. DCH1SSA : longWord;
  7204. DCH1SSACLR : longWord;
  7205. DCH1SSASET : longWord;
  7206. DCH1SSAINV : longWord;
  7207. DCH1DSA : longWord;
  7208. DCH1DSACLR : longWord;
  7209. DCH1DSASET : longWord;
  7210. DCH1DSAINV : longWord;
  7211. DCH1SSIZ : longWord;
  7212. DCH1SSIZCLR : longWord;
  7213. DCH1SSIZSET : longWord;
  7214. DCH1SSIZINV : longWord;
  7215. DCH1DSIZ : longWord;
  7216. DCH1DSIZCLR : longWord;
  7217. DCH1DSIZSET : longWord;
  7218. DCH1DSIZINV : longWord;
  7219. DCH1SPTR : longWord;
  7220. DCH1SPTRCLR : longWord;
  7221. DCH1SPTRSET : longWord;
  7222. DCH1SPTRINV : longWord;
  7223. DCH1DPTR : longWord;
  7224. DCH1DPTRCLR : longWord;
  7225. DCH1DPTRSET : longWord;
  7226. DCH1DPTRINV : longWord;
  7227. DCH1CSIZ : longWord;
  7228. DCH1CSIZCLR : longWord;
  7229. DCH1CSIZSET : longWord;
  7230. DCH1CSIZINV : longWord;
  7231. DCH1CPTR : longWord;
  7232. DCH1CPTRCLR : longWord;
  7233. DCH1CPTRSET : longWord;
  7234. DCH1CPTRINV : longWord;
  7235. DCH1DAT : longWord;
  7236. DCH1DATCLR : longWord;
  7237. DCH1DATSET : longWord;
  7238. DCH1DATINV : longWord;
  7239. end;
  7240. TDMAC2_DCH2CON = record
  7241. private
  7242. function getCHAED : TBits_1; inline;
  7243. function getCHAEN : TBits_1; inline;
  7244. function getCHBUSY : TBits_1; inline;
  7245. function getCHCHN : TBits_1; inline;
  7246. function getCHCHNS : TBits_1; inline;
  7247. function getCHEDET : TBits_1; inline;
  7248. function getCHEN : TBits_1; inline;
  7249. function getCHPRI : TBits_2; inline;
  7250. function getw : TBits_32; inline;
  7251. procedure setCHAED(thebits : TBits_1); inline;
  7252. procedure setCHAEN(thebits : TBits_1); inline;
  7253. procedure setCHBUSY(thebits : TBits_1); inline;
  7254. procedure setCHCHN(thebits : TBits_1); inline;
  7255. procedure setCHCHNS(thebits : TBits_1); inline;
  7256. procedure setCHEDET(thebits : TBits_1); inline;
  7257. procedure setCHEN(thebits : TBits_1); inline;
  7258. procedure setCHPRI(thebits : TBits_2); inline;
  7259. procedure setw(thebits : TBits_32); inline;
  7260. public
  7261. procedure clearCHAED; inline;
  7262. procedure clearCHAEN; inline;
  7263. procedure clearCHBUSY; inline;
  7264. procedure clearCHCHN; inline;
  7265. procedure clearCHCHNS; inline;
  7266. procedure clearCHEDET; inline;
  7267. procedure clearCHEN; inline;
  7268. procedure setCHAED; inline;
  7269. procedure setCHAEN; inline;
  7270. procedure setCHBUSY; inline;
  7271. procedure setCHCHN; inline;
  7272. procedure setCHCHNS; inline;
  7273. procedure setCHEDET; inline;
  7274. procedure setCHEN; inline;
  7275. property CHAED : TBits_1 read getCHAED write setCHAED;
  7276. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7277. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7278. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7279. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7280. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7281. property CHEN : TBits_1 read getCHEN write setCHEN;
  7282. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7283. property w : TBits_32 read getw write setw;
  7284. end;
  7285. TDMAC2_DCH2ECON = record
  7286. private
  7287. function getAIRQEN : TBits_1; inline;
  7288. function getCABORT : TBits_1; inline;
  7289. function getCFORCE : TBits_1; inline;
  7290. function getCHAIRQ : TBits_8; inline;
  7291. function getCHSIRQ : TBits_8; inline;
  7292. function getPATEN : TBits_1; inline;
  7293. function getSIRQEN : TBits_1; inline;
  7294. function getw : TBits_32; inline;
  7295. procedure setAIRQEN(thebits : TBits_1); inline;
  7296. procedure setCABORT(thebits : TBits_1); inline;
  7297. procedure setCFORCE(thebits : TBits_1); inline;
  7298. procedure setCHAIRQ(thebits : TBits_8); inline;
  7299. procedure setCHSIRQ(thebits : TBits_8); inline;
  7300. procedure setPATEN(thebits : TBits_1); inline;
  7301. procedure setSIRQEN(thebits : TBits_1); inline;
  7302. procedure setw(thebits : TBits_32); inline;
  7303. public
  7304. procedure clearAIRQEN; inline;
  7305. procedure clearCABORT; inline;
  7306. procedure clearCFORCE; inline;
  7307. procedure clearPATEN; inline;
  7308. procedure clearSIRQEN; inline;
  7309. procedure setAIRQEN; inline;
  7310. procedure setCABORT; inline;
  7311. procedure setCFORCE; inline;
  7312. procedure setPATEN; inline;
  7313. procedure setSIRQEN; inline;
  7314. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7315. property CABORT : TBits_1 read getCABORT write setCABORT;
  7316. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7317. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7318. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7319. property PATEN : TBits_1 read getPATEN write setPATEN;
  7320. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7321. property w : TBits_32 read getw write setw;
  7322. end;
  7323. TDMAC2_DCH2INT = record
  7324. private
  7325. function getCHBCIE : TBits_1; inline;
  7326. function getCHBCIF : TBits_1; inline;
  7327. function getCHCCIE : TBits_1; inline;
  7328. function getCHCCIF : TBits_1; inline;
  7329. function getCHDDIE : TBits_1; inline;
  7330. function getCHDDIF : TBits_1; inline;
  7331. function getCHDHIE : TBits_1; inline;
  7332. function getCHDHIF : TBits_1; inline;
  7333. function getCHERIE : TBits_1; inline;
  7334. function getCHERIF : TBits_1; inline;
  7335. function getCHSDIE : TBits_1; inline;
  7336. function getCHSDIF : TBits_1; inline;
  7337. function getCHSHIE : TBits_1; inline;
  7338. function getCHSHIF : TBits_1; inline;
  7339. function getCHTAIE : TBits_1; inline;
  7340. function getCHTAIF : TBits_1; inline;
  7341. function getw : TBits_32; inline;
  7342. procedure setCHBCIE(thebits : TBits_1); inline;
  7343. procedure setCHBCIF(thebits : TBits_1); inline;
  7344. procedure setCHCCIE(thebits : TBits_1); inline;
  7345. procedure setCHCCIF(thebits : TBits_1); inline;
  7346. procedure setCHDDIE(thebits : TBits_1); inline;
  7347. procedure setCHDDIF(thebits : TBits_1); inline;
  7348. procedure setCHDHIE(thebits : TBits_1); inline;
  7349. procedure setCHDHIF(thebits : TBits_1); inline;
  7350. procedure setCHERIE(thebits : TBits_1); inline;
  7351. procedure setCHERIF(thebits : TBits_1); inline;
  7352. procedure setCHSDIE(thebits : TBits_1); inline;
  7353. procedure setCHSDIF(thebits : TBits_1); inline;
  7354. procedure setCHSHIE(thebits : TBits_1); inline;
  7355. procedure setCHSHIF(thebits : TBits_1); inline;
  7356. procedure setCHTAIE(thebits : TBits_1); inline;
  7357. procedure setCHTAIF(thebits : TBits_1); inline;
  7358. procedure setw(thebits : TBits_32); inline;
  7359. public
  7360. procedure clearCHBCIE; inline;
  7361. procedure clearCHBCIF; inline;
  7362. procedure clearCHCCIE; inline;
  7363. procedure clearCHCCIF; inline;
  7364. procedure clearCHDDIE; inline;
  7365. procedure clearCHDDIF; inline;
  7366. procedure clearCHDHIE; inline;
  7367. procedure clearCHDHIF; inline;
  7368. procedure clearCHERIE; inline;
  7369. procedure clearCHERIF; inline;
  7370. procedure clearCHSDIE; inline;
  7371. procedure clearCHSDIF; inline;
  7372. procedure clearCHSHIE; inline;
  7373. procedure clearCHSHIF; inline;
  7374. procedure clearCHTAIE; inline;
  7375. procedure clearCHTAIF; inline;
  7376. procedure setCHBCIE; inline;
  7377. procedure setCHBCIF; inline;
  7378. procedure setCHCCIE; inline;
  7379. procedure setCHCCIF; inline;
  7380. procedure setCHDDIE; inline;
  7381. procedure setCHDDIF; inline;
  7382. procedure setCHDHIE; inline;
  7383. procedure setCHDHIF; inline;
  7384. procedure setCHERIE; inline;
  7385. procedure setCHERIF; inline;
  7386. procedure setCHSDIE; inline;
  7387. procedure setCHSDIF; inline;
  7388. procedure setCHSHIE; inline;
  7389. procedure setCHSHIF; inline;
  7390. procedure setCHTAIE; inline;
  7391. procedure setCHTAIF; inline;
  7392. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7393. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7394. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7395. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7396. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7397. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7398. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7399. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7400. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7401. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7402. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7403. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7404. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7405. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7406. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7407. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7408. property w : TBits_32 read getw write setw;
  7409. end;
  7410. type
  7411. TDMAC2Registers = record
  7412. DCH2CONbits : TDMAC2_DCH2CON;
  7413. DCH2CON : longWord;
  7414. DCH2CONCLR : longWord;
  7415. DCH2CONSET : longWord;
  7416. DCH2CONINV : longWord;
  7417. DCH2ECONbits : TDMAC2_DCH2ECON;
  7418. DCH2ECON : longWord;
  7419. DCH2ECONCLR : longWord;
  7420. DCH2ECONSET : longWord;
  7421. DCH2ECONINV : longWord;
  7422. DCH2INTbits : TDMAC2_DCH2INT;
  7423. DCH2INT : longWord;
  7424. DCH2INTCLR : longWord;
  7425. DCH2INTSET : longWord;
  7426. DCH2INTINV : longWord;
  7427. DCH2SSA : longWord;
  7428. DCH2SSACLR : longWord;
  7429. DCH2SSASET : longWord;
  7430. DCH2SSAINV : longWord;
  7431. DCH2DSA : longWord;
  7432. DCH2DSACLR : longWord;
  7433. DCH2DSASET : longWord;
  7434. DCH2DSAINV : longWord;
  7435. DCH2SSIZ : longWord;
  7436. DCH2SSIZCLR : longWord;
  7437. DCH2SSIZSET : longWord;
  7438. DCH2SSIZINV : longWord;
  7439. DCH2DSIZ : longWord;
  7440. DCH2DSIZCLR : longWord;
  7441. DCH2DSIZSET : longWord;
  7442. DCH2DSIZINV : longWord;
  7443. DCH2SPTR : longWord;
  7444. DCH2SPTRCLR : longWord;
  7445. DCH2SPTRSET : longWord;
  7446. DCH2SPTRINV : longWord;
  7447. DCH2DPTR : longWord;
  7448. DCH2DPTRCLR : longWord;
  7449. DCH2DPTRSET : longWord;
  7450. DCH2DPTRINV : longWord;
  7451. DCH2CSIZ : longWord;
  7452. DCH2CSIZCLR : longWord;
  7453. DCH2CSIZSET : longWord;
  7454. DCH2CSIZINV : longWord;
  7455. DCH2CPTR : longWord;
  7456. DCH2CPTRCLR : longWord;
  7457. DCH2CPTRSET : longWord;
  7458. DCH2CPTRINV : longWord;
  7459. DCH2DAT : longWord;
  7460. DCH2DATCLR : longWord;
  7461. DCH2DATSET : longWord;
  7462. DCH2DATINV : longWord;
  7463. end;
  7464. TDMAC3_DCH3CON = record
  7465. private
  7466. function getCHAED : TBits_1; inline;
  7467. function getCHAEN : TBits_1; inline;
  7468. function getCHBUSY : TBits_1; inline;
  7469. function getCHCHN : TBits_1; inline;
  7470. function getCHCHNS : TBits_1; inline;
  7471. function getCHEDET : TBits_1; inline;
  7472. function getCHEN : TBits_1; inline;
  7473. function getCHPRI : TBits_2; inline;
  7474. function getw : TBits_32; inline;
  7475. procedure setCHAED(thebits : TBits_1); inline;
  7476. procedure setCHAEN(thebits : TBits_1); inline;
  7477. procedure setCHBUSY(thebits : TBits_1); inline;
  7478. procedure setCHCHN(thebits : TBits_1); inline;
  7479. procedure setCHCHNS(thebits : TBits_1); inline;
  7480. procedure setCHEDET(thebits : TBits_1); inline;
  7481. procedure setCHEN(thebits : TBits_1); inline;
  7482. procedure setCHPRI(thebits : TBits_2); inline;
  7483. procedure setw(thebits : TBits_32); inline;
  7484. public
  7485. procedure clearCHAED; inline;
  7486. procedure clearCHAEN; inline;
  7487. procedure clearCHBUSY; inline;
  7488. procedure clearCHCHN; inline;
  7489. procedure clearCHCHNS; inline;
  7490. procedure clearCHEDET; inline;
  7491. procedure clearCHEN; inline;
  7492. procedure setCHAED; inline;
  7493. procedure setCHAEN; inline;
  7494. procedure setCHBUSY; inline;
  7495. procedure setCHCHN; inline;
  7496. procedure setCHCHNS; inline;
  7497. procedure setCHEDET; inline;
  7498. procedure setCHEN; inline;
  7499. property CHAED : TBits_1 read getCHAED write setCHAED;
  7500. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7501. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7502. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7503. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7504. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7505. property CHEN : TBits_1 read getCHEN write setCHEN;
  7506. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7507. property w : TBits_32 read getw write setw;
  7508. end;
  7509. TDMAC3_DCH3ECON = record
  7510. private
  7511. function getAIRQEN : TBits_1; inline;
  7512. function getCABORT : TBits_1; inline;
  7513. function getCFORCE : TBits_1; inline;
  7514. function getCHAIRQ : TBits_8; inline;
  7515. function getCHSIRQ : TBits_8; inline;
  7516. function getPATEN : TBits_1; inline;
  7517. function getSIRQEN : TBits_1; inline;
  7518. function getw : TBits_32; inline;
  7519. procedure setAIRQEN(thebits : TBits_1); inline;
  7520. procedure setCABORT(thebits : TBits_1); inline;
  7521. procedure setCFORCE(thebits : TBits_1); inline;
  7522. procedure setCHAIRQ(thebits : TBits_8); inline;
  7523. procedure setCHSIRQ(thebits : TBits_8); inline;
  7524. procedure setPATEN(thebits : TBits_1); inline;
  7525. procedure setSIRQEN(thebits : TBits_1); inline;
  7526. procedure setw(thebits : TBits_32); inline;
  7527. public
  7528. procedure clearAIRQEN; inline;
  7529. procedure clearCABORT; inline;
  7530. procedure clearCFORCE; inline;
  7531. procedure clearPATEN; inline;
  7532. procedure clearSIRQEN; inline;
  7533. procedure setAIRQEN; inline;
  7534. procedure setCABORT; inline;
  7535. procedure setCFORCE; inline;
  7536. procedure setPATEN; inline;
  7537. procedure setSIRQEN; inline;
  7538. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7539. property CABORT : TBits_1 read getCABORT write setCABORT;
  7540. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7541. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7542. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7543. property PATEN : TBits_1 read getPATEN write setPATEN;
  7544. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7545. property w : TBits_32 read getw write setw;
  7546. end;
  7547. TDMAC3_DCH3INT = record
  7548. private
  7549. function getCHBCIE : TBits_1; inline;
  7550. function getCHBCIF : TBits_1; inline;
  7551. function getCHCCIE : TBits_1; inline;
  7552. function getCHCCIF : TBits_1; inline;
  7553. function getCHDDIE : TBits_1; inline;
  7554. function getCHDDIF : TBits_1; inline;
  7555. function getCHDHIE : TBits_1; inline;
  7556. function getCHDHIF : TBits_1; inline;
  7557. function getCHERIE : TBits_1; inline;
  7558. function getCHERIF : TBits_1; inline;
  7559. function getCHSDIE : TBits_1; inline;
  7560. function getCHSDIF : TBits_1; inline;
  7561. function getCHSHIE : TBits_1; inline;
  7562. function getCHSHIF : TBits_1; inline;
  7563. function getCHTAIE : TBits_1; inline;
  7564. function getCHTAIF : TBits_1; inline;
  7565. function getw : TBits_32; inline;
  7566. procedure setCHBCIE(thebits : TBits_1); inline;
  7567. procedure setCHBCIF(thebits : TBits_1); inline;
  7568. procedure setCHCCIE(thebits : TBits_1); inline;
  7569. procedure setCHCCIF(thebits : TBits_1); inline;
  7570. procedure setCHDDIE(thebits : TBits_1); inline;
  7571. procedure setCHDDIF(thebits : TBits_1); inline;
  7572. procedure setCHDHIE(thebits : TBits_1); inline;
  7573. procedure setCHDHIF(thebits : TBits_1); inline;
  7574. procedure setCHERIE(thebits : TBits_1); inline;
  7575. procedure setCHERIF(thebits : TBits_1); inline;
  7576. procedure setCHSDIE(thebits : TBits_1); inline;
  7577. procedure setCHSDIF(thebits : TBits_1); inline;
  7578. procedure setCHSHIE(thebits : TBits_1); inline;
  7579. procedure setCHSHIF(thebits : TBits_1); inline;
  7580. procedure setCHTAIE(thebits : TBits_1); inline;
  7581. procedure setCHTAIF(thebits : TBits_1); inline;
  7582. procedure setw(thebits : TBits_32); inline;
  7583. public
  7584. procedure clearCHBCIE; inline;
  7585. procedure clearCHBCIF; inline;
  7586. procedure clearCHCCIE; inline;
  7587. procedure clearCHCCIF; inline;
  7588. procedure clearCHDDIE; inline;
  7589. procedure clearCHDDIF; inline;
  7590. procedure clearCHDHIE; inline;
  7591. procedure clearCHDHIF; inline;
  7592. procedure clearCHERIE; inline;
  7593. procedure clearCHERIF; inline;
  7594. procedure clearCHSDIE; inline;
  7595. procedure clearCHSDIF; inline;
  7596. procedure clearCHSHIE; inline;
  7597. procedure clearCHSHIF; inline;
  7598. procedure clearCHTAIE; inline;
  7599. procedure clearCHTAIF; inline;
  7600. procedure setCHBCIE; inline;
  7601. procedure setCHBCIF; inline;
  7602. procedure setCHCCIE; inline;
  7603. procedure setCHCCIF; inline;
  7604. procedure setCHDDIE; inline;
  7605. procedure setCHDDIF; inline;
  7606. procedure setCHDHIE; inline;
  7607. procedure setCHDHIF; inline;
  7608. procedure setCHERIE; inline;
  7609. procedure setCHERIF; inline;
  7610. procedure setCHSDIE; inline;
  7611. procedure setCHSDIF; inline;
  7612. procedure setCHSHIE; inline;
  7613. procedure setCHSHIF; inline;
  7614. procedure setCHTAIE; inline;
  7615. procedure setCHTAIF; inline;
  7616. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7617. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7618. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7619. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7620. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7621. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7622. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7623. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7624. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7625. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7626. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7627. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7628. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7629. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7630. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7631. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7632. property w : TBits_32 read getw write setw;
  7633. end;
  7634. type
  7635. TDMAC3Registers = record
  7636. DCH3CONbits : TDMAC3_DCH3CON;
  7637. DCH3CON : longWord;
  7638. DCH3CONCLR : longWord;
  7639. DCH3CONSET : longWord;
  7640. DCH3CONINV : longWord;
  7641. DCH3ECONbits : TDMAC3_DCH3ECON;
  7642. DCH3ECON : longWord;
  7643. DCH3ECONCLR : longWord;
  7644. DCH3ECONSET : longWord;
  7645. DCH3ECONINV : longWord;
  7646. DCH3INTbits : TDMAC3_DCH3INT;
  7647. DCH3INT : longWord;
  7648. DCH3INTCLR : longWord;
  7649. DCH3INTSET : longWord;
  7650. DCH3INTINV : longWord;
  7651. DCH3SSA : longWord;
  7652. DCH3SSACLR : longWord;
  7653. DCH3SSASET : longWord;
  7654. DCH3SSAINV : longWord;
  7655. DCH3DSA : longWord;
  7656. DCH3DSACLR : longWord;
  7657. DCH3DSASET : longWord;
  7658. DCH3DSAINV : longWord;
  7659. DCH3SSIZ : longWord;
  7660. DCH3SSIZCLR : longWord;
  7661. DCH3SSIZSET : longWord;
  7662. DCH3SSIZINV : longWord;
  7663. DCH3DSIZ : longWord;
  7664. DCH3DSIZCLR : longWord;
  7665. DCH3DSIZSET : longWord;
  7666. DCH3DSIZINV : longWord;
  7667. DCH3SPTR : longWord;
  7668. DCH3SPTRCLR : longWord;
  7669. DCH3SPTRSET : longWord;
  7670. DCH3SPTRINV : longWord;
  7671. DCH3DPTR : longWord;
  7672. DCH3DPTRCLR : longWord;
  7673. DCH3DPTRSET : longWord;
  7674. DCH3DPTRINV : longWord;
  7675. DCH3CSIZ : longWord;
  7676. DCH3CSIZCLR : longWord;
  7677. DCH3CSIZSET : longWord;
  7678. DCH3CSIZINV : longWord;
  7679. DCH3CPTR : longWord;
  7680. DCH3CPTRCLR : longWord;
  7681. DCH3CPTRSET : longWord;
  7682. DCH3CPTRINV : longWord;
  7683. DCH3DAT : longWord;
  7684. DCH3DATCLR : longWord;
  7685. DCH3DATSET : longWord;
  7686. DCH3DATINV : longWord;
  7687. end;
  7688. TUSB_U1IR = record
  7689. private
  7690. function getATTACHIF : TBits_1; inline;
  7691. function getDETACHIF : TBits_1; inline;
  7692. function getIDLEIF : TBits_1; inline;
  7693. function getRESUMEIF : TBits_1; inline;
  7694. function getSOFIF : TBits_1; inline;
  7695. function getSTALLIF : TBits_1; inline;
  7696. function getTRNIF : TBits_1; inline;
  7697. function getUERRIF : TBits_1; inline;
  7698. function getURSTIF : TBits_1; inline;
  7699. function getURSTIF_DETACHIF : TBits_1; inline;
  7700. procedure setATTACHIF(thebits : TBits_1); inline;
  7701. procedure setDETACHIF(thebits : TBits_1); inline;
  7702. procedure setIDLEIF(thebits : TBits_1); inline;
  7703. procedure setRESUMEIF(thebits : TBits_1); inline;
  7704. procedure setSOFIF(thebits : TBits_1); inline;
  7705. procedure setSTALLIF(thebits : TBits_1); inline;
  7706. procedure setTRNIF(thebits : TBits_1); inline;
  7707. procedure setUERRIF(thebits : TBits_1); inline;
  7708. procedure setURSTIF(thebits : TBits_1); inline;
  7709. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  7710. public
  7711. procedure clearATTACHIF; inline;
  7712. procedure clearDETACHIF; inline;
  7713. procedure clearIDLEIF; inline;
  7714. procedure clearRESUMEIF; inline;
  7715. procedure clearSOFIF; inline;
  7716. procedure clearSTALLIF; inline;
  7717. procedure clearTRNIF; inline;
  7718. procedure clearUERRIF; inline;
  7719. procedure clearURSTIF; inline;
  7720. procedure clearURSTIF_DETACHIF; inline;
  7721. procedure setATTACHIF; inline;
  7722. procedure setDETACHIF; inline;
  7723. procedure setIDLEIF; inline;
  7724. procedure setRESUMEIF; inline;
  7725. procedure setSOFIF; inline;
  7726. procedure setSTALLIF; inline;
  7727. procedure setTRNIF; inline;
  7728. procedure setUERRIF; inline;
  7729. procedure setURSTIF; inline;
  7730. procedure setURSTIF_DETACHIF; inline;
  7731. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  7732. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  7733. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  7734. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  7735. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  7736. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  7737. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  7738. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  7739. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  7740. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  7741. end;
  7742. TUSB_U1IE = record
  7743. private
  7744. function getATTACHIE : TBits_1; inline;
  7745. function getDETACHIE : TBits_1; inline;
  7746. function getIDLEIE : TBits_1; inline;
  7747. function getRESUMEIE : TBits_1; inline;
  7748. function getSOFIE : TBits_1; inline;
  7749. function getSTALLIE : TBits_1; inline;
  7750. function getTRNIE : TBits_1; inline;
  7751. function getUERRIE : TBits_1; inline;
  7752. function getURSTIE : TBits_1; inline;
  7753. function getURSTIE_DETACHIE : TBits_1; inline;
  7754. procedure setATTACHIE(thebits : TBits_1); inline;
  7755. procedure setDETACHIE(thebits : TBits_1); inline;
  7756. procedure setIDLEIE(thebits : TBits_1); inline;
  7757. procedure setRESUMEIE(thebits : TBits_1); inline;
  7758. procedure setSOFIE(thebits : TBits_1); inline;
  7759. procedure setSTALLIE(thebits : TBits_1); inline;
  7760. procedure setTRNIE(thebits : TBits_1); inline;
  7761. procedure setUERRIE(thebits : TBits_1); inline;
  7762. procedure setURSTIE(thebits : TBits_1); inline;
  7763. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  7764. public
  7765. procedure clearATTACHIE; inline;
  7766. procedure clearDETACHIE; inline;
  7767. procedure clearIDLEIE; inline;
  7768. procedure clearRESUMEIE; inline;
  7769. procedure clearSOFIE; inline;
  7770. procedure clearSTALLIE; inline;
  7771. procedure clearTRNIE; inline;
  7772. procedure clearUERRIE; inline;
  7773. procedure clearURSTIE; inline;
  7774. procedure clearURSTIE_DETACHIE; inline;
  7775. procedure setATTACHIE; inline;
  7776. procedure setDETACHIE; inline;
  7777. procedure setIDLEIE; inline;
  7778. procedure setRESUMEIE; inline;
  7779. procedure setSOFIE; inline;
  7780. procedure setSTALLIE; inline;
  7781. procedure setTRNIE; inline;
  7782. procedure setUERRIE; inline;
  7783. procedure setURSTIE; inline;
  7784. procedure setURSTIE_DETACHIE; inline;
  7785. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  7786. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  7787. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  7788. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  7789. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  7790. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  7791. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  7792. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  7793. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  7794. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  7795. end;
  7796. TUSB_U1EIR = record
  7797. private
  7798. function getBMXEF : TBits_1; inline;
  7799. function getBTOEF : TBits_1; inline;
  7800. function getBTSEF : TBits_1; inline;
  7801. function getCRC16EF : TBits_1; inline;
  7802. function getCRC5EF : TBits_1; inline;
  7803. function getCRC5EF_EOFEF : TBits_1; inline;
  7804. function getDFN8EF : TBits_1; inline;
  7805. function getDMAEF : TBits_1; inline;
  7806. function getEOFEF : TBits_1; inline;
  7807. function getPIDEF : TBits_1; inline;
  7808. procedure setBMXEF(thebits : TBits_1); inline;
  7809. procedure setBTOEF(thebits : TBits_1); inline;
  7810. procedure setBTSEF(thebits : TBits_1); inline;
  7811. procedure setCRC16EF(thebits : TBits_1); inline;
  7812. procedure setCRC5EF(thebits : TBits_1); inline;
  7813. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  7814. procedure setDFN8EF(thebits : TBits_1); inline;
  7815. procedure setDMAEF(thebits : TBits_1); inline;
  7816. procedure setEOFEF(thebits : TBits_1); inline;
  7817. procedure setPIDEF(thebits : TBits_1); inline;
  7818. public
  7819. procedure clearBMXEF; inline;
  7820. procedure clearBTOEF; inline;
  7821. procedure clearBTSEF; inline;
  7822. procedure clearCRC16EF; inline;
  7823. procedure clearCRC5EF; inline;
  7824. procedure clearCRC5EF_EOFEF; inline;
  7825. procedure clearDFN8EF; inline;
  7826. procedure clearDMAEF; inline;
  7827. procedure clearEOFEF; inline;
  7828. procedure clearPIDEF; inline;
  7829. procedure setBMXEF; inline;
  7830. procedure setBTOEF; inline;
  7831. procedure setBTSEF; inline;
  7832. procedure setCRC16EF; inline;
  7833. procedure setCRC5EF; inline;
  7834. procedure setCRC5EF_EOFEF; inline;
  7835. procedure setDFN8EF; inline;
  7836. procedure setDMAEF; inline;
  7837. procedure setEOFEF; inline;
  7838. procedure setPIDEF; inline;
  7839. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  7840. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  7841. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  7842. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  7843. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  7844. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  7845. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  7846. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  7847. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  7848. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  7849. end;
  7850. TUSB_U1EIE = record
  7851. private
  7852. function getBMXEE : TBits_1; inline;
  7853. function getBTOEE : TBits_1; inline;
  7854. function getBTSEE : TBits_1; inline;
  7855. function getCRC16EE : TBits_1; inline;
  7856. function getCRC5EE : TBits_1; inline;
  7857. function getCRC5EE_EOFEE : TBits_1; inline;
  7858. function getDFN8EE : TBits_1; inline;
  7859. function getDMAEE : TBits_1; inline;
  7860. function getEOFEE : TBits_1; inline;
  7861. function getPIDEE : TBits_1; inline;
  7862. procedure setBMXEE(thebits : TBits_1); inline;
  7863. procedure setBTOEE(thebits : TBits_1); inline;
  7864. procedure setBTSEE(thebits : TBits_1); inline;
  7865. procedure setCRC16EE(thebits : TBits_1); inline;
  7866. procedure setCRC5EE(thebits : TBits_1); inline;
  7867. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  7868. procedure setDFN8EE(thebits : TBits_1); inline;
  7869. procedure setDMAEE(thebits : TBits_1); inline;
  7870. procedure setEOFEE(thebits : TBits_1); inline;
  7871. procedure setPIDEE(thebits : TBits_1); inline;
  7872. public
  7873. procedure clearBMXEE; inline;
  7874. procedure clearBTOEE; inline;
  7875. procedure clearBTSEE; inline;
  7876. procedure clearCRC16EE; inline;
  7877. procedure clearCRC5EE; inline;
  7878. procedure clearCRC5EE_EOFEE; inline;
  7879. procedure clearDFN8EE; inline;
  7880. procedure clearDMAEE; inline;
  7881. procedure clearEOFEE; inline;
  7882. procedure clearPIDEE; inline;
  7883. procedure setBMXEE; inline;
  7884. procedure setBTOEE; inline;
  7885. procedure setBTSEE; inline;
  7886. procedure setCRC16EE; inline;
  7887. procedure setCRC5EE; inline;
  7888. procedure setCRC5EE_EOFEE; inline;
  7889. procedure setDFN8EE; inline;
  7890. procedure setDMAEE; inline;
  7891. procedure setEOFEE; inline;
  7892. procedure setPIDEE; inline;
  7893. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  7894. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  7895. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  7896. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  7897. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  7898. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  7899. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  7900. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  7901. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  7902. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  7903. end;
  7904. TUSB_U1STAT = record
  7905. private
  7906. function getDIR : TBits_1; inline;
  7907. function getENDPT : TBits_4; inline;
  7908. function getENDPT0 : TBits_1; inline;
  7909. function getENDPT1 : TBits_1; inline;
  7910. function getENDPT2 : TBits_1; inline;
  7911. function getENDPT3 : TBits_1; inline;
  7912. function getPPBI : TBits_1; inline;
  7913. procedure setDIR(thebits : TBits_1); inline;
  7914. procedure setENDPT(thebits : TBits_4); inline;
  7915. procedure setENDPT0(thebits : TBits_1); inline;
  7916. procedure setENDPT1(thebits : TBits_1); inline;
  7917. procedure setENDPT2(thebits : TBits_1); inline;
  7918. procedure setENDPT3(thebits : TBits_1); inline;
  7919. procedure setPPBI(thebits : TBits_1); inline;
  7920. public
  7921. procedure clearDIR; inline;
  7922. procedure clearENDPT0; inline;
  7923. procedure clearENDPT1; inline;
  7924. procedure clearENDPT2; inline;
  7925. procedure clearENDPT3; inline;
  7926. procedure clearPPBI; inline;
  7927. procedure setDIR; inline;
  7928. procedure setENDPT0; inline;
  7929. procedure setENDPT1; inline;
  7930. procedure setENDPT2; inline;
  7931. procedure setENDPT3; inline;
  7932. procedure setPPBI; inline;
  7933. property DIR : TBits_1 read getDIR write setDIR;
  7934. property ENDPT : TBits_4 read getENDPT write setENDPT;
  7935. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  7936. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  7937. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  7938. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  7939. property PPBI : TBits_1 read getPPBI write setPPBI;
  7940. end;
  7941. TUSB_U1CON = record
  7942. private
  7943. function getHOSTEN : TBits_1; inline;
  7944. function getJSTATE : TBits_1; inline;
  7945. function getPKTDIS : TBits_1; inline;
  7946. function getPKTDIS_TOKBUSY : TBits_1; inline;
  7947. function getPPBRST : TBits_1; inline;
  7948. function getRESUME : TBits_1; inline;
  7949. function getSE0 : TBits_1; inline;
  7950. function getSOFEN : TBits_1; inline;
  7951. function getTOKBUSY : TBits_1; inline;
  7952. function getUSBEN : TBits_1; inline;
  7953. function getUSBEN_SOFEN : TBits_1; inline;
  7954. function getUSBRST : TBits_1; inline;
  7955. procedure setHOSTEN(thebits : TBits_1); inline;
  7956. procedure setJSTATE(thebits : TBits_1); inline;
  7957. procedure setPKTDIS(thebits : TBits_1); inline;
  7958. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  7959. procedure setPPBRST(thebits : TBits_1); inline;
  7960. procedure setRESUME(thebits : TBits_1); inline;
  7961. procedure setSE0(thebits : TBits_1); inline;
  7962. procedure setSOFEN(thebits : TBits_1); inline;
  7963. procedure setTOKBUSY(thebits : TBits_1); inline;
  7964. procedure setUSBEN(thebits : TBits_1); inline;
  7965. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  7966. procedure setUSBRST(thebits : TBits_1); inline;
  7967. public
  7968. procedure clearHOSTEN; inline;
  7969. procedure clearJSTATE; inline;
  7970. procedure clearPKTDIS; inline;
  7971. procedure clearPKTDIS_TOKBUSY; inline;
  7972. procedure clearPPBRST; inline;
  7973. procedure clearRESUME; inline;
  7974. procedure clearSE0; inline;
  7975. procedure clearSOFEN; inline;
  7976. procedure clearTOKBUSY; inline;
  7977. procedure clearUSBEN; inline;
  7978. procedure clearUSBEN_SOFEN; inline;
  7979. procedure clearUSBRST; inline;
  7980. procedure setHOSTEN; inline;
  7981. procedure setJSTATE; inline;
  7982. procedure setPKTDIS; inline;
  7983. procedure setPKTDIS_TOKBUSY; inline;
  7984. procedure setPPBRST; inline;
  7985. procedure setRESUME; inline;
  7986. procedure setSE0; inline;
  7987. procedure setSOFEN; inline;
  7988. procedure setTOKBUSY; inline;
  7989. procedure setUSBEN; inline;
  7990. procedure setUSBEN_SOFEN; inline;
  7991. procedure setUSBRST; inline;
  7992. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  7993. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  7994. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  7995. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  7996. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  7997. property RESUME : TBits_1 read getRESUME write setRESUME;
  7998. property SE0 : TBits_1 read getSE0 write setSE0;
  7999. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  8000. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  8001. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  8002. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  8003. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  8004. end;
  8005. TUSB_U1ADDR = record
  8006. private
  8007. function getDEVADDR : TBits_7; inline;
  8008. function getDEVADDR0 : TBits_1; inline;
  8009. function getDEVADDR1 : TBits_1; inline;
  8010. function getDEVADDR2 : TBits_1; inline;
  8011. function getDEVADDR3 : TBits_1; inline;
  8012. function getDEVADDR4 : TBits_1; inline;
  8013. function getDEVADDR5 : TBits_1; inline;
  8014. function getDEVADDR6 : TBits_1; inline;
  8015. function getLSPDEN : TBits_1; inline;
  8016. procedure setDEVADDR(thebits : TBits_7); inline;
  8017. procedure setDEVADDR0(thebits : TBits_1); inline;
  8018. procedure setDEVADDR1(thebits : TBits_1); inline;
  8019. procedure setDEVADDR2(thebits : TBits_1); inline;
  8020. procedure setDEVADDR3(thebits : TBits_1); inline;
  8021. procedure setDEVADDR4(thebits : TBits_1); inline;
  8022. procedure setDEVADDR5(thebits : TBits_1); inline;
  8023. procedure setDEVADDR6(thebits : TBits_1); inline;
  8024. procedure setLSPDEN(thebits : TBits_1); inline;
  8025. public
  8026. procedure clearDEVADDR0; inline;
  8027. procedure clearDEVADDR1; inline;
  8028. procedure clearDEVADDR2; inline;
  8029. procedure clearDEVADDR3; inline;
  8030. procedure clearDEVADDR4; inline;
  8031. procedure clearDEVADDR5; inline;
  8032. procedure clearDEVADDR6; inline;
  8033. procedure clearLSPDEN; inline;
  8034. procedure setDEVADDR0; inline;
  8035. procedure setDEVADDR1; inline;
  8036. procedure setDEVADDR2; inline;
  8037. procedure setDEVADDR3; inline;
  8038. procedure setDEVADDR4; inline;
  8039. procedure setDEVADDR5; inline;
  8040. procedure setDEVADDR6; inline;
  8041. procedure setLSPDEN; inline;
  8042. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  8043. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  8044. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  8045. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  8046. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  8047. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  8048. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  8049. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  8050. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  8051. end;
  8052. TUSB_U1FRML = record
  8053. private
  8054. function getFRM0 : TBits_1; inline;
  8055. function getFRM1 : TBits_1; inline;
  8056. function getFRM2 : TBits_1; inline;
  8057. function getFRM3 : TBits_1; inline;
  8058. function getFRM4 : TBits_1; inline;
  8059. function getFRM5 : TBits_1; inline;
  8060. function getFRM6 : TBits_1; inline;
  8061. function getFRM7 : TBits_1; inline;
  8062. function getFRML : TBits_8; inline;
  8063. procedure setFRM0(thebits : TBits_1); inline;
  8064. procedure setFRM1(thebits : TBits_1); inline;
  8065. procedure setFRM2(thebits : TBits_1); inline;
  8066. procedure setFRM3(thebits : TBits_1); inline;
  8067. procedure setFRM4(thebits : TBits_1); inline;
  8068. procedure setFRM5(thebits : TBits_1); inline;
  8069. procedure setFRM6(thebits : TBits_1); inline;
  8070. procedure setFRM7(thebits : TBits_1); inline;
  8071. procedure setFRML(thebits : TBits_8); inline;
  8072. public
  8073. procedure clearFRM0; inline;
  8074. procedure clearFRM1; inline;
  8075. procedure clearFRM2; inline;
  8076. procedure clearFRM3; inline;
  8077. procedure clearFRM4; inline;
  8078. procedure clearFRM5; inline;
  8079. procedure clearFRM6; inline;
  8080. procedure clearFRM7; inline;
  8081. procedure setFRM0; inline;
  8082. procedure setFRM1; inline;
  8083. procedure setFRM2; inline;
  8084. procedure setFRM3; inline;
  8085. procedure setFRM4; inline;
  8086. procedure setFRM5; inline;
  8087. procedure setFRM6; inline;
  8088. procedure setFRM7; inline;
  8089. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  8090. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  8091. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  8092. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  8093. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  8094. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  8095. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  8096. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  8097. property FRML : TBits_8 read getFRML write setFRML;
  8098. end;
  8099. TUSB_U1FRMH = record
  8100. private
  8101. function getFRM10 : TBits_1; inline;
  8102. function getFRM8 : TBits_1; inline;
  8103. function getFRM9 : TBits_1; inline;
  8104. function getFRMH : TBits_3; inline;
  8105. procedure setFRM10(thebits : TBits_1); inline;
  8106. procedure setFRM8(thebits : TBits_1); inline;
  8107. procedure setFRM9(thebits : TBits_1); inline;
  8108. procedure setFRMH(thebits : TBits_3); inline;
  8109. public
  8110. procedure clearFRM10; inline;
  8111. procedure clearFRM8; inline;
  8112. procedure clearFRM9; inline;
  8113. procedure setFRM10; inline;
  8114. procedure setFRM8; inline;
  8115. procedure setFRM9; inline;
  8116. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  8117. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  8118. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  8119. property FRMH : TBits_3 read getFRMH write setFRMH;
  8120. end;
  8121. TUSB_U1TOK = record
  8122. private
  8123. function getEP : TBits_4; inline;
  8124. function getEP0 : TBits_1; inline;
  8125. function getEP1 : TBits_1; inline;
  8126. function getEP2 : TBits_1; inline;
  8127. function getEP3 : TBits_1; inline;
  8128. function getPID : TBits_4; inline;
  8129. function getPID0 : TBits_1; inline;
  8130. function getPID1 : TBits_1; inline;
  8131. function getPID2 : TBits_1; inline;
  8132. function getPID3 : TBits_1; inline;
  8133. procedure setEP(thebits : TBits_4); inline;
  8134. procedure setEP0(thebits : TBits_1); inline;
  8135. procedure setEP1(thebits : TBits_1); inline;
  8136. procedure setEP2(thebits : TBits_1); inline;
  8137. procedure setEP3(thebits : TBits_1); inline;
  8138. procedure setPID(thebits : TBits_4); inline;
  8139. procedure setPID0(thebits : TBits_1); inline;
  8140. procedure setPID1(thebits : TBits_1); inline;
  8141. procedure setPID2(thebits : TBits_1); inline;
  8142. procedure setPID3(thebits : TBits_1); inline;
  8143. public
  8144. procedure clearEP0; inline;
  8145. procedure clearEP1; inline;
  8146. procedure clearEP2; inline;
  8147. procedure clearEP3; inline;
  8148. procedure clearPID0; inline;
  8149. procedure clearPID1; inline;
  8150. procedure clearPID2; inline;
  8151. procedure clearPID3; inline;
  8152. procedure setEP0; inline;
  8153. procedure setEP1; inline;
  8154. procedure setEP2; inline;
  8155. procedure setEP3; inline;
  8156. procedure setPID0; inline;
  8157. procedure setPID1; inline;
  8158. procedure setPID2; inline;
  8159. procedure setPID3; inline;
  8160. property EP : TBits_4 read getEP write setEP;
  8161. property EP0 : TBits_1 read getEP0 write setEP0;
  8162. property EP1 : TBits_1 read getEP1 write setEP1;
  8163. property EP2 : TBits_1 read getEP2 write setEP2;
  8164. property EP3 : TBits_1 read getEP3 write setEP3;
  8165. property PID : TBits_4 read getPID write setPID;
  8166. property PID0 : TBits_1 read getPID0 write setPID0;
  8167. property PID1 : TBits_1 read getPID1 write setPID1;
  8168. property PID2 : TBits_1 read getPID2 write setPID2;
  8169. property PID3 : TBits_1 read getPID3 write setPID3;
  8170. end;
  8171. type
  8172. TUSBRegisters = record
  8173. U1OTGIR : longWord;
  8174. U1OTGIRCLR : longWord;
  8175. U1OTGIE : longWord;
  8176. U1OTGIECLR : longWord;
  8177. U1OTGIESET : longWord;
  8178. U1OTGIEINV : longWord;
  8179. U1OTGSTAT : longWord;
  8180. U1OTGCON : longWord;
  8181. U1OTGCONCLR : longWord;
  8182. U1OTGCONSET : longWord;
  8183. U1OTGCONINV : longWord;
  8184. U1PWRC : longWord;
  8185. U1PWRCCLR : longWord;
  8186. U1PWRCSET : longWord;
  8187. U1PWRCINV : longWord;
  8188. U1IRbits : TUSB_U1IR;
  8189. U1IR : longWord;
  8190. U1IRCLR : longWord;
  8191. U1IEbits : TUSB_U1IE;
  8192. U1IE : longWord;
  8193. U1IECLR : longWord;
  8194. U1IESET : longWord;
  8195. U1IEINV : longWord;
  8196. U1EIRbits : TUSB_U1EIR;
  8197. U1EIR : longWord;
  8198. U1EIRCLR : longWord;
  8199. U1EIEbits : TUSB_U1EIE;
  8200. U1EIE : longWord;
  8201. U1EIECLR : longWord;
  8202. U1EIESET : longWord;
  8203. U1EIEINV : longWord;
  8204. U1STATbits : TUSB_U1STAT;
  8205. U1STAT : longWord;
  8206. U1CONbits : TUSB_U1CON;
  8207. U1CON : longWord;
  8208. U1CONCLR : longWord;
  8209. U1CONSET : longWord;
  8210. U1CONINV : longWord;
  8211. U1ADDRbits : TUSB_U1ADDR;
  8212. U1ADDR : longWord;
  8213. U1ADDRCLR : longWord;
  8214. U1ADDRSET : longWord;
  8215. U1ADDRINV : longWord;
  8216. U1BDTP1 : longWord;
  8217. U1BDTP1CLR : longWord;
  8218. U1BDTP1SET : longWord;
  8219. U1BDTP1INV : longWord;
  8220. U1FRMLbits : TUSB_U1FRML;
  8221. U1FRML : longWord;
  8222. U1FRMHbits : TUSB_U1FRMH;
  8223. U1FRMH : longWord;
  8224. U1TOKbits : TUSB_U1TOK;
  8225. U1TOK : longWord;
  8226. U1TOKCLR : longWord;
  8227. U1TOKSET : longWord;
  8228. U1TOKINV : longWord;
  8229. U1SOF : longWord;
  8230. U1SOFCLR : longWord;
  8231. U1SOFSET : longWord;
  8232. U1SOFINV : longWord;
  8233. U1BDTP2 : longWord;
  8234. U1BDTP2CLR : longWord;
  8235. U1BDTP2SET : longWord;
  8236. U1BDTP2INV : longWord;
  8237. U1BDTP3 : longWord;
  8238. U1BDTP3CLR : longWord;
  8239. U1BDTP3SET : longWord;
  8240. U1BDTP3INV : longWord;
  8241. U1CNFG1 : longWord;
  8242. U1CNFG1CLR : longWord;
  8243. U1CNFG1SET : longWord;
  8244. U1CNFG1INV : longWord;
  8245. U1EP0 : longWord;
  8246. U1EP0CLR : longWord;
  8247. U1EP0SET : longWord;
  8248. U1EP0INV : longWord;
  8249. U1EP1 : longWord;
  8250. U1EP1CLR : longWord;
  8251. U1EP1SET : longWord;
  8252. U1EP1INV : longWord;
  8253. U1EP2 : longWord;
  8254. U1EP2CLR : longWord;
  8255. U1EP2SET : longWord;
  8256. U1EP2INV : longWord;
  8257. U1EP3 : longWord;
  8258. U1EP3CLR : longWord;
  8259. U1EP3SET : longWord;
  8260. U1EP3INV : longWord;
  8261. U1EP4 : longWord;
  8262. U1EP4CLR : longWord;
  8263. U1EP4SET : longWord;
  8264. U1EP4INV : longWord;
  8265. U1EP5 : longWord;
  8266. U1EP5CLR : longWord;
  8267. U1EP5SET : longWord;
  8268. U1EP5INV : longWord;
  8269. U1EP6 : longWord;
  8270. U1EP6CLR : longWord;
  8271. U1EP6SET : longWord;
  8272. U1EP6INV : longWord;
  8273. U1EP7 : longWord;
  8274. U1EP7CLR : longWord;
  8275. U1EP7SET : longWord;
  8276. U1EP7INV : longWord;
  8277. U1EP8 : longWord;
  8278. U1EP8CLR : longWord;
  8279. U1EP8SET : longWord;
  8280. U1EP8INV : longWord;
  8281. U1EP9 : longWord;
  8282. U1EP9CLR : longWord;
  8283. U1EP9SET : longWord;
  8284. U1EP9INV : longWord;
  8285. U1EP10 : longWord;
  8286. U1EP10CLR : longWord;
  8287. U1EP10SET : longWord;
  8288. U1EP10INV : longWord;
  8289. U1EP11 : longWord;
  8290. U1EP11CLR : longWord;
  8291. U1EP11SET : longWord;
  8292. U1EP11INV : longWord;
  8293. U1EP12 : longWord;
  8294. U1EP12CLR : longWord;
  8295. U1EP12SET : longWord;
  8296. U1EP12INV : longWord;
  8297. U1EP13 : longWord;
  8298. U1EP13CLR : longWord;
  8299. U1EP13SET : longWord;
  8300. U1EP13INV : longWord;
  8301. U1EP14 : longWord;
  8302. U1EP14CLR : longWord;
  8303. U1EP14SET : longWord;
  8304. U1EP14INV : longWord;
  8305. U1EP15 : longWord;
  8306. U1EP15CLR : longWord;
  8307. U1EP15SET : longWord;
  8308. U1EP15INV : longWord;
  8309. end;
  8310. TPORTA_ANSELA = record
  8311. private
  8312. function getANSA0 : TBits_1; inline;
  8313. function getANSA1 : TBits_1; inline;
  8314. function getw : TBits_32; inline;
  8315. procedure setANSA0(thebits : TBits_1); inline;
  8316. procedure setANSA1(thebits : TBits_1); inline;
  8317. procedure setw(thebits : TBits_32); inline;
  8318. public
  8319. procedure clearANSA0; inline;
  8320. procedure clearANSA1; inline;
  8321. procedure setANSA0; inline;
  8322. procedure setANSA1; inline;
  8323. property ANSA0 : TBits_1 read getANSA0 write setANSA0;
  8324. property ANSA1 : TBits_1 read getANSA1 write setANSA1;
  8325. property w : TBits_32 read getw write setw;
  8326. end;
  8327. TPORTA_TRISA = record
  8328. private
  8329. function getTRISA0 : TBits_1; inline;
  8330. function getTRISA1 : TBits_1; inline;
  8331. function getTRISA2 : TBits_1; inline;
  8332. function getTRISA3 : TBits_1; inline;
  8333. function getTRISA4 : TBits_1; inline;
  8334. function getw : TBits_32; inline;
  8335. procedure setTRISA0(thebits : TBits_1); inline;
  8336. procedure setTRISA1(thebits : TBits_1); inline;
  8337. procedure setTRISA2(thebits : TBits_1); inline;
  8338. procedure setTRISA3(thebits : TBits_1); inline;
  8339. procedure setTRISA4(thebits : TBits_1); inline;
  8340. procedure setw(thebits : TBits_32); inline;
  8341. public
  8342. procedure clearTRISA0; inline;
  8343. procedure clearTRISA1; inline;
  8344. procedure clearTRISA2; inline;
  8345. procedure clearTRISA3; inline;
  8346. procedure clearTRISA4; inline;
  8347. procedure setTRISA0; inline;
  8348. procedure setTRISA1; inline;
  8349. procedure setTRISA2; inline;
  8350. procedure setTRISA3; inline;
  8351. procedure setTRISA4; inline;
  8352. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  8353. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  8354. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  8355. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  8356. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  8357. property w : TBits_32 read getw write setw;
  8358. end;
  8359. TPORTA_PORTA = record
  8360. private
  8361. function getRA0 : TBits_1; inline;
  8362. function getRA1 : TBits_1; inline;
  8363. function getRA2 : TBits_1; inline;
  8364. function getRA3 : TBits_1; inline;
  8365. function getRA4 : TBits_1; inline;
  8366. function getw : TBits_32; inline;
  8367. procedure setRA0(thebits : TBits_1); inline;
  8368. procedure setRA1(thebits : TBits_1); inline;
  8369. procedure setRA2(thebits : TBits_1); inline;
  8370. procedure setRA3(thebits : TBits_1); inline;
  8371. procedure setRA4(thebits : TBits_1); inline;
  8372. procedure setw(thebits : TBits_32); inline;
  8373. public
  8374. procedure clearRA0; inline;
  8375. procedure clearRA1; inline;
  8376. procedure clearRA2; inline;
  8377. procedure clearRA3; inline;
  8378. procedure clearRA4; inline;
  8379. procedure setRA0; inline;
  8380. procedure setRA1; inline;
  8381. procedure setRA2; inline;
  8382. procedure setRA3; inline;
  8383. procedure setRA4; inline;
  8384. property RA0 : TBits_1 read getRA0 write setRA0;
  8385. property RA1 : TBits_1 read getRA1 write setRA1;
  8386. property RA2 : TBits_1 read getRA2 write setRA2;
  8387. property RA3 : TBits_1 read getRA3 write setRA3;
  8388. property RA4 : TBits_1 read getRA4 write setRA4;
  8389. property w : TBits_32 read getw write setw;
  8390. end;
  8391. TPortA_bits=(RA0=0,RA1=1,RA2=2,RA3=3,RA4=4);
  8392. TPortA_bitset = set of TPortA_bits;
  8393. TPORTA_LATA = record
  8394. private
  8395. function getLATA0 : TBits_1; inline;
  8396. function getLATA1 : TBits_1; inline;
  8397. function getLATA2 : TBits_1; inline;
  8398. function getLATA3 : TBits_1; inline;
  8399. function getLATA4 : TBits_1; inline;
  8400. function getw : TBits_32; inline;
  8401. procedure setLATA0(thebits : TBits_1); inline;
  8402. procedure setLATA1(thebits : TBits_1); inline;
  8403. procedure setLATA2(thebits : TBits_1); inline;
  8404. procedure setLATA3(thebits : TBits_1); inline;
  8405. procedure setLATA4(thebits : TBits_1); inline;
  8406. procedure setw(thebits : TBits_32); inline;
  8407. public
  8408. procedure clearLATA0; inline;
  8409. procedure clearLATA1; inline;
  8410. procedure clearLATA2; inline;
  8411. procedure clearLATA3; inline;
  8412. procedure clearLATA4; inline;
  8413. procedure setLATA0; inline;
  8414. procedure setLATA1; inline;
  8415. procedure setLATA2; inline;
  8416. procedure setLATA3; inline;
  8417. procedure setLATA4; inline;
  8418. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  8419. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  8420. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  8421. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  8422. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  8423. property w : TBits_32 read getw write setw;
  8424. end;
  8425. TPORTA_ODCA = record
  8426. private
  8427. function getODCA0 : TBits_1; inline;
  8428. function getODCA1 : TBits_1; inline;
  8429. function getODCA2 : TBits_1; inline;
  8430. function getODCA3 : TBits_1; inline;
  8431. function getODCA4 : TBits_1; inline;
  8432. function getw : TBits_32; inline;
  8433. procedure setODCA0(thebits : TBits_1); inline;
  8434. procedure setODCA1(thebits : TBits_1); inline;
  8435. procedure setODCA2(thebits : TBits_1); inline;
  8436. procedure setODCA3(thebits : TBits_1); inline;
  8437. procedure setODCA4(thebits : TBits_1); inline;
  8438. procedure setw(thebits : TBits_32); inline;
  8439. public
  8440. procedure clearODCA0; inline;
  8441. procedure clearODCA1; inline;
  8442. procedure clearODCA2; inline;
  8443. procedure clearODCA3; inline;
  8444. procedure clearODCA4; inline;
  8445. procedure setODCA0; inline;
  8446. procedure setODCA1; inline;
  8447. procedure setODCA2; inline;
  8448. procedure setODCA3; inline;
  8449. procedure setODCA4; inline;
  8450. property ODCA0 : TBits_1 read getODCA0 write setODCA0;
  8451. property ODCA1 : TBits_1 read getODCA1 write setODCA1;
  8452. property ODCA2 : TBits_1 read getODCA2 write setODCA2;
  8453. property ODCA3 : TBits_1 read getODCA3 write setODCA3;
  8454. property ODCA4 : TBits_1 read getODCA4 write setODCA4;
  8455. property w : TBits_32 read getw write setw;
  8456. end;
  8457. TPORTA_CNPUA = record
  8458. private
  8459. function getCNPUA0 : TBits_1; inline;
  8460. function getCNPUA1 : TBits_1; inline;
  8461. function getCNPUA2 : TBits_1; inline;
  8462. function getCNPUA3 : TBits_1; inline;
  8463. function getCNPUA4 : TBits_1; inline;
  8464. function getw : TBits_32; inline;
  8465. procedure setCNPUA0(thebits : TBits_1); inline;
  8466. procedure setCNPUA1(thebits : TBits_1); inline;
  8467. procedure setCNPUA2(thebits : TBits_1); inline;
  8468. procedure setCNPUA3(thebits : TBits_1); inline;
  8469. procedure setCNPUA4(thebits : TBits_1); inline;
  8470. procedure setw(thebits : TBits_32); inline;
  8471. public
  8472. procedure clearCNPUA0; inline;
  8473. procedure clearCNPUA1; inline;
  8474. procedure clearCNPUA2; inline;
  8475. procedure clearCNPUA3; inline;
  8476. procedure clearCNPUA4; inline;
  8477. procedure setCNPUA0; inline;
  8478. procedure setCNPUA1; inline;
  8479. procedure setCNPUA2; inline;
  8480. procedure setCNPUA3; inline;
  8481. procedure setCNPUA4; inline;
  8482. property CNPUA0 : TBits_1 read getCNPUA0 write setCNPUA0;
  8483. property CNPUA1 : TBits_1 read getCNPUA1 write setCNPUA1;
  8484. property CNPUA2 : TBits_1 read getCNPUA2 write setCNPUA2;
  8485. property CNPUA3 : TBits_1 read getCNPUA3 write setCNPUA3;
  8486. property CNPUA4 : TBits_1 read getCNPUA4 write setCNPUA4;
  8487. property w : TBits_32 read getw write setw;
  8488. end;
  8489. TPORTA_CNPDA = record
  8490. private
  8491. function getCNPDA0 : TBits_1; inline;
  8492. function getCNPDA1 : TBits_1; inline;
  8493. function getCNPDA2 : TBits_1; inline;
  8494. function getCNPDA3 : TBits_1; inline;
  8495. function getCNPDA4 : TBits_1; inline;
  8496. function getw : TBits_32; inline;
  8497. procedure setCNPDA0(thebits : TBits_1); inline;
  8498. procedure setCNPDA1(thebits : TBits_1); inline;
  8499. procedure setCNPDA2(thebits : TBits_1); inline;
  8500. procedure setCNPDA3(thebits : TBits_1); inline;
  8501. procedure setCNPDA4(thebits : TBits_1); inline;
  8502. procedure setw(thebits : TBits_32); inline;
  8503. public
  8504. procedure clearCNPDA0; inline;
  8505. procedure clearCNPDA1; inline;
  8506. procedure clearCNPDA2; inline;
  8507. procedure clearCNPDA3; inline;
  8508. procedure clearCNPDA4; inline;
  8509. procedure setCNPDA0; inline;
  8510. procedure setCNPDA1; inline;
  8511. procedure setCNPDA2; inline;
  8512. procedure setCNPDA3; inline;
  8513. procedure setCNPDA4; inline;
  8514. property CNPDA0 : TBits_1 read getCNPDA0 write setCNPDA0;
  8515. property CNPDA1 : TBits_1 read getCNPDA1 write setCNPDA1;
  8516. property CNPDA2 : TBits_1 read getCNPDA2 write setCNPDA2;
  8517. property CNPDA3 : TBits_1 read getCNPDA3 write setCNPDA3;
  8518. property CNPDA4 : TBits_1 read getCNPDA4 write setCNPDA4;
  8519. property w : TBits_32 read getw write setw;
  8520. end;
  8521. TPORTA_CNCONA = record
  8522. private
  8523. function getON : TBits_1; inline;
  8524. function getSIDL : TBits_1; inline;
  8525. function getw : TBits_32; inline;
  8526. procedure setON(thebits : TBits_1); inline;
  8527. procedure setSIDL(thebits : TBits_1); inline;
  8528. procedure setw(thebits : TBits_32); inline;
  8529. public
  8530. procedure clearON; inline;
  8531. procedure clearSIDL; inline;
  8532. procedure setON; inline;
  8533. procedure setSIDL; inline;
  8534. property ON : TBits_1 read getON write setON;
  8535. property SIDL : TBits_1 read getSIDL write setSIDL;
  8536. property w : TBits_32 read getw write setw;
  8537. end;
  8538. TPORTA_CNENA = record
  8539. private
  8540. function getCNIEA0 : TBits_1; inline;
  8541. function getCNIEA1 : TBits_1; inline;
  8542. function getCNIEA2 : TBits_1; inline;
  8543. function getCNIEA3 : TBits_1; inline;
  8544. function getCNIEA4 : TBits_1; inline;
  8545. function getw : TBits_32; inline;
  8546. procedure setCNIEA0(thebits : TBits_1); inline;
  8547. procedure setCNIEA1(thebits : TBits_1); inline;
  8548. procedure setCNIEA2(thebits : TBits_1); inline;
  8549. procedure setCNIEA3(thebits : TBits_1); inline;
  8550. procedure setCNIEA4(thebits : TBits_1); inline;
  8551. procedure setw(thebits : TBits_32); inline;
  8552. public
  8553. procedure clearCNIEA0; inline;
  8554. procedure clearCNIEA1; inline;
  8555. procedure clearCNIEA2; inline;
  8556. procedure clearCNIEA3; inline;
  8557. procedure clearCNIEA4; inline;
  8558. procedure setCNIEA0; inline;
  8559. procedure setCNIEA1; inline;
  8560. procedure setCNIEA2; inline;
  8561. procedure setCNIEA3; inline;
  8562. procedure setCNIEA4; inline;
  8563. property CNIEA0 : TBits_1 read getCNIEA0 write setCNIEA0;
  8564. property CNIEA1 : TBits_1 read getCNIEA1 write setCNIEA1;
  8565. property CNIEA2 : TBits_1 read getCNIEA2 write setCNIEA2;
  8566. property CNIEA3 : TBits_1 read getCNIEA3 write setCNIEA3;
  8567. property CNIEA4 : TBits_1 read getCNIEA4 write setCNIEA4;
  8568. property w : TBits_32 read getw write setw;
  8569. end;
  8570. TPORTA_CNSTATA = record
  8571. private
  8572. function getCNSTATA0 : TBits_1; inline;
  8573. function getCNSTATA1 : TBits_1; inline;
  8574. function getCNSTATA2 : TBits_1; inline;
  8575. function getCNSTATA3 : TBits_1; inline;
  8576. function getCNSTATA4 : TBits_1; inline;
  8577. function getw : TBits_32; inline;
  8578. procedure setCNSTATA0(thebits : TBits_1); inline;
  8579. procedure setCNSTATA1(thebits : TBits_1); inline;
  8580. procedure setCNSTATA2(thebits : TBits_1); inline;
  8581. procedure setCNSTATA3(thebits : TBits_1); inline;
  8582. procedure setCNSTATA4(thebits : TBits_1); inline;
  8583. procedure setw(thebits : TBits_32); inline;
  8584. public
  8585. procedure clearCNSTATA0; inline;
  8586. procedure clearCNSTATA1; inline;
  8587. procedure clearCNSTATA2; inline;
  8588. procedure clearCNSTATA3; inline;
  8589. procedure clearCNSTATA4; inline;
  8590. procedure setCNSTATA0; inline;
  8591. procedure setCNSTATA1; inline;
  8592. procedure setCNSTATA2; inline;
  8593. procedure setCNSTATA3; inline;
  8594. procedure setCNSTATA4; inline;
  8595. property CNSTATA0 : TBits_1 read getCNSTATA0 write setCNSTATA0;
  8596. property CNSTATA1 : TBits_1 read getCNSTATA1 write setCNSTATA1;
  8597. property CNSTATA2 : TBits_1 read getCNSTATA2 write setCNSTATA2;
  8598. property CNSTATA3 : TBits_1 read getCNSTATA3 write setCNSTATA3;
  8599. property CNSTATA4 : TBits_1 read getCNSTATA4 write setCNSTATA4;
  8600. property w : TBits_32 read getw write setw;
  8601. end;
  8602. type
  8603. TPORTARegisters = record
  8604. ANSELAbits : TPORTA_ANSELA;
  8605. ANSELA : longWord;
  8606. ANSELACLR : longWord;
  8607. ANSELASET : longWord;
  8608. ANSELAINV : longWord;
  8609. TRISAbits : TPORTA_TRISA;
  8610. TRISA : longWord;
  8611. TRISACLR : longWord;
  8612. TRISASET : longWord;
  8613. TRISAINV : longWord;
  8614. PORTAbits : TPORTA_PORTA;
  8615. PORTA : longWord;
  8616. PORTACLR : longWord;
  8617. PORTASET : longWord;
  8618. PORTAINV : longWord;
  8619. LATAbits : TPORTA_LATA;
  8620. LATA : longWord;
  8621. LATACLR : longWord;
  8622. LATASET : longWord;
  8623. LATAINV : longWord;
  8624. ODCAbits : TPORTA_ODCA;
  8625. ODCA : longWord;
  8626. ODCACLR : longWord;
  8627. ODCASET : longWord;
  8628. ODCAINV : longWord;
  8629. CNPUAbits : TPORTA_CNPUA;
  8630. CNPUA : longWord;
  8631. CNPUACLR : longWord;
  8632. CNPUASET : longWord;
  8633. CNPUAINV : longWord;
  8634. CNPDAbits : TPORTA_CNPDA;
  8635. CNPDA : longWord;
  8636. CNPDACLR : longWord;
  8637. CNPDASET : longWord;
  8638. CNPDAINV : longWord;
  8639. CNCONAbits : TPORTA_CNCONA;
  8640. CNCONA : longWord;
  8641. CNCONACLR : longWord;
  8642. CNCONASET : longWord;
  8643. CNCONAINV : longWord;
  8644. CNENAbits : TPORTA_CNENA;
  8645. CNENA : longWord;
  8646. CNENACLR : longWord;
  8647. CNENASET : longWord;
  8648. CNENAINV : longWord;
  8649. CNSTATAbits : TPORTA_CNSTATA;
  8650. CNSTATA : longWord;
  8651. CNSTATACLR : longWord;
  8652. CNSTATASET : longWord;
  8653. CNSTATAINV : longWord;
  8654. end;
  8655. TPORTB_ANSELB = record
  8656. private
  8657. function getANSB0 : TBits_1; inline;
  8658. function getANSB1 : TBits_1; inline;
  8659. function getANSB13 : TBits_1; inline;
  8660. function getANSB14 : TBits_1; inline;
  8661. function getANSB15 : TBits_1; inline;
  8662. function getANSB2 : TBits_1; inline;
  8663. function getANSB3 : TBits_1; inline;
  8664. function getw : TBits_32; inline;
  8665. procedure setANSB0(thebits : TBits_1); inline;
  8666. procedure setANSB1(thebits : TBits_1); inline;
  8667. procedure setANSB13(thebits : TBits_1); inline;
  8668. procedure setANSB14(thebits : TBits_1); inline;
  8669. procedure setANSB15(thebits : TBits_1); inline;
  8670. procedure setANSB2(thebits : TBits_1); inline;
  8671. procedure setANSB3(thebits : TBits_1); inline;
  8672. procedure setw(thebits : TBits_32); inline;
  8673. public
  8674. procedure clearANSB0; inline;
  8675. procedure clearANSB13; inline;
  8676. procedure clearANSB14; inline;
  8677. procedure clearANSB15; inline;
  8678. procedure clearANSB1; inline;
  8679. procedure clearANSB2; inline;
  8680. procedure clearANSB3; inline;
  8681. procedure setANSB0; inline;
  8682. procedure setANSB13; inline;
  8683. procedure setANSB14; inline;
  8684. procedure setANSB15; inline;
  8685. procedure setANSB1; inline;
  8686. procedure setANSB2; inline;
  8687. procedure setANSB3; inline;
  8688. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  8689. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  8690. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  8691. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  8692. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  8693. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  8694. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  8695. property w : TBits_32 read getw write setw;
  8696. end;
  8697. TPORTB_TRISB = record
  8698. private
  8699. function getTRISB0 : TBits_1; inline;
  8700. function getTRISB1 : TBits_1; inline;
  8701. function getTRISB10 : TBits_1; inline;
  8702. function getTRISB11 : TBits_1; inline;
  8703. function getTRISB13 : TBits_1; inline;
  8704. function getTRISB14 : TBits_1; inline;
  8705. function getTRISB15 : TBits_1; inline;
  8706. function getTRISB2 : TBits_1; inline;
  8707. function getTRISB3 : TBits_1; inline;
  8708. function getTRISB4 : TBits_1; inline;
  8709. function getTRISB5 : TBits_1; inline;
  8710. function getTRISB7 : TBits_1; inline;
  8711. function getTRISB8 : TBits_1; inline;
  8712. function getTRISB9 : TBits_1; inline;
  8713. function getw : TBits_32; inline;
  8714. procedure setTRISB0(thebits : TBits_1); inline;
  8715. procedure setTRISB1(thebits : TBits_1); inline;
  8716. procedure setTRISB10(thebits : TBits_1); inline;
  8717. procedure setTRISB11(thebits : TBits_1); inline;
  8718. procedure setTRISB13(thebits : TBits_1); inline;
  8719. procedure setTRISB14(thebits : TBits_1); inline;
  8720. procedure setTRISB15(thebits : TBits_1); inline;
  8721. procedure setTRISB2(thebits : TBits_1); inline;
  8722. procedure setTRISB3(thebits : TBits_1); inline;
  8723. procedure setTRISB4(thebits : TBits_1); inline;
  8724. procedure setTRISB5(thebits : TBits_1); inline;
  8725. procedure setTRISB7(thebits : TBits_1); inline;
  8726. procedure setTRISB8(thebits : TBits_1); inline;
  8727. procedure setTRISB9(thebits : TBits_1); inline;
  8728. procedure setw(thebits : TBits_32); inline;
  8729. public
  8730. procedure clearTRISB0; inline;
  8731. procedure clearTRISB10; inline;
  8732. procedure clearTRISB11; inline;
  8733. procedure clearTRISB13; inline;
  8734. procedure clearTRISB14; inline;
  8735. procedure clearTRISB15; inline;
  8736. procedure clearTRISB1; inline;
  8737. procedure clearTRISB2; inline;
  8738. procedure clearTRISB3; inline;
  8739. procedure clearTRISB4; inline;
  8740. procedure clearTRISB5; inline;
  8741. procedure clearTRISB7; inline;
  8742. procedure clearTRISB8; inline;
  8743. procedure clearTRISB9; inline;
  8744. procedure setTRISB0; inline;
  8745. procedure setTRISB10; inline;
  8746. procedure setTRISB11; inline;
  8747. procedure setTRISB13; inline;
  8748. procedure setTRISB14; inline;
  8749. procedure setTRISB15; inline;
  8750. procedure setTRISB1; inline;
  8751. procedure setTRISB2; inline;
  8752. procedure setTRISB3; inline;
  8753. procedure setTRISB4; inline;
  8754. procedure setTRISB5; inline;
  8755. procedure setTRISB7; inline;
  8756. procedure setTRISB8; inline;
  8757. procedure setTRISB9; inline;
  8758. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  8759. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  8760. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  8761. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  8762. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  8763. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  8764. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  8765. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  8766. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  8767. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  8768. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  8769. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  8770. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  8771. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  8772. property w : TBits_32 read getw write setw;
  8773. end;
  8774. TPORTB_PORTB = record
  8775. private
  8776. function getRB0 : TBits_1; inline;
  8777. function getRB1 : TBits_1; inline;
  8778. function getRB10 : TBits_1; inline;
  8779. function getRB11 : TBits_1; inline;
  8780. function getRB13 : TBits_1; inline;
  8781. function getRB14 : TBits_1; inline;
  8782. function getRB15 : TBits_1; inline;
  8783. function getRB2 : TBits_1; inline;
  8784. function getRB3 : TBits_1; inline;
  8785. function getRB4 : TBits_1; inline;
  8786. function getRB5 : TBits_1; inline;
  8787. function getRB7 : TBits_1; inline;
  8788. function getRB8 : TBits_1; inline;
  8789. function getRB9 : TBits_1; inline;
  8790. function getw : TBits_32; inline;
  8791. procedure setRB0(thebits : TBits_1); inline;
  8792. procedure setRB1(thebits : TBits_1); inline;
  8793. procedure setRB10(thebits : TBits_1); inline;
  8794. procedure setRB11(thebits : TBits_1); inline;
  8795. procedure setRB13(thebits : TBits_1); inline;
  8796. procedure setRB14(thebits : TBits_1); inline;
  8797. procedure setRB15(thebits : TBits_1); inline;
  8798. procedure setRB2(thebits : TBits_1); inline;
  8799. procedure setRB3(thebits : TBits_1); inline;
  8800. procedure setRB4(thebits : TBits_1); inline;
  8801. procedure setRB5(thebits : TBits_1); inline;
  8802. procedure setRB7(thebits : TBits_1); inline;
  8803. procedure setRB8(thebits : TBits_1); inline;
  8804. procedure setRB9(thebits : TBits_1); inline;
  8805. procedure setw(thebits : TBits_32); inline;
  8806. public
  8807. procedure clearRB0; inline;
  8808. procedure clearRB10; inline;
  8809. procedure clearRB11; inline;
  8810. procedure clearRB13; inline;
  8811. procedure clearRB14; inline;
  8812. procedure clearRB15; inline;
  8813. procedure clearRB1; inline;
  8814. procedure clearRB2; inline;
  8815. procedure clearRB3; inline;
  8816. procedure clearRB4; inline;
  8817. procedure clearRB5; inline;
  8818. procedure clearRB7; inline;
  8819. procedure clearRB8; inline;
  8820. procedure clearRB9; inline;
  8821. procedure setRB0; inline;
  8822. procedure setRB10; inline;
  8823. procedure setRB11; inline;
  8824. procedure setRB13; inline;
  8825. procedure setRB14; inline;
  8826. procedure setRB15; inline;
  8827. procedure setRB1; inline;
  8828. procedure setRB2; inline;
  8829. procedure setRB3; inline;
  8830. procedure setRB4; inline;
  8831. procedure setRB5; inline;
  8832. procedure setRB7; inline;
  8833. procedure setRB8; inline;
  8834. procedure setRB9; inline;
  8835. property RB0 : TBits_1 read getRB0 write setRB0;
  8836. property RB1 : TBits_1 read getRB1 write setRB1;
  8837. property RB10 : TBits_1 read getRB10 write setRB10;
  8838. property RB11 : TBits_1 read getRB11 write setRB11;
  8839. property RB13 : TBits_1 read getRB13 write setRB13;
  8840. property RB14 : TBits_1 read getRB14 write setRB14;
  8841. property RB15 : TBits_1 read getRB15 write setRB15;
  8842. property RB2 : TBits_1 read getRB2 write setRB2;
  8843. property RB3 : TBits_1 read getRB3 write setRB3;
  8844. property RB4 : TBits_1 read getRB4 write setRB4;
  8845. property RB5 : TBits_1 read getRB5 write setRB5;
  8846. property RB7 : TBits_1 read getRB7 write setRB7;
  8847. property RB8 : TBits_1 read getRB8 write setRB8;
  8848. property RB9 : TBits_1 read getRB9 write setRB9;
  8849. property w : TBits_32 read getw write setw;
  8850. end;
  8851. TPortB_bits=(RB0=0,RB1=1,RB2=2,RB3=3,RB4=4,RB5=5,RB7=7,RB8=8,RB9=9,RB10=10,RB11=11,RB13=13,RB14=14,RB15=15);
  8852. TPortB_bitset = set of TPortB_bits;
  8853. TPORTB_LATB = record
  8854. private
  8855. function getLATB0 : TBits_1; inline;
  8856. function getLATB1 : TBits_1; inline;
  8857. function getLATB10 : TBits_1; inline;
  8858. function getLATB11 : TBits_1; inline;
  8859. function getLATB13 : TBits_1; inline;
  8860. function getLATB14 : TBits_1; inline;
  8861. function getLATB15 : TBits_1; inline;
  8862. function getLATB2 : TBits_1; inline;
  8863. function getLATB3 : TBits_1; inline;
  8864. function getLATB4 : TBits_1; inline;
  8865. function getLATB5 : TBits_1; inline;
  8866. function getLATB7 : TBits_1; inline;
  8867. function getLATB8 : TBits_1; inline;
  8868. function getLATB9 : TBits_1; inline;
  8869. function getw : TBits_32; inline;
  8870. procedure setLATB0(thebits : TBits_1); inline;
  8871. procedure setLATB1(thebits : TBits_1); inline;
  8872. procedure setLATB10(thebits : TBits_1); inline;
  8873. procedure setLATB11(thebits : TBits_1); inline;
  8874. procedure setLATB13(thebits : TBits_1); inline;
  8875. procedure setLATB14(thebits : TBits_1); inline;
  8876. procedure setLATB15(thebits : TBits_1); inline;
  8877. procedure setLATB2(thebits : TBits_1); inline;
  8878. procedure setLATB3(thebits : TBits_1); inline;
  8879. procedure setLATB4(thebits : TBits_1); inline;
  8880. procedure setLATB5(thebits : TBits_1); inline;
  8881. procedure setLATB7(thebits : TBits_1); inline;
  8882. procedure setLATB8(thebits : TBits_1); inline;
  8883. procedure setLATB9(thebits : TBits_1); inline;
  8884. procedure setw(thebits : TBits_32); inline;
  8885. public
  8886. procedure clearLATB0; inline;
  8887. procedure clearLATB10; inline;
  8888. procedure clearLATB11; inline;
  8889. procedure clearLATB13; inline;
  8890. procedure clearLATB14; inline;
  8891. procedure clearLATB15; inline;
  8892. procedure clearLATB1; inline;
  8893. procedure clearLATB2; inline;
  8894. procedure clearLATB3; inline;
  8895. procedure clearLATB4; inline;
  8896. procedure clearLATB5; inline;
  8897. procedure clearLATB7; inline;
  8898. procedure clearLATB8; inline;
  8899. procedure clearLATB9; inline;
  8900. procedure setLATB0; inline;
  8901. procedure setLATB10; inline;
  8902. procedure setLATB11; inline;
  8903. procedure setLATB13; inline;
  8904. procedure setLATB14; inline;
  8905. procedure setLATB15; inline;
  8906. procedure setLATB1; inline;
  8907. procedure setLATB2; inline;
  8908. procedure setLATB3; inline;
  8909. procedure setLATB4; inline;
  8910. procedure setLATB5; inline;
  8911. procedure setLATB7; inline;
  8912. procedure setLATB8; inline;
  8913. procedure setLATB9; inline;
  8914. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  8915. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  8916. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  8917. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  8918. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  8919. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  8920. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  8921. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  8922. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  8923. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  8924. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  8925. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  8926. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  8927. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  8928. property w : TBits_32 read getw write setw;
  8929. end;
  8930. TPORTB_ODCB = record
  8931. private
  8932. function getODCB0 : TBits_1; inline;
  8933. function getODCB1 : TBits_1; inline;
  8934. function getODCB10 : TBits_1; inline;
  8935. function getODCB11 : TBits_1; inline;
  8936. function getODCB13 : TBits_1; inline;
  8937. function getODCB14 : TBits_1; inline;
  8938. function getODCB15 : TBits_1; inline;
  8939. function getODCB2 : TBits_1; inline;
  8940. function getODCB3 : TBits_1; inline;
  8941. function getODCB4 : TBits_1; inline;
  8942. function getODCB5 : TBits_1; inline;
  8943. function getODCB7 : TBits_1; inline;
  8944. function getODCB8 : TBits_1; inline;
  8945. function getODCB9 : TBits_1; inline;
  8946. function getw : TBits_32; inline;
  8947. procedure setODCB0(thebits : TBits_1); inline;
  8948. procedure setODCB1(thebits : TBits_1); inline;
  8949. procedure setODCB10(thebits : TBits_1); inline;
  8950. procedure setODCB11(thebits : TBits_1); inline;
  8951. procedure setODCB13(thebits : TBits_1); inline;
  8952. procedure setODCB14(thebits : TBits_1); inline;
  8953. procedure setODCB15(thebits : TBits_1); inline;
  8954. procedure setODCB2(thebits : TBits_1); inline;
  8955. procedure setODCB3(thebits : TBits_1); inline;
  8956. procedure setODCB4(thebits : TBits_1); inline;
  8957. procedure setODCB5(thebits : TBits_1); inline;
  8958. procedure setODCB7(thebits : TBits_1); inline;
  8959. procedure setODCB8(thebits : TBits_1); inline;
  8960. procedure setODCB9(thebits : TBits_1); inline;
  8961. procedure setw(thebits : TBits_32); inline;
  8962. public
  8963. procedure clearODCB0; inline;
  8964. procedure clearODCB10; inline;
  8965. procedure clearODCB11; inline;
  8966. procedure clearODCB13; inline;
  8967. procedure clearODCB14; inline;
  8968. procedure clearODCB15; inline;
  8969. procedure clearODCB1; inline;
  8970. procedure clearODCB2; inline;
  8971. procedure clearODCB3; inline;
  8972. procedure clearODCB4; inline;
  8973. procedure clearODCB5; inline;
  8974. procedure clearODCB7; inline;
  8975. procedure clearODCB8; inline;
  8976. procedure clearODCB9; inline;
  8977. procedure setODCB0; inline;
  8978. procedure setODCB10; inline;
  8979. procedure setODCB11; inline;
  8980. procedure setODCB13; inline;
  8981. procedure setODCB14; inline;
  8982. procedure setODCB15; inline;
  8983. procedure setODCB1; inline;
  8984. procedure setODCB2; inline;
  8985. procedure setODCB3; inline;
  8986. procedure setODCB4; inline;
  8987. procedure setODCB5; inline;
  8988. procedure setODCB7; inline;
  8989. procedure setODCB8; inline;
  8990. procedure setODCB9; inline;
  8991. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  8992. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  8993. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  8994. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  8995. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  8996. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  8997. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  8998. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  8999. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  9000. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  9001. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  9002. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  9003. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  9004. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  9005. property w : TBits_32 read getw write setw;
  9006. end;
  9007. TPORTB_CNPUB = record
  9008. private
  9009. function getCNPUB0 : TBits_1; inline;
  9010. function getCNPUB1 : TBits_1; inline;
  9011. function getCNPUB10 : TBits_1; inline;
  9012. function getCNPUB11 : TBits_1; inline;
  9013. function getCNPUB13 : TBits_1; inline;
  9014. function getCNPUB14 : TBits_1; inline;
  9015. function getCNPUB15 : TBits_1; inline;
  9016. function getCNPUB2 : TBits_1; inline;
  9017. function getCNPUB3 : TBits_1; inline;
  9018. function getCNPUB4 : TBits_1; inline;
  9019. function getCNPUB5 : TBits_1; inline;
  9020. function getCNPUB7 : TBits_1; inline;
  9021. function getCNPUB8 : TBits_1; inline;
  9022. function getCNPUB9 : TBits_1; inline;
  9023. function getw : TBits_32; inline;
  9024. procedure setCNPUB0(thebits : TBits_1); inline;
  9025. procedure setCNPUB1(thebits : TBits_1); inline;
  9026. procedure setCNPUB10(thebits : TBits_1); inline;
  9027. procedure setCNPUB11(thebits : TBits_1); inline;
  9028. procedure setCNPUB13(thebits : TBits_1); inline;
  9029. procedure setCNPUB14(thebits : TBits_1); inline;
  9030. procedure setCNPUB15(thebits : TBits_1); inline;
  9031. procedure setCNPUB2(thebits : TBits_1); inline;
  9032. procedure setCNPUB3(thebits : TBits_1); inline;
  9033. procedure setCNPUB4(thebits : TBits_1); inline;
  9034. procedure setCNPUB5(thebits : TBits_1); inline;
  9035. procedure setCNPUB7(thebits : TBits_1); inline;
  9036. procedure setCNPUB8(thebits : TBits_1); inline;
  9037. procedure setCNPUB9(thebits : TBits_1); inline;
  9038. procedure setw(thebits : TBits_32); inline;
  9039. public
  9040. procedure clearCNPUB0; inline;
  9041. procedure clearCNPUB10; inline;
  9042. procedure clearCNPUB11; inline;
  9043. procedure clearCNPUB13; inline;
  9044. procedure clearCNPUB14; inline;
  9045. procedure clearCNPUB15; inline;
  9046. procedure clearCNPUB1; inline;
  9047. procedure clearCNPUB2; inline;
  9048. procedure clearCNPUB3; inline;
  9049. procedure clearCNPUB4; inline;
  9050. procedure clearCNPUB5; inline;
  9051. procedure clearCNPUB7; inline;
  9052. procedure clearCNPUB8; inline;
  9053. procedure clearCNPUB9; inline;
  9054. procedure setCNPUB0; inline;
  9055. procedure setCNPUB10; inline;
  9056. procedure setCNPUB11; inline;
  9057. procedure setCNPUB13; inline;
  9058. procedure setCNPUB14; inline;
  9059. procedure setCNPUB15; inline;
  9060. procedure setCNPUB1; inline;
  9061. procedure setCNPUB2; inline;
  9062. procedure setCNPUB3; inline;
  9063. procedure setCNPUB4; inline;
  9064. procedure setCNPUB5; inline;
  9065. procedure setCNPUB7; inline;
  9066. procedure setCNPUB8; inline;
  9067. procedure setCNPUB9; inline;
  9068. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  9069. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  9070. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  9071. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  9072. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  9073. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  9074. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  9075. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  9076. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  9077. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  9078. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  9079. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  9080. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  9081. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  9082. property w : TBits_32 read getw write setw;
  9083. end;
  9084. TPORTB_CNPDB = record
  9085. private
  9086. function getCNPDB0 : TBits_1; inline;
  9087. function getCNPDB1 : TBits_1; inline;
  9088. function getCNPDB10 : TBits_1; inline;
  9089. function getCNPDB11 : TBits_1; inline;
  9090. function getCNPDB13 : TBits_1; inline;
  9091. function getCNPDB14 : TBits_1; inline;
  9092. function getCNPDB15 : TBits_1; inline;
  9093. function getCNPDB2 : TBits_1; inline;
  9094. function getCNPDB3 : TBits_1; inline;
  9095. function getCNPDB4 : TBits_1; inline;
  9096. function getCNPDB5 : TBits_1; inline;
  9097. function getCNPDB7 : TBits_1; inline;
  9098. function getCNPDB8 : TBits_1; inline;
  9099. function getCNPDB9 : TBits_1; inline;
  9100. function getw : TBits_32; inline;
  9101. procedure setCNPDB0(thebits : TBits_1); inline;
  9102. procedure setCNPDB1(thebits : TBits_1); inline;
  9103. procedure setCNPDB10(thebits : TBits_1); inline;
  9104. procedure setCNPDB11(thebits : TBits_1); inline;
  9105. procedure setCNPDB13(thebits : TBits_1); inline;
  9106. procedure setCNPDB14(thebits : TBits_1); inline;
  9107. procedure setCNPDB15(thebits : TBits_1); inline;
  9108. procedure setCNPDB2(thebits : TBits_1); inline;
  9109. procedure setCNPDB3(thebits : TBits_1); inline;
  9110. procedure setCNPDB4(thebits : TBits_1); inline;
  9111. procedure setCNPDB5(thebits : TBits_1); inline;
  9112. procedure setCNPDB7(thebits : TBits_1); inline;
  9113. procedure setCNPDB8(thebits : TBits_1); inline;
  9114. procedure setCNPDB9(thebits : TBits_1); inline;
  9115. procedure setw(thebits : TBits_32); inline;
  9116. public
  9117. procedure clearCNPDB0; inline;
  9118. procedure clearCNPDB10; inline;
  9119. procedure clearCNPDB11; inline;
  9120. procedure clearCNPDB13; inline;
  9121. procedure clearCNPDB14; inline;
  9122. procedure clearCNPDB15; inline;
  9123. procedure clearCNPDB1; inline;
  9124. procedure clearCNPDB2; inline;
  9125. procedure clearCNPDB3; inline;
  9126. procedure clearCNPDB4; inline;
  9127. procedure clearCNPDB5; inline;
  9128. procedure clearCNPDB7; inline;
  9129. procedure clearCNPDB8; inline;
  9130. procedure clearCNPDB9; inline;
  9131. procedure setCNPDB0; inline;
  9132. procedure setCNPDB10; inline;
  9133. procedure setCNPDB11; inline;
  9134. procedure setCNPDB13; inline;
  9135. procedure setCNPDB14; inline;
  9136. procedure setCNPDB15; inline;
  9137. procedure setCNPDB1; inline;
  9138. procedure setCNPDB2; inline;
  9139. procedure setCNPDB3; inline;
  9140. procedure setCNPDB4; inline;
  9141. procedure setCNPDB5; inline;
  9142. procedure setCNPDB7; inline;
  9143. procedure setCNPDB8; inline;
  9144. procedure setCNPDB9; inline;
  9145. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  9146. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  9147. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  9148. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  9149. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  9150. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  9151. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  9152. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  9153. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  9154. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  9155. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  9156. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  9157. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  9158. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  9159. property w : TBits_32 read getw write setw;
  9160. end;
  9161. TPORTB_CNCONB = record
  9162. private
  9163. function getON : TBits_1; inline;
  9164. function getSIDL : TBits_1; inline;
  9165. function getw : TBits_32; inline;
  9166. procedure setON(thebits : TBits_1); inline;
  9167. procedure setSIDL(thebits : TBits_1); inline;
  9168. procedure setw(thebits : TBits_32); inline;
  9169. public
  9170. procedure clearON; inline;
  9171. procedure clearSIDL; inline;
  9172. procedure setON; inline;
  9173. procedure setSIDL; inline;
  9174. property ON : TBits_1 read getON write setON;
  9175. property SIDL : TBits_1 read getSIDL write setSIDL;
  9176. property w : TBits_32 read getw write setw;
  9177. end;
  9178. TPORTB_CNENB = record
  9179. private
  9180. function getCNIEB0 : TBits_1; inline;
  9181. function getCNIEB1 : TBits_1; inline;
  9182. function getCNIEB10 : TBits_1; inline;
  9183. function getCNIEB11 : TBits_1; inline;
  9184. function getCNIEB13 : TBits_1; inline;
  9185. function getCNIEB14 : TBits_1; inline;
  9186. function getCNIEB15 : TBits_1; inline;
  9187. function getCNIEB2 : TBits_1; inline;
  9188. function getCNIEB3 : TBits_1; inline;
  9189. function getCNIEB4 : TBits_1; inline;
  9190. function getCNIEB5 : TBits_1; inline;
  9191. function getCNIEB7 : TBits_1; inline;
  9192. function getCNIEB8 : TBits_1; inline;
  9193. function getCNIEB9 : TBits_1; inline;
  9194. function getw : TBits_32; inline;
  9195. procedure setCNIEB0(thebits : TBits_1); inline;
  9196. procedure setCNIEB1(thebits : TBits_1); inline;
  9197. procedure setCNIEB10(thebits : TBits_1); inline;
  9198. procedure setCNIEB11(thebits : TBits_1); inline;
  9199. procedure setCNIEB13(thebits : TBits_1); inline;
  9200. procedure setCNIEB14(thebits : TBits_1); inline;
  9201. procedure setCNIEB15(thebits : TBits_1); inline;
  9202. procedure setCNIEB2(thebits : TBits_1); inline;
  9203. procedure setCNIEB3(thebits : TBits_1); inline;
  9204. procedure setCNIEB4(thebits : TBits_1); inline;
  9205. procedure setCNIEB5(thebits : TBits_1); inline;
  9206. procedure setCNIEB7(thebits : TBits_1); inline;
  9207. procedure setCNIEB8(thebits : TBits_1); inline;
  9208. procedure setCNIEB9(thebits : TBits_1); inline;
  9209. procedure setw(thebits : TBits_32); inline;
  9210. public
  9211. procedure clearCNIEB0; inline;
  9212. procedure clearCNIEB10; inline;
  9213. procedure clearCNIEB11; inline;
  9214. procedure clearCNIEB13; inline;
  9215. procedure clearCNIEB14; inline;
  9216. procedure clearCNIEB15; inline;
  9217. procedure clearCNIEB1; inline;
  9218. procedure clearCNIEB2; inline;
  9219. procedure clearCNIEB3; inline;
  9220. procedure clearCNIEB4; inline;
  9221. procedure clearCNIEB5; inline;
  9222. procedure clearCNIEB7; inline;
  9223. procedure clearCNIEB8; inline;
  9224. procedure clearCNIEB9; inline;
  9225. procedure setCNIEB0; inline;
  9226. procedure setCNIEB10; inline;
  9227. procedure setCNIEB11; inline;
  9228. procedure setCNIEB13; inline;
  9229. procedure setCNIEB14; inline;
  9230. procedure setCNIEB15; inline;
  9231. procedure setCNIEB1; inline;
  9232. procedure setCNIEB2; inline;
  9233. procedure setCNIEB3; inline;
  9234. procedure setCNIEB4; inline;
  9235. procedure setCNIEB5; inline;
  9236. procedure setCNIEB7; inline;
  9237. procedure setCNIEB8; inline;
  9238. procedure setCNIEB9; inline;
  9239. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  9240. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  9241. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  9242. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  9243. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  9244. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  9245. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  9246. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  9247. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  9248. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  9249. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  9250. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  9251. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  9252. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  9253. property w : TBits_32 read getw write setw;
  9254. end;
  9255. TPORTB_CNSTATB = record
  9256. private
  9257. function getCNSTATB0 : TBits_1; inline;
  9258. function getCNSTATB1 : TBits_1; inline;
  9259. function getCNSTATB10 : TBits_1; inline;
  9260. function getCNSTATB11 : TBits_1; inline;
  9261. function getCNSTATB13 : TBits_1; inline;
  9262. function getCNSTATB14 : TBits_1; inline;
  9263. function getCNSTATB15 : TBits_1; inline;
  9264. function getCNSTATB2 : TBits_1; inline;
  9265. function getCNSTATB3 : TBits_1; inline;
  9266. function getCNSTATB4 : TBits_1; inline;
  9267. function getCNSTATB5 : TBits_1; inline;
  9268. function getCNSTATB7 : TBits_1; inline;
  9269. function getCNSTATB8 : TBits_1; inline;
  9270. function getCNSTATB9 : TBits_1; inline;
  9271. function getw : TBits_32; inline;
  9272. procedure setCNSTATB0(thebits : TBits_1); inline;
  9273. procedure setCNSTATB1(thebits : TBits_1); inline;
  9274. procedure setCNSTATB10(thebits : TBits_1); inline;
  9275. procedure setCNSTATB11(thebits : TBits_1); inline;
  9276. procedure setCNSTATB13(thebits : TBits_1); inline;
  9277. procedure setCNSTATB14(thebits : TBits_1); inline;
  9278. procedure setCNSTATB15(thebits : TBits_1); inline;
  9279. procedure setCNSTATB2(thebits : TBits_1); inline;
  9280. procedure setCNSTATB3(thebits : TBits_1); inline;
  9281. procedure setCNSTATB4(thebits : TBits_1); inline;
  9282. procedure setCNSTATB5(thebits : TBits_1); inline;
  9283. procedure setCNSTATB7(thebits : TBits_1); inline;
  9284. procedure setCNSTATB8(thebits : TBits_1); inline;
  9285. procedure setCNSTATB9(thebits : TBits_1); inline;
  9286. procedure setw(thebits : TBits_32); inline;
  9287. public
  9288. procedure clearCNSTATB0; inline;
  9289. procedure clearCNSTATB10; inline;
  9290. procedure clearCNSTATB11; inline;
  9291. procedure clearCNSTATB13; inline;
  9292. procedure clearCNSTATB14; inline;
  9293. procedure clearCNSTATB15; inline;
  9294. procedure clearCNSTATB1; inline;
  9295. procedure clearCNSTATB2; inline;
  9296. procedure clearCNSTATB3; inline;
  9297. procedure clearCNSTATB4; inline;
  9298. procedure clearCNSTATB5; inline;
  9299. procedure clearCNSTATB7; inline;
  9300. procedure clearCNSTATB8; inline;
  9301. procedure clearCNSTATB9; inline;
  9302. procedure setCNSTATB0; inline;
  9303. procedure setCNSTATB10; inline;
  9304. procedure setCNSTATB11; inline;
  9305. procedure setCNSTATB13; inline;
  9306. procedure setCNSTATB14; inline;
  9307. procedure setCNSTATB15; inline;
  9308. procedure setCNSTATB1; inline;
  9309. procedure setCNSTATB2; inline;
  9310. procedure setCNSTATB3; inline;
  9311. procedure setCNSTATB4; inline;
  9312. procedure setCNSTATB5; inline;
  9313. procedure setCNSTATB7; inline;
  9314. procedure setCNSTATB8; inline;
  9315. procedure setCNSTATB9; inline;
  9316. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  9317. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  9318. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  9319. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  9320. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  9321. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  9322. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  9323. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  9324. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  9325. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  9326. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  9327. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  9328. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  9329. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  9330. property w : TBits_32 read getw write setw;
  9331. end;
  9332. type
  9333. TPORTBRegisters = record
  9334. ANSELBbits : TPORTB_ANSELB;
  9335. ANSELB : longWord;
  9336. ANSELBCLR : longWord;
  9337. ANSELBSET : longWord;
  9338. ANSELBINV : longWord;
  9339. TRISBbits : TPORTB_TRISB;
  9340. TRISB : longWord;
  9341. TRISBCLR : longWord;
  9342. TRISBSET : longWord;
  9343. TRISBINV : longWord;
  9344. PORTBbits : TPORTB_PORTB;
  9345. PORTB : longWord;
  9346. PORTBCLR : longWord;
  9347. PORTBSET : longWord;
  9348. PORTBINV : longWord;
  9349. LATBbits : TPORTB_LATB;
  9350. LATB : longWord;
  9351. LATBCLR : longWord;
  9352. LATBSET : longWord;
  9353. LATBINV : longWord;
  9354. ODCBbits : TPORTB_ODCB;
  9355. ODCB : longWord;
  9356. ODCBCLR : longWord;
  9357. ODCBSET : longWord;
  9358. ODCBINV : longWord;
  9359. CNPUBbits : TPORTB_CNPUB;
  9360. CNPUB : longWord;
  9361. CNPUBCLR : longWord;
  9362. CNPUBSET : longWord;
  9363. CNPUBINV : longWord;
  9364. CNPDBbits : TPORTB_CNPDB;
  9365. CNPDB : longWord;
  9366. CNPDBCLR : longWord;
  9367. CNPDBSET : longWord;
  9368. CNPDBINV : longWord;
  9369. CNCONBbits : TPORTB_CNCONB;
  9370. CNCONB : longWord;
  9371. CNCONBCLR : longWord;
  9372. CNCONBSET : longWord;
  9373. CNCONBINV : longWord;
  9374. CNENBbits : TPORTB_CNENB;
  9375. CNENB : longWord;
  9376. CNENBCLR : longWord;
  9377. CNENBSET : longWord;
  9378. CNENBINV : longWord;
  9379. CNSTATBbits : TPORTB_CNSTATB;
  9380. CNSTATB : longWord;
  9381. CNSTATBCLR : longWord;
  9382. CNSTATBSET : longWord;
  9383. CNSTATBINV : longWord;
  9384. end;
  9385. TDEVCFG_DEVCFG3 = record
  9386. private
  9387. function getFUSBIDIO : TBits_1; inline;
  9388. function getFVBUSONIO : TBits_1; inline;
  9389. function getIOL1WAY : TBits_1; inline;
  9390. function getPMDL1WAY : TBits_1; inline;
  9391. function getUSERID : TBits_16; inline;
  9392. function getw : TBits_32; inline;
  9393. procedure setFUSBIDIO(thebits : TBits_1); inline;
  9394. procedure setFVBUSONIO(thebits : TBits_1); inline;
  9395. procedure setIOL1WAY(thebits : TBits_1); inline;
  9396. procedure setPMDL1WAY(thebits : TBits_1); inline;
  9397. procedure setUSERID(thebits : TBits_16); inline;
  9398. procedure setw(thebits : TBits_32); inline;
  9399. public
  9400. procedure clearFUSBIDIO; inline;
  9401. procedure clearFVBUSONIO; inline;
  9402. procedure clearIOL1WAY; inline;
  9403. procedure clearPMDL1WAY; inline;
  9404. procedure setFUSBIDIO; inline;
  9405. procedure setFVBUSONIO; inline;
  9406. procedure setIOL1WAY; inline;
  9407. procedure setPMDL1WAY; inline;
  9408. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  9409. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  9410. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  9411. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  9412. property USERID : TBits_16 read getUSERID write setUSERID;
  9413. property w : TBits_32 read getw write setw;
  9414. end;
  9415. TDEVCFG_DEVCFG2 = record
  9416. private
  9417. function getFPLLIDIV : TBits_3; inline;
  9418. function getFPLLMUL : TBits_3; inline;
  9419. function getFPLLODIV : TBits_3; inline;
  9420. function getUPLLEN : TBits_1; inline;
  9421. function getUPLLIDIV : TBits_3; inline;
  9422. function getw : TBits_32; inline;
  9423. procedure setFPLLIDIV(thebits : TBits_3); inline;
  9424. procedure setFPLLMUL(thebits : TBits_3); inline;
  9425. procedure setFPLLODIV(thebits : TBits_3); inline;
  9426. procedure setUPLLEN(thebits : TBits_1); inline;
  9427. procedure setUPLLIDIV(thebits : TBits_3); inline;
  9428. procedure setw(thebits : TBits_32); inline;
  9429. public
  9430. procedure clearUPLLEN; inline;
  9431. procedure setUPLLEN; inline;
  9432. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  9433. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  9434. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  9435. property UPLLEN : TBits_1 read getUPLLEN write setUPLLEN;
  9436. property UPLLIDIV : TBits_3 read getUPLLIDIV write setUPLLIDIV;
  9437. property w : TBits_32 read getw write setw;
  9438. end;
  9439. TDEVCFG_DEVCFG1 = record
  9440. private
  9441. function getFCKSM : TBits_2; inline;
  9442. function getFNOSC : TBits_3; inline;
  9443. function getFPBDIV : TBits_2; inline;
  9444. function getFSOSCEN : TBits_1; inline;
  9445. function getFWDTEN : TBits_1; inline;
  9446. function getFWDTWINSZ : TBits_2; inline;
  9447. function getIESO : TBits_1; inline;
  9448. function getOSCIOFNC : TBits_1; inline;
  9449. function getPOSCMOD : TBits_2; inline;
  9450. function getWDTPS : TBits_5; inline;
  9451. function getWINDIS : TBits_1; inline;
  9452. function getw : TBits_32; inline;
  9453. procedure setFCKSM(thebits : TBits_2); inline;
  9454. procedure setFNOSC(thebits : TBits_3); inline;
  9455. procedure setFPBDIV(thebits : TBits_2); inline;
  9456. procedure setFSOSCEN(thebits : TBits_1); inline;
  9457. procedure setFWDTEN(thebits : TBits_1); inline;
  9458. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  9459. procedure setIESO(thebits : TBits_1); inline;
  9460. procedure setOSCIOFNC(thebits : TBits_1); inline;
  9461. procedure setPOSCMOD(thebits : TBits_2); inline;
  9462. procedure setWDTPS(thebits : TBits_5); inline;
  9463. procedure setWINDIS(thebits : TBits_1); inline;
  9464. procedure setw(thebits : TBits_32); inline;
  9465. public
  9466. procedure clearFSOSCEN; inline;
  9467. procedure clearFWDTEN; inline;
  9468. procedure clearIESO; inline;
  9469. procedure clearOSCIOFNC; inline;
  9470. procedure clearWINDIS; inline;
  9471. procedure setFSOSCEN; inline;
  9472. procedure setFWDTEN; inline;
  9473. procedure setIESO; inline;
  9474. procedure setOSCIOFNC; inline;
  9475. procedure setWINDIS; inline;
  9476. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  9477. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  9478. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  9479. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  9480. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  9481. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  9482. property IESO : TBits_1 read getIESO write setIESO;
  9483. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  9484. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  9485. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  9486. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  9487. property w : TBits_32 read getw write setw;
  9488. end;
  9489. TDEVCFG_DEVCFG0 = record
  9490. private
  9491. function getBWP : TBits_1; inline;
  9492. function getCP : TBits_1; inline;
  9493. function getDEBUG : TBits_2; inline;
  9494. function getFDEBUG : TBits_2; inline;
  9495. function getICESEL : TBits_2; inline;
  9496. function getJTAGEN : TBits_1; inline;
  9497. function getPWP : TBits_9; inline;
  9498. function getw : TBits_32; inline;
  9499. procedure setBWP(thebits : TBits_1); inline;
  9500. procedure setCP(thebits : TBits_1); inline;
  9501. procedure setDEBUG(thebits : TBits_2); inline;
  9502. procedure setFDEBUG(thebits : TBits_2); inline;
  9503. procedure setICESEL(thebits : TBits_2); inline;
  9504. procedure setJTAGEN(thebits : TBits_1); inline;
  9505. procedure setPWP(thebits : TBits_9); inline;
  9506. procedure setw(thebits : TBits_32); inline;
  9507. public
  9508. procedure clearBWP; inline;
  9509. procedure clearCP; inline;
  9510. procedure clearJTAGEN; inline;
  9511. procedure setBWP; inline;
  9512. procedure setCP; inline;
  9513. procedure setJTAGEN; inline;
  9514. property BWP : TBits_1 read getBWP write setBWP;
  9515. property CP : TBits_1 read getCP write setCP;
  9516. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  9517. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  9518. property ICESEL : TBits_2 read getICESEL write setICESEL;
  9519. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  9520. property PWP : TBits_9 read getPWP write setPWP;
  9521. property w : TBits_32 read getw write setw;
  9522. end;
  9523. const
  9524. _CORE_TIMER_IRQ = 0;
  9525. _CORE_SOFTWARE_0_IRQ = 1;
  9526. _CORE_SOFTWARE_1_IRQ = 2;
  9527. _EXTERNAL_0_IRQ = 3;
  9528. _TIMER_1_IRQ = 4;
  9529. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  9530. _INPUT_CAPTURE_1_IRQ = 6;
  9531. _OUTPUT_COMPARE_1_IRQ = 7;
  9532. _EXTERNAL_1_IRQ = 8;
  9533. _TIMER_2_IRQ = 9;
  9534. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  9535. _INPUT_CAPTURE_2_IRQ = 11;
  9536. _OUTPUT_COMPARE_2_IRQ = 12;
  9537. _EXTERNAL_2_IRQ = 13;
  9538. _TIMER_3_IRQ = 14;
  9539. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  9540. _INPUT_CAPTURE_3_IRQ = 16;
  9541. _OUTPUT_COMPARE_3_IRQ = 17;
  9542. _EXTERNAL_3_IRQ = 18;
  9543. _TIMER_4_IRQ = 19;
  9544. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  9545. _INPUT_CAPTURE_4_IRQ = 21;
  9546. _OUTPUT_COMPARE_4_IRQ = 22;
  9547. _EXTERNAL_4_IRQ = 23;
  9548. _TIMER_5_IRQ = 24;
  9549. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  9550. _INPUT_CAPTURE_5_IRQ = 26;
  9551. _OUTPUT_COMPARE_5_IRQ = 27;
  9552. _ADC_IRQ = 28;
  9553. _FAIL_SAFE_MONITOR_IRQ = 29;
  9554. _RTCC_IRQ = 30;
  9555. _FLASH_CONTROL_IRQ = 31;
  9556. _COMPARATOR_1_IRQ = 32;
  9557. _COMPARATOR_2_IRQ = 33;
  9558. _COMPARATOR_3_IRQ = 34;
  9559. _USB_IRQ = 35;
  9560. _SPI1_ERR_IRQ = 36;
  9561. _SPI1_RX_IRQ = 37;
  9562. _SPI1_TX_IRQ = 38;
  9563. _UART1_ERR_IRQ = 39;
  9564. _UART1_RX_IRQ = 40;
  9565. _UART1_TX_IRQ = 41;
  9566. _I2C1_BUS_IRQ = 42;
  9567. _I2C1_SLAVE_IRQ = 43;
  9568. _I2C1_MASTER_IRQ = 44;
  9569. _CHANGE_NOTICE_A_IRQ = 45;
  9570. _CHANGE_NOTICE_B_IRQ = 46;
  9571. _CHANGE_NOTICE_C_IRQ = 47;
  9572. _PMP_IRQ = 48;
  9573. _PMP_ERROR_IRQ = 49;
  9574. _SPI2_ERR_IRQ = 50;
  9575. _SPI2_RX_IRQ = 51;
  9576. _SPI2_TX_IRQ = 52;
  9577. _UART2_ERR_IRQ = 53;
  9578. _UART2_RX_IRQ = 54;
  9579. _UART2_TX_IRQ = 55;
  9580. _I2C2_BUS_IRQ = 56;
  9581. _I2C2_SLAVE_IRQ = 57;
  9582. _I2C2_MASTER_IRQ = 58;
  9583. _CTMU_IRQ = 59;
  9584. _DMA0_IRQ = 60;
  9585. _DMA1_IRQ = 61;
  9586. _DMA2_IRQ = 62;
  9587. _DMA3_IRQ = 63;
  9588. const
  9589. ADC10_BASE_ADDRESS = $BF809000;
  9590. var
  9591. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  9592. const
  9593. BMX_BASE_ADDRESS = $BF882000;
  9594. var
  9595. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  9596. const
  9597. CFG_BASE_ADDRESS = $BF80F200;
  9598. var
  9599. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  9600. const
  9601. CMP_BASE_ADDRESS = $BF80A000;
  9602. var
  9603. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  9604. const
  9605. CVR_BASE_ADDRESS = $BF809800;
  9606. var
  9607. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  9608. const
  9609. DMAC_BASE_ADDRESS = $BF883000;
  9610. var
  9611. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  9612. const
  9613. DMAC0_BASE_ADDRESS = $BF883060;
  9614. var
  9615. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  9616. const
  9617. DMAC1_BASE_ADDRESS = $BF883120;
  9618. var
  9619. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  9620. const
  9621. DMAC2_BASE_ADDRESS = $BF8831E0;
  9622. var
  9623. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  9624. const
  9625. DMAC3_BASE_ADDRESS = $BF8832A0;
  9626. var
  9627. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  9628. const
  9629. I2C1_BASE_ADDRESS = $BF805000;
  9630. var
  9631. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  9632. const
  9633. I2C2_BASE_ADDRESS = $BF805100;
  9634. var
  9635. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  9636. const
  9637. ICAP1_BASE_ADDRESS = $BF802000;
  9638. var
  9639. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  9640. const
  9641. ICAP2_BASE_ADDRESS = $BF802200;
  9642. var
  9643. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  9644. const
  9645. ICAP3_BASE_ADDRESS = $BF802400;
  9646. var
  9647. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  9648. const
  9649. ICAP4_BASE_ADDRESS = $BF802600;
  9650. var
  9651. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  9652. const
  9653. ICAP5_BASE_ADDRESS = $BF802800;
  9654. var
  9655. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  9656. const
  9657. INT_BASE_ADDRESS = $BF881000;
  9658. var
  9659. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  9660. const
  9661. NVM_BASE_ADDRESS = $BF80F400;
  9662. var
  9663. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  9664. const
  9665. OCMP1_BASE_ADDRESS = $BF803000;
  9666. var
  9667. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  9668. const
  9669. OCMP2_BASE_ADDRESS = $BF803200;
  9670. var
  9671. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  9672. const
  9673. OCMP3_BASE_ADDRESS = $BF803400;
  9674. var
  9675. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  9676. const
  9677. OCMP4_BASE_ADDRESS = $BF803600;
  9678. var
  9679. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  9680. const
  9681. OCMP5_BASE_ADDRESS = $BF803800;
  9682. var
  9683. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  9684. const
  9685. OSC_BASE_ADDRESS = $BF80F000;
  9686. var
  9687. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  9688. const
  9689. PMP_BASE_ADDRESS = $BF807000;
  9690. var
  9691. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  9692. const
  9693. PORTA_BASE_ADDRESS = $BF886000;
  9694. var
  9695. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  9696. const
  9697. PORTB_BASE_ADDRESS = $BF886100;
  9698. var
  9699. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  9700. const
  9701. RCON_BASE_ADDRESS = $BF80F600;
  9702. var
  9703. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  9704. const
  9705. RTCC_BASE_ADDRESS = $BF800200;
  9706. var
  9707. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  9708. const
  9709. SPI1_BASE_ADDRESS = $BF805800;
  9710. var
  9711. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  9712. const
  9713. SPI2_BASE_ADDRESS = $BF805A00;
  9714. var
  9715. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  9716. const
  9717. TMR1_BASE_ADDRESS = $BF800600;
  9718. var
  9719. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  9720. const
  9721. TMR2_BASE_ADDRESS = $BF800800;
  9722. var
  9723. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  9724. const
  9725. TMR3_BASE_ADDRESS = $BF800A00;
  9726. var
  9727. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  9728. const
  9729. TMR4_BASE_ADDRESS = $BF800C00;
  9730. var
  9731. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  9732. const
  9733. TMR5_BASE_ADDRESS = $BF800E00;
  9734. var
  9735. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  9736. const
  9737. UART1_BASE_ADDRESS = $BF806000;
  9738. var
  9739. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  9740. const
  9741. UART2_BASE_ADDRESS = $BF806200;
  9742. var
  9743. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  9744. const
  9745. USB_BASE_ADDRESS = $BF885040;
  9746. var
  9747. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  9748. const
  9749. WDT_BASE_ADDRESS = $BF800000;
  9750. var
  9751. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  9752. implementation
  9753. type
  9754. TDefRegMap = record
  9755. val : longWord;
  9756. clr : longWord;
  9757. &set : longWord;
  9758. inv : longWord;
  9759. end;
  9760. pTDefRegMap = ^TDefRegMap;
  9761. procedure TWDT_WDTCON.setWDTCLR; inline;
  9762. begin
  9763. pTDefRegMap(@Self)^.&set := $00000001;
  9764. end;
  9765. procedure TWDT_WDTCON.clearWDTCLR; inline;
  9766. begin
  9767. pTDefRegMap(@Self)^.clr := $00000001;
  9768. end;
  9769. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  9770. begin
  9771. if thebits = 0 then
  9772. pTDefRegMap(@Self)^.clr := $00000001
  9773. else
  9774. pTDefRegMap(@Self)^.&set := $00000001;
  9775. end;
  9776. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  9777. begin
  9778. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9779. end;
  9780. procedure TWDT_WDTCON.setWDTWINEN; inline;
  9781. begin
  9782. pTDefRegMap(@Self)^.&set := $00000002;
  9783. end;
  9784. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  9785. begin
  9786. pTDefRegMap(@Self)^.clr := $00000002;
  9787. end;
  9788. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  9789. begin
  9790. if thebits = 0 then
  9791. pTDefRegMap(@Self)^.clr := $00000002
  9792. else
  9793. pTDefRegMap(@Self)^.&set := $00000002;
  9794. end;
  9795. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  9796. begin
  9797. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9798. end;
  9799. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  9800. begin
  9801. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  9802. end;
  9803. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  9804. begin
  9805. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  9806. end;
  9807. procedure TWDT_WDTCON.setON; inline;
  9808. begin
  9809. pTDefRegMap(@Self)^.&set := $00008000;
  9810. end;
  9811. procedure TWDT_WDTCON.clearON; inline;
  9812. begin
  9813. pTDefRegMap(@Self)^.clr := $00008000;
  9814. end;
  9815. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  9816. begin
  9817. if thebits = 0 then
  9818. pTDefRegMap(@Self)^.clr := $00008000
  9819. else
  9820. pTDefRegMap(@Self)^.&set := $00008000;
  9821. end;
  9822. function TWDT_WDTCON.getON : TBits_1; inline;
  9823. begin
  9824. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9825. end;
  9826. procedure TWDT_WDTCON.setSWDTPS0; inline;
  9827. begin
  9828. pTDefRegMap(@Self)^.&set := $00000004;
  9829. end;
  9830. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  9831. begin
  9832. pTDefRegMap(@Self)^.clr := $00000004;
  9833. end;
  9834. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  9835. begin
  9836. if thebits = 0 then
  9837. pTDefRegMap(@Self)^.clr := $00000004
  9838. else
  9839. pTDefRegMap(@Self)^.&set := $00000004;
  9840. end;
  9841. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  9842. begin
  9843. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9844. end;
  9845. procedure TWDT_WDTCON.setSWDTPS1; inline;
  9846. begin
  9847. pTDefRegMap(@Self)^.&set := $00000008;
  9848. end;
  9849. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  9850. begin
  9851. pTDefRegMap(@Self)^.clr := $00000008;
  9852. end;
  9853. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  9854. begin
  9855. if thebits = 0 then
  9856. pTDefRegMap(@Self)^.clr := $00000008
  9857. else
  9858. pTDefRegMap(@Self)^.&set := $00000008;
  9859. end;
  9860. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  9861. begin
  9862. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9863. end;
  9864. procedure TWDT_WDTCON.setSWDTPS2; inline;
  9865. begin
  9866. pTDefRegMap(@Self)^.&set := $00000010;
  9867. end;
  9868. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  9869. begin
  9870. pTDefRegMap(@Self)^.clr := $00000010;
  9871. end;
  9872. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  9873. begin
  9874. if thebits = 0 then
  9875. pTDefRegMap(@Self)^.clr := $00000010
  9876. else
  9877. pTDefRegMap(@Self)^.&set := $00000010;
  9878. end;
  9879. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  9880. begin
  9881. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9882. end;
  9883. procedure TWDT_WDTCON.setSWDTPS3; inline;
  9884. begin
  9885. pTDefRegMap(@Self)^.&set := $00000020;
  9886. end;
  9887. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  9888. begin
  9889. pTDefRegMap(@Self)^.clr := $00000020;
  9890. end;
  9891. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  9892. begin
  9893. if thebits = 0 then
  9894. pTDefRegMap(@Self)^.clr := $00000020
  9895. else
  9896. pTDefRegMap(@Self)^.&set := $00000020;
  9897. end;
  9898. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  9899. begin
  9900. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9901. end;
  9902. procedure TWDT_WDTCON.setSWDTPS4; inline;
  9903. begin
  9904. pTDefRegMap(@Self)^.&set := $00000040;
  9905. end;
  9906. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  9907. begin
  9908. pTDefRegMap(@Self)^.clr := $00000040;
  9909. end;
  9910. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  9911. begin
  9912. if thebits = 0 then
  9913. pTDefRegMap(@Self)^.clr := $00000040
  9914. else
  9915. pTDefRegMap(@Self)^.&set := $00000040;
  9916. end;
  9917. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  9918. begin
  9919. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9920. end;
  9921. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  9922. begin
  9923. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  9924. end;
  9925. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  9926. begin
  9927. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  9928. end;
  9929. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  9930. begin
  9931. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  9932. end;
  9933. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  9934. begin
  9935. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  9936. end;
  9937. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  9938. begin
  9939. pTDefRegMap(@Self)^.val := thebits;
  9940. end;
  9941. function TWDT_WDTCON.getw : TBits_32; inline;
  9942. begin
  9943. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9944. end;
  9945. procedure TRTCC_RTCCON.setRTCOE; inline;
  9946. begin
  9947. pTDefRegMap(@Self)^.&set := $00000001;
  9948. end;
  9949. procedure TRTCC_RTCCON.clearRTCOE; inline;
  9950. begin
  9951. pTDefRegMap(@Self)^.clr := $00000001;
  9952. end;
  9953. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  9954. begin
  9955. if thebits = 0 then
  9956. pTDefRegMap(@Self)^.clr := $00000001
  9957. else
  9958. pTDefRegMap(@Self)^.&set := $00000001;
  9959. end;
  9960. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  9961. begin
  9962. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9963. end;
  9964. procedure TRTCC_RTCCON.setHALFSEC; inline;
  9965. begin
  9966. pTDefRegMap(@Self)^.&set := $00000002;
  9967. end;
  9968. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  9969. begin
  9970. pTDefRegMap(@Self)^.clr := $00000002;
  9971. end;
  9972. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  9973. begin
  9974. if thebits = 0 then
  9975. pTDefRegMap(@Self)^.clr := $00000002
  9976. else
  9977. pTDefRegMap(@Self)^.&set := $00000002;
  9978. end;
  9979. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  9980. begin
  9981. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9982. end;
  9983. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  9984. begin
  9985. pTDefRegMap(@Self)^.&set := $00000004;
  9986. end;
  9987. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  9988. begin
  9989. pTDefRegMap(@Self)^.clr := $00000004;
  9990. end;
  9991. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  9992. begin
  9993. if thebits = 0 then
  9994. pTDefRegMap(@Self)^.clr := $00000004
  9995. else
  9996. pTDefRegMap(@Self)^.&set := $00000004;
  9997. end;
  9998. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  9999. begin
  10000. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10001. end;
  10002. procedure TRTCC_RTCCON.setRTCWREN; inline;
  10003. begin
  10004. pTDefRegMap(@Self)^.&set := $00000008;
  10005. end;
  10006. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  10007. begin
  10008. pTDefRegMap(@Self)^.clr := $00000008;
  10009. end;
  10010. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  10011. begin
  10012. if thebits = 0 then
  10013. pTDefRegMap(@Self)^.clr := $00000008
  10014. else
  10015. pTDefRegMap(@Self)^.&set := $00000008;
  10016. end;
  10017. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  10018. begin
  10019. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10020. end;
  10021. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  10022. begin
  10023. pTDefRegMap(@Self)^.&set := $00000040;
  10024. end;
  10025. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  10026. begin
  10027. pTDefRegMap(@Self)^.clr := $00000040;
  10028. end;
  10029. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  10030. begin
  10031. if thebits = 0 then
  10032. pTDefRegMap(@Self)^.clr := $00000040
  10033. else
  10034. pTDefRegMap(@Self)^.&set := $00000040;
  10035. end;
  10036. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  10037. begin
  10038. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10039. end;
  10040. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  10041. begin
  10042. pTDefRegMap(@Self)^.&set := $00000080;
  10043. end;
  10044. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  10045. begin
  10046. pTDefRegMap(@Self)^.clr := $00000080;
  10047. end;
  10048. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  10049. begin
  10050. if thebits = 0 then
  10051. pTDefRegMap(@Self)^.clr := $00000080
  10052. else
  10053. pTDefRegMap(@Self)^.&set := $00000080;
  10054. end;
  10055. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  10056. begin
  10057. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10058. end;
  10059. procedure TRTCC_RTCCON.setSIDL; inline;
  10060. begin
  10061. pTDefRegMap(@Self)^.&set := $00002000;
  10062. end;
  10063. procedure TRTCC_RTCCON.clearSIDL; inline;
  10064. begin
  10065. pTDefRegMap(@Self)^.clr := $00002000;
  10066. end;
  10067. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  10068. begin
  10069. if thebits = 0 then
  10070. pTDefRegMap(@Self)^.clr := $00002000
  10071. else
  10072. pTDefRegMap(@Self)^.&set := $00002000;
  10073. end;
  10074. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  10075. begin
  10076. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10077. end;
  10078. procedure TRTCC_RTCCON.setON; inline;
  10079. begin
  10080. pTDefRegMap(@Self)^.&set := $00008000;
  10081. end;
  10082. procedure TRTCC_RTCCON.clearON; inline;
  10083. begin
  10084. pTDefRegMap(@Self)^.clr := $00008000;
  10085. end;
  10086. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  10087. begin
  10088. if thebits = 0 then
  10089. pTDefRegMap(@Self)^.clr := $00008000
  10090. else
  10091. pTDefRegMap(@Self)^.&set := $00008000;
  10092. end;
  10093. function TRTCC_RTCCON.getON : TBits_1; inline;
  10094. begin
  10095. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10096. end;
  10097. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  10098. begin
  10099. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  10100. end;
  10101. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  10102. begin
  10103. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  10104. end;
  10105. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  10106. begin
  10107. pTDefRegMap(@Self)^.val := thebits;
  10108. end;
  10109. function TRTCC_RTCCON.getw : TBits_32; inline;
  10110. begin
  10111. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10112. end;
  10113. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  10114. begin
  10115. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  10116. end;
  10117. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  10118. begin
  10119. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  10120. end;
  10121. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  10122. begin
  10123. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10124. end;
  10125. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  10126. begin
  10127. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10128. end;
  10129. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  10130. begin
  10131. pTDefRegMap(@Self)^.&set := $00001000;
  10132. end;
  10133. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  10134. begin
  10135. pTDefRegMap(@Self)^.clr := $00001000;
  10136. end;
  10137. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  10138. begin
  10139. if thebits = 0 then
  10140. pTDefRegMap(@Self)^.clr := $00001000
  10141. else
  10142. pTDefRegMap(@Self)^.&set := $00001000;
  10143. end;
  10144. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  10145. begin
  10146. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10147. end;
  10148. procedure TRTCC_RTCALRM.setPIV; inline;
  10149. begin
  10150. pTDefRegMap(@Self)^.&set := $00002000;
  10151. end;
  10152. procedure TRTCC_RTCALRM.clearPIV; inline;
  10153. begin
  10154. pTDefRegMap(@Self)^.clr := $00002000;
  10155. end;
  10156. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  10157. begin
  10158. if thebits = 0 then
  10159. pTDefRegMap(@Self)^.clr := $00002000
  10160. else
  10161. pTDefRegMap(@Self)^.&set := $00002000;
  10162. end;
  10163. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  10164. begin
  10165. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10166. end;
  10167. procedure TRTCC_RTCALRM.setCHIME; inline;
  10168. begin
  10169. pTDefRegMap(@Self)^.&set := $00004000;
  10170. end;
  10171. procedure TRTCC_RTCALRM.clearCHIME; inline;
  10172. begin
  10173. pTDefRegMap(@Self)^.clr := $00004000;
  10174. end;
  10175. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  10176. begin
  10177. if thebits = 0 then
  10178. pTDefRegMap(@Self)^.clr := $00004000
  10179. else
  10180. pTDefRegMap(@Self)^.&set := $00004000;
  10181. end;
  10182. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  10183. begin
  10184. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  10185. end;
  10186. procedure TRTCC_RTCALRM.setALRMEN; inline;
  10187. begin
  10188. pTDefRegMap(@Self)^.&set := $00008000;
  10189. end;
  10190. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  10191. begin
  10192. pTDefRegMap(@Self)^.clr := $00008000;
  10193. end;
  10194. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  10195. begin
  10196. if thebits = 0 then
  10197. pTDefRegMap(@Self)^.clr := $00008000
  10198. else
  10199. pTDefRegMap(@Self)^.&set := $00008000;
  10200. end;
  10201. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  10202. begin
  10203. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10204. end;
  10205. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  10206. begin
  10207. pTDefRegMap(@Self)^.val := thebits;
  10208. end;
  10209. function TRTCC_RTCALRM.getw : TBits_32; inline;
  10210. begin
  10211. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10212. end;
  10213. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  10214. begin
  10215. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10216. end;
  10217. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  10218. begin
  10219. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10220. end;
  10221. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  10222. begin
  10223. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10224. end;
  10225. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  10226. begin
  10227. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10228. end;
  10229. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  10230. begin
  10231. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10232. end;
  10233. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  10234. begin
  10235. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10236. end;
  10237. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  10238. begin
  10239. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10240. end;
  10241. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  10242. begin
  10243. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10244. end;
  10245. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  10246. begin
  10247. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10248. end;
  10249. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  10250. begin
  10251. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10252. end;
  10253. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  10254. begin
  10255. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10256. end;
  10257. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  10258. begin
  10259. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10260. end;
  10261. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  10262. begin
  10263. pTDefRegMap(@Self)^.val := thebits;
  10264. end;
  10265. function TRTCC_RTCTIME.getw : TBits_32; inline;
  10266. begin
  10267. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10268. end;
  10269. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  10270. begin
  10271. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10272. end;
  10273. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  10274. begin
  10275. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10276. end;
  10277. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  10278. begin
  10279. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10280. end;
  10281. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  10282. begin
  10283. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10284. end;
  10285. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  10286. begin
  10287. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10288. end;
  10289. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  10290. begin
  10291. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10292. end;
  10293. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  10294. begin
  10295. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10296. end;
  10297. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  10298. begin
  10299. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10300. end;
  10301. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  10302. begin
  10303. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10304. end;
  10305. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  10306. begin
  10307. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10308. end;
  10309. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  10310. begin
  10311. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10312. end;
  10313. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  10314. begin
  10315. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10316. end;
  10317. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  10318. begin
  10319. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10320. end;
  10321. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  10322. begin
  10323. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10324. end;
  10325. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  10326. begin
  10327. pTDefRegMap(@Self)^.val := thebits;
  10328. end;
  10329. function TRTCC_RTCDATE.getw : TBits_32; inline;
  10330. begin
  10331. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10332. end;
  10333. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  10334. begin
  10335. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10336. end;
  10337. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  10338. begin
  10339. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10340. end;
  10341. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  10342. begin
  10343. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10344. end;
  10345. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  10346. begin
  10347. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10348. end;
  10349. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  10350. begin
  10351. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10352. end;
  10353. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  10354. begin
  10355. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10356. end;
  10357. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  10358. begin
  10359. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10360. end;
  10361. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  10362. begin
  10363. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10364. end;
  10365. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  10366. begin
  10367. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10368. end;
  10369. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  10370. begin
  10371. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10372. end;
  10373. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  10374. begin
  10375. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10376. end;
  10377. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  10378. begin
  10379. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10380. end;
  10381. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  10382. begin
  10383. pTDefRegMap(@Self)^.val := thebits;
  10384. end;
  10385. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  10386. begin
  10387. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10388. end;
  10389. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  10390. begin
  10391. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10392. end;
  10393. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  10394. begin
  10395. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10396. end;
  10397. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  10398. begin
  10399. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10400. end;
  10401. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  10402. begin
  10403. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10404. end;
  10405. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  10406. begin
  10407. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10408. end;
  10409. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  10410. begin
  10411. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10412. end;
  10413. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  10414. begin
  10415. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10416. end;
  10417. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  10418. begin
  10419. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10420. end;
  10421. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  10422. begin
  10423. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10424. end;
  10425. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  10426. begin
  10427. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10428. end;
  10429. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  10430. begin
  10431. pTDefRegMap(@Self)^.val := thebits;
  10432. end;
  10433. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  10434. begin
  10435. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10436. end;
  10437. procedure TTMR1_T1CON.setTCS; inline;
  10438. begin
  10439. pTDefRegMap(@Self)^.&set := $00000002;
  10440. end;
  10441. procedure TTMR1_T1CON.clearTCS; inline;
  10442. begin
  10443. pTDefRegMap(@Self)^.clr := $00000002;
  10444. end;
  10445. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  10446. begin
  10447. if thebits = 0 then
  10448. pTDefRegMap(@Self)^.clr := $00000002
  10449. else
  10450. pTDefRegMap(@Self)^.&set := $00000002;
  10451. end;
  10452. function TTMR1_T1CON.getTCS : TBits_1; inline;
  10453. begin
  10454. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10455. end;
  10456. procedure TTMR1_T1CON.setTSYNC; inline;
  10457. begin
  10458. pTDefRegMap(@Self)^.&set := $00000004;
  10459. end;
  10460. procedure TTMR1_T1CON.clearTSYNC; inline;
  10461. begin
  10462. pTDefRegMap(@Self)^.clr := $00000004;
  10463. end;
  10464. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  10465. begin
  10466. if thebits = 0 then
  10467. pTDefRegMap(@Self)^.clr := $00000004
  10468. else
  10469. pTDefRegMap(@Self)^.&set := $00000004;
  10470. end;
  10471. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  10472. begin
  10473. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10474. end;
  10475. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  10476. begin
  10477. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  10478. end;
  10479. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  10480. begin
  10481. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  10482. end;
  10483. procedure TTMR1_T1CON.setTGATE; inline;
  10484. begin
  10485. pTDefRegMap(@Self)^.&set := $00000080;
  10486. end;
  10487. procedure TTMR1_T1CON.clearTGATE; inline;
  10488. begin
  10489. pTDefRegMap(@Self)^.clr := $00000080;
  10490. end;
  10491. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  10492. begin
  10493. if thebits = 0 then
  10494. pTDefRegMap(@Self)^.clr := $00000080
  10495. else
  10496. pTDefRegMap(@Self)^.&set := $00000080;
  10497. end;
  10498. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  10499. begin
  10500. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10501. end;
  10502. procedure TTMR1_T1CON.setTWIP; inline;
  10503. begin
  10504. pTDefRegMap(@Self)^.&set := $00000800;
  10505. end;
  10506. procedure TTMR1_T1CON.clearTWIP; inline;
  10507. begin
  10508. pTDefRegMap(@Self)^.clr := $00000800;
  10509. end;
  10510. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  10511. begin
  10512. if thebits = 0 then
  10513. pTDefRegMap(@Self)^.clr := $00000800
  10514. else
  10515. pTDefRegMap(@Self)^.&set := $00000800;
  10516. end;
  10517. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  10518. begin
  10519. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  10520. end;
  10521. procedure TTMR1_T1CON.setTWDIS; inline;
  10522. begin
  10523. pTDefRegMap(@Self)^.&set := $00001000;
  10524. end;
  10525. procedure TTMR1_T1CON.clearTWDIS; inline;
  10526. begin
  10527. pTDefRegMap(@Self)^.clr := $00001000;
  10528. end;
  10529. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  10530. begin
  10531. if thebits = 0 then
  10532. pTDefRegMap(@Self)^.clr := $00001000
  10533. else
  10534. pTDefRegMap(@Self)^.&set := $00001000;
  10535. end;
  10536. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  10537. begin
  10538. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10539. end;
  10540. procedure TTMR1_T1CON.setSIDL; inline;
  10541. begin
  10542. pTDefRegMap(@Self)^.&set := $00002000;
  10543. end;
  10544. procedure TTMR1_T1CON.clearSIDL; inline;
  10545. begin
  10546. pTDefRegMap(@Self)^.clr := $00002000;
  10547. end;
  10548. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  10549. begin
  10550. if thebits = 0 then
  10551. pTDefRegMap(@Self)^.clr := $00002000
  10552. else
  10553. pTDefRegMap(@Self)^.&set := $00002000;
  10554. end;
  10555. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  10556. begin
  10557. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10558. end;
  10559. procedure TTMR1_T1CON.setON; inline;
  10560. begin
  10561. pTDefRegMap(@Self)^.&set := $00008000;
  10562. end;
  10563. procedure TTMR1_T1CON.clearON; inline;
  10564. begin
  10565. pTDefRegMap(@Self)^.clr := $00008000;
  10566. end;
  10567. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  10568. begin
  10569. if thebits = 0 then
  10570. pTDefRegMap(@Self)^.clr := $00008000
  10571. else
  10572. pTDefRegMap(@Self)^.&set := $00008000;
  10573. end;
  10574. function TTMR1_T1CON.getON : TBits_1; inline;
  10575. begin
  10576. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10577. end;
  10578. procedure TTMR1_T1CON.setTCKPS0; inline;
  10579. begin
  10580. pTDefRegMap(@Self)^.&set := $00000010;
  10581. end;
  10582. procedure TTMR1_T1CON.clearTCKPS0; inline;
  10583. begin
  10584. pTDefRegMap(@Self)^.clr := $00000010;
  10585. end;
  10586. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  10587. begin
  10588. if thebits = 0 then
  10589. pTDefRegMap(@Self)^.clr := $00000010
  10590. else
  10591. pTDefRegMap(@Self)^.&set := $00000010;
  10592. end;
  10593. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  10594. begin
  10595. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10596. end;
  10597. procedure TTMR1_T1CON.setTCKPS1; inline;
  10598. begin
  10599. pTDefRegMap(@Self)^.&set := $00000020;
  10600. end;
  10601. procedure TTMR1_T1CON.clearTCKPS1; inline;
  10602. begin
  10603. pTDefRegMap(@Self)^.clr := $00000020;
  10604. end;
  10605. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  10606. begin
  10607. if thebits = 0 then
  10608. pTDefRegMap(@Self)^.clr := $00000020
  10609. else
  10610. pTDefRegMap(@Self)^.&set := $00000020;
  10611. end;
  10612. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  10613. begin
  10614. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10615. end;
  10616. procedure TTMR1_T1CON.setTSIDL; inline;
  10617. begin
  10618. pTDefRegMap(@Self)^.&set := $00002000;
  10619. end;
  10620. procedure TTMR1_T1CON.clearTSIDL; inline;
  10621. begin
  10622. pTDefRegMap(@Self)^.clr := $00002000;
  10623. end;
  10624. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  10625. begin
  10626. if thebits = 0 then
  10627. pTDefRegMap(@Self)^.clr := $00002000
  10628. else
  10629. pTDefRegMap(@Self)^.&set := $00002000;
  10630. end;
  10631. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  10632. begin
  10633. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10634. end;
  10635. procedure TTMR1_T1CON.setTON; inline;
  10636. begin
  10637. pTDefRegMap(@Self)^.&set := $00008000;
  10638. end;
  10639. procedure TTMR1_T1CON.clearTON; inline;
  10640. begin
  10641. pTDefRegMap(@Self)^.clr := $00008000;
  10642. end;
  10643. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  10644. begin
  10645. if thebits = 0 then
  10646. pTDefRegMap(@Self)^.clr := $00008000
  10647. else
  10648. pTDefRegMap(@Self)^.&set := $00008000;
  10649. end;
  10650. function TTMR1_T1CON.getTON : TBits_1; inline;
  10651. begin
  10652. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10653. end;
  10654. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  10655. begin
  10656. pTDefRegMap(@Self)^.val := thebits;
  10657. end;
  10658. function TTMR1_T1CON.getw : TBits_32; inline;
  10659. begin
  10660. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10661. end;
  10662. procedure TTMR2_T2CON.setTCS; inline;
  10663. begin
  10664. pTDefRegMap(@Self)^.&set := $00000002;
  10665. end;
  10666. procedure TTMR2_T2CON.clearTCS; inline;
  10667. begin
  10668. pTDefRegMap(@Self)^.clr := $00000002;
  10669. end;
  10670. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  10671. begin
  10672. if thebits = 0 then
  10673. pTDefRegMap(@Self)^.clr := $00000002
  10674. else
  10675. pTDefRegMap(@Self)^.&set := $00000002;
  10676. end;
  10677. function TTMR2_T2CON.getTCS : TBits_1; inline;
  10678. begin
  10679. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10680. end;
  10681. procedure TTMR2_T2CON.setT32; inline;
  10682. begin
  10683. pTDefRegMap(@Self)^.&set := $00000008;
  10684. end;
  10685. procedure TTMR2_T2CON.clearT32; inline;
  10686. begin
  10687. pTDefRegMap(@Self)^.clr := $00000008;
  10688. end;
  10689. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  10690. begin
  10691. if thebits = 0 then
  10692. pTDefRegMap(@Self)^.clr := $00000008
  10693. else
  10694. pTDefRegMap(@Self)^.&set := $00000008;
  10695. end;
  10696. function TTMR2_T2CON.getT32 : TBits_1; inline;
  10697. begin
  10698. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10699. end;
  10700. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  10701. begin
  10702. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  10703. end;
  10704. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  10705. begin
  10706. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  10707. end;
  10708. procedure TTMR2_T2CON.setTGATE; inline;
  10709. begin
  10710. pTDefRegMap(@Self)^.&set := $00000080;
  10711. end;
  10712. procedure TTMR2_T2CON.clearTGATE; inline;
  10713. begin
  10714. pTDefRegMap(@Self)^.clr := $00000080;
  10715. end;
  10716. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  10717. begin
  10718. if thebits = 0 then
  10719. pTDefRegMap(@Self)^.clr := $00000080
  10720. else
  10721. pTDefRegMap(@Self)^.&set := $00000080;
  10722. end;
  10723. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  10724. begin
  10725. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10726. end;
  10727. procedure TTMR2_T2CON.setSIDL; inline;
  10728. begin
  10729. pTDefRegMap(@Self)^.&set := $00002000;
  10730. end;
  10731. procedure TTMR2_T2CON.clearSIDL; inline;
  10732. begin
  10733. pTDefRegMap(@Self)^.clr := $00002000;
  10734. end;
  10735. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  10736. begin
  10737. if thebits = 0 then
  10738. pTDefRegMap(@Self)^.clr := $00002000
  10739. else
  10740. pTDefRegMap(@Self)^.&set := $00002000;
  10741. end;
  10742. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  10743. begin
  10744. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10745. end;
  10746. procedure TTMR2_T2CON.setON; inline;
  10747. begin
  10748. pTDefRegMap(@Self)^.&set := $00008000;
  10749. end;
  10750. procedure TTMR2_T2CON.clearON; inline;
  10751. begin
  10752. pTDefRegMap(@Self)^.clr := $00008000;
  10753. end;
  10754. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  10755. begin
  10756. if thebits = 0 then
  10757. pTDefRegMap(@Self)^.clr := $00008000
  10758. else
  10759. pTDefRegMap(@Self)^.&set := $00008000;
  10760. end;
  10761. function TTMR2_T2CON.getON : TBits_1; inline;
  10762. begin
  10763. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10764. end;
  10765. procedure TTMR2_T2CON.setTCKPS0; inline;
  10766. begin
  10767. pTDefRegMap(@Self)^.&set := $00000010;
  10768. end;
  10769. procedure TTMR2_T2CON.clearTCKPS0; inline;
  10770. begin
  10771. pTDefRegMap(@Self)^.clr := $00000010;
  10772. end;
  10773. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  10774. begin
  10775. if thebits = 0 then
  10776. pTDefRegMap(@Self)^.clr := $00000010
  10777. else
  10778. pTDefRegMap(@Self)^.&set := $00000010;
  10779. end;
  10780. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  10781. begin
  10782. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10783. end;
  10784. procedure TTMR2_T2CON.setTCKPS1; inline;
  10785. begin
  10786. pTDefRegMap(@Self)^.&set := $00000020;
  10787. end;
  10788. procedure TTMR2_T2CON.clearTCKPS1; inline;
  10789. begin
  10790. pTDefRegMap(@Self)^.clr := $00000020;
  10791. end;
  10792. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  10793. begin
  10794. if thebits = 0 then
  10795. pTDefRegMap(@Self)^.clr := $00000020
  10796. else
  10797. pTDefRegMap(@Self)^.&set := $00000020;
  10798. end;
  10799. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  10800. begin
  10801. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10802. end;
  10803. procedure TTMR2_T2CON.setTCKPS2; inline;
  10804. begin
  10805. pTDefRegMap(@Self)^.&set := $00000040;
  10806. end;
  10807. procedure TTMR2_T2CON.clearTCKPS2; inline;
  10808. begin
  10809. pTDefRegMap(@Self)^.clr := $00000040;
  10810. end;
  10811. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  10812. begin
  10813. if thebits = 0 then
  10814. pTDefRegMap(@Self)^.clr := $00000040
  10815. else
  10816. pTDefRegMap(@Self)^.&set := $00000040;
  10817. end;
  10818. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  10819. begin
  10820. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10821. end;
  10822. procedure TTMR2_T2CON.setTSIDL; inline;
  10823. begin
  10824. pTDefRegMap(@Self)^.&set := $00002000;
  10825. end;
  10826. procedure TTMR2_T2CON.clearTSIDL; inline;
  10827. begin
  10828. pTDefRegMap(@Self)^.clr := $00002000;
  10829. end;
  10830. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  10831. begin
  10832. if thebits = 0 then
  10833. pTDefRegMap(@Self)^.clr := $00002000
  10834. else
  10835. pTDefRegMap(@Self)^.&set := $00002000;
  10836. end;
  10837. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  10838. begin
  10839. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10840. end;
  10841. procedure TTMR2_T2CON.setTON; inline;
  10842. begin
  10843. pTDefRegMap(@Self)^.&set := $00008000;
  10844. end;
  10845. procedure TTMR2_T2CON.clearTON; inline;
  10846. begin
  10847. pTDefRegMap(@Self)^.clr := $00008000;
  10848. end;
  10849. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  10850. begin
  10851. if thebits = 0 then
  10852. pTDefRegMap(@Self)^.clr := $00008000
  10853. else
  10854. pTDefRegMap(@Self)^.&set := $00008000;
  10855. end;
  10856. function TTMR2_T2CON.getTON : TBits_1; inline;
  10857. begin
  10858. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10859. end;
  10860. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  10861. begin
  10862. pTDefRegMap(@Self)^.val := thebits;
  10863. end;
  10864. function TTMR2_T2CON.getw : TBits_32; inline;
  10865. begin
  10866. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10867. end;
  10868. procedure TTMR3_T3CON.setTCS; inline;
  10869. begin
  10870. pTDefRegMap(@Self)^.&set := $00000002;
  10871. end;
  10872. procedure TTMR3_T3CON.clearTCS; inline;
  10873. begin
  10874. pTDefRegMap(@Self)^.clr := $00000002;
  10875. end;
  10876. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  10877. begin
  10878. if thebits = 0 then
  10879. pTDefRegMap(@Self)^.clr := $00000002
  10880. else
  10881. pTDefRegMap(@Self)^.&set := $00000002;
  10882. end;
  10883. function TTMR3_T3CON.getTCS : TBits_1; inline;
  10884. begin
  10885. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10886. end;
  10887. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  10888. begin
  10889. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  10890. end;
  10891. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  10892. begin
  10893. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  10894. end;
  10895. procedure TTMR3_T3CON.setTGATE; inline;
  10896. begin
  10897. pTDefRegMap(@Self)^.&set := $00000080;
  10898. end;
  10899. procedure TTMR3_T3CON.clearTGATE; inline;
  10900. begin
  10901. pTDefRegMap(@Self)^.clr := $00000080;
  10902. end;
  10903. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  10904. begin
  10905. if thebits = 0 then
  10906. pTDefRegMap(@Self)^.clr := $00000080
  10907. else
  10908. pTDefRegMap(@Self)^.&set := $00000080;
  10909. end;
  10910. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  10911. begin
  10912. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10913. end;
  10914. procedure TTMR3_T3CON.setSIDL; inline;
  10915. begin
  10916. pTDefRegMap(@Self)^.&set := $00002000;
  10917. end;
  10918. procedure TTMR3_T3CON.clearSIDL; inline;
  10919. begin
  10920. pTDefRegMap(@Self)^.clr := $00002000;
  10921. end;
  10922. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  10923. begin
  10924. if thebits = 0 then
  10925. pTDefRegMap(@Self)^.clr := $00002000
  10926. else
  10927. pTDefRegMap(@Self)^.&set := $00002000;
  10928. end;
  10929. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  10930. begin
  10931. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10932. end;
  10933. procedure TTMR3_T3CON.setON; inline;
  10934. begin
  10935. pTDefRegMap(@Self)^.&set := $00008000;
  10936. end;
  10937. procedure TTMR3_T3CON.clearON; inline;
  10938. begin
  10939. pTDefRegMap(@Self)^.clr := $00008000;
  10940. end;
  10941. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  10942. begin
  10943. if thebits = 0 then
  10944. pTDefRegMap(@Self)^.clr := $00008000
  10945. else
  10946. pTDefRegMap(@Self)^.&set := $00008000;
  10947. end;
  10948. function TTMR3_T3CON.getON : TBits_1; inline;
  10949. begin
  10950. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10951. end;
  10952. procedure TTMR3_T3CON.setTCKPS0; inline;
  10953. begin
  10954. pTDefRegMap(@Self)^.&set := $00000010;
  10955. end;
  10956. procedure TTMR3_T3CON.clearTCKPS0; inline;
  10957. begin
  10958. pTDefRegMap(@Self)^.clr := $00000010;
  10959. end;
  10960. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  10961. begin
  10962. if thebits = 0 then
  10963. pTDefRegMap(@Self)^.clr := $00000010
  10964. else
  10965. pTDefRegMap(@Self)^.&set := $00000010;
  10966. end;
  10967. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  10968. begin
  10969. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10970. end;
  10971. procedure TTMR3_T3CON.setTCKPS1; inline;
  10972. begin
  10973. pTDefRegMap(@Self)^.&set := $00000020;
  10974. end;
  10975. procedure TTMR3_T3CON.clearTCKPS1; inline;
  10976. begin
  10977. pTDefRegMap(@Self)^.clr := $00000020;
  10978. end;
  10979. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  10980. begin
  10981. if thebits = 0 then
  10982. pTDefRegMap(@Self)^.clr := $00000020
  10983. else
  10984. pTDefRegMap(@Self)^.&set := $00000020;
  10985. end;
  10986. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  10987. begin
  10988. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10989. end;
  10990. procedure TTMR3_T3CON.setTCKPS2; inline;
  10991. begin
  10992. pTDefRegMap(@Self)^.&set := $00000040;
  10993. end;
  10994. procedure TTMR3_T3CON.clearTCKPS2; inline;
  10995. begin
  10996. pTDefRegMap(@Self)^.clr := $00000040;
  10997. end;
  10998. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  10999. begin
  11000. if thebits = 0 then
  11001. pTDefRegMap(@Self)^.clr := $00000040
  11002. else
  11003. pTDefRegMap(@Self)^.&set := $00000040;
  11004. end;
  11005. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  11006. begin
  11007. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11008. end;
  11009. procedure TTMR3_T3CON.setTSIDL; inline;
  11010. begin
  11011. pTDefRegMap(@Self)^.&set := $00002000;
  11012. end;
  11013. procedure TTMR3_T3CON.clearTSIDL; inline;
  11014. begin
  11015. pTDefRegMap(@Self)^.clr := $00002000;
  11016. end;
  11017. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  11018. begin
  11019. if thebits = 0 then
  11020. pTDefRegMap(@Self)^.clr := $00002000
  11021. else
  11022. pTDefRegMap(@Self)^.&set := $00002000;
  11023. end;
  11024. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  11025. begin
  11026. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11027. end;
  11028. procedure TTMR3_T3CON.setTON; inline;
  11029. begin
  11030. pTDefRegMap(@Self)^.&set := $00008000;
  11031. end;
  11032. procedure TTMR3_T3CON.clearTON; inline;
  11033. begin
  11034. pTDefRegMap(@Self)^.clr := $00008000;
  11035. end;
  11036. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  11037. begin
  11038. if thebits = 0 then
  11039. pTDefRegMap(@Self)^.clr := $00008000
  11040. else
  11041. pTDefRegMap(@Self)^.&set := $00008000;
  11042. end;
  11043. function TTMR3_T3CON.getTON : TBits_1; inline;
  11044. begin
  11045. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11046. end;
  11047. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  11048. begin
  11049. pTDefRegMap(@Self)^.val := thebits;
  11050. end;
  11051. function TTMR3_T3CON.getw : TBits_32; inline;
  11052. begin
  11053. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11054. end;
  11055. procedure TTMR4_T4CON.setTCS; inline;
  11056. begin
  11057. pTDefRegMap(@Self)^.&set := $00000002;
  11058. end;
  11059. procedure TTMR4_T4CON.clearTCS; inline;
  11060. begin
  11061. pTDefRegMap(@Self)^.clr := $00000002;
  11062. end;
  11063. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  11064. begin
  11065. if thebits = 0 then
  11066. pTDefRegMap(@Self)^.clr := $00000002
  11067. else
  11068. pTDefRegMap(@Self)^.&set := $00000002;
  11069. end;
  11070. function TTMR4_T4CON.getTCS : TBits_1; inline;
  11071. begin
  11072. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11073. end;
  11074. procedure TTMR4_T4CON.setT32; inline;
  11075. begin
  11076. pTDefRegMap(@Self)^.&set := $00000008;
  11077. end;
  11078. procedure TTMR4_T4CON.clearT32; inline;
  11079. begin
  11080. pTDefRegMap(@Self)^.clr := $00000008;
  11081. end;
  11082. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  11083. begin
  11084. if thebits = 0 then
  11085. pTDefRegMap(@Self)^.clr := $00000008
  11086. else
  11087. pTDefRegMap(@Self)^.&set := $00000008;
  11088. end;
  11089. function TTMR4_T4CON.getT32 : TBits_1; inline;
  11090. begin
  11091. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11092. end;
  11093. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  11094. begin
  11095. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11096. end;
  11097. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  11098. begin
  11099. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11100. end;
  11101. procedure TTMR4_T4CON.setTGATE; inline;
  11102. begin
  11103. pTDefRegMap(@Self)^.&set := $00000080;
  11104. end;
  11105. procedure TTMR4_T4CON.clearTGATE; inline;
  11106. begin
  11107. pTDefRegMap(@Self)^.clr := $00000080;
  11108. end;
  11109. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  11110. begin
  11111. if thebits = 0 then
  11112. pTDefRegMap(@Self)^.clr := $00000080
  11113. else
  11114. pTDefRegMap(@Self)^.&set := $00000080;
  11115. end;
  11116. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  11117. begin
  11118. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11119. end;
  11120. procedure TTMR4_T4CON.setSIDL; inline;
  11121. begin
  11122. pTDefRegMap(@Self)^.&set := $00002000;
  11123. end;
  11124. procedure TTMR4_T4CON.clearSIDL; inline;
  11125. begin
  11126. pTDefRegMap(@Self)^.clr := $00002000;
  11127. end;
  11128. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  11129. begin
  11130. if thebits = 0 then
  11131. pTDefRegMap(@Self)^.clr := $00002000
  11132. else
  11133. pTDefRegMap(@Self)^.&set := $00002000;
  11134. end;
  11135. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  11136. begin
  11137. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11138. end;
  11139. procedure TTMR4_T4CON.setON; inline;
  11140. begin
  11141. pTDefRegMap(@Self)^.&set := $00008000;
  11142. end;
  11143. procedure TTMR4_T4CON.clearON; inline;
  11144. begin
  11145. pTDefRegMap(@Self)^.clr := $00008000;
  11146. end;
  11147. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  11148. begin
  11149. if thebits = 0 then
  11150. pTDefRegMap(@Self)^.clr := $00008000
  11151. else
  11152. pTDefRegMap(@Self)^.&set := $00008000;
  11153. end;
  11154. function TTMR4_T4CON.getON : TBits_1; inline;
  11155. begin
  11156. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11157. end;
  11158. procedure TTMR4_T4CON.setTCKPS0; inline;
  11159. begin
  11160. pTDefRegMap(@Self)^.&set := $00000010;
  11161. end;
  11162. procedure TTMR4_T4CON.clearTCKPS0; inline;
  11163. begin
  11164. pTDefRegMap(@Self)^.clr := $00000010;
  11165. end;
  11166. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  11167. begin
  11168. if thebits = 0 then
  11169. pTDefRegMap(@Self)^.clr := $00000010
  11170. else
  11171. pTDefRegMap(@Self)^.&set := $00000010;
  11172. end;
  11173. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  11174. begin
  11175. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11176. end;
  11177. procedure TTMR4_T4CON.setTCKPS1; inline;
  11178. begin
  11179. pTDefRegMap(@Self)^.&set := $00000020;
  11180. end;
  11181. procedure TTMR4_T4CON.clearTCKPS1; inline;
  11182. begin
  11183. pTDefRegMap(@Self)^.clr := $00000020;
  11184. end;
  11185. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  11186. begin
  11187. if thebits = 0 then
  11188. pTDefRegMap(@Self)^.clr := $00000020
  11189. else
  11190. pTDefRegMap(@Self)^.&set := $00000020;
  11191. end;
  11192. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  11193. begin
  11194. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11195. end;
  11196. procedure TTMR4_T4CON.setTCKPS2; inline;
  11197. begin
  11198. pTDefRegMap(@Self)^.&set := $00000040;
  11199. end;
  11200. procedure TTMR4_T4CON.clearTCKPS2; inline;
  11201. begin
  11202. pTDefRegMap(@Self)^.clr := $00000040;
  11203. end;
  11204. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  11205. begin
  11206. if thebits = 0 then
  11207. pTDefRegMap(@Self)^.clr := $00000040
  11208. else
  11209. pTDefRegMap(@Self)^.&set := $00000040;
  11210. end;
  11211. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  11212. begin
  11213. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11214. end;
  11215. procedure TTMR4_T4CON.setTSIDL; inline;
  11216. begin
  11217. pTDefRegMap(@Self)^.&set := $00002000;
  11218. end;
  11219. procedure TTMR4_T4CON.clearTSIDL; inline;
  11220. begin
  11221. pTDefRegMap(@Self)^.clr := $00002000;
  11222. end;
  11223. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  11224. begin
  11225. if thebits = 0 then
  11226. pTDefRegMap(@Self)^.clr := $00002000
  11227. else
  11228. pTDefRegMap(@Self)^.&set := $00002000;
  11229. end;
  11230. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  11231. begin
  11232. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11233. end;
  11234. procedure TTMR4_T4CON.setTON; inline;
  11235. begin
  11236. pTDefRegMap(@Self)^.&set := $00008000;
  11237. end;
  11238. procedure TTMR4_T4CON.clearTON; inline;
  11239. begin
  11240. pTDefRegMap(@Self)^.clr := $00008000;
  11241. end;
  11242. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  11243. begin
  11244. if thebits = 0 then
  11245. pTDefRegMap(@Self)^.clr := $00008000
  11246. else
  11247. pTDefRegMap(@Self)^.&set := $00008000;
  11248. end;
  11249. function TTMR4_T4CON.getTON : TBits_1; inline;
  11250. begin
  11251. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11252. end;
  11253. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  11254. begin
  11255. pTDefRegMap(@Self)^.val := thebits;
  11256. end;
  11257. function TTMR4_T4CON.getw : TBits_32; inline;
  11258. begin
  11259. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11260. end;
  11261. procedure TTMR5_T5CON.setTCS; inline;
  11262. begin
  11263. pTDefRegMap(@Self)^.&set := $00000002;
  11264. end;
  11265. procedure TTMR5_T5CON.clearTCS; inline;
  11266. begin
  11267. pTDefRegMap(@Self)^.clr := $00000002;
  11268. end;
  11269. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  11270. begin
  11271. if thebits = 0 then
  11272. pTDefRegMap(@Self)^.clr := $00000002
  11273. else
  11274. pTDefRegMap(@Self)^.&set := $00000002;
  11275. end;
  11276. function TTMR5_T5CON.getTCS : TBits_1; inline;
  11277. begin
  11278. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11279. end;
  11280. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  11281. begin
  11282. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11283. end;
  11284. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  11285. begin
  11286. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11287. end;
  11288. procedure TTMR5_T5CON.setTGATE; inline;
  11289. begin
  11290. pTDefRegMap(@Self)^.&set := $00000080;
  11291. end;
  11292. procedure TTMR5_T5CON.clearTGATE; inline;
  11293. begin
  11294. pTDefRegMap(@Self)^.clr := $00000080;
  11295. end;
  11296. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  11297. begin
  11298. if thebits = 0 then
  11299. pTDefRegMap(@Self)^.clr := $00000080
  11300. else
  11301. pTDefRegMap(@Self)^.&set := $00000080;
  11302. end;
  11303. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  11304. begin
  11305. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11306. end;
  11307. procedure TTMR5_T5CON.setSIDL; inline;
  11308. begin
  11309. pTDefRegMap(@Self)^.&set := $00002000;
  11310. end;
  11311. procedure TTMR5_T5CON.clearSIDL; inline;
  11312. begin
  11313. pTDefRegMap(@Self)^.clr := $00002000;
  11314. end;
  11315. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  11316. begin
  11317. if thebits = 0 then
  11318. pTDefRegMap(@Self)^.clr := $00002000
  11319. else
  11320. pTDefRegMap(@Self)^.&set := $00002000;
  11321. end;
  11322. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  11323. begin
  11324. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11325. end;
  11326. procedure TTMR5_T5CON.setON; inline;
  11327. begin
  11328. pTDefRegMap(@Self)^.&set := $00008000;
  11329. end;
  11330. procedure TTMR5_T5CON.clearON; inline;
  11331. begin
  11332. pTDefRegMap(@Self)^.clr := $00008000;
  11333. end;
  11334. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  11335. begin
  11336. if thebits = 0 then
  11337. pTDefRegMap(@Self)^.clr := $00008000
  11338. else
  11339. pTDefRegMap(@Self)^.&set := $00008000;
  11340. end;
  11341. function TTMR5_T5CON.getON : TBits_1; inline;
  11342. begin
  11343. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11344. end;
  11345. procedure TTMR5_T5CON.setTCKPS0; inline;
  11346. begin
  11347. pTDefRegMap(@Self)^.&set := $00000010;
  11348. end;
  11349. procedure TTMR5_T5CON.clearTCKPS0; inline;
  11350. begin
  11351. pTDefRegMap(@Self)^.clr := $00000010;
  11352. end;
  11353. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  11354. begin
  11355. if thebits = 0 then
  11356. pTDefRegMap(@Self)^.clr := $00000010
  11357. else
  11358. pTDefRegMap(@Self)^.&set := $00000010;
  11359. end;
  11360. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  11361. begin
  11362. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11363. end;
  11364. procedure TTMR5_T5CON.setTCKPS1; inline;
  11365. begin
  11366. pTDefRegMap(@Self)^.&set := $00000020;
  11367. end;
  11368. procedure TTMR5_T5CON.clearTCKPS1; inline;
  11369. begin
  11370. pTDefRegMap(@Self)^.clr := $00000020;
  11371. end;
  11372. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  11373. begin
  11374. if thebits = 0 then
  11375. pTDefRegMap(@Self)^.clr := $00000020
  11376. else
  11377. pTDefRegMap(@Self)^.&set := $00000020;
  11378. end;
  11379. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  11380. begin
  11381. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11382. end;
  11383. procedure TTMR5_T5CON.setTCKPS2; inline;
  11384. begin
  11385. pTDefRegMap(@Self)^.&set := $00000040;
  11386. end;
  11387. procedure TTMR5_T5CON.clearTCKPS2; inline;
  11388. begin
  11389. pTDefRegMap(@Self)^.clr := $00000040;
  11390. end;
  11391. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  11392. begin
  11393. if thebits = 0 then
  11394. pTDefRegMap(@Self)^.clr := $00000040
  11395. else
  11396. pTDefRegMap(@Self)^.&set := $00000040;
  11397. end;
  11398. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  11399. begin
  11400. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11401. end;
  11402. procedure TTMR5_T5CON.setTSIDL; inline;
  11403. begin
  11404. pTDefRegMap(@Self)^.&set := $00002000;
  11405. end;
  11406. procedure TTMR5_T5CON.clearTSIDL; inline;
  11407. begin
  11408. pTDefRegMap(@Self)^.clr := $00002000;
  11409. end;
  11410. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  11411. begin
  11412. if thebits = 0 then
  11413. pTDefRegMap(@Self)^.clr := $00002000
  11414. else
  11415. pTDefRegMap(@Self)^.&set := $00002000;
  11416. end;
  11417. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  11418. begin
  11419. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11420. end;
  11421. procedure TTMR5_T5CON.setTON; inline;
  11422. begin
  11423. pTDefRegMap(@Self)^.&set := $00008000;
  11424. end;
  11425. procedure TTMR5_T5CON.clearTON; inline;
  11426. begin
  11427. pTDefRegMap(@Self)^.clr := $00008000;
  11428. end;
  11429. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  11430. begin
  11431. if thebits = 0 then
  11432. pTDefRegMap(@Self)^.clr := $00008000
  11433. else
  11434. pTDefRegMap(@Self)^.&set := $00008000;
  11435. end;
  11436. function TTMR5_T5CON.getTON : TBits_1; inline;
  11437. begin
  11438. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11439. end;
  11440. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  11441. begin
  11442. pTDefRegMap(@Self)^.val := thebits;
  11443. end;
  11444. function TTMR5_T5CON.getw : TBits_32; inline;
  11445. begin
  11446. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11447. end;
  11448. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  11449. begin
  11450. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11451. end;
  11452. function TICAP1_IC1CON.getICM : TBits_3; inline;
  11453. begin
  11454. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11455. end;
  11456. procedure TICAP1_IC1CON.setICBNE; inline;
  11457. begin
  11458. pTDefRegMap(@Self)^.&set := $00000008;
  11459. end;
  11460. procedure TICAP1_IC1CON.clearICBNE; inline;
  11461. begin
  11462. pTDefRegMap(@Self)^.clr := $00000008;
  11463. end;
  11464. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  11465. begin
  11466. if thebits = 0 then
  11467. pTDefRegMap(@Self)^.clr := $00000008
  11468. else
  11469. pTDefRegMap(@Self)^.&set := $00000008;
  11470. end;
  11471. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  11472. begin
  11473. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11474. end;
  11475. procedure TICAP1_IC1CON.setICOV; inline;
  11476. begin
  11477. pTDefRegMap(@Self)^.&set := $00000010;
  11478. end;
  11479. procedure TICAP1_IC1CON.clearICOV; inline;
  11480. begin
  11481. pTDefRegMap(@Self)^.clr := $00000010;
  11482. end;
  11483. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  11484. begin
  11485. if thebits = 0 then
  11486. pTDefRegMap(@Self)^.clr := $00000010
  11487. else
  11488. pTDefRegMap(@Self)^.&set := $00000010;
  11489. end;
  11490. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  11491. begin
  11492. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11493. end;
  11494. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  11495. begin
  11496. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11497. end;
  11498. function TICAP1_IC1CON.getICI : TBits_2; inline;
  11499. begin
  11500. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11501. end;
  11502. procedure TICAP1_IC1CON.setICTMR; inline;
  11503. begin
  11504. pTDefRegMap(@Self)^.&set := $00000080;
  11505. end;
  11506. procedure TICAP1_IC1CON.clearICTMR; inline;
  11507. begin
  11508. pTDefRegMap(@Self)^.clr := $00000080;
  11509. end;
  11510. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  11511. begin
  11512. if thebits = 0 then
  11513. pTDefRegMap(@Self)^.clr := $00000080
  11514. else
  11515. pTDefRegMap(@Self)^.&set := $00000080;
  11516. end;
  11517. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  11518. begin
  11519. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11520. end;
  11521. procedure TICAP1_IC1CON.setC32; inline;
  11522. begin
  11523. pTDefRegMap(@Self)^.&set := $00000100;
  11524. end;
  11525. procedure TICAP1_IC1CON.clearC32; inline;
  11526. begin
  11527. pTDefRegMap(@Self)^.clr := $00000100;
  11528. end;
  11529. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  11530. begin
  11531. if thebits = 0 then
  11532. pTDefRegMap(@Self)^.clr := $00000100
  11533. else
  11534. pTDefRegMap(@Self)^.&set := $00000100;
  11535. end;
  11536. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  11537. begin
  11538. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11539. end;
  11540. procedure TICAP1_IC1CON.setFEDGE; inline;
  11541. begin
  11542. pTDefRegMap(@Self)^.&set := $00000200;
  11543. end;
  11544. procedure TICAP1_IC1CON.clearFEDGE; inline;
  11545. begin
  11546. pTDefRegMap(@Self)^.clr := $00000200;
  11547. end;
  11548. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  11549. begin
  11550. if thebits = 0 then
  11551. pTDefRegMap(@Self)^.clr := $00000200
  11552. else
  11553. pTDefRegMap(@Self)^.&set := $00000200;
  11554. end;
  11555. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  11556. begin
  11557. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11558. end;
  11559. procedure TICAP1_IC1CON.setSIDL; inline;
  11560. begin
  11561. pTDefRegMap(@Self)^.&set := $00002000;
  11562. end;
  11563. procedure TICAP1_IC1CON.clearSIDL; inline;
  11564. begin
  11565. pTDefRegMap(@Self)^.clr := $00002000;
  11566. end;
  11567. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  11568. begin
  11569. if thebits = 0 then
  11570. pTDefRegMap(@Self)^.clr := $00002000
  11571. else
  11572. pTDefRegMap(@Self)^.&set := $00002000;
  11573. end;
  11574. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  11575. begin
  11576. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11577. end;
  11578. procedure TICAP1_IC1CON.setON; inline;
  11579. begin
  11580. pTDefRegMap(@Self)^.&set := $00008000;
  11581. end;
  11582. procedure TICAP1_IC1CON.clearON; inline;
  11583. begin
  11584. pTDefRegMap(@Self)^.clr := $00008000;
  11585. end;
  11586. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  11587. begin
  11588. if thebits = 0 then
  11589. pTDefRegMap(@Self)^.clr := $00008000
  11590. else
  11591. pTDefRegMap(@Self)^.&set := $00008000;
  11592. end;
  11593. function TICAP1_IC1CON.getON : TBits_1; inline;
  11594. begin
  11595. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11596. end;
  11597. procedure TICAP1_IC1CON.setICM0; inline;
  11598. begin
  11599. pTDefRegMap(@Self)^.&set := $00000001;
  11600. end;
  11601. procedure TICAP1_IC1CON.clearICM0; inline;
  11602. begin
  11603. pTDefRegMap(@Self)^.clr := $00000001;
  11604. end;
  11605. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  11606. begin
  11607. if thebits = 0 then
  11608. pTDefRegMap(@Self)^.clr := $00000001
  11609. else
  11610. pTDefRegMap(@Self)^.&set := $00000001;
  11611. end;
  11612. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  11613. begin
  11614. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11615. end;
  11616. procedure TICAP1_IC1CON.setICM1; inline;
  11617. begin
  11618. pTDefRegMap(@Self)^.&set := $00000002;
  11619. end;
  11620. procedure TICAP1_IC1CON.clearICM1; inline;
  11621. begin
  11622. pTDefRegMap(@Self)^.clr := $00000002;
  11623. end;
  11624. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  11625. begin
  11626. if thebits = 0 then
  11627. pTDefRegMap(@Self)^.clr := $00000002
  11628. else
  11629. pTDefRegMap(@Self)^.&set := $00000002;
  11630. end;
  11631. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  11632. begin
  11633. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11634. end;
  11635. procedure TICAP1_IC1CON.setICM2; inline;
  11636. begin
  11637. pTDefRegMap(@Self)^.&set := $00000004;
  11638. end;
  11639. procedure TICAP1_IC1CON.clearICM2; inline;
  11640. begin
  11641. pTDefRegMap(@Self)^.clr := $00000004;
  11642. end;
  11643. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  11644. begin
  11645. if thebits = 0 then
  11646. pTDefRegMap(@Self)^.clr := $00000004
  11647. else
  11648. pTDefRegMap(@Self)^.&set := $00000004;
  11649. end;
  11650. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  11651. begin
  11652. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11653. end;
  11654. procedure TICAP1_IC1CON.setICI0; inline;
  11655. begin
  11656. pTDefRegMap(@Self)^.&set := $00000020;
  11657. end;
  11658. procedure TICAP1_IC1CON.clearICI0; inline;
  11659. begin
  11660. pTDefRegMap(@Self)^.clr := $00000020;
  11661. end;
  11662. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  11663. begin
  11664. if thebits = 0 then
  11665. pTDefRegMap(@Self)^.clr := $00000020
  11666. else
  11667. pTDefRegMap(@Self)^.&set := $00000020;
  11668. end;
  11669. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  11670. begin
  11671. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11672. end;
  11673. procedure TICAP1_IC1CON.setICI1; inline;
  11674. begin
  11675. pTDefRegMap(@Self)^.&set := $00000040;
  11676. end;
  11677. procedure TICAP1_IC1CON.clearICI1; inline;
  11678. begin
  11679. pTDefRegMap(@Self)^.clr := $00000040;
  11680. end;
  11681. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  11682. begin
  11683. if thebits = 0 then
  11684. pTDefRegMap(@Self)^.clr := $00000040
  11685. else
  11686. pTDefRegMap(@Self)^.&set := $00000040;
  11687. end;
  11688. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  11689. begin
  11690. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11691. end;
  11692. procedure TICAP1_IC1CON.setICSIDL; inline;
  11693. begin
  11694. pTDefRegMap(@Self)^.&set := $00002000;
  11695. end;
  11696. procedure TICAP1_IC1CON.clearICSIDL; inline;
  11697. begin
  11698. pTDefRegMap(@Self)^.clr := $00002000;
  11699. end;
  11700. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  11701. begin
  11702. if thebits = 0 then
  11703. pTDefRegMap(@Self)^.clr := $00002000
  11704. else
  11705. pTDefRegMap(@Self)^.&set := $00002000;
  11706. end;
  11707. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  11708. begin
  11709. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11710. end;
  11711. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  11712. begin
  11713. pTDefRegMap(@Self)^.val := thebits;
  11714. end;
  11715. function TICAP1_IC1CON.getw : TBits_32; inline;
  11716. begin
  11717. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11718. end;
  11719. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  11720. begin
  11721. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11722. end;
  11723. function TICAP2_IC2CON.getICM : TBits_3; inline;
  11724. begin
  11725. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11726. end;
  11727. procedure TICAP2_IC2CON.setICBNE; inline;
  11728. begin
  11729. pTDefRegMap(@Self)^.&set := $00000008;
  11730. end;
  11731. procedure TICAP2_IC2CON.clearICBNE; inline;
  11732. begin
  11733. pTDefRegMap(@Self)^.clr := $00000008;
  11734. end;
  11735. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  11736. begin
  11737. if thebits = 0 then
  11738. pTDefRegMap(@Self)^.clr := $00000008
  11739. else
  11740. pTDefRegMap(@Self)^.&set := $00000008;
  11741. end;
  11742. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  11743. begin
  11744. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11745. end;
  11746. procedure TICAP2_IC2CON.setICOV; inline;
  11747. begin
  11748. pTDefRegMap(@Self)^.&set := $00000010;
  11749. end;
  11750. procedure TICAP2_IC2CON.clearICOV; inline;
  11751. begin
  11752. pTDefRegMap(@Self)^.clr := $00000010;
  11753. end;
  11754. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  11755. begin
  11756. if thebits = 0 then
  11757. pTDefRegMap(@Self)^.clr := $00000010
  11758. else
  11759. pTDefRegMap(@Self)^.&set := $00000010;
  11760. end;
  11761. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  11762. begin
  11763. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11764. end;
  11765. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  11766. begin
  11767. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11768. end;
  11769. function TICAP2_IC2CON.getICI : TBits_2; inline;
  11770. begin
  11771. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11772. end;
  11773. procedure TICAP2_IC2CON.setICTMR; inline;
  11774. begin
  11775. pTDefRegMap(@Self)^.&set := $00000080;
  11776. end;
  11777. procedure TICAP2_IC2CON.clearICTMR; inline;
  11778. begin
  11779. pTDefRegMap(@Self)^.clr := $00000080;
  11780. end;
  11781. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  11782. begin
  11783. if thebits = 0 then
  11784. pTDefRegMap(@Self)^.clr := $00000080
  11785. else
  11786. pTDefRegMap(@Self)^.&set := $00000080;
  11787. end;
  11788. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  11789. begin
  11790. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11791. end;
  11792. procedure TICAP2_IC2CON.setC32; inline;
  11793. begin
  11794. pTDefRegMap(@Self)^.&set := $00000100;
  11795. end;
  11796. procedure TICAP2_IC2CON.clearC32; inline;
  11797. begin
  11798. pTDefRegMap(@Self)^.clr := $00000100;
  11799. end;
  11800. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  11801. begin
  11802. if thebits = 0 then
  11803. pTDefRegMap(@Self)^.clr := $00000100
  11804. else
  11805. pTDefRegMap(@Self)^.&set := $00000100;
  11806. end;
  11807. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  11808. begin
  11809. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11810. end;
  11811. procedure TICAP2_IC2CON.setFEDGE; inline;
  11812. begin
  11813. pTDefRegMap(@Self)^.&set := $00000200;
  11814. end;
  11815. procedure TICAP2_IC2CON.clearFEDGE; inline;
  11816. begin
  11817. pTDefRegMap(@Self)^.clr := $00000200;
  11818. end;
  11819. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  11820. begin
  11821. if thebits = 0 then
  11822. pTDefRegMap(@Self)^.clr := $00000200
  11823. else
  11824. pTDefRegMap(@Self)^.&set := $00000200;
  11825. end;
  11826. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  11827. begin
  11828. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11829. end;
  11830. procedure TICAP2_IC2CON.setSIDL; inline;
  11831. begin
  11832. pTDefRegMap(@Self)^.&set := $00002000;
  11833. end;
  11834. procedure TICAP2_IC2CON.clearSIDL; inline;
  11835. begin
  11836. pTDefRegMap(@Self)^.clr := $00002000;
  11837. end;
  11838. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  11839. begin
  11840. if thebits = 0 then
  11841. pTDefRegMap(@Self)^.clr := $00002000
  11842. else
  11843. pTDefRegMap(@Self)^.&set := $00002000;
  11844. end;
  11845. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  11846. begin
  11847. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11848. end;
  11849. procedure TICAP2_IC2CON.setON; inline;
  11850. begin
  11851. pTDefRegMap(@Self)^.&set := $00008000;
  11852. end;
  11853. procedure TICAP2_IC2CON.clearON; inline;
  11854. begin
  11855. pTDefRegMap(@Self)^.clr := $00008000;
  11856. end;
  11857. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  11858. begin
  11859. if thebits = 0 then
  11860. pTDefRegMap(@Self)^.clr := $00008000
  11861. else
  11862. pTDefRegMap(@Self)^.&set := $00008000;
  11863. end;
  11864. function TICAP2_IC2CON.getON : TBits_1; inline;
  11865. begin
  11866. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11867. end;
  11868. procedure TICAP2_IC2CON.setICM0; inline;
  11869. begin
  11870. pTDefRegMap(@Self)^.&set := $00000001;
  11871. end;
  11872. procedure TICAP2_IC2CON.clearICM0; inline;
  11873. begin
  11874. pTDefRegMap(@Self)^.clr := $00000001;
  11875. end;
  11876. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  11877. begin
  11878. if thebits = 0 then
  11879. pTDefRegMap(@Self)^.clr := $00000001
  11880. else
  11881. pTDefRegMap(@Self)^.&set := $00000001;
  11882. end;
  11883. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  11884. begin
  11885. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11886. end;
  11887. procedure TICAP2_IC2CON.setICM1; inline;
  11888. begin
  11889. pTDefRegMap(@Self)^.&set := $00000002;
  11890. end;
  11891. procedure TICAP2_IC2CON.clearICM1; inline;
  11892. begin
  11893. pTDefRegMap(@Self)^.clr := $00000002;
  11894. end;
  11895. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  11896. begin
  11897. if thebits = 0 then
  11898. pTDefRegMap(@Self)^.clr := $00000002
  11899. else
  11900. pTDefRegMap(@Self)^.&set := $00000002;
  11901. end;
  11902. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  11903. begin
  11904. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11905. end;
  11906. procedure TICAP2_IC2CON.setICM2; inline;
  11907. begin
  11908. pTDefRegMap(@Self)^.&set := $00000004;
  11909. end;
  11910. procedure TICAP2_IC2CON.clearICM2; inline;
  11911. begin
  11912. pTDefRegMap(@Self)^.clr := $00000004;
  11913. end;
  11914. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  11915. begin
  11916. if thebits = 0 then
  11917. pTDefRegMap(@Self)^.clr := $00000004
  11918. else
  11919. pTDefRegMap(@Self)^.&set := $00000004;
  11920. end;
  11921. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  11922. begin
  11923. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11924. end;
  11925. procedure TICAP2_IC2CON.setICI0; inline;
  11926. begin
  11927. pTDefRegMap(@Self)^.&set := $00000020;
  11928. end;
  11929. procedure TICAP2_IC2CON.clearICI0; inline;
  11930. begin
  11931. pTDefRegMap(@Self)^.clr := $00000020;
  11932. end;
  11933. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  11934. begin
  11935. if thebits = 0 then
  11936. pTDefRegMap(@Self)^.clr := $00000020
  11937. else
  11938. pTDefRegMap(@Self)^.&set := $00000020;
  11939. end;
  11940. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  11941. begin
  11942. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11943. end;
  11944. procedure TICAP2_IC2CON.setICI1; inline;
  11945. begin
  11946. pTDefRegMap(@Self)^.&set := $00000040;
  11947. end;
  11948. procedure TICAP2_IC2CON.clearICI1; inline;
  11949. begin
  11950. pTDefRegMap(@Self)^.clr := $00000040;
  11951. end;
  11952. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  11953. begin
  11954. if thebits = 0 then
  11955. pTDefRegMap(@Self)^.clr := $00000040
  11956. else
  11957. pTDefRegMap(@Self)^.&set := $00000040;
  11958. end;
  11959. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  11960. begin
  11961. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11962. end;
  11963. procedure TICAP2_IC2CON.setICSIDL; inline;
  11964. begin
  11965. pTDefRegMap(@Self)^.&set := $00002000;
  11966. end;
  11967. procedure TICAP2_IC2CON.clearICSIDL; inline;
  11968. begin
  11969. pTDefRegMap(@Self)^.clr := $00002000;
  11970. end;
  11971. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  11972. begin
  11973. if thebits = 0 then
  11974. pTDefRegMap(@Self)^.clr := $00002000
  11975. else
  11976. pTDefRegMap(@Self)^.&set := $00002000;
  11977. end;
  11978. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  11979. begin
  11980. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11981. end;
  11982. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  11983. begin
  11984. pTDefRegMap(@Self)^.val := thebits;
  11985. end;
  11986. function TICAP2_IC2CON.getw : TBits_32; inline;
  11987. begin
  11988. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11989. end;
  11990. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  11991. begin
  11992. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11993. end;
  11994. function TICAP3_IC3CON.getICM : TBits_3; inline;
  11995. begin
  11996. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11997. end;
  11998. procedure TICAP3_IC3CON.setICBNE; inline;
  11999. begin
  12000. pTDefRegMap(@Self)^.&set := $00000008;
  12001. end;
  12002. procedure TICAP3_IC3CON.clearICBNE; inline;
  12003. begin
  12004. pTDefRegMap(@Self)^.clr := $00000008;
  12005. end;
  12006. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  12007. begin
  12008. if thebits = 0 then
  12009. pTDefRegMap(@Self)^.clr := $00000008
  12010. else
  12011. pTDefRegMap(@Self)^.&set := $00000008;
  12012. end;
  12013. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  12014. begin
  12015. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12016. end;
  12017. procedure TICAP3_IC3CON.setICOV; inline;
  12018. begin
  12019. pTDefRegMap(@Self)^.&set := $00000010;
  12020. end;
  12021. procedure TICAP3_IC3CON.clearICOV; inline;
  12022. begin
  12023. pTDefRegMap(@Self)^.clr := $00000010;
  12024. end;
  12025. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  12026. begin
  12027. if thebits = 0 then
  12028. pTDefRegMap(@Self)^.clr := $00000010
  12029. else
  12030. pTDefRegMap(@Self)^.&set := $00000010;
  12031. end;
  12032. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  12033. begin
  12034. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12035. end;
  12036. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  12037. begin
  12038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12039. end;
  12040. function TICAP3_IC3CON.getICI : TBits_2; inline;
  12041. begin
  12042. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12043. end;
  12044. procedure TICAP3_IC3CON.setICTMR; inline;
  12045. begin
  12046. pTDefRegMap(@Self)^.&set := $00000080;
  12047. end;
  12048. procedure TICAP3_IC3CON.clearICTMR; inline;
  12049. begin
  12050. pTDefRegMap(@Self)^.clr := $00000080;
  12051. end;
  12052. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  12053. begin
  12054. if thebits = 0 then
  12055. pTDefRegMap(@Self)^.clr := $00000080
  12056. else
  12057. pTDefRegMap(@Self)^.&set := $00000080;
  12058. end;
  12059. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  12060. begin
  12061. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12062. end;
  12063. procedure TICAP3_IC3CON.setC32; inline;
  12064. begin
  12065. pTDefRegMap(@Self)^.&set := $00000100;
  12066. end;
  12067. procedure TICAP3_IC3CON.clearC32; inline;
  12068. begin
  12069. pTDefRegMap(@Self)^.clr := $00000100;
  12070. end;
  12071. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  12072. begin
  12073. if thebits = 0 then
  12074. pTDefRegMap(@Self)^.clr := $00000100
  12075. else
  12076. pTDefRegMap(@Self)^.&set := $00000100;
  12077. end;
  12078. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  12079. begin
  12080. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12081. end;
  12082. procedure TICAP3_IC3CON.setFEDGE; inline;
  12083. begin
  12084. pTDefRegMap(@Self)^.&set := $00000200;
  12085. end;
  12086. procedure TICAP3_IC3CON.clearFEDGE; inline;
  12087. begin
  12088. pTDefRegMap(@Self)^.clr := $00000200;
  12089. end;
  12090. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  12091. begin
  12092. if thebits = 0 then
  12093. pTDefRegMap(@Self)^.clr := $00000200
  12094. else
  12095. pTDefRegMap(@Self)^.&set := $00000200;
  12096. end;
  12097. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  12098. begin
  12099. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12100. end;
  12101. procedure TICAP3_IC3CON.setSIDL; inline;
  12102. begin
  12103. pTDefRegMap(@Self)^.&set := $00002000;
  12104. end;
  12105. procedure TICAP3_IC3CON.clearSIDL; inline;
  12106. begin
  12107. pTDefRegMap(@Self)^.clr := $00002000;
  12108. end;
  12109. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  12110. begin
  12111. if thebits = 0 then
  12112. pTDefRegMap(@Self)^.clr := $00002000
  12113. else
  12114. pTDefRegMap(@Self)^.&set := $00002000;
  12115. end;
  12116. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  12117. begin
  12118. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12119. end;
  12120. procedure TICAP3_IC3CON.setON; inline;
  12121. begin
  12122. pTDefRegMap(@Self)^.&set := $00008000;
  12123. end;
  12124. procedure TICAP3_IC3CON.clearON; inline;
  12125. begin
  12126. pTDefRegMap(@Self)^.clr := $00008000;
  12127. end;
  12128. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  12129. begin
  12130. if thebits = 0 then
  12131. pTDefRegMap(@Self)^.clr := $00008000
  12132. else
  12133. pTDefRegMap(@Self)^.&set := $00008000;
  12134. end;
  12135. function TICAP3_IC3CON.getON : TBits_1; inline;
  12136. begin
  12137. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12138. end;
  12139. procedure TICAP3_IC3CON.setICM0; inline;
  12140. begin
  12141. pTDefRegMap(@Self)^.&set := $00000001;
  12142. end;
  12143. procedure TICAP3_IC3CON.clearICM0; inline;
  12144. begin
  12145. pTDefRegMap(@Self)^.clr := $00000001;
  12146. end;
  12147. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  12148. begin
  12149. if thebits = 0 then
  12150. pTDefRegMap(@Self)^.clr := $00000001
  12151. else
  12152. pTDefRegMap(@Self)^.&set := $00000001;
  12153. end;
  12154. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  12155. begin
  12156. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12157. end;
  12158. procedure TICAP3_IC3CON.setICM1; inline;
  12159. begin
  12160. pTDefRegMap(@Self)^.&set := $00000002;
  12161. end;
  12162. procedure TICAP3_IC3CON.clearICM1; inline;
  12163. begin
  12164. pTDefRegMap(@Self)^.clr := $00000002;
  12165. end;
  12166. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  12167. begin
  12168. if thebits = 0 then
  12169. pTDefRegMap(@Self)^.clr := $00000002
  12170. else
  12171. pTDefRegMap(@Self)^.&set := $00000002;
  12172. end;
  12173. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  12174. begin
  12175. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12176. end;
  12177. procedure TICAP3_IC3CON.setICM2; inline;
  12178. begin
  12179. pTDefRegMap(@Self)^.&set := $00000004;
  12180. end;
  12181. procedure TICAP3_IC3CON.clearICM2; inline;
  12182. begin
  12183. pTDefRegMap(@Self)^.clr := $00000004;
  12184. end;
  12185. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  12186. begin
  12187. if thebits = 0 then
  12188. pTDefRegMap(@Self)^.clr := $00000004
  12189. else
  12190. pTDefRegMap(@Self)^.&set := $00000004;
  12191. end;
  12192. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  12193. begin
  12194. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12195. end;
  12196. procedure TICAP3_IC3CON.setICI0; inline;
  12197. begin
  12198. pTDefRegMap(@Self)^.&set := $00000020;
  12199. end;
  12200. procedure TICAP3_IC3CON.clearICI0; inline;
  12201. begin
  12202. pTDefRegMap(@Self)^.clr := $00000020;
  12203. end;
  12204. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  12205. begin
  12206. if thebits = 0 then
  12207. pTDefRegMap(@Self)^.clr := $00000020
  12208. else
  12209. pTDefRegMap(@Self)^.&set := $00000020;
  12210. end;
  12211. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  12212. begin
  12213. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12214. end;
  12215. procedure TICAP3_IC3CON.setICI1; inline;
  12216. begin
  12217. pTDefRegMap(@Self)^.&set := $00000040;
  12218. end;
  12219. procedure TICAP3_IC3CON.clearICI1; inline;
  12220. begin
  12221. pTDefRegMap(@Self)^.clr := $00000040;
  12222. end;
  12223. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  12224. begin
  12225. if thebits = 0 then
  12226. pTDefRegMap(@Self)^.clr := $00000040
  12227. else
  12228. pTDefRegMap(@Self)^.&set := $00000040;
  12229. end;
  12230. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  12231. begin
  12232. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12233. end;
  12234. procedure TICAP3_IC3CON.setICSIDL; inline;
  12235. begin
  12236. pTDefRegMap(@Self)^.&set := $00002000;
  12237. end;
  12238. procedure TICAP3_IC3CON.clearICSIDL; inline;
  12239. begin
  12240. pTDefRegMap(@Self)^.clr := $00002000;
  12241. end;
  12242. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  12243. begin
  12244. if thebits = 0 then
  12245. pTDefRegMap(@Self)^.clr := $00002000
  12246. else
  12247. pTDefRegMap(@Self)^.&set := $00002000;
  12248. end;
  12249. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  12250. begin
  12251. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12252. end;
  12253. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  12254. begin
  12255. pTDefRegMap(@Self)^.val := thebits;
  12256. end;
  12257. function TICAP3_IC3CON.getw : TBits_32; inline;
  12258. begin
  12259. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12260. end;
  12261. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  12262. begin
  12263. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12264. end;
  12265. function TICAP4_IC4CON.getICM : TBits_3; inline;
  12266. begin
  12267. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12268. end;
  12269. procedure TICAP4_IC4CON.setICBNE; inline;
  12270. begin
  12271. pTDefRegMap(@Self)^.&set := $00000008;
  12272. end;
  12273. procedure TICAP4_IC4CON.clearICBNE; inline;
  12274. begin
  12275. pTDefRegMap(@Self)^.clr := $00000008;
  12276. end;
  12277. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  12278. begin
  12279. if thebits = 0 then
  12280. pTDefRegMap(@Self)^.clr := $00000008
  12281. else
  12282. pTDefRegMap(@Self)^.&set := $00000008;
  12283. end;
  12284. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  12285. begin
  12286. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12287. end;
  12288. procedure TICAP4_IC4CON.setICOV; inline;
  12289. begin
  12290. pTDefRegMap(@Self)^.&set := $00000010;
  12291. end;
  12292. procedure TICAP4_IC4CON.clearICOV; inline;
  12293. begin
  12294. pTDefRegMap(@Self)^.clr := $00000010;
  12295. end;
  12296. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  12297. begin
  12298. if thebits = 0 then
  12299. pTDefRegMap(@Self)^.clr := $00000010
  12300. else
  12301. pTDefRegMap(@Self)^.&set := $00000010;
  12302. end;
  12303. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  12304. begin
  12305. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12306. end;
  12307. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  12308. begin
  12309. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12310. end;
  12311. function TICAP4_IC4CON.getICI : TBits_2; inline;
  12312. begin
  12313. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12314. end;
  12315. procedure TICAP4_IC4CON.setICTMR; inline;
  12316. begin
  12317. pTDefRegMap(@Self)^.&set := $00000080;
  12318. end;
  12319. procedure TICAP4_IC4CON.clearICTMR; inline;
  12320. begin
  12321. pTDefRegMap(@Self)^.clr := $00000080;
  12322. end;
  12323. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  12324. begin
  12325. if thebits = 0 then
  12326. pTDefRegMap(@Self)^.clr := $00000080
  12327. else
  12328. pTDefRegMap(@Self)^.&set := $00000080;
  12329. end;
  12330. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  12331. begin
  12332. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12333. end;
  12334. procedure TICAP4_IC4CON.setC32; inline;
  12335. begin
  12336. pTDefRegMap(@Self)^.&set := $00000100;
  12337. end;
  12338. procedure TICAP4_IC4CON.clearC32; inline;
  12339. begin
  12340. pTDefRegMap(@Self)^.clr := $00000100;
  12341. end;
  12342. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  12343. begin
  12344. if thebits = 0 then
  12345. pTDefRegMap(@Self)^.clr := $00000100
  12346. else
  12347. pTDefRegMap(@Self)^.&set := $00000100;
  12348. end;
  12349. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  12350. begin
  12351. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12352. end;
  12353. procedure TICAP4_IC4CON.setFEDGE; inline;
  12354. begin
  12355. pTDefRegMap(@Self)^.&set := $00000200;
  12356. end;
  12357. procedure TICAP4_IC4CON.clearFEDGE; inline;
  12358. begin
  12359. pTDefRegMap(@Self)^.clr := $00000200;
  12360. end;
  12361. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  12362. begin
  12363. if thebits = 0 then
  12364. pTDefRegMap(@Self)^.clr := $00000200
  12365. else
  12366. pTDefRegMap(@Self)^.&set := $00000200;
  12367. end;
  12368. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  12369. begin
  12370. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12371. end;
  12372. procedure TICAP4_IC4CON.setSIDL; inline;
  12373. begin
  12374. pTDefRegMap(@Self)^.&set := $00002000;
  12375. end;
  12376. procedure TICAP4_IC4CON.clearSIDL; inline;
  12377. begin
  12378. pTDefRegMap(@Self)^.clr := $00002000;
  12379. end;
  12380. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  12381. begin
  12382. if thebits = 0 then
  12383. pTDefRegMap(@Self)^.clr := $00002000
  12384. else
  12385. pTDefRegMap(@Self)^.&set := $00002000;
  12386. end;
  12387. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  12388. begin
  12389. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12390. end;
  12391. procedure TICAP4_IC4CON.setON; inline;
  12392. begin
  12393. pTDefRegMap(@Self)^.&set := $00008000;
  12394. end;
  12395. procedure TICAP4_IC4CON.clearON; inline;
  12396. begin
  12397. pTDefRegMap(@Self)^.clr := $00008000;
  12398. end;
  12399. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  12400. begin
  12401. if thebits = 0 then
  12402. pTDefRegMap(@Self)^.clr := $00008000
  12403. else
  12404. pTDefRegMap(@Self)^.&set := $00008000;
  12405. end;
  12406. function TICAP4_IC4CON.getON : TBits_1; inline;
  12407. begin
  12408. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12409. end;
  12410. procedure TICAP4_IC4CON.setICM0; inline;
  12411. begin
  12412. pTDefRegMap(@Self)^.&set := $00000001;
  12413. end;
  12414. procedure TICAP4_IC4CON.clearICM0; inline;
  12415. begin
  12416. pTDefRegMap(@Self)^.clr := $00000001;
  12417. end;
  12418. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  12419. begin
  12420. if thebits = 0 then
  12421. pTDefRegMap(@Self)^.clr := $00000001
  12422. else
  12423. pTDefRegMap(@Self)^.&set := $00000001;
  12424. end;
  12425. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  12426. begin
  12427. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12428. end;
  12429. procedure TICAP4_IC4CON.setICM1; inline;
  12430. begin
  12431. pTDefRegMap(@Self)^.&set := $00000002;
  12432. end;
  12433. procedure TICAP4_IC4CON.clearICM1; inline;
  12434. begin
  12435. pTDefRegMap(@Self)^.clr := $00000002;
  12436. end;
  12437. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  12438. begin
  12439. if thebits = 0 then
  12440. pTDefRegMap(@Self)^.clr := $00000002
  12441. else
  12442. pTDefRegMap(@Self)^.&set := $00000002;
  12443. end;
  12444. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  12445. begin
  12446. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12447. end;
  12448. procedure TICAP4_IC4CON.setICM2; inline;
  12449. begin
  12450. pTDefRegMap(@Self)^.&set := $00000004;
  12451. end;
  12452. procedure TICAP4_IC4CON.clearICM2; inline;
  12453. begin
  12454. pTDefRegMap(@Self)^.clr := $00000004;
  12455. end;
  12456. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  12457. begin
  12458. if thebits = 0 then
  12459. pTDefRegMap(@Self)^.clr := $00000004
  12460. else
  12461. pTDefRegMap(@Self)^.&set := $00000004;
  12462. end;
  12463. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  12464. begin
  12465. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12466. end;
  12467. procedure TICAP4_IC4CON.setICI0; inline;
  12468. begin
  12469. pTDefRegMap(@Self)^.&set := $00000020;
  12470. end;
  12471. procedure TICAP4_IC4CON.clearICI0; inline;
  12472. begin
  12473. pTDefRegMap(@Self)^.clr := $00000020;
  12474. end;
  12475. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  12476. begin
  12477. if thebits = 0 then
  12478. pTDefRegMap(@Self)^.clr := $00000020
  12479. else
  12480. pTDefRegMap(@Self)^.&set := $00000020;
  12481. end;
  12482. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  12483. begin
  12484. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12485. end;
  12486. procedure TICAP4_IC4CON.setICI1; inline;
  12487. begin
  12488. pTDefRegMap(@Self)^.&set := $00000040;
  12489. end;
  12490. procedure TICAP4_IC4CON.clearICI1; inline;
  12491. begin
  12492. pTDefRegMap(@Self)^.clr := $00000040;
  12493. end;
  12494. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  12495. begin
  12496. if thebits = 0 then
  12497. pTDefRegMap(@Self)^.clr := $00000040
  12498. else
  12499. pTDefRegMap(@Self)^.&set := $00000040;
  12500. end;
  12501. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  12502. begin
  12503. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12504. end;
  12505. procedure TICAP4_IC4CON.setICSIDL; inline;
  12506. begin
  12507. pTDefRegMap(@Self)^.&set := $00002000;
  12508. end;
  12509. procedure TICAP4_IC4CON.clearICSIDL; inline;
  12510. begin
  12511. pTDefRegMap(@Self)^.clr := $00002000;
  12512. end;
  12513. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  12514. begin
  12515. if thebits = 0 then
  12516. pTDefRegMap(@Self)^.clr := $00002000
  12517. else
  12518. pTDefRegMap(@Self)^.&set := $00002000;
  12519. end;
  12520. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  12521. begin
  12522. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12523. end;
  12524. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  12525. begin
  12526. pTDefRegMap(@Self)^.val := thebits;
  12527. end;
  12528. function TICAP4_IC4CON.getw : TBits_32; inline;
  12529. begin
  12530. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12531. end;
  12532. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  12533. begin
  12534. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12535. end;
  12536. function TICAP5_IC5CON.getICM : TBits_3; inline;
  12537. begin
  12538. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12539. end;
  12540. procedure TICAP5_IC5CON.setICBNE; inline;
  12541. begin
  12542. pTDefRegMap(@Self)^.&set := $00000008;
  12543. end;
  12544. procedure TICAP5_IC5CON.clearICBNE; inline;
  12545. begin
  12546. pTDefRegMap(@Self)^.clr := $00000008;
  12547. end;
  12548. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  12549. begin
  12550. if thebits = 0 then
  12551. pTDefRegMap(@Self)^.clr := $00000008
  12552. else
  12553. pTDefRegMap(@Self)^.&set := $00000008;
  12554. end;
  12555. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  12556. begin
  12557. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12558. end;
  12559. procedure TICAP5_IC5CON.setICOV; inline;
  12560. begin
  12561. pTDefRegMap(@Self)^.&set := $00000010;
  12562. end;
  12563. procedure TICAP5_IC5CON.clearICOV; inline;
  12564. begin
  12565. pTDefRegMap(@Self)^.clr := $00000010;
  12566. end;
  12567. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  12568. begin
  12569. if thebits = 0 then
  12570. pTDefRegMap(@Self)^.clr := $00000010
  12571. else
  12572. pTDefRegMap(@Self)^.&set := $00000010;
  12573. end;
  12574. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  12575. begin
  12576. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12577. end;
  12578. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  12579. begin
  12580. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12581. end;
  12582. function TICAP5_IC5CON.getICI : TBits_2; inline;
  12583. begin
  12584. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12585. end;
  12586. procedure TICAP5_IC5CON.setICTMR; inline;
  12587. begin
  12588. pTDefRegMap(@Self)^.&set := $00000080;
  12589. end;
  12590. procedure TICAP5_IC5CON.clearICTMR; inline;
  12591. begin
  12592. pTDefRegMap(@Self)^.clr := $00000080;
  12593. end;
  12594. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  12595. begin
  12596. if thebits = 0 then
  12597. pTDefRegMap(@Self)^.clr := $00000080
  12598. else
  12599. pTDefRegMap(@Self)^.&set := $00000080;
  12600. end;
  12601. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  12602. begin
  12603. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12604. end;
  12605. procedure TICAP5_IC5CON.setC32; inline;
  12606. begin
  12607. pTDefRegMap(@Self)^.&set := $00000100;
  12608. end;
  12609. procedure TICAP5_IC5CON.clearC32; inline;
  12610. begin
  12611. pTDefRegMap(@Self)^.clr := $00000100;
  12612. end;
  12613. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  12614. begin
  12615. if thebits = 0 then
  12616. pTDefRegMap(@Self)^.clr := $00000100
  12617. else
  12618. pTDefRegMap(@Self)^.&set := $00000100;
  12619. end;
  12620. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  12621. begin
  12622. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12623. end;
  12624. procedure TICAP5_IC5CON.setFEDGE; inline;
  12625. begin
  12626. pTDefRegMap(@Self)^.&set := $00000200;
  12627. end;
  12628. procedure TICAP5_IC5CON.clearFEDGE; inline;
  12629. begin
  12630. pTDefRegMap(@Self)^.clr := $00000200;
  12631. end;
  12632. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  12633. begin
  12634. if thebits = 0 then
  12635. pTDefRegMap(@Self)^.clr := $00000200
  12636. else
  12637. pTDefRegMap(@Self)^.&set := $00000200;
  12638. end;
  12639. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  12640. begin
  12641. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12642. end;
  12643. procedure TICAP5_IC5CON.setSIDL; inline;
  12644. begin
  12645. pTDefRegMap(@Self)^.&set := $00002000;
  12646. end;
  12647. procedure TICAP5_IC5CON.clearSIDL; inline;
  12648. begin
  12649. pTDefRegMap(@Self)^.clr := $00002000;
  12650. end;
  12651. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  12652. begin
  12653. if thebits = 0 then
  12654. pTDefRegMap(@Self)^.clr := $00002000
  12655. else
  12656. pTDefRegMap(@Self)^.&set := $00002000;
  12657. end;
  12658. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  12659. begin
  12660. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12661. end;
  12662. procedure TICAP5_IC5CON.setON; inline;
  12663. begin
  12664. pTDefRegMap(@Self)^.&set := $00008000;
  12665. end;
  12666. procedure TICAP5_IC5CON.clearON; inline;
  12667. begin
  12668. pTDefRegMap(@Self)^.clr := $00008000;
  12669. end;
  12670. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  12671. begin
  12672. if thebits = 0 then
  12673. pTDefRegMap(@Self)^.clr := $00008000
  12674. else
  12675. pTDefRegMap(@Self)^.&set := $00008000;
  12676. end;
  12677. function TICAP5_IC5CON.getON : TBits_1; inline;
  12678. begin
  12679. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12680. end;
  12681. procedure TICAP5_IC5CON.setICM0; inline;
  12682. begin
  12683. pTDefRegMap(@Self)^.&set := $00000001;
  12684. end;
  12685. procedure TICAP5_IC5CON.clearICM0; inline;
  12686. begin
  12687. pTDefRegMap(@Self)^.clr := $00000001;
  12688. end;
  12689. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  12690. begin
  12691. if thebits = 0 then
  12692. pTDefRegMap(@Self)^.clr := $00000001
  12693. else
  12694. pTDefRegMap(@Self)^.&set := $00000001;
  12695. end;
  12696. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  12697. begin
  12698. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12699. end;
  12700. procedure TICAP5_IC5CON.setICM1; inline;
  12701. begin
  12702. pTDefRegMap(@Self)^.&set := $00000002;
  12703. end;
  12704. procedure TICAP5_IC5CON.clearICM1; inline;
  12705. begin
  12706. pTDefRegMap(@Self)^.clr := $00000002;
  12707. end;
  12708. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  12709. begin
  12710. if thebits = 0 then
  12711. pTDefRegMap(@Self)^.clr := $00000002
  12712. else
  12713. pTDefRegMap(@Self)^.&set := $00000002;
  12714. end;
  12715. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  12716. begin
  12717. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12718. end;
  12719. procedure TICAP5_IC5CON.setICM2; inline;
  12720. begin
  12721. pTDefRegMap(@Self)^.&set := $00000004;
  12722. end;
  12723. procedure TICAP5_IC5CON.clearICM2; inline;
  12724. begin
  12725. pTDefRegMap(@Self)^.clr := $00000004;
  12726. end;
  12727. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  12728. begin
  12729. if thebits = 0 then
  12730. pTDefRegMap(@Self)^.clr := $00000004
  12731. else
  12732. pTDefRegMap(@Self)^.&set := $00000004;
  12733. end;
  12734. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  12735. begin
  12736. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12737. end;
  12738. procedure TICAP5_IC5CON.setICI0; inline;
  12739. begin
  12740. pTDefRegMap(@Self)^.&set := $00000020;
  12741. end;
  12742. procedure TICAP5_IC5CON.clearICI0; inline;
  12743. begin
  12744. pTDefRegMap(@Self)^.clr := $00000020;
  12745. end;
  12746. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  12747. begin
  12748. if thebits = 0 then
  12749. pTDefRegMap(@Self)^.clr := $00000020
  12750. else
  12751. pTDefRegMap(@Self)^.&set := $00000020;
  12752. end;
  12753. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  12754. begin
  12755. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12756. end;
  12757. procedure TICAP5_IC5CON.setICI1; inline;
  12758. begin
  12759. pTDefRegMap(@Self)^.&set := $00000040;
  12760. end;
  12761. procedure TICAP5_IC5CON.clearICI1; inline;
  12762. begin
  12763. pTDefRegMap(@Self)^.clr := $00000040;
  12764. end;
  12765. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  12766. begin
  12767. if thebits = 0 then
  12768. pTDefRegMap(@Self)^.clr := $00000040
  12769. else
  12770. pTDefRegMap(@Self)^.&set := $00000040;
  12771. end;
  12772. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  12773. begin
  12774. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12775. end;
  12776. procedure TICAP5_IC5CON.setICSIDL; inline;
  12777. begin
  12778. pTDefRegMap(@Self)^.&set := $00002000;
  12779. end;
  12780. procedure TICAP5_IC5CON.clearICSIDL; inline;
  12781. begin
  12782. pTDefRegMap(@Self)^.clr := $00002000;
  12783. end;
  12784. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  12785. begin
  12786. if thebits = 0 then
  12787. pTDefRegMap(@Self)^.clr := $00002000
  12788. else
  12789. pTDefRegMap(@Self)^.&set := $00002000;
  12790. end;
  12791. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  12792. begin
  12793. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12794. end;
  12795. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  12796. begin
  12797. pTDefRegMap(@Self)^.val := thebits;
  12798. end;
  12799. function TICAP5_IC5CON.getw : TBits_32; inline;
  12800. begin
  12801. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12802. end;
  12803. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  12804. begin
  12805. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12806. end;
  12807. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  12808. begin
  12809. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12810. end;
  12811. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  12812. begin
  12813. pTDefRegMap(@Self)^.&set := $00000008;
  12814. end;
  12815. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  12816. begin
  12817. pTDefRegMap(@Self)^.clr := $00000008;
  12818. end;
  12819. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  12820. begin
  12821. if thebits = 0 then
  12822. pTDefRegMap(@Self)^.clr := $00000008
  12823. else
  12824. pTDefRegMap(@Self)^.&set := $00000008;
  12825. end;
  12826. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  12827. begin
  12828. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12829. end;
  12830. procedure TOCMP1_OC1CON.setOCFLT; inline;
  12831. begin
  12832. pTDefRegMap(@Self)^.&set := $00000010;
  12833. end;
  12834. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  12835. begin
  12836. pTDefRegMap(@Self)^.clr := $00000010;
  12837. end;
  12838. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  12839. begin
  12840. if thebits = 0 then
  12841. pTDefRegMap(@Self)^.clr := $00000010
  12842. else
  12843. pTDefRegMap(@Self)^.&set := $00000010;
  12844. end;
  12845. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  12846. begin
  12847. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12848. end;
  12849. procedure TOCMP1_OC1CON.setOC32; inline;
  12850. begin
  12851. pTDefRegMap(@Self)^.&set := $00000020;
  12852. end;
  12853. procedure TOCMP1_OC1CON.clearOC32; inline;
  12854. begin
  12855. pTDefRegMap(@Self)^.clr := $00000020;
  12856. end;
  12857. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  12858. begin
  12859. if thebits = 0 then
  12860. pTDefRegMap(@Self)^.clr := $00000020
  12861. else
  12862. pTDefRegMap(@Self)^.&set := $00000020;
  12863. end;
  12864. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  12865. begin
  12866. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12867. end;
  12868. procedure TOCMP1_OC1CON.setSIDL; inline;
  12869. begin
  12870. pTDefRegMap(@Self)^.&set := $00002000;
  12871. end;
  12872. procedure TOCMP1_OC1CON.clearSIDL; inline;
  12873. begin
  12874. pTDefRegMap(@Self)^.clr := $00002000;
  12875. end;
  12876. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  12877. begin
  12878. if thebits = 0 then
  12879. pTDefRegMap(@Self)^.clr := $00002000
  12880. else
  12881. pTDefRegMap(@Self)^.&set := $00002000;
  12882. end;
  12883. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  12884. begin
  12885. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12886. end;
  12887. procedure TOCMP1_OC1CON.setON; inline;
  12888. begin
  12889. pTDefRegMap(@Self)^.&set := $00008000;
  12890. end;
  12891. procedure TOCMP1_OC1CON.clearON; inline;
  12892. begin
  12893. pTDefRegMap(@Self)^.clr := $00008000;
  12894. end;
  12895. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  12896. begin
  12897. if thebits = 0 then
  12898. pTDefRegMap(@Self)^.clr := $00008000
  12899. else
  12900. pTDefRegMap(@Self)^.&set := $00008000;
  12901. end;
  12902. function TOCMP1_OC1CON.getON : TBits_1; inline;
  12903. begin
  12904. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12905. end;
  12906. procedure TOCMP1_OC1CON.setOCM0; inline;
  12907. begin
  12908. pTDefRegMap(@Self)^.&set := $00000001;
  12909. end;
  12910. procedure TOCMP1_OC1CON.clearOCM0; inline;
  12911. begin
  12912. pTDefRegMap(@Self)^.clr := $00000001;
  12913. end;
  12914. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  12915. begin
  12916. if thebits = 0 then
  12917. pTDefRegMap(@Self)^.clr := $00000001
  12918. else
  12919. pTDefRegMap(@Self)^.&set := $00000001;
  12920. end;
  12921. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  12922. begin
  12923. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12924. end;
  12925. procedure TOCMP1_OC1CON.setOCM1; inline;
  12926. begin
  12927. pTDefRegMap(@Self)^.&set := $00000002;
  12928. end;
  12929. procedure TOCMP1_OC1CON.clearOCM1; inline;
  12930. begin
  12931. pTDefRegMap(@Self)^.clr := $00000002;
  12932. end;
  12933. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  12934. begin
  12935. if thebits = 0 then
  12936. pTDefRegMap(@Self)^.clr := $00000002
  12937. else
  12938. pTDefRegMap(@Self)^.&set := $00000002;
  12939. end;
  12940. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  12941. begin
  12942. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12943. end;
  12944. procedure TOCMP1_OC1CON.setOCM2; inline;
  12945. begin
  12946. pTDefRegMap(@Self)^.&set := $00000004;
  12947. end;
  12948. procedure TOCMP1_OC1CON.clearOCM2; inline;
  12949. begin
  12950. pTDefRegMap(@Self)^.clr := $00000004;
  12951. end;
  12952. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  12953. begin
  12954. if thebits = 0 then
  12955. pTDefRegMap(@Self)^.clr := $00000004
  12956. else
  12957. pTDefRegMap(@Self)^.&set := $00000004;
  12958. end;
  12959. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  12960. begin
  12961. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12962. end;
  12963. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  12964. begin
  12965. pTDefRegMap(@Self)^.&set := $00002000;
  12966. end;
  12967. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  12968. begin
  12969. pTDefRegMap(@Self)^.clr := $00002000;
  12970. end;
  12971. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  12972. begin
  12973. if thebits = 0 then
  12974. pTDefRegMap(@Self)^.clr := $00002000
  12975. else
  12976. pTDefRegMap(@Self)^.&set := $00002000;
  12977. end;
  12978. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  12979. begin
  12980. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12981. end;
  12982. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  12983. begin
  12984. pTDefRegMap(@Self)^.val := thebits;
  12985. end;
  12986. function TOCMP1_OC1CON.getw : TBits_32; inline;
  12987. begin
  12988. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12989. end;
  12990. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  12991. begin
  12992. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12993. end;
  12994. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  12995. begin
  12996. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12997. end;
  12998. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  12999. begin
  13000. pTDefRegMap(@Self)^.&set := $00000008;
  13001. end;
  13002. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  13003. begin
  13004. pTDefRegMap(@Self)^.clr := $00000008;
  13005. end;
  13006. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  13007. begin
  13008. if thebits = 0 then
  13009. pTDefRegMap(@Self)^.clr := $00000008
  13010. else
  13011. pTDefRegMap(@Self)^.&set := $00000008;
  13012. end;
  13013. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  13014. begin
  13015. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13016. end;
  13017. procedure TOCMP2_OC2CON.setOCFLT; inline;
  13018. begin
  13019. pTDefRegMap(@Self)^.&set := $00000010;
  13020. end;
  13021. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  13022. begin
  13023. pTDefRegMap(@Self)^.clr := $00000010;
  13024. end;
  13025. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  13026. begin
  13027. if thebits = 0 then
  13028. pTDefRegMap(@Self)^.clr := $00000010
  13029. else
  13030. pTDefRegMap(@Self)^.&set := $00000010;
  13031. end;
  13032. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  13033. begin
  13034. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13035. end;
  13036. procedure TOCMP2_OC2CON.setOC32; inline;
  13037. begin
  13038. pTDefRegMap(@Self)^.&set := $00000020;
  13039. end;
  13040. procedure TOCMP2_OC2CON.clearOC32; inline;
  13041. begin
  13042. pTDefRegMap(@Self)^.clr := $00000020;
  13043. end;
  13044. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  13045. begin
  13046. if thebits = 0 then
  13047. pTDefRegMap(@Self)^.clr := $00000020
  13048. else
  13049. pTDefRegMap(@Self)^.&set := $00000020;
  13050. end;
  13051. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  13052. begin
  13053. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13054. end;
  13055. procedure TOCMP2_OC2CON.setSIDL; inline;
  13056. begin
  13057. pTDefRegMap(@Self)^.&set := $00002000;
  13058. end;
  13059. procedure TOCMP2_OC2CON.clearSIDL; inline;
  13060. begin
  13061. pTDefRegMap(@Self)^.clr := $00002000;
  13062. end;
  13063. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  13064. begin
  13065. if thebits = 0 then
  13066. pTDefRegMap(@Self)^.clr := $00002000
  13067. else
  13068. pTDefRegMap(@Self)^.&set := $00002000;
  13069. end;
  13070. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  13071. begin
  13072. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13073. end;
  13074. procedure TOCMP2_OC2CON.setON; inline;
  13075. begin
  13076. pTDefRegMap(@Self)^.&set := $00008000;
  13077. end;
  13078. procedure TOCMP2_OC2CON.clearON; inline;
  13079. begin
  13080. pTDefRegMap(@Self)^.clr := $00008000;
  13081. end;
  13082. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  13083. begin
  13084. if thebits = 0 then
  13085. pTDefRegMap(@Self)^.clr := $00008000
  13086. else
  13087. pTDefRegMap(@Self)^.&set := $00008000;
  13088. end;
  13089. function TOCMP2_OC2CON.getON : TBits_1; inline;
  13090. begin
  13091. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13092. end;
  13093. procedure TOCMP2_OC2CON.setOCM0; inline;
  13094. begin
  13095. pTDefRegMap(@Self)^.&set := $00000001;
  13096. end;
  13097. procedure TOCMP2_OC2CON.clearOCM0; inline;
  13098. begin
  13099. pTDefRegMap(@Self)^.clr := $00000001;
  13100. end;
  13101. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  13102. begin
  13103. if thebits = 0 then
  13104. pTDefRegMap(@Self)^.clr := $00000001
  13105. else
  13106. pTDefRegMap(@Self)^.&set := $00000001;
  13107. end;
  13108. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  13109. begin
  13110. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13111. end;
  13112. procedure TOCMP2_OC2CON.setOCM1; inline;
  13113. begin
  13114. pTDefRegMap(@Self)^.&set := $00000002;
  13115. end;
  13116. procedure TOCMP2_OC2CON.clearOCM1; inline;
  13117. begin
  13118. pTDefRegMap(@Self)^.clr := $00000002;
  13119. end;
  13120. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  13121. begin
  13122. if thebits = 0 then
  13123. pTDefRegMap(@Self)^.clr := $00000002
  13124. else
  13125. pTDefRegMap(@Self)^.&set := $00000002;
  13126. end;
  13127. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  13128. begin
  13129. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13130. end;
  13131. procedure TOCMP2_OC2CON.setOCM2; inline;
  13132. begin
  13133. pTDefRegMap(@Self)^.&set := $00000004;
  13134. end;
  13135. procedure TOCMP2_OC2CON.clearOCM2; inline;
  13136. begin
  13137. pTDefRegMap(@Self)^.clr := $00000004;
  13138. end;
  13139. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  13140. begin
  13141. if thebits = 0 then
  13142. pTDefRegMap(@Self)^.clr := $00000004
  13143. else
  13144. pTDefRegMap(@Self)^.&set := $00000004;
  13145. end;
  13146. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  13147. begin
  13148. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13149. end;
  13150. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  13151. begin
  13152. pTDefRegMap(@Self)^.&set := $00002000;
  13153. end;
  13154. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  13155. begin
  13156. pTDefRegMap(@Self)^.clr := $00002000;
  13157. end;
  13158. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  13159. begin
  13160. if thebits = 0 then
  13161. pTDefRegMap(@Self)^.clr := $00002000
  13162. else
  13163. pTDefRegMap(@Self)^.&set := $00002000;
  13164. end;
  13165. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  13166. begin
  13167. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13168. end;
  13169. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  13170. begin
  13171. pTDefRegMap(@Self)^.val := thebits;
  13172. end;
  13173. function TOCMP2_OC2CON.getw : TBits_32; inline;
  13174. begin
  13175. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13176. end;
  13177. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  13178. begin
  13179. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13180. end;
  13181. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  13182. begin
  13183. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13184. end;
  13185. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  13186. begin
  13187. pTDefRegMap(@Self)^.&set := $00000008;
  13188. end;
  13189. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  13190. begin
  13191. pTDefRegMap(@Self)^.clr := $00000008;
  13192. end;
  13193. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  13194. begin
  13195. if thebits = 0 then
  13196. pTDefRegMap(@Self)^.clr := $00000008
  13197. else
  13198. pTDefRegMap(@Self)^.&set := $00000008;
  13199. end;
  13200. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  13201. begin
  13202. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13203. end;
  13204. procedure TOCMP3_OC3CON.setOCFLT; inline;
  13205. begin
  13206. pTDefRegMap(@Self)^.&set := $00000010;
  13207. end;
  13208. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  13209. begin
  13210. pTDefRegMap(@Self)^.clr := $00000010;
  13211. end;
  13212. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  13213. begin
  13214. if thebits = 0 then
  13215. pTDefRegMap(@Self)^.clr := $00000010
  13216. else
  13217. pTDefRegMap(@Self)^.&set := $00000010;
  13218. end;
  13219. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  13220. begin
  13221. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13222. end;
  13223. procedure TOCMP3_OC3CON.setOC32; inline;
  13224. begin
  13225. pTDefRegMap(@Self)^.&set := $00000020;
  13226. end;
  13227. procedure TOCMP3_OC3CON.clearOC32; inline;
  13228. begin
  13229. pTDefRegMap(@Self)^.clr := $00000020;
  13230. end;
  13231. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  13232. begin
  13233. if thebits = 0 then
  13234. pTDefRegMap(@Self)^.clr := $00000020
  13235. else
  13236. pTDefRegMap(@Self)^.&set := $00000020;
  13237. end;
  13238. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  13239. begin
  13240. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13241. end;
  13242. procedure TOCMP3_OC3CON.setSIDL; inline;
  13243. begin
  13244. pTDefRegMap(@Self)^.&set := $00002000;
  13245. end;
  13246. procedure TOCMP3_OC3CON.clearSIDL; inline;
  13247. begin
  13248. pTDefRegMap(@Self)^.clr := $00002000;
  13249. end;
  13250. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  13251. begin
  13252. if thebits = 0 then
  13253. pTDefRegMap(@Self)^.clr := $00002000
  13254. else
  13255. pTDefRegMap(@Self)^.&set := $00002000;
  13256. end;
  13257. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  13258. begin
  13259. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13260. end;
  13261. procedure TOCMP3_OC3CON.setON; inline;
  13262. begin
  13263. pTDefRegMap(@Self)^.&set := $00008000;
  13264. end;
  13265. procedure TOCMP3_OC3CON.clearON; inline;
  13266. begin
  13267. pTDefRegMap(@Self)^.clr := $00008000;
  13268. end;
  13269. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  13270. begin
  13271. if thebits = 0 then
  13272. pTDefRegMap(@Self)^.clr := $00008000
  13273. else
  13274. pTDefRegMap(@Self)^.&set := $00008000;
  13275. end;
  13276. function TOCMP3_OC3CON.getON : TBits_1; inline;
  13277. begin
  13278. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13279. end;
  13280. procedure TOCMP3_OC3CON.setOCM0; inline;
  13281. begin
  13282. pTDefRegMap(@Self)^.&set := $00000001;
  13283. end;
  13284. procedure TOCMP3_OC3CON.clearOCM0; inline;
  13285. begin
  13286. pTDefRegMap(@Self)^.clr := $00000001;
  13287. end;
  13288. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  13289. begin
  13290. if thebits = 0 then
  13291. pTDefRegMap(@Self)^.clr := $00000001
  13292. else
  13293. pTDefRegMap(@Self)^.&set := $00000001;
  13294. end;
  13295. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  13296. begin
  13297. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13298. end;
  13299. procedure TOCMP3_OC3CON.setOCM1; inline;
  13300. begin
  13301. pTDefRegMap(@Self)^.&set := $00000002;
  13302. end;
  13303. procedure TOCMP3_OC3CON.clearOCM1; inline;
  13304. begin
  13305. pTDefRegMap(@Self)^.clr := $00000002;
  13306. end;
  13307. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  13308. begin
  13309. if thebits = 0 then
  13310. pTDefRegMap(@Self)^.clr := $00000002
  13311. else
  13312. pTDefRegMap(@Self)^.&set := $00000002;
  13313. end;
  13314. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  13315. begin
  13316. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13317. end;
  13318. procedure TOCMP3_OC3CON.setOCM2; inline;
  13319. begin
  13320. pTDefRegMap(@Self)^.&set := $00000004;
  13321. end;
  13322. procedure TOCMP3_OC3CON.clearOCM2; inline;
  13323. begin
  13324. pTDefRegMap(@Self)^.clr := $00000004;
  13325. end;
  13326. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  13327. begin
  13328. if thebits = 0 then
  13329. pTDefRegMap(@Self)^.clr := $00000004
  13330. else
  13331. pTDefRegMap(@Self)^.&set := $00000004;
  13332. end;
  13333. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  13334. begin
  13335. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13336. end;
  13337. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  13338. begin
  13339. pTDefRegMap(@Self)^.&set := $00002000;
  13340. end;
  13341. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  13342. begin
  13343. pTDefRegMap(@Self)^.clr := $00002000;
  13344. end;
  13345. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  13346. begin
  13347. if thebits = 0 then
  13348. pTDefRegMap(@Self)^.clr := $00002000
  13349. else
  13350. pTDefRegMap(@Self)^.&set := $00002000;
  13351. end;
  13352. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  13353. begin
  13354. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13355. end;
  13356. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  13357. begin
  13358. pTDefRegMap(@Self)^.val := thebits;
  13359. end;
  13360. function TOCMP3_OC3CON.getw : TBits_32; inline;
  13361. begin
  13362. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13363. end;
  13364. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  13365. begin
  13366. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13367. end;
  13368. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  13369. begin
  13370. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13371. end;
  13372. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  13373. begin
  13374. pTDefRegMap(@Self)^.&set := $00000008;
  13375. end;
  13376. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  13377. begin
  13378. pTDefRegMap(@Self)^.clr := $00000008;
  13379. end;
  13380. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  13381. begin
  13382. if thebits = 0 then
  13383. pTDefRegMap(@Self)^.clr := $00000008
  13384. else
  13385. pTDefRegMap(@Self)^.&set := $00000008;
  13386. end;
  13387. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  13388. begin
  13389. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13390. end;
  13391. procedure TOCMP4_OC4CON.setOCFLT; inline;
  13392. begin
  13393. pTDefRegMap(@Self)^.&set := $00000010;
  13394. end;
  13395. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  13396. begin
  13397. pTDefRegMap(@Self)^.clr := $00000010;
  13398. end;
  13399. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  13400. begin
  13401. if thebits = 0 then
  13402. pTDefRegMap(@Self)^.clr := $00000010
  13403. else
  13404. pTDefRegMap(@Self)^.&set := $00000010;
  13405. end;
  13406. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  13407. begin
  13408. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13409. end;
  13410. procedure TOCMP4_OC4CON.setOC32; inline;
  13411. begin
  13412. pTDefRegMap(@Self)^.&set := $00000020;
  13413. end;
  13414. procedure TOCMP4_OC4CON.clearOC32; inline;
  13415. begin
  13416. pTDefRegMap(@Self)^.clr := $00000020;
  13417. end;
  13418. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  13419. begin
  13420. if thebits = 0 then
  13421. pTDefRegMap(@Self)^.clr := $00000020
  13422. else
  13423. pTDefRegMap(@Self)^.&set := $00000020;
  13424. end;
  13425. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  13426. begin
  13427. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13428. end;
  13429. procedure TOCMP4_OC4CON.setSIDL; inline;
  13430. begin
  13431. pTDefRegMap(@Self)^.&set := $00002000;
  13432. end;
  13433. procedure TOCMP4_OC4CON.clearSIDL; inline;
  13434. begin
  13435. pTDefRegMap(@Self)^.clr := $00002000;
  13436. end;
  13437. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  13438. begin
  13439. if thebits = 0 then
  13440. pTDefRegMap(@Self)^.clr := $00002000
  13441. else
  13442. pTDefRegMap(@Self)^.&set := $00002000;
  13443. end;
  13444. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  13445. begin
  13446. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13447. end;
  13448. procedure TOCMP4_OC4CON.setON; inline;
  13449. begin
  13450. pTDefRegMap(@Self)^.&set := $00008000;
  13451. end;
  13452. procedure TOCMP4_OC4CON.clearON; inline;
  13453. begin
  13454. pTDefRegMap(@Self)^.clr := $00008000;
  13455. end;
  13456. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  13457. begin
  13458. if thebits = 0 then
  13459. pTDefRegMap(@Self)^.clr := $00008000
  13460. else
  13461. pTDefRegMap(@Self)^.&set := $00008000;
  13462. end;
  13463. function TOCMP4_OC4CON.getON : TBits_1; inline;
  13464. begin
  13465. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13466. end;
  13467. procedure TOCMP4_OC4CON.setOCM0; inline;
  13468. begin
  13469. pTDefRegMap(@Self)^.&set := $00000001;
  13470. end;
  13471. procedure TOCMP4_OC4CON.clearOCM0; inline;
  13472. begin
  13473. pTDefRegMap(@Self)^.clr := $00000001;
  13474. end;
  13475. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  13476. begin
  13477. if thebits = 0 then
  13478. pTDefRegMap(@Self)^.clr := $00000001
  13479. else
  13480. pTDefRegMap(@Self)^.&set := $00000001;
  13481. end;
  13482. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  13483. begin
  13484. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13485. end;
  13486. procedure TOCMP4_OC4CON.setOCM1; inline;
  13487. begin
  13488. pTDefRegMap(@Self)^.&set := $00000002;
  13489. end;
  13490. procedure TOCMP4_OC4CON.clearOCM1; inline;
  13491. begin
  13492. pTDefRegMap(@Self)^.clr := $00000002;
  13493. end;
  13494. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  13495. begin
  13496. if thebits = 0 then
  13497. pTDefRegMap(@Self)^.clr := $00000002
  13498. else
  13499. pTDefRegMap(@Self)^.&set := $00000002;
  13500. end;
  13501. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  13502. begin
  13503. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13504. end;
  13505. procedure TOCMP4_OC4CON.setOCM2; inline;
  13506. begin
  13507. pTDefRegMap(@Self)^.&set := $00000004;
  13508. end;
  13509. procedure TOCMP4_OC4CON.clearOCM2; inline;
  13510. begin
  13511. pTDefRegMap(@Self)^.clr := $00000004;
  13512. end;
  13513. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  13514. begin
  13515. if thebits = 0 then
  13516. pTDefRegMap(@Self)^.clr := $00000004
  13517. else
  13518. pTDefRegMap(@Self)^.&set := $00000004;
  13519. end;
  13520. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  13521. begin
  13522. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13523. end;
  13524. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  13525. begin
  13526. pTDefRegMap(@Self)^.&set := $00002000;
  13527. end;
  13528. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  13529. begin
  13530. pTDefRegMap(@Self)^.clr := $00002000;
  13531. end;
  13532. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  13533. begin
  13534. if thebits = 0 then
  13535. pTDefRegMap(@Self)^.clr := $00002000
  13536. else
  13537. pTDefRegMap(@Self)^.&set := $00002000;
  13538. end;
  13539. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  13540. begin
  13541. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13542. end;
  13543. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  13544. begin
  13545. pTDefRegMap(@Self)^.val := thebits;
  13546. end;
  13547. function TOCMP4_OC4CON.getw : TBits_32; inline;
  13548. begin
  13549. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13550. end;
  13551. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  13552. begin
  13553. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13554. end;
  13555. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  13556. begin
  13557. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13558. end;
  13559. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  13560. begin
  13561. pTDefRegMap(@Self)^.&set := $00000008;
  13562. end;
  13563. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  13564. begin
  13565. pTDefRegMap(@Self)^.clr := $00000008;
  13566. end;
  13567. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  13568. begin
  13569. if thebits = 0 then
  13570. pTDefRegMap(@Self)^.clr := $00000008
  13571. else
  13572. pTDefRegMap(@Self)^.&set := $00000008;
  13573. end;
  13574. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  13575. begin
  13576. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13577. end;
  13578. procedure TOCMP5_OC5CON.setOCFLT; inline;
  13579. begin
  13580. pTDefRegMap(@Self)^.&set := $00000010;
  13581. end;
  13582. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  13583. begin
  13584. pTDefRegMap(@Self)^.clr := $00000010;
  13585. end;
  13586. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  13587. begin
  13588. if thebits = 0 then
  13589. pTDefRegMap(@Self)^.clr := $00000010
  13590. else
  13591. pTDefRegMap(@Self)^.&set := $00000010;
  13592. end;
  13593. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  13594. begin
  13595. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13596. end;
  13597. procedure TOCMP5_OC5CON.setOC32; inline;
  13598. begin
  13599. pTDefRegMap(@Self)^.&set := $00000020;
  13600. end;
  13601. procedure TOCMP5_OC5CON.clearOC32; inline;
  13602. begin
  13603. pTDefRegMap(@Self)^.clr := $00000020;
  13604. end;
  13605. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  13606. begin
  13607. if thebits = 0 then
  13608. pTDefRegMap(@Self)^.clr := $00000020
  13609. else
  13610. pTDefRegMap(@Self)^.&set := $00000020;
  13611. end;
  13612. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  13613. begin
  13614. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13615. end;
  13616. procedure TOCMP5_OC5CON.setSIDL; inline;
  13617. begin
  13618. pTDefRegMap(@Self)^.&set := $00002000;
  13619. end;
  13620. procedure TOCMP5_OC5CON.clearSIDL; inline;
  13621. begin
  13622. pTDefRegMap(@Self)^.clr := $00002000;
  13623. end;
  13624. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  13625. begin
  13626. if thebits = 0 then
  13627. pTDefRegMap(@Self)^.clr := $00002000
  13628. else
  13629. pTDefRegMap(@Self)^.&set := $00002000;
  13630. end;
  13631. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  13632. begin
  13633. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13634. end;
  13635. procedure TOCMP5_OC5CON.setON; inline;
  13636. begin
  13637. pTDefRegMap(@Self)^.&set := $00008000;
  13638. end;
  13639. procedure TOCMP5_OC5CON.clearON; inline;
  13640. begin
  13641. pTDefRegMap(@Self)^.clr := $00008000;
  13642. end;
  13643. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  13644. begin
  13645. if thebits = 0 then
  13646. pTDefRegMap(@Self)^.clr := $00008000
  13647. else
  13648. pTDefRegMap(@Self)^.&set := $00008000;
  13649. end;
  13650. function TOCMP5_OC5CON.getON : TBits_1; inline;
  13651. begin
  13652. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13653. end;
  13654. procedure TOCMP5_OC5CON.setOCM0; inline;
  13655. begin
  13656. pTDefRegMap(@Self)^.&set := $00000001;
  13657. end;
  13658. procedure TOCMP5_OC5CON.clearOCM0; inline;
  13659. begin
  13660. pTDefRegMap(@Self)^.clr := $00000001;
  13661. end;
  13662. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  13663. begin
  13664. if thebits = 0 then
  13665. pTDefRegMap(@Self)^.clr := $00000001
  13666. else
  13667. pTDefRegMap(@Self)^.&set := $00000001;
  13668. end;
  13669. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  13670. begin
  13671. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13672. end;
  13673. procedure TOCMP5_OC5CON.setOCM1; inline;
  13674. begin
  13675. pTDefRegMap(@Self)^.&set := $00000002;
  13676. end;
  13677. procedure TOCMP5_OC5CON.clearOCM1; inline;
  13678. begin
  13679. pTDefRegMap(@Self)^.clr := $00000002;
  13680. end;
  13681. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  13682. begin
  13683. if thebits = 0 then
  13684. pTDefRegMap(@Self)^.clr := $00000002
  13685. else
  13686. pTDefRegMap(@Self)^.&set := $00000002;
  13687. end;
  13688. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  13689. begin
  13690. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13691. end;
  13692. procedure TOCMP5_OC5CON.setOCM2; inline;
  13693. begin
  13694. pTDefRegMap(@Self)^.&set := $00000004;
  13695. end;
  13696. procedure TOCMP5_OC5CON.clearOCM2; inline;
  13697. begin
  13698. pTDefRegMap(@Self)^.clr := $00000004;
  13699. end;
  13700. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  13701. begin
  13702. if thebits = 0 then
  13703. pTDefRegMap(@Self)^.clr := $00000004
  13704. else
  13705. pTDefRegMap(@Self)^.&set := $00000004;
  13706. end;
  13707. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  13708. begin
  13709. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13710. end;
  13711. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  13712. begin
  13713. pTDefRegMap(@Self)^.&set := $00002000;
  13714. end;
  13715. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  13716. begin
  13717. pTDefRegMap(@Self)^.clr := $00002000;
  13718. end;
  13719. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  13720. begin
  13721. if thebits = 0 then
  13722. pTDefRegMap(@Self)^.clr := $00002000
  13723. else
  13724. pTDefRegMap(@Self)^.&set := $00002000;
  13725. end;
  13726. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  13727. begin
  13728. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13729. end;
  13730. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  13731. begin
  13732. pTDefRegMap(@Self)^.val := thebits;
  13733. end;
  13734. function TOCMP5_OC5CON.getw : TBits_32; inline;
  13735. begin
  13736. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13737. end;
  13738. procedure TI2C1_I2C1ACON.setSEN; inline;
  13739. begin
  13740. pTDefRegMap(@Self)^.&set := $00000001;
  13741. end;
  13742. procedure TI2C1_I2C1ACON.clearSEN; inline;
  13743. begin
  13744. pTDefRegMap(@Self)^.clr := $00000001;
  13745. end;
  13746. procedure TI2C1_I2C1ACON.setSEN(thebits : TBits_1); inline;
  13747. begin
  13748. if thebits = 0 then
  13749. pTDefRegMap(@Self)^.clr := $00000001
  13750. else
  13751. pTDefRegMap(@Self)^.&set := $00000001;
  13752. end;
  13753. function TI2C1_I2C1ACON.getSEN : TBits_1; inline;
  13754. begin
  13755. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13756. end;
  13757. procedure TI2C1_I2C1ACON.setRSEN; inline;
  13758. begin
  13759. pTDefRegMap(@Self)^.&set := $00000002;
  13760. end;
  13761. procedure TI2C1_I2C1ACON.clearRSEN; inline;
  13762. begin
  13763. pTDefRegMap(@Self)^.clr := $00000002;
  13764. end;
  13765. procedure TI2C1_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  13766. begin
  13767. if thebits = 0 then
  13768. pTDefRegMap(@Self)^.clr := $00000002
  13769. else
  13770. pTDefRegMap(@Self)^.&set := $00000002;
  13771. end;
  13772. function TI2C1_I2C1ACON.getRSEN : TBits_1; inline;
  13773. begin
  13774. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13775. end;
  13776. procedure TI2C1_I2C1ACON.setPEN; inline;
  13777. begin
  13778. pTDefRegMap(@Self)^.&set := $00000004;
  13779. end;
  13780. procedure TI2C1_I2C1ACON.clearPEN; inline;
  13781. begin
  13782. pTDefRegMap(@Self)^.clr := $00000004;
  13783. end;
  13784. procedure TI2C1_I2C1ACON.setPEN(thebits : TBits_1); inline;
  13785. begin
  13786. if thebits = 0 then
  13787. pTDefRegMap(@Self)^.clr := $00000004
  13788. else
  13789. pTDefRegMap(@Self)^.&set := $00000004;
  13790. end;
  13791. function TI2C1_I2C1ACON.getPEN : TBits_1; inline;
  13792. begin
  13793. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13794. end;
  13795. procedure TI2C1_I2C1ACON.setRCEN; inline;
  13796. begin
  13797. pTDefRegMap(@Self)^.&set := $00000008;
  13798. end;
  13799. procedure TI2C1_I2C1ACON.clearRCEN; inline;
  13800. begin
  13801. pTDefRegMap(@Self)^.clr := $00000008;
  13802. end;
  13803. procedure TI2C1_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  13804. begin
  13805. if thebits = 0 then
  13806. pTDefRegMap(@Self)^.clr := $00000008
  13807. else
  13808. pTDefRegMap(@Self)^.&set := $00000008;
  13809. end;
  13810. function TI2C1_I2C1ACON.getRCEN : TBits_1; inline;
  13811. begin
  13812. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13813. end;
  13814. procedure TI2C1_I2C1ACON.setACKEN; inline;
  13815. begin
  13816. pTDefRegMap(@Self)^.&set := $00000010;
  13817. end;
  13818. procedure TI2C1_I2C1ACON.clearACKEN; inline;
  13819. begin
  13820. pTDefRegMap(@Self)^.clr := $00000010;
  13821. end;
  13822. procedure TI2C1_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  13823. begin
  13824. if thebits = 0 then
  13825. pTDefRegMap(@Self)^.clr := $00000010
  13826. else
  13827. pTDefRegMap(@Self)^.&set := $00000010;
  13828. end;
  13829. function TI2C1_I2C1ACON.getACKEN : TBits_1; inline;
  13830. begin
  13831. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13832. end;
  13833. procedure TI2C1_I2C1ACON.setACKDT; inline;
  13834. begin
  13835. pTDefRegMap(@Self)^.&set := $00000020;
  13836. end;
  13837. procedure TI2C1_I2C1ACON.clearACKDT; inline;
  13838. begin
  13839. pTDefRegMap(@Self)^.clr := $00000020;
  13840. end;
  13841. procedure TI2C1_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  13842. begin
  13843. if thebits = 0 then
  13844. pTDefRegMap(@Self)^.clr := $00000020
  13845. else
  13846. pTDefRegMap(@Self)^.&set := $00000020;
  13847. end;
  13848. function TI2C1_I2C1ACON.getACKDT : TBits_1; inline;
  13849. begin
  13850. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13851. end;
  13852. procedure TI2C1_I2C1ACON.setSTREN; inline;
  13853. begin
  13854. pTDefRegMap(@Self)^.&set := $00000040;
  13855. end;
  13856. procedure TI2C1_I2C1ACON.clearSTREN; inline;
  13857. begin
  13858. pTDefRegMap(@Self)^.clr := $00000040;
  13859. end;
  13860. procedure TI2C1_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  13861. begin
  13862. if thebits = 0 then
  13863. pTDefRegMap(@Self)^.clr := $00000040
  13864. else
  13865. pTDefRegMap(@Self)^.&set := $00000040;
  13866. end;
  13867. function TI2C1_I2C1ACON.getSTREN : TBits_1; inline;
  13868. begin
  13869. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13870. end;
  13871. procedure TI2C1_I2C1ACON.setGCEN; inline;
  13872. begin
  13873. pTDefRegMap(@Self)^.&set := $00000080;
  13874. end;
  13875. procedure TI2C1_I2C1ACON.clearGCEN; inline;
  13876. begin
  13877. pTDefRegMap(@Self)^.clr := $00000080;
  13878. end;
  13879. procedure TI2C1_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  13880. begin
  13881. if thebits = 0 then
  13882. pTDefRegMap(@Self)^.clr := $00000080
  13883. else
  13884. pTDefRegMap(@Self)^.&set := $00000080;
  13885. end;
  13886. function TI2C1_I2C1ACON.getGCEN : TBits_1; inline;
  13887. begin
  13888. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13889. end;
  13890. procedure TI2C1_I2C1ACON.setSMEN; inline;
  13891. begin
  13892. pTDefRegMap(@Self)^.&set := $00000100;
  13893. end;
  13894. procedure TI2C1_I2C1ACON.clearSMEN; inline;
  13895. begin
  13896. pTDefRegMap(@Self)^.clr := $00000100;
  13897. end;
  13898. procedure TI2C1_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  13899. begin
  13900. if thebits = 0 then
  13901. pTDefRegMap(@Self)^.clr := $00000100
  13902. else
  13903. pTDefRegMap(@Self)^.&set := $00000100;
  13904. end;
  13905. function TI2C1_I2C1ACON.getSMEN : TBits_1; inline;
  13906. begin
  13907. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13908. end;
  13909. procedure TI2C1_I2C1ACON.setDISSLW; inline;
  13910. begin
  13911. pTDefRegMap(@Self)^.&set := $00000200;
  13912. end;
  13913. procedure TI2C1_I2C1ACON.clearDISSLW; inline;
  13914. begin
  13915. pTDefRegMap(@Self)^.clr := $00000200;
  13916. end;
  13917. procedure TI2C1_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  13918. begin
  13919. if thebits = 0 then
  13920. pTDefRegMap(@Self)^.clr := $00000200
  13921. else
  13922. pTDefRegMap(@Self)^.&set := $00000200;
  13923. end;
  13924. function TI2C1_I2C1ACON.getDISSLW : TBits_1; inline;
  13925. begin
  13926. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13927. end;
  13928. procedure TI2C1_I2C1ACON.setA10M; inline;
  13929. begin
  13930. pTDefRegMap(@Self)^.&set := $00000400;
  13931. end;
  13932. procedure TI2C1_I2C1ACON.clearA10M; inline;
  13933. begin
  13934. pTDefRegMap(@Self)^.clr := $00000400;
  13935. end;
  13936. procedure TI2C1_I2C1ACON.setA10M(thebits : TBits_1); inline;
  13937. begin
  13938. if thebits = 0 then
  13939. pTDefRegMap(@Self)^.clr := $00000400
  13940. else
  13941. pTDefRegMap(@Self)^.&set := $00000400;
  13942. end;
  13943. function TI2C1_I2C1ACON.getA10M : TBits_1; inline;
  13944. begin
  13945. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13946. end;
  13947. procedure TI2C1_I2C1ACON.setSTRICT; inline;
  13948. begin
  13949. pTDefRegMap(@Self)^.&set := $00000800;
  13950. end;
  13951. procedure TI2C1_I2C1ACON.clearSTRICT; inline;
  13952. begin
  13953. pTDefRegMap(@Self)^.clr := $00000800;
  13954. end;
  13955. procedure TI2C1_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  13956. begin
  13957. if thebits = 0 then
  13958. pTDefRegMap(@Self)^.clr := $00000800
  13959. else
  13960. pTDefRegMap(@Self)^.&set := $00000800;
  13961. end;
  13962. function TI2C1_I2C1ACON.getSTRICT : TBits_1; inline;
  13963. begin
  13964. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13965. end;
  13966. procedure TI2C1_I2C1ACON.setSCLREL; inline;
  13967. begin
  13968. pTDefRegMap(@Self)^.&set := $00001000;
  13969. end;
  13970. procedure TI2C1_I2C1ACON.clearSCLREL; inline;
  13971. begin
  13972. pTDefRegMap(@Self)^.clr := $00001000;
  13973. end;
  13974. procedure TI2C1_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  13975. begin
  13976. if thebits = 0 then
  13977. pTDefRegMap(@Self)^.clr := $00001000
  13978. else
  13979. pTDefRegMap(@Self)^.&set := $00001000;
  13980. end;
  13981. function TI2C1_I2C1ACON.getSCLREL : TBits_1; inline;
  13982. begin
  13983. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13984. end;
  13985. procedure TI2C1_I2C1ACON.setSIDL; inline;
  13986. begin
  13987. pTDefRegMap(@Self)^.&set := $00002000;
  13988. end;
  13989. procedure TI2C1_I2C1ACON.clearSIDL; inline;
  13990. begin
  13991. pTDefRegMap(@Self)^.clr := $00002000;
  13992. end;
  13993. procedure TI2C1_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  13994. begin
  13995. if thebits = 0 then
  13996. pTDefRegMap(@Self)^.clr := $00002000
  13997. else
  13998. pTDefRegMap(@Self)^.&set := $00002000;
  13999. end;
  14000. function TI2C1_I2C1ACON.getSIDL : TBits_1; inline;
  14001. begin
  14002. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14003. end;
  14004. procedure TI2C1_I2C1ACON.setON; inline;
  14005. begin
  14006. pTDefRegMap(@Self)^.&set := $00008000;
  14007. end;
  14008. procedure TI2C1_I2C1ACON.clearON; inline;
  14009. begin
  14010. pTDefRegMap(@Self)^.clr := $00008000;
  14011. end;
  14012. procedure TI2C1_I2C1ACON.setON(thebits : TBits_1); inline;
  14013. begin
  14014. if thebits = 0 then
  14015. pTDefRegMap(@Self)^.clr := $00008000
  14016. else
  14017. pTDefRegMap(@Self)^.&set := $00008000;
  14018. end;
  14019. function TI2C1_I2C1ACON.getON : TBits_1; inline;
  14020. begin
  14021. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14022. end;
  14023. procedure TI2C1_I2C1ACON.setIPMIEN; inline;
  14024. begin
  14025. pTDefRegMap(@Self)^.&set := $00000800;
  14026. end;
  14027. procedure TI2C1_I2C1ACON.clearIPMIEN; inline;
  14028. begin
  14029. pTDefRegMap(@Self)^.clr := $00000800;
  14030. end;
  14031. procedure TI2C1_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  14032. begin
  14033. if thebits = 0 then
  14034. pTDefRegMap(@Self)^.clr := $00000800
  14035. else
  14036. pTDefRegMap(@Self)^.&set := $00000800;
  14037. end;
  14038. function TI2C1_I2C1ACON.getIPMIEN : TBits_1; inline;
  14039. begin
  14040. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14041. end;
  14042. procedure TI2C1_I2C1ACON.setI2CSIDL; inline;
  14043. begin
  14044. pTDefRegMap(@Self)^.&set := $00002000;
  14045. end;
  14046. procedure TI2C1_I2C1ACON.clearI2CSIDL; inline;
  14047. begin
  14048. pTDefRegMap(@Self)^.clr := $00002000;
  14049. end;
  14050. procedure TI2C1_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  14051. begin
  14052. if thebits = 0 then
  14053. pTDefRegMap(@Self)^.clr := $00002000
  14054. else
  14055. pTDefRegMap(@Self)^.&set := $00002000;
  14056. end;
  14057. function TI2C1_I2C1ACON.getI2CSIDL : TBits_1; inline;
  14058. begin
  14059. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14060. end;
  14061. procedure TI2C1_I2C1ACON.setI2CEN; inline;
  14062. begin
  14063. pTDefRegMap(@Self)^.&set := $00008000;
  14064. end;
  14065. procedure TI2C1_I2C1ACON.clearI2CEN; inline;
  14066. begin
  14067. pTDefRegMap(@Self)^.clr := $00008000;
  14068. end;
  14069. procedure TI2C1_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  14070. begin
  14071. if thebits = 0 then
  14072. pTDefRegMap(@Self)^.clr := $00008000
  14073. else
  14074. pTDefRegMap(@Self)^.&set := $00008000;
  14075. end;
  14076. function TI2C1_I2C1ACON.getI2CEN : TBits_1; inline;
  14077. begin
  14078. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14079. end;
  14080. procedure TI2C1_I2C1ACON.setw(thebits : TBits_32); inline;
  14081. begin
  14082. pTDefRegMap(@Self)^.val := thebits;
  14083. end;
  14084. function TI2C1_I2C1ACON.getw : TBits_32; inline;
  14085. begin
  14086. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14087. end;
  14088. procedure TI2C1_I2C1CON.setSEN; inline;
  14089. begin
  14090. pTDefRegMap(@Self)^.&set := $00000001;
  14091. end;
  14092. procedure TI2C1_I2C1CON.clearSEN; inline;
  14093. begin
  14094. pTDefRegMap(@Self)^.clr := $00000001;
  14095. end;
  14096. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  14097. begin
  14098. if thebits = 0 then
  14099. pTDefRegMap(@Self)^.clr := $00000001
  14100. else
  14101. pTDefRegMap(@Self)^.&set := $00000001;
  14102. end;
  14103. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  14104. begin
  14105. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14106. end;
  14107. procedure TI2C1_I2C1CON.setRSEN; inline;
  14108. begin
  14109. pTDefRegMap(@Self)^.&set := $00000002;
  14110. end;
  14111. procedure TI2C1_I2C1CON.clearRSEN; inline;
  14112. begin
  14113. pTDefRegMap(@Self)^.clr := $00000002;
  14114. end;
  14115. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  14116. begin
  14117. if thebits = 0 then
  14118. pTDefRegMap(@Self)^.clr := $00000002
  14119. else
  14120. pTDefRegMap(@Self)^.&set := $00000002;
  14121. end;
  14122. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  14123. begin
  14124. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14125. end;
  14126. procedure TI2C1_I2C1CON.setPEN; inline;
  14127. begin
  14128. pTDefRegMap(@Self)^.&set := $00000004;
  14129. end;
  14130. procedure TI2C1_I2C1CON.clearPEN; inline;
  14131. begin
  14132. pTDefRegMap(@Self)^.clr := $00000004;
  14133. end;
  14134. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  14135. begin
  14136. if thebits = 0 then
  14137. pTDefRegMap(@Self)^.clr := $00000004
  14138. else
  14139. pTDefRegMap(@Self)^.&set := $00000004;
  14140. end;
  14141. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  14142. begin
  14143. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14144. end;
  14145. procedure TI2C1_I2C1CON.setRCEN; inline;
  14146. begin
  14147. pTDefRegMap(@Self)^.&set := $00000008;
  14148. end;
  14149. procedure TI2C1_I2C1CON.clearRCEN; inline;
  14150. begin
  14151. pTDefRegMap(@Self)^.clr := $00000008;
  14152. end;
  14153. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  14154. begin
  14155. if thebits = 0 then
  14156. pTDefRegMap(@Self)^.clr := $00000008
  14157. else
  14158. pTDefRegMap(@Self)^.&set := $00000008;
  14159. end;
  14160. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  14161. begin
  14162. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14163. end;
  14164. procedure TI2C1_I2C1CON.setACKEN; inline;
  14165. begin
  14166. pTDefRegMap(@Self)^.&set := $00000010;
  14167. end;
  14168. procedure TI2C1_I2C1CON.clearACKEN; inline;
  14169. begin
  14170. pTDefRegMap(@Self)^.clr := $00000010;
  14171. end;
  14172. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  14173. begin
  14174. if thebits = 0 then
  14175. pTDefRegMap(@Self)^.clr := $00000010
  14176. else
  14177. pTDefRegMap(@Self)^.&set := $00000010;
  14178. end;
  14179. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  14180. begin
  14181. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14182. end;
  14183. procedure TI2C1_I2C1CON.setACKDT; inline;
  14184. begin
  14185. pTDefRegMap(@Self)^.&set := $00000020;
  14186. end;
  14187. procedure TI2C1_I2C1CON.clearACKDT; inline;
  14188. begin
  14189. pTDefRegMap(@Self)^.clr := $00000020;
  14190. end;
  14191. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  14192. begin
  14193. if thebits = 0 then
  14194. pTDefRegMap(@Self)^.clr := $00000020
  14195. else
  14196. pTDefRegMap(@Self)^.&set := $00000020;
  14197. end;
  14198. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  14199. begin
  14200. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14201. end;
  14202. procedure TI2C1_I2C1CON.setSTREN; inline;
  14203. begin
  14204. pTDefRegMap(@Self)^.&set := $00000040;
  14205. end;
  14206. procedure TI2C1_I2C1CON.clearSTREN; inline;
  14207. begin
  14208. pTDefRegMap(@Self)^.clr := $00000040;
  14209. end;
  14210. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  14211. begin
  14212. if thebits = 0 then
  14213. pTDefRegMap(@Self)^.clr := $00000040
  14214. else
  14215. pTDefRegMap(@Self)^.&set := $00000040;
  14216. end;
  14217. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  14218. begin
  14219. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14220. end;
  14221. procedure TI2C1_I2C1CON.setGCEN; inline;
  14222. begin
  14223. pTDefRegMap(@Self)^.&set := $00000080;
  14224. end;
  14225. procedure TI2C1_I2C1CON.clearGCEN; inline;
  14226. begin
  14227. pTDefRegMap(@Self)^.clr := $00000080;
  14228. end;
  14229. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  14230. begin
  14231. if thebits = 0 then
  14232. pTDefRegMap(@Self)^.clr := $00000080
  14233. else
  14234. pTDefRegMap(@Self)^.&set := $00000080;
  14235. end;
  14236. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  14237. begin
  14238. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14239. end;
  14240. procedure TI2C1_I2C1CON.setSMEN; inline;
  14241. begin
  14242. pTDefRegMap(@Self)^.&set := $00000100;
  14243. end;
  14244. procedure TI2C1_I2C1CON.clearSMEN; inline;
  14245. begin
  14246. pTDefRegMap(@Self)^.clr := $00000100;
  14247. end;
  14248. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  14249. begin
  14250. if thebits = 0 then
  14251. pTDefRegMap(@Self)^.clr := $00000100
  14252. else
  14253. pTDefRegMap(@Self)^.&set := $00000100;
  14254. end;
  14255. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  14256. begin
  14257. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14258. end;
  14259. procedure TI2C1_I2C1CON.setDISSLW; inline;
  14260. begin
  14261. pTDefRegMap(@Self)^.&set := $00000200;
  14262. end;
  14263. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  14264. begin
  14265. pTDefRegMap(@Self)^.clr := $00000200;
  14266. end;
  14267. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  14268. begin
  14269. if thebits = 0 then
  14270. pTDefRegMap(@Self)^.clr := $00000200
  14271. else
  14272. pTDefRegMap(@Self)^.&set := $00000200;
  14273. end;
  14274. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  14275. begin
  14276. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14277. end;
  14278. procedure TI2C1_I2C1CON.setA10M; inline;
  14279. begin
  14280. pTDefRegMap(@Self)^.&set := $00000400;
  14281. end;
  14282. procedure TI2C1_I2C1CON.clearA10M; inline;
  14283. begin
  14284. pTDefRegMap(@Self)^.clr := $00000400;
  14285. end;
  14286. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  14287. begin
  14288. if thebits = 0 then
  14289. pTDefRegMap(@Self)^.clr := $00000400
  14290. else
  14291. pTDefRegMap(@Self)^.&set := $00000400;
  14292. end;
  14293. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  14294. begin
  14295. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14296. end;
  14297. procedure TI2C1_I2C1CON.setSTRICT; inline;
  14298. begin
  14299. pTDefRegMap(@Self)^.&set := $00000800;
  14300. end;
  14301. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  14302. begin
  14303. pTDefRegMap(@Self)^.clr := $00000800;
  14304. end;
  14305. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  14306. begin
  14307. if thebits = 0 then
  14308. pTDefRegMap(@Self)^.clr := $00000800
  14309. else
  14310. pTDefRegMap(@Self)^.&set := $00000800;
  14311. end;
  14312. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  14313. begin
  14314. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14315. end;
  14316. procedure TI2C1_I2C1CON.setSCLREL; inline;
  14317. begin
  14318. pTDefRegMap(@Self)^.&set := $00001000;
  14319. end;
  14320. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  14321. begin
  14322. pTDefRegMap(@Self)^.clr := $00001000;
  14323. end;
  14324. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  14325. begin
  14326. if thebits = 0 then
  14327. pTDefRegMap(@Self)^.clr := $00001000
  14328. else
  14329. pTDefRegMap(@Self)^.&set := $00001000;
  14330. end;
  14331. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  14332. begin
  14333. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14334. end;
  14335. procedure TI2C1_I2C1CON.setSIDL; inline;
  14336. begin
  14337. pTDefRegMap(@Self)^.&set := $00002000;
  14338. end;
  14339. procedure TI2C1_I2C1CON.clearSIDL; inline;
  14340. begin
  14341. pTDefRegMap(@Self)^.clr := $00002000;
  14342. end;
  14343. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  14344. begin
  14345. if thebits = 0 then
  14346. pTDefRegMap(@Self)^.clr := $00002000
  14347. else
  14348. pTDefRegMap(@Self)^.&set := $00002000;
  14349. end;
  14350. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  14351. begin
  14352. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14353. end;
  14354. procedure TI2C1_I2C1CON.setON; inline;
  14355. begin
  14356. pTDefRegMap(@Self)^.&set := $00008000;
  14357. end;
  14358. procedure TI2C1_I2C1CON.clearON; inline;
  14359. begin
  14360. pTDefRegMap(@Self)^.clr := $00008000;
  14361. end;
  14362. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  14363. begin
  14364. if thebits = 0 then
  14365. pTDefRegMap(@Self)^.clr := $00008000
  14366. else
  14367. pTDefRegMap(@Self)^.&set := $00008000;
  14368. end;
  14369. function TI2C1_I2C1CON.getON : TBits_1; inline;
  14370. begin
  14371. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14372. end;
  14373. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  14374. begin
  14375. pTDefRegMap(@Self)^.&set := $00000800;
  14376. end;
  14377. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  14378. begin
  14379. pTDefRegMap(@Self)^.clr := $00000800;
  14380. end;
  14381. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  14382. begin
  14383. if thebits = 0 then
  14384. pTDefRegMap(@Self)^.clr := $00000800
  14385. else
  14386. pTDefRegMap(@Self)^.&set := $00000800;
  14387. end;
  14388. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  14389. begin
  14390. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14391. end;
  14392. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  14393. begin
  14394. pTDefRegMap(@Self)^.&set := $00002000;
  14395. end;
  14396. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  14397. begin
  14398. pTDefRegMap(@Self)^.clr := $00002000;
  14399. end;
  14400. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  14401. begin
  14402. if thebits = 0 then
  14403. pTDefRegMap(@Self)^.clr := $00002000
  14404. else
  14405. pTDefRegMap(@Self)^.&set := $00002000;
  14406. end;
  14407. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  14408. begin
  14409. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14410. end;
  14411. procedure TI2C1_I2C1CON.setI2CEN; inline;
  14412. begin
  14413. pTDefRegMap(@Self)^.&set := $00008000;
  14414. end;
  14415. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  14416. begin
  14417. pTDefRegMap(@Self)^.clr := $00008000;
  14418. end;
  14419. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  14420. begin
  14421. if thebits = 0 then
  14422. pTDefRegMap(@Self)^.clr := $00008000
  14423. else
  14424. pTDefRegMap(@Self)^.&set := $00008000;
  14425. end;
  14426. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  14427. begin
  14428. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14429. end;
  14430. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  14431. begin
  14432. pTDefRegMap(@Self)^.val := thebits;
  14433. end;
  14434. function TI2C1_I2C1CON.getw : TBits_32; inline;
  14435. begin
  14436. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14437. end;
  14438. procedure TI2C1_I2C1ASTAT.setTBF; inline;
  14439. begin
  14440. pTDefRegMap(@Self)^.&set := $00000001;
  14441. end;
  14442. procedure TI2C1_I2C1ASTAT.clearTBF; inline;
  14443. begin
  14444. pTDefRegMap(@Self)^.clr := $00000001;
  14445. end;
  14446. procedure TI2C1_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  14447. begin
  14448. if thebits = 0 then
  14449. pTDefRegMap(@Self)^.clr := $00000001
  14450. else
  14451. pTDefRegMap(@Self)^.&set := $00000001;
  14452. end;
  14453. function TI2C1_I2C1ASTAT.getTBF : TBits_1; inline;
  14454. begin
  14455. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14456. end;
  14457. procedure TI2C1_I2C1ASTAT.setRBF; inline;
  14458. begin
  14459. pTDefRegMap(@Self)^.&set := $00000002;
  14460. end;
  14461. procedure TI2C1_I2C1ASTAT.clearRBF; inline;
  14462. begin
  14463. pTDefRegMap(@Self)^.clr := $00000002;
  14464. end;
  14465. procedure TI2C1_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  14466. begin
  14467. if thebits = 0 then
  14468. pTDefRegMap(@Self)^.clr := $00000002
  14469. else
  14470. pTDefRegMap(@Self)^.&set := $00000002;
  14471. end;
  14472. function TI2C1_I2C1ASTAT.getRBF : TBits_1; inline;
  14473. begin
  14474. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14475. end;
  14476. procedure TI2C1_I2C1ASTAT.setR_W; inline;
  14477. begin
  14478. pTDefRegMap(@Self)^.&set := $00000004;
  14479. end;
  14480. procedure TI2C1_I2C1ASTAT.clearR_W; inline;
  14481. begin
  14482. pTDefRegMap(@Self)^.clr := $00000004;
  14483. end;
  14484. procedure TI2C1_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  14485. begin
  14486. if thebits = 0 then
  14487. pTDefRegMap(@Self)^.clr := $00000004
  14488. else
  14489. pTDefRegMap(@Self)^.&set := $00000004;
  14490. end;
  14491. function TI2C1_I2C1ASTAT.getR_W : TBits_1; inline;
  14492. begin
  14493. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14494. end;
  14495. procedure TI2C1_I2C1ASTAT.setS; inline;
  14496. begin
  14497. pTDefRegMap(@Self)^.&set := $00000008;
  14498. end;
  14499. procedure TI2C1_I2C1ASTAT.clearS; inline;
  14500. begin
  14501. pTDefRegMap(@Self)^.clr := $00000008;
  14502. end;
  14503. procedure TI2C1_I2C1ASTAT.setS(thebits : TBits_1); inline;
  14504. begin
  14505. if thebits = 0 then
  14506. pTDefRegMap(@Self)^.clr := $00000008
  14507. else
  14508. pTDefRegMap(@Self)^.&set := $00000008;
  14509. end;
  14510. function TI2C1_I2C1ASTAT.getS : TBits_1; inline;
  14511. begin
  14512. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14513. end;
  14514. procedure TI2C1_I2C1ASTAT.setP; inline;
  14515. begin
  14516. pTDefRegMap(@Self)^.&set := $00000010;
  14517. end;
  14518. procedure TI2C1_I2C1ASTAT.clearP; inline;
  14519. begin
  14520. pTDefRegMap(@Self)^.clr := $00000010;
  14521. end;
  14522. procedure TI2C1_I2C1ASTAT.setP(thebits : TBits_1); inline;
  14523. begin
  14524. if thebits = 0 then
  14525. pTDefRegMap(@Self)^.clr := $00000010
  14526. else
  14527. pTDefRegMap(@Self)^.&set := $00000010;
  14528. end;
  14529. function TI2C1_I2C1ASTAT.getP : TBits_1; inline;
  14530. begin
  14531. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14532. end;
  14533. procedure TI2C1_I2C1ASTAT.setD_A; inline;
  14534. begin
  14535. pTDefRegMap(@Self)^.&set := $00000020;
  14536. end;
  14537. procedure TI2C1_I2C1ASTAT.clearD_A; inline;
  14538. begin
  14539. pTDefRegMap(@Self)^.clr := $00000020;
  14540. end;
  14541. procedure TI2C1_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  14542. begin
  14543. if thebits = 0 then
  14544. pTDefRegMap(@Self)^.clr := $00000020
  14545. else
  14546. pTDefRegMap(@Self)^.&set := $00000020;
  14547. end;
  14548. function TI2C1_I2C1ASTAT.getD_A : TBits_1; inline;
  14549. begin
  14550. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14551. end;
  14552. procedure TI2C1_I2C1ASTAT.setI2COV; inline;
  14553. begin
  14554. pTDefRegMap(@Self)^.&set := $00000040;
  14555. end;
  14556. procedure TI2C1_I2C1ASTAT.clearI2COV; inline;
  14557. begin
  14558. pTDefRegMap(@Self)^.clr := $00000040;
  14559. end;
  14560. procedure TI2C1_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  14561. begin
  14562. if thebits = 0 then
  14563. pTDefRegMap(@Self)^.clr := $00000040
  14564. else
  14565. pTDefRegMap(@Self)^.&set := $00000040;
  14566. end;
  14567. function TI2C1_I2C1ASTAT.getI2COV : TBits_1; inline;
  14568. begin
  14569. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14570. end;
  14571. procedure TI2C1_I2C1ASTAT.setIWCOL; inline;
  14572. begin
  14573. pTDefRegMap(@Self)^.&set := $00000080;
  14574. end;
  14575. procedure TI2C1_I2C1ASTAT.clearIWCOL; inline;
  14576. begin
  14577. pTDefRegMap(@Self)^.clr := $00000080;
  14578. end;
  14579. procedure TI2C1_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  14580. begin
  14581. if thebits = 0 then
  14582. pTDefRegMap(@Self)^.clr := $00000080
  14583. else
  14584. pTDefRegMap(@Self)^.&set := $00000080;
  14585. end;
  14586. function TI2C1_I2C1ASTAT.getIWCOL : TBits_1; inline;
  14587. begin
  14588. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14589. end;
  14590. procedure TI2C1_I2C1ASTAT.setADD10; inline;
  14591. begin
  14592. pTDefRegMap(@Self)^.&set := $00000100;
  14593. end;
  14594. procedure TI2C1_I2C1ASTAT.clearADD10; inline;
  14595. begin
  14596. pTDefRegMap(@Self)^.clr := $00000100;
  14597. end;
  14598. procedure TI2C1_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  14599. begin
  14600. if thebits = 0 then
  14601. pTDefRegMap(@Self)^.clr := $00000100
  14602. else
  14603. pTDefRegMap(@Self)^.&set := $00000100;
  14604. end;
  14605. function TI2C1_I2C1ASTAT.getADD10 : TBits_1; inline;
  14606. begin
  14607. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14608. end;
  14609. procedure TI2C1_I2C1ASTAT.setGCSTAT; inline;
  14610. begin
  14611. pTDefRegMap(@Self)^.&set := $00000200;
  14612. end;
  14613. procedure TI2C1_I2C1ASTAT.clearGCSTAT; inline;
  14614. begin
  14615. pTDefRegMap(@Self)^.clr := $00000200;
  14616. end;
  14617. procedure TI2C1_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  14618. begin
  14619. if thebits = 0 then
  14620. pTDefRegMap(@Self)^.clr := $00000200
  14621. else
  14622. pTDefRegMap(@Self)^.&set := $00000200;
  14623. end;
  14624. function TI2C1_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  14625. begin
  14626. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14627. end;
  14628. procedure TI2C1_I2C1ASTAT.setBCL; inline;
  14629. begin
  14630. pTDefRegMap(@Self)^.&set := $00000400;
  14631. end;
  14632. procedure TI2C1_I2C1ASTAT.clearBCL; inline;
  14633. begin
  14634. pTDefRegMap(@Self)^.clr := $00000400;
  14635. end;
  14636. procedure TI2C1_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  14637. begin
  14638. if thebits = 0 then
  14639. pTDefRegMap(@Self)^.clr := $00000400
  14640. else
  14641. pTDefRegMap(@Self)^.&set := $00000400;
  14642. end;
  14643. function TI2C1_I2C1ASTAT.getBCL : TBits_1; inline;
  14644. begin
  14645. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14646. end;
  14647. procedure TI2C1_I2C1ASTAT.setTRSTAT; inline;
  14648. begin
  14649. pTDefRegMap(@Self)^.&set := $00004000;
  14650. end;
  14651. procedure TI2C1_I2C1ASTAT.clearTRSTAT; inline;
  14652. begin
  14653. pTDefRegMap(@Self)^.clr := $00004000;
  14654. end;
  14655. procedure TI2C1_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  14656. begin
  14657. if thebits = 0 then
  14658. pTDefRegMap(@Self)^.clr := $00004000
  14659. else
  14660. pTDefRegMap(@Self)^.&set := $00004000;
  14661. end;
  14662. function TI2C1_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  14663. begin
  14664. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14665. end;
  14666. procedure TI2C1_I2C1ASTAT.setACKSTAT; inline;
  14667. begin
  14668. pTDefRegMap(@Self)^.&set := $00008000;
  14669. end;
  14670. procedure TI2C1_I2C1ASTAT.clearACKSTAT; inline;
  14671. begin
  14672. pTDefRegMap(@Self)^.clr := $00008000;
  14673. end;
  14674. procedure TI2C1_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  14675. begin
  14676. if thebits = 0 then
  14677. pTDefRegMap(@Self)^.clr := $00008000
  14678. else
  14679. pTDefRegMap(@Self)^.&set := $00008000;
  14680. end;
  14681. function TI2C1_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  14682. begin
  14683. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14684. end;
  14685. procedure TI2C1_I2C1ASTAT.setI2CPOV; inline;
  14686. begin
  14687. pTDefRegMap(@Self)^.&set := $00000040;
  14688. end;
  14689. procedure TI2C1_I2C1ASTAT.clearI2CPOV; inline;
  14690. begin
  14691. pTDefRegMap(@Self)^.clr := $00000040;
  14692. end;
  14693. procedure TI2C1_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  14694. begin
  14695. if thebits = 0 then
  14696. pTDefRegMap(@Self)^.clr := $00000040
  14697. else
  14698. pTDefRegMap(@Self)^.&set := $00000040;
  14699. end;
  14700. function TI2C1_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  14701. begin
  14702. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14703. end;
  14704. procedure TI2C1_I2C1ASTAT.setw(thebits : TBits_32); inline;
  14705. begin
  14706. pTDefRegMap(@Self)^.val := thebits;
  14707. end;
  14708. function TI2C1_I2C1ASTAT.getw : TBits_32; inline;
  14709. begin
  14710. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14711. end;
  14712. procedure TI2C1_I2C1STAT.setTBF; inline;
  14713. begin
  14714. pTDefRegMap(@Self)^.&set := $00000001;
  14715. end;
  14716. procedure TI2C1_I2C1STAT.clearTBF; inline;
  14717. begin
  14718. pTDefRegMap(@Self)^.clr := $00000001;
  14719. end;
  14720. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  14721. begin
  14722. if thebits = 0 then
  14723. pTDefRegMap(@Self)^.clr := $00000001
  14724. else
  14725. pTDefRegMap(@Self)^.&set := $00000001;
  14726. end;
  14727. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  14728. begin
  14729. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14730. end;
  14731. procedure TI2C1_I2C1STAT.setRBF; inline;
  14732. begin
  14733. pTDefRegMap(@Self)^.&set := $00000002;
  14734. end;
  14735. procedure TI2C1_I2C1STAT.clearRBF; inline;
  14736. begin
  14737. pTDefRegMap(@Self)^.clr := $00000002;
  14738. end;
  14739. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  14740. begin
  14741. if thebits = 0 then
  14742. pTDefRegMap(@Self)^.clr := $00000002
  14743. else
  14744. pTDefRegMap(@Self)^.&set := $00000002;
  14745. end;
  14746. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  14747. begin
  14748. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14749. end;
  14750. procedure TI2C1_I2C1STAT.setR_W; inline;
  14751. begin
  14752. pTDefRegMap(@Self)^.&set := $00000004;
  14753. end;
  14754. procedure TI2C1_I2C1STAT.clearR_W; inline;
  14755. begin
  14756. pTDefRegMap(@Self)^.clr := $00000004;
  14757. end;
  14758. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  14759. begin
  14760. if thebits = 0 then
  14761. pTDefRegMap(@Self)^.clr := $00000004
  14762. else
  14763. pTDefRegMap(@Self)^.&set := $00000004;
  14764. end;
  14765. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  14766. begin
  14767. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14768. end;
  14769. procedure TI2C1_I2C1STAT.setS; inline;
  14770. begin
  14771. pTDefRegMap(@Self)^.&set := $00000008;
  14772. end;
  14773. procedure TI2C1_I2C1STAT.clearS; inline;
  14774. begin
  14775. pTDefRegMap(@Self)^.clr := $00000008;
  14776. end;
  14777. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  14778. begin
  14779. if thebits = 0 then
  14780. pTDefRegMap(@Self)^.clr := $00000008
  14781. else
  14782. pTDefRegMap(@Self)^.&set := $00000008;
  14783. end;
  14784. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  14785. begin
  14786. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14787. end;
  14788. procedure TI2C1_I2C1STAT.setP; inline;
  14789. begin
  14790. pTDefRegMap(@Self)^.&set := $00000010;
  14791. end;
  14792. procedure TI2C1_I2C1STAT.clearP; inline;
  14793. begin
  14794. pTDefRegMap(@Self)^.clr := $00000010;
  14795. end;
  14796. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  14797. begin
  14798. if thebits = 0 then
  14799. pTDefRegMap(@Self)^.clr := $00000010
  14800. else
  14801. pTDefRegMap(@Self)^.&set := $00000010;
  14802. end;
  14803. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  14804. begin
  14805. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14806. end;
  14807. procedure TI2C1_I2C1STAT.setD_A; inline;
  14808. begin
  14809. pTDefRegMap(@Self)^.&set := $00000020;
  14810. end;
  14811. procedure TI2C1_I2C1STAT.clearD_A; inline;
  14812. begin
  14813. pTDefRegMap(@Self)^.clr := $00000020;
  14814. end;
  14815. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  14816. begin
  14817. if thebits = 0 then
  14818. pTDefRegMap(@Self)^.clr := $00000020
  14819. else
  14820. pTDefRegMap(@Self)^.&set := $00000020;
  14821. end;
  14822. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  14823. begin
  14824. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14825. end;
  14826. procedure TI2C1_I2C1STAT.setI2COV; inline;
  14827. begin
  14828. pTDefRegMap(@Self)^.&set := $00000040;
  14829. end;
  14830. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  14831. begin
  14832. pTDefRegMap(@Self)^.clr := $00000040;
  14833. end;
  14834. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  14835. begin
  14836. if thebits = 0 then
  14837. pTDefRegMap(@Self)^.clr := $00000040
  14838. else
  14839. pTDefRegMap(@Self)^.&set := $00000040;
  14840. end;
  14841. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  14842. begin
  14843. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14844. end;
  14845. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  14846. begin
  14847. pTDefRegMap(@Self)^.&set := $00000080;
  14848. end;
  14849. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  14850. begin
  14851. pTDefRegMap(@Self)^.clr := $00000080;
  14852. end;
  14853. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  14854. begin
  14855. if thebits = 0 then
  14856. pTDefRegMap(@Self)^.clr := $00000080
  14857. else
  14858. pTDefRegMap(@Self)^.&set := $00000080;
  14859. end;
  14860. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  14861. begin
  14862. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14863. end;
  14864. procedure TI2C1_I2C1STAT.setADD10; inline;
  14865. begin
  14866. pTDefRegMap(@Self)^.&set := $00000100;
  14867. end;
  14868. procedure TI2C1_I2C1STAT.clearADD10; inline;
  14869. begin
  14870. pTDefRegMap(@Self)^.clr := $00000100;
  14871. end;
  14872. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  14873. begin
  14874. if thebits = 0 then
  14875. pTDefRegMap(@Self)^.clr := $00000100
  14876. else
  14877. pTDefRegMap(@Self)^.&set := $00000100;
  14878. end;
  14879. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  14880. begin
  14881. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14882. end;
  14883. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  14884. begin
  14885. pTDefRegMap(@Self)^.&set := $00000200;
  14886. end;
  14887. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  14888. begin
  14889. pTDefRegMap(@Self)^.clr := $00000200;
  14890. end;
  14891. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  14892. begin
  14893. if thebits = 0 then
  14894. pTDefRegMap(@Self)^.clr := $00000200
  14895. else
  14896. pTDefRegMap(@Self)^.&set := $00000200;
  14897. end;
  14898. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  14899. begin
  14900. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14901. end;
  14902. procedure TI2C1_I2C1STAT.setBCL; inline;
  14903. begin
  14904. pTDefRegMap(@Self)^.&set := $00000400;
  14905. end;
  14906. procedure TI2C1_I2C1STAT.clearBCL; inline;
  14907. begin
  14908. pTDefRegMap(@Self)^.clr := $00000400;
  14909. end;
  14910. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  14911. begin
  14912. if thebits = 0 then
  14913. pTDefRegMap(@Self)^.clr := $00000400
  14914. else
  14915. pTDefRegMap(@Self)^.&set := $00000400;
  14916. end;
  14917. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  14918. begin
  14919. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14920. end;
  14921. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  14922. begin
  14923. pTDefRegMap(@Self)^.&set := $00004000;
  14924. end;
  14925. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  14926. begin
  14927. pTDefRegMap(@Self)^.clr := $00004000;
  14928. end;
  14929. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  14930. begin
  14931. if thebits = 0 then
  14932. pTDefRegMap(@Self)^.clr := $00004000
  14933. else
  14934. pTDefRegMap(@Self)^.&set := $00004000;
  14935. end;
  14936. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  14937. begin
  14938. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14939. end;
  14940. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  14941. begin
  14942. pTDefRegMap(@Self)^.&set := $00008000;
  14943. end;
  14944. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  14945. begin
  14946. pTDefRegMap(@Self)^.clr := $00008000;
  14947. end;
  14948. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  14949. begin
  14950. if thebits = 0 then
  14951. pTDefRegMap(@Self)^.clr := $00008000
  14952. else
  14953. pTDefRegMap(@Self)^.&set := $00008000;
  14954. end;
  14955. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  14956. begin
  14957. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14958. end;
  14959. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  14960. begin
  14961. pTDefRegMap(@Self)^.&set := $00000040;
  14962. end;
  14963. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  14964. begin
  14965. pTDefRegMap(@Self)^.clr := $00000040;
  14966. end;
  14967. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  14968. begin
  14969. if thebits = 0 then
  14970. pTDefRegMap(@Self)^.clr := $00000040
  14971. else
  14972. pTDefRegMap(@Self)^.&set := $00000040;
  14973. end;
  14974. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  14975. begin
  14976. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14977. end;
  14978. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  14979. begin
  14980. pTDefRegMap(@Self)^.val := thebits;
  14981. end;
  14982. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  14983. begin
  14984. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14985. end;
  14986. procedure TI2C2_I2C2ACON.setSEN; inline;
  14987. begin
  14988. pTDefRegMap(@Self)^.&set := $00000001;
  14989. end;
  14990. procedure TI2C2_I2C2ACON.clearSEN; inline;
  14991. begin
  14992. pTDefRegMap(@Self)^.clr := $00000001;
  14993. end;
  14994. procedure TI2C2_I2C2ACON.setSEN(thebits : TBits_1); inline;
  14995. begin
  14996. if thebits = 0 then
  14997. pTDefRegMap(@Self)^.clr := $00000001
  14998. else
  14999. pTDefRegMap(@Self)^.&set := $00000001;
  15000. end;
  15001. function TI2C2_I2C2ACON.getSEN : TBits_1; inline;
  15002. begin
  15003. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15004. end;
  15005. procedure TI2C2_I2C2ACON.setRSEN; inline;
  15006. begin
  15007. pTDefRegMap(@Self)^.&set := $00000002;
  15008. end;
  15009. procedure TI2C2_I2C2ACON.clearRSEN; inline;
  15010. begin
  15011. pTDefRegMap(@Self)^.clr := $00000002;
  15012. end;
  15013. procedure TI2C2_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  15014. begin
  15015. if thebits = 0 then
  15016. pTDefRegMap(@Self)^.clr := $00000002
  15017. else
  15018. pTDefRegMap(@Self)^.&set := $00000002;
  15019. end;
  15020. function TI2C2_I2C2ACON.getRSEN : TBits_1; inline;
  15021. begin
  15022. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15023. end;
  15024. procedure TI2C2_I2C2ACON.setPEN; inline;
  15025. begin
  15026. pTDefRegMap(@Self)^.&set := $00000004;
  15027. end;
  15028. procedure TI2C2_I2C2ACON.clearPEN; inline;
  15029. begin
  15030. pTDefRegMap(@Self)^.clr := $00000004;
  15031. end;
  15032. procedure TI2C2_I2C2ACON.setPEN(thebits : TBits_1); inline;
  15033. begin
  15034. if thebits = 0 then
  15035. pTDefRegMap(@Self)^.clr := $00000004
  15036. else
  15037. pTDefRegMap(@Self)^.&set := $00000004;
  15038. end;
  15039. function TI2C2_I2C2ACON.getPEN : TBits_1; inline;
  15040. begin
  15041. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15042. end;
  15043. procedure TI2C2_I2C2ACON.setRCEN; inline;
  15044. begin
  15045. pTDefRegMap(@Self)^.&set := $00000008;
  15046. end;
  15047. procedure TI2C2_I2C2ACON.clearRCEN; inline;
  15048. begin
  15049. pTDefRegMap(@Self)^.clr := $00000008;
  15050. end;
  15051. procedure TI2C2_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  15052. begin
  15053. if thebits = 0 then
  15054. pTDefRegMap(@Self)^.clr := $00000008
  15055. else
  15056. pTDefRegMap(@Self)^.&set := $00000008;
  15057. end;
  15058. function TI2C2_I2C2ACON.getRCEN : TBits_1; inline;
  15059. begin
  15060. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15061. end;
  15062. procedure TI2C2_I2C2ACON.setACKEN; inline;
  15063. begin
  15064. pTDefRegMap(@Self)^.&set := $00000010;
  15065. end;
  15066. procedure TI2C2_I2C2ACON.clearACKEN; inline;
  15067. begin
  15068. pTDefRegMap(@Self)^.clr := $00000010;
  15069. end;
  15070. procedure TI2C2_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  15071. begin
  15072. if thebits = 0 then
  15073. pTDefRegMap(@Self)^.clr := $00000010
  15074. else
  15075. pTDefRegMap(@Self)^.&set := $00000010;
  15076. end;
  15077. function TI2C2_I2C2ACON.getACKEN : TBits_1; inline;
  15078. begin
  15079. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15080. end;
  15081. procedure TI2C2_I2C2ACON.setACKDT; inline;
  15082. begin
  15083. pTDefRegMap(@Self)^.&set := $00000020;
  15084. end;
  15085. procedure TI2C2_I2C2ACON.clearACKDT; inline;
  15086. begin
  15087. pTDefRegMap(@Self)^.clr := $00000020;
  15088. end;
  15089. procedure TI2C2_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  15090. begin
  15091. if thebits = 0 then
  15092. pTDefRegMap(@Self)^.clr := $00000020
  15093. else
  15094. pTDefRegMap(@Self)^.&set := $00000020;
  15095. end;
  15096. function TI2C2_I2C2ACON.getACKDT : TBits_1; inline;
  15097. begin
  15098. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15099. end;
  15100. procedure TI2C2_I2C2ACON.setSTREN; inline;
  15101. begin
  15102. pTDefRegMap(@Self)^.&set := $00000040;
  15103. end;
  15104. procedure TI2C2_I2C2ACON.clearSTREN; inline;
  15105. begin
  15106. pTDefRegMap(@Self)^.clr := $00000040;
  15107. end;
  15108. procedure TI2C2_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  15109. begin
  15110. if thebits = 0 then
  15111. pTDefRegMap(@Self)^.clr := $00000040
  15112. else
  15113. pTDefRegMap(@Self)^.&set := $00000040;
  15114. end;
  15115. function TI2C2_I2C2ACON.getSTREN : TBits_1; inline;
  15116. begin
  15117. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15118. end;
  15119. procedure TI2C2_I2C2ACON.setGCEN; inline;
  15120. begin
  15121. pTDefRegMap(@Self)^.&set := $00000080;
  15122. end;
  15123. procedure TI2C2_I2C2ACON.clearGCEN; inline;
  15124. begin
  15125. pTDefRegMap(@Self)^.clr := $00000080;
  15126. end;
  15127. procedure TI2C2_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  15128. begin
  15129. if thebits = 0 then
  15130. pTDefRegMap(@Self)^.clr := $00000080
  15131. else
  15132. pTDefRegMap(@Self)^.&set := $00000080;
  15133. end;
  15134. function TI2C2_I2C2ACON.getGCEN : TBits_1; inline;
  15135. begin
  15136. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15137. end;
  15138. procedure TI2C2_I2C2ACON.setSMEN; inline;
  15139. begin
  15140. pTDefRegMap(@Self)^.&set := $00000100;
  15141. end;
  15142. procedure TI2C2_I2C2ACON.clearSMEN; inline;
  15143. begin
  15144. pTDefRegMap(@Self)^.clr := $00000100;
  15145. end;
  15146. procedure TI2C2_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  15147. begin
  15148. if thebits = 0 then
  15149. pTDefRegMap(@Self)^.clr := $00000100
  15150. else
  15151. pTDefRegMap(@Self)^.&set := $00000100;
  15152. end;
  15153. function TI2C2_I2C2ACON.getSMEN : TBits_1; inline;
  15154. begin
  15155. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15156. end;
  15157. procedure TI2C2_I2C2ACON.setDISSLW; inline;
  15158. begin
  15159. pTDefRegMap(@Self)^.&set := $00000200;
  15160. end;
  15161. procedure TI2C2_I2C2ACON.clearDISSLW; inline;
  15162. begin
  15163. pTDefRegMap(@Self)^.clr := $00000200;
  15164. end;
  15165. procedure TI2C2_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  15166. begin
  15167. if thebits = 0 then
  15168. pTDefRegMap(@Self)^.clr := $00000200
  15169. else
  15170. pTDefRegMap(@Self)^.&set := $00000200;
  15171. end;
  15172. function TI2C2_I2C2ACON.getDISSLW : TBits_1; inline;
  15173. begin
  15174. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15175. end;
  15176. procedure TI2C2_I2C2ACON.setA10M; inline;
  15177. begin
  15178. pTDefRegMap(@Self)^.&set := $00000400;
  15179. end;
  15180. procedure TI2C2_I2C2ACON.clearA10M; inline;
  15181. begin
  15182. pTDefRegMap(@Self)^.clr := $00000400;
  15183. end;
  15184. procedure TI2C2_I2C2ACON.setA10M(thebits : TBits_1); inline;
  15185. begin
  15186. if thebits = 0 then
  15187. pTDefRegMap(@Self)^.clr := $00000400
  15188. else
  15189. pTDefRegMap(@Self)^.&set := $00000400;
  15190. end;
  15191. function TI2C2_I2C2ACON.getA10M : TBits_1; inline;
  15192. begin
  15193. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15194. end;
  15195. procedure TI2C2_I2C2ACON.setSTRICT; inline;
  15196. begin
  15197. pTDefRegMap(@Self)^.&set := $00000800;
  15198. end;
  15199. procedure TI2C2_I2C2ACON.clearSTRICT; inline;
  15200. begin
  15201. pTDefRegMap(@Self)^.clr := $00000800;
  15202. end;
  15203. procedure TI2C2_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  15204. begin
  15205. if thebits = 0 then
  15206. pTDefRegMap(@Self)^.clr := $00000800
  15207. else
  15208. pTDefRegMap(@Self)^.&set := $00000800;
  15209. end;
  15210. function TI2C2_I2C2ACON.getSTRICT : TBits_1; inline;
  15211. begin
  15212. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15213. end;
  15214. procedure TI2C2_I2C2ACON.setSCLREL; inline;
  15215. begin
  15216. pTDefRegMap(@Self)^.&set := $00001000;
  15217. end;
  15218. procedure TI2C2_I2C2ACON.clearSCLREL; inline;
  15219. begin
  15220. pTDefRegMap(@Self)^.clr := $00001000;
  15221. end;
  15222. procedure TI2C2_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  15223. begin
  15224. if thebits = 0 then
  15225. pTDefRegMap(@Self)^.clr := $00001000
  15226. else
  15227. pTDefRegMap(@Self)^.&set := $00001000;
  15228. end;
  15229. function TI2C2_I2C2ACON.getSCLREL : TBits_1; inline;
  15230. begin
  15231. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15232. end;
  15233. procedure TI2C2_I2C2ACON.setSIDL; inline;
  15234. begin
  15235. pTDefRegMap(@Self)^.&set := $00002000;
  15236. end;
  15237. procedure TI2C2_I2C2ACON.clearSIDL; inline;
  15238. begin
  15239. pTDefRegMap(@Self)^.clr := $00002000;
  15240. end;
  15241. procedure TI2C2_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  15242. begin
  15243. if thebits = 0 then
  15244. pTDefRegMap(@Self)^.clr := $00002000
  15245. else
  15246. pTDefRegMap(@Self)^.&set := $00002000;
  15247. end;
  15248. function TI2C2_I2C2ACON.getSIDL : TBits_1; inline;
  15249. begin
  15250. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15251. end;
  15252. procedure TI2C2_I2C2ACON.setON; inline;
  15253. begin
  15254. pTDefRegMap(@Self)^.&set := $00008000;
  15255. end;
  15256. procedure TI2C2_I2C2ACON.clearON; inline;
  15257. begin
  15258. pTDefRegMap(@Self)^.clr := $00008000;
  15259. end;
  15260. procedure TI2C2_I2C2ACON.setON(thebits : TBits_1); inline;
  15261. begin
  15262. if thebits = 0 then
  15263. pTDefRegMap(@Self)^.clr := $00008000
  15264. else
  15265. pTDefRegMap(@Self)^.&set := $00008000;
  15266. end;
  15267. function TI2C2_I2C2ACON.getON : TBits_1; inline;
  15268. begin
  15269. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15270. end;
  15271. procedure TI2C2_I2C2ACON.setIPMIEN; inline;
  15272. begin
  15273. pTDefRegMap(@Self)^.&set := $00000800;
  15274. end;
  15275. procedure TI2C2_I2C2ACON.clearIPMIEN; inline;
  15276. begin
  15277. pTDefRegMap(@Self)^.clr := $00000800;
  15278. end;
  15279. procedure TI2C2_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  15280. begin
  15281. if thebits = 0 then
  15282. pTDefRegMap(@Self)^.clr := $00000800
  15283. else
  15284. pTDefRegMap(@Self)^.&set := $00000800;
  15285. end;
  15286. function TI2C2_I2C2ACON.getIPMIEN : TBits_1; inline;
  15287. begin
  15288. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15289. end;
  15290. procedure TI2C2_I2C2ACON.setI2CSIDL; inline;
  15291. begin
  15292. pTDefRegMap(@Self)^.&set := $00002000;
  15293. end;
  15294. procedure TI2C2_I2C2ACON.clearI2CSIDL; inline;
  15295. begin
  15296. pTDefRegMap(@Self)^.clr := $00002000;
  15297. end;
  15298. procedure TI2C2_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  15299. begin
  15300. if thebits = 0 then
  15301. pTDefRegMap(@Self)^.clr := $00002000
  15302. else
  15303. pTDefRegMap(@Self)^.&set := $00002000;
  15304. end;
  15305. function TI2C2_I2C2ACON.getI2CSIDL : TBits_1; inline;
  15306. begin
  15307. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15308. end;
  15309. procedure TI2C2_I2C2ACON.setI2CEN; inline;
  15310. begin
  15311. pTDefRegMap(@Self)^.&set := $00008000;
  15312. end;
  15313. procedure TI2C2_I2C2ACON.clearI2CEN; inline;
  15314. begin
  15315. pTDefRegMap(@Self)^.clr := $00008000;
  15316. end;
  15317. procedure TI2C2_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  15318. begin
  15319. if thebits = 0 then
  15320. pTDefRegMap(@Self)^.clr := $00008000
  15321. else
  15322. pTDefRegMap(@Self)^.&set := $00008000;
  15323. end;
  15324. function TI2C2_I2C2ACON.getI2CEN : TBits_1; inline;
  15325. begin
  15326. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15327. end;
  15328. procedure TI2C2_I2C2ACON.setw(thebits : TBits_32); inline;
  15329. begin
  15330. pTDefRegMap(@Self)^.val := thebits;
  15331. end;
  15332. function TI2C2_I2C2ACON.getw : TBits_32; inline;
  15333. begin
  15334. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15335. end;
  15336. procedure TI2C2_I2C2CON.setSEN; inline;
  15337. begin
  15338. pTDefRegMap(@Self)^.&set := $00000001;
  15339. end;
  15340. procedure TI2C2_I2C2CON.clearSEN; inline;
  15341. begin
  15342. pTDefRegMap(@Self)^.clr := $00000001;
  15343. end;
  15344. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  15345. begin
  15346. if thebits = 0 then
  15347. pTDefRegMap(@Self)^.clr := $00000001
  15348. else
  15349. pTDefRegMap(@Self)^.&set := $00000001;
  15350. end;
  15351. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  15352. begin
  15353. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15354. end;
  15355. procedure TI2C2_I2C2CON.setRSEN; inline;
  15356. begin
  15357. pTDefRegMap(@Self)^.&set := $00000002;
  15358. end;
  15359. procedure TI2C2_I2C2CON.clearRSEN; inline;
  15360. begin
  15361. pTDefRegMap(@Self)^.clr := $00000002;
  15362. end;
  15363. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  15364. begin
  15365. if thebits = 0 then
  15366. pTDefRegMap(@Self)^.clr := $00000002
  15367. else
  15368. pTDefRegMap(@Self)^.&set := $00000002;
  15369. end;
  15370. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  15371. begin
  15372. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15373. end;
  15374. procedure TI2C2_I2C2CON.setPEN; inline;
  15375. begin
  15376. pTDefRegMap(@Self)^.&set := $00000004;
  15377. end;
  15378. procedure TI2C2_I2C2CON.clearPEN; inline;
  15379. begin
  15380. pTDefRegMap(@Self)^.clr := $00000004;
  15381. end;
  15382. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  15383. begin
  15384. if thebits = 0 then
  15385. pTDefRegMap(@Self)^.clr := $00000004
  15386. else
  15387. pTDefRegMap(@Self)^.&set := $00000004;
  15388. end;
  15389. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  15390. begin
  15391. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15392. end;
  15393. procedure TI2C2_I2C2CON.setRCEN; inline;
  15394. begin
  15395. pTDefRegMap(@Self)^.&set := $00000008;
  15396. end;
  15397. procedure TI2C2_I2C2CON.clearRCEN; inline;
  15398. begin
  15399. pTDefRegMap(@Self)^.clr := $00000008;
  15400. end;
  15401. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  15402. begin
  15403. if thebits = 0 then
  15404. pTDefRegMap(@Self)^.clr := $00000008
  15405. else
  15406. pTDefRegMap(@Self)^.&set := $00000008;
  15407. end;
  15408. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  15409. begin
  15410. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15411. end;
  15412. procedure TI2C2_I2C2CON.setACKEN; inline;
  15413. begin
  15414. pTDefRegMap(@Self)^.&set := $00000010;
  15415. end;
  15416. procedure TI2C2_I2C2CON.clearACKEN; inline;
  15417. begin
  15418. pTDefRegMap(@Self)^.clr := $00000010;
  15419. end;
  15420. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  15421. begin
  15422. if thebits = 0 then
  15423. pTDefRegMap(@Self)^.clr := $00000010
  15424. else
  15425. pTDefRegMap(@Self)^.&set := $00000010;
  15426. end;
  15427. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  15428. begin
  15429. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15430. end;
  15431. procedure TI2C2_I2C2CON.setACKDT; inline;
  15432. begin
  15433. pTDefRegMap(@Self)^.&set := $00000020;
  15434. end;
  15435. procedure TI2C2_I2C2CON.clearACKDT; inline;
  15436. begin
  15437. pTDefRegMap(@Self)^.clr := $00000020;
  15438. end;
  15439. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  15440. begin
  15441. if thebits = 0 then
  15442. pTDefRegMap(@Self)^.clr := $00000020
  15443. else
  15444. pTDefRegMap(@Self)^.&set := $00000020;
  15445. end;
  15446. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  15447. begin
  15448. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15449. end;
  15450. procedure TI2C2_I2C2CON.setSTREN; inline;
  15451. begin
  15452. pTDefRegMap(@Self)^.&set := $00000040;
  15453. end;
  15454. procedure TI2C2_I2C2CON.clearSTREN; inline;
  15455. begin
  15456. pTDefRegMap(@Self)^.clr := $00000040;
  15457. end;
  15458. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  15459. begin
  15460. if thebits = 0 then
  15461. pTDefRegMap(@Self)^.clr := $00000040
  15462. else
  15463. pTDefRegMap(@Self)^.&set := $00000040;
  15464. end;
  15465. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  15466. begin
  15467. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15468. end;
  15469. procedure TI2C2_I2C2CON.setGCEN; inline;
  15470. begin
  15471. pTDefRegMap(@Self)^.&set := $00000080;
  15472. end;
  15473. procedure TI2C2_I2C2CON.clearGCEN; inline;
  15474. begin
  15475. pTDefRegMap(@Self)^.clr := $00000080;
  15476. end;
  15477. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  15478. begin
  15479. if thebits = 0 then
  15480. pTDefRegMap(@Self)^.clr := $00000080
  15481. else
  15482. pTDefRegMap(@Self)^.&set := $00000080;
  15483. end;
  15484. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  15485. begin
  15486. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15487. end;
  15488. procedure TI2C2_I2C2CON.setSMEN; inline;
  15489. begin
  15490. pTDefRegMap(@Self)^.&set := $00000100;
  15491. end;
  15492. procedure TI2C2_I2C2CON.clearSMEN; inline;
  15493. begin
  15494. pTDefRegMap(@Self)^.clr := $00000100;
  15495. end;
  15496. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  15497. begin
  15498. if thebits = 0 then
  15499. pTDefRegMap(@Self)^.clr := $00000100
  15500. else
  15501. pTDefRegMap(@Self)^.&set := $00000100;
  15502. end;
  15503. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  15504. begin
  15505. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15506. end;
  15507. procedure TI2C2_I2C2CON.setDISSLW; inline;
  15508. begin
  15509. pTDefRegMap(@Self)^.&set := $00000200;
  15510. end;
  15511. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  15512. begin
  15513. pTDefRegMap(@Self)^.clr := $00000200;
  15514. end;
  15515. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  15516. begin
  15517. if thebits = 0 then
  15518. pTDefRegMap(@Self)^.clr := $00000200
  15519. else
  15520. pTDefRegMap(@Self)^.&set := $00000200;
  15521. end;
  15522. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  15523. begin
  15524. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15525. end;
  15526. procedure TI2C2_I2C2CON.setA10M; inline;
  15527. begin
  15528. pTDefRegMap(@Self)^.&set := $00000400;
  15529. end;
  15530. procedure TI2C2_I2C2CON.clearA10M; inline;
  15531. begin
  15532. pTDefRegMap(@Self)^.clr := $00000400;
  15533. end;
  15534. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  15535. begin
  15536. if thebits = 0 then
  15537. pTDefRegMap(@Self)^.clr := $00000400
  15538. else
  15539. pTDefRegMap(@Self)^.&set := $00000400;
  15540. end;
  15541. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  15542. begin
  15543. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15544. end;
  15545. procedure TI2C2_I2C2CON.setSTRICT; inline;
  15546. begin
  15547. pTDefRegMap(@Self)^.&set := $00000800;
  15548. end;
  15549. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  15550. begin
  15551. pTDefRegMap(@Self)^.clr := $00000800;
  15552. end;
  15553. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  15554. begin
  15555. if thebits = 0 then
  15556. pTDefRegMap(@Self)^.clr := $00000800
  15557. else
  15558. pTDefRegMap(@Self)^.&set := $00000800;
  15559. end;
  15560. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  15561. begin
  15562. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15563. end;
  15564. procedure TI2C2_I2C2CON.setSCLREL; inline;
  15565. begin
  15566. pTDefRegMap(@Self)^.&set := $00001000;
  15567. end;
  15568. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  15569. begin
  15570. pTDefRegMap(@Self)^.clr := $00001000;
  15571. end;
  15572. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  15573. begin
  15574. if thebits = 0 then
  15575. pTDefRegMap(@Self)^.clr := $00001000
  15576. else
  15577. pTDefRegMap(@Self)^.&set := $00001000;
  15578. end;
  15579. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  15580. begin
  15581. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15582. end;
  15583. procedure TI2C2_I2C2CON.setSIDL; inline;
  15584. begin
  15585. pTDefRegMap(@Self)^.&set := $00002000;
  15586. end;
  15587. procedure TI2C2_I2C2CON.clearSIDL; inline;
  15588. begin
  15589. pTDefRegMap(@Self)^.clr := $00002000;
  15590. end;
  15591. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  15592. begin
  15593. if thebits = 0 then
  15594. pTDefRegMap(@Self)^.clr := $00002000
  15595. else
  15596. pTDefRegMap(@Self)^.&set := $00002000;
  15597. end;
  15598. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  15599. begin
  15600. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15601. end;
  15602. procedure TI2C2_I2C2CON.setON; inline;
  15603. begin
  15604. pTDefRegMap(@Self)^.&set := $00008000;
  15605. end;
  15606. procedure TI2C2_I2C2CON.clearON; inline;
  15607. begin
  15608. pTDefRegMap(@Self)^.clr := $00008000;
  15609. end;
  15610. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  15611. begin
  15612. if thebits = 0 then
  15613. pTDefRegMap(@Self)^.clr := $00008000
  15614. else
  15615. pTDefRegMap(@Self)^.&set := $00008000;
  15616. end;
  15617. function TI2C2_I2C2CON.getON : TBits_1; inline;
  15618. begin
  15619. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15620. end;
  15621. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  15622. begin
  15623. pTDefRegMap(@Self)^.&set := $00000800;
  15624. end;
  15625. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  15626. begin
  15627. pTDefRegMap(@Self)^.clr := $00000800;
  15628. end;
  15629. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  15630. begin
  15631. if thebits = 0 then
  15632. pTDefRegMap(@Self)^.clr := $00000800
  15633. else
  15634. pTDefRegMap(@Self)^.&set := $00000800;
  15635. end;
  15636. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  15637. begin
  15638. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15639. end;
  15640. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  15641. begin
  15642. pTDefRegMap(@Self)^.&set := $00002000;
  15643. end;
  15644. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  15645. begin
  15646. pTDefRegMap(@Self)^.clr := $00002000;
  15647. end;
  15648. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  15649. begin
  15650. if thebits = 0 then
  15651. pTDefRegMap(@Self)^.clr := $00002000
  15652. else
  15653. pTDefRegMap(@Self)^.&set := $00002000;
  15654. end;
  15655. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  15656. begin
  15657. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15658. end;
  15659. procedure TI2C2_I2C2CON.setI2CEN; inline;
  15660. begin
  15661. pTDefRegMap(@Self)^.&set := $00008000;
  15662. end;
  15663. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  15664. begin
  15665. pTDefRegMap(@Self)^.clr := $00008000;
  15666. end;
  15667. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  15668. begin
  15669. if thebits = 0 then
  15670. pTDefRegMap(@Self)^.clr := $00008000
  15671. else
  15672. pTDefRegMap(@Self)^.&set := $00008000;
  15673. end;
  15674. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  15675. begin
  15676. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15677. end;
  15678. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  15679. begin
  15680. pTDefRegMap(@Self)^.val := thebits;
  15681. end;
  15682. function TI2C2_I2C2CON.getw : TBits_32; inline;
  15683. begin
  15684. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15685. end;
  15686. procedure TI2C2_I2C2ASTAT.setTBF; inline;
  15687. begin
  15688. pTDefRegMap(@Self)^.&set := $00000001;
  15689. end;
  15690. procedure TI2C2_I2C2ASTAT.clearTBF; inline;
  15691. begin
  15692. pTDefRegMap(@Self)^.clr := $00000001;
  15693. end;
  15694. procedure TI2C2_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  15695. begin
  15696. if thebits = 0 then
  15697. pTDefRegMap(@Self)^.clr := $00000001
  15698. else
  15699. pTDefRegMap(@Self)^.&set := $00000001;
  15700. end;
  15701. function TI2C2_I2C2ASTAT.getTBF : TBits_1; inline;
  15702. begin
  15703. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15704. end;
  15705. procedure TI2C2_I2C2ASTAT.setRBF; inline;
  15706. begin
  15707. pTDefRegMap(@Self)^.&set := $00000002;
  15708. end;
  15709. procedure TI2C2_I2C2ASTAT.clearRBF; inline;
  15710. begin
  15711. pTDefRegMap(@Self)^.clr := $00000002;
  15712. end;
  15713. procedure TI2C2_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  15714. begin
  15715. if thebits = 0 then
  15716. pTDefRegMap(@Self)^.clr := $00000002
  15717. else
  15718. pTDefRegMap(@Self)^.&set := $00000002;
  15719. end;
  15720. function TI2C2_I2C2ASTAT.getRBF : TBits_1; inline;
  15721. begin
  15722. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15723. end;
  15724. procedure TI2C2_I2C2ASTAT.setR_W; inline;
  15725. begin
  15726. pTDefRegMap(@Self)^.&set := $00000004;
  15727. end;
  15728. procedure TI2C2_I2C2ASTAT.clearR_W; inline;
  15729. begin
  15730. pTDefRegMap(@Self)^.clr := $00000004;
  15731. end;
  15732. procedure TI2C2_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  15733. begin
  15734. if thebits = 0 then
  15735. pTDefRegMap(@Self)^.clr := $00000004
  15736. else
  15737. pTDefRegMap(@Self)^.&set := $00000004;
  15738. end;
  15739. function TI2C2_I2C2ASTAT.getR_W : TBits_1; inline;
  15740. begin
  15741. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15742. end;
  15743. procedure TI2C2_I2C2ASTAT.setS; inline;
  15744. begin
  15745. pTDefRegMap(@Self)^.&set := $00000008;
  15746. end;
  15747. procedure TI2C2_I2C2ASTAT.clearS; inline;
  15748. begin
  15749. pTDefRegMap(@Self)^.clr := $00000008;
  15750. end;
  15751. procedure TI2C2_I2C2ASTAT.setS(thebits : TBits_1); inline;
  15752. begin
  15753. if thebits = 0 then
  15754. pTDefRegMap(@Self)^.clr := $00000008
  15755. else
  15756. pTDefRegMap(@Self)^.&set := $00000008;
  15757. end;
  15758. function TI2C2_I2C2ASTAT.getS : TBits_1; inline;
  15759. begin
  15760. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15761. end;
  15762. procedure TI2C2_I2C2ASTAT.setP; inline;
  15763. begin
  15764. pTDefRegMap(@Self)^.&set := $00000010;
  15765. end;
  15766. procedure TI2C2_I2C2ASTAT.clearP; inline;
  15767. begin
  15768. pTDefRegMap(@Self)^.clr := $00000010;
  15769. end;
  15770. procedure TI2C2_I2C2ASTAT.setP(thebits : TBits_1); inline;
  15771. begin
  15772. if thebits = 0 then
  15773. pTDefRegMap(@Self)^.clr := $00000010
  15774. else
  15775. pTDefRegMap(@Self)^.&set := $00000010;
  15776. end;
  15777. function TI2C2_I2C2ASTAT.getP : TBits_1; inline;
  15778. begin
  15779. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15780. end;
  15781. procedure TI2C2_I2C2ASTAT.setD_A; inline;
  15782. begin
  15783. pTDefRegMap(@Self)^.&set := $00000020;
  15784. end;
  15785. procedure TI2C2_I2C2ASTAT.clearD_A; inline;
  15786. begin
  15787. pTDefRegMap(@Self)^.clr := $00000020;
  15788. end;
  15789. procedure TI2C2_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  15790. begin
  15791. if thebits = 0 then
  15792. pTDefRegMap(@Self)^.clr := $00000020
  15793. else
  15794. pTDefRegMap(@Self)^.&set := $00000020;
  15795. end;
  15796. function TI2C2_I2C2ASTAT.getD_A : TBits_1; inline;
  15797. begin
  15798. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15799. end;
  15800. procedure TI2C2_I2C2ASTAT.setI2COV; inline;
  15801. begin
  15802. pTDefRegMap(@Self)^.&set := $00000040;
  15803. end;
  15804. procedure TI2C2_I2C2ASTAT.clearI2COV; inline;
  15805. begin
  15806. pTDefRegMap(@Self)^.clr := $00000040;
  15807. end;
  15808. procedure TI2C2_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  15809. begin
  15810. if thebits = 0 then
  15811. pTDefRegMap(@Self)^.clr := $00000040
  15812. else
  15813. pTDefRegMap(@Self)^.&set := $00000040;
  15814. end;
  15815. function TI2C2_I2C2ASTAT.getI2COV : TBits_1; inline;
  15816. begin
  15817. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15818. end;
  15819. procedure TI2C2_I2C2ASTAT.setIWCOL; inline;
  15820. begin
  15821. pTDefRegMap(@Self)^.&set := $00000080;
  15822. end;
  15823. procedure TI2C2_I2C2ASTAT.clearIWCOL; inline;
  15824. begin
  15825. pTDefRegMap(@Self)^.clr := $00000080;
  15826. end;
  15827. procedure TI2C2_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  15828. begin
  15829. if thebits = 0 then
  15830. pTDefRegMap(@Self)^.clr := $00000080
  15831. else
  15832. pTDefRegMap(@Self)^.&set := $00000080;
  15833. end;
  15834. function TI2C2_I2C2ASTAT.getIWCOL : TBits_1; inline;
  15835. begin
  15836. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15837. end;
  15838. procedure TI2C2_I2C2ASTAT.setADD10; inline;
  15839. begin
  15840. pTDefRegMap(@Self)^.&set := $00000100;
  15841. end;
  15842. procedure TI2C2_I2C2ASTAT.clearADD10; inline;
  15843. begin
  15844. pTDefRegMap(@Self)^.clr := $00000100;
  15845. end;
  15846. procedure TI2C2_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  15847. begin
  15848. if thebits = 0 then
  15849. pTDefRegMap(@Self)^.clr := $00000100
  15850. else
  15851. pTDefRegMap(@Self)^.&set := $00000100;
  15852. end;
  15853. function TI2C2_I2C2ASTAT.getADD10 : TBits_1; inline;
  15854. begin
  15855. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15856. end;
  15857. procedure TI2C2_I2C2ASTAT.setGCSTAT; inline;
  15858. begin
  15859. pTDefRegMap(@Self)^.&set := $00000200;
  15860. end;
  15861. procedure TI2C2_I2C2ASTAT.clearGCSTAT; inline;
  15862. begin
  15863. pTDefRegMap(@Self)^.clr := $00000200;
  15864. end;
  15865. procedure TI2C2_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  15866. begin
  15867. if thebits = 0 then
  15868. pTDefRegMap(@Self)^.clr := $00000200
  15869. else
  15870. pTDefRegMap(@Self)^.&set := $00000200;
  15871. end;
  15872. function TI2C2_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  15873. begin
  15874. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15875. end;
  15876. procedure TI2C2_I2C2ASTAT.setBCL; inline;
  15877. begin
  15878. pTDefRegMap(@Self)^.&set := $00000400;
  15879. end;
  15880. procedure TI2C2_I2C2ASTAT.clearBCL; inline;
  15881. begin
  15882. pTDefRegMap(@Self)^.clr := $00000400;
  15883. end;
  15884. procedure TI2C2_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  15885. begin
  15886. if thebits = 0 then
  15887. pTDefRegMap(@Self)^.clr := $00000400
  15888. else
  15889. pTDefRegMap(@Self)^.&set := $00000400;
  15890. end;
  15891. function TI2C2_I2C2ASTAT.getBCL : TBits_1; inline;
  15892. begin
  15893. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15894. end;
  15895. procedure TI2C2_I2C2ASTAT.setTRSTAT; inline;
  15896. begin
  15897. pTDefRegMap(@Self)^.&set := $00004000;
  15898. end;
  15899. procedure TI2C2_I2C2ASTAT.clearTRSTAT; inline;
  15900. begin
  15901. pTDefRegMap(@Self)^.clr := $00004000;
  15902. end;
  15903. procedure TI2C2_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  15904. begin
  15905. if thebits = 0 then
  15906. pTDefRegMap(@Self)^.clr := $00004000
  15907. else
  15908. pTDefRegMap(@Self)^.&set := $00004000;
  15909. end;
  15910. function TI2C2_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  15911. begin
  15912. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15913. end;
  15914. procedure TI2C2_I2C2ASTAT.setACKSTAT; inline;
  15915. begin
  15916. pTDefRegMap(@Self)^.&set := $00008000;
  15917. end;
  15918. procedure TI2C2_I2C2ASTAT.clearACKSTAT; inline;
  15919. begin
  15920. pTDefRegMap(@Self)^.clr := $00008000;
  15921. end;
  15922. procedure TI2C2_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  15923. begin
  15924. if thebits = 0 then
  15925. pTDefRegMap(@Self)^.clr := $00008000
  15926. else
  15927. pTDefRegMap(@Self)^.&set := $00008000;
  15928. end;
  15929. function TI2C2_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  15930. begin
  15931. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15932. end;
  15933. procedure TI2C2_I2C2ASTAT.setI2CPOV; inline;
  15934. begin
  15935. pTDefRegMap(@Self)^.&set := $00000040;
  15936. end;
  15937. procedure TI2C2_I2C2ASTAT.clearI2CPOV; inline;
  15938. begin
  15939. pTDefRegMap(@Self)^.clr := $00000040;
  15940. end;
  15941. procedure TI2C2_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  15942. begin
  15943. if thebits = 0 then
  15944. pTDefRegMap(@Self)^.clr := $00000040
  15945. else
  15946. pTDefRegMap(@Self)^.&set := $00000040;
  15947. end;
  15948. function TI2C2_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  15949. begin
  15950. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15951. end;
  15952. procedure TI2C2_I2C2ASTAT.setw(thebits : TBits_32); inline;
  15953. begin
  15954. pTDefRegMap(@Self)^.val := thebits;
  15955. end;
  15956. function TI2C2_I2C2ASTAT.getw : TBits_32; inline;
  15957. begin
  15958. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15959. end;
  15960. procedure TI2C2_I2C2STAT.setTBF; inline;
  15961. begin
  15962. pTDefRegMap(@Self)^.&set := $00000001;
  15963. end;
  15964. procedure TI2C2_I2C2STAT.clearTBF; inline;
  15965. begin
  15966. pTDefRegMap(@Self)^.clr := $00000001;
  15967. end;
  15968. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  15969. begin
  15970. if thebits = 0 then
  15971. pTDefRegMap(@Self)^.clr := $00000001
  15972. else
  15973. pTDefRegMap(@Self)^.&set := $00000001;
  15974. end;
  15975. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  15976. begin
  15977. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15978. end;
  15979. procedure TI2C2_I2C2STAT.setRBF; inline;
  15980. begin
  15981. pTDefRegMap(@Self)^.&set := $00000002;
  15982. end;
  15983. procedure TI2C2_I2C2STAT.clearRBF; inline;
  15984. begin
  15985. pTDefRegMap(@Self)^.clr := $00000002;
  15986. end;
  15987. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  15988. begin
  15989. if thebits = 0 then
  15990. pTDefRegMap(@Self)^.clr := $00000002
  15991. else
  15992. pTDefRegMap(@Self)^.&set := $00000002;
  15993. end;
  15994. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  15995. begin
  15996. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15997. end;
  15998. procedure TI2C2_I2C2STAT.setR_W; inline;
  15999. begin
  16000. pTDefRegMap(@Self)^.&set := $00000004;
  16001. end;
  16002. procedure TI2C2_I2C2STAT.clearR_W; inline;
  16003. begin
  16004. pTDefRegMap(@Self)^.clr := $00000004;
  16005. end;
  16006. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  16007. begin
  16008. if thebits = 0 then
  16009. pTDefRegMap(@Self)^.clr := $00000004
  16010. else
  16011. pTDefRegMap(@Self)^.&set := $00000004;
  16012. end;
  16013. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  16014. begin
  16015. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16016. end;
  16017. procedure TI2C2_I2C2STAT.setS; inline;
  16018. begin
  16019. pTDefRegMap(@Self)^.&set := $00000008;
  16020. end;
  16021. procedure TI2C2_I2C2STAT.clearS; inline;
  16022. begin
  16023. pTDefRegMap(@Self)^.clr := $00000008;
  16024. end;
  16025. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  16026. begin
  16027. if thebits = 0 then
  16028. pTDefRegMap(@Self)^.clr := $00000008
  16029. else
  16030. pTDefRegMap(@Self)^.&set := $00000008;
  16031. end;
  16032. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  16033. begin
  16034. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16035. end;
  16036. procedure TI2C2_I2C2STAT.setP; inline;
  16037. begin
  16038. pTDefRegMap(@Self)^.&set := $00000010;
  16039. end;
  16040. procedure TI2C2_I2C2STAT.clearP; inline;
  16041. begin
  16042. pTDefRegMap(@Self)^.clr := $00000010;
  16043. end;
  16044. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  16045. begin
  16046. if thebits = 0 then
  16047. pTDefRegMap(@Self)^.clr := $00000010
  16048. else
  16049. pTDefRegMap(@Self)^.&set := $00000010;
  16050. end;
  16051. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  16052. begin
  16053. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16054. end;
  16055. procedure TI2C2_I2C2STAT.setD_A; inline;
  16056. begin
  16057. pTDefRegMap(@Self)^.&set := $00000020;
  16058. end;
  16059. procedure TI2C2_I2C2STAT.clearD_A; inline;
  16060. begin
  16061. pTDefRegMap(@Self)^.clr := $00000020;
  16062. end;
  16063. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  16064. begin
  16065. if thebits = 0 then
  16066. pTDefRegMap(@Self)^.clr := $00000020
  16067. else
  16068. pTDefRegMap(@Self)^.&set := $00000020;
  16069. end;
  16070. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  16071. begin
  16072. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16073. end;
  16074. procedure TI2C2_I2C2STAT.setI2COV; inline;
  16075. begin
  16076. pTDefRegMap(@Self)^.&set := $00000040;
  16077. end;
  16078. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  16079. begin
  16080. pTDefRegMap(@Self)^.clr := $00000040;
  16081. end;
  16082. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  16083. begin
  16084. if thebits = 0 then
  16085. pTDefRegMap(@Self)^.clr := $00000040
  16086. else
  16087. pTDefRegMap(@Self)^.&set := $00000040;
  16088. end;
  16089. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  16090. begin
  16091. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16092. end;
  16093. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  16094. begin
  16095. pTDefRegMap(@Self)^.&set := $00000080;
  16096. end;
  16097. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  16098. begin
  16099. pTDefRegMap(@Self)^.clr := $00000080;
  16100. end;
  16101. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  16102. begin
  16103. if thebits = 0 then
  16104. pTDefRegMap(@Self)^.clr := $00000080
  16105. else
  16106. pTDefRegMap(@Self)^.&set := $00000080;
  16107. end;
  16108. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  16109. begin
  16110. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16111. end;
  16112. procedure TI2C2_I2C2STAT.setADD10; inline;
  16113. begin
  16114. pTDefRegMap(@Self)^.&set := $00000100;
  16115. end;
  16116. procedure TI2C2_I2C2STAT.clearADD10; inline;
  16117. begin
  16118. pTDefRegMap(@Self)^.clr := $00000100;
  16119. end;
  16120. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  16121. begin
  16122. if thebits = 0 then
  16123. pTDefRegMap(@Self)^.clr := $00000100
  16124. else
  16125. pTDefRegMap(@Self)^.&set := $00000100;
  16126. end;
  16127. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  16128. begin
  16129. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16130. end;
  16131. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  16132. begin
  16133. pTDefRegMap(@Self)^.&set := $00000200;
  16134. end;
  16135. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  16136. begin
  16137. pTDefRegMap(@Self)^.clr := $00000200;
  16138. end;
  16139. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  16140. begin
  16141. if thebits = 0 then
  16142. pTDefRegMap(@Self)^.clr := $00000200
  16143. else
  16144. pTDefRegMap(@Self)^.&set := $00000200;
  16145. end;
  16146. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  16147. begin
  16148. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16149. end;
  16150. procedure TI2C2_I2C2STAT.setBCL; inline;
  16151. begin
  16152. pTDefRegMap(@Self)^.&set := $00000400;
  16153. end;
  16154. procedure TI2C2_I2C2STAT.clearBCL; inline;
  16155. begin
  16156. pTDefRegMap(@Self)^.clr := $00000400;
  16157. end;
  16158. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  16159. begin
  16160. if thebits = 0 then
  16161. pTDefRegMap(@Self)^.clr := $00000400
  16162. else
  16163. pTDefRegMap(@Self)^.&set := $00000400;
  16164. end;
  16165. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  16166. begin
  16167. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16168. end;
  16169. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  16170. begin
  16171. pTDefRegMap(@Self)^.&set := $00004000;
  16172. end;
  16173. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  16174. begin
  16175. pTDefRegMap(@Self)^.clr := $00004000;
  16176. end;
  16177. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  16178. begin
  16179. if thebits = 0 then
  16180. pTDefRegMap(@Self)^.clr := $00004000
  16181. else
  16182. pTDefRegMap(@Self)^.&set := $00004000;
  16183. end;
  16184. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  16185. begin
  16186. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16187. end;
  16188. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  16189. begin
  16190. pTDefRegMap(@Self)^.&set := $00008000;
  16191. end;
  16192. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  16193. begin
  16194. pTDefRegMap(@Self)^.clr := $00008000;
  16195. end;
  16196. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  16197. begin
  16198. if thebits = 0 then
  16199. pTDefRegMap(@Self)^.clr := $00008000
  16200. else
  16201. pTDefRegMap(@Self)^.&set := $00008000;
  16202. end;
  16203. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  16204. begin
  16205. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16206. end;
  16207. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  16208. begin
  16209. pTDefRegMap(@Self)^.&set := $00000040;
  16210. end;
  16211. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  16212. begin
  16213. pTDefRegMap(@Self)^.clr := $00000040;
  16214. end;
  16215. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  16216. begin
  16217. if thebits = 0 then
  16218. pTDefRegMap(@Self)^.clr := $00000040
  16219. else
  16220. pTDefRegMap(@Self)^.&set := $00000040;
  16221. end;
  16222. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  16223. begin
  16224. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16225. end;
  16226. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  16227. begin
  16228. pTDefRegMap(@Self)^.val := thebits;
  16229. end;
  16230. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  16231. begin
  16232. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16233. end;
  16234. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  16235. begin
  16236. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16237. end;
  16238. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  16239. begin
  16240. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16241. end;
  16242. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  16243. begin
  16244. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  16245. end;
  16246. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  16247. begin
  16248. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  16249. end;
  16250. procedure TSPI1_SPI1CON.setDISSDI; inline;
  16251. begin
  16252. pTDefRegMap(@Self)^.&set := $00000010;
  16253. end;
  16254. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  16255. begin
  16256. pTDefRegMap(@Self)^.clr := $00000010;
  16257. end;
  16258. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  16259. begin
  16260. if thebits = 0 then
  16261. pTDefRegMap(@Self)^.clr := $00000010
  16262. else
  16263. pTDefRegMap(@Self)^.&set := $00000010;
  16264. end;
  16265. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  16266. begin
  16267. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16268. end;
  16269. procedure TSPI1_SPI1CON.setMSTEN; inline;
  16270. begin
  16271. pTDefRegMap(@Self)^.&set := $00000020;
  16272. end;
  16273. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  16274. begin
  16275. pTDefRegMap(@Self)^.clr := $00000020;
  16276. end;
  16277. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  16278. begin
  16279. if thebits = 0 then
  16280. pTDefRegMap(@Self)^.clr := $00000020
  16281. else
  16282. pTDefRegMap(@Self)^.&set := $00000020;
  16283. end;
  16284. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  16285. begin
  16286. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16287. end;
  16288. procedure TSPI1_SPI1CON.setCKP; inline;
  16289. begin
  16290. pTDefRegMap(@Self)^.&set := $00000040;
  16291. end;
  16292. procedure TSPI1_SPI1CON.clearCKP; inline;
  16293. begin
  16294. pTDefRegMap(@Self)^.clr := $00000040;
  16295. end;
  16296. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  16297. begin
  16298. if thebits = 0 then
  16299. pTDefRegMap(@Self)^.clr := $00000040
  16300. else
  16301. pTDefRegMap(@Self)^.&set := $00000040;
  16302. end;
  16303. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  16304. begin
  16305. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16306. end;
  16307. procedure TSPI1_SPI1CON.setSSEN; inline;
  16308. begin
  16309. pTDefRegMap(@Self)^.&set := $00000080;
  16310. end;
  16311. procedure TSPI1_SPI1CON.clearSSEN; inline;
  16312. begin
  16313. pTDefRegMap(@Self)^.clr := $00000080;
  16314. end;
  16315. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  16316. begin
  16317. if thebits = 0 then
  16318. pTDefRegMap(@Self)^.clr := $00000080
  16319. else
  16320. pTDefRegMap(@Self)^.&set := $00000080;
  16321. end;
  16322. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  16323. begin
  16324. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16325. end;
  16326. procedure TSPI1_SPI1CON.setCKE; inline;
  16327. begin
  16328. pTDefRegMap(@Self)^.&set := $00000100;
  16329. end;
  16330. procedure TSPI1_SPI1CON.clearCKE; inline;
  16331. begin
  16332. pTDefRegMap(@Self)^.clr := $00000100;
  16333. end;
  16334. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  16335. begin
  16336. if thebits = 0 then
  16337. pTDefRegMap(@Self)^.clr := $00000100
  16338. else
  16339. pTDefRegMap(@Self)^.&set := $00000100;
  16340. end;
  16341. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  16342. begin
  16343. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16344. end;
  16345. procedure TSPI1_SPI1CON.setSMP; inline;
  16346. begin
  16347. pTDefRegMap(@Self)^.&set := $00000200;
  16348. end;
  16349. procedure TSPI1_SPI1CON.clearSMP; inline;
  16350. begin
  16351. pTDefRegMap(@Self)^.clr := $00000200;
  16352. end;
  16353. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  16354. begin
  16355. if thebits = 0 then
  16356. pTDefRegMap(@Self)^.clr := $00000200
  16357. else
  16358. pTDefRegMap(@Self)^.&set := $00000200;
  16359. end;
  16360. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  16361. begin
  16362. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16363. end;
  16364. procedure TSPI1_SPI1CON.setMODE16; inline;
  16365. begin
  16366. pTDefRegMap(@Self)^.&set := $00000400;
  16367. end;
  16368. procedure TSPI1_SPI1CON.clearMODE16; inline;
  16369. begin
  16370. pTDefRegMap(@Self)^.clr := $00000400;
  16371. end;
  16372. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  16373. begin
  16374. if thebits = 0 then
  16375. pTDefRegMap(@Self)^.clr := $00000400
  16376. else
  16377. pTDefRegMap(@Self)^.&set := $00000400;
  16378. end;
  16379. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  16380. begin
  16381. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16382. end;
  16383. procedure TSPI1_SPI1CON.setMODE32; inline;
  16384. begin
  16385. pTDefRegMap(@Self)^.&set := $00000800;
  16386. end;
  16387. procedure TSPI1_SPI1CON.clearMODE32; inline;
  16388. begin
  16389. pTDefRegMap(@Self)^.clr := $00000800;
  16390. end;
  16391. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  16392. begin
  16393. if thebits = 0 then
  16394. pTDefRegMap(@Self)^.clr := $00000800
  16395. else
  16396. pTDefRegMap(@Self)^.&set := $00000800;
  16397. end;
  16398. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  16399. begin
  16400. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16401. end;
  16402. procedure TSPI1_SPI1CON.setDISSDO; inline;
  16403. begin
  16404. pTDefRegMap(@Self)^.&set := $00001000;
  16405. end;
  16406. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  16407. begin
  16408. pTDefRegMap(@Self)^.clr := $00001000;
  16409. end;
  16410. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  16411. begin
  16412. if thebits = 0 then
  16413. pTDefRegMap(@Self)^.clr := $00001000
  16414. else
  16415. pTDefRegMap(@Self)^.&set := $00001000;
  16416. end;
  16417. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  16418. begin
  16419. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16420. end;
  16421. procedure TSPI1_SPI1CON.setSIDL; inline;
  16422. begin
  16423. pTDefRegMap(@Self)^.&set := $00002000;
  16424. end;
  16425. procedure TSPI1_SPI1CON.clearSIDL; inline;
  16426. begin
  16427. pTDefRegMap(@Self)^.clr := $00002000;
  16428. end;
  16429. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  16430. begin
  16431. if thebits = 0 then
  16432. pTDefRegMap(@Self)^.clr := $00002000
  16433. else
  16434. pTDefRegMap(@Self)^.&set := $00002000;
  16435. end;
  16436. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  16437. begin
  16438. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16439. end;
  16440. procedure TSPI1_SPI1CON.setON; inline;
  16441. begin
  16442. pTDefRegMap(@Self)^.&set := $00008000;
  16443. end;
  16444. procedure TSPI1_SPI1CON.clearON; inline;
  16445. begin
  16446. pTDefRegMap(@Self)^.clr := $00008000;
  16447. end;
  16448. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  16449. begin
  16450. if thebits = 0 then
  16451. pTDefRegMap(@Self)^.clr := $00008000
  16452. else
  16453. pTDefRegMap(@Self)^.&set := $00008000;
  16454. end;
  16455. function TSPI1_SPI1CON.getON : TBits_1; inline;
  16456. begin
  16457. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16458. end;
  16459. procedure TSPI1_SPI1CON.setENHBUF; inline;
  16460. begin
  16461. pTDefRegMap(@Self)^.&set := $00010000;
  16462. end;
  16463. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  16464. begin
  16465. pTDefRegMap(@Self)^.clr := $00010000;
  16466. end;
  16467. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  16468. begin
  16469. if thebits = 0 then
  16470. pTDefRegMap(@Self)^.clr := $00010000
  16471. else
  16472. pTDefRegMap(@Self)^.&set := $00010000;
  16473. end;
  16474. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  16475. begin
  16476. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  16477. end;
  16478. procedure TSPI1_SPI1CON.setSPIFE; inline;
  16479. begin
  16480. pTDefRegMap(@Self)^.&set := $00020000;
  16481. end;
  16482. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  16483. begin
  16484. pTDefRegMap(@Self)^.clr := $00020000;
  16485. end;
  16486. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  16487. begin
  16488. if thebits = 0 then
  16489. pTDefRegMap(@Self)^.clr := $00020000
  16490. else
  16491. pTDefRegMap(@Self)^.&set := $00020000;
  16492. end;
  16493. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  16494. begin
  16495. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  16496. end;
  16497. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  16498. begin
  16499. pTDefRegMap(@Self)^.&set := $00800000;
  16500. end;
  16501. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  16502. begin
  16503. pTDefRegMap(@Self)^.clr := $00800000;
  16504. end;
  16505. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  16506. begin
  16507. if thebits = 0 then
  16508. pTDefRegMap(@Self)^.clr := $00800000
  16509. else
  16510. pTDefRegMap(@Self)^.&set := $00800000;
  16511. end;
  16512. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  16513. begin
  16514. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  16515. end;
  16516. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  16517. begin
  16518. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  16519. end;
  16520. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  16521. begin
  16522. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  16523. end;
  16524. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  16525. begin
  16526. pTDefRegMap(@Self)^.&set := $08000000;
  16527. end;
  16528. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  16529. begin
  16530. pTDefRegMap(@Self)^.clr := $08000000;
  16531. end;
  16532. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  16533. begin
  16534. if thebits = 0 then
  16535. pTDefRegMap(@Self)^.clr := $08000000
  16536. else
  16537. pTDefRegMap(@Self)^.&set := $08000000;
  16538. end;
  16539. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  16540. begin
  16541. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  16542. end;
  16543. procedure TSPI1_SPI1CON.setMSSEN; inline;
  16544. begin
  16545. pTDefRegMap(@Self)^.&set := $10000000;
  16546. end;
  16547. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  16548. begin
  16549. pTDefRegMap(@Self)^.clr := $10000000;
  16550. end;
  16551. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  16552. begin
  16553. if thebits = 0 then
  16554. pTDefRegMap(@Self)^.clr := $10000000
  16555. else
  16556. pTDefRegMap(@Self)^.&set := $10000000;
  16557. end;
  16558. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  16559. begin
  16560. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  16561. end;
  16562. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  16563. begin
  16564. pTDefRegMap(@Self)^.&set := $20000000;
  16565. end;
  16566. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  16567. begin
  16568. pTDefRegMap(@Self)^.clr := $20000000;
  16569. end;
  16570. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  16571. begin
  16572. if thebits = 0 then
  16573. pTDefRegMap(@Self)^.clr := $20000000
  16574. else
  16575. pTDefRegMap(@Self)^.&set := $20000000;
  16576. end;
  16577. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  16578. begin
  16579. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  16580. end;
  16581. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  16582. begin
  16583. pTDefRegMap(@Self)^.&set := $40000000;
  16584. end;
  16585. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  16586. begin
  16587. pTDefRegMap(@Self)^.clr := $40000000;
  16588. end;
  16589. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  16590. begin
  16591. if thebits = 0 then
  16592. pTDefRegMap(@Self)^.clr := $40000000
  16593. else
  16594. pTDefRegMap(@Self)^.&set := $40000000;
  16595. end;
  16596. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  16597. begin
  16598. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  16599. end;
  16600. procedure TSPI1_SPI1CON.setFRMEN; inline;
  16601. begin
  16602. pTDefRegMap(@Self)^.&set := $80000000;
  16603. end;
  16604. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  16605. begin
  16606. pTDefRegMap(@Self)^.clr := $80000000;
  16607. end;
  16608. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  16609. begin
  16610. if thebits = 0 then
  16611. pTDefRegMap(@Self)^.clr := $80000000
  16612. else
  16613. pTDefRegMap(@Self)^.&set := $80000000;
  16614. end;
  16615. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  16616. begin
  16617. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  16618. end;
  16619. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  16620. begin
  16621. pTDefRegMap(@Self)^.val := thebits;
  16622. end;
  16623. function TSPI1_SPI1CON.getw : TBits_32; inline;
  16624. begin
  16625. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16626. end;
  16627. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  16628. begin
  16629. pTDefRegMap(@Self)^.&set := $00000001;
  16630. end;
  16631. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  16632. begin
  16633. pTDefRegMap(@Self)^.clr := $00000001;
  16634. end;
  16635. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  16636. begin
  16637. if thebits = 0 then
  16638. pTDefRegMap(@Self)^.clr := $00000001
  16639. else
  16640. pTDefRegMap(@Self)^.&set := $00000001;
  16641. end;
  16642. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  16643. begin
  16644. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16645. end;
  16646. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  16647. begin
  16648. pTDefRegMap(@Self)^.&set := $00000002;
  16649. end;
  16650. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  16651. begin
  16652. pTDefRegMap(@Self)^.clr := $00000002;
  16653. end;
  16654. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  16655. begin
  16656. if thebits = 0 then
  16657. pTDefRegMap(@Self)^.clr := $00000002
  16658. else
  16659. pTDefRegMap(@Self)^.&set := $00000002;
  16660. end;
  16661. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  16662. begin
  16663. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16664. end;
  16665. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  16666. begin
  16667. pTDefRegMap(@Self)^.&set := $00000008;
  16668. end;
  16669. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  16670. begin
  16671. pTDefRegMap(@Self)^.clr := $00000008;
  16672. end;
  16673. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  16674. begin
  16675. if thebits = 0 then
  16676. pTDefRegMap(@Self)^.clr := $00000008
  16677. else
  16678. pTDefRegMap(@Self)^.&set := $00000008;
  16679. end;
  16680. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  16681. begin
  16682. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16683. end;
  16684. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  16685. begin
  16686. pTDefRegMap(@Self)^.&set := $00000020;
  16687. end;
  16688. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  16689. begin
  16690. pTDefRegMap(@Self)^.clr := $00000020;
  16691. end;
  16692. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  16693. begin
  16694. if thebits = 0 then
  16695. pTDefRegMap(@Self)^.clr := $00000020
  16696. else
  16697. pTDefRegMap(@Self)^.&set := $00000020;
  16698. end;
  16699. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  16700. begin
  16701. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16702. end;
  16703. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  16704. begin
  16705. pTDefRegMap(@Self)^.&set := $00000040;
  16706. end;
  16707. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  16708. begin
  16709. pTDefRegMap(@Self)^.clr := $00000040;
  16710. end;
  16711. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  16712. begin
  16713. if thebits = 0 then
  16714. pTDefRegMap(@Self)^.clr := $00000040
  16715. else
  16716. pTDefRegMap(@Self)^.&set := $00000040;
  16717. end;
  16718. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  16719. begin
  16720. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16721. end;
  16722. procedure TSPI1_SPI1STAT.setSRMT; inline;
  16723. begin
  16724. pTDefRegMap(@Self)^.&set := $00000080;
  16725. end;
  16726. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  16727. begin
  16728. pTDefRegMap(@Self)^.clr := $00000080;
  16729. end;
  16730. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  16731. begin
  16732. if thebits = 0 then
  16733. pTDefRegMap(@Self)^.clr := $00000080
  16734. else
  16735. pTDefRegMap(@Self)^.&set := $00000080;
  16736. end;
  16737. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  16738. begin
  16739. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16740. end;
  16741. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  16742. begin
  16743. pTDefRegMap(@Self)^.&set := $00000100;
  16744. end;
  16745. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  16746. begin
  16747. pTDefRegMap(@Self)^.clr := $00000100;
  16748. end;
  16749. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  16750. begin
  16751. if thebits = 0 then
  16752. pTDefRegMap(@Self)^.clr := $00000100
  16753. else
  16754. pTDefRegMap(@Self)^.&set := $00000100;
  16755. end;
  16756. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  16757. begin
  16758. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16759. end;
  16760. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  16761. begin
  16762. pTDefRegMap(@Self)^.&set := $00000800;
  16763. end;
  16764. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  16765. begin
  16766. pTDefRegMap(@Self)^.clr := $00000800;
  16767. end;
  16768. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  16769. begin
  16770. if thebits = 0 then
  16771. pTDefRegMap(@Self)^.clr := $00000800
  16772. else
  16773. pTDefRegMap(@Self)^.&set := $00000800;
  16774. end;
  16775. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  16776. begin
  16777. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16778. end;
  16779. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  16780. begin
  16781. pTDefRegMap(@Self)^.&set := $00001000;
  16782. end;
  16783. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  16784. begin
  16785. pTDefRegMap(@Self)^.clr := $00001000;
  16786. end;
  16787. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  16788. begin
  16789. if thebits = 0 then
  16790. pTDefRegMap(@Self)^.clr := $00001000
  16791. else
  16792. pTDefRegMap(@Self)^.&set := $00001000;
  16793. end;
  16794. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  16795. begin
  16796. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16797. end;
  16798. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  16799. begin
  16800. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  16801. end;
  16802. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  16803. begin
  16804. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  16805. end;
  16806. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  16807. begin
  16808. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  16809. end;
  16810. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  16811. begin
  16812. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  16813. end;
  16814. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  16815. begin
  16816. pTDefRegMap(@Self)^.val := thebits;
  16817. end;
  16818. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  16819. begin
  16820. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16821. end;
  16822. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  16823. begin
  16824. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16825. end;
  16826. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  16827. begin
  16828. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16829. end;
  16830. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  16831. begin
  16832. pTDefRegMap(@Self)^.&set := $00000008;
  16833. end;
  16834. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  16835. begin
  16836. pTDefRegMap(@Self)^.clr := $00000008;
  16837. end;
  16838. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  16839. begin
  16840. if thebits = 0 then
  16841. pTDefRegMap(@Self)^.clr := $00000008
  16842. else
  16843. pTDefRegMap(@Self)^.&set := $00000008;
  16844. end;
  16845. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  16846. begin
  16847. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16848. end;
  16849. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  16850. begin
  16851. pTDefRegMap(@Self)^.&set := $00000080;
  16852. end;
  16853. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  16854. begin
  16855. pTDefRegMap(@Self)^.clr := $00000080;
  16856. end;
  16857. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  16858. begin
  16859. if thebits = 0 then
  16860. pTDefRegMap(@Self)^.clr := $00000080
  16861. else
  16862. pTDefRegMap(@Self)^.&set := $00000080;
  16863. end;
  16864. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  16865. begin
  16866. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16867. end;
  16868. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  16869. begin
  16870. pTDefRegMap(@Self)^.&set := $00000100;
  16871. end;
  16872. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  16873. begin
  16874. pTDefRegMap(@Self)^.clr := $00000100;
  16875. end;
  16876. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  16877. begin
  16878. if thebits = 0 then
  16879. pTDefRegMap(@Self)^.clr := $00000100
  16880. else
  16881. pTDefRegMap(@Self)^.&set := $00000100;
  16882. end;
  16883. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  16884. begin
  16885. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16886. end;
  16887. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  16888. begin
  16889. pTDefRegMap(@Self)^.&set := $00000200;
  16890. end;
  16891. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  16892. begin
  16893. pTDefRegMap(@Self)^.clr := $00000200;
  16894. end;
  16895. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  16896. begin
  16897. if thebits = 0 then
  16898. pTDefRegMap(@Self)^.clr := $00000200
  16899. else
  16900. pTDefRegMap(@Self)^.&set := $00000200;
  16901. end;
  16902. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  16903. begin
  16904. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16905. end;
  16906. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  16907. begin
  16908. pTDefRegMap(@Self)^.&set := $00000400;
  16909. end;
  16910. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  16911. begin
  16912. pTDefRegMap(@Self)^.clr := $00000400;
  16913. end;
  16914. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  16915. begin
  16916. if thebits = 0 then
  16917. pTDefRegMap(@Self)^.clr := $00000400
  16918. else
  16919. pTDefRegMap(@Self)^.&set := $00000400;
  16920. end;
  16921. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  16922. begin
  16923. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16924. end;
  16925. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  16926. begin
  16927. pTDefRegMap(@Self)^.&set := $00000800;
  16928. end;
  16929. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  16930. begin
  16931. pTDefRegMap(@Self)^.clr := $00000800;
  16932. end;
  16933. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  16934. begin
  16935. if thebits = 0 then
  16936. pTDefRegMap(@Self)^.clr := $00000800
  16937. else
  16938. pTDefRegMap(@Self)^.&set := $00000800;
  16939. end;
  16940. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  16941. begin
  16942. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16943. end;
  16944. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  16945. begin
  16946. pTDefRegMap(@Self)^.&set := $00001000;
  16947. end;
  16948. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  16949. begin
  16950. pTDefRegMap(@Self)^.clr := $00001000;
  16951. end;
  16952. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  16953. begin
  16954. if thebits = 0 then
  16955. pTDefRegMap(@Self)^.clr := $00001000
  16956. else
  16957. pTDefRegMap(@Self)^.&set := $00001000;
  16958. end;
  16959. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  16960. begin
  16961. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16962. end;
  16963. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  16964. begin
  16965. pTDefRegMap(@Self)^.&set := $00008000;
  16966. end;
  16967. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  16968. begin
  16969. pTDefRegMap(@Self)^.clr := $00008000;
  16970. end;
  16971. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  16972. begin
  16973. if thebits = 0 then
  16974. pTDefRegMap(@Self)^.clr := $00008000
  16975. else
  16976. pTDefRegMap(@Self)^.&set := $00008000;
  16977. end;
  16978. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  16979. begin
  16980. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16981. end;
  16982. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  16983. begin
  16984. pTDefRegMap(@Self)^.&set := $00000001;
  16985. end;
  16986. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  16987. begin
  16988. pTDefRegMap(@Self)^.clr := $00000001;
  16989. end;
  16990. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  16991. begin
  16992. if thebits = 0 then
  16993. pTDefRegMap(@Self)^.clr := $00000001
  16994. else
  16995. pTDefRegMap(@Self)^.&set := $00000001;
  16996. end;
  16997. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  16998. begin
  16999. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17000. end;
  17001. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  17002. begin
  17003. pTDefRegMap(@Self)^.&set := $00000002;
  17004. end;
  17005. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  17006. begin
  17007. pTDefRegMap(@Self)^.clr := $00000002;
  17008. end;
  17009. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  17010. begin
  17011. if thebits = 0 then
  17012. pTDefRegMap(@Self)^.clr := $00000002
  17013. else
  17014. pTDefRegMap(@Self)^.&set := $00000002;
  17015. end;
  17016. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  17017. begin
  17018. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17019. end;
  17020. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  17021. begin
  17022. pTDefRegMap(@Self)^.val := thebits;
  17023. end;
  17024. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  17025. begin
  17026. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17027. end;
  17028. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  17029. begin
  17030. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17031. end;
  17032. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  17033. begin
  17034. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17035. end;
  17036. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  17037. begin
  17038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  17039. end;
  17040. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  17041. begin
  17042. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  17043. end;
  17044. procedure TSPI2_SPI2CON.setDISSDI; inline;
  17045. begin
  17046. pTDefRegMap(@Self)^.&set := $00000010;
  17047. end;
  17048. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  17049. begin
  17050. pTDefRegMap(@Self)^.clr := $00000010;
  17051. end;
  17052. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  17053. begin
  17054. if thebits = 0 then
  17055. pTDefRegMap(@Self)^.clr := $00000010
  17056. else
  17057. pTDefRegMap(@Self)^.&set := $00000010;
  17058. end;
  17059. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  17060. begin
  17061. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17062. end;
  17063. procedure TSPI2_SPI2CON.setMSTEN; inline;
  17064. begin
  17065. pTDefRegMap(@Self)^.&set := $00000020;
  17066. end;
  17067. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  17068. begin
  17069. pTDefRegMap(@Self)^.clr := $00000020;
  17070. end;
  17071. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  17072. begin
  17073. if thebits = 0 then
  17074. pTDefRegMap(@Self)^.clr := $00000020
  17075. else
  17076. pTDefRegMap(@Self)^.&set := $00000020;
  17077. end;
  17078. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  17079. begin
  17080. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17081. end;
  17082. procedure TSPI2_SPI2CON.setCKP; inline;
  17083. begin
  17084. pTDefRegMap(@Self)^.&set := $00000040;
  17085. end;
  17086. procedure TSPI2_SPI2CON.clearCKP; inline;
  17087. begin
  17088. pTDefRegMap(@Self)^.clr := $00000040;
  17089. end;
  17090. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  17091. begin
  17092. if thebits = 0 then
  17093. pTDefRegMap(@Self)^.clr := $00000040
  17094. else
  17095. pTDefRegMap(@Self)^.&set := $00000040;
  17096. end;
  17097. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  17098. begin
  17099. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17100. end;
  17101. procedure TSPI2_SPI2CON.setSSEN; inline;
  17102. begin
  17103. pTDefRegMap(@Self)^.&set := $00000080;
  17104. end;
  17105. procedure TSPI2_SPI2CON.clearSSEN; inline;
  17106. begin
  17107. pTDefRegMap(@Self)^.clr := $00000080;
  17108. end;
  17109. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  17110. begin
  17111. if thebits = 0 then
  17112. pTDefRegMap(@Self)^.clr := $00000080
  17113. else
  17114. pTDefRegMap(@Self)^.&set := $00000080;
  17115. end;
  17116. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  17117. begin
  17118. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17119. end;
  17120. procedure TSPI2_SPI2CON.setCKE; inline;
  17121. begin
  17122. pTDefRegMap(@Self)^.&set := $00000100;
  17123. end;
  17124. procedure TSPI2_SPI2CON.clearCKE; inline;
  17125. begin
  17126. pTDefRegMap(@Self)^.clr := $00000100;
  17127. end;
  17128. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  17129. begin
  17130. if thebits = 0 then
  17131. pTDefRegMap(@Self)^.clr := $00000100
  17132. else
  17133. pTDefRegMap(@Self)^.&set := $00000100;
  17134. end;
  17135. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  17136. begin
  17137. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17138. end;
  17139. procedure TSPI2_SPI2CON.setSMP; inline;
  17140. begin
  17141. pTDefRegMap(@Self)^.&set := $00000200;
  17142. end;
  17143. procedure TSPI2_SPI2CON.clearSMP; inline;
  17144. begin
  17145. pTDefRegMap(@Self)^.clr := $00000200;
  17146. end;
  17147. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  17148. begin
  17149. if thebits = 0 then
  17150. pTDefRegMap(@Self)^.clr := $00000200
  17151. else
  17152. pTDefRegMap(@Self)^.&set := $00000200;
  17153. end;
  17154. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  17155. begin
  17156. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17157. end;
  17158. procedure TSPI2_SPI2CON.setMODE16; inline;
  17159. begin
  17160. pTDefRegMap(@Self)^.&set := $00000400;
  17161. end;
  17162. procedure TSPI2_SPI2CON.clearMODE16; inline;
  17163. begin
  17164. pTDefRegMap(@Self)^.clr := $00000400;
  17165. end;
  17166. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  17167. begin
  17168. if thebits = 0 then
  17169. pTDefRegMap(@Self)^.clr := $00000400
  17170. else
  17171. pTDefRegMap(@Self)^.&set := $00000400;
  17172. end;
  17173. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  17174. begin
  17175. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17176. end;
  17177. procedure TSPI2_SPI2CON.setMODE32; inline;
  17178. begin
  17179. pTDefRegMap(@Self)^.&set := $00000800;
  17180. end;
  17181. procedure TSPI2_SPI2CON.clearMODE32; inline;
  17182. begin
  17183. pTDefRegMap(@Self)^.clr := $00000800;
  17184. end;
  17185. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  17186. begin
  17187. if thebits = 0 then
  17188. pTDefRegMap(@Self)^.clr := $00000800
  17189. else
  17190. pTDefRegMap(@Self)^.&set := $00000800;
  17191. end;
  17192. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  17193. begin
  17194. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17195. end;
  17196. procedure TSPI2_SPI2CON.setDISSDO; inline;
  17197. begin
  17198. pTDefRegMap(@Self)^.&set := $00001000;
  17199. end;
  17200. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  17201. begin
  17202. pTDefRegMap(@Self)^.clr := $00001000;
  17203. end;
  17204. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  17205. begin
  17206. if thebits = 0 then
  17207. pTDefRegMap(@Self)^.clr := $00001000
  17208. else
  17209. pTDefRegMap(@Self)^.&set := $00001000;
  17210. end;
  17211. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  17212. begin
  17213. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17214. end;
  17215. procedure TSPI2_SPI2CON.setSIDL; inline;
  17216. begin
  17217. pTDefRegMap(@Self)^.&set := $00002000;
  17218. end;
  17219. procedure TSPI2_SPI2CON.clearSIDL; inline;
  17220. begin
  17221. pTDefRegMap(@Self)^.clr := $00002000;
  17222. end;
  17223. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  17224. begin
  17225. if thebits = 0 then
  17226. pTDefRegMap(@Self)^.clr := $00002000
  17227. else
  17228. pTDefRegMap(@Self)^.&set := $00002000;
  17229. end;
  17230. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  17231. begin
  17232. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17233. end;
  17234. procedure TSPI2_SPI2CON.setON; inline;
  17235. begin
  17236. pTDefRegMap(@Self)^.&set := $00008000;
  17237. end;
  17238. procedure TSPI2_SPI2CON.clearON; inline;
  17239. begin
  17240. pTDefRegMap(@Self)^.clr := $00008000;
  17241. end;
  17242. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  17243. begin
  17244. if thebits = 0 then
  17245. pTDefRegMap(@Self)^.clr := $00008000
  17246. else
  17247. pTDefRegMap(@Self)^.&set := $00008000;
  17248. end;
  17249. function TSPI2_SPI2CON.getON : TBits_1; inline;
  17250. begin
  17251. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17252. end;
  17253. procedure TSPI2_SPI2CON.setENHBUF; inline;
  17254. begin
  17255. pTDefRegMap(@Self)^.&set := $00010000;
  17256. end;
  17257. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  17258. begin
  17259. pTDefRegMap(@Self)^.clr := $00010000;
  17260. end;
  17261. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  17262. begin
  17263. if thebits = 0 then
  17264. pTDefRegMap(@Self)^.clr := $00010000
  17265. else
  17266. pTDefRegMap(@Self)^.&set := $00010000;
  17267. end;
  17268. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  17269. begin
  17270. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17271. end;
  17272. procedure TSPI2_SPI2CON.setSPIFE; inline;
  17273. begin
  17274. pTDefRegMap(@Self)^.&set := $00020000;
  17275. end;
  17276. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  17277. begin
  17278. pTDefRegMap(@Self)^.clr := $00020000;
  17279. end;
  17280. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  17281. begin
  17282. if thebits = 0 then
  17283. pTDefRegMap(@Self)^.clr := $00020000
  17284. else
  17285. pTDefRegMap(@Self)^.&set := $00020000;
  17286. end;
  17287. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  17288. begin
  17289. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17290. end;
  17291. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  17292. begin
  17293. pTDefRegMap(@Self)^.&set := $00800000;
  17294. end;
  17295. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  17296. begin
  17297. pTDefRegMap(@Self)^.clr := $00800000;
  17298. end;
  17299. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  17300. begin
  17301. if thebits = 0 then
  17302. pTDefRegMap(@Self)^.clr := $00800000
  17303. else
  17304. pTDefRegMap(@Self)^.&set := $00800000;
  17305. end;
  17306. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  17307. begin
  17308. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  17309. end;
  17310. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  17311. begin
  17312. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  17313. end;
  17314. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  17315. begin
  17316. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  17317. end;
  17318. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  17319. begin
  17320. pTDefRegMap(@Self)^.&set := $08000000;
  17321. end;
  17322. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  17323. begin
  17324. pTDefRegMap(@Self)^.clr := $08000000;
  17325. end;
  17326. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  17327. begin
  17328. if thebits = 0 then
  17329. pTDefRegMap(@Self)^.clr := $08000000
  17330. else
  17331. pTDefRegMap(@Self)^.&set := $08000000;
  17332. end;
  17333. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  17334. begin
  17335. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17336. end;
  17337. procedure TSPI2_SPI2CON.setMSSEN; inline;
  17338. begin
  17339. pTDefRegMap(@Self)^.&set := $10000000;
  17340. end;
  17341. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  17342. begin
  17343. pTDefRegMap(@Self)^.clr := $10000000;
  17344. end;
  17345. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  17346. begin
  17347. if thebits = 0 then
  17348. pTDefRegMap(@Self)^.clr := $10000000
  17349. else
  17350. pTDefRegMap(@Self)^.&set := $10000000;
  17351. end;
  17352. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  17353. begin
  17354. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  17355. end;
  17356. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  17357. begin
  17358. pTDefRegMap(@Self)^.&set := $20000000;
  17359. end;
  17360. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  17361. begin
  17362. pTDefRegMap(@Self)^.clr := $20000000;
  17363. end;
  17364. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  17365. begin
  17366. if thebits = 0 then
  17367. pTDefRegMap(@Self)^.clr := $20000000
  17368. else
  17369. pTDefRegMap(@Self)^.&set := $20000000;
  17370. end;
  17371. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  17372. begin
  17373. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  17374. end;
  17375. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  17376. begin
  17377. pTDefRegMap(@Self)^.&set := $40000000;
  17378. end;
  17379. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  17380. begin
  17381. pTDefRegMap(@Self)^.clr := $40000000;
  17382. end;
  17383. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  17384. begin
  17385. if thebits = 0 then
  17386. pTDefRegMap(@Self)^.clr := $40000000
  17387. else
  17388. pTDefRegMap(@Self)^.&set := $40000000;
  17389. end;
  17390. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  17391. begin
  17392. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  17393. end;
  17394. procedure TSPI2_SPI2CON.setFRMEN; inline;
  17395. begin
  17396. pTDefRegMap(@Self)^.&set := $80000000;
  17397. end;
  17398. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  17399. begin
  17400. pTDefRegMap(@Self)^.clr := $80000000;
  17401. end;
  17402. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  17403. begin
  17404. if thebits = 0 then
  17405. pTDefRegMap(@Self)^.clr := $80000000
  17406. else
  17407. pTDefRegMap(@Self)^.&set := $80000000;
  17408. end;
  17409. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  17410. begin
  17411. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  17412. end;
  17413. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  17414. begin
  17415. pTDefRegMap(@Self)^.val := thebits;
  17416. end;
  17417. function TSPI2_SPI2CON.getw : TBits_32; inline;
  17418. begin
  17419. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17420. end;
  17421. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  17422. begin
  17423. pTDefRegMap(@Self)^.&set := $00000001;
  17424. end;
  17425. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  17426. begin
  17427. pTDefRegMap(@Self)^.clr := $00000001;
  17428. end;
  17429. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  17430. begin
  17431. if thebits = 0 then
  17432. pTDefRegMap(@Self)^.clr := $00000001
  17433. else
  17434. pTDefRegMap(@Self)^.&set := $00000001;
  17435. end;
  17436. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  17437. begin
  17438. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17439. end;
  17440. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  17441. begin
  17442. pTDefRegMap(@Self)^.&set := $00000002;
  17443. end;
  17444. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  17445. begin
  17446. pTDefRegMap(@Self)^.clr := $00000002;
  17447. end;
  17448. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  17449. begin
  17450. if thebits = 0 then
  17451. pTDefRegMap(@Self)^.clr := $00000002
  17452. else
  17453. pTDefRegMap(@Self)^.&set := $00000002;
  17454. end;
  17455. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  17456. begin
  17457. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17458. end;
  17459. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  17460. begin
  17461. pTDefRegMap(@Self)^.&set := $00000008;
  17462. end;
  17463. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  17464. begin
  17465. pTDefRegMap(@Self)^.clr := $00000008;
  17466. end;
  17467. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  17468. begin
  17469. if thebits = 0 then
  17470. pTDefRegMap(@Self)^.clr := $00000008
  17471. else
  17472. pTDefRegMap(@Self)^.&set := $00000008;
  17473. end;
  17474. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  17475. begin
  17476. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17477. end;
  17478. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  17479. begin
  17480. pTDefRegMap(@Self)^.&set := $00000020;
  17481. end;
  17482. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  17483. begin
  17484. pTDefRegMap(@Self)^.clr := $00000020;
  17485. end;
  17486. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  17487. begin
  17488. if thebits = 0 then
  17489. pTDefRegMap(@Self)^.clr := $00000020
  17490. else
  17491. pTDefRegMap(@Self)^.&set := $00000020;
  17492. end;
  17493. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  17494. begin
  17495. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17496. end;
  17497. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  17498. begin
  17499. pTDefRegMap(@Self)^.&set := $00000040;
  17500. end;
  17501. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  17502. begin
  17503. pTDefRegMap(@Self)^.clr := $00000040;
  17504. end;
  17505. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  17506. begin
  17507. if thebits = 0 then
  17508. pTDefRegMap(@Self)^.clr := $00000040
  17509. else
  17510. pTDefRegMap(@Self)^.&set := $00000040;
  17511. end;
  17512. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  17513. begin
  17514. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17515. end;
  17516. procedure TSPI2_SPI2STAT.setSRMT; inline;
  17517. begin
  17518. pTDefRegMap(@Self)^.&set := $00000080;
  17519. end;
  17520. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  17521. begin
  17522. pTDefRegMap(@Self)^.clr := $00000080;
  17523. end;
  17524. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  17525. begin
  17526. if thebits = 0 then
  17527. pTDefRegMap(@Self)^.clr := $00000080
  17528. else
  17529. pTDefRegMap(@Self)^.&set := $00000080;
  17530. end;
  17531. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  17532. begin
  17533. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17534. end;
  17535. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  17536. begin
  17537. pTDefRegMap(@Self)^.&set := $00000100;
  17538. end;
  17539. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  17540. begin
  17541. pTDefRegMap(@Self)^.clr := $00000100;
  17542. end;
  17543. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  17544. begin
  17545. if thebits = 0 then
  17546. pTDefRegMap(@Self)^.clr := $00000100
  17547. else
  17548. pTDefRegMap(@Self)^.&set := $00000100;
  17549. end;
  17550. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  17551. begin
  17552. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17553. end;
  17554. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  17555. begin
  17556. pTDefRegMap(@Self)^.&set := $00000800;
  17557. end;
  17558. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  17559. begin
  17560. pTDefRegMap(@Self)^.clr := $00000800;
  17561. end;
  17562. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  17563. begin
  17564. if thebits = 0 then
  17565. pTDefRegMap(@Self)^.clr := $00000800
  17566. else
  17567. pTDefRegMap(@Self)^.&set := $00000800;
  17568. end;
  17569. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  17570. begin
  17571. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17572. end;
  17573. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  17574. begin
  17575. pTDefRegMap(@Self)^.&set := $00001000;
  17576. end;
  17577. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  17578. begin
  17579. pTDefRegMap(@Self)^.clr := $00001000;
  17580. end;
  17581. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  17582. begin
  17583. if thebits = 0 then
  17584. pTDefRegMap(@Self)^.clr := $00001000
  17585. else
  17586. pTDefRegMap(@Self)^.&set := $00001000;
  17587. end;
  17588. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  17589. begin
  17590. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17591. end;
  17592. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  17593. begin
  17594. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  17595. end;
  17596. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  17597. begin
  17598. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  17599. end;
  17600. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  17601. begin
  17602. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  17603. end;
  17604. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  17605. begin
  17606. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  17607. end;
  17608. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  17609. begin
  17610. pTDefRegMap(@Self)^.val := thebits;
  17611. end;
  17612. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  17613. begin
  17614. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17615. end;
  17616. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  17617. begin
  17618. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17619. end;
  17620. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  17621. begin
  17622. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17623. end;
  17624. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  17625. begin
  17626. pTDefRegMap(@Self)^.&set := $00000008;
  17627. end;
  17628. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  17629. begin
  17630. pTDefRegMap(@Self)^.clr := $00000008;
  17631. end;
  17632. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  17633. begin
  17634. if thebits = 0 then
  17635. pTDefRegMap(@Self)^.clr := $00000008
  17636. else
  17637. pTDefRegMap(@Self)^.&set := $00000008;
  17638. end;
  17639. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  17640. begin
  17641. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17642. end;
  17643. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  17644. begin
  17645. pTDefRegMap(@Self)^.&set := $00000080;
  17646. end;
  17647. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  17648. begin
  17649. pTDefRegMap(@Self)^.clr := $00000080;
  17650. end;
  17651. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  17652. begin
  17653. if thebits = 0 then
  17654. pTDefRegMap(@Self)^.clr := $00000080
  17655. else
  17656. pTDefRegMap(@Self)^.&set := $00000080;
  17657. end;
  17658. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  17659. begin
  17660. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17661. end;
  17662. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  17663. begin
  17664. pTDefRegMap(@Self)^.&set := $00000100;
  17665. end;
  17666. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  17667. begin
  17668. pTDefRegMap(@Self)^.clr := $00000100;
  17669. end;
  17670. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  17671. begin
  17672. if thebits = 0 then
  17673. pTDefRegMap(@Self)^.clr := $00000100
  17674. else
  17675. pTDefRegMap(@Self)^.&set := $00000100;
  17676. end;
  17677. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  17678. begin
  17679. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17680. end;
  17681. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  17682. begin
  17683. pTDefRegMap(@Self)^.&set := $00000200;
  17684. end;
  17685. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  17686. begin
  17687. pTDefRegMap(@Self)^.clr := $00000200;
  17688. end;
  17689. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  17690. begin
  17691. if thebits = 0 then
  17692. pTDefRegMap(@Self)^.clr := $00000200
  17693. else
  17694. pTDefRegMap(@Self)^.&set := $00000200;
  17695. end;
  17696. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  17697. begin
  17698. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17699. end;
  17700. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  17701. begin
  17702. pTDefRegMap(@Self)^.&set := $00000400;
  17703. end;
  17704. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  17705. begin
  17706. pTDefRegMap(@Self)^.clr := $00000400;
  17707. end;
  17708. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  17709. begin
  17710. if thebits = 0 then
  17711. pTDefRegMap(@Self)^.clr := $00000400
  17712. else
  17713. pTDefRegMap(@Self)^.&set := $00000400;
  17714. end;
  17715. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  17716. begin
  17717. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17718. end;
  17719. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  17720. begin
  17721. pTDefRegMap(@Self)^.&set := $00000800;
  17722. end;
  17723. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  17724. begin
  17725. pTDefRegMap(@Self)^.clr := $00000800;
  17726. end;
  17727. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  17728. begin
  17729. if thebits = 0 then
  17730. pTDefRegMap(@Self)^.clr := $00000800
  17731. else
  17732. pTDefRegMap(@Self)^.&set := $00000800;
  17733. end;
  17734. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  17735. begin
  17736. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17737. end;
  17738. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  17739. begin
  17740. pTDefRegMap(@Self)^.&set := $00001000;
  17741. end;
  17742. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  17743. begin
  17744. pTDefRegMap(@Self)^.clr := $00001000;
  17745. end;
  17746. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  17747. begin
  17748. if thebits = 0 then
  17749. pTDefRegMap(@Self)^.clr := $00001000
  17750. else
  17751. pTDefRegMap(@Self)^.&set := $00001000;
  17752. end;
  17753. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  17754. begin
  17755. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17756. end;
  17757. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  17758. begin
  17759. pTDefRegMap(@Self)^.&set := $00008000;
  17760. end;
  17761. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  17762. begin
  17763. pTDefRegMap(@Self)^.clr := $00008000;
  17764. end;
  17765. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  17766. begin
  17767. if thebits = 0 then
  17768. pTDefRegMap(@Self)^.clr := $00008000
  17769. else
  17770. pTDefRegMap(@Self)^.&set := $00008000;
  17771. end;
  17772. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  17773. begin
  17774. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17775. end;
  17776. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  17777. begin
  17778. pTDefRegMap(@Self)^.&set := $00000001;
  17779. end;
  17780. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  17781. begin
  17782. pTDefRegMap(@Self)^.clr := $00000001;
  17783. end;
  17784. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  17785. begin
  17786. if thebits = 0 then
  17787. pTDefRegMap(@Self)^.clr := $00000001
  17788. else
  17789. pTDefRegMap(@Self)^.&set := $00000001;
  17790. end;
  17791. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  17792. begin
  17793. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17794. end;
  17795. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  17796. begin
  17797. pTDefRegMap(@Self)^.&set := $00000002;
  17798. end;
  17799. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  17800. begin
  17801. pTDefRegMap(@Self)^.clr := $00000002;
  17802. end;
  17803. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  17804. begin
  17805. if thebits = 0 then
  17806. pTDefRegMap(@Self)^.clr := $00000002
  17807. else
  17808. pTDefRegMap(@Self)^.&set := $00000002;
  17809. end;
  17810. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  17811. begin
  17812. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17813. end;
  17814. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  17815. begin
  17816. pTDefRegMap(@Self)^.val := thebits;
  17817. end;
  17818. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  17819. begin
  17820. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17821. end;
  17822. procedure TUART1_U1AMODE.setSTSEL; inline;
  17823. begin
  17824. pTDefRegMap(@Self)^.&set := $00000001;
  17825. end;
  17826. procedure TUART1_U1AMODE.clearSTSEL; inline;
  17827. begin
  17828. pTDefRegMap(@Self)^.clr := $00000001;
  17829. end;
  17830. procedure TUART1_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  17831. begin
  17832. if thebits = 0 then
  17833. pTDefRegMap(@Self)^.clr := $00000001
  17834. else
  17835. pTDefRegMap(@Self)^.&set := $00000001;
  17836. end;
  17837. function TUART1_U1AMODE.getSTSEL : TBits_1; inline;
  17838. begin
  17839. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17840. end;
  17841. procedure TUART1_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  17842. begin
  17843. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  17844. end;
  17845. function TUART1_U1AMODE.getPDSEL : TBits_2; inline;
  17846. begin
  17847. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  17848. end;
  17849. procedure TUART1_U1AMODE.setBRGH; inline;
  17850. begin
  17851. pTDefRegMap(@Self)^.&set := $00000008;
  17852. end;
  17853. procedure TUART1_U1AMODE.clearBRGH; inline;
  17854. begin
  17855. pTDefRegMap(@Self)^.clr := $00000008;
  17856. end;
  17857. procedure TUART1_U1AMODE.setBRGH(thebits : TBits_1); inline;
  17858. begin
  17859. if thebits = 0 then
  17860. pTDefRegMap(@Self)^.clr := $00000008
  17861. else
  17862. pTDefRegMap(@Self)^.&set := $00000008;
  17863. end;
  17864. function TUART1_U1AMODE.getBRGH : TBits_1; inline;
  17865. begin
  17866. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17867. end;
  17868. procedure TUART1_U1AMODE.setRXINV; inline;
  17869. begin
  17870. pTDefRegMap(@Self)^.&set := $00000010;
  17871. end;
  17872. procedure TUART1_U1AMODE.clearRXINV; inline;
  17873. begin
  17874. pTDefRegMap(@Self)^.clr := $00000010;
  17875. end;
  17876. procedure TUART1_U1AMODE.setRXINV(thebits : TBits_1); inline;
  17877. begin
  17878. if thebits = 0 then
  17879. pTDefRegMap(@Self)^.clr := $00000010
  17880. else
  17881. pTDefRegMap(@Self)^.&set := $00000010;
  17882. end;
  17883. function TUART1_U1AMODE.getRXINV : TBits_1; inline;
  17884. begin
  17885. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17886. end;
  17887. procedure TUART1_U1AMODE.setABAUD; inline;
  17888. begin
  17889. pTDefRegMap(@Self)^.&set := $00000020;
  17890. end;
  17891. procedure TUART1_U1AMODE.clearABAUD; inline;
  17892. begin
  17893. pTDefRegMap(@Self)^.clr := $00000020;
  17894. end;
  17895. procedure TUART1_U1AMODE.setABAUD(thebits : TBits_1); inline;
  17896. begin
  17897. if thebits = 0 then
  17898. pTDefRegMap(@Self)^.clr := $00000020
  17899. else
  17900. pTDefRegMap(@Self)^.&set := $00000020;
  17901. end;
  17902. function TUART1_U1AMODE.getABAUD : TBits_1; inline;
  17903. begin
  17904. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17905. end;
  17906. procedure TUART1_U1AMODE.setLPBACK; inline;
  17907. begin
  17908. pTDefRegMap(@Self)^.&set := $00000040;
  17909. end;
  17910. procedure TUART1_U1AMODE.clearLPBACK; inline;
  17911. begin
  17912. pTDefRegMap(@Self)^.clr := $00000040;
  17913. end;
  17914. procedure TUART1_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  17915. begin
  17916. if thebits = 0 then
  17917. pTDefRegMap(@Self)^.clr := $00000040
  17918. else
  17919. pTDefRegMap(@Self)^.&set := $00000040;
  17920. end;
  17921. function TUART1_U1AMODE.getLPBACK : TBits_1; inline;
  17922. begin
  17923. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17924. end;
  17925. procedure TUART1_U1AMODE.setWAKE; inline;
  17926. begin
  17927. pTDefRegMap(@Self)^.&set := $00000080;
  17928. end;
  17929. procedure TUART1_U1AMODE.clearWAKE; inline;
  17930. begin
  17931. pTDefRegMap(@Self)^.clr := $00000080;
  17932. end;
  17933. procedure TUART1_U1AMODE.setWAKE(thebits : TBits_1); inline;
  17934. begin
  17935. if thebits = 0 then
  17936. pTDefRegMap(@Self)^.clr := $00000080
  17937. else
  17938. pTDefRegMap(@Self)^.&set := $00000080;
  17939. end;
  17940. function TUART1_U1AMODE.getWAKE : TBits_1; inline;
  17941. begin
  17942. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17943. end;
  17944. procedure TUART1_U1AMODE.setUEN(thebits : TBits_2); inline;
  17945. begin
  17946. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  17947. end;
  17948. function TUART1_U1AMODE.getUEN : TBits_2; inline;
  17949. begin
  17950. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  17951. end;
  17952. procedure TUART1_U1AMODE.setRTSMD; inline;
  17953. begin
  17954. pTDefRegMap(@Self)^.&set := $00000800;
  17955. end;
  17956. procedure TUART1_U1AMODE.clearRTSMD; inline;
  17957. begin
  17958. pTDefRegMap(@Self)^.clr := $00000800;
  17959. end;
  17960. procedure TUART1_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  17961. begin
  17962. if thebits = 0 then
  17963. pTDefRegMap(@Self)^.clr := $00000800
  17964. else
  17965. pTDefRegMap(@Self)^.&set := $00000800;
  17966. end;
  17967. function TUART1_U1AMODE.getRTSMD : TBits_1; inline;
  17968. begin
  17969. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17970. end;
  17971. procedure TUART1_U1AMODE.setIREN; inline;
  17972. begin
  17973. pTDefRegMap(@Self)^.&set := $00001000;
  17974. end;
  17975. procedure TUART1_U1AMODE.clearIREN; inline;
  17976. begin
  17977. pTDefRegMap(@Self)^.clr := $00001000;
  17978. end;
  17979. procedure TUART1_U1AMODE.setIREN(thebits : TBits_1); inline;
  17980. begin
  17981. if thebits = 0 then
  17982. pTDefRegMap(@Self)^.clr := $00001000
  17983. else
  17984. pTDefRegMap(@Self)^.&set := $00001000;
  17985. end;
  17986. function TUART1_U1AMODE.getIREN : TBits_1; inline;
  17987. begin
  17988. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17989. end;
  17990. procedure TUART1_U1AMODE.setSIDL; inline;
  17991. begin
  17992. pTDefRegMap(@Self)^.&set := $00002000;
  17993. end;
  17994. procedure TUART1_U1AMODE.clearSIDL; inline;
  17995. begin
  17996. pTDefRegMap(@Self)^.clr := $00002000;
  17997. end;
  17998. procedure TUART1_U1AMODE.setSIDL(thebits : TBits_1); inline;
  17999. begin
  18000. if thebits = 0 then
  18001. pTDefRegMap(@Self)^.clr := $00002000
  18002. else
  18003. pTDefRegMap(@Self)^.&set := $00002000;
  18004. end;
  18005. function TUART1_U1AMODE.getSIDL : TBits_1; inline;
  18006. begin
  18007. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18008. end;
  18009. procedure TUART1_U1AMODE.setON; inline;
  18010. begin
  18011. pTDefRegMap(@Self)^.&set := $00008000;
  18012. end;
  18013. procedure TUART1_U1AMODE.clearON; inline;
  18014. begin
  18015. pTDefRegMap(@Self)^.clr := $00008000;
  18016. end;
  18017. procedure TUART1_U1AMODE.setON(thebits : TBits_1); inline;
  18018. begin
  18019. if thebits = 0 then
  18020. pTDefRegMap(@Self)^.clr := $00008000
  18021. else
  18022. pTDefRegMap(@Self)^.&set := $00008000;
  18023. end;
  18024. function TUART1_U1AMODE.getON : TBits_1; inline;
  18025. begin
  18026. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18027. end;
  18028. procedure TUART1_U1AMODE.setPDSEL0; inline;
  18029. begin
  18030. pTDefRegMap(@Self)^.&set := $00000002;
  18031. end;
  18032. procedure TUART1_U1AMODE.clearPDSEL0; inline;
  18033. begin
  18034. pTDefRegMap(@Self)^.clr := $00000002;
  18035. end;
  18036. procedure TUART1_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  18037. begin
  18038. if thebits = 0 then
  18039. pTDefRegMap(@Self)^.clr := $00000002
  18040. else
  18041. pTDefRegMap(@Self)^.&set := $00000002;
  18042. end;
  18043. function TUART1_U1AMODE.getPDSEL0 : TBits_1; inline;
  18044. begin
  18045. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18046. end;
  18047. procedure TUART1_U1AMODE.setPDSEL1; inline;
  18048. begin
  18049. pTDefRegMap(@Self)^.&set := $00000004;
  18050. end;
  18051. procedure TUART1_U1AMODE.clearPDSEL1; inline;
  18052. begin
  18053. pTDefRegMap(@Self)^.clr := $00000004;
  18054. end;
  18055. procedure TUART1_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  18056. begin
  18057. if thebits = 0 then
  18058. pTDefRegMap(@Self)^.clr := $00000004
  18059. else
  18060. pTDefRegMap(@Self)^.&set := $00000004;
  18061. end;
  18062. function TUART1_U1AMODE.getPDSEL1 : TBits_1; inline;
  18063. begin
  18064. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18065. end;
  18066. procedure TUART1_U1AMODE.setUEN0; inline;
  18067. begin
  18068. pTDefRegMap(@Self)^.&set := $00000100;
  18069. end;
  18070. procedure TUART1_U1AMODE.clearUEN0; inline;
  18071. begin
  18072. pTDefRegMap(@Self)^.clr := $00000100;
  18073. end;
  18074. procedure TUART1_U1AMODE.setUEN0(thebits : TBits_1); inline;
  18075. begin
  18076. if thebits = 0 then
  18077. pTDefRegMap(@Self)^.clr := $00000100
  18078. else
  18079. pTDefRegMap(@Self)^.&set := $00000100;
  18080. end;
  18081. function TUART1_U1AMODE.getUEN0 : TBits_1; inline;
  18082. begin
  18083. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18084. end;
  18085. procedure TUART1_U1AMODE.setUEN1; inline;
  18086. begin
  18087. pTDefRegMap(@Self)^.&set := $00000200;
  18088. end;
  18089. procedure TUART1_U1AMODE.clearUEN1; inline;
  18090. begin
  18091. pTDefRegMap(@Self)^.clr := $00000200;
  18092. end;
  18093. procedure TUART1_U1AMODE.setUEN1(thebits : TBits_1); inline;
  18094. begin
  18095. if thebits = 0 then
  18096. pTDefRegMap(@Self)^.clr := $00000200
  18097. else
  18098. pTDefRegMap(@Self)^.&set := $00000200;
  18099. end;
  18100. function TUART1_U1AMODE.getUEN1 : TBits_1; inline;
  18101. begin
  18102. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18103. end;
  18104. procedure TUART1_U1AMODE.setUSIDL; inline;
  18105. begin
  18106. pTDefRegMap(@Self)^.&set := $00002000;
  18107. end;
  18108. procedure TUART1_U1AMODE.clearUSIDL; inline;
  18109. begin
  18110. pTDefRegMap(@Self)^.clr := $00002000;
  18111. end;
  18112. procedure TUART1_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  18113. begin
  18114. if thebits = 0 then
  18115. pTDefRegMap(@Self)^.clr := $00002000
  18116. else
  18117. pTDefRegMap(@Self)^.&set := $00002000;
  18118. end;
  18119. function TUART1_U1AMODE.getUSIDL : TBits_1; inline;
  18120. begin
  18121. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18122. end;
  18123. procedure TUART1_U1AMODE.setUARTEN; inline;
  18124. begin
  18125. pTDefRegMap(@Self)^.&set := $00008000;
  18126. end;
  18127. procedure TUART1_U1AMODE.clearUARTEN; inline;
  18128. begin
  18129. pTDefRegMap(@Self)^.clr := $00008000;
  18130. end;
  18131. procedure TUART1_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  18132. begin
  18133. if thebits = 0 then
  18134. pTDefRegMap(@Self)^.clr := $00008000
  18135. else
  18136. pTDefRegMap(@Self)^.&set := $00008000;
  18137. end;
  18138. function TUART1_U1AMODE.getUARTEN : TBits_1; inline;
  18139. begin
  18140. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18141. end;
  18142. procedure TUART1_U1AMODE.setw(thebits : TBits_32); inline;
  18143. begin
  18144. pTDefRegMap(@Self)^.val := thebits;
  18145. end;
  18146. function TUART1_U1AMODE.getw : TBits_32; inline;
  18147. begin
  18148. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18149. end;
  18150. procedure TUART1_U1MODE.setSTSEL; inline;
  18151. begin
  18152. pTDefRegMap(@Self)^.&set := $00000001;
  18153. end;
  18154. procedure TUART1_U1MODE.clearSTSEL; inline;
  18155. begin
  18156. pTDefRegMap(@Self)^.clr := $00000001;
  18157. end;
  18158. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  18159. begin
  18160. if thebits = 0 then
  18161. pTDefRegMap(@Self)^.clr := $00000001
  18162. else
  18163. pTDefRegMap(@Self)^.&set := $00000001;
  18164. end;
  18165. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  18166. begin
  18167. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18168. end;
  18169. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  18170. begin
  18171. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18172. end;
  18173. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  18174. begin
  18175. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18176. end;
  18177. procedure TUART1_U1MODE.setBRGH; inline;
  18178. begin
  18179. pTDefRegMap(@Self)^.&set := $00000008;
  18180. end;
  18181. procedure TUART1_U1MODE.clearBRGH; inline;
  18182. begin
  18183. pTDefRegMap(@Self)^.clr := $00000008;
  18184. end;
  18185. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  18186. begin
  18187. if thebits = 0 then
  18188. pTDefRegMap(@Self)^.clr := $00000008
  18189. else
  18190. pTDefRegMap(@Self)^.&set := $00000008;
  18191. end;
  18192. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  18193. begin
  18194. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18195. end;
  18196. procedure TUART1_U1MODE.setRXINV; inline;
  18197. begin
  18198. pTDefRegMap(@Self)^.&set := $00000010;
  18199. end;
  18200. procedure TUART1_U1MODE.clearRXINV; inline;
  18201. begin
  18202. pTDefRegMap(@Self)^.clr := $00000010;
  18203. end;
  18204. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  18205. begin
  18206. if thebits = 0 then
  18207. pTDefRegMap(@Self)^.clr := $00000010
  18208. else
  18209. pTDefRegMap(@Self)^.&set := $00000010;
  18210. end;
  18211. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  18212. begin
  18213. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18214. end;
  18215. procedure TUART1_U1MODE.setABAUD; inline;
  18216. begin
  18217. pTDefRegMap(@Self)^.&set := $00000020;
  18218. end;
  18219. procedure TUART1_U1MODE.clearABAUD; inline;
  18220. begin
  18221. pTDefRegMap(@Self)^.clr := $00000020;
  18222. end;
  18223. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  18224. begin
  18225. if thebits = 0 then
  18226. pTDefRegMap(@Self)^.clr := $00000020
  18227. else
  18228. pTDefRegMap(@Self)^.&set := $00000020;
  18229. end;
  18230. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  18231. begin
  18232. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18233. end;
  18234. procedure TUART1_U1MODE.setLPBACK; inline;
  18235. begin
  18236. pTDefRegMap(@Self)^.&set := $00000040;
  18237. end;
  18238. procedure TUART1_U1MODE.clearLPBACK; inline;
  18239. begin
  18240. pTDefRegMap(@Self)^.clr := $00000040;
  18241. end;
  18242. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  18243. begin
  18244. if thebits = 0 then
  18245. pTDefRegMap(@Self)^.clr := $00000040
  18246. else
  18247. pTDefRegMap(@Self)^.&set := $00000040;
  18248. end;
  18249. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  18250. begin
  18251. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18252. end;
  18253. procedure TUART1_U1MODE.setWAKE; inline;
  18254. begin
  18255. pTDefRegMap(@Self)^.&set := $00000080;
  18256. end;
  18257. procedure TUART1_U1MODE.clearWAKE; inline;
  18258. begin
  18259. pTDefRegMap(@Self)^.clr := $00000080;
  18260. end;
  18261. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  18262. begin
  18263. if thebits = 0 then
  18264. pTDefRegMap(@Self)^.clr := $00000080
  18265. else
  18266. pTDefRegMap(@Self)^.&set := $00000080;
  18267. end;
  18268. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  18269. begin
  18270. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18271. end;
  18272. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  18273. begin
  18274. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18275. end;
  18276. function TUART1_U1MODE.getUEN : TBits_2; inline;
  18277. begin
  18278. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18279. end;
  18280. procedure TUART1_U1MODE.setRTSMD; inline;
  18281. begin
  18282. pTDefRegMap(@Self)^.&set := $00000800;
  18283. end;
  18284. procedure TUART1_U1MODE.clearRTSMD; inline;
  18285. begin
  18286. pTDefRegMap(@Self)^.clr := $00000800;
  18287. end;
  18288. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  18289. begin
  18290. if thebits = 0 then
  18291. pTDefRegMap(@Self)^.clr := $00000800
  18292. else
  18293. pTDefRegMap(@Self)^.&set := $00000800;
  18294. end;
  18295. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  18296. begin
  18297. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18298. end;
  18299. procedure TUART1_U1MODE.setIREN; inline;
  18300. begin
  18301. pTDefRegMap(@Self)^.&set := $00001000;
  18302. end;
  18303. procedure TUART1_U1MODE.clearIREN; inline;
  18304. begin
  18305. pTDefRegMap(@Self)^.clr := $00001000;
  18306. end;
  18307. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  18308. begin
  18309. if thebits = 0 then
  18310. pTDefRegMap(@Self)^.clr := $00001000
  18311. else
  18312. pTDefRegMap(@Self)^.&set := $00001000;
  18313. end;
  18314. function TUART1_U1MODE.getIREN : TBits_1; inline;
  18315. begin
  18316. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18317. end;
  18318. procedure TUART1_U1MODE.setSIDL; inline;
  18319. begin
  18320. pTDefRegMap(@Self)^.&set := $00002000;
  18321. end;
  18322. procedure TUART1_U1MODE.clearSIDL; inline;
  18323. begin
  18324. pTDefRegMap(@Self)^.clr := $00002000;
  18325. end;
  18326. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  18327. begin
  18328. if thebits = 0 then
  18329. pTDefRegMap(@Self)^.clr := $00002000
  18330. else
  18331. pTDefRegMap(@Self)^.&set := $00002000;
  18332. end;
  18333. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  18334. begin
  18335. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18336. end;
  18337. procedure TUART1_U1MODE.setON; inline;
  18338. begin
  18339. pTDefRegMap(@Self)^.&set := $00008000;
  18340. end;
  18341. procedure TUART1_U1MODE.clearON; inline;
  18342. begin
  18343. pTDefRegMap(@Self)^.clr := $00008000;
  18344. end;
  18345. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  18346. begin
  18347. if thebits = 0 then
  18348. pTDefRegMap(@Self)^.clr := $00008000
  18349. else
  18350. pTDefRegMap(@Self)^.&set := $00008000;
  18351. end;
  18352. function TUART1_U1MODE.getON : TBits_1; inline;
  18353. begin
  18354. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18355. end;
  18356. procedure TUART1_U1MODE.setPDSEL0; inline;
  18357. begin
  18358. pTDefRegMap(@Self)^.&set := $00000002;
  18359. end;
  18360. procedure TUART1_U1MODE.clearPDSEL0; inline;
  18361. begin
  18362. pTDefRegMap(@Self)^.clr := $00000002;
  18363. end;
  18364. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  18365. begin
  18366. if thebits = 0 then
  18367. pTDefRegMap(@Self)^.clr := $00000002
  18368. else
  18369. pTDefRegMap(@Self)^.&set := $00000002;
  18370. end;
  18371. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  18372. begin
  18373. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18374. end;
  18375. procedure TUART1_U1MODE.setPDSEL1; inline;
  18376. begin
  18377. pTDefRegMap(@Self)^.&set := $00000004;
  18378. end;
  18379. procedure TUART1_U1MODE.clearPDSEL1; inline;
  18380. begin
  18381. pTDefRegMap(@Self)^.clr := $00000004;
  18382. end;
  18383. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  18384. begin
  18385. if thebits = 0 then
  18386. pTDefRegMap(@Self)^.clr := $00000004
  18387. else
  18388. pTDefRegMap(@Self)^.&set := $00000004;
  18389. end;
  18390. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  18391. begin
  18392. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18393. end;
  18394. procedure TUART1_U1MODE.setUEN0; inline;
  18395. begin
  18396. pTDefRegMap(@Self)^.&set := $00000100;
  18397. end;
  18398. procedure TUART1_U1MODE.clearUEN0; inline;
  18399. begin
  18400. pTDefRegMap(@Self)^.clr := $00000100;
  18401. end;
  18402. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  18403. begin
  18404. if thebits = 0 then
  18405. pTDefRegMap(@Self)^.clr := $00000100
  18406. else
  18407. pTDefRegMap(@Self)^.&set := $00000100;
  18408. end;
  18409. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  18410. begin
  18411. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18412. end;
  18413. procedure TUART1_U1MODE.setUEN1; inline;
  18414. begin
  18415. pTDefRegMap(@Self)^.&set := $00000200;
  18416. end;
  18417. procedure TUART1_U1MODE.clearUEN1; inline;
  18418. begin
  18419. pTDefRegMap(@Self)^.clr := $00000200;
  18420. end;
  18421. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  18422. begin
  18423. if thebits = 0 then
  18424. pTDefRegMap(@Self)^.clr := $00000200
  18425. else
  18426. pTDefRegMap(@Self)^.&set := $00000200;
  18427. end;
  18428. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  18429. begin
  18430. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18431. end;
  18432. procedure TUART1_U1MODE.setUSIDL; inline;
  18433. begin
  18434. pTDefRegMap(@Self)^.&set := $00002000;
  18435. end;
  18436. procedure TUART1_U1MODE.clearUSIDL; inline;
  18437. begin
  18438. pTDefRegMap(@Self)^.clr := $00002000;
  18439. end;
  18440. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  18441. begin
  18442. if thebits = 0 then
  18443. pTDefRegMap(@Self)^.clr := $00002000
  18444. else
  18445. pTDefRegMap(@Self)^.&set := $00002000;
  18446. end;
  18447. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  18448. begin
  18449. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18450. end;
  18451. procedure TUART1_U1MODE.setUARTEN; inline;
  18452. begin
  18453. pTDefRegMap(@Self)^.&set := $00008000;
  18454. end;
  18455. procedure TUART1_U1MODE.clearUARTEN; inline;
  18456. begin
  18457. pTDefRegMap(@Self)^.clr := $00008000;
  18458. end;
  18459. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  18460. begin
  18461. if thebits = 0 then
  18462. pTDefRegMap(@Self)^.clr := $00008000
  18463. else
  18464. pTDefRegMap(@Self)^.&set := $00008000;
  18465. end;
  18466. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  18467. begin
  18468. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18469. end;
  18470. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  18471. begin
  18472. pTDefRegMap(@Self)^.val := thebits;
  18473. end;
  18474. function TUART1_U1MODE.getw : TBits_32; inline;
  18475. begin
  18476. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18477. end;
  18478. procedure TUART1_U1ASTA.setURXDA; inline;
  18479. begin
  18480. pTDefRegMap(@Self)^.&set := $00000001;
  18481. end;
  18482. procedure TUART1_U1ASTA.clearURXDA; inline;
  18483. begin
  18484. pTDefRegMap(@Self)^.clr := $00000001;
  18485. end;
  18486. procedure TUART1_U1ASTA.setURXDA(thebits : TBits_1); inline;
  18487. begin
  18488. if thebits = 0 then
  18489. pTDefRegMap(@Self)^.clr := $00000001
  18490. else
  18491. pTDefRegMap(@Self)^.&set := $00000001;
  18492. end;
  18493. function TUART1_U1ASTA.getURXDA : TBits_1; inline;
  18494. begin
  18495. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18496. end;
  18497. procedure TUART1_U1ASTA.setOERR; inline;
  18498. begin
  18499. pTDefRegMap(@Self)^.&set := $00000002;
  18500. end;
  18501. procedure TUART1_U1ASTA.clearOERR; inline;
  18502. begin
  18503. pTDefRegMap(@Self)^.clr := $00000002;
  18504. end;
  18505. procedure TUART1_U1ASTA.setOERR(thebits : TBits_1); inline;
  18506. begin
  18507. if thebits = 0 then
  18508. pTDefRegMap(@Self)^.clr := $00000002
  18509. else
  18510. pTDefRegMap(@Self)^.&set := $00000002;
  18511. end;
  18512. function TUART1_U1ASTA.getOERR : TBits_1; inline;
  18513. begin
  18514. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18515. end;
  18516. procedure TUART1_U1ASTA.setFERR; inline;
  18517. begin
  18518. pTDefRegMap(@Self)^.&set := $00000004;
  18519. end;
  18520. procedure TUART1_U1ASTA.clearFERR; inline;
  18521. begin
  18522. pTDefRegMap(@Self)^.clr := $00000004;
  18523. end;
  18524. procedure TUART1_U1ASTA.setFERR(thebits : TBits_1); inline;
  18525. begin
  18526. if thebits = 0 then
  18527. pTDefRegMap(@Self)^.clr := $00000004
  18528. else
  18529. pTDefRegMap(@Self)^.&set := $00000004;
  18530. end;
  18531. function TUART1_U1ASTA.getFERR : TBits_1; inline;
  18532. begin
  18533. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18534. end;
  18535. procedure TUART1_U1ASTA.setPERR; inline;
  18536. begin
  18537. pTDefRegMap(@Self)^.&set := $00000008;
  18538. end;
  18539. procedure TUART1_U1ASTA.clearPERR; inline;
  18540. begin
  18541. pTDefRegMap(@Self)^.clr := $00000008;
  18542. end;
  18543. procedure TUART1_U1ASTA.setPERR(thebits : TBits_1); inline;
  18544. begin
  18545. if thebits = 0 then
  18546. pTDefRegMap(@Self)^.clr := $00000008
  18547. else
  18548. pTDefRegMap(@Self)^.&set := $00000008;
  18549. end;
  18550. function TUART1_U1ASTA.getPERR : TBits_1; inline;
  18551. begin
  18552. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18553. end;
  18554. procedure TUART1_U1ASTA.setRIDLE; inline;
  18555. begin
  18556. pTDefRegMap(@Self)^.&set := $00000010;
  18557. end;
  18558. procedure TUART1_U1ASTA.clearRIDLE; inline;
  18559. begin
  18560. pTDefRegMap(@Self)^.clr := $00000010;
  18561. end;
  18562. procedure TUART1_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  18563. begin
  18564. if thebits = 0 then
  18565. pTDefRegMap(@Self)^.clr := $00000010
  18566. else
  18567. pTDefRegMap(@Self)^.&set := $00000010;
  18568. end;
  18569. function TUART1_U1ASTA.getRIDLE : TBits_1; inline;
  18570. begin
  18571. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18572. end;
  18573. procedure TUART1_U1ASTA.setADDEN; inline;
  18574. begin
  18575. pTDefRegMap(@Self)^.&set := $00000020;
  18576. end;
  18577. procedure TUART1_U1ASTA.clearADDEN; inline;
  18578. begin
  18579. pTDefRegMap(@Self)^.clr := $00000020;
  18580. end;
  18581. procedure TUART1_U1ASTA.setADDEN(thebits : TBits_1); inline;
  18582. begin
  18583. if thebits = 0 then
  18584. pTDefRegMap(@Self)^.clr := $00000020
  18585. else
  18586. pTDefRegMap(@Self)^.&set := $00000020;
  18587. end;
  18588. function TUART1_U1ASTA.getADDEN : TBits_1; inline;
  18589. begin
  18590. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18591. end;
  18592. procedure TUART1_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  18593. begin
  18594. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18595. end;
  18596. function TUART1_U1ASTA.getURXISEL : TBits_2; inline;
  18597. begin
  18598. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18599. end;
  18600. procedure TUART1_U1ASTA.setTRMT; inline;
  18601. begin
  18602. pTDefRegMap(@Self)^.&set := $00000100;
  18603. end;
  18604. procedure TUART1_U1ASTA.clearTRMT; inline;
  18605. begin
  18606. pTDefRegMap(@Self)^.clr := $00000100;
  18607. end;
  18608. procedure TUART1_U1ASTA.setTRMT(thebits : TBits_1); inline;
  18609. begin
  18610. if thebits = 0 then
  18611. pTDefRegMap(@Self)^.clr := $00000100
  18612. else
  18613. pTDefRegMap(@Self)^.&set := $00000100;
  18614. end;
  18615. function TUART1_U1ASTA.getTRMT : TBits_1; inline;
  18616. begin
  18617. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18618. end;
  18619. procedure TUART1_U1ASTA.setUTXBF; inline;
  18620. begin
  18621. pTDefRegMap(@Self)^.&set := $00000200;
  18622. end;
  18623. procedure TUART1_U1ASTA.clearUTXBF; inline;
  18624. begin
  18625. pTDefRegMap(@Self)^.clr := $00000200;
  18626. end;
  18627. procedure TUART1_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  18628. begin
  18629. if thebits = 0 then
  18630. pTDefRegMap(@Self)^.clr := $00000200
  18631. else
  18632. pTDefRegMap(@Self)^.&set := $00000200;
  18633. end;
  18634. function TUART1_U1ASTA.getUTXBF : TBits_1; inline;
  18635. begin
  18636. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18637. end;
  18638. procedure TUART1_U1ASTA.setUTXEN; inline;
  18639. begin
  18640. pTDefRegMap(@Self)^.&set := $00000400;
  18641. end;
  18642. procedure TUART1_U1ASTA.clearUTXEN; inline;
  18643. begin
  18644. pTDefRegMap(@Self)^.clr := $00000400;
  18645. end;
  18646. procedure TUART1_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  18647. begin
  18648. if thebits = 0 then
  18649. pTDefRegMap(@Self)^.clr := $00000400
  18650. else
  18651. pTDefRegMap(@Self)^.&set := $00000400;
  18652. end;
  18653. function TUART1_U1ASTA.getUTXEN : TBits_1; inline;
  18654. begin
  18655. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18656. end;
  18657. procedure TUART1_U1ASTA.setUTXBRK; inline;
  18658. begin
  18659. pTDefRegMap(@Self)^.&set := $00000800;
  18660. end;
  18661. procedure TUART1_U1ASTA.clearUTXBRK; inline;
  18662. begin
  18663. pTDefRegMap(@Self)^.clr := $00000800;
  18664. end;
  18665. procedure TUART1_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  18666. begin
  18667. if thebits = 0 then
  18668. pTDefRegMap(@Self)^.clr := $00000800
  18669. else
  18670. pTDefRegMap(@Self)^.&set := $00000800;
  18671. end;
  18672. function TUART1_U1ASTA.getUTXBRK : TBits_1; inline;
  18673. begin
  18674. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18675. end;
  18676. procedure TUART1_U1ASTA.setURXEN; inline;
  18677. begin
  18678. pTDefRegMap(@Self)^.&set := $00001000;
  18679. end;
  18680. procedure TUART1_U1ASTA.clearURXEN; inline;
  18681. begin
  18682. pTDefRegMap(@Self)^.clr := $00001000;
  18683. end;
  18684. procedure TUART1_U1ASTA.setURXEN(thebits : TBits_1); inline;
  18685. begin
  18686. if thebits = 0 then
  18687. pTDefRegMap(@Self)^.clr := $00001000
  18688. else
  18689. pTDefRegMap(@Self)^.&set := $00001000;
  18690. end;
  18691. function TUART1_U1ASTA.getURXEN : TBits_1; inline;
  18692. begin
  18693. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18694. end;
  18695. procedure TUART1_U1ASTA.setUTXINV; inline;
  18696. begin
  18697. pTDefRegMap(@Self)^.&set := $00002000;
  18698. end;
  18699. procedure TUART1_U1ASTA.clearUTXINV; inline;
  18700. begin
  18701. pTDefRegMap(@Self)^.clr := $00002000;
  18702. end;
  18703. procedure TUART1_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  18704. begin
  18705. if thebits = 0 then
  18706. pTDefRegMap(@Self)^.clr := $00002000
  18707. else
  18708. pTDefRegMap(@Self)^.&set := $00002000;
  18709. end;
  18710. function TUART1_U1ASTA.getUTXINV : TBits_1; inline;
  18711. begin
  18712. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18713. end;
  18714. procedure TUART1_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  18715. begin
  18716. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  18717. end;
  18718. function TUART1_U1ASTA.getUTXISEL : TBits_2; inline;
  18719. begin
  18720. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  18721. end;
  18722. procedure TUART1_U1ASTA.setADDR(thebits : TBits_8); inline;
  18723. begin
  18724. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  18725. end;
  18726. function TUART1_U1ASTA.getADDR : TBits_8; inline;
  18727. begin
  18728. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  18729. end;
  18730. procedure TUART1_U1ASTA.setADM_EN; inline;
  18731. begin
  18732. pTDefRegMap(@Self)^.&set := $01000000;
  18733. end;
  18734. procedure TUART1_U1ASTA.clearADM_EN; inline;
  18735. begin
  18736. pTDefRegMap(@Self)^.clr := $01000000;
  18737. end;
  18738. procedure TUART1_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  18739. begin
  18740. if thebits = 0 then
  18741. pTDefRegMap(@Self)^.clr := $01000000
  18742. else
  18743. pTDefRegMap(@Self)^.&set := $01000000;
  18744. end;
  18745. function TUART1_U1ASTA.getADM_EN : TBits_1; inline;
  18746. begin
  18747. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  18748. end;
  18749. procedure TUART1_U1ASTA.setURXISEL0; inline;
  18750. begin
  18751. pTDefRegMap(@Self)^.&set := $00000040;
  18752. end;
  18753. procedure TUART1_U1ASTA.clearURXISEL0; inline;
  18754. begin
  18755. pTDefRegMap(@Self)^.clr := $00000040;
  18756. end;
  18757. procedure TUART1_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  18758. begin
  18759. if thebits = 0 then
  18760. pTDefRegMap(@Self)^.clr := $00000040
  18761. else
  18762. pTDefRegMap(@Self)^.&set := $00000040;
  18763. end;
  18764. function TUART1_U1ASTA.getURXISEL0 : TBits_1; inline;
  18765. begin
  18766. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18767. end;
  18768. procedure TUART1_U1ASTA.setURXISEL1; inline;
  18769. begin
  18770. pTDefRegMap(@Self)^.&set := $00000080;
  18771. end;
  18772. procedure TUART1_U1ASTA.clearURXISEL1; inline;
  18773. begin
  18774. pTDefRegMap(@Self)^.clr := $00000080;
  18775. end;
  18776. procedure TUART1_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  18777. begin
  18778. if thebits = 0 then
  18779. pTDefRegMap(@Self)^.clr := $00000080
  18780. else
  18781. pTDefRegMap(@Self)^.&set := $00000080;
  18782. end;
  18783. function TUART1_U1ASTA.getURXISEL1 : TBits_1; inline;
  18784. begin
  18785. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18786. end;
  18787. procedure TUART1_U1ASTA.setUTXISEL0; inline;
  18788. begin
  18789. pTDefRegMap(@Self)^.&set := $00004000;
  18790. end;
  18791. procedure TUART1_U1ASTA.clearUTXISEL0; inline;
  18792. begin
  18793. pTDefRegMap(@Self)^.clr := $00004000;
  18794. end;
  18795. procedure TUART1_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  18796. begin
  18797. if thebits = 0 then
  18798. pTDefRegMap(@Self)^.clr := $00004000
  18799. else
  18800. pTDefRegMap(@Self)^.&set := $00004000;
  18801. end;
  18802. function TUART1_U1ASTA.getUTXISEL0 : TBits_1; inline;
  18803. begin
  18804. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18805. end;
  18806. procedure TUART1_U1ASTA.setUTXISEL1; inline;
  18807. begin
  18808. pTDefRegMap(@Self)^.&set := $00008000;
  18809. end;
  18810. procedure TUART1_U1ASTA.clearUTXISEL1; inline;
  18811. begin
  18812. pTDefRegMap(@Self)^.clr := $00008000;
  18813. end;
  18814. procedure TUART1_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  18815. begin
  18816. if thebits = 0 then
  18817. pTDefRegMap(@Self)^.clr := $00008000
  18818. else
  18819. pTDefRegMap(@Self)^.&set := $00008000;
  18820. end;
  18821. function TUART1_U1ASTA.getUTXISEL1 : TBits_1; inline;
  18822. begin
  18823. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18824. end;
  18825. procedure TUART1_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  18826. begin
  18827. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  18828. end;
  18829. function TUART1_U1ASTA.getUTXSEL : TBits_2; inline;
  18830. begin
  18831. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  18832. end;
  18833. procedure TUART1_U1ASTA.setw(thebits : TBits_32); inline;
  18834. begin
  18835. pTDefRegMap(@Self)^.val := thebits;
  18836. end;
  18837. function TUART1_U1ASTA.getw : TBits_32; inline;
  18838. begin
  18839. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18840. end;
  18841. procedure TUART1_U1STA.setURXDA; inline;
  18842. begin
  18843. pTDefRegMap(@Self)^.&set := $00000001;
  18844. end;
  18845. procedure TUART1_U1STA.clearURXDA; inline;
  18846. begin
  18847. pTDefRegMap(@Self)^.clr := $00000001;
  18848. end;
  18849. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  18850. begin
  18851. if thebits = 0 then
  18852. pTDefRegMap(@Self)^.clr := $00000001
  18853. else
  18854. pTDefRegMap(@Self)^.&set := $00000001;
  18855. end;
  18856. function TUART1_U1STA.getURXDA : TBits_1; inline;
  18857. begin
  18858. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18859. end;
  18860. procedure TUART1_U1STA.setOERR; inline;
  18861. begin
  18862. pTDefRegMap(@Self)^.&set := $00000002;
  18863. end;
  18864. procedure TUART1_U1STA.clearOERR; inline;
  18865. begin
  18866. pTDefRegMap(@Self)^.clr := $00000002;
  18867. end;
  18868. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  18869. begin
  18870. if thebits = 0 then
  18871. pTDefRegMap(@Self)^.clr := $00000002
  18872. else
  18873. pTDefRegMap(@Self)^.&set := $00000002;
  18874. end;
  18875. function TUART1_U1STA.getOERR : TBits_1; inline;
  18876. begin
  18877. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18878. end;
  18879. procedure TUART1_U1STA.setFERR; inline;
  18880. begin
  18881. pTDefRegMap(@Self)^.&set := $00000004;
  18882. end;
  18883. procedure TUART1_U1STA.clearFERR; inline;
  18884. begin
  18885. pTDefRegMap(@Self)^.clr := $00000004;
  18886. end;
  18887. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  18888. begin
  18889. if thebits = 0 then
  18890. pTDefRegMap(@Self)^.clr := $00000004
  18891. else
  18892. pTDefRegMap(@Self)^.&set := $00000004;
  18893. end;
  18894. function TUART1_U1STA.getFERR : TBits_1; inline;
  18895. begin
  18896. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18897. end;
  18898. procedure TUART1_U1STA.setPERR; inline;
  18899. begin
  18900. pTDefRegMap(@Self)^.&set := $00000008;
  18901. end;
  18902. procedure TUART1_U1STA.clearPERR; inline;
  18903. begin
  18904. pTDefRegMap(@Self)^.clr := $00000008;
  18905. end;
  18906. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  18907. begin
  18908. if thebits = 0 then
  18909. pTDefRegMap(@Self)^.clr := $00000008
  18910. else
  18911. pTDefRegMap(@Self)^.&set := $00000008;
  18912. end;
  18913. function TUART1_U1STA.getPERR : TBits_1; inline;
  18914. begin
  18915. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18916. end;
  18917. procedure TUART1_U1STA.setRIDLE; inline;
  18918. begin
  18919. pTDefRegMap(@Self)^.&set := $00000010;
  18920. end;
  18921. procedure TUART1_U1STA.clearRIDLE; inline;
  18922. begin
  18923. pTDefRegMap(@Self)^.clr := $00000010;
  18924. end;
  18925. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  18926. begin
  18927. if thebits = 0 then
  18928. pTDefRegMap(@Self)^.clr := $00000010
  18929. else
  18930. pTDefRegMap(@Self)^.&set := $00000010;
  18931. end;
  18932. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  18933. begin
  18934. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18935. end;
  18936. procedure TUART1_U1STA.setADDEN; inline;
  18937. begin
  18938. pTDefRegMap(@Self)^.&set := $00000020;
  18939. end;
  18940. procedure TUART1_U1STA.clearADDEN; inline;
  18941. begin
  18942. pTDefRegMap(@Self)^.clr := $00000020;
  18943. end;
  18944. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  18945. begin
  18946. if thebits = 0 then
  18947. pTDefRegMap(@Self)^.clr := $00000020
  18948. else
  18949. pTDefRegMap(@Self)^.&set := $00000020;
  18950. end;
  18951. function TUART1_U1STA.getADDEN : TBits_1; inline;
  18952. begin
  18953. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18954. end;
  18955. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  18956. begin
  18957. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18958. end;
  18959. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  18960. begin
  18961. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18962. end;
  18963. procedure TUART1_U1STA.setTRMT; inline;
  18964. begin
  18965. pTDefRegMap(@Self)^.&set := $00000100;
  18966. end;
  18967. procedure TUART1_U1STA.clearTRMT; inline;
  18968. begin
  18969. pTDefRegMap(@Self)^.clr := $00000100;
  18970. end;
  18971. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  18972. begin
  18973. if thebits = 0 then
  18974. pTDefRegMap(@Self)^.clr := $00000100
  18975. else
  18976. pTDefRegMap(@Self)^.&set := $00000100;
  18977. end;
  18978. function TUART1_U1STA.getTRMT : TBits_1; inline;
  18979. begin
  18980. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18981. end;
  18982. procedure TUART1_U1STA.setUTXBF; inline;
  18983. begin
  18984. pTDefRegMap(@Self)^.&set := $00000200;
  18985. end;
  18986. procedure TUART1_U1STA.clearUTXBF; inline;
  18987. begin
  18988. pTDefRegMap(@Self)^.clr := $00000200;
  18989. end;
  18990. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  18991. begin
  18992. if thebits = 0 then
  18993. pTDefRegMap(@Self)^.clr := $00000200
  18994. else
  18995. pTDefRegMap(@Self)^.&set := $00000200;
  18996. end;
  18997. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  18998. begin
  18999. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19000. end;
  19001. procedure TUART1_U1STA.setUTXEN; inline;
  19002. begin
  19003. pTDefRegMap(@Self)^.&set := $00000400;
  19004. end;
  19005. procedure TUART1_U1STA.clearUTXEN; inline;
  19006. begin
  19007. pTDefRegMap(@Self)^.clr := $00000400;
  19008. end;
  19009. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  19010. begin
  19011. if thebits = 0 then
  19012. pTDefRegMap(@Self)^.clr := $00000400
  19013. else
  19014. pTDefRegMap(@Self)^.&set := $00000400;
  19015. end;
  19016. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  19017. begin
  19018. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19019. end;
  19020. procedure TUART1_U1STA.setUTXBRK; inline;
  19021. begin
  19022. pTDefRegMap(@Self)^.&set := $00000800;
  19023. end;
  19024. procedure TUART1_U1STA.clearUTXBRK; inline;
  19025. begin
  19026. pTDefRegMap(@Self)^.clr := $00000800;
  19027. end;
  19028. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  19029. begin
  19030. if thebits = 0 then
  19031. pTDefRegMap(@Self)^.clr := $00000800
  19032. else
  19033. pTDefRegMap(@Self)^.&set := $00000800;
  19034. end;
  19035. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  19036. begin
  19037. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19038. end;
  19039. procedure TUART1_U1STA.setURXEN; inline;
  19040. begin
  19041. pTDefRegMap(@Self)^.&set := $00001000;
  19042. end;
  19043. procedure TUART1_U1STA.clearURXEN; inline;
  19044. begin
  19045. pTDefRegMap(@Self)^.clr := $00001000;
  19046. end;
  19047. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  19048. begin
  19049. if thebits = 0 then
  19050. pTDefRegMap(@Self)^.clr := $00001000
  19051. else
  19052. pTDefRegMap(@Self)^.&set := $00001000;
  19053. end;
  19054. function TUART1_U1STA.getURXEN : TBits_1; inline;
  19055. begin
  19056. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19057. end;
  19058. procedure TUART1_U1STA.setUTXINV; inline;
  19059. begin
  19060. pTDefRegMap(@Self)^.&set := $00002000;
  19061. end;
  19062. procedure TUART1_U1STA.clearUTXINV; inline;
  19063. begin
  19064. pTDefRegMap(@Self)^.clr := $00002000;
  19065. end;
  19066. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  19067. begin
  19068. if thebits = 0 then
  19069. pTDefRegMap(@Self)^.clr := $00002000
  19070. else
  19071. pTDefRegMap(@Self)^.&set := $00002000;
  19072. end;
  19073. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  19074. begin
  19075. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19076. end;
  19077. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  19078. begin
  19079. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19080. end;
  19081. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  19082. begin
  19083. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19084. end;
  19085. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  19086. begin
  19087. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19088. end;
  19089. function TUART1_U1STA.getADDR : TBits_8; inline;
  19090. begin
  19091. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19092. end;
  19093. procedure TUART1_U1STA.setADM_EN; inline;
  19094. begin
  19095. pTDefRegMap(@Self)^.&set := $01000000;
  19096. end;
  19097. procedure TUART1_U1STA.clearADM_EN; inline;
  19098. begin
  19099. pTDefRegMap(@Self)^.clr := $01000000;
  19100. end;
  19101. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  19102. begin
  19103. if thebits = 0 then
  19104. pTDefRegMap(@Self)^.clr := $01000000
  19105. else
  19106. pTDefRegMap(@Self)^.&set := $01000000;
  19107. end;
  19108. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  19109. begin
  19110. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19111. end;
  19112. procedure TUART1_U1STA.setURXISEL0; inline;
  19113. begin
  19114. pTDefRegMap(@Self)^.&set := $00000040;
  19115. end;
  19116. procedure TUART1_U1STA.clearURXISEL0; inline;
  19117. begin
  19118. pTDefRegMap(@Self)^.clr := $00000040;
  19119. end;
  19120. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  19121. begin
  19122. if thebits = 0 then
  19123. pTDefRegMap(@Self)^.clr := $00000040
  19124. else
  19125. pTDefRegMap(@Self)^.&set := $00000040;
  19126. end;
  19127. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  19128. begin
  19129. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19130. end;
  19131. procedure TUART1_U1STA.setURXISEL1; inline;
  19132. begin
  19133. pTDefRegMap(@Self)^.&set := $00000080;
  19134. end;
  19135. procedure TUART1_U1STA.clearURXISEL1; inline;
  19136. begin
  19137. pTDefRegMap(@Self)^.clr := $00000080;
  19138. end;
  19139. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  19140. begin
  19141. if thebits = 0 then
  19142. pTDefRegMap(@Self)^.clr := $00000080
  19143. else
  19144. pTDefRegMap(@Self)^.&set := $00000080;
  19145. end;
  19146. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  19147. begin
  19148. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19149. end;
  19150. procedure TUART1_U1STA.setUTXISEL0; inline;
  19151. begin
  19152. pTDefRegMap(@Self)^.&set := $00004000;
  19153. end;
  19154. procedure TUART1_U1STA.clearUTXISEL0; inline;
  19155. begin
  19156. pTDefRegMap(@Self)^.clr := $00004000;
  19157. end;
  19158. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  19159. begin
  19160. if thebits = 0 then
  19161. pTDefRegMap(@Self)^.clr := $00004000
  19162. else
  19163. pTDefRegMap(@Self)^.&set := $00004000;
  19164. end;
  19165. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  19166. begin
  19167. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19168. end;
  19169. procedure TUART1_U1STA.setUTXISEL1; inline;
  19170. begin
  19171. pTDefRegMap(@Self)^.&set := $00008000;
  19172. end;
  19173. procedure TUART1_U1STA.clearUTXISEL1; inline;
  19174. begin
  19175. pTDefRegMap(@Self)^.clr := $00008000;
  19176. end;
  19177. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  19178. begin
  19179. if thebits = 0 then
  19180. pTDefRegMap(@Self)^.clr := $00008000
  19181. else
  19182. pTDefRegMap(@Self)^.&set := $00008000;
  19183. end;
  19184. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  19185. begin
  19186. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19187. end;
  19188. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  19189. begin
  19190. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19191. end;
  19192. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  19193. begin
  19194. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19195. end;
  19196. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  19197. begin
  19198. pTDefRegMap(@Self)^.val := thebits;
  19199. end;
  19200. function TUART1_U1STA.getw : TBits_32; inline;
  19201. begin
  19202. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19203. end;
  19204. procedure TUART2_U2MODE.setSTSEL; inline;
  19205. begin
  19206. pTDefRegMap(@Self)^.&set := $00000001;
  19207. end;
  19208. procedure TUART2_U2MODE.clearSTSEL; inline;
  19209. begin
  19210. pTDefRegMap(@Self)^.clr := $00000001;
  19211. end;
  19212. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  19213. begin
  19214. if thebits = 0 then
  19215. pTDefRegMap(@Self)^.clr := $00000001
  19216. else
  19217. pTDefRegMap(@Self)^.&set := $00000001;
  19218. end;
  19219. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  19220. begin
  19221. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19222. end;
  19223. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  19224. begin
  19225. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19226. end;
  19227. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  19228. begin
  19229. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19230. end;
  19231. procedure TUART2_U2MODE.setBRGH; inline;
  19232. begin
  19233. pTDefRegMap(@Self)^.&set := $00000008;
  19234. end;
  19235. procedure TUART2_U2MODE.clearBRGH; inline;
  19236. begin
  19237. pTDefRegMap(@Self)^.clr := $00000008;
  19238. end;
  19239. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  19240. begin
  19241. if thebits = 0 then
  19242. pTDefRegMap(@Self)^.clr := $00000008
  19243. else
  19244. pTDefRegMap(@Self)^.&set := $00000008;
  19245. end;
  19246. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  19247. begin
  19248. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19249. end;
  19250. procedure TUART2_U2MODE.setRXINV; inline;
  19251. begin
  19252. pTDefRegMap(@Self)^.&set := $00000010;
  19253. end;
  19254. procedure TUART2_U2MODE.clearRXINV; inline;
  19255. begin
  19256. pTDefRegMap(@Self)^.clr := $00000010;
  19257. end;
  19258. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  19259. begin
  19260. if thebits = 0 then
  19261. pTDefRegMap(@Self)^.clr := $00000010
  19262. else
  19263. pTDefRegMap(@Self)^.&set := $00000010;
  19264. end;
  19265. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  19266. begin
  19267. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19268. end;
  19269. procedure TUART2_U2MODE.setABAUD; inline;
  19270. begin
  19271. pTDefRegMap(@Self)^.&set := $00000020;
  19272. end;
  19273. procedure TUART2_U2MODE.clearABAUD; inline;
  19274. begin
  19275. pTDefRegMap(@Self)^.clr := $00000020;
  19276. end;
  19277. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  19278. begin
  19279. if thebits = 0 then
  19280. pTDefRegMap(@Self)^.clr := $00000020
  19281. else
  19282. pTDefRegMap(@Self)^.&set := $00000020;
  19283. end;
  19284. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  19285. begin
  19286. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19287. end;
  19288. procedure TUART2_U2MODE.setLPBACK; inline;
  19289. begin
  19290. pTDefRegMap(@Self)^.&set := $00000040;
  19291. end;
  19292. procedure TUART2_U2MODE.clearLPBACK; inline;
  19293. begin
  19294. pTDefRegMap(@Self)^.clr := $00000040;
  19295. end;
  19296. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  19297. begin
  19298. if thebits = 0 then
  19299. pTDefRegMap(@Self)^.clr := $00000040
  19300. else
  19301. pTDefRegMap(@Self)^.&set := $00000040;
  19302. end;
  19303. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  19304. begin
  19305. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19306. end;
  19307. procedure TUART2_U2MODE.setWAKE; inline;
  19308. begin
  19309. pTDefRegMap(@Self)^.&set := $00000080;
  19310. end;
  19311. procedure TUART2_U2MODE.clearWAKE; inline;
  19312. begin
  19313. pTDefRegMap(@Self)^.clr := $00000080;
  19314. end;
  19315. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  19316. begin
  19317. if thebits = 0 then
  19318. pTDefRegMap(@Self)^.clr := $00000080
  19319. else
  19320. pTDefRegMap(@Self)^.&set := $00000080;
  19321. end;
  19322. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  19323. begin
  19324. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19325. end;
  19326. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  19327. begin
  19328. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19329. end;
  19330. function TUART2_U2MODE.getUEN : TBits_2; inline;
  19331. begin
  19332. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19333. end;
  19334. procedure TUART2_U2MODE.setRTSMD; inline;
  19335. begin
  19336. pTDefRegMap(@Self)^.&set := $00000800;
  19337. end;
  19338. procedure TUART2_U2MODE.clearRTSMD; inline;
  19339. begin
  19340. pTDefRegMap(@Self)^.clr := $00000800;
  19341. end;
  19342. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  19343. begin
  19344. if thebits = 0 then
  19345. pTDefRegMap(@Self)^.clr := $00000800
  19346. else
  19347. pTDefRegMap(@Self)^.&set := $00000800;
  19348. end;
  19349. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  19350. begin
  19351. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19352. end;
  19353. procedure TUART2_U2MODE.setIREN; inline;
  19354. begin
  19355. pTDefRegMap(@Self)^.&set := $00001000;
  19356. end;
  19357. procedure TUART2_U2MODE.clearIREN; inline;
  19358. begin
  19359. pTDefRegMap(@Self)^.clr := $00001000;
  19360. end;
  19361. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  19362. begin
  19363. if thebits = 0 then
  19364. pTDefRegMap(@Self)^.clr := $00001000
  19365. else
  19366. pTDefRegMap(@Self)^.&set := $00001000;
  19367. end;
  19368. function TUART2_U2MODE.getIREN : TBits_1; inline;
  19369. begin
  19370. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19371. end;
  19372. procedure TUART2_U2MODE.setSIDL; inline;
  19373. begin
  19374. pTDefRegMap(@Self)^.&set := $00002000;
  19375. end;
  19376. procedure TUART2_U2MODE.clearSIDL; inline;
  19377. begin
  19378. pTDefRegMap(@Self)^.clr := $00002000;
  19379. end;
  19380. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  19381. begin
  19382. if thebits = 0 then
  19383. pTDefRegMap(@Self)^.clr := $00002000
  19384. else
  19385. pTDefRegMap(@Self)^.&set := $00002000;
  19386. end;
  19387. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  19388. begin
  19389. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19390. end;
  19391. procedure TUART2_U2MODE.setON; inline;
  19392. begin
  19393. pTDefRegMap(@Self)^.&set := $00008000;
  19394. end;
  19395. procedure TUART2_U2MODE.clearON; inline;
  19396. begin
  19397. pTDefRegMap(@Self)^.clr := $00008000;
  19398. end;
  19399. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  19400. begin
  19401. if thebits = 0 then
  19402. pTDefRegMap(@Self)^.clr := $00008000
  19403. else
  19404. pTDefRegMap(@Self)^.&set := $00008000;
  19405. end;
  19406. function TUART2_U2MODE.getON : TBits_1; inline;
  19407. begin
  19408. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19409. end;
  19410. procedure TUART2_U2MODE.setPDSEL0; inline;
  19411. begin
  19412. pTDefRegMap(@Self)^.&set := $00000002;
  19413. end;
  19414. procedure TUART2_U2MODE.clearPDSEL0; inline;
  19415. begin
  19416. pTDefRegMap(@Self)^.clr := $00000002;
  19417. end;
  19418. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  19419. begin
  19420. if thebits = 0 then
  19421. pTDefRegMap(@Self)^.clr := $00000002
  19422. else
  19423. pTDefRegMap(@Self)^.&set := $00000002;
  19424. end;
  19425. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  19426. begin
  19427. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19428. end;
  19429. procedure TUART2_U2MODE.setPDSEL1; inline;
  19430. begin
  19431. pTDefRegMap(@Self)^.&set := $00000004;
  19432. end;
  19433. procedure TUART2_U2MODE.clearPDSEL1; inline;
  19434. begin
  19435. pTDefRegMap(@Self)^.clr := $00000004;
  19436. end;
  19437. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  19438. begin
  19439. if thebits = 0 then
  19440. pTDefRegMap(@Self)^.clr := $00000004
  19441. else
  19442. pTDefRegMap(@Self)^.&set := $00000004;
  19443. end;
  19444. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  19445. begin
  19446. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19447. end;
  19448. procedure TUART2_U2MODE.setUEN0; inline;
  19449. begin
  19450. pTDefRegMap(@Self)^.&set := $00000100;
  19451. end;
  19452. procedure TUART2_U2MODE.clearUEN0; inline;
  19453. begin
  19454. pTDefRegMap(@Self)^.clr := $00000100;
  19455. end;
  19456. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  19457. begin
  19458. if thebits = 0 then
  19459. pTDefRegMap(@Self)^.clr := $00000100
  19460. else
  19461. pTDefRegMap(@Self)^.&set := $00000100;
  19462. end;
  19463. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  19464. begin
  19465. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19466. end;
  19467. procedure TUART2_U2MODE.setUEN1; inline;
  19468. begin
  19469. pTDefRegMap(@Self)^.&set := $00000200;
  19470. end;
  19471. procedure TUART2_U2MODE.clearUEN1; inline;
  19472. begin
  19473. pTDefRegMap(@Self)^.clr := $00000200;
  19474. end;
  19475. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  19476. begin
  19477. if thebits = 0 then
  19478. pTDefRegMap(@Self)^.clr := $00000200
  19479. else
  19480. pTDefRegMap(@Self)^.&set := $00000200;
  19481. end;
  19482. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  19483. begin
  19484. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19485. end;
  19486. procedure TUART2_U2MODE.setUSIDL; inline;
  19487. begin
  19488. pTDefRegMap(@Self)^.&set := $00002000;
  19489. end;
  19490. procedure TUART2_U2MODE.clearUSIDL; inline;
  19491. begin
  19492. pTDefRegMap(@Self)^.clr := $00002000;
  19493. end;
  19494. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  19495. begin
  19496. if thebits = 0 then
  19497. pTDefRegMap(@Self)^.clr := $00002000
  19498. else
  19499. pTDefRegMap(@Self)^.&set := $00002000;
  19500. end;
  19501. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  19502. begin
  19503. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19504. end;
  19505. procedure TUART2_U2MODE.setUARTEN; inline;
  19506. begin
  19507. pTDefRegMap(@Self)^.&set := $00008000;
  19508. end;
  19509. procedure TUART2_U2MODE.clearUARTEN; inline;
  19510. begin
  19511. pTDefRegMap(@Self)^.clr := $00008000;
  19512. end;
  19513. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  19514. begin
  19515. if thebits = 0 then
  19516. pTDefRegMap(@Self)^.clr := $00008000
  19517. else
  19518. pTDefRegMap(@Self)^.&set := $00008000;
  19519. end;
  19520. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  19521. begin
  19522. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19523. end;
  19524. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  19525. begin
  19526. pTDefRegMap(@Self)^.val := thebits;
  19527. end;
  19528. function TUART2_U2MODE.getw : TBits_32; inline;
  19529. begin
  19530. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19531. end;
  19532. procedure TUART2_U3AMODE.setSTSEL; inline;
  19533. begin
  19534. pTDefRegMap(@Self)^.&set := $00000001;
  19535. end;
  19536. procedure TUART2_U3AMODE.clearSTSEL; inline;
  19537. begin
  19538. pTDefRegMap(@Self)^.clr := $00000001;
  19539. end;
  19540. procedure TUART2_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  19541. begin
  19542. if thebits = 0 then
  19543. pTDefRegMap(@Self)^.clr := $00000001
  19544. else
  19545. pTDefRegMap(@Self)^.&set := $00000001;
  19546. end;
  19547. function TUART2_U3AMODE.getSTSEL : TBits_1; inline;
  19548. begin
  19549. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19550. end;
  19551. procedure TUART2_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  19552. begin
  19553. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19554. end;
  19555. function TUART2_U3AMODE.getPDSEL : TBits_2; inline;
  19556. begin
  19557. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19558. end;
  19559. procedure TUART2_U3AMODE.setBRGH; inline;
  19560. begin
  19561. pTDefRegMap(@Self)^.&set := $00000008;
  19562. end;
  19563. procedure TUART2_U3AMODE.clearBRGH; inline;
  19564. begin
  19565. pTDefRegMap(@Self)^.clr := $00000008;
  19566. end;
  19567. procedure TUART2_U3AMODE.setBRGH(thebits : TBits_1); inline;
  19568. begin
  19569. if thebits = 0 then
  19570. pTDefRegMap(@Self)^.clr := $00000008
  19571. else
  19572. pTDefRegMap(@Self)^.&set := $00000008;
  19573. end;
  19574. function TUART2_U3AMODE.getBRGH : TBits_1; inline;
  19575. begin
  19576. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19577. end;
  19578. procedure TUART2_U3AMODE.setRXINV; inline;
  19579. begin
  19580. pTDefRegMap(@Self)^.&set := $00000010;
  19581. end;
  19582. procedure TUART2_U3AMODE.clearRXINV; inline;
  19583. begin
  19584. pTDefRegMap(@Self)^.clr := $00000010;
  19585. end;
  19586. procedure TUART2_U3AMODE.setRXINV(thebits : TBits_1); inline;
  19587. begin
  19588. if thebits = 0 then
  19589. pTDefRegMap(@Self)^.clr := $00000010
  19590. else
  19591. pTDefRegMap(@Self)^.&set := $00000010;
  19592. end;
  19593. function TUART2_U3AMODE.getRXINV : TBits_1; inline;
  19594. begin
  19595. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19596. end;
  19597. procedure TUART2_U3AMODE.setABAUD; inline;
  19598. begin
  19599. pTDefRegMap(@Self)^.&set := $00000020;
  19600. end;
  19601. procedure TUART2_U3AMODE.clearABAUD; inline;
  19602. begin
  19603. pTDefRegMap(@Self)^.clr := $00000020;
  19604. end;
  19605. procedure TUART2_U3AMODE.setABAUD(thebits : TBits_1); inline;
  19606. begin
  19607. if thebits = 0 then
  19608. pTDefRegMap(@Self)^.clr := $00000020
  19609. else
  19610. pTDefRegMap(@Self)^.&set := $00000020;
  19611. end;
  19612. function TUART2_U3AMODE.getABAUD : TBits_1; inline;
  19613. begin
  19614. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19615. end;
  19616. procedure TUART2_U3AMODE.setLPBACK; inline;
  19617. begin
  19618. pTDefRegMap(@Self)^.&set := $00000040;
  19619. end;
  19620. procedure TUART2_U3AMODE.clearLPBACK; inline;
  19621. begin
  19622. pTDefRegMap(@Self)^.clr := $00000040;
  19623. end;
  19624. procedure TUART2_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  19625. begin
  19626. if thebits = 0 then
  19627. pTDefRegMap(@Self)^.clr := $00000040
  19628. else
  19629. pTDefRegMap(@Self)^.&set := $00000040;
  19630. end;
  19631. function TUART2_U3AMODE.getLPBACK : TBits_1; inline;
  19632. begin
  19633. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19634. end;
  19635. procedure TUART2_U3AMODE.setWAKE; inline;
  19636. begin
  19637. pTDefRegMap(@Self)^.&set := $00000080;
  19638. end;
  19639. procedure TUART2_U3AMODE.clearWAKE; inline;
  19640. begin
  19641. pTDefRegMap(@Self)^.clr := $00000080;
  19642. end;
  19643. procedure TUART2_U3AMODE.setWAKE(thebits : TBits_1); inline;
  19644. begin
  19645. if thebits = 0 then
  19646. pTDefRegMap(@Self)^.clr := $00000080
  19647. else
  19648. pTDefRegMap(@Self)^.&set := $00000080;
  19649. end;
  19650. function TUART2_U3AMODE.getWAKE : TBits_1; inline;
  19651. begin
  19652. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19653. end;
  19654. procedure TUART2_U3AMODE.setUEN(thebits : TBits_2); inline;
  19655. begin
  19656. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19657. end;
  19658. function TUART2_U3AMODE.getUEN : TBits_2; inline;
  19659. begin
  19660. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19661. end;
  19662. procedure TUART2_U3AMODE.setRTSMD; inline;
  19663. begin
  19664. pTDefRegMap(@Self)^.&set := $00000800;
  19665. end;
  19666. procedure TUART2_U3AMODE.clearRTSMD; inline;
  19667. begin
  19668. pTDefRegMap(@Self)^.clr := $00000800;
  19669. end;
  19670. procedure TUART2_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  19671. begin
  19672. if thebits = 0 then
  19673. pTDefRegMap(@Self)^.clr := $00000800
  19674. else
  19675. pTDefRegMap(@Self)^.&set := $00000800;
  19676. end;
  19677. function TUART2_U3AMODE.getRTSMD : TBits_1; inline;
  19678. begin
  19679. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19680. end;
  19681. procedure TUART2_U3AMODE.setIREN; inline;
  19682. begin
  19683. pTDefRegMap(@Self)^.&set := $00001000;
  19684. end;
  19685. procedure TUART2_U3AMODE.clearIREN; inline;
  19686. begin
  19687. pTDefRegMap(@Self)^.clr := $00001000;
  19688. end;
  19689. procedure TUART2_U3AMODE.setIREN(thebits : TBits_1); inline;
  19690. begin
  19691. if thebits = 0 then
  19692. pTDefRegMap(@Self)^.clr := $00001000
  19693. else
  19694. pTDefRegMap(@Self)^.&set := $00001000;
  19695. end;
  19696. function TUART2_U3AMODE.getIREN : TBits_1; inline;
  19697. begin
  19698. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19699. end;
  19700. procedure TUART2_U3AMODE.setSIDL; inline;
  19701. begin
  19702. pTDefRegMap(@Self)^.&set := $00002000;
  19703. end;
  19704. procedure TUART2_U3AMODE.clearSIDL; inline;
  19705. begin
  19706. pTDefRegMap(@Self)^.clr := $00002000;
  19707. end;
  19708. procedure TUART2_U3AMODE.setSIDL(thebits : TBits_1); inline;
  19709. begin
  19710. if thebits = 0 then
  19711. pTDefRegMap(@Self)^.clr := $00002000
  19712. else
  19713. pTDefRegMap(@Self)^.&set := $00002000;
  19714. end;
  19715. function TUART2_U3AMODE.getSIDL : TBits_1; inline;
  19716. begin
  19717. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19718. end;
  19719. procedure TUART2_U3AMODE.setON; inline;
  19720. begin
  19721. pTDefRegMap(@Self)^.&set := $00008000;
  19722. end;
  19723. procedure TUART2_U3AMODE.clearON; inline;
  19724. begin
  19725. pTDefRegMap(@Self)^.clr := $00008000;
  19726. end;
  19727. procedure TUART2_U3AMODE.setON(thebits : TBits_1); inline;
  19728. begin
  19729. if thebits = 0 then
  19730. pTDefRegMap(@Self)^.clr := $00008000
  19731. else
  19732. pTDefRegMap(@Self)^.&set := $00008000;
  19733. end;
  19734. function TUART2_U3AMODE.getON : TBits_1; inline;
  19735. begin
  19736. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19737. end;
  19738. procedure TUART2_U3AMODE.setPDSEL0; inline;
  19739. begin
  19740. pTDefRegMap(@Self)^.&set := $00000002;
  19741. end;
  19742. procedure TUART2_U3AMODE.clearPDSEL0; inline;
  19743. begin
  19744. pTDefRegMap(@Self)^.clr := $00000002;
  19745. end;
  19746. procedure TUART2_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  19747. begin
  19748. if thebits = 0 then
  19749. pTDefRegMap(@Self)^.clr := $00000002
  19750. else
  19751. pTDefRegMap(@Self)^.&set := $00000002;
  19752. end;
  19753. function TUART2_U3AMODE.getPDSEL0 : TBits_1; inline;
  19754. begin
  19755. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19756. end;
  19757. procedure TUART2_U3AMODE.setPDSEL1; inline;
  19758. begin
  19759. pTDefRegMap(@Self)^.&set := $00000004;
  19760. end;
  19761. procedure TUART2_U3AMODE.clearPDSEL1; inline;
  19762. begin
  19763. pTDefRegMap(@Self)^.clr := $00000004;
  19764. end;
  19765. procedure TUART2_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  19766. begin
  19767. if thebits = 0 then
  19768. pTDefRegMap(@Self)^.clr := $00000004
  19769. else
  19770. pTDefRegMap(@Self)^.&set := $00000004;
  19771. end;
  19772. function TUART2_U3AMODE.getPDSEL1 : TBits_1; inline;
  19773. begin
  19774. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19775. end;
  19776. procedure TUART2_U3AMODE.setUEN0; inline;
  19777. begin
  19778. pTDefRegMap(@Self)^.&set := $00000100;
  19779. end;
  19780. procedure TUART2_U3AMODE.clearUEN0; inline;
  19781. begin
  19782. pTDefRegMap(@Self)^.clr := $00000100;
  19783. end;
  19784. procedure TUART2_U3AMODE.setUEN0(thebits : TBits_1); inline;
  19785. begin
  19786. if thebits = 0 then
  19787. pTDefRegMap(@Self)^.clr := $00000100
  19788. else
  19789. pTDefRegMap(@Self)^.&set := $00000100;
  19790. end;
  19791. function TUART2_U3AMODE.getUEN0 : TBits_1; inline;
  19792. begin
  19793. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19794. end;
  19795. procedure TUART2_U3AMODE.setUEN1; inline;
  19796. begin
  19797. pTDefRegMap(@Self)^.&set := $00000200;
  19798. end;
  19799. procedure TUART2_U3AMODE.clearUEN1; inline;
  19800. begin
  19801. pTDefRegMap(@Self)^.clr := $00000200;
  19802. end;
  19803. procedure TUART2_U3AMODE.setUEN1(thebits : TBits_1); inline;
  19804. begin
  19805. if thebits = 0 then
  19806. pTDefRegMap(@Self)^.clr := $00000200
  19807. else
  19808. pTDefRegMap(@Self)^.&set := $00000200;
  19809. end;
  19810. function TUART2_U3AMODE.getUEN1 : TBits_1; inline;
  19811. begin
  19812. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19813. end;
  19814. procedure TUART2_U3AMODE.setUSIDL; inline;
  19815. begin
  19816. pTDefRegMap(@Self)^.&set := $00002000;
  19817. end;
  19818. procedure TUART2_U3AMODE.clearUSIDL; inline;
  19819. begin
  19820. pTDefRegMap(@Self)^.clr := $00002000;
  19821. end;
  19822. procedure TUART2_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  19823. begin
  19824. if thebits = 0 then
  19825. pTDefRegMap(@Self)^.clr := $00002000
  19826. else
  19827. pTDefRegMap(@Self)^.&set := $00002000;
  19828. end;
  19829. function TUART2_U3AMODE.getUSIDL : TBits_1; inline;
  19830. begin
  19831. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19832. end;
  19833. procedure TUART2_U3AMODE.setUARTEN; inline;
  19834. begin
  19835. pTDefRegMap(@Self)^.&set := $00008000;
  19836. end;
  19837. procedure TUART2_U3AMODE.clearUARTEN; inline;
  19838. begin
  19839. pTDefRegMap(@Self)^.clr := $00008000;
  19840. end;
  19841. procedure TUART2_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  19842. begin
  19843. if thebits = 0 then
  19844. pTDefRegMap(@Self)^.clr := $00008000
  19845. else
  19846. pTDefRegMap(@Self)^.&set := $00008000;
  19847. end;
  19848. function TUART2_U3AMODE.getUARTEN : TBits_1; inline;
  19849. begin
  19850. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19851. end;
  19852. procedure TUART2_U3AMODE.setw(thebits : TBits_32); inline;
  19853. begin
  19854. pTDefRegMap(@Self)^.val := thebits;
  19855. end;
  19856. function TUART2_U3AMODE.getw : TBits_32; inline;
  19857. begin
  19858. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19859. end;
  19860. procedure TUART2_U2STA.setURXDA; inline;
  19861. begin
  19862. pTDefRegMap(@Self)^.&set := $00000001;
  19863. end;
  19864. procedure TUART2_U2STA.clearURXDA; inline;
  19865. begin
  19866. pTDefRegMap(@Self)^.clr := $00000001;
  19867. end;
  19868. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  19869. begin
  19870. if thebits = 0 then
  19871. pTDefRegMap(@Self)^.clr := $00000001
  19872. else
  19873. pTDefRegMap(@Self)^.&set := $00000001;
  19874. end;
  19875. function TUART2_U2STA.getURXDA : TBits_1; inline;
  19876. begin
  19877. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19878. end;
  19879. procedure TUART2_U2STA.setOERR; inline;
  19880. begin
  19881. pTDefRegMap(@Self)^.&set := $00000002;
  19882. end;
  19883. procedure TUART2_U2STA.clearOERR; inline;
  19884. begin
  19885. pTDefRegMap(@Self)^.clr := $00000002;
  19886. end;
  19887. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  19888. begin
  19889. if thebits = 0 then
  19890. pTDefRegMap(@Self)^.clr := $00000002
  19891. else
  19892. pTDefRegMap(@Self)^.&set := $00000002;
  19893. end;
  19894. function TUART2_U2STA.getOERR : TBits_1; inline;
  19895. begin
  19896. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19897. end;
  19898. procedure TUART2_U2STA.setFERR; inline;
  19899. begin
  19900. pTDefRegMap(@Self)^.&set := $00000004;
  19901. end;
  19902. procedure TUART2_U2STA.clearFERR; inline;
  19903. begin
  19904. pTDefRegMap(@Self)^.clr := $00000004;
  19905. end;
  19906. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  19907. begin
  19908. if thebits = 0 then
  19909. pTDefRegMap(@Self)^.clr := $00000004
  19910. else
  19911. pTDefRegMap(@Self)^.&set := $00000004;
  19912. end;
  19913. function TUART2_U2STA.getFERR : TBits_1; inline;
  19914. begin
  19915. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19916. end;
  19917. procedure TUART2_U2STA.setPERR; inline;
  19918. begin
  19919. pTDefRegMap(@Self)^.&set := $00000008;
  19920. end;
  19921. procedure TUART2_U2STA.clearPERR; inline;
  19922. begin
  19923. pTDefRegMap(@Self)^.clr := $00000008;
  19924. end;
  19925. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  19926. begin
  19927. if thebits = 0 then
  19928. pTDefRegMap(@Self)^.clr := $00000008
  19929. else
  19930. pTDefRegMap(@Self)^.&set := $00000008;
  19931. end;
  19932. function TUART2_U2STA.getPERR : TBits_1; inline;
  19933. begin
  19934. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19935. end;
  19936. procedure TUART2_U2STA.setRIDLE; inline;
  19937. begin
  19938. pTDefRegMap(@Self)^.&set := $00000010;
  19939. end;
  19940. procedure TUART2_U2STA.clearRIDLE; inline;
  19941. begin
  19942. pTDefRegMap(@Self)^.clr := $00000010;
  19943. end;
  19944. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  19945. begin
  19946. if thebits = 0 then
  19947. pTDefRegMap(@Self)^.clr := $00000010
  19948. else
  19949. pTDefRegMap(@Self)^.&set := $00000010;
  19950. end;
  19951. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  19952. begin
  19953. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19954. end;
  19955. procedure TUART2_U2STA.setADDEN; inline;
  19956. begin
  19957. pTDefRegMap(@Self)^.&set := $00000020;
  19958. end;
  19959. procedure TUART2_U2STA.clearADDEN; inline;
  19960. begin
  19961. pTDefRegMap(@Self)^.clr := $00000020;
  19962. end;
  19963. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  19964. begin
  19965. if thebits = 0 then
  19966. pTDefRegMap(@Self)^.clr := $00000020
  19967. else
  19968. pTDefRegMap(@Self)^.&set := $00000020;
  19969. end;
  19970. function TUART2_U2STA.getADDEN : TBits_1; inline;
  19971. begin
  19972. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19973. end;
  19974. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  19975. begin
  19976. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19977. end;
  19978. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  19979. begin
  19980. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19981. end;
  19982. procedure TUART2_U2STA.setTRMT; inline;
  19983. begin
  19984. pTDefRegMap(@Self)^.&set := $00000100;
  19985. end;
  19986. procedure TUART2_U2STA.clearTRMT; inline;
  19987. begin
  19988. pTDefRegMap(@Self)^.clr := $00000100;
  19989. end;
  19990. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  19991. begin
  19992. if thebits = 0 then
  19993. pTDefRegMap(@Self)^.clr := $00000100
  19994. else
  19995. pTDefRegMap(@Self)^.&set := $00000100;
  19996. end;
  19997. function TUART2_U2STA.getTRMT : TBits_1; inline;
  19998. begin
  19999. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20000. end;
  20001. procedure TUART2_U2STA.setUTXBF; inline;
  20002. begin
  20003. pTDefRegMap(@Self)^.&set := $00000200;
  20004. end;
  20005. procedure TUART2_U2STA.clearUTXBF; inline;
  20006. begin
  20007. pTDefRegMap(@Self)^.clr := $00000200;
  20008. end;
  20009. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  20010. begin
  20011. if thebits = 0 then
  20012. pTDefRegMap(@Self)^.clr := $00000200
  20013. else
  20014. pTDefRegMap(@Self)^.&set := $00000200;
  20015. end;
  20016. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  20017. begin
  20018. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20019. end;
  20020. procedure TUART2_U2STA.setUTXEN; inline;
  20021. begin
  20022. pTDefRegMap(@Self)^.&set := $00000400;
  20023. end;
  20024. procedure TUART2_U2STA.clearUTXEN; inline;
  20025. begin
  20026. pTDefRegMap(@Self)^.clr := $00000400;
  20027. end;
  20028. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  20029. begin
  20030. if thebits = 0 then
  20031. pTDefRegMap(@Self)^.clr := $00000400
  20032. else
  20033. pTDefRegMap(@Self)^.&set := $00000400;
  20034. end;
  20035. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  20036. begin
  20037. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20038. end;
  20039. procedure TUART2_U2STA.setUTXBRK; inline;
  20040. begin
  20041. pTDefRegMap(@Self)^.&set := $00000800;
  20042. end;
  20043. procedure TUART2_U2STA.clearUTXBRK; inline;
  20044. begin
  20045. pTDefRegMap(@Self)^.clr := $00000800;
  20046. end;
  20047. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  20048. begin
  20049. if thebits = 0 then
  20050. pTDefRegMap(@Self)^.clr := $00000800
  20051. else
  20052. pTDefRegMap(@Self)^.&set := $00000800;
  20053. end;
  20054. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  20055. begin
  20056. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20057. end;
  20058. procedure TUART2_U2STA.setURXEN; inline;
  20059. begin
  20060. pTDefRegMap(@Self)^.&set := $00001000;
  20061. end;
  20062. procedure TUART2_U2STA.clearURXEN; inline;
  20063. begin
  20064. pTDefRegMap(@Self)^.clr := $00001000;
  20065. end;
  20066. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  20067. begin
  20068. if thebits = 0 then
  20069. pTDefRegMap(@Self)^.clr := $00001000
  20070. else
  20071. pTDefRegMap(@Self)^.&set := $00001000;
  20072. end;
  20073. function TUART2_U2STA.getURXEN : TBits_1; inline;
  20074. begin
  20075. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20076. end;
  20077. procedure TUART2_U2STA.setUTXINV; inline;
  20078. begin
  20079. pTDefRegMap(@Self)^.&set := $00002000;
  20080. end;
  20081. procedure TUART2_U2STA.clearUTXINV; inline;
  20082. begin
  20083. pTDefRegMap(@Self)^.clr := $00002000;
  20084. end;
  20085. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  20086. begin
  20087. if thebits = 0 then
  20088. pTDefRegMap(@Self)^.clr := $00002000
  20089. else
  20090. pTDefRegMap(@Self)^.&set := $00002000;
  20091. end;
  20092. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  20093. begin
  20094. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20095. end;
  20096. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  20097. begin
  20098. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20099. end;
  20100. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  20101. begin
  20102. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20103. end;
  20104. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  20105. begin
  20106. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20107. end;
  20108. function TUART2_U2STA.getADDR : TBits_8; inline;
  20109. begin
  20110. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20111. end;
  20112. procedure TUART2_U2STA.setADM_EN; inline;
  20113. begin
  20114. pTDefRegMap(@Self)^.&set := $01000000;
  20115. end;
  20116. procedure TUART2_U2STA.clearADM_EN; inline;
  20117. begin
  20118. pTDefRegMap(@Self)^.clr := $01000000;
  20119. end;
  20120. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  20121. begin
  20122. if thebits = 0 then
  20123. pTDefRegMap(@Self)^.clr := $01000000
  20124. else
  20125. pTDefRegMap(@Self)^.&set := $01000000;
  20126. end;
  20127. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  20128. begin
  20129. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20130. end;
  20131. procedure TUART2_U2STA.setURXISEL0; inline;
  20132. begin
  20133. pTDefRegMap(@Self)^.&set := $00000040;
  20134. end;
  20135. procedure TUART2_U2STA.clearURXISEL0; inline;
  20136. begin
  20137. pTDefRegMap(@Self)^.clr := $00000040;
  20138. end;
  20139. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  20140. begin
  20141. if thebits = 0 then
  20142. pTDefRegMap(@Self)^.clr := $00000040
  20143. else
  20144. pTDefRegMap(@Self)^.&set := $00000040;
  20145. end;
  20146. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  20147. begin
  20148. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20149. end;
  20150. procedure TUART2_U2STA.setURXISEL1; inline;
  20151. begin
  20152. pTDefRegMap(@Self)^.&set := $00000080;
  20153. end;
  20154. procedure TUART2_U2STA.clearURXISEL1; inline;
  20155. begin
  20156. pTDefRegMap(@Self)^.clr := $00000080;
  20157. end;
  20158. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  20159. begin
  20160. if thebits = 0 then
  20161. pTDefRegMap(@Self)^.clr := $00000080
  20162. else
  20163. pTDefRegMap(@Self)^.&set := $00000080;
  20164. end;
  20165. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  20166. begin
  20167. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20168. end;
  20169. procedure TUART2_U2STA.setUTXISEL0; inline;
  20170. begin
  20171. pTDefRegMap(@Self)^.&set := $00004000;
  20172. end;
  20173. procedure TUART2_U2STA.clearUTXISEL0; inline;
  20174. begin
  20175. pTDefRegMap(@Self)^.clr := $00004000;
  20176. end;
  20177. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  20178. begin
  20179. if thebits = 0 then
  20180. pTDefRegMap(@Self)^.clr := $00004000
  20181. else
  20182. pTDefRegMap(@Self)^.&set := $00004000;
  20183. end;
  20184. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  20185. begin
  20186. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20187. end;
  20188. procedure TUART2_U2STA.setUTXISEL1; inline;
  20189. begin
  20190. pTDefRegMap(@Self)^.&set := $00008000;
  20191. end;
  20192. procedure TUART2_U2STA.clearUTXISEL1; inline;
  20193. begin
  20194. pTDefRegMap(@Self)^.clr := $00008000;
  20195. end;
  20196. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  20197. begin
  20198. if thebits = 0 then
  20199. pTDefRegMap(@Self)^.clr := $00008000
  20200. else
  20201. pTDefRegMap(@Self)^.&set := $00008000;
  20202. end;
  20203. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  20204. begin
  20205. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20206. end;
  20207. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  20208. begin
  20209. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20210. end;
  20211. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  20212. begin
  20213. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20214. end;
  20215. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  20216. begin
  20217. pTDefRegMap(@Self)^.val := thebits;
  20218. end;
  20219. function TUART2_U2STA.getw : TBits_32; inline;
  20220. begin
  20221. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20222. end;
  20223. procedure TUART2_U3ASTA.setURXDA; inline;
  20224. begin
  20225. pTDefRegMap(@Self)^.&set := $00000001;
  20226. end;
  20227. procedure TUART2_U3ASTA.clearURXDA; inline;
  20228. begin
  20229. pTDefRegMap(@Self)^.clr := $00000001;
  20230. end;
  20231. procedure TUART2_U3ASTA.setURXDA(thebits : TBits_1); inline;
  20232. begin
  20233. if thebits = 0 then
  20234. pTDefRegMap(@Self)^.clr := $00000001
  20235. else
  20236. pTDefRegMap(@Self)^.&set := $00000001;
  20237. end;
  20238. function TUART2_U3ASTA.getURXDA : TBits_1; inline;
  20239. begin
  20240. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20241. end;
  20242. procedure TUART2_U3ASTA.setOERR; inline;
  20243. begin
  20244. pTDefRegMap(@Self)^.&set := $00000002;
  20245. end;
  20246. procedure TUART2_U3ASTA.clearOERR; inline;
  20247. begin
  20248. pTDefRegMap(@Self)^.clr := $00000002;
  20249. end;
  20250. procedure TUART2_U3ASTA.setOERR(thebits : TBits_1); inline;
  20251. begin
  20252. if thebits = 0 then
  20253. pTDefRegMap(@Self)^.clr := $00000002
  20254. else
  20255. pTDefRegMap(@Self)^.&set := $00000002;
  20256. end;
  20257. function TUART2_U3ASTA.getOERR : TBits_1; inline;
  20258. begin
  20259. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20260. end;
  20261. procedure TUART2_U3ASTA.setFERR; inline;
  20262. begin
  20263. pTDefRegMap(@Self)^.&set := $00000004;
  20264. end;
  20265. procedure TUART2_U3ASTA.clearFERR; inline;
  20266. begin
  20267. pTDefRegMap(@Self)^.clr := $00000004;
  20268. end;
  20269. procedure TUART2_U3ASTA.setFERR(thebits : TBits_1); inline;
  20270. begin
  20271. if thebits = 0 then
  20272. pTDefRegMap(@Self)^.clr := $00000004
  20273. else
  20274. pTDefRegMap(@Self)^.&set := $00000004;
  20275. end;
  20276. function TUART2_U3ASTA.getFERR : TBits_1; inline;
  20277. begin
  20278. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20279. end;
  20280. procedure TUART2_U3ASTA.setPERR; inline;
  20281. begin
  20282. pTDefRegMap(@Self)^.&set := $00000008;
  20283. end;
  20284. procedure TUART2_U3ASTA.clearPERR; inline;
  20285. begin
  20286. pTDefRegMap(@Self)^.clr := $00000008;
  20287. end;
  20288. procedure TUART2_U3ASTA.setPERR(thebits : TBits_1); inline;
  20289. begin
  20290. if thebits = 0 then
  20291. pTDefRegMap(@Self)^.clr := $00000008
  20292. else
  20293. pTDefRegMap(@Self)^.&set := $00000008;
  20294. end;
  20295. function TUART2_U3ASTA.getPERR : TBits_1; inline;
  20296. begin
  20297. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20298. end;
  20299. procedure TUART2_U3ASTA.setRIDLE; inline;
  20300. begin
  20301. pTDefRegMap(@Self)^.&set := $00000010;
  20302. end;
  20303. procedure TUART2_U3ASTA.clearRIDLE; inline;
  20304. begin
  20305. pTDefRegMap(@Self)^.clr := $00000010;
  20306. end;
  20307. procedure TUART2_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  20308. begin
  20309. if thebits = 0 then
  20310. pTDefRegMap(@Self)^.clr := $00000010
  20311. else
  20312. pTDefRegMap(@Self)^.&set := $00000010;
  20313. end;
  20314. function TUART2_U3ASTA.getRIDLE : TBits_1; inline;
  20315. begin
  20316. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20317. end;
  20318. procedure TUART2_U3ASTA.setADDEN; inline;
  20319. begin
  20320. pTDefRegMap(@Self)^.&set := $00000020;
  20321. end;
  20322. procedure TUART2_U3ASTA.clearADDEN; inline;
  20323. begin
  20324. pTDefRegMap(@Self)^.clr := $00000020;
  20325. end;
  20326. procedure TUART2_U3ASTA.setADDEN(thebits : TBits_1); inline;
  20327. begin
  20328. if thebits = 0 then
  20329. pTDefRegMap(@Self)^.clr := $00000020
  20330. else
  20331. pTDefRegMap(@Self)^.&set := $00000020;
  20332. end;
  20333. function TUART2_U3ASTA.getADDEN : TBits_1; inline;
  20334. begin
  20335. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20336. end;
  20337. procedure TUART2_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  20338. begin
  20339. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20340. end;
  20341. function TUART2_U3ASTA.getURXISEL : TBits_2; inline;
  20342. begin
  20343. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20344. end;
  20345. procedure TUART2_U3ASTA.setTRMT; inline;
  20346. begin
  20347. pTDefRegMap(@Self)^.&set := $00000100;
  20348. end;
  20349. procedure TUART2_U3ASTA.clearTRMT; inline;
  20350. begin
  20351. pTDefRegMap(@Self)^.clr := $00000100;
  20352. end;
  20353. procedure TUART2_U3ASTA.setTRMT(thebits : TBits_1); inline;
  20354. begin
  20355. if thebits = 0 then
  20356. pTDefRegMap(@Self)^.clr := $00000100
  20357. else
  20358. pTDefRegMap(@Self)^.&set := $00000100;
  20359. end;
  20360. function TUART2_U3ASTA.getTRMT : TBits_1; inline;
  20361. begin
  20362. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20363. end;
  20364. procedure TUART2_U3ASTA.setUTXBF; inline;
  20365. begin
  20366. pTDefRegMap(@Self)^.&set := $00000200;
  20367. end;
  20368. procedure TUART2_U3ASTA.clearUTXBF; inline;
  20369. begin
  20370. pTDefRegMap(@Self)^.clr := $00000200;
  20371. end;
  20372. procedure TUART2_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  20373. begin
  20374. if thebits = 0 then
  20375. pTDefRegMap(@Self)^.clr := $00000200
  20376. else
  20377. pTDefRegMap(@Self)^.&set := $00000200;
  20378. end;
  20379. function TUART2_U3ASTA.getUTXBF : TBits_1; inline;
  20380. begin
  20381. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20382. end;
  20383. procedure TUART2_U3ASTA.setUTXEN; inline;
  20384. begin
  20385. pTDefRegMap(@Self)^.&set := $00000400;
  20386. end;
  20387. procedure TUART2_U3ASTA.clearUTXEN; inline;
  20388. begin
  20389. pTDefRegMap(@Self)^.clr := $00000400;
  20390. end;
  20391. procedure TUART2_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  20392. begin
  20393. if thebits = 0 then
  20394. pTDefRegMap(@Self)^.clr := $00000400
  20395. else
  20396. pTDefRegMap(@Self)^.&set := $00000400;
  20397. end;
  20398. function TUART2_U3ASTA.getUTXEN : TBits_1; inline;
  20399. begin
  20400. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20401. end;
  20402. procedure TUART2_U3ASTA.setUTXBRK; inline;
  20403. begin
  20404. pTDefRegMap(@Self)^.&set := $00000800;
  20405. end;
  20406. procedure TUART2_U3ASTA.clearUTXBRK; inline;
  20407. begin
  20408. pTDefRegMap(@Self)^.clr := $00000800;
  20409. end;
  20410. procedure TUART2_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  20411. begin
  20412. if thebits = 0 then
  20413. pTDefRegMap(@Self)^.clr := $00000800
  20414. else
  20415. pTDefRegMap(@Self)^.&set := $00000800;
  20416. end;
  20417. function TUART2_U3ASTA.getUTXBRK : TBits_1; inline;
  20418. begin
  20419. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20420. end;
  20421. procedure TUART2_U3ASTA.setURXEN; inline;
  20422. begin
  20423. pTDefRegMap(@Self)^.&set := $00001000;
  20424. end;
  20425. procedure TUART2_U3ASTA.clearURXEN; inline;
  20426. begin
  20427. pTDefRegMap(@Self)^.clr := $00001000;
  20428. end;
  20429. procedure TUART2_U3ASTA.setURXEN(thebits : TBits_1); inline;
  20430. begin
  20431. if thebits = 0 then
  20432. pTDefRegMap(@Self)^.clr := $00001000
  20433. else
  20434. pTDefRegMap(@Self)^.&set := $00001000;
  20435. end;
  20436. function TUART2_U3ASTA.getURXEN : TBits_1; inline;
  20437. begin
  20438. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20439. end;
  20440. procedure TUART2_U3ASTA.setUTXINV; inline;
  20441. begin
  20442. pTDefRegMap(@Self)^.&set := $00002000;
  20443. end;
  20444. procedure TUART2_U3ASTA.clearUTXINV; inline;
  20445. begin
  20446. pTDefRegMap(@Self)^.clr := $00002000;
  20447. end;
  20448. procedure TUART2_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  20449. begin
  20450. if thebits = 0 then
  20451. pTDefRegMap(@Self)^.clr := $00002000
  20452. else
  20453. pTDefRegMap(@Self)^.&set := $00002000;
  20454. end;
  20455. function TUART2_U3ASTA.getUTXINV : TBits_1; inline;
  20456. begin
  20457. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20458. end;
  20459. procedure TUART2_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  20460. begin
  20461. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20462. end;
  20463. function TUART2_U3ASTA.getUTXISEL : TBits_2; inline;
  20464. begin
  20465. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20466. end;
  20467. procedure TUART2_U3ASTA.setADDR(thebits : TBits_8); inline;
  20468. begin
  20469. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20470. end;
  20471. function TUART2_U3ASTA.getADDR : TBits_8; inline;
  20472. begin
  20473. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20474. end;
  20475. procedure TUART2_U3ASTA.setADM_EN; inline;
  20476. begin
  20477. pTDefRegMap(@Self)^.&set := $01000000;
  20478. end;
  20479. procedure TUART2_U3ASTA.clearADM_EN; inline;
  20480. begin
  20481. pTDefRegMap(@Self)^.clr := $01000000;
  20482. end;
  20483. procedure TUART2_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  20484. begin
  20485. if thebits = 0 then
  20486. pTDefRegMap(@Self)^.clr := $01000000
  20487. else
  20488. pTDefRegMap(@Self)^.&set := $01000000;
  20489. end;
  20490. function TUART2_U3ASTA.getADM_EN : TBits_1; inline;
  20491. begin
  20492. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20493. end;
  20494. procedure TUART2_U3ASTA.setURXISEL0; inline;
  20495. begin
  20496. pTDefRegMap(@Self)^.&set := $00000040;
  20497. end;
  20498. procedure TUART2_U3ASTA.clearURXISEL0; inline;
  20499. begin
  20500. pTDefRegMap(@Self)^.clr := $00000040;
  20501. end;
  20502. procedure TUART2_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  20503. begin
  20504. if thebits = 0 then
  20505. pTDefRegMap(@Self)^.clr := $00000040
  20506. else
  20507. pTDefRegMap(@Self)^.&set := $00000040;
  20508. end;
  20509. function TUART2_U3ASTA.getURXISEL0 : TBits_1; inline;
  20510. begin
  20511. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20512. end;
  20513. procedure TUART2_U3ASTA.setURXISEL1; inline;
  20514. begin
  20515. pTDefRegMap(@Self)^.&set := $00000080;
  20516. end;
  20517. procedure TUART2_U3ASTA.clearURXISEL1; inline;
  20518. begin
  20519. pTDefRegMap(@Self)^.clr := $00000080;
  20520. end;
  20521. procedure TUART2_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  20522. begin
  20523. if thebits = 0 then
  20524. pTDefRegMap(@Self)^.clr := $00000080
  20525. else
  20526. pTDefRegMap(@Self)^.&set := $00000080;
  20527. end;
  20528. function TUART2_U3ASTA.getURXISEL1 : TBits_1; inline;
  20529. begin
  20530. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20531. end;
  20532. procedure TUART2_U3ASTA.setUTXISEL0; inline;
  20533. begin
  20534. pTDefRegMap(@Self)^.&set := $00004000;
  20535. end;
  20536. procedure TUART2_U3ASTA.clearUTXISEL0; inline;
  20537. begin
  20538. pTDefRegMap(@Self)^.clr := $00004000;
  20539. end;
  20540. procedure TUART2_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  20541. begin
  20542. if thebits = 0 then
  20543. pTDefRegMap(@Self)^.clr := $00004000
  20544. else
  20545. pTDefRegMap(@Self)^.&set := $00004000;
  20546. end;
  20547. function TUART2_U3ASTA.getUTXISEL0 : TBits_1; inline;
  20548. begin
  20549. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20550. end;
  20551. procedure TUART2_U3ASTA.setUTXISEL1; inline;
  20552. begin
  20553. pTDefRegMap(@Self)^.&set := $00008000;
  20554. end;
  20555. procedure TUART2_U3ASTA.clearUTXISEL1; inline;
  20556. begin
  20557. pTDefRegMap(@Self)^.clr := $00008000;
  20558. end;
  20559. procedure TUART2_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  20560. begin
  20561. if thebits = 0 then
  20562. pTDefRegMap(@Self)^.clr := $00008000
  20563. else
  20564. pTDefRegMap(@Self)^.&set := $00008000;
  20565. end;
  20566. function TUART2_U3ASTA.getUTXISEL1 : TBits_1; inline;
  20567. begin
  20568. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20569. end;
  20570. procedure TUART2_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  20571. begin
  20572. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20573. end;
  20574. function TUART2_U3ASTA.getUTXSEL : TBits_2; inline;
  20575. begin
  20576. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20577. end;
  20578. procedure TUART2_U3ASTA.setw(thebits : TBits_32); inline;
  20579. begin
  20580. pTDefRegMap(@Self)^.val := thebits;
  20581. end;
  20582. function TUART2_U3ASTA.getw : TBits_32; inline;
  20583. begin
  20584. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20585. end;
  20586. procedure TPMP_PMCON.setRDSP; inline;
  20587. begin
  20588. pTDefRegMap(@Self)^.&set := $00000001;
  20589. end;
  20590. procedure TPMP_PMCON.clearRDSP; inline;
  20591. begin
  20592. pTDefRegMap(@Self)^.clr := $00000001;
  20593. end;
  20594. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  20595. begin
  20596. if thebits = 0 then
  20597. pTDefRegMap(@Self)^.clr := $00000001
  20598. else
  20599. pTDefRegMap(@Self)^.&set := $00000001;
  20600. end;
  20601. function TPMP_PMCON.getRDSP : TBits_1; inline;
  20602. begin
  20603. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20604. end;
  20605. procedure TPMP_PMCON.setWRSP; inline;
  20606. begin
  20607. pTDefRegMap(@Self)^.&set := $00000002;
  20608. end;
  20609. procedure TPMP_PMCON.clearWRSP; inline;
  20610. begin
  20611. pTDefRegMap(@Self)^.clr := $00000002;
  20612. end;
  20613. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  20614. begin
  20615. if thebits = 0 then
  20616. pTDefRegMap(@Self)^.clr := $00000002
  20617. else
  20618. pTDefRegMap(@Self)^.&set := $00000002;
  20619. end;
  20620. function TPMP_PMCON.getWRSP : TBits_1; inline;
  20621. begin
  20622. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20623. end;
  20624. procedure TPMP_PMCON.setCS1P; inline;
  20625. begin
  20626. pTDefRegMap(@Self)^.&set := $00000008;
  20627. end;
  20628. procedure TPMP_PMCON.clearCS1P; inline;
  20629. begin
  20630. pTDefRegMap(@Self)^.clr := $00000008;
  20631. end;
  20632. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  20633. begin
  20634. if thebits = 0 then
  20635. pTDefRegMap(@Self)^.clr := $00000008
  20636. else
  20637. pTDefRegMap(@Self)^.&set := $00000008;
  20638. end;
  20639. function TPMP_PMCON.getCS1P : TBits_1; inline;
  20640. begin
  20641. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20642. end;
  20643. procedure TPMP_PMCON.setALP; inline;
  20644. begin
  20645. pTDefRegMap(@Self)^.&set := $00000020;
  20646. end;
  20647. procedure TPMP_PMCON.clearALP; inline;
  20648. begin
  20649. pTDefRegMap(@Self)^.clr := $00000020;
  20650. end;
  20651. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  20652. begin
  20653. if thebits = 0 then
  20654. pTDefRegMap(@Self)^.clr := $00000020
  20655. else
  20656. pTDefRegMap(@Self)^.&set := $00000020;
  20657. end;
  20658. function TPMP_PMCON.getALP : TBits_1; inline;
  20659. begin
  20660. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20661. end;
  20662. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  20663. begin
  20664. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20665. end;
  20666. function TPMP_PMCON.getCSF : TBits_2; inline;
  20667. begin
  20668. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20669. end;
  20670. procedure TPMP_PMCON.setPTRDEN; inline;
  20671. begin
  20672. pTDefRegMap(@Self)^.&set := $00000100;
  20673. end;
  20674. procedure TPMP_PMCON.clearPTRDEN; inline;
  20675. begin
  20676. pTDefRegMap(@Self)^.clr := $00000100;
  20677. end;
  20678. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  20679. begin
  20680. if thebits = 0 then
  20681. pTDefRegMap(@Self)^.clr := $00000100
  20682. else
  20683. pTDefRegMap(@Self)^.&set := $00000100;
  20684. end;
  20685. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  20686. begin
  20687. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20688. end;
  20689. procedure TPMP_PMCON.setPTWREN; inline;
  20690. begin
  20691. pTDefRegMap(@Self)^.&set := $00000200;
  20692. end;
  20693. procedure TPMP_PMCON.clearPTWREN; inline;
  20694. begin
  20695. pTDefRegMap(@Self)^.clr := $00000200;
  20696. end;
  20697. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  20698. begin
  20699. if thebits = 0 then
  20700. pTDefRegMap(@Self)^.clr := $00000200
  20701. else
  20702. pTDefRegMap(@Self)^.&set := $00000200;
  20703. end;
  20704. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  20705. begin
  20706. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20707. end;
  20708. procedure TPMP_PMCON.setPMPTTL; inline;
  20709. begin
  20710. pTDefRegMap(@Self)^.&set := $00000400;
  20711. end;
  20712. procedure TPMP_PMCON.clearPMPTTL; inline;
  20713. begin
  20714. pTDefRegMap(@Self)^.clr := $00000400;
  20715. end;
  20716. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  20717. begin
  20718. if thebits = 0 then
  20719. pTDefRegMap(@Self)^.clr := $00000400
  20720. else
  20721. pTDefRegMap(@Self)^.&set := $00000400;
  20722. end;
  20723. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  20724. begin
  20725. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20726. end;
  20727. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  20728. begin
  20729. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  20730. end;
  20731. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  20732. begin
  20733. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  20734. end;
  20735. procedure TPMP_PMCON.setSIDL; inline;
  20736. begin
  20737. pTDefRegMap(@Self)^.&set := $00002000;
  20738. end;
  20739. procedure TPMP_PMCON.clearSIDL; inline;
  20740. begin
  20741. pTDefRegMap(@Self)^.clr := $00002000;
  20742. end;
  20743. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  20744. begin
  20745. if thebits = 0 then
  20746. pTDefRegMap(@Self)^.clr := $00002000
  20747. else
  20748. pTDefRegMap(@Self)^.&set := $00002000;
  20749. end;
  20750. function TPMP_PMCON.getSIDL : TBits_1; inline;
  20751. begin
  20752. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20753. end;
  20754. procedure TPMP_PMCON.setON; inline;
  20755. begin
  20756. pTDefRegMap(@Self)^.&set := $00008000;
  20757. end;
  20758. procedure TPMP_PMCON.clearON; inline;
  20759. begin
  20760. pTDefRegMap(@Self)^.clr := $00008000;
  20761. end;
  20762. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  20763. begin
  20764. if thebits = 0 then
  20765. pTDefRegMap(@Self)^.clr := $00008000
  20766. else
  20767. pTDefRegMap(@Self)^.&set := $00008000;
  20768. end;
  20769. function TPMP_PMCON.getON : TBits_1; inline;
  20770. begin
  20771. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20772. end;
  20773. procedure TPMP_PMCON.setCSF0; inline;
  20774. begin
  20775. pTDefRegMap(@Self)^.&set := $00000040;
  20776. end;
  20777. procedure TPMP_PMCON.clearCSF0; inline;
  20778. begin
  20779. pTDefRegMap(@Self)^.clr := $00000040;
  20780. end;
  20781. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  20782. begin
  20783. if thebits = 0 then
  20784. pTDefRegMap(@Self)^.clr := $00000040
  20785. else
  20786. pTDefRegMap(@Self)^.&set := $00000040;
  20787. end;
  20788. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  20789. begin
  20790. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20791. end;
  20792. procedure TPMP_PMCON.setCSF1; inline;
  20793. begin
  20794. pTDefRegMap(@Self)^.&set := $00000080;
  20795. end;
  20796. procedure TPMP_PMCON.clearCSF1; inline;
  20797. begin
  20798. pTDefRegMap(@Self)^.clr := $00000080;
  20799. end;
  20800. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  20801. begin
  20802. if thebits = 0 then
  20803. pTDefRegMap(@Self)^.clr := $00000080
  20804. else
  20805. pTDefRegMap(@Self)^.&set := $00000080;
  20806. end;
  20807. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  20808. begin
  20809. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20810. end;
  20811. procedure TPMP_PMCON.setADRMUX0; inline;
  20812. begin
  20813. pTDefRegMap(@Self)^.&set := $00000800;
  20814. end;
  20815. procedure TPMP_PMCON.clearADRMUX0; inline;
  20816. begin
  20817. pTDefRegMap(@Self)^.clr := $00000800;
  20818. end;
  20819. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  20820. begin
  20821. if thebits = 0 then
  20822. pTDefRegMap(@Self)^.clr := $00000800
  20823. else
  20824. pTDefRegMap(@Self)^.&set := $00000800;
  20825. end;
  20826. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  20827. begin
  20828. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20829. end;
  20830. procedure TPMP_PMCON.setADRMUX1; inline;
  20831. begin
  20832. pTDefRegMap(@Self)^.&set := $00001000;
  20833. end;
  20834. procedure TPMP_PMCON.clearADRMUX1; inline;
  20835. begin
  20836. pTDefRegMap(@Self)^.clr := $00001000;
  20837. end;
  20838. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  20839. begin
  20840. if thebits = 0 then
  20841. pTDefRegMap(@Self)^.clr := $00001000
  20842. else
  20843. pTDefRegMap(@Self)^.&set := $00001000;
  20844. end;
  20845. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  20846. begin
  20847. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20848. end;
  20849. procedure TPMP_PMCON.setPSIDL; inline;
  20850. begin
  20851. pTDefRegMap(@Self)^.&set := $00002000;
  20852. end;
  20853. procedure TPMP_PMCON.clearPSIDL; inline;
  20854. begin
  20855. pTDefRegMap(@Self)^.clr := $00002000;
  20856. end;
  20857. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  20858. begin
  20859. if thebits = 0 then
  20860. pTDefRegMap(@Self)^.clr := $00002000
  20861. else
  20862. pTDefRegMap(@Self)^.&set := $00002000;
  20863. end;
  20864. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  20865. begin
  20866. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20867. end;
  20868. procedure TPMP_PMCON.setPMPEN; inline;
  20869. begin
  20870. pTDefRegMap(@Self)^.&set := $00008000;
  20871. end;
  20872. procedure TPMP_PMCON.clearPMPEN; inline;
  20873. begin
  20874. pTDefRegMap(@Self)^.clr := $00008000;
  20875. end;
  20876. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  20877. begin
  20878. if thebits = 0 then
  20879. pTDefRegMap(@Self)^.clr := $00008000
  20880. else
  20881. pTDefRegMap(@Self)^.&set := $00008000;
  20882. end;
  20883. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  20884. begin
  20885. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20886. end;
  20887. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  20888. begin
  20889. pTDefRegMap(@Self)^.val := thebits;
  20890. end;
  20891. function TPMP_PMCON.getw : TBits_32; inline;
  20892. begin
  20893. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20894. end;
  20895. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  20896. begin
  20897. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  20898. end;
  20899. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  20900. begin
  20901. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  20902. end;
  20903. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  20904. begin
  20905. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  20906. end;
  20907. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  20908. begin
  20909. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  20910. end;
  20911. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  20912. begin
  20913. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20914. end;
  20915. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  20916. begin
  20917. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20918. end;
  20919. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  20920. begin
  20921. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  20922. end;
  20923. function TPMP_PMMODE.getMODE : TBits_2; inline;
  20924. begin
  20925. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  20926. end;
  20927. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  20928. begin
  20929. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  20930. end;
  20931. function TPMP_PMMODE.getINCM : TBits_2; inline;
  20932. begin
  20933. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  20934. end;
  20935. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  20936. begin
  20937. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  20938. end;
  20939. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  20940. begin
  20941. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  20942. end;
  20943. procedure TPMP_PMMODE.setBUSY; inline;
  20944. begin
  20945. pTDefRegMap(@Self)^.&set := $00008000;
  20946. end;
  20947. procedure TPMP_PMMODE.clearBUSY; inline;
  20948. begin
  20949. pTDefRegMap(@Self)^.clr := $00008000;
  20950. end;
  20951. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  20952. begin
  20953. if thebits = 0 then
  20954. pTDefRegMap(@Self)^.clr := $00008000
  20955. else
  20956. pTDefRegMap(@Self)^.&set := $00008000;
  20957. end;
  20958. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  20959. begin
  20960. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20961. end;
  20962. procedure TPMP_PMMODE.setWAITE0; inline;
  20963. begin
  20964. pTDefRegMap(@Self)^.&set := $00000001;
  20965. end;
  20966. procedure TPMP_PMMODE.clearWAITE0; inline;
  20967. begin
  20968. pTDefRegMap(@Self)^.clr := $00000001;
  20969. end;
  20970. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  20971. begin
  20972. if thebits = 0 then
  20973. pTDefRegMap(@Self)^.clr := $00000001
  20974. else
  20975. pTDefRegMap(@Self)^.&set := $00000001;
  20976. end;
  20977. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  20978. begin
  20979. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20980. end;
  20981. procedure TPMP_PMMODE.setWAITE1; inline;
  20982. begin
  20983. pTDefRegMap(@Self)^.&set := $00000002;
  20984. end;
  20985. procedure TPMP_PMMODE.clearWAITE1; inline;
  20986. begin
  20987. pTDefRegMap(@Self)^.clr := $00000002;
  20988. end;
  20989. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  20990. begin
  20991. if thebits = 0 then
  20992. pTDefRegMap(@Self)^.clr := $00000002
  20993. else
  20994. pTDefRegMap(@Self)^.&set := $00000002;
  20995. end;
  20996. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  20997. begin
  20998. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20999. end;
  21000. procedure TPMP_PMMODE.setWAITM0; inline;
  21001. begin
  21002. pTDefRegMap(@Self)^.&set := $00000004;
  21003. end;
  21004. procedure TPMP_PMMODE.clearWAITM0; inline;
  21005. begin
  21006. pTDefRegMap(@Self)^.clr := $00000004;
  21007. end;
  21008. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  21009. begin
  21010. if thebits = 0 then
  21011. pTDefRegMap(@Self)^.clr := $00000004
  21012. else
  21013. pTDefRegMap(@Self)^.&set := $00000004;
  21014. end;
  21015. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  21016. begin
  21017. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21018. end;
  21019. procedure TPMP_PMMODE.setWAITM1; inline;
  21020. begin
  21021. pTDefRegMap(@Self)^.&set := $00000008;
  21022. end;
  21023. procedure TPMP_PMMODE.clearWAITM1; inline;
  21024. begin
  21025. pTDefRegMap(@Self)^.clr := $00000008;
  21026. end;
  21027. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  21028. begin
  21029. if thebits = 0 then
  21030. pTDefRegMap(@Self)^.clr := $00000008
  21031. else
  21032. pTDefRegMap(@Self)^.&set := $00000008;
  21033. end;
  21034. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  21035. begin
  21036. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21037. end;
  21038. procedure TPMP_PMMODE.setWAITM2; inline;
  21039. begin
  21040. pTDefRegMap(@Self)^.&set := $00000010;
  21041. end;
  21042. procedure TPMP_PMMODE.clearWAITM2; inline;
  21043. begin
  21044. pTDefRegMap(@Self)^.clr := $00000010;
  21045. end;
  21046. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  21047. begin
  21048. if thebits = 0 then
  21049. pTDefRegMap(@Self)^.clr := $00000010
  21050. else
  21051. pTDefRegMap(@Self)^.&set := $00000010;
  21052. end;
  21053. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  21054. begin
  21055. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21056. end;
  21057. procedure TPMP_PMMODE.setWAITM3; inline;
  21058. begin
  21059. pTDefRegMap(@Self)^.&set := $00000020;
  21060. end;
  21061. procedure TPMP_PMMODE.clearWAITM3; inline;
  21062. begin
  21063. pTDefRegMap(@Self)^.clr := $00000020;
  21064. end;
  21065. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  21066. begin
  21067. if thebits = 0 then
  21068. pTDefRegMap(@Self)^.clr := $00000020
  21069. else
  21070. pTDefRegMap(@Self)^.&set := $00000020;
  21071. end;
  21072. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  21073. begin
  21074. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21075. end;
  21076. procedure TPMP_PMMODE.setWAITB0; inline;
  21077. begin
  21078. pTDefRegMap(@Self)^.&set := $00000040;
  21079. end;
  21080. procedure TPMP_PMMODE.clearWAITB0; inline;
  21081. begin
  21082. pTDefRegMap(@Self)^.clr := $00000040;
  21083. end;
  21084. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  21085. begin
  21086. if thebits = 0 then
  21087. pTDefRegMap(@Self)^.clr := $00000040
  21088. else
  21089. pTDefRegMap(@Self)^.&set := $00000040;
  21090. end;
  21091. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  21092. begin
  21093. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21094. end;
  21095. procedure TPMP_PMMODE.setWAITB1; inline;
  21096. begin
  21097. pTDefRegMap(@Self)^.&set := $00000080;
  21098. end;
  21099. procedure TPMP_PMMODE.clearWAITB1; inline;
  21100. begin
  21101. pTDefRegMap(@Self)^.clr := $00000080;
  21102. end;
  21103. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  21104. begin
  21105. if thebits = 0 then
  21106. pTDefRegMap(@Self)^.clr := $00000080
  21107. else
  21108. pTDefRegMap(@Self)^.&set := $00000080;
  21109. end;
  21110. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  21111. begin
  21112. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21113. end;
  21114. procedure TPMP_PMMODE.setMODE0; inline;
  21115. begin
  21116. pTDefRegMap(@Self)^.&set := $00000100;
  21117. end;
  21118. procedure TPMP_PMMODE.clearMODE0; inline;
  21119. begin
  21120. pTDefRegMap(@Self)^.clr := $00000100;
  21121. end;
  21122. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  21123. begin
  21124. if thebits = 0 then
  21125. pTDefRegMap(@Self)^.clr := $00000100
  21126. else
  21127. pTDefRegMap(@Self)^.&set := $00000100;
  21128. end;
  21129. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  21130. begin
  21131. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21132. end;
  21133. procedure TPMP_PMMODE.setMODE1; inline;
  21134. begin
  21135. pTDefRegMap(@Self)^.&set := $00000200;
  21136. end;
  21137. procedure TPMP_PMMODE.clearMODE1; inline;
  21138. begin
  21139. pTDefRegMap(@Self)^.clr := $00000200;
  21140. end;
  21141. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  21142. begin
  21143. if thebits = 0 then
  21144. pTDefRegMap(@Self)^.clr := $00000200
  21145. else
  21146. pTDefRegMap(@Self)^.&set := $00000200;
  21147. end;
  21148. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  21149. begin
  21150. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21151. end;
  21152. procedure TPMP_PMMODE.setINCM0; inline;
  21153. begin
  21154. pTDefRegMap(@Self)^.&set := $00000800;
  21155. end;
  21156. procedure TPMP_PMMODE.clearINCM0; inline;
  21157. begin
  21158. pTDefRegMap(@Self)^.clr := $00000800;
  21159. end;
  21160. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  21161. begin
  21162. if thebits = 0 then
  21163. pTDefRegMap(@Self)^.clr := $00000800
  21164. else
  21165. pTDefRegMap(@Self)^.&set := $00000800;
  21166. end;
  21167. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  21168. begin
  21169. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21170. end;
  21171. procedure TPMP_PMMODE.setINCM1; inline;
  21172. begin
  21173. pTDefRegMap(@Self)^.&set := $00001000;
  21174. end;
  21175. procedure TPMP_PMMODE.clearINCM1; inline;
  21176. begin
  21177. pTDefRegMap(@Self)^.clr := $00001000;
  21178. end;
  21179. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  21180. begin
  21181. if thebits = 0 then
  21182. pTDefRegMap(@Self)^.clr := $00001000
  21183. else
  21184. pTDefRegMap(@Self)^.&set := $00001000;
  21185. end;
  21186. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  21187. begin
  21188. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21189. end;
  21190. procedure TPMP_PMMODE.setIRQM0; inline;
  21191. begin
  21192. pTDefRegMap(@Self)^.&set := $00002000;
  21193. end;
  21194. procedure TPMP_PMMODE.clearIRQM0; inline;
  21195. begin
  21196. pTDefRegMap(@Self)^.clr := $00002000;
  21197. end;
  21198. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  21199. begin
  21200. if thebits = 0 then
  21201. pTDefRegMap(@Self)^.clr := $00002000
  21202. else
  21203. pTDefRegMap(@Self)^.&set := $00002000;
  21204. end;
  21205. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  21206. begin
  21207. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21208. end;
  21209. procedure TPMP_PMMODE.setIRQM1; inline;
  21210. begin
  21211. pTDefRegMap(@Self)^.&set := $00004000;
  21212. end;
  21213. procedure TPMP_PMMODE.clearIRQM1; inline;
  21214. begin
  21215. pTDefRegMap(@Self)^.clr := $00004000;
  21216. end;
  21217. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  21218. begin
  21219. if thebits = 0 then
  21220. pTDefRegMap(@Self)^.clr := $00004000
  21221. else
  21222. pTDefRegMap(@Self)^.&set := $00004000;
  21223. end;
  21224. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  21225. begin
  21226. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21227. end;
  21228. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  21229. begin
  21230. pTDefRegMap(@Self)^.val := thebits;
  21231. end;
  21232. function TPMP_PMMODE.getw : TBits_32; inline;
  21233. begin
  21234. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21235. end;
  21236. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  21237. begin
  21238. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21239. end;
  21240. function TPMP_PMADDR.getADDR : TBits_14; inline;
  21241. begin
  21242. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21243. end;
  21244. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  21245. begin
  21246. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21247. end;
  21248. function TPMP_PMADDR.getCS : TBits_2; inline;
  21249. begin
  21250. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21251. end;
  21252. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  21253. begin
  21254. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21255. end;
  21256. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  21257. begin
  21258. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21259. end;
  21260. procedure TPMP_PMADDR.setCS1; inline;
  21261. begin
  21262. pTDefRegMap(@Self)^.&set := $00004000;
  21263. end;
  21264. procedure TPMP_PMADDR.clearCS1; inline;
  21265. begin
  21266. pTDefRegMap(@Self)^.clr := $00004000;
  21267. end;
  21268. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  21269. begin
  21270. if thebits = 0 then
  21271. pTDefRegMap(@Self)^.clr := $00004000
  21272. else
  21273. pTDefRegMap(@Self)^.&set := $00004000;
  21274. end;
  21275. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  21276. begin
  21277. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21278. end;
  21279. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  21280. begin
  21281. pTDefRegMap(@Self)^.val := thebits;
  21282. end;
  21283. function TPMP_PMADDR.getw : TBits_32; inline;
  21284. begin
  21285. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21286. end;
  21287. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  21288. begin
  21289. pTDefRegMap(@Self)^.val := thebits;
  21290. end;
  21291. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  21292. begin
  21293. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21294. end;
  21295. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  21296. begin
  21297. pTDefRegMap(@Self)^.val := thebits;
  21298. end;
  21299. function TPMP_PMDOUT.getw : TBits_32; inline;
  21300. begin
  21301. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21302. end;
  21303. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  21304. begin
  21305. pTDefRegMap(@Self)^.val := thebits;
  21306. end;
  21307. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  21308. begin
  21309. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21310. end;
  21311. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  21312. begin
  21313. pTDefRegMap(@Self)^.val := thebits;
  21314. end;
  21315. function TPMP_PMDIN.getw : TBits_32; inline;
  21316. begin
  21317. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21318. end;
  21319. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  21320. begin
  21321. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  21322. end;
  21323. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  21324. begin
  21325. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  21326. end;
  21327. procedure TPMP_PMAEN.setPTEN0; inline;
  21328. begin
  21329. pTDefRegMap(@Self)^.&set := $00000001;
  21330. end;
  21331. procedure TPMP_PMAEN.clearPTEN0; inline;
  21332. begin
  21333. pTDefRegMap(@Self)^.clr := $00000001;
  21334. end;
  21335. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  21336. begin
  21337. if thebits = 0 then
  21338. pTDefRegMap(@Self)^.clr := $00000001
  21339. else
  21340. pTDefRegMap(@Self)^.&set := $00000001;
  21341. end;
  21342. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  21343. begin
  21344. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21345. end;
  21346. procedure TPMP_PMAEN.setPTEN1; inline;
  21347. begin
  21348. pTDefRegMap(@Self)^.&set := $00000002;
  21349. end;
  21350. procedure TPMP_PMAEN.clearPTEN1; inline;
  21351. begin
  21352. pTDefRegMap(@Self)^.clr := $00000002;
  21353. end;
  21354. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  21355. begin
  21356. if thebits = 0 then
  21357. pTDefRegMap(@Self)^.clr := $00000002
  21358. else
  21359. pTDefRegMap(@Self)^.&set := $00000002;
  21360. end;
  21361. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  21362. begin
  21363. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21364. end;
  21365. procedure TPMP_PMAEN.setPTEN2; inline;
  21366. begin
  21367. pTDefRegMap(@Self)^.&set := $00000004;
  21368. end;
  21369. procedure TPMP_PMAEN.clearPTEN2; inline;
  21370. begin
  21371. pTDefRegMap(@Self)^.clr := $00000004;
  21372. end;
  21373. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  21374. begin
  21375. if thebits = 0 then
  21376. pTDefRegMap(@Self)^.clr := $00000004
  21377. else
  21378. pTDefRegMap(@Self)^.&set := $00000004;
  21379. end;
  21380. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  21381. begin
  21382. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21383. end;
  21384. procedure TPMP_PMAEN.setPTEN3; inline;
  21385. begin
  21386. pTDefRegMap(@Self)^.&set := $00000008;
  21387. end;
  21388. procedure TPMP_PMAEN.clearPTEN3; inline;
  21389. begin
  21390. pTDefRegMap(@Self)^.clr := $00000008;
  21391. end;
  21392. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  21393. begin
  21394. if thebits = 0 then
  21395. pTDefRegMap(@Self)^.clr := $00000008
  21396. else
  21397. pTDefRegMap(@Self)^.&set := $00000008;
  21398. end;
  21399. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  21400. begin
  21401. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21402. end;
  21403. procedure TPMP_PMAEN.setPTEN4; inline;
  21404. begin
  21405. pTDefRegMap(@Self)^.&set := $00000010;
  21406. end;
  21407. procedure TPMP_PMAEN.clearPTEN4; inline;
  21408. begin
  21409. pTDefRegMap(@Self)^.clr := $00000010;
  21410. end;
  21411. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  21412. begin
  21413. if thebits = 0 then
  21414. pTDefRegMap(@Self)^.clr := $00000010
  21415. else
  21416. pTDefRegMap(@Self)^.&set := $00000010;
  21417. end;
  21418. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  21419. begin
  21420. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21421. end;
  21422. procedure TPMP_PMAEN.setPTEN5; inline;
  21423. begin
  21424. pTDefRegMap(@Self)^.&set := $00000020;
  21425. end;
  21426. procedure TPMP_PMAEN.clearPTEN5; inline;
  21427. begin
  21428. pTDefRegMap(@Self)^.clr := $00000020;
  21429. end;
  21430. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  21431. begin
  21432. if thebits = 0 then
  21433. pTDefRegMap(@Self)^.clr := $00000020
  21434. else
  21435. pTDefRegMap(@Self)^.&set := $00000020;
  21436. end;
  21437. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  21438. begin
  21439. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21440. end;
  21441. procedure TPMP_PMAEN.setPTEN6; inline;
  21442. begin
  21443. pTDefRegMap(@Self)^.&set := $00000040;
  21444. end;
  21445. procedure TPMP_PMAEN.clearPTEN6; inline;
  21446. begin
  21447. pTDefRegMap(@Self)^.clr := $00000040;
  21448. end;
  21449. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  21450. begin
  21451. if thebits = 0 then
  21452. pTDefRegMap(@Self)^.clr := $00000040
  21453. else
  21454. pTDefRegMap(@Self)^.&set := $00000040;
  21455. end;
  21456. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  21457. begin
  21458. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21459. end;
  21460. procedure TPMP_PMAEN.setPTEN7; inline;
  21461. begin
  21462. pTDefRegMap(@Self)^.&set := $00000080;
  21463. end;
  21464. procedure TPMP_PMAEN.clearPTEN7; inline;
  21465. begin
  21466. pTDefRegMap(@Self)^.clr := $00000080;
  21467. end;
  21468. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  21469. begin
  21470. if thebits = 0 then
  21471. pTDefRegMap(@Self)^.clr := $00000080
  21472. else
  21473. pTDefRegMap(@Self)^.&set := $00000080;
  21474. end;
  21475. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  21476. begin
  21477. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21478. end;
  21479. procedure TPMP_PMAEN.setPTEN8; inline;
  21480. begin
  21481. pTDefRegMap(@Self)^.&set := $00000100;
  21482. end;
  21483. procedure TPMP_PMAEN.clearPTEN8; inline;
  21484. begin
  21485. pTDefRegMap(@Self)^.clr := $00000100;
  21486. end;
  21487. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  21488. begin
  21489. if thebits = 0 then
  21490. pTDefRegMap(@Self)^.clr := $00000100
  21491. else
  21492. pTDefRegMap(@Self)^.&set := $00000100;
  21493. end;
  21494. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  21495. begin
  21496. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21497. end;
  21498. procedure TPMP_PMAEN.setPTEN9; inline;
  21499. begin
  21500. pTDefRegMap(@Self)^.&set := $00000200;
  21501. end;
  21502. procedure TPMP_PMAEN.clearPTEN9; inline;
  21503. begin
  21504. pTDefRegMap(@Self)^.clr := $00000200;
  21505. end;
  21506. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  21507. begin
  21508. if thebits = 0 then
  21509. pTDefRegMap(@Self)^.clr := $00000200
  21510. else
  21511. pTDefRegMap(@Self)^.&set := $00000200;
  21512. end;
  21513. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  21514. begin
  21515. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21516. end;
  21517. procedure TPMP_PMAEN.setPTEN10; inline;
  21518. begin
  21519. pTDefRegMap(@Self)^.&set := $00000400;
  21520. end;
  21521. procedure TPMP_PMAEN.clearPTEN10; inline;
  21522. begin
  21523. pTDefRegMap(@Self)^.clr := $00000400;
  21524. end;
  21525. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  21526. begin
  21527. if thebits = 0 then
  21528. pTDefRegMap(@Self)^.clr := $00000400
  21529. else
  21530. pTDefRegMap(@Self)^.&set := $00000400;
  21531. end;
  21532. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  21533. begin
  21534. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21535. end;
  21536. procedure TPMP_PMAEN.setPTEN11; inline;
  21537. begin
  21538. pTDefRegMap(@Self)^.&set := $00000800;
  21539. end;
  21540. procedure TPMP_PMAEN.clearPTEN11; inline;
  21541. begin
  21542. pTDefRegMap(@Self)^.clr := $00000800;
  21543. end;
  21544. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  21545. begin
  21546. if thebits = 0 then
  21547. pTDefRegMap(@Self)^.clr := $00000800
  21548. else
  21549. pTDefRegMap(@Self)^.&set := $00000800;
  21550. end;
  21551. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  21552. begin
  21553. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21554. end;
  21555. procedure TPMP_PMAEN.setPTEN12; inline;
  21556. begin
  21557. pTDefRegMap(@Self)^.&set := $00001000;
  21558. end;
  21559. procedure TPMP_PMAEN.clearPTEN12; inline;
  21560. begin
  21561. pTDefRegMap(@Self)^.clr := $00001000;
  21562. end;
  21563. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  21564. begin
  21565. if thebits = 0 then
  21566. pTDefRegMap(@Self)^.clr := $00001000
  21567. else
  21568. pTDefRegMap(@Self)^.&set := $00001000;
  21569. end;
  21570. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  21571. begin
  21572. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21573. end;
  21574. procedure TPMP_PMAEN.setPTEN13; inline;
  21575. begin
  21576. pTDefRegMap(@Self)^.&set := $00002000;
  21577. end;
  21578. procedure TPMP_PMAEN.clearPTEN13; inline;
  21579. begin
  21580. pTDefRegMap(@Self)^.clr := $00002000;
  21581. end;
  21582. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  21583. begin
  21584. if thebits = 0 then
  21585. pTDefRegMap(@Self)^.clr := $00002000
  21586. else
  21587. pTDefRegMap(@Self)^.&set := $00002000;
  21588. end;
  21589. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  21590. begin
  21591. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21592. end;
  21593. procedure TPMP_PMAEN.setPTEN14; inline;
  21594. begin
  21595. pTDefRegMap(@Self)^.&set := $00004000;
  21596. end;
  21597. procedure TPMP_PMAEN.clearPTEN14; inline;
  21598. begin
  21599. pTDefRegMap(@Self)^.clr := $00004000;
  21600. end;
  21601. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  21602. begin
  21603. if thebits = 0 then
  21604. pTDefRegMap(@Self)^.clr := $00004000
  21605. else
  21606. pTDefRegMap(@Self)^.&set := $00004000;
  21607. end;
  21608. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  21609. begin
  21610. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21611. end;
  21612. procedure TPMP_PMAEN.setPTEN15; inline;
  21613. begin
  21614. pTDefRegMap(@Self)^.&set := $00008000;
  21615. end;
  21616. procedure TPMP_PMAEN.clearPTEN15; inline;
  21617. begin
  21618. pTDefRegMap(@Self)^.clr := $00008000;
  21619. end;
  21620. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  21621. begin
  21622. if thebits = 0 then
  21623. pTDefRegMap(@Self)^.clr := $00008000
  21624. else
  21625. pTDefRegMap(@Self)^.&set := $00008000;
  21626. end;
  21627. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  21628. begin
  21629. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21630. end;
  21631. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  21632. begin
  21633. pTDefRegMap(@Self)^.val := thebits;
  21634. end;
  21635. function TPMP_PMAEN.getw : TBits_32; inline;
  21636. begin
  21637. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21638. end;
  21639. procedure TPMP_PMSTAT.setOB0E; inline;
  21640. begin
  21641. pTDefRegMap(@Self)^.&set := $00000001;
  21642. end;
  21643. procedure TPMP_PMSTAT.clearOB0E; inline;
  21644. begin
  21645. pTDefRegMap(@Self)^.clr := $00000001;
  21646. end;
  21647. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  21648. begin
  21649. if thebits = 0 then
  21650. pTDefRegMap(@Self)^.clr := $00000001
  21651. else
  21652. pTDefRegMap(@Self)^.&set := $00000001;
  21653. end;
  21654. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  21655. begin
  21656. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21657. end;
  21658. procedure TPMP_PMSTAT.setOB1E; inline;
  21659. begin
  21660. pTDefRegMap(@Self)^.&set := $00000002;
  21661. end;
  21662. procedure TPMP_PMSTAT.clearOB1E; inline;
  21663. begin
  21664. pTDefRegMap(@Self)^.clr := $00000002;
  21665. end;
  21666. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  21667. begin
  21668. if thebits = 0 then
  21669. pTDefRegMap(@Self)^.clr := $00000002
  21670. else
  21671. pTDefRegMap(@Self)^.&set := $00000002;
  21672. end;
  21673. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  21674. begin
  21675. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21676. end;
  21677. procedure TPMP_PMSTAT.setOB2E; inline;
  21678. begin
  21679. pTDefRegMap(@Self)^.&set := $00000004;
  21680. end;
  21681. procedure TPMP_PMSTAT.clearOB2E; inline;
  21682. begin
  21683. pTDefRegMap(@Self)^.clr := $00000004;
  21684. end;
  21685. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  21686. begin
  21687. if thebits = 0 then
  21688. pTDefRegMap(@Self)^.clr := $00000004
  21689. else
  21690. pTDefRegMap(@Self)^.&set := $00000004;
  21691. end;
  21692. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  21693. begin
  21694. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21695. end;
  21696. procedure TPMP_PMSTAT.setOB3E; inline;
  21697. begin
  21698. pTDefRegMap(@Self)^.&set := $00000008;
  21699. end;
  21700. procedure TPMP_PMSTAT.clearOB3E; inline;
  21701. begin
  21702. pTDefRegMap(@Self)^.clr := $00000008;
  21703. end;
  21704. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  21705. begin
  21706. if thebits = 0 then
  21707. pTDefRegMap(@Self)^.clr := $00000008
  21708. else
  21709. pTDefRegMap(@Self)^.&set := $00000008;
  21710. end;
  21711. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  21712. begin
  21713. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21714. end;
  21715. procedure TPMP_PMSTAT.setOBUF; inline;
  21716. begin
  21717. pTDefRegMap(@Self)^.&set := $00000040;
  21718. end;
  21719. procedure TPMP_PMSTAT.clearOBUF; inline;
  21720. begin
  21721. pTDefRegMap(@Self)^.clr := $00000040;
  21722. end;
  21723. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  21724. begin
  21725. if thebits = 0 then
  21726. pTDefRegMap(@Self)^.clr := $00000040
  21727. else
  21728. pTDefRegMap(@Self)^.&set := $00000040;
  21729. end;
  21730. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  21731. begin
  21732. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21733. end;
  21734. procedure TPMP_PMSTAT.setOBE; inline;
  21735. begin
  21736. pTDefRegMap(@Self)^.&set := $00000080;
  21737. end;
  21738. procedure TPMP_PMSTAT.clearOBE; inline;
  21739. begin
  21740. pTDefRegMap(@Self)^.clr := $00000080;
  21741. end;
  21742. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  21743. begin
  21744. if thebits = 0 then
  21745. pTDefRegMap(@Self)^.clr := $00000080
  21746. else
  21747. pTDefRegMap(@Self)^.&set := $00000080;
  21748. end;
  21749. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  21750. begin
  21751. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21752. end;
  21753. procedure TPMP_PMSTAT.setIB0F; inline;
  21754. begin
  21755. pTDefRegMap(@Self)^.&set := $00000100;
  21756. end;
  21757. procedure TPMP_PMSTAT.clearIB0F; inline;
  21758. begin
  21759. pTDefRegMap(@Self)^.clr := $00000100;
  21760. end;
  21761. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  21762. begin
  21763. if thebits = 0 then
  21764. pTDefRegMap(@Self)^.clr := $00000100
  21765. else
  21766. pTDefRegMap(@Self)^.&set := $00000100;
  21767. end;
  21768. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  21769. begin
  21770. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21771. end;
  21772. procedure TPMP_PMSTAT.setIB1F; inline;
  21773. begin
  21774. pTDefRegMap(@Self)^.&set := $00000200;
  21775. end;
  21776. procedure TPMP_PMSTAT.clearIB1F; inline;
  21777. begin
  21778. pTDefRegMap(@Self)^.clr := $00000200;
  21779. end;
  21780. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  21781. begin
  21782. if thebits = 0 then
  21783. pTDefRegMap(@Self)^.clr := $00000200
  21784. else
  21785. pTDefRegMap(@Self)^.&set := $00000200;
  21786. end;
  21787. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  21788. begin
  21789. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21790. end;
  21791. procedure TPMP_PMSTAT.setIB2F; inline;
  21792. begin
  21793. pTDefRegMap(@Self)^.&set := $00000400;
  21794. end;
  21795. procedure TPMP_PMSTAT.clearIB2F; inline;
  21796. begin
  21797. pTDefRegMap(@Self)^.clr := $00000400;
  21798. end;
  21799. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  21800. begin
  21801. if thebits = 0 then
  21802. pTDefRegMap(@Self)^.clr := $00000400
  21803. else
  21804. pTDefRegMap(@Self)^.&set := $00000400;
  21805. end;
  21806. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  21807. begin
  21808. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21809. end;
  21810. procedure TPMP_PMSTAT.setIB3F; inline;
  21811. begin
  21812. pTDefRegMap(@Self)^.&set := $00000800;
  21813. end;
  21814. procedure TPMP_PMSTAT.clearIB3F; inline;
  21815. begin
  21816. pTDefRegMap(@Self)^.clr := $00000800;
  21817. end;
  21818. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  21819. begin
  21820. if thebits = 0 then
  21821. pTDefRegMap(@Self)^.clr := $00000800
  21822. else
  21823. pTDefRegMap(@Self)^.&set := $00000800;
  21824. end;
  21825. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  21826. begin
  21827. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21828. end;
  21829. procedure TPMP_PMSTAT.setIBOV; inline;
  21830. begin
  21831. pTDefRegMap(@Self)^.&set := $00004000;
  21832. end;
  21833. procedure TPMP_PMSTAT.clearIBOV; inline;
  21834. begin
  21835. pTDefRegMap(@Self)^.clr := $00004000;
  21836. end;
  21837. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  21838. begin
  21839. if thebits = 0 then
  21840. pTDefRegMap(@Self)^.clr := $00004000
  21841. else
  21842. pTDefRegMap(@Self)^.&set := $00004000;
  21843. end;
  21844. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  21845. begin
  21846. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21847. end;
  21848. procedure TPMP_PMSTAT.setIBF; inline;
  21849. begin
  21850. pTDefRegMap(@Self)^.&set := $00008000;
  21851. end;
  21852. procedure TPMP_PMSTAT.clearIBF; inline;
  21853. begin
  21854. pTDefRegMap(@Self)^.clr := $00008000;
  21855. end;
  21856. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  21857. begin
  21858. if thebits = 0 then
  21859. pTDefRegMap(@Self)^.clr := $00008000
  21860. else
  21861. pTDefRegMap(@Self)^.&set := $00008000;
  21862. end;
  21863. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  21864. begin
  21865. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21866. end;
  21867. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  21868. begin
  21869. pTDefRegMap(@Self)^.val := thebits;
  21870. end;
  21871. function TPMP_PMSTAT.getw : TBits_32; inline;
  21872. begin
  21873. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21874. end;
  21875. procedure TADC10_AD1CON1.setDONE; inline;
  21876. begin
  21877. pTDefRegMap(@Self)^.&set := $00000001;
  21878. end;
  21879. procedure TADC10_AD1CON1.clearDONE; inline;
  21880. begin
  21881. pTDefRegMap(@Self)^.clr := $00000001;
  21882. end;
  21883. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  21884. begin
  21885. if thebits = 0 then
  21886. pTDefRegMap(@Self)^.clr := $00000001
  21887. else
  21888. pTDefRegMap(@Self)^.&set := $00000001;
  21889. end;
  21890. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  21891. begin
  21892. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21893. end;
  21894. procedure TADC10_AD1CON1.setSAMP; inline;
  21895. begin
  21896. pTDefRegMap(@Self)^.&set := $00000002;
  21897. end;
  21898. procedure TADC10_AD1CON1.clearSAMP; inline;
  21899. begin
  21900. pTDefRegMap(@Self)^.clr := $00000002;
  21901. end;
  21902. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  21903. begin
  21904. if thebits = 0 then
  21905. pTDefRegMap(@Self)^.clr := $00000002
  21906. else
  21907. pTDefRegMap(@Self)^.&set := $00000002;
  21908. end;
  21909. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  21910. begin
  21911. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21912. end;
  21913. procedure TADC10_AD1CON1.setASAM; inline;
  21914. begin
  21915. pTDefRegMap(@Self)^.&set := $00000004;
  21916. end;
  21917. procedure TADC10_AD1CON1.clearASAM; inline;
  21918. begin
  21919. pTDefRegMap(@Self)^.clr := $00000004;
  21920. end;
  21921. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  21922. begin
  21923. if thebits = 0 then
  21924. pTDefRegMap(@Self)^.clr := $00000004
  21925. else
  21926. pTDefRegMap(@Self)^.&set := $00000004;
  21927. end;
  21928. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  21929. begin
  21930. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21931. end;
  21932. procedure TADC10_AD1CON1.setCLRASAM; inline;
  21933. begin
  21934. pTDefRegMap(@Self)^.&set := $00000010;
  21935. end;
  21936. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  21937. begin
  21938. pTDefRegMap(@Self)^.clr := $00000010;
  21939. end;
  21940. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  21941. begin
  21942. if thebits = 0 then
  21943. pTDefRegMap(@Self)^.clr := $00000010
  21944. else
  21945. pTDefRegMap(@Self)^.&set := $00000010;
  21946. end;
  21947. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  21948. begin
  21949. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21950. end;
  21951. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  21952. begin
  21953. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  21954. end;
  21955. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  21956. begin
  21957. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  21958. end;
  21959. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  21960. begin
  21961. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  21962. end;
  21963. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  21964. begin
  21965. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  21966. end;
  21967. procedure TADC10_AD1CON1.setSIDL; inline;
  21968. begin
  21969. pTDefRegMap(@Self)^.&set := $00002000;
  21970. end;
  21971. procedure TADC10_AD1CON1.clearSIDL; inline;
  21972. begin
  21973. pTDefRegMap(@Self)^.clr := $00002000;
  21974. end;
  21975. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  21976. begin
  21977. if thebits = 0 then
  21978. pTDefRegMap(@Self)^.clr := $00002000
  21979. else
  21980. pTDefRegMap(@Self)^.&set := $00002000;
  21981. end;
  21982. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  21983. begin
  21984. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21985. end;
  21986. procedure TADC10_AD1CON1.setON; inline;
  21987. begin
  21988. pTDefRegMap(@Self)^.&set := $00008000;
  21989. end;
  21990. procedure TADC10_AD1CON1.clearON; inline;
  21991. begin
  21992. pTDefRegMap(@Self)^.clr := $00008000;
  21993. end;
  21994. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  21995. begin
  21996. if thebits = 0 then
  21997. pTDefRegMap(@Self)^.clr := $00008000
  21998. else
  21999. pTDefRegMap(@Self)^.&set := $00008000;
  22000. end;
  22001. function TADC10_AD1CON1.getON : TBits_1; inline;
  22002. begin
  22003. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22004. end;
  22005. procedure TADC10_AD1CON1.setSSRC0; inline;
  22006. begin
  22007. pTDefRegMap(@Self)^.&set := $00000020;
  22008. end;
  22009. procedure TADC10_AD1CON1.clearSSRC0; inline;
  22010. begin
  22011. pTDefRegMap(@Self)^.clr := $00000020;
  22012. end;
  22013. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  22014. begin
  22015. if thebits = 0 then
  22016. pTDefRegMap(@Self)^.clr := $00000020
  22017. else
  22018. pTDefRegMap(@Self)^.&set := $00000020;
  22019. end;
  22020. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  22021. begin
  22022. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22023. end;
  22024. procedure TADC10_AD1CON1.setSSRC1; inline;
  22025. begin
  22026. pTDefRegMap(@Self)^.&set := $00000040;
  22027. end;
  22028. procedure TADC10_AD1CON1.clearSSRC1; inline;
  22029. begin
  22030. pTDefRegMap(@Self)^.clr := $00000040;
  22031. end;
  22032. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  22033. begin
  22034. if thebits = 0 then
  22035. pTDefRegMap(@Self)^.clr := $00000040
  22036. else
  22037. pTDefRegMap(@Self)^.&set := $00000040;
  22038. end;
  22039. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  22040. begin
  22041. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22042. end;
  22043. procedure TADC10_AD1CON1.setSSRC2; inline;
  22044. begin
  22045. pTDefRegMap(@Self)^.&set := $00000080;
  22046. end;
  22047. procedure TADC10_AD1CON1.clearSSRC2; inline;
  22048. begin
  22049. pTDefRegMap(@Self)^.clr := $00000080;
  22050. end;
  22051. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  22052. begin
  22053. if thebits = 0 then
  22054. pTDefRegMap(@Self)^.clr := $00000080
  22055. else
  22056. pTDefRegMap(@Self)^.&set := $00000080;
  22057. end;
  22058. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  22059. begin
  22060. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22061. end;
  22062. procedure TADC10_AD1CON1.setFORM0; inline;
  22063. begin
  22064. pTDefRegMap(@Self)^.&set := $00000100;
  22065. end;
  22066. procedure TADC10_AD1CON1.clearFORM0; inline;
  22067. begin
  22068. pTDefRegMap(@Self)^.clr := $00000100;
  22069. end;
  22070. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  22071. begin
  22072. if thebits = 0 then
  22073. pTDefRegMap(@Self)^.clr := $00000100
  22074. else
  22075. pTDefRegMap(@Self)^.&set := $00000100;
  22076. end;
  22077. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  22078. begin
  22079. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22080. end;
  22081. procedure TADC10_AD1CON1.setFORM1; inline;
  22082. begin
  22083. pTDefRegMap(@Self)^.&set := $00000200;
  22084. end;
  22085. procedure TADC10_AD1CON1.clearFORM1; inline;
  22086. begin
  22087. pTDefRegMap(@Self)^.clr := $00000200;
  22088. end;
  22089. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  22090. begin
  22091. if thebits = 0 then
  22092. pTDefRegMap(@Self)^.clr := $00000200
  22093. else
  22094. pTDefRegMap(@Self)^.&set := $00000200;
  22095. end;
  22096. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  22097. begin
  22098. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22099. end;
  22100. procedure TADC10_AD1CON1.setFORM2; inline;
  22101. begin
  22102. pTDefRegMap(@Self)^.&set := $00000400;
  22103. end;
  22104. procedure TADC10_AD1CON1.clearFORM2; inline;
  22105. begin
  22106. pTDefRegMap(@Self)^.clr := $00000400;
  22107. end;
  22108. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  22109. begin
  22110. if thebits = 0 then
  22111. pTDefRegMap(@Self)^.clr := $00000400
  22112. else
  22113. pTDefRegMap(@Self)^.&set := $00000400;
  22114. end;
  22115. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  22116. begin
  22117. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22118. end;
  22119. procedure TADC10_AD1CON1.setADSIDL; inline;
  22120. begin
  22121. pTDefRegMap(@Self)^.&set := $00002000;
  22122. end;
  22123. procedure TADC10_AD1CON1.clearADSIDL; inline;
  22124. begin
  22125. pTDefRegMap(@Self)^.clr := $00002000;
  22126. end;
  22127. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  22128. begin
  22129. if thebits = 0 then
  22130. pTDefRegMap(@Self)^.clr := $00002000
  22131. else
  22132. pTDefRegMap(@Self)^.&set := $00002000;
  22133. end;
  22134. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  22135. begin
  22136. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22137. end;
  22138. procedure TADC10_AD1CON1.setADON; inline;
  22139. begin
  22140. pTDefRegMap(@Self)^.&set := $00008000;
  22141. end;
  22142. procedure TADC10_AD1CON1.clearADON; inline;
  22143. begin
  22144. pTDefRegMap(@Self)^.clr := $00008000;
  22145. end;
  22146. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  22147. begin
  22148. if thebits = 0 then
  22149. pTDefRegMap(@Self)^.clr := $00008000
  22150. else
  22151. pTDefRegMap(@Self)^.&set := $00008000;
  22152. end;
  22153. function TADC10_AD1CON1.getADON : TBits_1; inline;
  22154. begin
  22155. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22156. end;
  22157. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  22158. begin
  22159. pTDefRegMap(@Self)^.val := thebits;
  22160. end;
  22161. function TADC10_AD1CON1.getw : TBits_32; inline;
  22162. begin
  22163. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22164. end;
  22165. procedure TADC10_AD1CON2.setALTS; inline;
  22166. begin
  22167. pTDefRegMap(@Self)^.&set := $00000001;
  22168. end;
  22169. procedure TADC10_AD1CON2.clearALTS; inline;
  22170. begin
  22171. pTDefRegMap(@Self)^.clr := $00000001;
  22172. end;
  22173. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  22174. begin
  22175. if thebits = 0 then
  22176. pTDefRegMap(@Self)^.clr := $00000001
  22177. else
  22178. pTDefRegMap(@Self)^.&set := $00000001;
  22179. end;
  22180. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  22181. begin
  22182. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22183. end;
  22184. procedure TADC10_AD1CON2.setBUFM; inline;
  22185. begin
  22186. pTDefRegMap(@Self)^.&set := $00000002;
  22187. end;
  22188. procedure TADC10_AD1CON2.clearBUFM; inline;
  22189. begin
  22190. pTDefRegMap(@Self)^.clr := $00000002;
  22191. end;
  22192. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  22193. begin
  22194. if thebits = 0 then
  22195. pTDefRegMap(@Self)^.clr := $00000002
  22196. else
  22197. pTDefRegMap(@Self)^.&set := $00000002;
  22198. end;
  22199. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  22200. begin
  22201. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22202. end;
  22203. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  22204. begin
  22205. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  22206. end;
  22207. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  22208. begin
  22209. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  22210. end;
  22211. procedure TADC10_AD1CON2.setBUFS; inline;
  22212. begin
  22213. pTDefRegMap(@Self)^.&set := $00000080;
  22214. end;
  22215. procedure TADC10_AD1CON2.clearBUFS; inline;
  22216. begin
  22217. pTDefRegMap(@Self)^.clr := $00000080;
  22218. end;
  22219. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  22220. begin
  22221. if thebits = 0 then
  22222. pTDefRegMap(@Self)^.clr := $00000080
  22223. else
  22224. pTDefRegMap(@Self)^.&set := $00000080;
  22225. end;
  22226. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  22227. begin
  22228. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22229. end;
  22230. procedure TADC10_AD1CON2.setCSCNA; inline;
  22231. begin
  22232. pTDefRegMap(@Self)^.&set := $00000400;
  22233. end;
  22234. procedure TADC10_AD1CON2.clearCSCNA; inline;
  22235. begin
  22236. pTDefRegMap(@Self)^.clr := $00000400;
  22237. end;
  22238. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  22239. begin
  22240. if thebits = 0 then
  22241. pTDefRegMap(@Self)^.clr := $00000400
  22242. else
  22243. pTDefRegMap(@Self)^.&set := $00000400;
  22244. end;
  22245. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  22246. begin
  22247. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22248. end;
  22249. procedure TADC10_AD1CON2.setOFFCAL; inline;
  22250. begin
  22251. pTDefRegMap(@Self)^.&set := $00001000;
  22252. end;
  22253. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  22254. begin
  22255. pTDefRegMap(@Self)^.clr := $00001000;
  22256. end;
  22257. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  22258. begin
  22259. if thebits = 0 then
  22260. pTDefRegMap(@Self)^.clr := $00001000
  22261. else
  22262. pTDefRegMap(@Self)^.&set := $00001000;
  22263. end;
  22264. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  22265. begin
  22266. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22267. end;
  22268. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  22269. begin
  22270. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  22271. end;
  22272. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  22273. begin
  22274. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  22275. end;
  22276. procedure TADC10_AD1CON2.setSMPI0; inline;
  22277. begin
  22278. pTDefRegMap(@Self)^.&set := $00000004;
  22279. end;
  22280. procedure TADC10_AD1CON2.clearSMPI0; inline;
  22281. begin
  22282. pTDefRegMap(@Self)^.clr := $00000004;
  22283. end;
  22284. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  22285. begin
  22286. if thebits = 0 then
  22287. pTDefRegMap(@Self)^.clr := $00000004
  22288. else
  22289. pTDefRegMap(@Self)^.&set := $00000004;
  22290. end;
  22291. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  22292. begin
  22293. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22294. end;
  22295. procedure TADC10_AD1CON2.setSMPI1; inline;
  22296. begin
  22297. pTDefRegMap(@Self)^.&set := $00000008;
  22298. end;
  22299. procedure TADC10_AD1CON2.clearSMPI1; inline;
  22300. begin
  22301. pTDefRegMap(@Self)^.clr := $00000008;
  22302. end;
  22303. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  22304. begin
  22305. if thebits = 0 then
  22306. pTDefRegMap(@Self)^.clr := $00000008
  22307. else
  22308. pTDefRegMap(@Self)^.&set := $00000008;
  22309. end;
  22310. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  22311. begin
  22312. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22313. end;
  22314. procedure TADC10_AD1CON2.setSMPI2; inline;
  22315. begin
  22316. pTDefRegMap(@Self)^.&set := $00000010;
  22317. end;
  22318. procedure TADC10_AD1CON2.clearSMPI2; inline;
  22319. begin
  22320. pTDefRegMap(@Self)^.clr := $00000010;
  22321. end;
  22322. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  22323. begin
  22324. if thebits = 0 then
  22325. pTDefRegMap(@Self)^.clr := $00000010
  22326. else
  22327. pTDefRegMap(@Self)^.&set := $00000010;
  22328. end;
  22329. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  22330. begin
  22331. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22332. end;
  22333. procedure TADC10_AD1CON2.setSMPI3; inline;
  22334. begin
  22335. pTDefRegMap(@Self)^.&set := $00000020;
  22336. end;
  22337. procedure TADC10_AD1CON2.clearSMPI3; inline;
  22338. begin
  22339. pTDefRegMap(@Self)^.clr := $00000020;
  22340. end;
  22341. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  22342. begin
  22343. if thebits = 0 then
  22344. pTDefRegMap(@Self)^.clr := $00000020
  22345. else
  22346. pTDefRegMap(@Self)^.&set := $00000020;
  22347. end;
  22348. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  22349. begin
  22350. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22351. end;
  22352. procedure TADC10_AD1CON2.setVCFG0; inline;
  22353. begin
  22354. pTDefRegMap(@Self)^.&set := $00002000;
  22355. end;
  22356. procedure TADC10_AD1CON2.clearVCFG0; inline;
  22357. begin
  22358. pTDefRegMap(@Self)^.clr := $00002000;
  22359. end;
  22360. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  22361. begin
  22362. if thebits = 0 then
  22363. pTDefRegMap(@Self)^.clr := $00002000
  22364. else
  22365. pTDefRegMap(@Self)^.&set := $00002000;
  22366. end;
  22367. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  22368. begin
  22369. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22370. end;
  22371. procedure TADC10_AD1CON2.setVCFG1; inline;
  22372. begin
  22373. pTDefRegMap(@Self)^.&set := $00004000;
  22374. end;
  22375. procedure TADC10_AD1CON2.clearVCFG1; inline;
  22376. begin
  22377. pTDefRegMap(@Self)^.clr := $00004000;
  22378. end;
  22379. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  22380. begin
  22381. if thebits = 0 then
  22382. pTDefRegMap(@Self)^.clr := $00004000
  22383. else
  22384. pTDefRegMap(@Self)^.&set := $00004000;
  22385. end;
  22386. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  22387. begin
  22388. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22389. end;
  22390. procedure TADC10_AD1CON2.setVCFG2; inline;
  22391. begin
  22392. pTDefRegMap(@Self)^.&set := $00008000;
  22393. end;
  22394. procedure TADC10_AD1CON2.clearVCFG2; inline;
  22395. begin
  22396. pTDefRegMap(@Self)^.clr := $00008000;
  22397. end;
  22398. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  22399. begin
  22400. if thebits = 0 then
  22401. pTDefRegMap(@Self)^.clr := $00008000
  22402. else
  22403. pTDefRegMap(@Self)^.&set := $00008000;
  22404. end;
  22405. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  22406. begin
  22407. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22408. end;
  22409. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  22410. begin
  22411. pTDefRegMap(@Self)^.val := thebits;
  22412. end;
  22413. function TADC10_AD1CON2.getw : TBits_32; inline;
  22414. begin
  22415. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22416. end;
  22417. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  22418. begin
  22419. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  22420. end;
  22421. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  22422. begin
  22423. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  22424. end;
  22425. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  22426. begin
  22427. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  22428. end;
  22429. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  22430. begin
  22431. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  22432. end;
  22433. procedure TADC10_AD1CON3.setADRC; inline;
  22434. begin
  22435. pTDefRegMap(@Self)^.&set := $00008000;
  22436. end;
  22437. procedure TADC10_AD1CON3.clearADRC; inline;
  22438. begin
  22439. pTDefRegMap(@Self)^.clr := $00008000;
  22440. end;
  22441. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  22442. begin
  22443. if thebits = 0 then
  22444. pTDefRegMap(@Self)^.clr := $00008000
  22445. else
  22446. pTDefRegMap(@Self)^.&set := $00008000;
  22447. end;
  22448. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  22449. begin
  22450. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22451. end;
  22452. procedure TADC10_AD1CON3.setADCS0; inline;
  22453. begin
  22454. pTDefRegMap(@Self)^.&set := $00000001;
  22455. end;
  22456. procedure TADC10_AD1CON3.clearADCS0; inline;
  22457. begin
  22458. pTDefRegMap(@Self)^.clr := $00000001;
  22459. end;
  22460. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  22461. begin
  22462. if thebits = 0 then
  22463. pTDefRegMap(@Self)^.clr := $00000001
  22464. else
  22465. pTDefRegMap(@Self)^.&set := $00000001;
  22466. end;
  22467. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  22468. begin
  22469. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22470. end;
  22471. procedure TADC10_AD1CON3.setADCS1; inline;
  22472. begin
  22473. pTDefRegMap(@Self)^.&set := $00000002;
  22474. end;
  22475. procedure TADC10_AD1CON3.clearADCS1; inline;
  22476. begin
  22477. pTDefRegMap(@Self)^.clr := $00000002;
  22478. end;
  22479. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  22480. begin
  22481. if thebits = 0 then
  22482. pTDefRegMap(@Self)^.clr := $00000002
  22483. else
  22484. pTDefRegMap(@Self)^.&set := $00000002;
  22485. end;
  22486. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  22487. begin
  22488. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22489. end;
  22490. procedure TADC10_AD1CON3.setADCS2; inline;
  22491. begin
  22492. pTDefRegMap(@Self)^.&set := $00000004;
  22493. end;
  22494. procedure TADC10_AD1CON3.clearADCS2; inline;
  22495. begin
  22496. pTDefRegMap(@Self)^.clr := $00000004;
  22497. end;
  22498. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  22499. begin
  22500. if thebits = 0 then
  22501. pTDefRegMap(@Self)^.clr := $00000004
  22502. else
  22503. pTDefRegMap(@Self)^.&set := $00000004;
  22504. end;
  22505. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  22506. begin
  22507. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22508. end;
  22509. procedure TADC10_AD1CON3.setADCS3; inline;
  22510. begin
  22511. pTDefRegMap(@Self)^.&set := $00000008;
  22512. end;
  22513. procedure TADC10_AD1CON3.clearADCS3; inline;
  22514. begin
  22515. pTDefRegMap(@Self)^.clr := $00000008;
  22516. end;
  22517. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  22518. begin
  22519. if thebits = 0 then
  22520. pTDefRegMap(@Self)^.clr := $00000008
  22521. else
  22522. pTDefRegMap(@Self)^.&set := $00000008;
  22523. end;
  22524. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  22525. begin
  22526. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22527. end;
  22528. procedure TADC10_AD1CON3.setADCS4; inline;
  22529. begin
  22530. pTDefRegMap(@Self)^.&set := $00000010;
  22531. end;
  22532. procedure TADC10_AD1CON3.clearADCS4; inline;
  22533. begin
  22534. pTDefRegMap(@Self)^.clr := $00000010;
  22535. end;
  22536. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  22537. begin
  22538. if thebits = 0 then
  22539. pTDefRegMap(@Self)^.clr := $00000010
  22540. else
  22541. pTDefRegMap(@Self)^.&set := $00000010;
  22542. end;
  22543. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  22544. begin
  22545. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22546. end;
  22547. procedure TADC10_AD1CON3.setADCS5; inline;
  22548. begin
  22549. pTDefRegMap(@Self)^.&set := $00000020;
  22550. end;
  22551. procedure TADC10_AD1CON3.clearADCS5; inline;
  22552. begin
  22553. pTDefRegMap(@Self)^.clr := $00000020;
  22554. end;
  22555. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  22556. begin
  22557. if thebits = 0 then
  22558. pTDefRegMap(@Self)^.clr := $00000020
  22559. else
  22560. pTDefRegMap(@Self)^.&set := $00000020;
  22561. end;
  22562. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  22563. begin
  22564. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22565. end;
  22566. procedure TADC10_AD1CON3.setADCS6; inline;
  22567. begin
  22568. pTDefRegMap(@Self)^.&set := $00000040;
  22569. end;
  22570. procedure TADC10_AD1CON3.clearADCS6; inline;
  22571. begin
  22572. pTDefRegMap(@Self)^.clr := $00000040;
  22573. end;
  22574. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  22575. begin
  22576. if thebits = 0 then
  22577. pTDefRegMap(@Self)^.clr := $00000040
  22578. else
  22579. pTDefRegMap(@Self)^.&set := $00000040;
  22580. end;
  22581. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  22582. begin
  22583. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22584. end;
  22585. procedure TADC10_AD1CON3.setADCS7; inline;
  22586. begin
  22587. pTDefRegMap(@Self)^.&set := $00000080;
  22588. end;
  22589. procedure TADC10_AD1CON3.clearADCS7; inline;
  22590. begin
  22591. pTDefRegMap(@Self)^.clr := $00000080;
  22592. end;
  22593. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  22594. begin
  22595. if thebits = 0 then
  22596. pTDefRegMap(@Self)^.clr := $00000080
  22597. else
  22598. pTDefRegMap(@Self)^.&set := $00000080;
  22599. end;
  22600. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  22601. begin
  22602. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22603. end;
  22604. procedure TADC10_AD1CON3.setSAMC0; inline;
  22605. begin
  22606. pTDefRegMap(@Self)^.&set := $00000100;
  22607. end;
  22608. procedure TADC10_AD1CON3.clearSAMC0; inline;
  22609. begin
  22610. pTDefRegMap(@Self)^.clr := $00000100;
  22611. end;
  22612. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  22613. begin
  22614. if thebits = 0 then
  22615. pTDefRegMap(@Self)^.clr := $00000100
  22616. else
  22617. pTDefRegMap(@Self)^.&set := $00000100;
  22618. end;
  22619. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  22620. begin
  22621. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22622. end;
  22623. procedure TADC10_AD1CON3.setSAMC1; inline;
  22624. begin
  22625. pTDefRegMap(@Self)^.&set := $00000200;
  22626. end;
  22627. procedure TADC10_AD1CON3.clearSAMC1; inline;
  22628. begin
  22629. pTDefRegMap(@Self)^.clr := $00000200;
  22630. end;
  22631. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  22632. begin
  22633. if thebits = 0 then
  22634. pTDefRegMap(@Self)^.clr := $00000200
  22635. else
  22636. pTDefRegMap(@Self)^.&set := $00000200;
  22637. end;
  22638. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  22639. begin
  22640. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22641. end;
  22642. procedure TADC10_AD1CON3.setSAMC2; inline;
  22643. begin
  22644. pTDefRegMap(@Self)^.&set := $00000400;
  22645. end;
  22646. procedure TADC10_AD1CON3.clearSAMC2; inline;
  22647. begin
  22648. pTDefRegMap(@Self)^.clr := $00000400;
  22649. end;
  22650. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  22651. begin
  22652. if thebits = 0 then
  22653. pTDefRegMap(@Self)^.clr := $00000400
  22654. else
  22655. pTDefRegMap(@Self)^.&set := $00000400;
  22656. end;
  22657. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  22658. begin
  22659. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22660. end;
  22661. procedure TADC10_AD1CON3.setSAMC3; inline;
  22662. begin
  22663. pTDefRegMap(@Self)^.&set := $00000800;
  22664. end;
  22665. procedure TADC10_AD1CON3.clearSAMC3; inline;
  22666. begin
  22667. pTDefRegMap(@Self)^.clr := $00000800;
  22668. end;
  22669. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  22670. begin
  22671. if thebits = 0 then
  22672. pTDefRegMap(@Self)^.clr := $00000800
  22673. else
  22674. pTDefRegMap(@Self)^.&set := $00000800;
  22675. end;
  22676. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  22677. begin
  22678. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22679. end;
  22680. procedure TADC10_AD1CON3.setSAMC4; inline;
  22681. begin
  22682. pTDefRegMap(@Self)^.&set := $00001000;
  22683. end;
  22684. procedure TADC10_AD1CON3.clearSAMC4; inline;
  22685. begin
  22686. pTDefRegMap(@Self)^.clr := $00001000;
  22687. end;
  22688. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  22689. begin
  22690. if thebits = 0 then
  22691. pTDefRegMap(@Self)^.clr := $00001000
  22692. else
  22693. pTDefRegMap(@Self)^.&set := $00001000;
  22694. end;
  22695. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  22696. begin
  22697. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22698. end;
  22699. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  22700. begin
  22701. pTDefRegMap(@Self)^.val := thebits;
  22702. end;
  22703. function TADC10_AD1CON3.getw : TBits_32; inline;
  22704. begin
  22705. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22706. end;
  22707. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  22708. begin
  22709. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  22710. end;
  22711. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  22712. begin
  22713. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  22714. end;
  22715. procedure TADC10_AD1CHS.setCH0NA; inline;
  22716. begin
  22717. pTDefRegMap(@Self)^.&set := $00800000;
  22718. end;
  22719. procedure TADC10_AD1CHS.clearCH0NA; inline;
  22720. begin
  22721. pTDefRegMap(@Self)^.clr := $00800000;
  22722. end;
  22723. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  22724. begin
  22725. if thebits = 0 then
  22726. pTDefRegMap(@Self)^.clr := $00800000
  22727. else
  22728. pTDefRegMap(@Self)^.&set := $00800000;
  22729. end;
  22730. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  22731. begin
  22732. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  22733. end;
  22734. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  22735. begin
  22736. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  22737. end;
  22738. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  22739. begin
  22740. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  22741. end;
  22742. procedure TADC10_AD1CHS.setCH0NB; inline;
  22743. begin
  22744. pTDefRegMap(@Self)^.&set := $80000000;
  22745. end;
  22746. procedure TADC10_AD1CHS.clearCH0NB; inline;
  22747. begin
  22748. pTDefRegMap(@Self)^.clr := $80000000;
  22749. end;
  22750. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  22751. begin
  22752. if thebits = 0 then
  22753. pTDefRegMap(@Self)^.clr := $80000000
  22754. else
  22755. pTDefRegMap(@Self)^.&set := $80000000;
  22756. end;
  22757. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  22758. begin
  22759. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  22760. end;
  22761. procedure TADC10_AD1CHS.setCH0SA0; inline;
  22762. begin
  22763. pTDefRegMap(@Self)^.&set := $00010000;
  22764. end;
  22765. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  22766. begin
  22767. pTDefRegMap(@Self)^.clr := $00010000;
  22768. end;
  22769. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  22770. begin
  22771. if thebits = 0 then
  22772. pTDefRegMap(@Self)^.clr := $00010000
  22773. else
  22774. pTDefRegMap(@Self)^.&set := $00010000;
  22775. end;
  22776. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  22777. begin
  22778. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  22779. end;
  22780. procedure TADC10_AD1CHS.setCH0SA1; inline;
  22781. begin
  22782. pTDefRegMap(@Self)^.&set := $00020000;
  22783. end;
  22784. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  22785. begin
  22786. pTDefRegMap(@Self)^.clr := $00020000;
  22787. end;
  22788. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  22789. begin
  22790. if thebits = 0 then
  22791. pTDefRegMap(@Self)^.clr := $00020000
  22792. else
  22793. pTDefRegMap(@Self)^.&set := $00020000;
  22794. end;
  22795. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  22796. begin
  22797. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  22798. end;
  22799. procedure TADC10_AD1CHS.setCH0SA2; inline;
  22800. begin
  22801. pTDefRegMap(@Self)^.&set := $00040000;
  22802. end;
  22803. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  22804. begin
  22805. pTDefRegMap(@Self)^.clr := $00040000;
  22806. end;
  22807. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  22808. begin
  22809. if thebits = 0 then
  22810. pTDefRegMap(@Self)^.clr := $00040000
  22811. else
  22812. pTDefRegMap(@Self)^.&set := $00040000;
  22813. end;
  22814. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  22815. begin
  22816. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  22817. end;
  22818. procedure TADC10_AD1CHS.setCH0SA3; inline;
  22819. begin
  22820. pTDefRegMap(@Self)^.&set := $00080000;
  22821. end;
  22822. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  22823. begin
  22824. pTDefRegMap(@Self)^.clr := $00080000;
  22825. end;
  22826. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  22827. begin
  22828. if thebits = 0 then
  22829. pTDefRegMap(@Self)^.clr := $00080000
  22830. else
  22831. pTDefRegMap(@Self)^.&set := $00080000;
  22832. end;
  22833. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  22834. begin
  22835. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  22836. end;
  22837. procedure TADC10_AD1CHS.setCH0SB0; inline;
  22838. begin
  22839. pTDefRegMap(@Self)^.&set := $01000000;
  22840. end;
  22841. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  22842. begin
  22843. pTDefRegMap(@Self)^.clr := $01000000;
  22844. end;
  22845. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  22846. begin
  22847. if thebits = 0 then
  22848. pTDefRegMap(@Self)^.clr := $01000000
  22849. else
  22850. pTDefRegMap(@Self)^.&set := $01000000;
  22851. end;
  22852. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  22853. begin
  22854. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  22855. end;
  22856. procedure TADC10_AD1CHS.setCH0SB1; inline;
  22857. begin
  22858. pTDefRegMap(@Self)^.&set := $02000000;
  22859. end;
  22860. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  22861. begin
  22862. pTDefRegMap(@Self)^.clr := $02000000;
  22863. end;
  22864. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  22865. begin
  22866. if thebits = 0 then
  22867. pTDefRegMap(@Self)^.clr := $02000000
  22868. else
  22869. pTDefRegMap(@Self)^.&set := $02000000;
  22870. end;
  22871. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  22872. begin
  22873. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  22874. end;
  22875. procedure TADC10_AD1CHS.setCH0SB2; inline;
  22876. begin
  22877. pTDefRegMap(@Self)^.&set := $04000000;
  22878. end;
  22879. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  22880. begin
  22881. pTDefRegMap(@Self)^.clr := $04000000;
  22882. end;
  22883. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  22884. begin
  22885. if thebits = 0 then
  22886. pTDefRegMap(@Self)^.clr := $04000000
  22887. else
  22888. pTDefRegMap(@Self)^.&set := $04000000;
  22889. end;
  22890. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  22891. begin
  22892. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  22893. end;
  22894. procedure TADC10_AD1CHS.setCH0SB3; inline;
  22895. begin
  22896. pTDefRegMap(@Self)^.&set := $08000000;
  22897. end;
  22898. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  22899. begin
  22900. pTDefRegMap(@Self)^.clr := $08000000;
  22901. end;
  22902. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  22903. begin
  22904. if thebits = 0 then
  22905. pTDefRegMap(@Self)^.clr := $08000000
  22906. else
  22907. pTDefRegMap(@Self)^.&set := $08000000;
  22908. end;
  22909. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  22910. begin
  22911. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  22912. end;
  22913. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  22914. begin
  22915. pTDefRegMap(@Self)^.val := thebits;
  22916. end;
  22917. function TADC10_AD1CHS.getw : TBits_32; inline;
  22918. begin
  22919. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22920. end;
  22921. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  22922. begin
  22923. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  22924. end;
  22925. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  22926. begin
  22927. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  22928. end;
  22929. procedure TADC10_AD1CSSL.setCSSL0; inline;
  22930. begin
  22931. pTDefRegMap(@Self)^.&set := $00000001;
  22932. end;
  22933. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  22934. begin
  22935. pTDefRegMap(@Self)^.clr := $00000001;
  22936. end;
  22937. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  22938. begin
  22939. if thebits = 0 then
  22940. pTDefRegMap(@Self)^.clr := $00000001
  22941. else
  22942. pTDefRegMap(@Self)^.&set := $00000001;
  22943. end;
  22944. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  22945. begin
  22946. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22947. end;
  22948. procedure TADC10_AD1CSSL.setCSSL1; inline;
  22949. begin
  22950. pTDefRegMap(@Self)^.&set := $00000002;
  22951. end;
  22952. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  22953. begin
  22954. pTDefRegMap(@Self)^.clr := $00000002;
  22955. end;
  22956. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  22957. begin
  22958. if thebits = 0 then
  22959. pTDefRegMap(@Self)^.clr := $00000002
  22960. else
  22961. pTDefRegMap(@Self)^.&set := $00000002;
  22962. end;
  22963. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  22964. begin
  22965. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22966. end;
  22967. procedure TADC10_AD1CSSL.setCSSL2; inline;
  22968. begin
  22969. pTDefRegMap(@Self)^.&set := $00000004;
  22970. end;
  22971. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  22972. begin
  22973. pTDefRegMap(@Self)^.clr := $00000004;
  22974. end;
  22975. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  22976. begin
  22977. if thebits = 0 then
  22978. pTDefRegMap(@Self)^.clr := $00000004
  22979. else
  22980. pTDefRegMap(@Self)^.&set := $00000004;
  22981. end;
  22982. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  22983. begin
  22984. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22985. end;
  22986. procedure TADC10_AD1CSSL.setCSSL3; inline;
  22987. begin
  22988. pTDefRegMap(@Self)^.&set := $00000008;
  22989. end;
  22990. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  22991. begin
  22992. pTDefRegMap(@Self)^.clr := $00000008;
  22993. end;
  22994. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  22995. begin
  22996. if thebits = 0 then
  22997. pTDefRegMap(@Self)^.clr := $00000008
  22998. else
  22999. pTDefRegMap(@Self)^.&set := $00000008;
  23000. end;
  23001. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  23002. begin
  23003. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23004. end;
  23005. procedure TADC10_AD1CSSL.setCSSL4; inline;
  23006. begin
  23007. pTDefRegMap(@Self)^.&set := $00000010;
  23008. end;
  23009. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  23010. begin
  23011. pTDefRegMap(@Self)^.clr := $00000010;
  23012. end;
  23013. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  23014. begin
  23015. if thebits = 0 then
  23016. pTDefRegMap(@Self)^.clr := $00000010
  23017. else
  23018. pTDefRegMap(@Self)^.&set := $00000010;
  23019. end;
  23020. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  23021. begin
  23022. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23023. end;
  23024. procedure TADC10_AD1CSSL.setCSSL5; inline;
  23025. begin
  23026. pTDefRegMap(@Self)^.&set := $00000020;
  23027. end;
  23028. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  23029. begin
  23030. pTDefRegMap(@Self)^.clr := $00000020;
  23031. end;
  23032. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  23033. begin
  23034. if thebits = 0 then
  23035. pTDefRegMap(@Self)^.clr := $00000020
  23036. else
  23037. pTDefRegMap(@Self)^.&set := $00000020;
  23038. end;
  23039. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  23040. begin
  23041. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23042. end;
  23043. procedure TADC10_AD1CSSL.setCSSL6; inline;
  23044. begin
  23045. pTDefRegMap(@Self)^.&set := $00000040;
  23046. end;
  23047. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  23048. begin
  23049. pTDefRegMap(@Self)^.clr := $00000040;
  23050. end;
  23051. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  23052. begin
  23053. if thebits = 0 then
  23054. pTDefRegMap(@Self)^.clr := $00000040
  23055. else
  23056. pTDefRegMap(@Self)^.&set := $00000040;
  23057. end;
  23058. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  23059. begin
  23060. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23061. end;
  23062. procedure TADC10_AD1CSSL.setCSSL7; inline;
  23063. begin
  23064. pTDefRegMap(@Self)^.&set := $00000080;
  23065. end;
  23066. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  23067. begin
  23068. pTDefRegMap(@Self)^.clr := $00000080;
  23069. end;
  23070. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  23071. begin
  23072. if thebits = 0 then
  23073. pTDefRegMap(@Self)^.clr := $00000080
  23074. else
  23075. pTDefRegMap(@Self)^.&set := $00000080;
  23076. end;
  23077. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  23078. begin
  23079. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23080. end;
  23081. procedure TADC10_AD1CSSL.setCSSL8; inline;
  23082. begin
  23083. pTDefRegMap(@Self)^.&set := $00000100;
  23084. end;
  23085. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  23086. begin
  23087. pTDefRegMap(@Self)^.clr := $00000100;
  23088. end;
  23089. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  23090. begin
  23091. if thebits = 0 then
  23092. pTDefRegMap(@Self)^.clr := $00000100
  23093. else
  23094. pTDefRegMap(@Self)^.&set := $00000100;
  23095. end;
  23096. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  23097. begin
  23098. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23099. end;
  23100. procedure TADC10_AD1CSSL.setCSSL9; inline;
  23101. begin
  23102. pTDefRegMap(@Self)^.&set := $00000200;
  23103. end;
  23104. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  23105. begin
  23106. pTDefRegMap(@Self)^.clr := $00000200;
  23107. end;
  23108. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  23109. begin
  23110. if thebits = 0 then
  23111. pTDefRegMap(@Self)^.clr := $00000200
  23112. else
  23113. pTDefRegMap(@Self)^.&set := $00000200;
  23114. end;
  23115. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  23116. begin
  23117. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23118. end;
  23119. procedure TADC10_AD1CSSL.setCSSL10; inline;
  23120. begin
  23121. pTDefRegMap(@Self)^.&set := $00000400;
  23122. end;
  23123. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  23124. begin
  23125. pTDefRegMap(@Self)^.clr := $00000400;
  23126. end;
  23127. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  23128. begin
  23129. if thebits = 0 then
  23130. pTDefRegMap(@Self)^.clr := $00000400
  23131. else
  23132. pTDefRegMap(@Self)^.&set := $00000400;
  23133. end;
  23134. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  23135. begin
  23136. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23137. end;
  23138. procedure TADC10_AD1CSSL.setCSSL11; inline;
  23139. begin
  23140. pTDefRegMap(@Self)^.&set := $00000800;
  23141. end;
  23142. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  23143. begin
  23144. pTDefRegMap(@Self)^.clr := $00000800;
  23145. end;
  23146. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  23147. begin
  23148. if thebits = 0 then
  23149. pTDefRegMap(@Self)^.clr := $00000800
  23150. else
  23151. pTDefRegMap(@Self)^.&set := $00000800;
  23152. end;
  23153. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  23154. begin
  23155. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23156. end;
  23157. procedure TADC10_AD1CSSL.setCSSL12; inline;
  23158. begin
  23159. pTDefRegMap(@Self)^.&set := $00001000;
  23160. end;
  23161. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  23162. begin
  23163. pTDefRegMap(@Self)^.clr := $00001000;
  23164. end;
  23165. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  23166. begin
  23167. if thebits = 0 then
  23168. pTDefRegMap(@Self)^.clr := $00001000
  23169. else
  23170. pTDefRegMap(@Self)^.&set := $00001000;
  23171. end;
  23172. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  23173. begin
  23174. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23175. end;
  23176. procedure TADC10_AD1CSSL.setCSSL13; inline;
  23177. begin
  23178. pTDefRegMap(@Self)^.&set := $00002000;
  23179. end;
  23180. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  23181. begin
  23182. pTDefRegMap(@Self)^.clr := $00002000;
  23183. end;
  23184. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  23185. begin
  23186. if thebits = 0 then
  23187. pTDefRegMap(@Self)^.clr := $00002000
  23188. else
  23189. pTDefRegMap(@Self)^.&set := $00002000;
  23190. end;
  23191. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  23192. begin
  23193. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23194. end;
  23195. procedure TADC10_AD1CSSL.setCSSL14; inline;
  23196. begin
  23197. pTDefRegMap(@Self)^.&set := $00004000;
  23198. end;
  23199. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  23200. begin
  23201. pTDefRegMap(@Self)^.clr := $00004000;
  23202. end;
  23203. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  23204. begin
  23205. if thebits = 0 then
  23206. pTDefRegMap(@Self)^.clr := $00004000
  23207. else
  23208. pTDefRegMap(@Self)^.&set := $00004000;
  23209. end;
  23210. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  23211. begin
  23212. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23213. end;
  23214. procedure TADC10_AD1CSSL.setCSSL15; inline;
  23215. begin
  23216. pTDefRegMap(@Self)^.&set := $00008000;
  23217. end;
  23218. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  23219. begin
  23220. pTDefRegMap(@Self)^.clr := $00008000;
  23221. end;
  23222. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  23223. begin
  23224. if thebits = 0 then
  23225. pTDefRegMap(@Self)^.clr := $00008000
  23226. else
  23227. pTDefRegMap(@Self)^.&set := $00008000;
  23228. end;
  23229. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  23230. begin
  23231. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23232. end;
  23233. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  23234. begin
  23235. pTDefRegMap(@Self)^.val := thebits;
  23236. end;
  23237. function TADC10_AD1CSSL.getw : TBits_32; inline;
  23238. begin
  23239. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23240. end;
  23241. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  23242. begin
  23243. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  23244. end;
  23245. function TCVR_CVRCON.getCVR : TBits_4; inline;
  23246. begin
  23247. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  23248. end;
  23249. procedure TCVR_CVRCON.setCVRSS; inline;
  23250. begin
  23251. pTDefRegMap(@Self)^.&set := $00000010;
  23252. end;
  23253. procedure TCVR_CVRCON.clearCVRSS; inline;
  23254. begin
  23255. pTDefRegMap(@Self)^.clr := $00000010;
  23256. end;
  23257. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  23258. begin
  23259. if thebits = 0 then
  23260. pTDefRegMap(@Self)^.clr := $00000010
  23261. else
  23262. pTDefRegMap(@Self)^.&set := $00000010;
  23263. end;
  23264. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  23265. begin
  23266. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23267. end;
  23268. procedure TCVR_CVRCON.setCVRR; inline;
  23269. begin
  23270. pTDefRegMap(@Self)^.&set := $00000020;
  23271. end;
  23272. procedure TCVR_CVRCON.clearCVRR; inline;
  23273. begin
  23274. pTDefRegMap(@Self)^.clr := $00000020;
  23275. end;
  23276. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  23277. begin
  23278. if thebits = 0 then
  23279. pTDefRegMap(@Self)^.clr := $00000020
  23280. else
  23281. pTDefRegMap(@Self)^.&set := $00000020;
  23282. end;
  23283. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  23284. begin
  23285. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23286. end;
  23287. procedure TCVR_CVRCON.setCVROE; inline;
  23288. begin
  23289. pTDefRegMap(@Self)^.&set := $00000040;
  23290. end;
  23291. procedure TCVR_CVRCON.clearCVROE; inline;
  23292. begin
  23293. pTDefRegMap(@Self)^.clr := $00000040;
  23294. end;
  23295. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  23296. begin
  23297. if thebits = 0 then
  23298. pTDefRegMap(@Self)^.clr := $00000040
  23299. else
  23300. pTDefRegMap(@Self)^.&set := $00000040;
  23301. end;
  23302. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  23303. begin
  23304. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23305. end;
  23306. procedure TCVR_CVRCON.setON; inline;
  23307. begin
  23308. pTDefRegMap(@Self)^.&set := $00008000;
  23309. end;
  23310. procedure TCVR_CVRCON.clearON; inline;
  23311. begin
  23312. pTDefRegMap(@Self)^.clr := $00008000;
  23313. end;
  23314. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  23315. begin
  23316. if thebits = 0 then
  23317. pTDefRegMap(@Self)^.clr := $00008000
  23318. else
  23319. pTDefRegMap(@Self)^.&set := $00008000;
  23320. end;
  23321. function TCVR_CVRCON.getON : TBits_1; inline;
  23322. begin
  23323. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23324. end;
  23325. procedure TCVR_CVRCON.setCVR0; inline;
  23326. begin
  23327. pTDefRegMap(@Self)^.&set := $00000001;
  23328. end;
  23329. procedure TCVR_CVRCON.clearCVR0; inline;
  23330. begin
  23331. pTDefRegMap(@Self)^.clr := $00000001;
  23332. end;
  23333. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  23334. begin
  23335. if thebits = 0 then
  23336. pTDefRegMap(@Self)^.clr := $00000001
  23337. else
  23338. pTDefRegMap(@Self)^.&set := $00000001;
  23339. end;
  23340. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  23341. begin
  23342. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23343. end;
  23344. procedure TCVR_CVRCON.setCVR1; inline;
  23345. begin
  23346. pTDefRegMap(@Self)^.&set := $00000002;
  23347. end;
  23348. procedure TCVR_CVRCON.clearCVR1; inline;
  23349. begin
  23350. pTDefRegMap(@Self)^.clr := $00000002;
  23351. end;
  23352. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  23353. begin
  23354. if thebits = 0 then
  23355. pTDefRegMap(@Self)^.clr := $00000002
  23356. else
  23357. pTDefRegMap(@Self)^.&set := $00000002;
  23358. end;
  23359. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  23360. begin
  23361. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23362. end;
  23363. procedure TCVR_CVRCON.setCVR2; inline;
  23364. begin
  23365. pTDefRegMap(@Self)^.&set := $00000004;
  23366. end;
  23367. procedure TCVR_CVRCON.clearCVR2; inline;
  23368. begin
  23369. pTDefRegMap(@Self)^.clr := $00000004;
  23370. end;
  23371. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  23372. begin
  23373. if thebits = 0 then
  23374. pTDefRegMap(@Self)^.clr := $00000004
  23375. else
  23376. pTDefRegMap(@Self)^.&set := $00000004;
  23377. end;
  23378. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  23379. begin
  23380. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23381. end;
  23382. procedure TCVR_CVRCON.setCVR3; inline;
  23383. begin
  23384. pTDefRegMap(@Self)^.&set := $00000008;
  23385. end;
  23386. procedure TCVR_CVRCON.clearCVR3; inline;
  23387. begin
  23388. pTDefRegMap(@Self)^.clr := $00000008;
  23389. end;
  23390. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  23391. begin
  23392. if thebits = 0 then
  23393. pTDefRegMap(@Self)^.clr := $00000008
  23394. else
  23395. pTDefRegMap(@Self)^.&set := $00000008;
  23396. end;
  23397. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  23398. begin
  23399. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23400. end;
  23401. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  23402. begin
  23403. pTDefRegMap(@Self)^.val := thebits;
  23404. end;
  23405. function TCVR_CVRCON.getw : TBits_32; inline;
  23406. begin
  23407. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23408. end;
  23409. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  23410. begin
  23411. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23412. end;
  23413. function TCMP_CM1CON.getCCH : TBits_2; inline;
  23414. begin
  23415. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23416. end;
  23417. procedure TCMP_CM1CON.setCREF; inline;
  23418. begin
  23419. pTDefRegMap(@Self)^.&set := $00000010;
  23420. end;
  23421. procedure TCMP_CM1CON.clearCREF; inline;
  23422. begin
  23423. pTDefRegMap(@Self)^.clr := $00000010;
  23424. end;
  23425. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  23426. begin
  23427. if thebits = 0 then
  23428. pTDefRegMap(@Self)^.clr := $00000010
  23429. else
  23430. pTDefRegMap(@Self)^.&set := $00000010;
  23431. end;
  23432. function TCMP_CM1CON.getCREF : TBits_1; inline;
  23433. begin
  23434. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23435. end;
  23436. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  23437. begin
  23438. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23439. end;
  23440. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  23441. begin
  23442. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23443. end;
  23444. procedure TCMP_CM1CON.setCOUT; inline;
  23445. begin
  23446. pTDefRegMap(@Self)^.&set := $00000100;
  23447. end;
  23448. procedure TCMP_CM1CON.clearCOUT; inline;
  23449. begin
  23450. pTDefRegMap(@Self)^.clr := $00000100;
  23451. end;
  23452. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  23453. begin
  23454. if thebits = 0 then
  23455. pTDefRegMap(@Self)^.clr := $00000100
  23456. else
  23457. pTDefRegMap(@Self)^.&set := $00000100;
  23458. end;
  23459. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  23460. begin
  23461. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23462. end;
  23463. procedure TCMP_CM1CON.setCPOL; inline;
  23464. begin
  23465. pTDefRegMap(@Self)^.&set := $00002000;
  23466. end;
  23467. procedure TCMP_CM1CON.clearCPOL; inline;
  23468. begin
  23469. pTDefRegMap(@Self)^.clr := $00002000;
  23470. end;
  23471. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  23472. begin
  23473. if thebits = 0 then
  23474. pTDefRegMap(@Self)^.clr := $00002000
  23475. else
  23476. pTDefRegMap(@Self)^.&set := $00002000;
  23477. end;
  23478. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  23479. begin
  23480. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23481. end;
  23482. procedure TCMP_CM1CON.setCOE; inline;
  23483. begin
  23484. pTDefRegMap(@Self)^.&set := $00004000;
  23485. end;
  23486. procedure TCMP_CM1CON.clearCOE; inline;
  23487. begin
  23488. pTDefRegMap(@Self)^.clr := $00004000;
  23489. end;
  23490. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  23491. begin
  23492. if thebits = 0 then
  23493. pTDefRegMap(@Self)^.clr := $00004000
  23494. else
  23495. pTDefRegMap(@Self)^.&set := $00004000;
  23496. end;
  23497. function TCMP_CM1CON.getCOE : TBits_1; inline;
  23498. begin
  23499. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23500. end;
  23501. procedure TCMP_CM1CON.setON; inline;
  23502. begin
  23503. pTDefRegMap(@Self)^.&set := $00008000;
  23504. end;
  23505. procedure TCMP_CM1CON.clearON; inline;
  23506. begin
  23507. pTDefRegMap(@Self)^.clr := $00008000;
  23508. end;
  23509. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  23510. begin
  23511. if thebits = 0 then
  23512. pTDefRegMap(@Self)^.clr := $00008000
  23513. else
  23514. pTDefRegMap(@Self)^.&set := $00008000;
  23515. end;
  23516. function TCMP_CM1CON.getON : TBits_1; inline;
  23517. begin
  23518. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23519. end;
  23520. procedure TCMP_CM1CON.setCCH0; inline;
  23521. begin
  23522. pTDefRegMap(@Self)^.&set := $00000001;
  23523. end;
  23524. procedure TCMP_CM1CON.clearCCH0; inline;
  23525. begin
  23526. pTDefRegMap(@Self)^.clr := $00000001;
  23527. end;
  23528. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  23529. begin
  23530. if thebits = 0 then
  23531. pTDefRegMap(@Self)^.clr := $00000001
  23532. else
  23533. pTDefRegMap(@Self)^.&set := $00000001;
  23534. end;
  23535. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  23536. begin
  23537. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23538. end;
  23539. procedure TCMP_CM1CON.setCCH1; inline;
  23540. begin
  23541. pTDefRegMap(@Self)^.&set := $00000002;
  23542. end;
  23543. procedure TCMP_CM1CON.clearCCH1; inline;
  23544. begin
  23545. pTDefRegMap(@Self)^.clr := $00000002;
  23546. end;
  23547. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  23548. begin
  23549. if thebits = 0 then
  23550. pTDefRegMap(@Self)^.clr := $00000002
  23551. else
  23552. pTDefRegMap(@Self)^.&set := $00000002;
  23553. end;
  23554. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  23555. begin
  23556. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23557. end;
  23558. procedure TCMP_CM1CON.setEVPOL0; inline;
  23559. begin
  23560. pTDefRegMap(@Self)^.&set := $00000040;
  23561. end;
  23562. procedure TCMP_CM1CON.clearEVPOL0; inline;
  23563. begin
  23564. pTDefRegMap(@Self)^.clr := $00000040;
  23565. end;
  23566. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  23567. begin
  23568. if thebits = 0 then
  23569. pTDefRegMap(@Self)^.clr := $00000040
  23570. else
  23571. pTDefRegMap(@Self)^.&set := $00000040;
  23572. end;
  23573. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  23574. begin
  23575. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23576. end;
  23577. procedure TCMP_CM1CON.setEVPOL1; inline;
  23578. begin
  23579. pTDefRegMap(@Self)^.&set := $00000080;
  23580. end;
  23581. procedure TCMP_CM1CON.clearEVPOL1; inline;
  23582. begin
  23583. pTDefRegMap(@Self)^.clr := $00000080;
  23584. end;
  23585. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  23586. begin
  23587. if thebits = 0 then
  23588. pTDefRegMap(@Self)^.clr := $00000080
  23589. else
  23590. pTDefRegMap(@Self)^.&set := $00000080;
  23591. end;
  23592. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  23593. begin
  23594. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23595. end;
  23596. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  23597. begin
  23598. pTDefRegMap(@Self)^.val := thebits;
  23599. end;
  23600. function TCMP_CM1CON.getw : TBits_32; inline;
  23601. begin
  23602. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23603. end;
  23604. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  23605. begin
  23606. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23607. end;
  23608. function TCMP_CM2CON.getCCH : TBits_2; inline;
  23609. begin
  23610. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23611. end;
  23612. procedure TCMP_CM2CON.setCREF; inline;
  23613. begin
  23614. pTDefRegMap(@Self)^.&set := $00000010;
  23615. end;
  23616. procedure TCMP_CM2CON.clearCREF; inline;
  23617. begin
  23618. pTDefRegMap(@Self)^.clr := $00000010;
  23619. end;
  23620. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  23621. begin
  23622. if thebits = 0 then
  23623. pTDefRegMap(@Self)^.clr := $00000010
  23624. else
  23625. pTDefRegMap(@Self)^.&set := $00000010;
  23626. end;
  23627. function TCMP_CM2CON.getCREF : TBits_1; inline;
  23628. begin
  23629. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23630. end;
  23631. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  23632. begin
  23633. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23634. end;
  23635. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  23636. begin
  23637. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23638. end;
  23639. procedure TCMP_CM2CON.setCOUT; inline;
  23640. begin
  23641. pTDefRegMap(@Self)^.&set := $00000100;
  23642. end;
  23643. procedure TCMP_CM2CON.clearCOUT; inline;
  23644. begin
  23645. pTDefRegMap(@Self)^.clr := $00000100;
  23646. end;
  23647. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  23648. begin
  23649. if thebits = 0 then
  23650. pTDefRegMap(@Self)^.clr := $00000100
  23651. else
  23652. pTDefRegMap(@Self)^.&set := $00000100;
  23653. end;
  23654. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  23655. begin
  23656. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23657. end;
  23658. procedure TCMP_CM2CON.setCPOL; inline;
  23659. begin
  23660. pTDefRegMap(@Self)^.&set := $00002000;
  23661. end;
  23662. procedure TCMP_CM2CON.clearCPOL; inline;
  23663. begin
  23664. pTDefRegMap(@Self)^.clr := $00002000;
  23665. end;
  23666. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  23667. begin
  23668. if thebits = 0 then
  23669. pTDefRegMap(@Self)^.clr := $00002000
  23670. else
  23671. pTDefRegMap(@Self)^.&set := $00002000;
  23672. end;
  23673. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  23674. begin
  23675. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23676. end;
  23677. procedure TCMP_CM2CON.setCOE; inline;
  23678. begin
  23679. pTDefRegMap(@Self)^.&set := $00004000;
  23680. end;
  23681. procedure TCMP_CM2CON.clearCOE; inline;
  23682. begin
  23683. pTDefRegMap(@Self)^.clr := $00004000;
  23684. end;
  23685. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  23686. begin
  23687. if thebits = 0 then
  23688. pTDefRegMap(@Self)^.clr := $00004000
  23689. else
  23690. pTDefRegMap(@Self)^.&set := $00004000;
  23691. end;
  23692. function TCMP_CM2CON.getCOE : TBits_1; inline;
  23693. begin
  23694. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23695. end;
  23696. procedure TCMP_CM2CON.setON; inline;
  23697. begin
  23698. pTDefRegMap(@Self)^.&set := $00008000;
  23699. end;
  23700. procedure TCMP_CM2CON.clearON; inline;
  23701. begin
  23702. pTDefRegMap(@Self)^.clr := $00008000;
  23703. end;
  23704. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  23705. begin
  23706. if thebits = 0 then
  23707. pTDefRegMap(@Self)^.clr := $00008000
  23708. else
  23709. pTDefRegMap(@Self)^.&set := $00008000;
  23710. end;
  23711. function TCMP_CM2CON.getON : TBits_1; inline;
  23712. begin
  23713. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23714. end;
  23715. procedure TCMP_CM2CON.setCCH0; inline;
  23716. begin
  23717. pTDefRegMap(@Self)^.&set := $00000001;
  23718. end;
  23719. procedure TCMP_CM2CON.clearCCH0; inline;
  23720. begin
  23721. pTDefRegMap(@Self)^.clr := $00000001;
  23722. end;
  23723. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  23724. begin
  23725. if thebits = 0 then
  23726. pTDefRegMap(@Self)^.clr := $00000001
  23727. else
  23728. pTDefRegMap(@Self)^.&set := $00000001;
  23729. end;
  23730. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  23731. begin
  23732. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23733. end;
  23734. procedure TCMP_CM2CON.setCCH1; inline;
  23735. begin
  23736. pTDefRegMap(@Self)^.&set := $00000002;
  23737. end;
  23738. procedure TCMP_CM2CON.clearCCH1; inline;
  23739. begin
  23740. pTDefRegMap(@Self)^.clr := $00000002;
  23741. end;
  23742. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  23743. begin
  23744. if thebits = 0 then
  23745. pTDefRegMap(@Self)^.clr := $00000002
  23746. else
  23747. pTDefRegMap(@Self)^.&set := $00000002;
  23748. end;
  23749. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  23750. begin
  23751. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23752. end;
  23753. procedure TCMP_CM2CON.setEVPOL0; inline;
  23754. begin
  23755. pTDefRegMap(@Self)^.&set := $00000040;
  23756. end;
  23757. procedure TCMP_CM2CON.clearEVPOL0; inline;
  23758. begin
  23759. pTDefRegMap(@Self)^.clr := $00000040;
  23760. end;
  23761. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  23762. begin
  23763. if thebits = 0 then
  23764. pTDefRegMap(@Self)^.clr := $00000040
  23765. else
  23766. pTDefRegMap(@Self)^.&set := $00000040;
  23767. end;
  23768. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  23769. begin
  23770. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23771. end;
  23772. procedure TCMP_CM2CON.setEVPOL1; inline;
  23773. begin
  23774. pTDefRegMap(@Self)^.&set := $00000080;
  23775. end;
  23776. procedure TCMP_CM2CON.clearEVPOL1; inline;
  23777. begin
  23778. pTDefRegMap(@Self)^.clr := $00000080;
  23779. end;
  23780. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  23781. begin
  23782. if thebits = 0 then
  23783. pTDefRegMap(@Self)^.clr := $00000080
  23784. else
  23785. pTDefRegMap(@Self)^.&set := $00000080;
  23786. end;
  23787. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  23788. begin
  23789. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23790. end;
  23791. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  23792. begin
  23793. pTDefRegMap(@Self)^.val := thebits;
  23794. end;
  23795. function TCMP_CM2CON.getw : TBits_32; inline;
  23796. begin
  23797. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23798. end;
  23799. procedure TCMP_CM3CON.setCCH(thebits : TBits_2); inline;
  23800. begin
  23801. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23802. end;
  23803. function TCMP_CM3CON.getCCH : TBits_2; inline;
  23804. begin
  23805. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23806. end;
  23807. procedure TCMP_CM3CON.setCREF; inline;
  23808. begin
  23809. pTDefRegMap(@Self)^.&set := $00000010;
  23810. end;
  23811. procedure TCMP_CM3CON.clearCREF; inline;
  23812. begin
  23813. pTDefRegMap(@Self)^.clr := $00000010;
  23814. end;
  23815. procedure TCMP_CM3CON.setCREF(thebits : TBits_1); inline;
  23816. begin
  23817. if thebits = 0 then
  23818. pTDefRegMap(@Self)^.clr := $00000010
  23819. else
  23820. pTDefRegMap(@Self)^.&set := $00000010;
  23821. end;
  23822. function TCMP_CM3CON.getCREF : TBits_1; inline;
  23823. begin
  23824. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23825. end;
  23826. procedure TCMP_CM3CON.setEVPOL(thebits : TBits_2); inline;
  23827. begin
  23828. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23829. end;
  23830. function TCMP_CM3CON.getEVPOL : TBits_2; inline;
  23831. begin
  23832. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23833. end;
  23834. procedure TCMP_CM3CON.setCOUT; inline;
  23835. begin
  23836. pTDefRegMap(@Self)^.&set := $00000100;
  23837. end;
  23838. procedure TCMP_CM3CON.clearCOUT; inline;
  23839. begin
  23840. pTDefRegMap(@Self)^.clr := $00000100;
  23841. end;
  23842. procedure TCMP_CM3CON.setCOUT(thebits : TBits_1); inline;
  23843. begin
  23844. if thebits = 0 then
  23845. pTDefRegMap(@Self)^.clr := $00000100
  23846. else
  23847. pTDefRegMap(@Self)^.&set := $00000100;
  23848. end;
  23849. function TCMP_CM3CON.getCOUT : TBits_1; inline;
  23850. begin
  23851. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23852. end;
  23853. procedure TCMP_CM3CON.setCPOL; inline;
  23854. begin
  23855. pTDefRegMap(@Self)^.&set := $00002000;
  23856. end;
  23857. procedure TCMP_CM3CON.clearCPOL; inline;
  23858. begin
  23859. pTDefRegMap(@Self)^.clr := $00002000;
  23860. end;
  23861. procedure TCMP_CM3CON.setCPOL(thebits : TBits_1); inline;
  23862. begin
  23863. if thebits = 0 then
  23864. pTDefRegMap(@Self)^.clr := $00002000
  23865. else
  23866. pTDefRegMap(@Self)^.&set := $00002000;
  23867. end;
  23868. function TCMP_CM3CON.getCPOL : TBits_1; inline;
  23869. begin
  23870. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23871. end;
  23872. procedure TCMP_CM3CON.setCOE; inline;
  23873. begin
  23874. pTDefRegMap(@Self)^.&set := $00004000;
  23875. end;
  23876. procedure TCMP_CM3CON.clearCOE; inline;
  23877. begin
  23878. pTDefRegMap(@Self)^.clr := $00004000;
  23879. end;
  23880. procedure TCMP_CM3CON.setCOE(thebits : TBits_1); inline;
  23881. begin
  23882. if thebits = 0 then
  23883. pTDefRegMap(@Self)^.clr := $00004000
  23884. else
  23885. pTDefRegMap(@Self)^.&set := $00004000;
  23886. end;
  23887. function TCMP_CM3CON.getCOE : TBits_1; inline;
  23888. begin
  23889. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23890. end;
  23891. procedure TCMP_CM3CON.setON; inline;
  23892. begin
  23893. pTDefRegMap(@Self)^.&set := $00008000;
  23894. end;
  23895. procedure TCMP_CM3CON.clearON; inline;
  23896. begin
  23897. pTDefRegMap(@Self)^.clr := $00008000;
  23898. end;
  23899. procedure TCMP_CM3CON.setON(thebits : TBits_1); inline;
  23900. begin
  23901. if thebits = 0 then
  23902. pTDefRegMap(@Self)^.clr := $00008000
  23903. else
  23904. pTDefRegMap(@Self)^.&set := $00008000;
  23905. end;
  23906. function TCMP_CM3CON.getON : TBits_1; inline;
  23907. begin
  23908. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23909. end;
  23910. procedure TCMP_CM3CON.setCCH0; inline;
  23911. begin
  23912. pTDefRegMap(@Self)^.&set := $00000001;
  23913. end;
  23914. procedure TCMP_CM3CON.clearCCH0; inline;
  23915. begin
  23916. pTDefRegMap(@Self)^.clr := $00000001;
  23917. end;
  23918. procedure TCMP_CM3CON.setCCH0(thebits : TBits_1); inline;
  23919. begin
  23920. if thebits = 0 then
  23921. pTDefRegMap(@Self)^.clr := $00000001
  23922. else
  23923. pTDefRegMap(@Self)^.&set := $00000001;
  23924. end;
  23925. function TCMP_CM3CON.getCCH0 : TBits_1; inline;
  23926. begin
  23927. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23928. end;
  23929. procedure TCMP_CM3CON.setCCH1; inline;
  23930. begin
  23931. pTDefRegMap(@Self)^.&set := $00000002;
  23932. end;
  23933. procedure TCMP_CM3CON.clearCCH1; inline;
  23934. begin
  23935. pTDefRegMap(@Self)^.clr := $00000002;
  23936. end;
  23937. procedure TCMP_CM3CON.setCCH1(thebits : TBits_1); inline;
  23938. begin
  23939. if thebits = 0 then
  23940. pTDefRegMap(@Self)^.clr := $00000002
  23941. else
  23942. pTDefRegMap(@Self)^.&set := $00000002;
  23943. end;
  23944. function TCMP_CM3CON.getCCH1 : TBits_1; inline;
  23945. begin
  23946. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23947. end;
  23948. procedure TCMP_CM3CON.setEVPOL0; inline;
  23949. begin
  23950. pTDefRegMap(@Self)^.&set := $00000040;
  23951. end;
  23952. procedure TCMP_CM3CON.clearEVPOL0; inline;
  23953. begin
  23954. pTDefRegMap(@Self)^.clr := $00000040;
  23955. end;
  23956. procedure TCMP_CM3CON.setEVPOL0(thebits : TBits_1); inline;
  23957. begin
  23958. if thebits = 0 then
  23959. pTDefRegMap(@Self)^.clr := $00000040
  23960. else
  23961. pTDefRegMap(@Self)^.&set := $00000040;
  23962. end;
  23963. function TCMP_CM3CON.getEVPOL0 : TBits_1; inline;
  23964. begin
  23965. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23966. end;
  23967. procedure TCMP_CM3CON.setEVPOL1; inline;
  23968. begin
  23969. pTDefRegMap(@Self)^.&set := $00000080;
  23970. end;
  23971. procedure TCMP_CM3CON.clearEVPOL1; inline;
  23972. begin
  23973. pTDefRegMap(@Self)^.clr := $00000080;
  23974. end;
  23975. procedure TCMP_CM3CON.setEVPOL1(thebits : TBits_1); inline;
  23976. begin
  23977. if thebits = 0 then
  23978. pTDefRegMap(@Self)^.clr := $00000080
  23979. else
  23980. pTDefRegMap(@Self)^.&set := $00000080;
  23981. end;
  23982. function TCMP_CM3CON.getEVPOL1 : TBits_1; inline;
  23983. begin
  23984. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23985. end;
  23986. procedure TCMP_CM3CON.setw(thebits : TBits_32); inline;
  23987. begin
  23988. pTDefRegMap(@Self)^.val := thebits;
  23989. end;
  23990. function TCMP_CM3CON.getw : TBits_32; inline;
  23991. begin
  23992. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23993. end;
  23994. procedure TCMP_CMSTAT.setC1OUT; inline;
  23995. begin
  23996. pTDefRegMap(@Self)^.&set := $00000001;
  23997. end;
  23998. procedure TCMP_CMSTAT.clearC1OUT; inline;
  23999. begin
  24000. pTDefRegMap(@Self)^.clr := $00000001;
  24001. end;
  24002. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  24003. begin
  24004. if thebits = 0 then
  24005. pTDefRegMap(@Self)^.clr := $00000001
  24006. else
  24007. pTDefRegMap(@Self)^.&set := $00000001;
  24008. end;
  24009. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  24010. begin
  24011. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24012. end;
  24013. procedure TCMP_CMSTAT.setC2OUT; inline;
  24014. begin
  24015. pTDefRegMap(@Self)^.&set := $00000002;
  24016. end;
  24017. procedure TCMP_CMSTAT.clearC2OUT; inline;
  24018. begin
  24019. pTDefRegMap(@Self)^.clr := $00000002;
  24020. end;
  24021. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  24022. begin
  24023. if thebits = 0 then
  24024. pTDefRegMap(@Self)^.clr := $00000002
  24025. else
  24026. pTDefRegMap(@Self)^.&set := $00000002;
  24027. end;
  24028. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  24029. begin
  24030. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24031. end;
  24032. procedure TCMP_CMSTAT.setC3OUT; inline;
  24033. begin
  24034. pTDefRegMap(@Self)^.&set := $00000004;
  24035. end;
  24036. procedure TCMP_CMSTAT.clearC3OUT; inline;
  24037. begin
  24038. pTDefRegMap(@Self)^.clr := $00000004;
  24039. end;
  24040. procedure TCMP_CMSTAT.setC3OUT(thebits : TBits_1); inline;
  24041. begin
  24042. if thebits = 0 then
  24043. pTDefRegMap(@Self)^.clr := $00000004
  24044. else
  24045. pTDefRegMap(@Self)^.&set := $00000004;
  24046. end;
  24047. function TCMP_CMSTAT.getC3OUT : TBits_1; inline;
  24048. begin
  24049. getC3OUT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24050. end;
  24051. procedure TCMP_CMSTAT.setSIDL; inline;
  24052. begin
  24053. pTDefRegMap(@Self)^.&set := $00002000;
  24054. end;
  24055. procedure TCMP_CMSTAT.clearSIDL; inline;
  24056. begin
  24057. pTDefRegMap(@Self)^.clr := $00002000;
  24058. end;
  24059. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  24060. begin
  24061. if thebits = 0 then
  24062. pTDefRegMap(@Self)^.clr := $00002000
  24063. else
  24064. pTDefRegMap(@Self)^.&set := $00002000;
  24065. end;
  24066. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  24067. begin
  24068. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24069. end;
  24070. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  24071. begin
  24072. pTDefRegMap(@Self)^.val := thebits;
  24073. end;
  24074. function TCMP_CMSTAT.getw : TBits_32; inline;
  24075. begin
  24076. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24077. end;
  24078. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  24079. begin
  24080. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24081. end;
  24082. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  24083. begin
  24084. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24085. end;
  24086. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  24087. begin
  24088. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  24089. end;
  24090. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  24091. begin
  24092. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  24093. end;
  24094. procedure TCMP_CTMUCON.setCTTRIG; inline;
  24095. begin
  24096. pTDefRegMap(@Self)^.&set := $00000100;
  24097. end;
  24098. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  24099. begin
  24100. pTDefRegMap(@Self)^.clr := $00000100;
  24101. end;
  24102. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  24103. begin
  24104. if thebits = 0 then
  24105. pTDefRegMap(@Self)^.clr := $00000100
  24106. else
  24107. pTDefRegMap(@Self)^.&set := $00000100;
  24108. end;
  24109. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  24110. begin
  24111. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24112. end;
  24113. procedure TCMP_CTMUCON.setIDISSEN; inline;
  24114. begin
  24115. pTDefRegMap(@Self)^.&set := $00000200;
  24116. end;
  24117. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  24118. begin
  24119. pTDefRegMap(@Self)^.clr := $00000200;
  24120. end;
  24121. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  24122. begin
  24123. if thebits = 0 then
  24124. pTDefRegMap(@Self)^.clr := $00000200
  24125. else
  24126. pTDefRegMap(@Self)^.&set := $00000200;
  24127. end;
  24128. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  24129. begin
  24130. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24131. end;
  24132. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  24133. begin
  24134. pTDefRegMap(@Self)^.&set := $00000400;
  24135. end;
  24136. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  24137. begin
  24138. pTDefRegMap(@Self)^.clr := $00000400;
  24139. end;
  24140. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  24141. begin
  24142. if thebits = 0 then
  24143. pTDefRegMap(@Self)^.clr := $00000400
  24144. else
  24145. pTDefRegMap(@Self)^.&set := $00000400;
  24146. end;
  24147. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  24148. begin
  24149. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24150. end;
  24151. procedure TCMP_CTMUCON.setEDGEN; inline;
  24152. begin
  24153. pTDefRegMap(@Self)^.&set := $00000800;
  24154. end;
  24155. procedure TCMP_CTMUCON.clearEDGEN; inline;
  24156. begin
  24157. pTDefRegMap(@Self)^.clr := $00000800;
  24158. end;
  24159. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  24160. begin
  24161. if thebits = 0 then
  24162. pTDefRegMap(@Self)^.clr := $00000800
  24163. else
  24164. pTDefRegMap(@Self)^.&set := $00000800;
  24165. end;
  24166. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  24167. begin
  24168. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24169. end;
  24170. procedure TCMP_CTMUCON.setTGEN; inline;
  24171. begin
  24172. pTDefRegMap(@Self)^.&set := $00001000;
  24173. end;
  24174. procedure TCMP_CTMUCON.clearTGEN; inline;
  24175. begin
  24176. pTDefRegMap(@Self)^.clr := $00001000;
  24177. end;
  24178. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  24179. begin
  24180. if thebits = 0 then
  24181. pTDefRegMap(@Self)^.clr := $00001000
  24182. else
  24183. pTDefRegMap(@Self)^.&set := $00001000;
  24184. end;
  24185. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  24186. begin
  24187. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24188. end;
  24189. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  24190. begin
  24191. pTDefRegMap(@Self)^.&set := $00002000;
  24192. end;
  24193. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  24194. begin
  24195. pTDefRegMap(@Self)^.clr := $00002000;
  24196. end;
  24197. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  24198. begin
  24199. if thebits = 0 then
  24200. pTDefRegMap(@Self)^.clr := $00002000
  24201. else
  24202. pTDefRegMap(@Self)^.&set := $00002000;
  24203. end;
  24204. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  24205. begin
  24206. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24207. end;
  24208. procedure TCMP_CTMUCON.setON; inline;
  24209. begin
  24210. pTDefRegMap(@Self)^.&set := $00008000;
  24211. end;
  24212. procedure TCMP_CTMUCON.clearON; inline;
  24213. begin
  24214. pTDefRegMap(@Self)^.clr := $00008000;
  24215. end;
  24216. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  24217. begin
  24218. if thebits = 0 then
  24219. pTDefRegMap(@Self)^.clr := $00008000
  24220. else
  24221. pTDefRegMap(@Self)^.&set := $00008000;
  24222. end;
  24223. function TCMP_CTMUCON.getON : TBits_1; inline;
  24224. begin
  24225. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24226. end;
  24227. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  24228. begin
  24229. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  24230. end;
  24231. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  24232. begin
  24233. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  24234. end;
  24235. procedure TCMP_CTMUCON.setEDG2POL; inline;
  24236. begin
  24237. pTDefRegMap(@Self)^.&set := $00400000;
  24238. end;
  24239. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  24240. begin
  24241. pTDefRegMap(@Self)^.clr := $00400000;
  24242. end;
  24243. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  24244. begin
  24245. if thebits = 0 then
  24246. pTDefRegMap(@Self)^.clr := $00400000
  24247. else
  24248. pTDefRegMap(@Self)^.&set := $00400000;
  24249. end;
  24250. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  24251. begin
  24252. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24253. end;
  24254. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  24255. begin
  24256. pTDefRegMap(@Self)^.&set := $00800000;
  24257. end;
  24258. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  24259. begin
  24260. pTDefRegMap(@Self)^.clr := $00800000;
  24261. end;
  24262. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  24263. begin
  24264. if thebits = 0 then
  24265. pTDefRegMap(@Self)^.clr := $00800000
  24266. else
  24267. pTDefRegMap(@Self)^.&set := $00800000;
  24268. end;
  24269. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  24270. begin
  24271. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  24272. end;
  24273. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  24274. begin
  24275. pTDefRegMap(@Self)^.&set := $01000000;
  24276. end;
  24277. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  24278. begin
  24279. pTDefRegMap(@Self)^.clr := $01000000;
  24280. end;
  24281. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  24282. begin
  24283. if thebits = 0 then
  24284. pTDefRegMap(@Self)^.clr := $01000000
  24285. else
  24286. pTDefRegMap(@Self)^.&set := $01000000;
  24287. end;
  24288. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  24289. begin
  24290. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24291. end;
  24292. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  24293. begin
  24294. pTDefRegMap(@Self)^.&set := $02000000;
  24295. end;
  24296. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  24297. begin
  24298. pTDefRegMap(@Self)^.clr := $02000000;
  24299. end;
  24300. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  24301. begin
  24302. if thebits = 0 then
  24303. pTDefRegMap(@Self)^.clr := $02000000
  24304. else
  24305. pTDefRegMap(@Self)^.&set := $02000000;
  24306. end;
  24307. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  24308. begin
  24309. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  24310. end;
  24311. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  24312. begin
  24313. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  24314. end;
  24315. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  24316. begin
  24317. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  24318. end;
  24319. procedure TCMP_CTMUCON.setEDG1POL; inline;
  24320. begin
  24321. pTDefRegMap(@Self)^.&set := $40000000;
  24322. end;
  24323. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  24324. begin
  24325. pTDefRegMap(@Self)^.clr := $40000000;
  24326. end;
  24327. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  24328. begin
  24329. if thebits = 0 then
  24330. pTDefRegMap(@Self)^.clr := $40000000
  24331. else
  24332. pTDefRegMap(@Self)^.&set := $40000000;
  24333. end;
  24334. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  24335. begin
  24336. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  24337. end;
  24338. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  24339. begin
  24340. pTDefRegMap(@Self)^.&set := $80000000;
  24341. end;
  24342. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  24343. begin
  24344. pTDefRegMap(@Self)^.clr := $80000000;
  24345. end;
  24346. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  24347. begin
  24348. if thebits = 0 then
  24349. pTDefRegMap(@Self)^.clr := $80000000
  24350. else
  24351. pTDefRegMap(@Self)^.&set := $80000000;
  24352. end;
  24353. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  24354. begin
  24355. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  24356. end;
  24357. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  24358. begin
  24359. pTDefRegMap(@Self)^.val := thebits;
  24360. end;
  24361. function TCMP_CTMUCON.getw : TBits_32; inline;
  24362. begin
  24363. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24364. end;
  24365. procedure TOSC_OSCCON.setOSWEN; inline;
  24366. begin
  24367. pTDefRegMap(@Self)^.&set := $00000001;
  24368. end;
  24369. procedure TOSC_OSCCON.clearOSWEN; inline;
  24370. begin
  24371. pTDefRegMap(@Self)^.clr := $00000001;
  24372. end;
  24373. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  24374. begin
  24375. if thebits = 0 then
  24376. pTDefRegMap(@Self)^.clr := $00000001
  24377. else
  24378. pTDefRegMap(@Self)^.&set := $00000001;
  24379. end;
  24380. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  24381. begin
  24382. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24383. end;
  24384. procedure TOSC_OSCCON.setSOSCEN; inline;
  24385. begin
  24386. pTDefRegMap(@Self)^.&set := $00000002;
  24387. end;
  24388. procedure TOSC_OSCCON.clearSOSCEN; inline;
  24389. begin
  24390. pTDefRegMap(@Self)^.clr := $00000002;
  24391. end;
  24392. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  24393. begin
  24394. if thebits = 0 then
  24395. pTDefRegMap(@Self)^.clr := $00000002
  24396. else
  24397. pTDefRegMap(@Self)^.&set := $00000002;
  24398. end;
  24399. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  24400. begin
  24401. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24402. end;
  24403. procedure TOSC_OSCCON.setUFRCEN; inline;
  24404. begin
  24405. pTDefRegMap(@Self)^.&set := $00000004;
  24406. end;
  24407. procedure TOSC_OSCCON.clearUFRCEN; inline;
  24408. begin
  24409. pTDefRegMap(@Self)^.clr := $00000004;
  24410. end;
  24411. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  24412. begin
  24413. if thebits = 0 then
  24414. pTDefRegMap(@Self)^.clr := $00000004
  24415. else
  24416. pTDefRegMap(@Self)^.&set := $00000004;
  24417. end;
  24418. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  24419. begin
  24420. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24421. end;
  24422. procedure TOSC_OSCCON.setCF; inline;
  24423. begin
  24424. pTDefRegMap(@Self)^.&set := $00000008;
  24425. end;
  24426. procedure TOSC_OSCCON.clearCF; inline;
  24427. begin
  24428. pTDefRegMap(@Self)^.clr := $00000008;
  24429. end;
  24430. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  24431. begin
  24432. if thebits = 0 then
  24433. pTDefRegMap(@Self)^.clr := $00000008
  24434. else
  24435. pTDefRegMap(@Self)^.&set := $00000008;
  24436. end;
  24437. function TOSC_OSCCON.getCF : TBits_1; inline;
  24438. begin
  24439. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24440. end;
  24441. procedure TOSC_OSCCON.setSLPEN; inline;
  24442. begin
  24443. pTDefRegMap(@Self)^.&set := $00000010;
  24444. end;
  24445. procedure TOSC_OSCCON.clearSLPEN; inline;
  24446. begin
  24447. pTDefRegMap(@Self)^.clr := $00000010;
  24448. end;
  24449. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  24450. begin
  24451. if thebits = 0 then
  24452. pTDefRegMap(@Self)^.clr := $00000010
  24453. else
  24454. pTDefRegMap(@Self)^.&set := $00000010;
  24455. end;
  24456. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  24457. begin
  24458. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24459. end;
  24460. procedure TOSC_OSCCON.setSLOCK; inline;
  24461. begin
  24462. pTDefRegMap(@Self)^.&set := $00000020;
  24463. end;
  24464. procedure TOSC_OSCCON.clearSLOCK; inline;
  24465. begin
  24466. pTDefRegMap(@Self)^.clr := $00000020;
  24467. end;
  24468. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  24469. begin
  24470. if thebits = 0 then
  24471. pTDefRegMap(@Self)^.clr := $00000020
  24472. else
  24473. pTDefRegMap(@Self)^.&set := $00000020;
  24474. end;
  24475. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  24476. begin
  24477. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24478. end;
  24479. procedure TOSC_OSCCON.setULOCK; inline;
  24480. begin
  24481. pTDefRegMap(@Self)^.&set := $00000040;
  24482. end;
  24483. procedure TOSC_OSCCON.clearULOCK; inline;
  24484. begin
  24485. pTDefRegMap(@Self)^.clr := $00000040;
  24486. end;
  24487. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  24488. begin
  24489. if thebits = 0 then
  24490. pTDefRegMap(@Self)^.clr := $00000040
  24491. else
  24492. pTDefRegMap(@Self)^.&set := $00000040;
  24493. end;
  24494. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  24495. begin
  24496. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24497. end;
  24498. procedure TOSC_OSCCON.setCLKLOCK; inline;
  24499. begin
  24500. pTDefRegMap(@Self)^.&set := $00000080;
  24501. end;
  24502. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  24503. begin
  24504. pTDefRegMap(@Self)^.clr := $00000080;
  24505. end;
  24506. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  24507. begin
  24508. if thebits = 0 then
  24509. pTDefRegMap(@Self)^.clr := $00000080
  24510. else
  24511. pTDefRegMap(@Self)^.&set := $00000080;
  24512. end;
  24513. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  24514. begin
  24515. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24516. end;
  24517. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  24518. begin
  24519. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  24520. end;
  24521. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  24522. begin
  24523. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  24524. end;
  24525. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  24526. begin
  24527. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  24528. end;
  24529. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  24530. begin
  24531. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  24532. end;
  24533. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  24534. begin
  24535. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  24536. end;
  24537. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  24538. begin
  24539. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  24540. end;
  24541. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  24542. begin
  24543. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  24544. end;
  24545. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  24546. begin
  24547. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  24548. end;
  24549. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  24550. begin
  24551. pTDefRegMap(@Self)^.&set := $00200000;
  24552. end;
  24553. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  24554. begin
  24555. pTDefRegMap(@Self)^.clr := $00200000;
  24556. end;
  24557. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  24558. begin
  24559. if thebits = 0 then
  24560. pTDefRegMap(@Self)^.clr := $00200000
  24561. else
  24562. pTDefRegMap(@Self)^.&set := $00200000;
  24563. end;
  24564. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  24565. begin
  24566. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  24567. end;
  24568. procedure TOSC_OSCCON.setSOSCRDY; inline;
  24569. begin
  24570. pTDefRegMap(@Self)^.&set := $00400000;
  24571. end;
  24572. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  24573. begin
  24574. pTDefRegMap(@Self)^.clr := $00400000;
  24575. end;
  24576. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  24577. begin
  24578. if thebits = 0 then
  24579. pTDefRegMap(@Self)^.clr := $00400000
  24580. else
  24581. pTDefRegMap(@Self)^.&set := $00400000;
  24582. end;
  24583. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  24584. begin
  24585. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24586. end;
  24587. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  24588. begin
  24589. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  24590. end;
  24591. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  24592. begin
  24593. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  24594. end;
  24595. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  24596. begin
  24597. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  24598. end;
  24599. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  24600. begin
  24601. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  24602. end;
  24603. procedure TOSC_OSCCON.setNOSC0; inline;
  24604. begin
  24605. pTDefRegMap(@Self)^.&set := $00000100;
  24606. end;
  24607. procedure TOSC_OSCCON.clearNOSC0; inline;
  24608. begin
  24609. pTDefRegMap(@Self)^.clr := $00000100;
  24610. end;
  24611. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  24612. begin
  24613. if thebits = 0 then
  24614. pTDefRegMap(@Self)^.clr := $00000100
  24615. else
  24616. pTDefRegMap(@Self)^.&set := $00000100;
  24617. end;
  24618. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  24619. begin
  24620. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24621. end;
  24622. procedure TOSC_OSCCON.setNOSC1; inline;
  24623. begin
  24624. pTDefRegMap(@Self)^.&set := $00000200;
  24625. end;
  24626. procedure TOSC_OSCCON.clearNOSC1; inline;
  24627. begin
  24628. pTDefRegMap(@Self)^.clr := $00000200;
  24629. end;
  24630. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  24631. begin
  24632. if thebits = 0 then
  24633. pTDefRegMap(@Self)^.clr := $00000200
  24634. else
  24635. pTDefRegMap(@Self)^.&set := $00000200;
  24636. end;
  24637. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  24638. begin
  24639. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24640. end;
  24641. procedure TOSC_OSCCON.setNOSC2; inline;
  24642. begin
  24643. pTDefRegMap(@Self)^.&set := $00000400;
  24644. end;
  24645. procedure TOSC_OSCCON.clearNOSC2; inline;
  24646. begin
  24647. pTDefRegMap(@Self)^.clr := $00000400;
  24648. end;
  24649. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  24650. begin
  24651. if thebits = 0 then
  24652. pTDefRegMap(@Self)^.clr := $00000400
  24653. else
  24654. pTDefRegMap(@Self)^.&set := $00000400;
  24655. end;
  24656. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  24657. begin
  24658. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24659. end;
  24660. procedure TOSC_OSCCON.setCOSC0; inline;
  24661. begin
  24662. pTDefRegMap(@Self)^.&set := $00001000;
  24663. end;
  24664. procedure TOSC_OSCCON.clearCOSC0; inline;
  24665. begin
  24666. pTDefRegMap(@Self)^.clr := $00001000;
  24667. end;
  24668. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  24669. begin
  24670. if thebits = 0 then
  24671. pTDefRegMap(@Self)^.clr := $00001000
  24672. else
  24673. pTDefRegMap(@Self)^.&set := $00001000;
  24674. end;
  24675. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  24676. begin
  24677. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24678. end;
  24679. procedure TOSC_OSCCON.setCOSC1; inline;
  24680. begin
  24681. pTDefRegMap(@Self)^.&set := $00002000;
  24682. end;
  24683. procedure TOSC_OSCCON.clearCOSC1; inline;
  24684. begin
  24685. pTDefRegMap(@Self)^.clr := $00002000;
  24686. end;
  24687. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  24688. begin
  24689. if thebits = 0 then
  24690. pTDefRegMap(@Self)^.clr := $00002000
  24691. else
  24692. pTDefRegMap(@Self)^.&set := $00002000;
  24693. end;
  24694. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  24695. begin
  24696. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24697. end;
  24698. procedure TOSC_OSCCON.setCOSC2; inline;
  24699. begin
  24700. pTDefRegMap(@Self)^.&set := $00004000;
  24701. end;
  24702. procedure TOSC_OSCCON.clearCOSC2; inline;
  24703. begin
  24704. pTDefRegMap(@Self)^.clr := $00004000;
  24705. end;
  24706. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  24707. begin
  24708. if thebits = 0 then
  24709. pTDefRegMap(@Self)^.clr := $00004000
  24710. else
  24711. pTDefRegMap(@Self)^.&set := $00004000;
  24712. end;
  24713. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  24714. begin
  24715. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24716. end;
  24717. procedure TOSC_OSCCON.setPLLMULT0; inline;
  24718. begin
  24719. pTDefRegMap(@Self)^.&set := $00010000;
  24720. end;
  24721. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  24722. begin
  24723. pTDefRegMap(@Self)^.clr := $00010000;
  24724. end;
  24725. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  24726. begin
  24727. if thebits = 0 then
  24728. pTDefRegMap(@Self)^.clr := $00010000
  24729. else
  24730. pTDefRegMap(@Self)^.&set := $00010000;
  24731. end;
  24732. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  24733. begin
  24734. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  24735. end;
  24736. procedure TOSC_OSCCON.setPLLMULT1; inline;
  24737. begin
  24738. pTDefRegMap(@Self)^.&set := $00020000;
  24739. end;
  24740. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  24741. begin
  24742. pTDefRegMap(@Self)^.clr := $00020000;
  24743. end;
  24744. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  24745. begin
  24746. if thebits = 0 then
  24747. pTDefRegMap(@Self)^.clr := $00020000
  24748. else
  24749. pTDefRegMap(@Self)^.&set := $00020000;
  24750. end;
  24751. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  24752. begin
  24753. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  24754. end;
  24755. procedure TOSC_OSCCON.setPLLMULT2; inline;
  24756. begin
  24757. pTDefRegMap(@Self)^.&set := $00040000;
  24758. end;
  24759. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  24760. begin
  24761. pTDefRegMap(@Self)^.clr := $00040000;
  24762. end;
  24763. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  24764. begin
  24765. if thebits = 0 then
  24766. pTDefRegMap(@Self)^.clr := $00040000
  24767. else
  24768. pTDefRegMap(@Self)^.&set := $00040000;
  24769. end;
  24770. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  24771. begin
  24772. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  24773. end;
  24774. procedure TOSC_OSCCON.setPBDIV0; inline;
  24775. begin
  24776. pTDefRegMap(@Self)^.&set := $00080000;
  24777. end;
  24778. procedure TOSC_OSCCON.clearPBDIV0; inline;
  24779. begin
  24780. pTDefRegMap(@Self)^.clr := $00080000;
  24781. end;
  24782. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  24783. begin
  24784. if thebits = 0 then
  24785. pTDefRegMap(@Self)^.clr := $00080000
  24786. else
  24787. pTDefRegMap(@Self)^.&set := $00080000;
  24788. end;
  24789. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  24790. begin
  24791. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  24792. end;
  24793. procedure TOSC_OSCCON.setPBDIV1; inline;
  24794. begin
  24795. pTDefRegMap(@Self)^.&set := $00100000;
  24796. end;
  24797. procedure TOSC_OSCCON.clearPBDIV1; inline;
  24798. begin
  24799. pTDefRegMap(@Self)^.clr := $00100000;
  24800. end;
  24801. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  24802. begin
  24803. if thebits = 0 then
  24804. pTDefRegMap(@Self)^.clr := $00100000
  24805. else
  24806. pTDefRegMap(@Self)^.&set := $00100000;
  24807. end;
  24808. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  24809. begin
  24810. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  24811. end;
  24812. procedure TOSC_OSCCON.setFRCDIV0; inline;
  24813. begin
  24814. pTDefRegMap(@Self)^.&set := $01000000;
  24815. end;
  24816. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  24817. begin
  24818. pTDefRegMap(@Self)^.clr := $01000000;
  24819. end;
  24820. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  24821. begin
  24822. if thebits = 0 then
  24823. pTDefRegMap(@Self)^.clr := $01000000
  24824. else
  24825. pTDefRegMap(@Self)^.&set := $01000000;
  24826. end;
  24827. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  24828. begin
  24829. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24830. end;
  24831. procedure TOSC_OSCCON.setFRCDIV1; inline;
  24832. begin
  24833. pTDefRegMap(@Self)^.&set := $02000000;
  24834. end;
  24835. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  24836. begin
  24837. pTDefRegMap(@Self)^.clr := $02000000;
  24838. end;
  24839. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  24840. begin
  24841. if thebits = 0 then
  24842. pTDefRegMap(@Self)^.clr := $02000000
  24843. else
  24844. pTDefRegMap(@Self)^.&set := $02000000;
  24845. end;
  24846. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  24847. begin
  24848. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  24849. end;
  24850. procedure TOSC_OSCCON.setFRCDIV2; inline;
  24851. begin
  24852. pTDefRegMap(@Self)^.&set := $04000000;
  24853. end;
  24854. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  24855. begin
  24856. pTDefRegMap(@Self)^.clr := $04000000;
  24857. end;
  24858. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  24859. begin
  24860. if thebits = 0 then
  24861. pTDefRegMap(@Self)^.clr := $04000000
  24862. else
  24863. pTDefRegMap(@Self)^.&set := $04000000;
  24864. end;
  24865. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  24866. begin
  24867. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  24868. end;
  24869. procedure TOSC_OSCCON.setPLLODIV0; inline;
  24870. begin
  24871. pTDefRegMap(@Self)^.&set := $08000000;
  24872. end;
  24873. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  24874. begin
  24875. pTDefRegMap(@Self)^.clr := $08000000;
  24876. end;
  24877. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  24878. begin
  24879. if thebits = 0 then
  24880. pTDefRegMap(@Self)^.clr := $08000000
  24881. else
  24882. pTDefRegMap(@Self)^.&set := $08000000;
  24883. end;
  24884. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  24885. begin
  24886. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  24887. end;
  24888. procedure TOSC_OSCCON.setPLLODIV1; inline;
  24889. begin
  24890. pTDefRegMap(@Self)^.&set := $10000000;
  24891. end;
  24892. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  24893. begin
  24894. pTDefRegMap(@Self)^.clr := $10000000;
  24895. end;
  24896. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  24897. begin
  24898. if thebits = 0 then
  24899. pTDefRegMap(@Self)^.clr := $10000000
  24900. else
  24901. pTDefRegMap(@Self)^.&set := $10000000;
  24902. end;
  24903. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  24904. begin
  24905. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  24906. end;
  24907. procedure TOSC_OSCCON.setPLLODIV2; inline;
  24908. begin
  24909. pTDefRegMap(@Self)^.&set := $20000000;
  24910. end;
  24911. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  24912. begin
  24913. pTDefRegMap(@Self)^.clr := $20000000;
  24914. end;
  24915. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  24916. begin
  24917. if thebits = 0 then
  24918. pTDefRegMap(@Self)^.clr := $20000000
  24919. else
  24920. pTDefRegMap(@Self)^.&set := $20000000;
  24921. end;
  24922. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  24923. begin
  24924. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  24925. end;
  24926. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  24927. begin
  24928. pTDefRegMap(@Self)^.val := thebits;
  24929. end;
  24930. function TOSC_OSCCON.getw : TBits_32; inline;
  24931. begin
  24932. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24933. end;
  24934. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  24935. begin
  24936. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  24937. end;
  24938. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  24939. begin
  24940. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  24941. end;
  24942. procedure TOSC_OSCTUN.setTUN0; inline;
  24943. begin
  24944. pTDefRegMap(@Self)^.&set := $00000001;
  24945. end;
  24946. procedure TOSC_OSCTUN.clearTUN0; inline;
  24947. begin
  24948. pTDefRegMap(@Self)^.clr := $00000001;
  24949. end;
  24950. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  24951. begin
  24952. if thebits = 0 then
  24953. pTDefRegMap(@Self)^.clr := $00000001
  24954. else
  24955. pTDefRegMap(@Self)^.&set := $00000001;
  24956. end;
  24957. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  24958. begin
  24959. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24960. end;
  24961. procedure TOSC_OSCTUN.setTUN1; inline;
  24962. begin
  24963. pTDefRegMap(@Self)^.&set := $00000002;
  24964. end;
  24965. procedure TOSC_OSCTUN.clearTUN1; inline;
  24966. begin
  24967. pTDefRegMap(@Self)^.clr := $00000002;
  24968. end;
  24969. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  24970. begin
  24971. if thebits = 0 then
  24972. pTDefRegMap(@Self)^.clr := $00000002
  24973. else
  24974. pTDefRegMap(@Self)^.&set := $00000002;
  24975. end;
  24976. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  24977. begin
  24978. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24979. end;
  24980. procedure TOSC_OSCTUN.setTUN2; inline;
  24981. begin
  24982. pTDefRegMap(@Self)^.&set := $00000004;
  24983. end;
  24984. procedure TOSC_OSCTUN.clearTUN2; inline;
  24985. begin
  24986. pTDefRegMap(@Self)^.clr := $00000004;
  24987. end;
  24988. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  24989. begin
  24990. if thebits = 0 then
  24991. pTDefRegMap(@Self)^.clr := $00000004
  24992. else
  24993. pTDefRegMap(@Self)^.&set := $00000004;
  24994. end;
  24995. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  24996. begin
  24997. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24998. end;
  24999. procedure TOSC_OSCTUN.setTUN3; inline;
  25000. begin
  25001. pTDefRegMap(@Self)^.&set := $00000008;
  25002. end;
  25003. procedure TOSC_OSCTUN.clearTUN3; inline;
  25004. begin
  25005. pTDefRegMap(@Self)^.clr := $00000008;
  25006. end;
  25007. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  25008. begin
  25009. if thebits = 0 then
  25010. pTDefRegMap(@Self)^.clr := $00000008
  25011. else
  25012. pTDefRegMap(@Self)^.&set := $00000008;
  25013. end;
  25014. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  25015. begin
  25016. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25017. end;
  25018. procedure TOSC_OSCTUN.setTUN4; inline;
  25019. begin
  25020. pTDefRegMap(@Self)^.&set := $00000010;
  25021. end;
  25022. procedure TOSC_OSCTUN.clearTUN4; inline;
  25023. begin
  25024. pTDefRegMap(@Self)^.clr := $00000010;
  25025. end;
  25026. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  25027. begin
  25028. if thebits = 0 then
  25029. pTDefRegMap(@Self)^.clr := $00000010
  25030. else
  25031. pTDefRegMap(@Self)^.&set := $00000010;
  25032. end;
  25033. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  25034. begin
  25035. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25036. end;
  25037. procedure TOSC_OSCTUN.setTUN5; inline;
  25038. begin
  25039. pTDefRegMap(@Self)^.&set := $00000020;
  25040. end;
  25041. procedure TOSC_OSCTUN.clearTUN5; inline;
  25042. begin
  25043. pTDefRegMap(@Self)^.clr := $00000020;
  25044. end;
  25045. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  25046. begin
  25047. if thebits = 0 then
  25048. pTDefRegMap(@Self)^.clr := $00000020
  25049. else
  25050. pTDefRegMap(@Self)^.&set := $00000020;
  25051. end;
  25052. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  25053. begin
  25054. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25055. end;
  25056. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  25057. begin
  25058. pTDefRegMap(@Self)^.val := thebits;
  25059. end;
  25060. function TOSC_OSCTUN.getw : TBits_32; inline;
  25061. begin
  25062. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25063. end;
  25064. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  25065. begin
  25066. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25067. end;
  25068. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  25069. begin
  25070. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25071. end;
  25072. procedure TOSC_REFOCON.setACTIVE; inline;
  25073. begin
  25074. pTDefRegMap(@Self)^.&set := $00000100;
  25075. end;
  25076. procedure TOSC_REFOCON.clearACTIVE; inline;
  25077. begin
  25078. pTDefRegMap(@Self)^.clr := $00000100;
  25079. end;
  25080. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  25081. begin
  25082. if thebits = 0 then
  25083. pTDefRegMap(@Self)^.clr := $00000100
  25084. else
  25085. pTDefRegMap(@Self)^.&set := $00000100;
  25086. end;
  25087. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  25088. begin
  25089. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25090. end;
  25091. procedure TOSC_REFOCON.setDIVSWEN; inline;
  25092. begin
  25093. pTDefRegMap(@Self)^.&set := $00000200;
  25094. end;
  25095. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  25096. begin
  25097. pTDefRegMap(@Self)^.clr := $00000200;
  25098. end;
  25099. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  25100. begin
  25101. if thebits = 0 then
  25102. pTDefRegMap(@Self)^.clr := $00000200
  25103. else
  25104. pTDefRegMap(@Self)^.&set := $00000200;
  25105. end;
  25106. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  25107. begin
  25108. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25109. end;
  25110. procedure TOSC_REFOCON.setRSLP; inline;
  25111. begin
  25112. pTDefRegMap(@Self)^.&set := $00000800;
  25113. end;
  25114. procedure TOSC_REFOCON.clearRSLP; inline;
  25115. begin
  25116. pTDefRegMap(@Self)^.clr := $00000800;
  25117. end;
  25118. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  25119. begin
  25120. if thebits = 0 then
  25121. pTDefRegMap(@Self)^.clr := $00000800
  25122. else
  25123. pTDefRegMap(@Self)^.&set := $00000800;
  25124. end;
  25125. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  25126. begin
  25127. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25128. end;
  25129. procedure TOSC_REFOCON.setOE; inline;
  25130. begin
  25131. pTDefRegMap(@Self)^.&set := $00001000;
  25132. end;
  25133. procedure TOSC_REFOCON.clearOE; inline;
  25134. begin
  25135. pTDefRegMap(@Self)^.clr := $00001000;
  25136. end;
  25137. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  25138. begin
  25139. if thebits = 0 then
  25140. pTDefRegMap(@Self)^.clr := $00001000
  25141. else
  25142. pTDefRegMap(@Self)^.&set := $00001000;
  25143. end;
  25144. function TOSC_REFOCON.getOE : TBits_1; inline;
  25145. begin
  25146. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25147. end;
  25148. procedure TOSC_REFOCON.setSIDL; inline;
  25149. begin
  25150. pTDefRegMap(@Self)^.&set := $00002000;
  25151. end;
  25152. procedure TOSC_REFOCON.clearSIDL; inline;
  25153. begin
  25154. pTDefRegMap(@Self)^.clr := $00002000;
  25155. end;
  25156. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  25157. begin
  25158. if thebits = 0 then
  25159. pTDefRegMap(@Self)^.clr := $00002000
  25160. else
  25161. pTDefRegMap(@Self)^.&set := $00002000;
  25162. end;
  25163. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  25164. begin
  25165. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25166. end;
  25167. procedure TOSC_REFOCON.setON; inline;
  25168. begin
  25169. pTDefRegMap(@Self)^.&set := $00008000;
  25170. end;
  25171. procedure TOSC_REFOCON.clearON; inline;
  25172. begin
  25173. pTDefRegMap(@Self)^.clr := $00008000;
  25174. end;
  25175. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  25176. begin
  25177. if thebits = 0 then
  25178. pTDefRegMap(@Self)^.clr := $00008000
  25179. else
  25180. pTDefRegMap(@Self)^.&set := $00008000;
  25181. end;
  25182. function TOSC_REFOCON.getON : TBits_1; inline;
  25183. begin
  25184. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25185. end;
  25186. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  25187. begin
  25188. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  25189. end;
  25190. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  25191. begin
  25192. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  25193. end;
  25194. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  25195. begin
  25196. pTDefRegMap(@Self)^.val := thebits;
  25197. end;
  25198. function TOSC_REFOCON.getw : TBits_32; inline;
  25199. begin
  25200. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25201. end;
  25202. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  25203. begin
  25204. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  25205. end;
  25206. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  25207. begin
  25208. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  25209. end;
  25210. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  25211. begin
  25212. pTDefRegMap(@Self)^.val := thebits;
  25213. end;
  25214. function TOSC_REFOTRIM.getw : TBits_32; inline;
  25215. begin
  25216. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25217. end;
  25218. procedure TCFG_PMD5.setU1MD; inline;
  25219. begin
  25220. pTDefRegMap(@Self)^.&set := $00000001;
  25221. end;
  25222. procedure TCFG_PMD5.clearU1MD; inline;
  25223. begin
  25224. pTDefRegMap(@Self)^.clr := $00000001;
  25225. end;
  25226. procedure TCFG_PMD5.setU1MD(thebits : TBits_1); inline;
  25227. begin
  25228. if thebits = 0 then
  25229. pTDefRegMap(@Self)^.clr := $00000001
  25230. else
  25231. pTDefRegMap(@Self)^.&set := $00000001;
  25232. end;
  25233. function TCFG_PMD5.getU1MD : TBits_1; inline;
  25234. begin
  25235. getU1MD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25236. end;
  25237. procedure TCFG_PMD5.setU2MD; inline;
  25238. begin
  25239. pTDefRegMap(@Self)^.&set := $00000002;
  25240. end;
  25241. procedure TCFG_PMD5.clearU2MD; inline;
  25242. begin
  25243. pTDefRegMap(@Self)^.clr := $00000002;
  25244. end;
  25245. procedure TCFG_PMD5.setU2MD(thebits : TBits_1); inline;
  25246. begin
  25247. if thebits = 0 then
  25248. pTDefRegMap(@Self)^.clr := $00000002
  25249. else
  25250. pTDefRegMap(@Self)^.&set := $00000002;
  25251. end;
  25252. function TCFG_PMD5.getU2MD : TBits_1; inline;
  25253. begin
  25254. getU2MD := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25255. end;
  25256. procedure TCFG_PMD5.setSPI1MD; inline;
  25257. begin
  25258. pTDefRegMap(@Self)^.&set := $00000100;
  25259. end;
  25260. procedure TCFG_PMD5.clearSPI1MD; inline;
  25261. begin
  25262. pTDefRegMap(@Self)^.clr := $00000100;
  25263. end;
  25264. procedure TCFG_PMD5.setSPI1MD(thebits : TBits_1); inline;
  25265. begin
  25266. if thebits = 0 then
  25267. pTDefRegMap(@Self)^.clr := $00000100
  25268. else
  25269. pTDefRegMap(@Self)^.&set := $00000100;
  25270. end;
  25271. function TCFG_PMD5.getSPI1MD : TBits_1; inline;
  25272. begin
  25273. getSPI1MD := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25274. end;
  25275. procedure TCFG_PMD5.setSPI2MD; inline;
  25276. begin
  25277. pTDefRegMap(@Self)^.&set := $00000200;
  25278. end;
  25279. procedure TCFG_PMD5.clearSPI2MD; inline;
  25280. begin
  25281. pTDefRegMap(@Self)^.clr := $00000200;
  25282. end;
  25283. procedure TCFG_PMD5.setSPI2MD(thebits : TBits_1); inline;
  25284. begin
  25285. if thebits = 0 then
  25286. pTDefRegMap(@Self)^.clr := $00000200
  25287. else
  25288. pTDefRegMap(@Self)^.&set := $00000200;
  25289. end;
  25290. function TCFG_PMD5.getSPI2MD : TBits_1; inline;
  25291. begin
  25292. getSPI2MD := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25293. end;
  25294. procedure TCFG_PMD5.setI2C1MD; inline;
  25295. begin
  25296. pTDefRegMap(@Self)^.&set := $00010000;
  25297. end;
  25298. procedure TCFG_PMD5.clearI2C1MD; inline;
  25299. begin
  25300. pTDefRegMap(@Self)^.clr := $00010000;
  25301. end;
  25302. procedure TCFG_PMD5.setI2C1MD(thebits : TBits_1); inline;
  25303. begin
  25304. if thebits = 0 then
  25305. pTDefRegMap(@Self)^.clr := $00010000
  25306. else
  25307. pTDefRegMap(@Self)^.&set := $00010000;
  25308. end;
  25309. function TCFG_PMD5.getI2C1MD : TBits_1; inline;
  25310. begin
  25311. getI2C1MD := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25312. end;
  25313. procedure TCFG_PMD5.setI2C2MD; inline;
  25314. begin
  25315. pTDefRegMap(@Self)^.&set := $00020000;
  25316. end;
  25317. procedure TCFG_PMD5.clearI2C2MD; inline;
  25318. begin
  25319. pTDefRegMap(@Self)^.clr := $00020000;
  25320. end;
  25321. procedure TCFG_PMD5.setI2C2MD(thebits : TBits_1); inline;
  25322. begin
  25323. if thebits = 0 then
  25324. pTDefRegMap(@Self)^.clr := $00020000
  25325. else
  25326. pTDefRegMap(@Self)^.&set := $00020000;
  25327. end;
  25328. function TCFG_PMD5.getI2C2MD : TBits_1; inline;
  25329. begin
  25330. getI2C2MD := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25331. end;
  25332. procedure TCFG_PMD5.setUSB1MD; inline;
  25333. begin
  25334. pTDefRegMap(@Self)^.&set := $01000000;
  25335. end;
  25336. procedure TCFG_PMD5.clearUSB1MD; inline;
  25337. begin
  25338. pTDefRegMap(@Self)^.clr := $01000000;
  25339. end;
  25340. procedure TCFG_PMD5.setUSB1MD(thebits : TBits_1); inline;
  25341. begin
  25342. if thebits = 0 then
  25343. pTDefRegMap(@Self)^.clr := $01000000
  25344. else
  25345. pTDefRegMap(@Self)^.&set := $01000000;
  25346. end;
  25347. function TCFG_PMD5.getUSB1MD : TBits_1; inline;
  25348. begin
  25349. getUSB1MD := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25350. end;
  25351. procedure TCFG_PMD5.setUSBMD; inline;
  25352. begin
  25353. pTDefRegMap(@Self)^.&set := $01000000;
  25354. end;
  25355. procedure TCFG_PMD5.clearUSBMD; inline;
  25356. begin
  25357. pTDefRegMap(@Self)^.clr := $01000000;
  25358. end;
  25359. procedure TCFG_PMD5.setUSBMD(thebits : TBits_1); inline;
  25360. begin
  25361. if thebits = 0 then
  25362. pTDefRegMap(@Self)^.clr := $01000000
  25363. else
  25364. pTDefRegMap(@Self)^.&set := $01000000;
  25365. end;
  25366. function TCFG_PMD5.getUSBMD : TBits_1; inline;
  25367. begin
  25368. getUSBMD := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25369. end;
  25370. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  25371. begin
  25372. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25373. end;
  25374. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  25375. begin
  25376. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25377. end;
  25378. procedure TNVM_NVMCON.setLVDSTAT; inline;
  25379. begin
  25380. pTDefRegMap(@Self)^.&set := $00000800;
  25381. end;
  25382. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  25383. begin
  25384. pTDefRegMap(@Self)^.clr := $00000800;
  25385. end;
  25386. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  25387. begin
  25388. if thebits = 0 then
  25389. pTDefRegMap(@Self)^.clr := $00000800
  25390. else
  25391. pTDefRegMap(@Self)^.&set := $00000800;
  25392. end;
  25393. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  25394. begin
  25395. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25396. end;
  25397. procedure TNVM_NVMCON.setLVDERR; inline;
  25398. begin
  25399. pTDefRegMap(@Self)^.&set := $00001000;
  25400. end;
  25401. procedure TNVM_NVMCON.clearLVDERR; inline;
  25402. begin
  25403. pTDefRegMap(@Self)^.clr := $00001000;
  25404. end;
  25405. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  25406. begin
  25407. if thebits = 0 then
  25408. pTDefRegMap(@Self)^.clr := $00001000
  25409. else
  25410. pTDefRegMap(@Self)^.&set := $00001000;
  25411. end;
  25412. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  25413. begin
  25414. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25415. end;
  25416. procedure TNVM_NVMCON.setWRERR; inline;
  25417. begin
  25418. pTDefRegMap(@Self)^.&set := $00002000;
  25419. end;
  25420. procedure TNVM_NVMCON.clearWRERR; inline;
  25421. begin
  25422. pTDefRegMap(@Self)^.clr := $00002000;
  25423. end;
  25424. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  25425. begin
  25426. if thebits = 0 then
  25427. pTDefRegMap(@Self)^.clr := $00002000
  25428. else
  25429. pTDefRegMap(@Self)^.&set := $00002000;
  25430. end;
  25431. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  25432. begin
  25433. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25434. end;
  25435. procedure TNVM_NVMCON.setWREN; inline;
  25436. begin
  25437. pTDefRegMap(@Self)^.&set := $00004000;
  25438. end;
  25439. procedure TNVM_NVMCON.clearWREN; inline;
  25440. begin
  25441. pTDefRegMap(@Self)^.clr := $00004000;
  25442. end;
  25443. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  25444. begin
  25445. if thebits = 0 then
  25446. pTDefRegMap(@Self)^.clr := $00004000
  25447. else
  25448. pTDefRegMap(@Self)^.&set := $00004000;
  25449. end;
  25450. function TNVM_NVMCON.getWREN : TBits_1; inline;
  25451. begin
  25452. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25453. end;
  25454. procedure TNVM_NVMCON.setWR; inline;
  25455. begin
  25456. pTDefRegMap(@Self)^.&set := $00008000;
  25457. end;
  25458. procedure TNVM_NVMCON.clearWR; inline;
  25459. begin
  25460. pTDefRegMap(@Self)^.clr := $00008000;
  25461. end;
  25462. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  25463. begin
  25464. if thebits = 0 then
  25465. pTDefRegMap(@Self)^.clr := $00008000
  25466. else
  25467. pTDefRegMap(@Self)^.&set := $00008000;
  25468. end;
  25469. function TNVM_NVMCON.getWR : TBits_1; inline;
  25470. begin
  25471. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25472. end;
  25473. procedure TNVM_NVMCON.setNVMOP0; inline;
  25474. begin
  25475. pTDefRegMap(@Self)^.&set := $00000001;
  25476. end;
  25477. procedure TNVM_NVMCON.clearNVMOP0; inline;
  25478. begin
  25479. pTDefRegMap(@Self)^.clr := $00000001;
  25480. end;
  25481. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  25482. begin
  25483. if thebits = 0 then
  25484. pTDefRegMap(@Self)^.clr := $00000001
  25485. else
  25486. pTDefRegMap(@Self)^.&set := $00000001;
  25487. end;
  25488. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  25489. begin
  25490. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25491. end;
  25492. procedure TNVM_NVMCON.setNVMOP1; inline;
  25493. begin
  25494. pTDefRegMap(@Self)^.&set := $00000002;
  25495. end;
  25496. procedure TNVM_NVMCON.clearNVMOP1; inline;
  25497. begin
  25498. pTDefRegMap(@Self)^.clr := $00000002;
  25499. end;
  25500. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  25501. begin
  25502. if thebits = 0 then
  25503. pTDefRegMap(@Self)^.clr := $00000002
  25504. else
  25505. pTDefRegMap(@Self)^.&set := $00000002;
  25506. end;
  25507. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  25508. begin
  25509. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25510. end;
  25511. procedure TNVM_NVMCON.setNVMOP2; inline;
  25512. begin
  25513. pTDefRegMap(@Self)^.&set := $00000004;
  25514. end;
  25515. procedure TNVM_NVMCON.clearNVMOP2; inline;
  25516. begin
  25517. pTDefRegMap(@Self)^.clr := $00000004;
  25518. end;
  25519. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  25520. begin
  25521. if thebits = 0 then
  25522. pTDefRegMap(@Self)^.clr := $00000004
  25523. else
  25524. pTDefRegMap(@Self)^.&set := $00000004;
  25525. end;
  25526. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  25527. begin
  25528. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25529. end;
  25530. procedure TNVM_NVMCON.setNVMOP3; inline;
  25531. begin
  25532. pTDefRegMap(@Self)^.&set := $00000008;
  25533. end;
  25534. procedure TNVM_NVMCON.clearNVMOP3; inline;
  25535. begin
  25536. pTDefRegMap(@Self)^.clr := $00000008;
  25537. end;
  25538. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  25539. begin
  25540. if thebits = 0 then
  25541. pTDefRegMap(@Self)^.clr := $00000008
  25542. else
  25543. pTDefRegMap(@Self)^.&set := $00000008;
  25544. end;
  25545. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  25546. begin
  25547. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25548. end;
  25549. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  25550. begin
  25551. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25552. end;
  25553. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  25554. begin
  25555. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25556. end;
  25557. procedure TNVM_NVMCON.setPROGOP0; inline;
  25558. begin
  25559. pTDefRegMap(@Self)^.&set := $00000001;
  25560. end;
  25561. procedure TNVM_NVMCON.clearPROGOP0; inline;
  25562. begin
  25563. pTDefRegMap(@Self)^.clr := $00000001;
  25564. end;
  25565. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  25566. begin
  25567. if thebits = 0 then
  25568. pTDefRegMap(@Self)^.clr := $00000001
  25569. else
  25570. pTDefRegMap(@Self)^.&set := $00000001;
  25571. end;
  25572. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  25573. begin
  25574. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25575. end;
  25576. procedure TNVM_NVMCON.setPROGOP1; inline;
  25577. begin
  25578. pTDefRegMap(@Self)^.&set := $00000002;
  25579. end;
  25580. procedure TNVM_NVMCON.clearPROGOP1; inline;
  25581. begin
  25582. pTDefRegMap(@Self)^.clr := $00000002;
  25583. end;
  25584. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  25585. begin
  25586. if thebits = 0 then
  25587. pTDefRegMap(@Self)^.clr := $00000002
  25588. else
  25589. pTDefRegMap(@Self)^.&set := $00000002;
  25590. end;
  25591. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  25592. begin
  25593. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25594. end;
  25595. procedure TNVM_NVMCON.setPROGOP2; inline;
  25596. begin
  25597. pTDefRegMap(@Self)^.&set := $00000004;
  25598. end;
  25599. procedure TNVM_NVMCON.clearPROGOP2; inline;
  25600. begin
  25601. pTDefRegMap(@Self)^.clr := $00000004;
  25602. end;
  25603. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  25604. begin
  25605. if thebits = 0 then
  25606. pTDefRegMap(@Self)^.clr := $00000004
  25607. else
  25608. pTDefRegMap(@Self)^.&set := $00000004;
  25609. end;
  25610. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  25611. begin
  25612. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25613. end;
  25614. procedure TNVM_NVMCON.setPROGOP3; inline;
  25615. begin
  25616. pTDefRegMap(@Self)^.&set := $00000008;
  25617. end;
  25618. procedure TNVM_NVMCON.clearPROGOP3; inline;
  25619. begin
  25620. pTDefRegMap(@Self)^.clr := $00000008;
  25621. end;
  25622. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  25623. begin
  25624. if thebits = 0 then
  25625. pTDefRegMap(@Self)^.clr := $00000008
  25626. else
  25627. pTDefRegMap(@Self)^.&set := $00000008;
  25628. end;
  25629. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  25630. begin
  25631. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25632. end;
  25633. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  25634. begin
  25635. pTDefRegMap(@Self)^.val := thebits;
  25636. end;
  25637. function TNVM_NVMCON.getw : TBits_32; inline;
  25638. begin
  25639. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25640. end;
  25641. procedure TRCON_RCON.setPOR; inline;
  25642. begin
  25643. pTDefRegMap(@Self)^.&set := $00000001;
  25644. end;
  25645. procedure TRCON_RCON.clearPOR; inline;
  25646. begin
  25647. pTDefRegMap(@Self)^.clr := $00000001;
  25648. end;
  25649. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  25650. begin
  25651. if thebits = 0 then
  25652. pTDefRegMap(@Self)^.clr := $00000001
  25653. else
  25654. pTDefRegMap(@Self)^.&set := $00000001;
  25655. end;
  25656. function TRCON_RCON.getPOR : TBits_1; inline;
  25657. begin
  25658. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25659. end;
  25660. procedure TRCON_RCON.setBOR; inline;
  25661. begin
  25662. pTDefRegMap(@Self)^.&set := $00000002;
  25663. end;
  25664. procedure TRCON_RCON.clearBOR; inline;
  25665. begin
  25666. pTDefRegMap(@Self)^.clr := $00000002;
  25667. end;
  25668. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  25669. begin
  25670. if thebits = 0 then
  25671. pTDefRegMap(@Self)^.clr := $00000002
  25672. else
  25673. pTDefRegMap(@Self)^.&set := $00000002;
  25674. end;
  25675. function TRCON_RCON.getBOR : TBits_1; inline;
  25676. begin
  25677. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25678. end;
  25679. procedure TRCON_RCON.setIDLE; inline;
  25680. begin
  25681. pTDefRegMap(@Self)^.&set := $00000004;
  25682. end;
  25683. procedure TRCON_RCON.clearIDLE; inline;
  25684. begin
  25685. pTDefRegMap(@Self)^.clr := $00000004;
  25686. end;
  25687. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  25688. begin
  25689. if thebits = 0 then
  25690. pTDefRegMap(@Self)^.clr := $00000004
  25691. else
  25692. pTDefRegMap(@Self)^.&set := $00000004;
  25693. end;
  25694. function TRCON_RCON.getIDLE : TBits_1; inline;
  25695. begin
  25696. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25697. end;
  25698. procedure TRCON_RCON.setSLEEP; inline;
  25699. begin
  25700. pTDefRegMap(@Self)^.&set := $00000008;
  25701. end;
  25702. procedure TRCON_RCON.clearSLEEP; inline;
  25703. begin
  25704. pTDefRegMap(@Self)^.clr := $00000008;
  25705. end;
  25706. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  25707. begin
  25708. if thebits = 0 then
  25709. pTDefRegMap(@Self)^.clr := $00000008
  25710. else
  25711. pTDefRegMap(@Self)^.&set := $00000008;
  25712. end;
  25713. function TRCON_RCON.getSLEEP : TBits_1; inline;
  25714. begin
  25715. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25716. end;
  25717. procedure TRCON_RCON.setWDTO; inline;
  25718. begin
  25719. pTDefRegMap(@Self)^.&set := $00000010;
  25720. end;
  25721. procedure TRCON_RCON.clearWDTO; inline;
  25722. begin
  25723. pTDefRegMap(@Self)^.clr := $00000010;
  25724. end;
  25725. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  25726. begin
  25727. if thebits = 0 then
  25728. pTDefRegMap(@Self)^.clr := $00000010
  25729. else
  25730. pTDefRegMap(@Self)^.&set := $00000010;
  25731. end;
  25732. function TRCON_RCON.getWDTO : TBits_1; inline;
  25733. begin
  25734. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25735. end;
  25736. procedure TRCON_RCON.setSWR; inline;
  25737. begin
  25738. pTDefRegMap(@Self)^.&set := $00000040;
  25739. end;
  25740. procedure TRCON_RCON.clearSWR; inline;
  25741. begin
  25742. pTDefRegMap(@Self)^.clr := $00000040;
  25743. end;
  25744. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  25745. begin
  25746. if thebits = 0 then
  25747. pTDefRegMap(@Self)^.clr := $00000040
  25748. else
  25749. pTDefRegMap(@Self)^.&set := $00000040;
  25750. end;
  25751. function TRCON_RCON.getSWR : TBits_1; inline;
  25752. begin
  25753. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25754. end;
  25755. procedure TRCON_RCON.setEXTR; inline;
  25756. begin
  25757. pTDefRegMap(@Self)^.&set := $00000080;
  25758. end;
  25759. procedure TRCON_RCON.clearEXTR; inline;
  25760. begin
  25761. pTDefRegMap(@Self)^.clr := $00000080;
  25762. end;
  25763. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  25764. begin
  25765. if thebits = 0 then
  25766. pTDefRegMap(@Self)^.clr := $00000080
  25767. else
  25768. pTDefRegMap(@Self)^.&set := $00000080;
  25769. end;
  25770. function TRCON_RCON.getEXTR : TBits_1; inline;
  25771. begin
  25772. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25773. end;
  25774. procedure TRCON_RCON.setVREGS; inline;
  25775. begin
  25776. pTDefRegMap(@Self)^.&set := $00000100;
  25777. end;
  25778. procedure TRCON_RCON.clearVREGS; inline;
  25779. begin
  25780. pTDefRegMap(@Self)^.clr := $00000100;
  25781. end;
  25782. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  25783. begin
  25784. if thebits = 0 then
  25785. pTDefRegMap(@Self)^.clr := $00000100
  25786. else
  25787. pTDefRegMap(@Self)^.&set := $00000100;
  25788. end;
  25789. function TRCON_RCON.getVREGS : TBits_1; inline;
  25790. begin
  25791. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25792. end;
  25793. procedure TRCON_RCON.setCMR; inline;
  25794. begin
  25795. pTDefRegMap(@Self)^.&set := $00000200;
  25796. end;
  25797. procedure TRCON_RCON.clearCMR; inline;
  25798. begin
  25799. pTDefRegMap(@Self)^.clr := $00000200;
  25800. end;
  25801. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  25802. begin
  25803. if thebits = 0 then
  25804. pTDefRegMap(@Self)^.clr := $00000200
  25805. else
  25806. pTDefRegMap(@Self)^.&set := $00000200;
  25807. end;
  25808. function TRCON_RCON.getCMR : TBits_1; inline;
  25809. begin
  25810. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25811. end;
  25812. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  25813. begin
  25814. pTDefRegMap(@Self)^.val := thebits;
  25815. end;
  25816. function TRCON_RCON.getw : TBits_32; inline;
  25817. begin
  25818. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25819. end;
  25820. procedure TRCON_RSWRST.setSWRST; inline;
  25821. begin
  25822. pTDefRegMap(@Self)^.&set := $00000001;
  25823. end;
  25824. procedure TRCON_RSWRST.clearSWRST; inline;
  25825. begin
  25826. pTDefRegMap(@Self)^.clr := $00000001;
  25827. end;
  25828. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  25829. begin
  25830. if thebits = 0 then
  25831. pTDefRegMap(@Self)^.clr := $00000001
  25832. else
  25833. pTDefRegMap(@Self)^.&set := $00000001;
  25834. end;
  25835. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  25836. begin
  25837. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25838. end;
  25839. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  25840. begin
  25841. pTDefRegMap(@Self)^.val := thebits;
  25842. end;
  25843. function TRCON_RSWRST.getw : TBits_32; inline;
  25844. begin
  25845. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25846. end;
  25847. procedure TINT_INTCON.setINT0EP; inline;
  25848. begin
  25849. pTDefRegMap(@Self)^.&set := $00000001;
  25850. end;
  25851. procedure TINT_INTCON.clearINT0EP; inline;
  25852. begin
  25853. pTDefRegMap(@Self)^.clr := $00000001;
  25854. end;
  25855. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  25856. begin
  25857. if thebits = 0 then
  25858. pTDefRegMap(@Self)^.clr := $00000001
  25859. else
  25860. pTDefRegMap(@Self)^.&set := $00000001;
  25861. end;
  25862. function TINT_INTCON.getINT0EP : TBits_1; inline;
  25863. begin
  25864. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25865. end;
  25866. procedure TINT_INTCON.setINT1EP; inline;
  25867. begin
  25868. pTDefRegMap(@Self)^.&set := $00000002;
  25869. end;
  25870. procedure TINT_INTCON.clearINT1EP; inline;
  25871. begin
  25872. pTDefRegMap(@Self)^.clr := $00000002;
  25873. end;
  25874. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  25875. begin
  25876. if thebits = 0 then
  25877. pTDefRegMap(@Self)^.clr := $00000002
  25878. else
  25879. pTDefRegMap(@Self)^.&set := $00000002;
  25880. end;
  25881. function TINT_INTCON.getINT1EP : TBits_1; inline;
  25882. begin
  25883. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25884. end;
  25885. procedure TINT_INTCON.setINT2EP; inline;
  25886. begin
  25887. pTDefRegMap(@Self)^.&set := $00000004;
  25888. end;
  25889. procedure TINT_INTCON.clearINT2EP; inline;
  25890. begin
  25891. pTDefRegMap(@Self)^.clr := $00000004;
  25892. end;
  25893. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  25894. begin
  25895. if thebits = 0 then
  25896. pTDefRegMap(@Self)^.clr := $00000004
  25897. else
  25898. pTDefRegMap(@Self)^.&set := $00000004;
  25899. end;
  25900. function TINT_INTCON.getINT2EP : TBits_1; inline;
  25901. begin
  25902. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25903. end;
  25904. procedure TINT_INTCON.setINT3EP; inline;
  25905. begin
  25906. pTDefRegMap(@Self)^.&set := $00000008;
  25907. end;
  25908. procedure TINT_INTCON.clearINT3EP; inline;
  25909. begin
  25910. pTDefRegMap(@Self)^.clr := $00000008;
  25911. end;
  25912. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  25913. begin
  25914. if thebits = 0 then
  25915. pTDefRegMap(@Self)^.clr := $00000008
  25916. else
  25917. pTDefRegMap(@Self)^.&set := $00000008;
  25918. end;
  25919. function TINT_INTCON.getINT3EP : TBits_1; inline;
  25920. begin
  25921. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25922. end;
  25923. procedure TINT_INTCON.setINT4EP; inline;
  25924. begin
  25925. pTDefRegMap(@Self)^.&set := $00000010;
  25926. end;
  25927. procedure TINT_INTCON.clearINT4EP; inline;
  25928. begin
  25929. pTDefRegMap(@Self)^.clr := $00000010;
  25930. end;
  25931. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  25932. begin
  25933. if thebits = 0 then
  25934. pTDefRegMap(@Self)^.clr := $00000010
  25935. else
  25936. pTDefRegMap(@Self)^.&set := $00000010;
  25937. end;
  25938. function TINT_INTCON.getINT4EP : TBits_1; inline;
  25939. begin
  25940. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25941. end;
  25942. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  25943. begin
  25944. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  25945. end;
  25946. function TINT_INTCON.getTPC : TBits_3; inline;
  25947. begin
  25948. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  25949. end;
  25950. procedure TINT_INTCON.setMVEC; inline;
  25951. begin
  25952. pTDefRegMap(@Self)^.&set := $00001000;
  25953. end;
  25954. procedure TINT_INTCON.clearMVEC; inline;
  25955. begin
  25956. pTDefRegMap(@Self)^.clr := $00001000;
  25957. end;
  25958. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  25959. begin
  25960. if thebits = 0 then
  25961. pTDefRegMap(@Self)^.clr := $00001000
  25962. else
  25963. pTDefRegMap(@Self)^.&set := $00001000;
  25964. end;
  25965. function TINT_INTCON.getMVEC : TBits_1; inline;
  25966. begin
  25967. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25968. end;
  25969. procedure TINT_INTCON.setSS0; inline;
  25970. begin
  25971. pTDefRegMap(@Self)^.&set := $00010000;
  25972. end;
  25973. procedure TINT_INTCON.clearSS0; inline;
  25974. begin
  25975. pTDefRegMap(@Self)^.clr := $00010000;
  25976. end;
  25977. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  25978. begin
  25979. if thebits = 0 then
  25980. pTDefRegMap(@Self)^.clr := $00010000
  25981. else
  25982. pTDefRegMap(@Self)^.&set := $00010000;
  25983. end;
  25984. function TINT_INTCON.getSS0 : TBits_1; inline;
  25985. begin
  25986. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25987. end;
  25988. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  25989. begin
  25990. pTDefRegMap(@Self)^.val := thebits;
  25991. end;
  25992. function TINT_INTCON.getw : TBits_32; inline;
  25993. begin
  25994. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25995. end;
  25996. procedure TINT_IFS0.setCTIF; inline;
  25997. begin
  25998. pTDefRegMap(@Self)^.&set := $00000001;
  25999. end;
  26000. procedure TINT_IFS0.clearCTIF; inline;
  26001. begin
  26002. pTDefRegMap(@Self)^.clr := $00000001;
  26003. end;
  26004. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  26005. begin
  26006. if thebits = 0 then
  26007. pTDefRegMap(@Self)^.clr := $00000001
  26008. else
  26009. pTDefRegMap(@Self)^.&set := $00000001;
  26010. end;
  26011. function TINT_IFS0.getCTIF : TBits_1; inline;
  26012. begin
  26013. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26014. end;
  26015. procedure TINT_IFS0.setCS0IF; inline;
  26016. begin
  26017. pTDefRegMap(@Self)^.&set := $00000002;
  26018. end;
  26019. procedure TINT_IFS0.clearCS0IF; inline;
  26020. begin
  26021. pTDefRegMap(@Self)^.clr := $00000002;
  26022. end;
  26023. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  26024. begin
  26025. if thebits = 0 then
  26026. pTDefRegMap(@Self)^.clr := $00000002
  26027. else
  26028. pTDefRegMap(@Self)^.&set := $00000002;
  26029. end;
  26030. function TINT_IFS0.getCS0IF : TBits_1; inline;
  26031. begin
  26032. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26033. end;
  26034. procedure TINT_IFS0.setCS1IF; inline;
  26035. begin
  26036. pTDefRegMap(@Self)^.&set := $00000004;
  26037. end;
  26038. procedure TINT_IFS0.clearCS1IF; inline;
  26039. begin
  26040. pTDefRegMap(@Self)^.clr := $00000004;
  26041. end;
  26042. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  26043. begin
  26044. if thebits = 0 then
  26045. pTDefRegMap(@Self)^.clr := $00000004
  26046. else
  26047. pTDefRegMap(@Self)^.&set := $00000004;
  26048. end;
  26049. function TINT_IFS0.getCS1IF : TBits_1; inline;
  26050. begin
  26051. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26052. end;
  26053. procedure TINT_IFS0.setINT0IF; inline;
  26054. begin
  26055. pTDefRegMap(@Self)^.&set := $00000008;
  26056. end;
  26057. procedure TINT_IFS0.clearINT0IF; inline;
  26058. begin
  26059. pTDefRegMap(@Self)^.clr := $00000008;
  26060. end;
  26061. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  26062. begin
  26063. if thebits = 0 then
  26064. pTDefRegMap(@Self)^.clr := $00000008
  26065. else
  26066. pTDefRegMap(@Self)^.&set := $00000008;
  26067. end;
  26068. function TINT_IFS0.getINT0IF : TBits_1; inline;
  26069. begin
  26070. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26071. end;
  26072. procedure TINT_IFS0.setT1IF; inline;
  26073. begin
  26074. pTDefRegMap(@Self)^.&set := $00000010;
  26075. end;
  26076. procedure TINT_IFS0.clearT1IF; inline;
  26077. begin
  26078. pTDefRegMap(@Self)^.clr := $00000010;
  26079. end;
  26080. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  26081. begin
  26082. if thebits = 0 then
  26083. pTDefRegMap(@Self)^.clr := $00000010
  26084. else
  26085. pTDefRegMap(@Self)^.&set := $00000010;
  26086. end;
  26087. function TINT_IFS0.getT1IF : TBits_1; inline;
  26088. begin
  26089. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26090. end;
  26091. procedure TINT_IFS0.setIC1EIF; inline;
  26092. begin
  26093. pTDefRegMap(@Self)^.&set := $00000020;
  26094. end;
  26095. procedure TINT_IFS0.clearIC1EIF; inline;
  26096. begin
  26097. pTDefRegMap(@Self)^.clr := $00000020;
  26098. end;
  26099. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  26100. begin
  26101. if thebits = 0 then
  26102. pTDefRegMap(@Self)^.clr := $00000020
  26103. else
  26104. pTDefRegMap(@Self)^.&set := $00000020;
  26105. end;
  26106. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  26107. begin
  26108. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26109. end;
  26110. procedure TINT_IFS0.setIC1IF; inline;
  26111. begin
  26112. pTDefRegMap(@Self)^.&set := $00000040;
  26113. end;
  26114. procedure TINT_IFS0.clearIC1IF; inline;
  26115. begin
  26116. pTDefRegMap(@Self)^.clr := $00000040;
  26117. end;
  26118. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  26119. begin
  26120. if thebits = 0 then
  26121. pTDefRegMap(@Self)^.clr := $00000040
  26122. else
  26123. pTDefRegMap(@Self)^.&set := $00000040;
  26124. end;
  26125. function TINT_IFS0.getIC1IF : TBits_1; inline;
  26126. begin
  26127. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26128. end;
  26129. procedure TINT_IFS0.setOC1IF; inline;
  26130. begin
  26131. pTDefRegMap(@Self)^.&set := $00000080;
  26132. end;
  26133. procedure TINT_IFS0.clearOC1IF; inline;
  26134. begin
  26135. pTDefRegMap(@Self)^.clr := $00000080;
  26136. end;
  26137. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  26138. begin
  26139. if thebits = 0 then
  26140. pTDefRegMap(@Self)^.clr := $00000080
  26141. else
  26142. pTDefRegMap(@Self)^.&set := $00000080;
  26143. end;
  26144. function TINT_IFS0.getOC1IF : TBits_1; inline;
  26145. begin
  26146. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26147. end;
  26148. procedure TINT_IFS0.setINT1IF; inline;
  26149. begin
  26150. pTDefRegMap(@Self)^.&set := $00000100;
  26151. end;
  26152. procedure TINT_IFS0.clearINT1IF; inline;
  26153. begin
  26154. pTDefRegMap(@Self)^.clr := $00000100;
  26155. end;
  26156. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  26157. begin
  26158. if thebits = 0 then
  26159. pTDefRegMap(@Self)^.clr := $00000100
  26160. else
  26161. pTDefRegMap(@Self)^.&set := $00000100;
  26162. end;
  26163. function TINT_IFS0.getINT1IF : TBits_1; inline;
  26164. begin
  26165. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26166. end;
  26167. procedure TINT_IFS0.setT2IF; inline;
  26168. begin
  26169. pTDefRegMap(@Self)^.&set := $00000200;
  26170. end;
  26171. procedure TINT_IFS0.clearT2IF; inline;
  26172. begin
  26173. pTDefRegMap(@Self)^.clr := $00000200;
  26174. end;
  26175. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  26176. begin
  26177. if thebits = 0 then
  26178. pTDefRegMap(@Self)^.clr := $00000200
  26179. else
  26180. pTDefRegMap(@Self)^.&set := $00000200;
  26181. end;
  26182. function TINT_IFS0.getT2IF : TBits_1; inline;
  26183. begin
  26184. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26185. end;
  26186. procedure TINT_IFS0.setIC2EIF; inline;
  26187. begin
  26188. pTDefRegMap(@Self)^.&set := $00000400;
  26189. end;
  26190. procedure TINT_IFS0.clearIC2EIF; inline;
  26191. begin
  26192. pTDefRegMap(@Self)^.clr := $00000400;
  26193. end;
  26194. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  26195. begin
  26196. if thebits = 0 then
  26197. pTDefRegMap(@Self)^.clr := $00000400
  26198. else
  26199. pTDefRegMap(@Self)^.&set := $00000400;
  26200. end;
  26201. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  26202. begin
  26203. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26204. end;
  26205. procedure TINT_IFS0.setIC2IF; inline;
  26206. begin
  26207. pTDefRegMap(@Self)^.&set := $00000800;
  26208. end;
  26209. procedure TINT_IFS0.clearIC2IF; inline;
  26210. begin
  26211. pTDefRegMap(@Self)^.clr := $00000800;
  26212. end;
  26213. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  26214. begin
  26215. if thebits = 0 then
  26216. pTDefRegMap(@Self)^.clr := $00000800
  26217. else
  26218. pTDefRegMap(@Self)^.&set := $00000800;
  26219. end;
  26220. function TINT_IFS0.getIC2IF : TBits_1; inline;
  26221. begin
  26222. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26223. end;
  26224. procedure TINT_IFS0.setOC2IF; inline;
  26225. begin
  26226. pTDefRegMap(@Self)^.&set := $00001000;
  26227. end;
  26228. procedure TINT_IFS0.clearOC2IF; inline;
  26229. begin
  26230. pTDefRegMap(@Self)^.clr := $00001000;
  26231. end;
  26232. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  26233. begin
  26234. if thebits = 0 then
  26235. pTDefRegMap(@Self)^.clr := $00001000
  26236. else
  26237. pTDefRegMap(@Self)^.&set := $00001000;
  26238. end;
  26239. function TINT_IFS0.getOC2IF : TBits_1; inline;
  26240. begin
  26241. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26242. end;
  26243. procedure TINT_IFS0.setINT2IF; inline;
  26244. begin
  26245. pTDefRegMap(@Self)^.&set := $00002000;
  26246. end;
  26247. procedure TINT_IFS0.clearINT2IF; inline;
  26248. begin
  26249. pTDefRegMap(@Self)^.clr := $00002000;
  26250. end;
  26251. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  26252. begin
  26253. if thebits = 0 then
  26254. pTDefRegMap(@Self)^.clr := $00002000
  26255. else
  26256. pTDefRegMap(@Self)^.&set := $00002000;
  26257. end;
  26258. function TINT_IFS0.getINT2IF : TBits_1; inline;
  26259. begin
  26260. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26261. end;
  26262. procedure TINT_IFS0.setT3IF; inline;
  26263. begin
  26264. pTDefRegMap(@Self)^.&set := $00004000;
  26265. end;
  26266. procedure TINT_IFS0.clearT3IF; inline;
  26267. begin
  26268. pTDefRegMap(@Self)^.clr := $00004000;
  26269. end;
  26270. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  26271. begin
  26272. if thebits = 0 then
  26273. pTDefRegMap(@Self)^.clr := $00004000
  26274. else
  26275. pTDefRegMap(@Self)^.&set := $00004000;
  26276. end;
  26277. function TINT_IFS0.getT3IF : TBits_1; inline;
  26278. begin
  26279. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26280. end;
  26281. procedure TINT_IFS0.setIC3EIF; inline;
  26282. begin
  26283. pTDefRegMap(@Self)^.&set := $00008000;
  26284. end;
  26285. procedure TINT_IFS0.clearIC3EIF; inline;
  26286. begin
  26287. pTDefRegMap(@Self)^.clr := $00008000;
  26288. end;
  26289. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  26290. begin
  26291. if thebits = 0 then
  26292. pTDefRegMap(@Self)^.clr := $00008000
  26293. else
  26294. pTDefRegMap(@Self)^.&set := $00008000;
  26295. end;
  26296. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  26297. begin
  26298. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26299. end;
  26300. procedure TINT_IFS0.setIC3IF; inline;
  26301. begin
  26302. pTDefRegMap(@Self)^.&set := $00010000;
  26303. end;
  26304. procedure TINT_IFS0.clearIC3IF; inline;
  26305. begin
  26306. pTDefRegMap(@Self)^.clr := $00010000;
  26307. end;
  26308. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  26309. begin
  26310. if thebits = 0 then
  26311. pTDefRegMap(@Self)^.clr := $00010000
  26312. else
  26313. pTDefRegMap(@Self)^.&set := $00010000;
  26314. end;
  26315. function TINT_IFS0.getIC3IF : TBits_1; inline;
  26316. begin
  26317. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26318. end;
  26319. procedure TINT_IFS0.setOC3IF; inline;
  26320. begin
  26321. pTDefRegMap(@Self)^.&set := $00020000;
  26322. end;
  26323. procedure TINT_IFS0.clearOC3IF; inline;
  26324. begin
  26325. pTDefRegMap(@Self)^.clr := $00020000;
  26326. end;
  26327. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  26328. begin
  26329. if thebits = 0 then
  26330. pTDefRegMap(@Self)^.clr := $00020000
  26331. else
  26332. pTDefRegMap(@Self)^.&set := $00020000;
  26333. end;
  26334. function TINT_IFS0.getOC3IF : TBits_1; inline;
  26335. begin
  26336. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26337. end;
  26338. procedure TINT_IFS0.setINT3IF; inline;
  26339. begin
  26340. pTDefRegMap(@Self)^.&set := $00040000;
  26341. end;
  26342. procedure TINT_IFS0.clearINT3IF; inline;
  26343. begin
  26344. pTDefRegMap(@Self)^.clr := $00040000;
  26345. end;
  26346. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  26347. begin
  26348. if thebits = 0 then
  26349. pTDefRegMap(@Self)^.clr := $00040000
  26350. else
  26351. pTDefRegMap(@Self)^.&set := $00040000;
  26352. end;
  26353. function TINT_IFS0.getINT3IF : TBits_1; inline;
  26354. begin
  26355. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26356. end;
  26357. procedure TINT_IFS0.setT4IF; inline;
  26358. begin
  26359. pTDefRegMap(@Self)^.&set := $00080000;
  26360. end;
  26361. procedure TINT_IFS0.clearT4IF; inline;
  26362. begin
  26363. pTDefRegMap(@Self)^.clr := $00080000;
  26364. end;
  26365. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  26366. begin
  26367. if thebits = 0 then
  26368. pTDefRegMap(@Self)^.clr := $00080000
  26369. else
  26370. pTDefRegMap(@Self)^.&set := $00080000;
  26371. end;
  26372. function TINT_IFS0.getT4IF : TBits_1; inline;
  26373. begin
  26374. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  26375. end;
  26376. procedure TINT_IFS0.setIC4EIF; inline;
  26377. begin
  26378. pTDefRegMap(@Self)^.&set := $00100000;
  26379. end;
  26380. procedure TINT_IFS0.clearIC4EIF; inline;
  26381. begin
  26382. pTDefRegMap(@Self)^.clr := $00100000;
  26383. end;
  26384. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  26385. begin
  26386. if thebits = 0 then
  26387. pTDefRegMap(@Self)^.clr := $00100000
  26388. else
  26389. pTDefRegMap(@Self)^.&set := $00100000;
  26390. end;
  26391. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  26392. begin
  26393. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  26394. end;
  26395. procedure TINT_IFS0.setIC4IF; inline;
  26396. begin
  26397. pTDefRegMap(@Self)^.&set := $00200000;
  26398. end;
  26399. procedure TINT_IFS0.clearIC4IF; inline;
  26400. begin
  26401. pTDefRegMap(@Self)^.clr := $00200000;
  26402. end;
  26403. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  26404. begin
  26405. if thebits = 0 then
  26406. pTDefRegMap(@Self)^.clr := $00200000
  26407. else
  26408. pTDefRegMap(@Self)^.&set := $00200000;
  26409. end;
  26410. function TINT_IFS0.getIC4IF : TBits_1; inline;
  26411. begin
  26412. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  26413. end;
  26414. procedure TINT_IFS0.setOC4IF; inline;
  26415. begin
  26416. pTDefRegMap(@Self)^.&set := $00400000;
  26417. end;
  26418. procedure TINT_IFS0.clearOC4IF; inline;
  26419. begin
  26420. pTDefRegMap(@Self)^.clr := $00400000;
  26421. end;
  26422. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  26423. begin
  26424. if thebits = 0 then
  26425. pTDefRegMap(@Self)^.clr := $00400000
  26426. else
  26427. pTDefRegMap(@Self)^.&set := $00400000;
  26428. end;
  26429. function TINT_IFS0.getOC4IF : TBits_1; inline;
  26430. begin
  26431. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  26432. end;
  26433. procedure TINT_IFS0.setINT4IF; inline;
  26434. begin
  26435. pTDefRegMap(@Self)^.&set := $00800000;
  26436. end;
  26437. procedure TINT_IFS0.clearINT4IF; inline;
  26438. begin
  26439. pTDefRegMap(@Self)^.clr := $00800000;
  26440. end;
  26441. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  26442. begin
  26443. if thebits = 0 then
  26444. pTDefRegMap(@Self)^.clr := $00800000
  26445. else
  26446. pTDefRegMap(@Self)^.&set := $00800000;
  26447. end;
  26448. function TINT_IFS0.getINT4IF : TBits_1; inline;
  26449. begin
  26450. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  26451. end;
  26452. procedure TINT_IFS0.setT5IF; inline;
  26453. begin
  26454. pTDefRegMap(@Self)^.&set := $01000000;
  26455. end;
  26456. procedure TINT_IFS0.clearT5IF; inline;
  26457. begin
  26458. pTDefRegMap(@Self)^.clr := $01000000;
  26459. end;
  26460. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  26461. begin
  26462. if thebits = 0 then
  26463. pTDefRegMap(@Self)^.clr := $01000000
  26464. else
  26465. pTDefRegMap(@Self)^.&set := $01000000;
  26466. end;
  26467. function TINT_IFS0.getT5IF : TBits_1; inline;
  26468. begin
  26469. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26470. end;
  26471. procedure TINT_IFS0.setIC5EIF; inline;
  26472. begin
  26473. pTDefRegMap(@Self)^.&set := $02000000;
  26474. end;
  26475. procedure TINT_IFS0.clearIC5EIF; inline;
  26476. begin
  26477. pTDefRegMap(@Self)^.clr := $02000000;
  26478. end;
  26479. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  26480. begin
  26481. if thebits = 0 then
  26482. pTDefRegMap(@Self)^.clr := $02000000
  26483. else
  26484. pTDefRegMap(@Self)^.&set := $02000000;
  26485. end;
  26486. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  26487. begin
  26488. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  26489. end;
  26490. procedure TINT_IFS0.setIC5IF; inline;
  26491. begin
  26492. pTDefRegMap(@Self)^.&set := $04000000;
  26493. end;
  26494. procedure TINT_IFS0.clearIC5IF; inline;
  26495. begin
  26496. pTDefRegMap(@Self)^.clr := $04000000;
  26497. end;
  26498. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  26499. begin
  26500. if thebits = 0 then
  26501. pTDefRegMap(@Self)^.clr := $04000000
  26502. else
  26503. pTDefRegMap(@Self)^.&set := $04000000;
  26504. end;
  26505. function TINT_IFS0.getIC5IF : TBits_1; inline;
  26506. begin
  26507. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  26508. end;
  26509. procedure TINT_IFS0.setOC5IF; inline;
  26510. begin
  26511. pTDefRegMap(@Self)^.&set := $08000000;
  26512. end;
  26513. procedure TINT_IFS0.clearOC5IF; inline;
  26514. begin
  26515. pTDefRegMap(@Self)^.clr := $08000000;
  26516. end;
  26517. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  26518. begin
  26519. if thebits = 0 then
  26520. pTDefRegMap(@Self)^.clr := $08000000
  26521. else
  26522. pTDefRegMap(@Self)^.&set := $08000000;
  26523. end;
  26524. function TINT_IFS0.getOC5IF : TBits_1; inline;
  26525. begin
  26526. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26527. end;
  26528. procedure TINT_IFS0.setAD1IF; inline;
  26529. begin
  26530. pTDefRegMap(@Self)^.&set := $10000000;
  26531. end;
  26532. procedure TINT_IFS0.clearAD1IF; inline;
  26533. begin
  26534. pTDefRegMap(@Self)^.clr := $10000000;
  26535. end;
  26536. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  26537. begin
  26538. if thebits = 0 then
  26539. pTDefRegMap(@Self)^.clr := $10000000
  26540. else
  26541. pTDefRegMap(@Self)^.&set := $10000000;
  26542. end;
  26543. function TINT_IFS0.getAD1IF : TBits_1; inline;
  26544. begin
  26545. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26546. end;
  26547. procedure TINT_IFS0.setFSCMIF; inline;
  26548. begin
  26549. pTDefRegMap(@Self)^.&set := $20000000;
  26550. end;
  26551. procedure TINT_IFS0.clearFSCMIF; inline;
  26552. begin
  26553. pTDefRegMap(@Self)^.clr := $20000000;
  26554. end;
  26555. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  26556. begin
  26557. if thebits = 0 then
  26558. pTDefRegMap(@Self)^.clr := $20000000
  26559. else
  26560. pTDefRegMap(@Self)^.&set := $20000000;
  26561. end;
  26562. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  26563. begin
  26564. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26565. end;
  26566. procedure TINT_IFS0.setRTCCIF; inline;
  26567. begin
  26568. pTDefRegMap(@Self)^.&set := $40000000;
  26569. end;
  26570. procedure TINT_IFS0.clearRTCCIF; inline;
  26571. begin
  26572. pTDefRegMap(@Self)^.clr := $40000000;
  26573. end;
  26574. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  26575. begin
  26576. if thebits = 0 then
  26577. pTDefRegMap(@Self)^.clr := $40000000
  26578. else
  26579. pTDefRegMap(@Self)^.&set := $40000000;
  26580. end;
  26581. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  26582. begin
  26583. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26584. end;
  26585. procedure TINT_IFS0.setFCEIF; inline;
  26586. begin
  26587. pTDefRegMap(@Self)^.&set := $80000000;
  26588. end;
  26589. procedure TINT_IFS0.clearFCEIF; inline;
  26590. begin
  26591. pTDefRegMap(@Self)^.clr := $80000000;
  26592. end;
  26593. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  26594. begin
  26595. if thebits = 0 then
  26596. pTDefRegMap(@Self)^.clr := $80000000
  26597. else
  26598. pTDefRegMap(@Self)^.&set := $80000000;
  26599. end;
  26600. function TINT_IFS0.getFCEIF : TBits_1; inline;
  26601. begin
  26602. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26603. end;
  26604. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  26605. begin
  26606. pTDefRegMap(@Self)^.val := thebits;
  26607. end;
  26608. function TINT_IFS0.getw : TBits_32; inline;
  26609. begin
  26610. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26611. end;
  26612. procedure TINT_IFS1.setCMP1IF; inline;
  26613. begin
  26614. pTDefRegMap(@Self)^.&set := $00000001;
  26615. end;
  26616. procedure TINT_IFS1.clearCMP1IF; inline;
  26617. begin
  26618. pTDefRegMap(@Self)^.clr := $00000001;
  26619. end;
  26620. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  26621. begin
  26622. if thebits = 0 then
  26623. pTDefRegMap(@Self)^.clr := $00000001
  26624. else
  26625. pTDefRegMap(@Self)^.&set := $00000001;
  26626. end;
  26627. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  26628. begin
  26629. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26630. end;
  26631. procedure TINT_IFS1.setCMP2IF; inline;
  26632. begin
  26633. pTDefRegMap(@Self)^.&set := $00000002;
  26634. end;
  26635. procedure TINT_IFS1.clearCMP2IF; inline;
  26636. begin
  26637. pTDefRegMap(@Self)^.clr := $00000002;
  26638. end;
  26639. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  26640. begin
  26641. if thebits = 0 then
  26642. pTDefRegMap(@Self)^.clr := $00000002
  26643. else
  26644. pTDefRegMap(@Self)^.&set := $00000002;
  26645. end;
  26646. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  26647. begin
  26648. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26649. end;
  26650. procedure TINT_IFS1.setCMP3IF; inline;
  26651. begin
  26652. pTDefRegMap(@Self)^.&set := $00000004;
  26653. end;
  26654. procedure TINT_IFS1.clearCMP3IF; inline;
  26655. begin
  26656. pTDefRegMap(@Self)^.clr := $00000004;
  26657. end;
  26658. procedure TINT_IFS1.setCMP3IF(thebits : TBits_1); inline;
  26659. begin
  26660. if thebits = 0 then
  26661. pTDefRegMap(@Self)^.clr := $00000004
  26662. else
  26663. pTDefRegMap(@Self)^.&set := $00000004;
  26664. end;
  26665. function TINT_IFS1.getCMP3IF : TBits_1; inline;
  26666. begin
  26667. getCMP3IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26668. end;
  26669. procedure TINT_IFS1.setUSBIF; inline;
  26670. begin
  26671. pTDefRegMap(@Self)^.&set := $00000008;
  26672. end;
  26673. procedure TINT_IFS1.clearUSBIF; inline;
  26674. begin
  26675. pTDefRegMap(@Self)^.clr := $00000008;
  26676. end;
  26677. procedure TINT_IFS1.setUSBIF(thebits : TBits_1); inline;
  26678. begin
  26679. if thebits = 0 then
  26680. pTDefRegMap(@Self)^.clr := $00000008
  26681. else
  26682. pTDefRegMap(@Self)^.&set := $00000008;
  26683. end;
  26684. function TINT_IFS1.getUSBIF : TBits_1; inline;
  26685. begin
  26686. getUSBIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26687. end;
  26688. procedure TINT_IFS1.setSPI1EIF; inline;
  26689. begin
  26690. pTDefRegMap(@Self)^.&set := $00000010;
  26691. end;
  26692. procedure TINT_IFS1.clearSPI1EIF; inline;
  26693. begin
  26694. pTDefRegMap(@Self)^.clr := $00000010;
  26695. end;
  26696. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  26697. begin
  26698. if thebits = 0 then
  26699. pTDefRegMap(@Self)^.clr := $00000010
  26700. else
  26701. pTDefRegMap(@Self)^.&set := $00000010;
  26702. end;
  26703. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  26704. begin
  26705. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26706. end;
  26707. procedure TINT_IFS1.setSPI1RXIF; inline;
  26708. begin
  26709. pTDefRegMap(@Self)^.&set := $00000020;
  26710. end;
  26711. procedure TINT_IFS1.clearSPI1RXIF; inline;
  26712. begin
  26713. pTDefRegMap(@Self)^.clr := $00000020;
  26714. end;
  26715. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  26716. begin
  26717. if thebits = 0 then
  26718. pTDefRegMap(@Self)^.clr := $00000020
  26719. else
  26720. pTDefRegMap(@Self)^.&set := $00000020;
  26721. end;
  26722. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  26723. begin
  26724. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26725. end;
  26726. procedure TINT_IFS1.setSPI1TXIF; inline;
  26727. begin
  26728. pTDefRegMap(@Self)^.&set := $00000040;
  26729. end;
  26730. procedure TINT_IFS1.clearSPI1TXIF; inline;
  26731. begin
  26732. pTDefRegMap(@Self)^.clr := $00000040;
  26733. end;
  26734. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  26735. begin
  26736. if thebits = 0 then
  26737. pTDefRegMap(@Self)^.clr := $00000040
  26738. else
  26739. pTDefRegMap(@Self)^.&set := $00000040;
  26740. end;
  26741. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  26742. begin
  26743. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26744. end;
  26745. procedure TINT_IFS1.setU1EIF; inline;
  26746. begin
  26747. pTDefRegMap(@Self)^.&set := $00000080;
  26748. end;
  26749. procedure TINT_IFS1.clearU1EIF; inline;
  26750. begin
  26751. pTDefRegMap(@Self)^.clr := $00000080;
  26752. end;
  26753. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  26754. begin
  26755. if thebits = 0 then
  26756. pTDefRegMap(@Self)^.clr := $00000080
  26757. else
  26758. pTDefRegMap(@Self)^.&set := $00000080;
  26759. end;
  26760. function TINT_IFS1.getU1EIF : TBits_1; inline;
  26761. begin
  26762. getU1EIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26763. end;
  26764. procedure TINT_IFS1.setU1RXIF; inline;
  26765. begin
  26766. pTDefRegMap(@Self)^.&set := $00000100;
  26767. end;
  26768. procedure TINT_IFS1.clearU1RXIF; inline;
  26769. begin
  26770. pTDefRegMap(@Self)^.clr := $00000100;
  26771. end;
  26772. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  26773. begin
  26774. if thebits = 0 then
  26775. pTDefRegMap(@Self)^.clr := $00000100
  26776. else
  26777. pTDefRegMap(@Self)^.&set := $00000100;
  26778. end;
  26779. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  26780. begin
  26781. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26782. end;
  26783. procedure TINT_IFS1.setU1TXIF; inline;
  26784. begin
  26785. pTDefRegMap(@Self)^.&set := $00000200;
  26786. end;
  26787. procedure TINT_IFS1.clearU1TXIF; inline;
  26788. begin
  26789. pTDefRegMap(@Self)^.clr := $00000200;
  26790. end;
  26791. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  26792. begin
  26793. if thebits = 0 then
  26794. pTDefRegMap(@Self)^.clr := $00000200
  26795. else
  26796. pTDefRegMap(@Self)^.&set := $00000200;
  26797. end;
  26798. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  26799. begin
  26800. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26801. end;
  26802. procedure TINT_IFS1.setI2C1BIF; inline;
  26803. begin
  26804. pTDefRegMap(@Self)^.&set := $00000400;
  26805. end;
  26806. procedure TINT_IFS1.clearI2C1BIF; inline;
  26807. begin
  26808. pTDefRegMap(@Self)^.clr := $00000400;
  26809. end;
  26810. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  26811. begin
  26812. if thebits = 0 then
  26813. pTDefRegMap(@Self)^.clr := $00000400
  26814. else
  26815. pTDefRegMap(@Self)^.&set := $00000400;
  26816. end;
  26817. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  26818. begin
  26819. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26820. end;
  26821. procedure TINT_IFS1.setI2C1SIF; inline;
  26822. begin
  26823. pTDefRegMap(@Self)^.&set := $00000800;
  26824. end;
  26825. procedure TINT_IFS1.clearI2C1SIF; inline;
  26826. begin
  26827. pTDefRegMap(@Self)^.clr := $00000800;
  26828. end;
  26829. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  26830. begin
  26831. if thebits = 0 then
  26832. pTDefRegMap(@Self)^.clr := $00000800
  26833. else
  26834. pTDefRegMap(@Self)^.&set := $00000800;
  26835. end;
  26836. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  26837. begin
  26838. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26839. end;
  26840. procedure TINT_IFS1.setI2C1MIF; inline;
  26841. begin
  26842. pTDefRegMap(@Self)^.&set := $00001000;
  26843. end;
  26844. procedure TINT_IFS1.clearI2C1MIF; inline;
  26845. begin
  26846. pTDefRegMap(@Self)^.clr := $00001000;
  26847. end;
  26848. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  26849. begin
  26850. if thebits = 0 then
  26851. pTDefRegMap(@Self)^.clr := $00001000
  26852. else
  26853. pTDefRegMap(@Self)^.&set := $00001000;
  26854. end;
  26855. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  26856. begin
  26857. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26858. end;
  26859. procedure TINT_IFS1.setCNAIF; inline;
  26860. begin
  26861. pTDefRegMap(@Self)^.&set := $00002000;
  26862. end;
  26863. procedure TINT_IFS1.clearCNAIF; inline;
  26864. begin
  26865. pTDefRegMap(@Self)^.clr := $00002000;
  26866. end;
  26867. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  26868. begin
  26869. if thebits = 0 then
  26870. pTDefRegMap(@Self)^.clr := $00002000
  26871. else
  26872. pTDefRegMap(@Self)^.&set := $00002000;
  26873. end;
  26874. function TINT_IFS1.getCNAIF : TBits_1; inline;
  26875. begin
  26876. getCNAIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26877. end;
  26878. procedure TINT_IFS1.setCNBIF; inline;
  26879. begin
  26880. pTDefRegMap(@Self)^.&set := $00004000;
  26881. end;
  26882. procedure TINT_IFS1.clearCNBIF; inline;
  26883. begin
  26884. pTDefRegMap(@Self)^.clr := $00004000;
  26885. end;
  26886. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  26887. begin
  26888. if thebits = 0 then
  26889. pTDefRegMap(@Self)^.clr := $00004000
  26890. else
  26891. pTDefRegMap(@Self)^.&set := $00004000;
  26892. end;
  26893. function TINT_IFS1.getCNBIF : TBits_1; inline;
  26894. begin
  26895. getCNBIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26896. end;
  26897. procedure TINT_IFS1.setCNCIF; inline;
  26898. begin
  26899. pTDefRegMap(@Self)^.&set := $00008000;
  26900. end;
  26901. procedure TINT_IFS1.clearCNCIF; inline;
  26902. begin
  26903. pTDefRegMap(@Self)^.clr := $00008000;
  26904. end;
  26905. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  26906. begin
  26907. if thebits = 0 then
  26908. pTDefRegMap(@Self)^.clr := $00008000
  26909. else
  26910. pTDefRegMap(@Self)^.&set := $00008000;
  26911. end;
  26912. function TINT_IFS1.getCNCIF : TBits_1; inline;
  26913. begin
  26914. getCNCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26915. end;
  26916. procedure TINT_IFS1.setPMPIF; inline;
  26917. begin
  26918. pTDefRegMap(@Self)^.&set := $00010000;
  26919. end;
  26920. procedure TINT_IFS1.clearPMPIF; inline;
  26921. begin
  26922. pTDefRegMap(@Self)^.clr := $00010000;
  26923. end;
  26924. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  26925. begin
  26926. if thebits = 0 then
  26927. pTDefRegMap(@Self)^.clr := $00010000
  26928. else
  26929. pTDefRegMap(@Self)^.&set := $00010000;
  26930. end;
  26931. function TINT_IFS1.getPMPIF : TBits_1; inline;
  26932. begin
  26933. getPMPIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26934. end;
  26935. procedure TINT_IFS1.setPMPEIF; inline;
  26936. begin
  26937. pTDefRegMap(@Self)^.&set := $00020000;
  26938. end;
  26939. procedure TINT_IFS1.clearPMPEIF; inline;
  26940. begin
  26941. pTDefRegMap(@Self)^.clr := $00020000;
  26942. end;
  26943. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  26944. begin
  26945. if thebits = 0 then
  26946. pTDefRegMap(@Self)^.clr := $00020000
  26947. else
  26948. pTDefRegMap(@Self)^.&set := $00020000;
  26949. end;
  26950. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  26951. begin
  26952. getPMPEIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26953. end;
  26954. procedure TINT_IFS1.setSPI2EIF; inline;
  26955. begin
  26956. pTDefRegMap(@Self)^.&set := $00040000;
  26957. end;
  26958. procedure TINT_IFS1.clearSPI2EIF; inline;
  26959. begin
  26960. pTDefRegMap(@Self)^.clr := $00040000;
  26961. end;
  26962. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  26963. begin
  26964. if thebits = 0 then
  26965. pTDefRegMap(@Self)^.clr := $00040000
  26966. else
  26967. pTDefRegMap(@Self)^.&set := $00040000;
  26968. end;
  26969. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  26970. begin
  26971. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26972. end;
  26973. procedure TINT_IFS1.setSPI2RXIF; inline;
  26974. begin
  26975. pTDefRegMap(@Self)^.&set := $00080000;
  26976. end;
  26977. procedure TINT_IFS1.clearSPI2RXIF; inline;
  26978. begin
  26979. pTDefRegMap(@Self)^.clr := $00080000;
  26980. end;
  26981. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  26982. begin
  26983. if thebits = 0 then
  26984. pTDefRegMap(@Self)^.clr := $00080000
  26985. else
  26986. pTDefRegMap(@Self)^.&set := $00080000;
  26987. end;
  26988. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  26989. begin
  26990. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  26991. end;
  26992. procedure TINT_IFS1.setSPI2TXIF; inline;
  26993. begin
  26994. pTDefRegMap(@Self)^.&set := $00100000;
  26995. end;
  26996. procedure TINT_IFS1.clearSPI2TXIF; inline;
  26997. begin
  26998. pTDefRegMap(@Self)^.clr := $00100000;
  26999. end;
  27000. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  27001. begin
  27002. if thebits = 0 then
  27003. pTDefRegMap(@Self)^.clr := $00100000
  27004. else
  27005. pTDefRegMap(@Self)^.&set := $00100000;
  27006. end;
  27007. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  27008. begin
  27009. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27010. end;
  27011. procedure TINT_IFS1.setU2EIF; inline;
  27012. begin
  27013. pTDefRegMap(@Self)^.&set := $00200000;
  27014. end;
  27015. procedure TINT_IFS1.clearU2EIF; inline;
  27016. begin
  27017. pTDefRegMap(@Self)^.clr := $00200000;
  27018. end;
  27019. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  27020. begin
  27021. if thebits = 0 then
  27022. pTDefRegMap(@Self)^.clr := $00200000
  27023. else
  27024. pTDefRegMap(@Self)^.&set := $00200000;
  27025. end;
  27026. function TINT_IFS1.getU2EIF : TBits_1; inline;
  27027. begin
  27028. getU2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27029. end;
  27030. procedure TINT_IFS1.setU2RXIF; inline;
  27031. begin
  27032. pTDefRegMap(@Self)^.&set := $00400000;
  27033. end;
  27034. procedure TINT_IFS1.clearU2RXIF; inline;
  27035. begin
  27036. pTDefRegMap(@Self)^.clr := $00400000;
  27037. end;
  27038. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  27039. begin
  27040. if thebits = 0 then
  27041. pTDefRegMap(@Self)^.clr := $00400000
  27042. else
  27043. pTDefRegMap(@Self)^.&set := $00400000;
  27044. end;
  27045. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  27046. begin
  27047. getU2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27048. end;
  27049. procedure TINT_IFS1.setU2TXIF; inline;
  27050. begin
  27051. pTDefRegMap(@Self)^.&set := $00800000;
  27052. end;
  27053. procedure TINT_IFS1.clearU2TXIF; inline;
  27054. begin
  27055. pTDefRegMap(@Self)^.clr := $00800000;
  27056. end;
  27057. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  27058. begin
  27059. if thebits = 0 then
  27060. pTDefRegMap(@Self)^.clr := $00800000
  27061. else
  27062. pTDefRegMap(@Self)^.&set := $00800000;
  27063. end;
  27064. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  27065. begin
  27066. getU2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27067. end;
  27068. procedure TINT_IFS1.setI2C2BIF; inline;
  27069. begin
  27070. pTDefRegMap(@Self)^.&set := $01000000;
  27071. end;
  27072. procedure TINT_IFS1.clearI2C2BIF; inline;
  27073. begin
  27074. pTDefRegMap(@Self)^.clr := $01000000;
  27075. end;
  27076. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  27077. begin
  27078. if thebits = 0 then
  27079. pTDefRegMap(@Self)^.clr := $01000000
  27080. else
  27081. pTDefRegMap(@Self)^.&set := $01000000;
  27082. end;
  27083. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  27084. begin
  27085. getI2C2BIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27086. end;
  27087. procedure TINT_IFS1.setI2C2SIF; inline;
  27088. begin
  27089. pTDefRegMap(@Self)^.&set := $02000000;
  27090. end;
  27091. procedure TINT_IFS1.clearI2C2SIF; inline;
  27092. begin
  27093. pTDefRegMap(@Self)^.clr := $02000000;
  27094. end;
  27095. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  27096. begin
  27097. if thebits = 0 then
  27098. pTDefRegMap(@Self)^.clr := $02000000
  27099. else
  27100. pTDefRegMap(@Self)^.&set := $02000000;
  27101. end;
  27102. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  27103. begin
  27104. getI2C2SIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27105. end;
  27106. procedure TINT_IFS1.setI2C2MIF; inline;
  27107. begin
  27108. pTDefRegMap(@Self)^.&set := $04000000;
  27109. end;
  27110. procedure TINT_IFS1.clearI2C2MIF; inline;
  27111. begin
  27112. pTDefRegMap(@Self)^.clr := $04000000;
  27113. end;
  27114. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  27115. begin
  27116. if thebits = 0 then
  27117. pTDefRegMap(@Self)^.clr := $04000000
  27118. else
  27119. pTDefRegMap(@Self)^.&set := $04000000;
  27120. end;
  27121. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  27122. begin
  27123. getI2C2MIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27124. end;
  27125. procedure TINT_IFS1.setCTMUIF; inline;
  27126. begin
  27127. pTDefRegMap(@Self)^.&set := $08000000;
  27128. end;
  27129. procedure TINT_IFS1.clearCTMUIF; inline;
  27130. begin
  27131. pTDefRegMap(@Self)^.clr := $08000000;
  27132. end;
  27133. procedure TINT_IFS1.setCTMUIF(thebits : TBits_1); inline;
  27134. begin
  27135. if thebits = 0 then
  27136. pTDefRegMap(@Self)^.clr := $08000000
  27137. else
  27138. pTDefRegMap(@Self)^.&set := $08000000;
  27139. end;
  27140. function TINT_IFS1.getCTMUIF : TBits_1; inline;
  27141. begin
  27142. getCTMUIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27143. end;
  27144. procedure TINT_IFS1.setDMA0IF; inline;
  27145. begin
  27146. pTDefRegMap(@Self)^.&set := $10000000;
  27147. end;
  27148. procedure TINT_IFS1.clearDMA0IF; inline;
  27149. begin
  27150. pTDefRegMap(@Self)^.clr := $10000000;
  27151. end;
  27152. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  27153. begin
  27154. if thebits = 0 then
  27155. pTDefRegMap(@Self)^.clr := $10000000
  27156. else
  27157. pTDefRegMap(@Self)^.&set := $10000000;
  27158. end;
  27159. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  27160. begin
  27161. getDMA0IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27162. end;
  27163. procedure TINT_IFS1.setDMA1IF; inline;
  27164. begin
  27165. pTDefRegMap(@Self)^.&set := $20000000;
  27166. end;
  27167. procedure TINT_IFS1.clearDMA1IF; inline;
  27168. begin
  27169. pTDefRegMap(@Self)^.clr := $20000000;
  27170. end;
  27171. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  27172. begin
  27173. if thebits = 0 then
  27174. pTDefRegMap(@Self)^.clr := $20000000
  27175. else
  27176. pTDefRegMap(@Self)^.&set := $20000000;
  27177. end;
  27178. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  27179. begin
  27180. getDMA1IF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27181. end;
  27182. procedure TINT_IFS1.setDMA2IF; inline;
  27183. begin
  27184. pTDefRegMap(@Self)^.&set := $40000000;
  27185. end;
  27186. procedure TINT_IFS1.clearDMA2IF; inline;
  27187. begin
  27188. pTDefRegMap(@Self)^.clr := $40000000;
  27189. end;
  27190. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  27191. begin
  27192. if thebits = 0 then
  27193. pTDefRegMap(@Self)^.clr := $40000000
  27194. else
  27195. pTDefRegMap(@Self)^.&set := $40000000;
  27196. end;
  27197. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  27198. begin
  27199. getDMA2IF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27200. end;
  27201. procedure TINT_IFS1.setDMA3IF; inline;
  27202. begin
  27203. pTDefRegMap(@Self)^.&set := $80000000;
  27204. end;
  27205. procedure TINT_IFS1.clearDMA3IF; inline;
  27206. begin
  27207. pTDefRegMap(@Self)^.clr := $80000000;
  27208. end;
  27209. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  27210. begin
  27211. if thebits = 0 then
  27212. pTDefRegMap(@Self)^.clr := $80000000
  27213. else
  27214. pTDefRegMap(@Self)^.&set := $80000000;
  27215. end;
  27216. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  27217. begin
  27218. getDMA3IF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27219. end;
  27220. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  27221. begin
  27222. pTDefRegMap(@Self)^.val := thebits;
  27223. end;
  27224. function TINT_IFS1.getw : TBits_32; inline;
  27225. begin
  27226. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27227. end;
  27228. procedure TINT_IEC0.setCTIE; inline;
  27229. begin
  27230. pTDefRegMap(@Self)^.&set := $00000001;
  27231. end;
  27232. procedure TINT_IEC0.clearCTIE; inline;
  27233. begin
  27234. pTDefRegMap(@Self)^.clr := $00000001;
  27235. end;
  27236. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  27237. begin
  27238. if thebits = 0 then
  27239. pTDefRegMap(@Self)^.clr := $00000001
  27240. else
  27241. pTDefRegMap(@Self)^.&set := $00000001;
  27242. end;
  27243. function TINT_IEC0.getCTIE : TBits_1; inline;
  27244. begin
  27245. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27246. end;
  27247. procedure TINT_IEC0.setCS0IE; inline;
  27248. begin
  27249. pTDefRegMap(@Self)^.&set := $00000002;
  27250. end;
  27251. procedure TINT_IEC0.clearCS0IE; inline;
  27252. begin
  27253. pTDefRegMap(@Self)^.clr := $00000002;
  27254. end;
  27255. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  27256. begin
  27257. if thebits = 0 then
  27258. pTDefRegMap(@Self)^.clr := $00000002
  27259. else
  27260. pTDefRegMap(@Self)^.&set := $00000002;
  27261. end;
  27262. function TINT_IEC0.getCS0IE : TBits_1; inline;
  27263. begin
  27264. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27265. end;
  27266. procedure TINT_IEC0.setCS1IE; inline;
  27267. begin
  27268. pTDefRegMap(@Self)^.&set := $00000004;
  27269. end;
  27270. procedure TINT_IEC0.clearCS1IE; inline;
  27271. begin
  27272. pTDefRegMap(@Self)^.clr := $00000004;
  27273. end;
  27274. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  27275. begin
  27276. if thebits = 0 then
  27277. pTDefRegMap(@Self)^.clr := $00000004
  27278. else
  27279. pTDefRegMap(@Self)^.&set := $00000004;
  27280. end;
  27281. function TINT_IEC0.getCS1IE : TBits_1; inline;
  27282. begin
  27283. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27284. end;
  27285. procedure TINT_IEC0.setINT0IE; inline;
  27286. begin
  27287. pTDefRegMap(@Self)^.&set := $00000008;
  27288. end;
  27289. procedure TINT_IEC0.clearINT0IE; inline;
  27290. begin
  27291. pTDefRegMap(@Self)^.clr := $00000008;
  27292. end;
  27293. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  27294. begin
  27295. if thebits = 0 then
  27296. pTDefRegMap(@Self)^.clr := $00000008
  27297. else
  27298. pTDefRegMap(@Self)^.&set := $00000008;
  27299. end;
  27300. function TINT_IEC0.getINT0IE : TBits_1; inline;
  27301. begin
  27302. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27303. end;
  27304. procedure TINT_IEC0.setT1IE; inline;
  27305. begin
  27306. pTDefRegMap(@Self)^.&set := $00000010;
  27307. end;
  27308. procedure TINT_IEC0.clearT1IE; inline;
  27309. begin
  27310. pTDefRegMap(@Self)^.clr := $00000010;
  27311. end;
  27312. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  27313. begin
  27314. if thebits = 0 then
  27315. pTDefRegMap(@Self)^.clr := $00000010
  27316. else
  27317. pTDefRegMap(@Self)^.&set := $00000010;
  27318. end;
  27319. function TINT_IEC0.getT1IE : TBits_1; inline;
  27320. begin
  27321. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27322. end;
  27323. procedure TINT_IEC0.setIC1EIE; inline;
  27324. begin
  27325. pTDefRegMap(@Self)^.&set := $00000020;
  27326. end;
  27327. procedure TINT_IEC0.clearIC1EIE; inline;
  27328. begin
  27329. pTDefRegMap(@Self)^.clr := $00000020;
  27330. end;
  27331. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  27332. begin
  27333. if thebits = 0 then
  27334. pTDefRegMap(@Self)^.clr := $00000020
  27335. else
  27336. pTDefRegMap(@Self)^.&set := $00000020;
  27337. end;
  27338. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  27339. begin
  27340. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27341. end;
  27342. procedure TINT_IEC0.setIC1IE; inline;
  27343. begin
  27344. pTDefRegMap(@Self)^.&set := $00000040;
  27345. end;
  27346. procedure TINT_IEC0.clearIC1IE; inline;
  27347. begin
  27348. pTDefRegMap(@Self)^.clr := $00000040;
  27349. end;
  27350. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  27351. begin
  27352. if thebits = 0 then
  27353. pTDefRegMap(@Self)^.clr := $00000040
  27354. else
  27355. pTDefRegMap(@Self)^.&set := $00000040;
  27356. end;
  27357. function TINT_IEC0.getIC1IE : TBits_1; inline;
  27358. begin
  27359. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27360. end;
  27361. procedure TINT_IEC0.setOC1IE; inline;
  27362. begin
  27363. pTDefRegMap(@Self)^.&set := $00000080;
  27364. end;
  27365. procedure TINT_IEC0.clearOC1IE; inline;
  27366. begin
  27367. pTDefRegMap(@Self)^.clr := $00000080;
  27368. end;
  27369. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  27370. begin
  27371. if thebits = 0 then
  27372. pTDefRegMap(@Self)^.clr := $00000080
  27373. else
  27374. pTDefRegMap(@Self)^.&set := $00000080;
  27375. end;
  27376. function TINT_IEC0.getOC1IE : TBits_1; inline;
  27377. begin
  27378. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27379. end;
  27380. procedure TINT_IEC0.setINT1IE; inline;
  27381. begin
  27382. pTDefRegMap(@Self)^.&set := $00000100;
  27383. end;
  27384. procedure TINT_IEC0.clearINT1IE; inline;
  27385. begin
  27386. pTDefRegMap(@Self)^.clr := $00000100;
  27387. end;
  27388. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  27389. begin
  27390. if thebits = 0 then
  27391. pTDefRegMap(@Self)^.clr := $00000100
  27392. else
  27393. pTDefRegMap(@Self)^.&set := $00000100;
  27394. end;
  27395. function TINT_IEC0.getINT1IE : TBits_1; inline;
  27396. begin
  27397. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27398. end;
  27399. procedure TINT_IEC0.setT2IE; inline;
  27400. begin
  27401. pTDefRegMap(@Self)^.&set := $00000200;
  27402. end;
  27403. procedure TINT_IEC0.clearT2IE; inline;
  27404. begin
  27405. pTDefRegMap(@Self)^.clr := $00000200;
  27406. end;
  27407. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  27408. begin
  27409. if thebits = 0 then
  27410. pTDefRegMap(@Self)^.clr := $00000200
  27411. else
  27412. pTDefRegMap(@Self)^.&set := $00000200;
  27413. end;
  27414. function TINT_IEC0.getT2IE : TBits_1; inline;
  27415. begin
  27416. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27417. end;
  27418. procedure TINT_IEC0.setIC2EIE; inline;
  27419. begin
  27420. pTDefRegMap(@Self)^.&set := $00000400;
  27421. end;
  27422. procedure TINT_IEC0.clearIC2EIE; inline;
  27423. begin
  27424. pTDefRegMap(@Self)^.clr := $00000400;
  27425. end;
  27426. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  27427. begin
  27428. if thebits = 0 then
  27429. pTDefRegMap(@Self)^.clr := $00000400
  27430. else
  27431. pTDefRegMap(@Self)^.&set := $00000400;
  27432. end;
  27433. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  27434. begin
  27435. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27436. end;
  27437. procedure TINT_IEC0.setIC2IE; inline;
  27438. begin
  27439. pTDefRegMap(@Self)^.&set := $00000800;
  27440. end;
  27441. procedure TINT_IEC0.clearIC2IE; inline;
  27442. begin
  27443. pTDefRegMap(@Self)^.clr := $00000800;
  27444. end;
  27445. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  27446. begin
  27447. if thebits = 0 then
  27448. pTDefRegMap(@Self)^.clr := $00000800
  27449. else
  27450. pTDefRegMap(@Self)^.&set := $00000800;
  27451. end;
  27452. function TINT_IEC0.getIC2IE : TBits_1; inline;
  27453. begin
  27454. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27455. end;
  27456. procedure TINT_IEC0.setOC2IE; inline;
  27457. begin
  27458. pTDefRegMap(@Self)^.&set := $00001000;
  27459. end;
  27460. procedure TINT_IEC0.clearOC2IE; inline;
  27461. begin
  27462. pTDefRegMap(@Self)^.clr := $00001000;
  27463. end;
  27464. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  27465. begin
  27466. if thebits = 0 then
  27467. pTDefRegMap(@Self)^.clr := $00001000
  27468. else
  27469. pTDefRegMap(@Self)^.&set := $00001000;
  27470. end;
  27471. function TINT_IEC0.getOC2IE : TBits_1; inline;
  27472. begin
  27473. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27474. end;
  27475. procedure TINT_IEC0.setINT2IE; inline;
  27476. begin
  27477. pTDefRegMap(@Self)^.&set := $00002000;
  27478. end;
  27479. procedure TINT_IEC0.clearINT2IE; inline;
  27480. begin
  27481. pTDefRegMap(@Self)^.clr := $00002000;
  27482. end;
  27483. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  27484. begin
  27485. if thebits = 0 then
  27486. pTDefRegMap(@Self)^.clr := $00002000
  27487. else
  27488. pTDefRegMap(@Self)^.&set := $00002000;
  27489. end;
  27490. function TINT_IEC0.getINT2IE : TBits_1; inline;
  27491. begin
  27492. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27493. end;
  27494. procedure TINT_IEC0.setT3IE; inline;
  27495. begin
  27496. pTDefRegMap(@Self)^.&set := $00004000;
  27497. end;
  27498. procedure TINT_IEC0.clearT3IE; inline;
  27499. begin
  27500. pTDefRegMap(@Self)^.clr := $00004000;
  27501. end;
  27502. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  27503. begin
  27504. if thebits = 0 then
  27505. pTDefRegMap(@Self)^.clr := $00004000
  27506. else
  27507. pTDefRegMap(@Self)^.&set := $00004000;
  27508. end;
  27509. function TINT_IEC0.getT3IE : TBits_1; inline;
  27510. begin
  27511. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27512. end;
  27513. procedure TINT_IEC0.setIC3EIE; inline;
  27514. begin
  27515. pTDefRegMap(@Self)^.&set := $00008000;
  27516. end;
  27517. procedure TINT_IEC0.clearIC3EIE; inline;
  27518. begin
  27519. pTDefRegMap(@Self)^.clr := $00008000;
  27520. end;
  27521. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  27522. begin
  27523. if thebits = 0 then
  27524. pTDefRegMap(@Self)^.clr := $00008000
  27525. else
  27526. pTDefRegMap(@Self)^.&set := $00008000;
  27527. end;
  27528. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  27529. begin
  27530. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27531. end;
  27532. procedure TINT_IEC0.setIC3IE; inline;
  27533. begin
  27534. pTDefRegMap(@Self)^.&set := $00010000;
  27535. end;
  27536. procedure TINT_IEC0.clearIC3IE; inline;
  27537. begin
  27538. pTDefRegMap(@Self)^.clr := $00010000;
  27539. end;
  27540. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  27541. begin
  27542. if thebits = 0 then
  27543. pTDefRegMap(@Self)^.clr := $00010000
  27544. else
  27545. pTDefRegMap(@Self)^.&set := $00010000;
  27546. end;
  27547. function TINT_IEC0.getIC3IE : TBits_1; inline;
  27548. begin
  27549. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27550. end;
  27551. procedure TINT_IEC0.setOC3IE; inline;
  27552. begin
  27553. pTDefRegMap(@Self)^.&set := $00020000;
  27554. end;
  27555. procedure TINT_IEC0.clearOC3IE; inline;
  27556. begin
  27557. pTDefRegMap(@Self)^.clr := $00020000;
  27558. end;
  27559. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  27560. begin
  27561. if thebits = 0 then
  27562. pTDefRegMap(@Self)^.clr := $00020000
  27563. else
  27564. pTDefRegMap(@Self)^.&set := $00020000;
  27565. end;
  27566. function TINT_IEC0.getOC3IE : TBits_1; inline;
  27567. begin
  27568. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27569. end;
  27570. procedure TINT_IEC0.setINT3IE; inline;
  27571. begin
  27572. pTDefRegMap(@Self)^.&set := $00040000;
  27573. end;
  27574. procedure TINT_IEC0.clearINT3IE; inline;
  27575. begin
  27576. pTDefRegMap(@Self)^.clr := $00040000;
  27577. end;
  27578. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  27579. begin
  27580. if thebits = 0 then
  27581. pTDefRegMap(@Self)^.clr := $00040000
  27582. else
  27583. pTDefRegMap(@Self)^.&set := $00040000;
  27584. end;
  27585. function TINT_IEC0.getINT3IE : TBits_1; inline;
  27586. begin
  27587. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27588. end;
  27589. procedure TINT_IEC0.setT4IE; inline;
  27590. begin
  27591. pTDefRegMap(@Self)^.&set := $00080000;
  27592. end;
  27593. procedure TINT_IEC0.clearT4IE; inline;
  27594. begin
  27595. pTDefRegMap(@Self)^.clr := $00080000;
  27596. end;
  27597. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  27598. begin
  27599. if thebits = 0 then
  27600. pTDefRegMap(@Self)^.clr := $00080000
  27601. else
  27602. pTDefRegMap(@Self)^.&set := $00080000;
  27603. end;
  27604. function TINT_IEC0.getT4IE : TBits_1; inline;
  27605. begin
  27606. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27607. end;
  27608. procedure TINT_IEC0.setIC4EIE; inline;
  27609. begin
  27610. pTDefRegMap(@Self)^.&set := $00100000;
  27611. end;
  27612. procedure TINT_IEC0.clearIC4EIE; inline;
  27613. begin
  27614. pTDefRegMap(@Self)^.clr := $00100000;
  27615. end;
  27616. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  27617. begin
  27618. if thebits = 0 then
  27619. pTDefRegMap(@Self)^.clr := $00100000
  27620. else
  27621. pTDefRegMap(@Self)^.&set := $00100000;
  27622. end;
  27623. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  27624. begin
  27625. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27626. end;
  27627. procedure TINT_IEC0.setIC4IE; inline;
  27628. begin
  27629. pTDefRegMap(@Self)^.&set := $00200000;
  27630. end;
  27631. procedure TINT_IEC0.clearIC4IE; inline;
  27632. begin
  27633. pTDefRegMap(@Self)^.clr := $00200000;
  27634. end;
  27635. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  27636. begin
  27637. if thebits = 0 then
  27638. pTDefRegMap(@Self)^.clr := $00200000
  27639. else
  27640. pTDefRegMap(@Self)^.&set := $00200000;
  27641. end;
  27642. function TINT_IEC0.getIC4IE : TBits_1; inline;
  27643. begin
  27644. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27645. end;
  27646. procedure TINT_IEC0.setOC4IE; inline;
  27647. begin
  27648. pTDefRegMap(@Self)^.&set := $00400000;
  27649. end;
  27650. procedure TINT_IEC0.clearOC4IE; inline;
  27651. begin
  27652. pTDefRegMap(@Self)^.clr := $00400000;
  27653. end;
  27654. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  27655. begin
  27656. if thebits = 0 then
  27657. pTDefRegMap(@Self)^.clr := $00400000
  27658. else
  27659. pTDefRegMap(@Self)^.&set := $00400000;
  27660. end;
  27661. function TINT_IEC0.getOC4IE : TBits_1; inline;
  27662. begin
  27663. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27664. end;
  27665. procedure TINT_IEC0.setINT4IE; inline;
  27666. begin
  27667. pTDefRegMap(@Self)^.&set := $00800000;
  27668. end;
  27669. procedure TINT_IEC0.clearINT4IE; inline;
  27670. begin
  27671. pTDefRegMap(@Self)^.clr := $00800000;
  27672. end;
  27673. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  27674. begin
  27675. if thebits = 0 then
  27676. pTDefRegMap(@Self)^.clr := $00800000
  27677. else
  27678. pTDefRegMap(@Self)^.&set := $00800000;
  27679. end;
  27680. function TINT_IEC0.getINT4IE : TBits_1; inline;
  27681. begin
  27682. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27683. end;
  27684. procedure TINT_IEC0.setT5IE; inline;
  27685. begin
  27686. pTDefRegMap(@Self)^.&set := $01000000;
  27687. end;
  27688. procedure TINT_IEC0.clearT5IE; inline;
  27689. begin
  27690. pTDefRegMap(@Self)^.clr := $01000000;
  27691. end;
  27692. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  27693. begin
  27694. if thebits = 0 then
  27695. pTDefRegMap(@Self)^.clr := $01000000
  27696. else
  27697. pTDefRegMap(@Self)^.&set := $01000000;
  27698. end;
  27699. function TINT_IEC0.getT5IE : TBits_1; inline;
  27700. begin
  27701. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27702. end;
  27703. procedure TINT_IEC0.setIC5EIE; inline;
  27704. begin
  27705. pTDefRegMap(@Self)^.&set := $02000000;
  27706. end;
  27707. procedure TINT_IEC0.clearIC5EIE; inline;
  27708. begin
  27709. pTDefRegMap(@Self)^.clr := $02000000;
  27710. end;
  27711. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  27712. begin
  27713. if thebits = 0 then
  27714. pTDefRegMap(@Self)^.clr := $02000000
  27715. else
  27716. pTDefRegMap(@Self)^.&set := $02000000;
  27717. end;
  27718. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  27719. begin
  27720. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27721. end;
  27722. procedure TINT_IEC0.setIC5IE; inline;
  27723. begin
  27724. pTDefRegMap(@Self)^.&set := $04000000;
  27725. end;
  27726. procedure TINT_IEC0.clearIC5IE; inline;
  27727. begin
  27728. pTDefRegMap(@Self)^.clr := $04000000;
  27729. end;
  27730. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  27731. begin
  27732. if thebits = 0 then
  27733. pTDefRegMap(@Self)^.clr := $04000000
  27734. else
  27735. pTDefRegMap(@Self)^.&set := $04000000;
  27736. end;
  27737. function TINT_IEC0.getIC5IE : TBits_1; inline;
  27738. begin
  27739. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27740. end;
  27741. procedure TINT_IEC0.setOC5IE; inline;
  27742. begin
  27743. pTDefRegMap(@Self)^.&set := $08000000;
  27744. end;
  27745. procedure TINT_IEC0.clearOC5IE; inline;
  27746. begin
  27747. pTDefRegMap(@Self)^.clr := $08000000;
  27748. end;
  27749. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  27750. begin
  27751. if thebits = 0 then
  27752. pTDefRegMap(@Self)^.clr := $08000000
  27753. else
  27754. pTDefRegMap(@Self)^.&set := $08000000;
  27755. end;
  27756. function TINT_IEC0.getOC5IE : TBits_1; inline;
  27757. begin
  27758. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27759. end;
  27760. procedure TINT_IEC0.setAD1IE; inline;
  27761. begin
  27762. pTDefRegMap(@Self)^.&set := $10000000;
  27763. end;
  27764. procedure TINT_IEC0.clearAD1IE; inline;
  27765. begin
  27766. pTDefRegMap(@Self)^.clr := $10000000;
  27767. end;
  27768. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  27769. begin
  27770. if thebits = 0 then
  27771. pTDefRegMap(@Self)^.clr := $10000000
  27772. else
  27773. pTDefRegMap(@Self)^.&set := $10000000;
  27774. end;
  27775. function TINT_IEC0.getAD1IE : TBits_1; inline;
  27776. begin
  27777. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27778. end;
  27779. procedure TINT_IEC0.setFSCMIE; inline;
  27780. begin
  27781. pTDefRegMap(@Self)^.&set := $20000000;
  27782. end;
  27783. procedure TINT_IEC0.clearFSCMIE; inline;
  27784. begin
  27785. pTDefRegMap(@Self)^.clr := $20000000;
  27786. end;
  27787. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  27788. begin
  27789. if thebits = 0 then
  27790. pTDefRegMap(@Self)^.clr := $20000000
  27791. else
  27792. pTDefRegMap(@Self)^.&set := $20000000;
  27793. end;
  27794. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  27795. begin
  27796. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27797. end;
  27798. procedure TINT_IEC0.setRTCCIE; inline;
  27799. begin
  27800. pTDefRegMap(@Self)^.&set := $40000000;
  27801. end;
  27802. procedure TINT_IEC0.clearRTCCIE; inline;
  27803. begin
  27804. pTDefRegMap(@Self)^.clr := $40000000;
  27805. end;
  27806. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  27807. begin
  27808. if thebits = 0 then
  27809. pTDefRegMap(@Self)^.clr := $40000000
  27810. else
  27811. pTDefRegMap(@Self)^.&set := $40000000;
  27812. end;
  27813. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  27814. begin
  27815. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27816. end;
  27817. procedure TINT_IEC0.setFCEIE; inline;
  27818. begin
  27819. pTDefRegMap(@Self)^.&set := $80000000;
  27820. end;
  27821. procedure TINT_IEC0.clearFCEIE; inline;
  27822. begin
  27823. pTDefRegMap(@Self)^.clr := $80000000;
  27824. end;
  27825. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  27826. begin
  27827. if thebits = 0 then
  27828. pTDefRegMap(@Self)^.clr := $80000000
  27829. else
  27830. pTDefRegMap(@Self)^.&set := $80000000;
  27831. end;
  27832. function TINT_IEC0.getFCEIE : TBits_1; inline;
  27833. begin
  27834. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27835. end;
  27836. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  27837. begin
  27838. pTDefRegMap(@Self)^.val := thebits;
  27839. end;
  27840. function TINT_IEC0.getw : TBits_32; inline;
  27841. begin
  27842. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27843. end;
  27844. procedure TINT_IEC1.setCMP1IE; inline;
  27845. begin
  27846. pTDefRegMap(@Self)^.&set := $00000001;
  27847. end;
  27848. procedure TINT_IEC1.clearCMP1IE; inline;
  27849. begin
  27850. pTDefRegMap(@Self)^.clr := $00000001;
  27851. end;
  27852. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  27853. begin
  27854. if thebits = 0 then
  27855. pTDefRegMap(@Self)^.clr := $00000001
  27856. else
  27857. pTDefRegMap(@Self)^.&set := $00000001;
  27858. end;
  27859. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  27860. begin
  27861. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27862. end;
  27863. procedure TINT_IEC1.setCMP2IE; inline;
  27864. begin
  27865. pTDefRegMap(@Self)^.&set := $00000002;
  27866. end;
  27867. procedure TINT_IEC1.clearCMP2IE; inline;
  27868. begin
  27869. pTDefRegMap(@Self)^.clr := $00000002;
  27870. end;
  27871. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  27872. begin
  27873. if thebits = 0 then
  27874. pTDefRegMap(@Self)^.clr := $00000002
  27875. else
  27876. pTDefRegMap(@Self)^.&set := $00000002;
  27877. end;
  27878. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  27879. begin
  27880. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27881. end;
  27882. procedure TINT_IEC1.setCMP3IE; inline;
  27883. begin
  27884. pTDefRegMap(@Self)^.&set := $00000004;
  27885. end;
  27886. procedure TINT_IEC1.clearCMP3IE; inline;
  27887. begin
  27888. pTDefRegMap(@Self)^.clr := $00000004;
  27889. end;
  27890. procedure TINT_IEC1.setCMP3IE(thebits : TBits_1); inline;
  27891. begin
  27892. if thebits = 0 then
  27893. pTDefRegMap(@Self)^.clr := $00000004
  27894. else
  27895. pTDefRegMap(@Self)^.&set := $00000004;
  27896. end;
  27897. function TINT_IEC1.getCMP3IE : TBits_1; inline;
  27898. begin
  27899. getCMP3IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27900. end;
  27901. procedure TINT_IEC1.setUSBIE; inline;
  27902. begin
  27903. pTDefRegMap(@Self)^.&set := $00000008;
  27904. end;
  27905. procedure TINT_IEC1.clearUSBIE; inline;
  27906. begin
  27907. pTDefRegMap(@Self)^.clr := $00000008;
  27908. end;
  27909. procedure TINT_IEC1.setUSBIE(thebits : TBits_1); inline;
  27910. begin
  27911. if thebits = 0 then
  27912. pTDefRegMap(@Self)^.clr := $00000008
  27913. else
  27914. pTDefRegMap(@Self)^.&set := $00000008;
  27915. end;
  27916. function TINT_IEC1.getUSBIE : TBits_1; inline;
  27917. begin
  27918. getUSBIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27919. end;
  27920. procedure TINT_IEC1.setSPI1EIE; inline;
  27921. begin
  27922. pTDefRegMap(@Self)^.&set := $00000010;
  27923. end;
  27924. procedure TINT_IEC1.clearSPI1EIE; inline;
  27925. begin
  27926. pTDefRegMap(@Self)^.clr := $00000010;
  27927. end;
  27928. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  27929. begin
  27930. if thebits = 0 then
  27931. pTDefRegMap(@Self)^.clr := $00000010
  27932. else
  27933. pTDefRegMap(@Self)^.&set := $00000010;
  27934. end;
  27935. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  27936. begin
  27937. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27938. end;
  27939. procedure TINT_IEC1.setSPI1RXIE; inline;
  27940. begin
  27941. pTDefRegMap(@Self)^.&set := $00000020;
  27942. end;
  27943. procedure TINT_IEC1.clearSPI1RXIE; inline;
  27944. begin
  27945. pTDefRegMap(@Self)^.clr := $00000020;
  27946. end;
  27947. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  27948. begin
  27949. if thebits = 0 then
  27950. pTDefRegMap(@Self)^.clr := $00000020
  27951. else
  27952. pTDefRegMap(@Self)^.&set := $00000020;
  27953. end;
  27954. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  27955. begin
  27956. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27957. end;
  27958. procedure TINT_IEC1.setSPI1TXIE; inline;
  27959. begin
  27960. pTDefRegMap(@Self)^.&set := $00000040;
  27961. end;
  27962. procedure TINT_IEC1.clearSPI1TXIE; inline;
  27963. begin
  27964. pTDefRegMap(@Self)^.clr := $00000040;
  27965. end;
  27966. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  27967. begin
  27968. if thebits = 0 then
  27969. pTDefRegMap(@Self)^.clr := $00000040
  27970. else
  27971. pTDefRegMap(@Self)^.&set := $00000040;
  27972. end;
  27973. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  27974. begin
  27975. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27976. end;
  27977. procedure TINT_IEC1.setU1EIE; inline;
  27978. begin
  27979. pTDefRegMap(@Self)^.&set := $00000080;
  27980. end;
  27981. procedure TINT_IEC1.clearU1EIE; inline;
  27982. begin
  27983. pTDefRegMap(@Self)^.clr := $00000080;
  27984. end;
  27985. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  27986. begin
  27987. if thebits = 0 then
  27988. pTDefRegMap(@Self)^.clr := $00000080
  27989. else
  27990. pTDefRegMap(@Self)^.&set := $00000080;
  27991. end;
  27992. function TINT_IEC1.getU1EIE : TBits_1; inline;
  27993. begin
  27994. getU1EIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27995. end;
  27996. procedure TINT_IEC1.setU1RXIE; inline;
  27997. begin
  27998. pTDefRegMap(@Self)^.&set := $00000100;
  27999. end;
  28000. procedure TINT_IEC1.clearU1RXIE; inline;
  28001. begin
  28002. pTDefRegMap(@Self)^.clr := $00000100;
  28003. end;
  28004. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  28005. begin
  28006. if thebits = 0 then
  28007. pTDefRegMap(@Self)^.clr := $00000100
  28008. else
  28009. pTDefRegMap(@Self)^.&set := $00000100;
  28010. end;
  28011. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  28012. begin
  28013. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28014. end;
  28015. procedure TINT_IEC1.setU1TXIE; inline;
  28016. begin
  28017. pTDefRegMap(@Self)^.&set := $00000200;
  28018. end;
  28019. procedure TINT_IEC1.clearU1TXIE; inline;
  28020. begin
  28021. pTDefRegMap(@Self)^.clr := $00000200;
  28022. end;
  28023. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  28024. begin
  28025. if thebits = 0 then
  28026. pTDefRegMap(@Self)^.clr := $00000200
  28027. else
  28028. pTDefRegMap(@Self)^.&set := $00000200;
  28029. end;
  28030. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  28031. begin
  28032. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28033. end;
  28034. procedure TINT_IEC1.setI2C1BIE; inline;
  28035. begin
  28036. pTDefRegMap(@Self)^.&set := $00000400;
  28037. end;
  28038. procedure TINT_IEC1.clearI2C1BIE; inline;
  28039. begin
  28040. pTDefRegMap(@Self)^.clr := $00000400;
  28041. end;
  28042. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  28043. begin
  28044. if thebits = 0 then
  28045. pTDefRegMap(@Self)^.clr := $00000400
  28046. else
  28047. pTDefRegMap(@Self)^.&set := $00000400;
  28048. end;
  28049. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  28050. begin
  28051. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28052. end;
  28053. procedure TINT_IEC1.setI2C1SIE; inline;
  28054. begin
  28055. pTDefRegMap(@Self)^.&set := $00000800;
  28056. end;
  28057. procedure TINT_IEC1.clearI2C1SIE; inline;
  28058. begin
  28059. pTDefRegMap(@Self)^.clr := $00000800;
  28060. end;
  28061. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  28062. begin
  28063. if thebits = 0 then
  28064. pTDefRegMap(@Self)^.clr := $00000800
  28065. else
  28066. pTDefRegMap(@Self)^.&set := $00000800;
  28067. end;
  28068. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  28069. begin
  28070. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28071. end;
  28072. procedure TINT_IEC1.setI2C1MIE; inline;
  28073. begin
  28074. pTDefRegMap(@Self)^.&set := $00001000;
  28075. end;
  28076. procedure TINT_IEC1.clearI2C1MIE; inline;
  28077. begin
  28078. pTDefRegMap(@Self)^.clr := $00001000;
  28079. end;
  28080. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  28081. begin
  28082. if thebits = 0 then
  28083. pTDefRegMap(@Self)^.clr := $00001000
  28084. else
  28085. pTDefRegMap(@Self)^.&set := $00001000;
  28086. end;
  28087. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  28088. begin
  28089. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28090. end;
  28091. procedure TINT_IEC1.setCNAIE; inline;
  28092. begin
  28093. pTDefRegMap(@Self)^.&set := $00002000;
  28094. end;
  28095. procedure TINT_IEC1.clearCNAIE; inline;
  28096. begin
  28097. pTDefRegMap(@Self)^.clr := $00002000;
  28098. end;
  28099. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  28100. begin
  28101. if thebits = 0 then
  28102. pTDefRegMap(@Self)^.clr := $00002000
  28103. else
  28104. pTDefRegMap(@Self)^.&set := $00002000;
  28105. end;
  28106. function TINT_IEC1.getCNAIE : TBits_1; inline;
  28107. begin
  28108. getCNAIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28109. end;
  28110. procedure TINT_IEC1.setCNBIE; inline;
  28111. begin
  28112. pTDefRegMap(@Self)^.&set := $00004000;
  28113. end;
  28114. procedure TINT_IEC1.clearCNBIE; inline;
  28115. begin
  28116. pTDefRegMap(@Self)^.clr := $00004000;
  28117. end;
  28118. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  28119. begin
  28120. if thebits = 0 then
  28121. pTDefRegMap(@Self)^.clr := $00004000
  28122. else
  28123. pTDefRegMap(@Self)^.&set := $00004000;
  28124. end;
  28125. function TINT_IEC1.getCNBIE : TBits_1; inline;
  28126. begin
  28127. getCNBIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28128. end;
  28129. procedure TINT_IEC1.setCNCIE; inline;
  28130. begin
  28131. pTDefRegMap(@Self)^.&set := $00008000;
  28132. end;
  28133. procedure TINT_IEC1.clearCNCIE; inline;
  28134. begin
  28135. pTDefRegMap(@Self)^.clr := $00008000;
  28136. end;
  28137. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  28138. begin
  28139. if thebits = 0 then
  28140. pTDefRegMap(@Self)^.clr := $00008000
  28141. else
  28142. pTDefRegMap(@Self)^.&set := $00008000;
  28143. end;
  28144. function TINT_IEC1.getCNCIE : TBits_1; inline;
  28145. begin
  28146. getCNCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28147. end;
  28148. procedure TINT_IEC1.setPMPIE; inline;
  28149. begin
  28150. pTDefRegMap(@Self)^.&set := $00010000;
  28151. end;
  28152. procedure TINT_IEC1.clearPMPIE; inline;
  28153. begin
  28154. pTDefRegMap(@Self)^.clr := $00010000;
  28155. end;
  28156. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  28157. begin
  28158. if thebits = 0 then
  28159. pTDefRegMap(@Self)^.clr := $00010000
  28160. else
  28161. pTDefRegMap(@Self)^.&set := $00010000;
  28162. end;
  28163. function TINT_IEC1.getPMPIE : TBits_1; inline;
  28164. begin
  28165. getPMPIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28166. end;
  28167. procedure TINT_IEC1.setPMPEIE; inline;
  28168. begin
  28169. pTDefRegMap(@Self)^.&set := $00020000;
  28170. end;
  28171. procedure TINT_IEC1.clearPMPEIE; inline;
  28172. begin
  28173. pTDefRegMap(@Self)^.clr := $00020000;
  28174. end;
  28175. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  28176. begin
  28177. if thebits = 0 then
  28178. pTDefRegMap(@Self)^.clr := $00020000
  28179. else
  28180. pTDefRegMap(@Self)^.&set := $00020000;
  28181. end;
  28182. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  28183. begin
  28184. getPMPEIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28185. end;
  28186. procedure TINT_IEC1.setSPI2EIE; inline;
  28187. begin
  28188. pTDefRegMap(@Self)^.&set := $00040000;
  28189. end;
  28190. procedure TINT_IEC1.clearSPI2EIE; inline;
  28191. begin
  28192. pTDefRegMap(@Self)^.clr := $00040000;
  28193. end;
  28194. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  28195. begin
  28196. if thebits = 0 then
  28197. pTDefRegMap(@Self)^.clr := $00040000
  28198. else
  28199. pTDefRegMap(@Self)^.&set := $00040000;
  28200. end;
  28201. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  28202. begin
  28203. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28204. end;
  28205. procedure TINT_IEC1.setSPI2RXIE; inline;
  28206. begin
  28207. pTDefRegMap(@Self)^.&set := $00080000;
  28208. end;
  28209. procedure TINT_IEC1.clearSPI2RXIE; inline;
  28210. begin
  28211. pTDefRegMap(@Self)^.clr := $00080000;
  28212. end;
  28213. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  28214. begin
  28215. if thebits = 0 then
  28216. pTDefRegMap(@Self)^.clr := $00080000
  28217. else
  28218. pTDefRegMap(@Self)^.&set := $00080000;
  28219. end;
  28220. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  28221. begin
  28222. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28223. end;
  28224. procedure TINT_IEC1.setSPI2TXIE; inline;
  28225. begin
  28226. pTDefRegMap(@Self)^.&set := $00100000;
  28227. end;
  28228. procedure TINT_IEC1.clearSPI2TXIE; inline;
  28229. begin
  28230. pTDefRegMap(@Self)^.clr := $00100000;
  28231. end;
  28232. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  28233. begin
  28234. if thebits = 0 then
  28235. pTDefRegMap(@Self)^.clr := $00100000
  28236. else
  28237. pTDefRegMap(@Self)^.&set := $00100000;
  28238. end;
  28239. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  28240. begin
  28241. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28242. end;
  28243. procedure TINT_IEC1.setU2EIE; inline;
  28244. begin
  28245. pTDefRegMap(@Self)^.&set := $00200000;
  28246. end;
  28247. procedure TINT_IEC1.clearU2EIE; inline;
  28248. begin
  28249. pTDefRegMap(@Self)^.clr := $00200000;
  28250. end;
  28251. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  28252. begin
  28253. if thebits = 0 then
  28254. pTDefRegMap(@Self)^.clr := $00200000
  28255. else
  28256. pTDefRegMap(@Self)^.&set := $00200000;
  28257. end;
  28258. function TINT_IEC1.getU2EIE : TBits_1; inline;
  28259. begin
  28260. getU2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28261. end;
  28262. procedure TINT_IEC1.setU2RXIE; inline;
  28263. begin
  28264. pTDefRegMap(@Self)^.&set := $00400000;
  28265. end;
  28266. procedure TINT_IEC1.clearU2RXIE; inline;
  28267. begin
  28268. pTDefRegMap(@Self)^.clr := $00400000;
  28269. end;
  28270. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  28271. begin
  28272. if thebits = 0 then
  28273. pTDefRegMap(@Self)^.clr := $00400000
  28274. else
  28275. pTDefRegMap(@Self)^.&set := $00400000;
  28276. end;
  28277. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  28278. begin
  28279. getU2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28280. end;
  28281. procedure TINT_IEC1.setU2TXIE; inline;
  28282. begin
  28283. pTDefRegMap(@Self)^.&set := $00800000;
  28284. end;
  28285. procedure TINT_IEC1.clearU2TXIE; inline;
  28286. begin
  28287. pTDefRegMap(@Self)^.clr := $00800000;
  28288. end;
  28289. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  28290. begin
  28291. if thebits = 0 then
  28292. pTDefRegMap(@Self)^.clr := $00800000
  28293. else
  28294. pTDefRegMap(@Self)^.&set := $00800000;
  28295. end;
  28296. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  28297. begin
  28298. getU2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28299. end;
  28300. procedure TINT_IEC1.setI2C2BIE; inline;
  28301. begin
  28302. pTDefRegMap(@Self)^.&set := $01000000;
  28303. end;
  28304. procedure TINT_IEC1.clearI2C2BIE; inline;
  28305. begin
  28306. pTDefRegMap(@Self)^.clr := $01000000;
  28307. end;
  28308. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  28309. begin
  28310. if thebits = 0 then
  28311. pTDefRegMap(@Self)^.clr := $01000000
  28312. else
  28313. pTDefRegMap(@Self)^.&set := $01000000;
  28314. end;
  28315. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  28316. begin
  28317. getI2C2BIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28318. end;
  28319. procedure TINT_IEC1.setI2C2SIE; inline;
  28320. begin
  28321. pTDefRegMap(@Self)^.&set := $02000000;
  28322. end;
  28323. procedure TINT_IEC1.clearI2C2SIE; inline;
  28324. begin
  28325. pTDefRegMap(@Self)^.clr := $02000000;
  28326. end;
  28327. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  28328. begin
  28329. if thebits = 0 then
  28330. pTDefRegMap(@Self)^.clr := $02000000
  28331. else
  28332. pTDefRegMap(@Self)^.&set := $02000000;
  28333. end;
  28334. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  28335. begin
  28336. getI2C2SIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28337. end;
  28338. procedure TINT_IEC1.setI2C2MIE; inline;
  28339. begin
  28340. pTDefRegMap(@Self)^.&set := $04000000;
  28341. end;
  28342. procedure TINT_IEC1.clearI2C2MIE; inline;
  28343. begin
  28344. pTDefRegMap(@Self)^.clr := $04000000;
  28345. end;
  28346. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  28347. begin
  28348. if thebits = 0 then
  28349. pTDefRegMap(@Self)^.clr := $04000000
  28350. else
  28351. pTDefRegMap(@Self)^.&set := $04000000;
  28352. end;
  28353. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  28354. begin
  28355. getI2C2MIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28356. end;
  28357. procedure TINT_IEC1.setCTMUIE; inline;
  28358. begin
  28359. pTDefRegMap(@Self)^.&set := $08000000;
  28360. end;
  28361. procedure TINT_IEC1.clearCTMUIE; inline;
  28362. begin
  28363. pTDefRegMap(@Self)^.clr := $08000000;
  28364. end;
  28365. procedure TINT_IEC1.setCTMUIE(thebits : TBits_1); inline;
  28366. begin
  28367. if thebits = 0 then
  28368. pTDefRegMap(@Self)^.clr := $08000000
  28369. else
  28370. pTDefRegMap(@Self)^.&set := $08000000;
  28371. end;
  28372. function TINT_IEC1.getCTMUIE : TBits_1; inline;
  28373. begin
  28374. getCTMUIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28375. end;
  28376. procedure TINT_IEC1.setDMA0IE; inline;
  28377. begin
  28378. pTDefRegMap(@Self)^.&set := $10000000;
  28379. end;
  28380. procedure TINT_IEC1.clearDMA0IE; inline;
  28381. begin
  28382. pTDefRegMap(@Self)^.clr := $10000000;
  28383. end;
  28384. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  28385. begin
  28386. if thebits = 0 then
  28387. pTDefRegMap(@Self)^.clr := $10000000
  28388. else
  28389. pTDefRegMap(@Self)^.&set := $10000000;
  28390. end;
  28391. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  28392. begin
  28393. getDMA0IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28394. end;
  28395. procedure TINT_IEC1.setDMA1IE; inline;
  28396. begin
  28397. pTDefRegMap(@Self)^.&set := $20000000;
  28398. end;
  28399. procedure TINT_IEC1.clearDMA1IE; inline;
  28400. begin
  28401. pTDefRegMap(@Self)^.clr := $20000000;
  28402. end;
  28403. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  28404. begin
  28405. if thebits = 0 then
  28406. pTDefRegMap(@Self)^.clr := $20000000
  28407. else
  28408. pTDefRegMap(@Self)^.&set := $20000000;
  28409. end;
  28410. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  28411. begin
  28412. getDMA1IE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28413. end;
  28414. procedure TINT_IEC1.setDMA2IE; inline;
  28415. begin
  28416. pTDefRegMap(@Self)^.&set := $40000000;
  28417. end;
  28418. procedure TINT_IEC1.clearDMA2IE; inline;
  28419. begin
  28420. pTDefRegMap(@Self)^.clr := $40000000;
  28421. end;
  28422. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  28423. begin
  28424. if thebits = 0 then
  28425. pTDefRegMap(@Self)^.clr := $40000000
  28426. else
  28427. pTDefRegMap(@Self)^.&set := $40000000;
  28428. end;
  28429. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  28430. begin
  28431. getDMA2IE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28432. end;
  28433. procedure TINT_IEC1.setDMA3IE; inline;
  28434. begin
  28435. pTDefRegMap(@Self)^.&set := $80000000;
  28436. end;
  28437. procedure TINT_IEC1.clearDMA3IE; inline;
  28438. begin
  28439. pTDefRegMap(@Self)^.clr := $80000000;
  28440. end;
  28441. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  28442. begin
  28443. if thebits = 0 then
  28444. pTDefRegMap(@Self)^.clr := $80000000
  28445. else
  28446. pTDefRegMap(@Self)^.&set := $80000000;
  28447. end;
  28448. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  28449. begin
  28450. getDMA3IE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28451. end;
  28452. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  28453. begin
  28454. pTDefRegMap(@Self)^.val := thebits;
  28455. end;
  28456. function TINT_IEC1.getw : TBits_32; inline;
  28457. begin
  28458. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28459. end;
  28460. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  28461. begin
  28462. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28463. end;
  28464. function TINT_IPC0.getCTIS : TBits_2; inline;
  28465. begin
  28466. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28467. end;
  28468. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  28469. begin
  28470. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28471. end;
  28472. function TINT_IPC0.getCTIP : TBits_3; inline;
  28473. begin
  28474. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28475. end;
  28476. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  28477. begin
  28478. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28479. end;
  28480. function TINT_IPC0.getCS0IS : TBits_2; inline;
  28481. begin
  28482. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28483. end;
  28484. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  28485. begin
  28486. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28487. end;
  28488. function TINT_IPC0.getCS0IP : TBits_3; inline;
  28489. begin
  28490. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28491. end;
  28492. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  28493. begin
  28494. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28495. end;
  28496. function TINT_IPC0.getCS1IS : TBits_2; inline;
  28497. begin
  28498. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28499. end;
  28500. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  28501. begin
  28502. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28503. end;
  28504. function TINT_IPC0.getCS1IP : TBits_3; inline;
  28505. begin
  28506. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28507. end;
  28508. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  28509. begin
  28510. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28511. end;
  28512. function TINT_IPC0.getINT0IS : TBits_2; inline;
  28513. begin
  28514. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28515. end;
  28516. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  28517. begin
  28518. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28519. end;
  28520. function TINT_IPC0.getINT0IP : TBits_3; inline;
  28521. begin
  28522. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28523. end;
  28524. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  28525. begin
  28526. pTDefRegMap(@Self)^.val := thebits;
  28527. end;
  28528. function TINT_IPC0.getw : TBits_32; inline;
  28529. begin
  28530. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28531. end;
  28532. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  28533. begin
  28534. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28535. end;
  28536. function TINT_IPC1.getT1IS : TBits_2; inline;
  28537. begin
  28538. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28539. end;
  28540. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  28541. begin
  28542. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28543. end;
  28544. function TINT_IPC1.getT1IP : TBits_3; inline;
  28545. begin
  28546. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28547. end;
  28548. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  28549. begin
  28550. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28551. end;
  28552. function TINT_IPC1.getIC1IS : TBits_2; inline;
  28553. begin
  28554. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28555. end;
  28556. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  28557. begin
  28558. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28559. end;
  28560. function TINT_IPC1.getIC1IP : TBits_3; inline;
  28561. begin
  28562. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28563. end;
  28564. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  28565. begin
  28566. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28567. end;
  28568. function TINT_IPC1.getOC1IS : TBits_2; inline;
  28569. begin
  28570. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28571. end;
  28572. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  28573. begin
  28574. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28575. end;
  28576. function TINT_IPC1.getOC1IP : TBits_3; inline;
  28577. begin
  28578. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28579. end;
  28580. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  28581. begin
  28582. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28583. end;
  28584. function TINT_IPC1.getINT1IS : TBits_2; inline;
  28585. begin
  28586. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28587. end;
  28588. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  28589. begin
  28590. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28591. end;
  28592. function TINT_IPC1.getINT1IP : TBits_3; inline;
  28593. begin
  28594. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28595. end;
  28596. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  28597. begin
  28598. pTDefRegMap(@Self)^.val := thebits;
  28599. end;
  28600. function TINT_IPC1.getw : TBits_32; inline;
  28601. begin
  28602. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28603. end;
  28604. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  28605. begin
  28606. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28607. end;
  28608. function TINT_IPC2.getT2IS : TBits_2; inline;
  28609. begin
  28610. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28611. end;
  28612. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  28613. begin
  28614. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28615. end;
  28616. function TINT_IPC2.getT2IP : TBits_3; inline;
  28617. begin
  28618. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28619. end;
  28620. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  28621. begin
  28622. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28623. end;
  28624. function TINT_IPC2.getIC2IS : TBits_2; inline;
  28625. begin
  28626. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28627. end;
  28628. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  28629. begin
  28630. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28631. end;
  28632. function TINT_IPC2.getIC2IP : TBits_3; inline;
  28633. begin
  28634. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28635. end;
  28636. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  28637. begin
  28638. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28639. end;
  28640. function TINT_IPC2.getOC2IS : TBits_2; inline;
  28641. begin
  28642. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28643. end;
  28644. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  28645. begin
  28646. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28647. end;
  28648. function TINT_IPC2.getOC2IP : TBits_3; inline;
  28649. begin
  28650. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28651. end;
  28652. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  28653. begin
  28654. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28655. end;
  28656. function TINT_IPC2.getINT2IS : TBits_2; inline;
  28657. begin
  28658. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28659. end;
  28660. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  28661. begin
  28662. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28663. end;
  28664. function TINT_IPC2.getINT2IP : TBits_3; inline;
  28665. begin
  28666. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28667. end;
  28668. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  28669. begin
  28670. pTDefRegMap(@Self)^.val := thebits;
  28671. end;
  28672. function TINT_IPC2.getw : TBits_32; inline;
  28673. begin
  28674. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28675. end;
  28676. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  28677. begin
  28678. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28679. end;
  28680. function TINT_IPC3.getT3IS : TBits_2; inline;
  28681. begin
  28682. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28683. end;
  28684. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  28685. begin
  28686. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28687. end;
  28688. function TINT_IPC3.getT3IP : TBits_3; inline;
  28689. begin
  28690. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28691. end;
  28692. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  28693. begin
  28694. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28695. end;
  28696. function TINT_IPC3.getIC3IS : TBits_2; inline;
  28697. begin
  28698. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28699. end;
  28700. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  28701. begin
  28702. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28703. end;
  28704. function TINT_IPC3.getIC3IP : TBits_3; inline;
  28705. begin
  28706. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28707. end;
  28708. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  28709. begin
  28710. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28711. end;
  28712. function TINT_IPC3.getOC3IS : TBits_2; inline;
  28713. begin
  28714. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28715. end;
  28716. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  28717. begin
  28718. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28719. end;
  28720. function TINT_IPC3.getOC3IP : TBits_3; inline;
  28721. begin
  28722. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28723. end;
  28724. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  28725. begin
  28726. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28727. end;
  28728. function TINT_IPC3.getINT3IS : TBits_2; inline;
  28729. begin
  28730. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28731. end;
  28732. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  28733. begin
  28734. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28735. end;
  28736. function TINT_IPC3.getINT3IP : TBits_3; inline;
  28737. begin
  28738. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28739. end;
  28740. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  28741. begin
  28742. pTDefRegMap(@Self)^.val := thebits;
  28743. end;
  28744. function TINT_IPC3.getw : TBits_32; inline;
  28745. begin
  28746. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28747. end;
  28748. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  28749. begin
  28750. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28751. end;
  28752. function TINT_IPC4.getT4IS : TBits_2; inline;
  28753. begin
  28754. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28755. end;
  28756. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  28757. begin
  28758. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28759. end;
  28760. function TINT_IPC4.getT4IP : TBits_3; inline;
  28761. begin
  28762. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28763. end;
  28764. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  28765. begin
  28766. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28767. end;
  28768. function TINT_IPC4.getIC4IS : TBits_2; inline;
  28769. begin
  28770. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28771. end;
  28772. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  28773. begin
  28774. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28775. end;
  28776. function TINT_IPC4.getIC4IP : TBits_3; inline;
  28777. begin
  28778. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28779. end;
  28780. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  28781. begin
  28782. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28783. end;
  28784. function TINT_IPC4.getOC4IS : TBits_2; inline;
  28785. begin
  28786. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28787. end;
  28788. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  28789. begin
  28790. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28791. end;
  28792. function TINT_IPC4.getOC4IP : TBits_3; inline;
  28793. begin
  28794. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28795. end;
  28796. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  28797. begin
  28798. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28799. end;
  28800. function TINT_IPC4.getINT4IS : TBits_2; inline;
  28801. begin
  28802. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28803. end;
  28804. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  28805. begin
  28806. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28807. end;
  28808. function TINT_IPC4.getINT4IP : TBits_3; inline;
  28809. begin
  28810. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28811. end;
  28812. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  28813. begin
  28814. pTDefRegMap(@Self)^.val := thebits;
  28815. end;
  28816. function TINT_IPC4.getw : TBits_32; inline;
  28817. begin
  28818. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28819. end;
  28820. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  28821. begin
  28822. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28823. end;
  28824. function TINT_IPC5.getT5IS : TBits_2; inline;
  28825. begin
  28826. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28827. end;
  28828. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  28829. begin
  28830. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28831. end;
  28832. function TINT_IPC5.getT5IP : TBits_3; inline;
  28833. begin
  28834. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28835. end;
  28836. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  28837. begin
  28838. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28839. end;
  28840. function TINT_IPC5.getIC5IS : TBits_2; inline;
  28841. begin
  28842. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28843. end;
  28844. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  28845. begin
  28846. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28847. end;
  28848. function TINT_IPC5.getIC5IP : TBits_3; inline;
  28849. begin
  28850. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28851. end;
  28852. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  28853. begin
  28854. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28855. end;
  28856. function TINT_IPC5.getOC5IS : TBits_2; inline;
  28857. begin
  28858. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28859. end;
  28860. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  28861. begin
  28862. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28863. end;
  28864. function TINT_IPC5.getOC5IP : TBits_3; inline;
  28865. begin
  28866. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28867. end;
  28868. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  28869. begin
  28870. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28871. end;
  28872. function TINT_IPC5.getAD1IS : TBits_2; inline;
  28873. begin
  28874. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28875. end;
  28876. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  28877. begin
  28878. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28879. end;
  28880. function TINT_IPC5.getAD1IP : TBits_3; inline;
  28881. begin
  28882. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28883. end;
  28884. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  28885. begin
  28886. pTDefRegMap(@Self)^.val := thebits;
  28887. end;
  28888. function TINT_IPC5.getw : TBits_32; inline;
  28889. begin
  28890. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28891. end;
  28892. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  28893. begin
  28894. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28895. end;
  28896. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  28897. begin
  28898. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28899. end;
  28900. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  28901. begin
  28902. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28903. end;
  28904. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  28905. begin
  28906. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28907. end;
  28908. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  28909. begin
  28910. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28911. end;
  28912. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  28913. begin
  28914. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28915. end;
  28916. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  28917. begin
  28918. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28919. end;
  28920. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  28921. begin
  28922. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28923. end;
  28924. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  28925. begin
  28926. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28927. end;
  28928. function TINT_IPC6.getFCEIS : TBits_2; inline;
  28929. begin
  28930. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28931. end;
  28932. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  28933. begin
  28934. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28935. end;
  28936. function TINT_IPC6.getFCEIP : TBits_3; inline;
  28937. begin
  28938. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28939. end;
  28940. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  28941. begin
  28942. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28943. end;
  28944. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  28945. begin
  28946. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28947. end;
  28948. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  28949. begin
  28950. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28951. end;
  28952. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  28953. begin
  28954. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28955. end;
  28956. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  28957. begin
  28958. pTDefRegMap(@Self)^.val := thebits;
  28959. end;
  28960. function TINT_IPC6.getw : TBits_32; inline;
  28961. begin
  28962. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28963. end;
  28964. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  28965. begin
  28966. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28967. end;
  28968. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  28969. begin
  28970. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28971. end;
  28972. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  28973. begin
  28974. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28975. end;
  28976. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  28977. begin
  28978. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28979. end;
  28980. procedure TINT_IPC7.setCMP3IS(thebits : TBits_2); inline;
  28981. begin
  28982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28983. end;
  28984. function TINT_IPC7.getCMP3IS : TBits_2; inline;
  28985. begin
  28986. getCMP3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28987. end;
  28988. procedure TINT_IPC7.setCMP3IP(thebits : TBits_3); inline;
  28989. begin
  28990. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28991. end;
  28992. function TINT_IPC7.getCMP3IP : TBits_3; inline;
  28993. begin
  28994. getCMP3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28995. end;
  28996. procedure TINT_IPC7.setUSBIS(thebits : TBits_2); inline;
  28997. begin
  28998. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28999. end;
  29000. function TINT_IPC7.getUSBIS : TBits_2; inline;
  29001. begin
  29002. getUSBIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29003. end;
  29004. procedure TINT_IPC7.setUSBIP(thebits : TBits_3); inline;
  29005. begin
  29006. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29007. end;
  29008. function TINT_IPC7.getUSBIP : TBits_3; inline;
  29009. begin
  29010. getUSBIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29011. end;
  29012. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  29013. begin
  29014. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29015. end;
  29016. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  29017. begin
  29018. getSPI1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29019. end;
  29020. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  29021. begin
  29022. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29023. end;
  29024. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  29025. begin
  29026. getSPI1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29027. end;
  29028. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  29029. begin
  29030. pTDefRegMap(@Self)^.val := thebits;
  29031. end;
  29032. function TINT_IPC7.getw : TBits_32; inline;
  29033. begin
  29034. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29035. end;
  29036. procedure TINT_IPC8.setU1IS(thebits : TBits_2); inline;
  29037. begin
  29038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29039. end;
  29040. function TINT_IPC8.getU1IS : TBits_2; inline;
  29041. begin
  29042. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29043. end;
  29044. procedure TINT_IPC8.setU1IP(thebits : TBits_3); inline;
  29045. begin
  29046. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29047. end;
  29048. function TINT_IPC8.getU1IP : TBits_3; inline;
  29049. begin
  29050. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29051. end;
  29052. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  29053. begin
  29054. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29055. end;
  29056. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  29057. begin
  29058. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29059. end;
  29060. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  29061. begin
  29062. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29063. end;
  29064. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  29065. begin
  29066. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29067. end;
  29068. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  29069. begin
  29070. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29071. end;
  29072. function TINT_IPC8.getCNIS : TBits_2; inline;
  29073. begin
  29074. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29075. end;
  29076. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  29077. begin
  29078. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29079. end;
  29080. function TINT_IPC8.getCNIP : TBits_3; inline;
  29081. begin
  29082. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29083. end;
  29084. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  29085. begin
  29086. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29087. end;
  29088. function TINT_IPC8.getPMPIS : TBits_2; inline;
  29089. begin
  29090. getPMPIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29091. end;
  29092. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  29093. begin
  29094. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29095. end;
  29096. function TINT_IPC8.getPMPIP : TBits_3; inline;
  29097. begin
  29098. getPMPIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29099. end;
  29100. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  29101. begin
  29102. pTDefRegMap(@Self)^.val := thebits;
  29103. end;
  29104. function TINT_IPC8.getw : TBits_32; inline;
  29105. begin
  29106. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29107. end;
  29108. procedure TINT_IPC9.setSPI2IS(thebits : TBits_2); inline;
  29109. begin
  29110. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29111. end;
  29112. function TINT_IPC9.getSPI2IS : TBits_2; inline;
  29113. begin
  29114. getSPI2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29115. end;
  29116. procedure TINT_IPC9.setSPI2IP(thebits : TBits_3); inline;
  29117. begin
  29118. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29119. end;
  29120. function TINT_IPC9.getSPI2IP : TBits_3; inline;
  29121. begin
  29122. getSPI2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29123. end;
  29124. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  29125. begin
  29126. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29127. end;
  29128. function TINT_IPC9.getU2IS : TBits_2; inline;
  29129. begin
  29130. getU2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29131. end;
  29132. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  29133. begin
  29134. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29135. end;
  29136. function TINT_IPC9.getU2IP : TBits_3; inline;
  29137. begin
  29138. getU2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29139. end;
  29140. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  29141. begin
  29142. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29143. end;
  29144. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  29145. begin
  29146. getI2C2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29147. end;
  29148. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  29149. begin
  29150. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29151. end;
  29152. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  29153. begin
  29154. getI2C2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29155. end;
  29156. procedure TINT_IPC9.setCTMUIS(thebits : TBits_2); inline;
  29157. begin
  29158. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29159. end;
  29160. function TINT_IPC9.getCTMUIS : TBits_2; inline;
  29161. begin
  29162. getCTMUIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29163. end;
  29164. procedure TINT_IPC9.setCTMUIP(thebits : TBits_3); inline;
  29165. begin
  29166. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29167. end;
  29168. function TINT_IPC9.getCTMUIP : TBits_3; inline;
  29169. begin
  29170. getCTMUIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29171. end;
  29172. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  29173. begin
  29174. pTDefRegMap(@Self)^.val := thebits;
  29175. end;
  29176. function TINT_IPC9.getw : TBits_32; inline;
  29177. begin
  29178. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29179. end;
  29180. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  29181. begin
  29182. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29183. end;
  29184. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  29185. begin
  29186. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29187. end;
  29188. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  29189. begin
  29190. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29191. end;
  29192. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  29193. begin
  29194. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29195. end;
  29196. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  29197. begin
  29198. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29199. end;
  29200. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  29201. begin
  29202. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29203. end;
  29204. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  29205. begin
  29206. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29207. end;
  29208. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  29209. begin
  29210. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29211. end;
  29212. procedure TINT_IPC10.setDMA2IS(thebits : TBits_2); inline;
  29213. begin
  29214. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29215. end;
  29216. function TINT_IPC10.getDMA2IS : TBits_2; inline;
  29217. begin
  29218. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29219. end;
  29220. procedure TINT_IPC10.setDMA2IP(thebits : TBits_3); inline;
  29221. begin
  29222. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29223. end;
  29224. function TINT_IPC10.getDMA2IP : TBits_3; inline;
  29225. begin
  29226. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29227. end;
  29228. procedure TINT_IPC10.setDMA3IS(thebits : TBits_2); inline;
  29229. begin
  29230. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29231. end;
  29232. function TINT_IPC10.getDMA3IS : TBits_2; inline;
  29233. begin
  29234. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29235. end;
  29236. procedure TINT_IPC10.setDMA3IP(thebits : TBits_3); inline;
  29237. begin
  29238. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29239. end;
  29240. function TINT_IPC10.getDMA3IP : TBits_3; inline;
  29241. begin
  29242. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29243. end;
  29244. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  29245. begin
  29246. pTDefRegMap(@Self)^.val := thebits;
  29247. end;
  29248. function TINT_IPC10.getw : TBits_32; inline;
  29249. begin
  29250. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29251. end;
  29252. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  29253. begin
  29254. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29255. end;
  29256. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  29257. begin
  29258. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29259. end;
  29260. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  29261. begin
  29262. pTDefRegMap(@Self)^.&set := $00000040;
  29263. end;
  29264. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  29265. begin
  29266. pTDefRegMap(@Self)^.clr := $00000040;
  29267. end;
  29268. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  29269. begin
  29270. if thebits = 0 then
  29271. pTDefRegMap(@Self)^.clr := $00000040
  29272. else
  29273. pTDefRegMap(@Self)^.&set := $00000040;
  29274. end;
  29275. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  29276. begin
  29277. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29278. end;
  29279. procedure TBMX_BMXCON.setBMXERRIS; inline;
  29280. begin
  29281. pTDefRegMap(@Self)^.&set := $00010000;
  29282. end;
  29283. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  29284. begin
  29285. pTDefRegMap(@Self)^.clr := $00010000;
  29286. end;
  29287. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  29288. begin
  29289. if thebits = 0 then
  29290. pTDefRegMap(@Self)^.clr := $00010000
  29291. else
  29292. pTDefRegMap(@Self)^.&set := $00010000;
  29293. end;
  29294. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  29295. begin
  29296. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29297. end;
  29298. procedure TBMX_BMXCON.setBMXERRDS; inline;
  29299. begin
  29300. pTDefRegMap(@Self)^.&set := $00020000;
  29301. end;
  29302. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  29303. begin
  29304. pTDefRegMap(@Self)^.clr := $00020000;
  29305. end;
  29306. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  29307. begin
  29308. if thebits = 0 then
  29309. pTDefRegMap(@Self)^.clr := $00020000
  29310. else
  29311. pTDefRegMap(@Self)^.&set := $00020000;
  29312. end;
  29313. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  29314. begin
  29315. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  29316. end;
  29317. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  29318. begin
  29319. pTDefRegMap(@Self)^.&set := $00040000;
  29320. end;
  29321. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  29322. begin
  29323. pTDefRegMap(@Self)^.clr := $00040000;
  29324. end;
  29325. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  29326. begin
  29327. if thebits = 0 then
  29328. pTDefRegMap(@Self)^.clr := $00040000
  29329. else
  29330. pTDefRegMap(@Self)^.&set := $00040000;
  29331. end;
  29332. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  29333. begin
  29334. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  29335. end;
  29336. procedure TBMX_BMXCON.setBMXERRICD; inline;
  29337. begin
  29338. pTDefRegMap(@Self)^.&set := $00080000;
  29339. end;
  29340. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  29341. begin
  29342. pTDefRegMap(@Self)^.clr := $00080000;
  29343. end;
  29344. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  29345. begin
  29346. if thebits = 0 then
  29347. pTDefRegMap(@Self)^.clr := $00080000
  29348. else
  29349. pTDefRegMap(@Self)^.&set := $00080000;
  29350. end;
  29351. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  29352. begin
  29353. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  29354. end;
  29355. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  29356. begin
  29357. pTDefRegMap(@Self)^.&set := $00100000;
  29358. end;
  29359. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  29360. begin
  29361. pTDefRegMap(@Self)^.clr := $00100000;
  29362. end;
  29363. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  29364. begin
  29365. if thebits = 0 then
  29366. pTDefRegMap(@Self)^.clr := $00100000
  29367. else
  29368. pTDefRegMap(@Self)^.&set := $00100000;
  29369. end;
  29370. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  29371. begin
  29372. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  29373. end;
  29374. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  29375. begin
  29376. pTDefRegMap(@Self)^.&set := $04000000;
  29377. end;
  29378. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  29379. begin
  29380. pTDefRegMap(@Self)^.clr := $04000000;
  29381. end;
  29382. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  29383. begin
  29384. if thebits = 0 then
  29385. pTDefRegMap(@Self)^.clr := $04000000
  29386. else
  29387. pTDefRegMap(@Self)^.&set := $04000000;
  29388. end;
  29389. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  29390. begin
  29391. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  29392. end;
  29393. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  29394. begin
  29395. pTDefRegMap(@Self)^.val := thebits;
  29396. end;
  29397. function TBMX_BMXCON.getw : TBits_32; inline;
  29398. begin
  29399. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29400. end;
  29401. procedure TDMAC_DMACON.setDMABUSY; inline;
  29402. begin
  29403. pTDefRegMap(@Self)^.&set := $00000800;
  29404. end;
  29405. procedure TDMAC_DMACON.clearDMABUSY; inline;
  29406. begin
  29407. pTDefRegMap(@Self)^.clr := $00000800;
  29408. end;
  29409. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  29410. begin
  29411. if thebits = 0 then
  29412. pTDefRegMap(@Self)^.clr := $00000800
  29413. else
  29414. pTDefRegMap(@Self)^.&set := $00000800;
  29415. end;
  29416. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  29417. begin
  29418. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29419. end;
  29420. procedure TDMAC_DMACON.setSUSPEND; inline;
  29421. begin
  29422. pTDefRegMap(@Self)^.&set := $00001000;
  29423. end;
  29424. procedure TDMAC_DMACON.clearSUSPEND; inline;
  29425. begin
  29426. pTDefRegMap(@Self)^.clr := $00001000;
  29427. end;
  29428. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  29429. begin
  29430. if thebits = 0 then
  29431. pTDefRegMap(@Self)^.clr := $00001000
  29432. else
  29433. pTDefRegMap(@Self)^.&set := $00001000;
  29434. end;
  29435. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  29436. begin
  29437. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29438. end;
  29439. procedure TDMAC_DMACON.setON; inline;
  29440. begin
  29441. pTDefRegMap(@Self)^.&set := $00008000;
  29442. end;
  29443. procedure TDMAC_DMACON.clearON; inline;
  29444. begin
  29445. pTDefRegMap(@Self)^.clr := $00008000;
  29446. end;
  29447. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  29448. begin
  29449. if thebits = 0 then
  29450. pTDefRegMap(@Self)^.clr := $00008000
  29451. else
  29452. pTDefRegMap(@Self)^.&set := $00008000;
  29453. end;
  29454. function TDMAC_DMACON.getON : TBits_1; inline;
  29455. begin
  29456. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29457. end;
  29458. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  29459. begin
  29460. pTDefRegMap(@Self)^.val := thebits;
  29461. end;
  29462. function TDMAC_DMACON.getw : TBits_32; inline;
  29463. begin
  29464. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29465. end;
  29466. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  29467. begin
  29468. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29469. end;
  29470. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  29471. begin
  29472. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29473. end;
  29474. procedure TDMAC_DMASTAT.setRDWR; inline;
  29475. begin
  29476. pTDefRegMap(@Self)^.&set := $00000008;
  29477. end;
  29478. procedure TDMAC_DMASTAT.clearRDWR; inline;
  29479. begin
  29480. pTDefRegMap(@Self)^.clr := $00000008;
  29481. end;
  29482. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  29483. begin
  29484. if thebits = 0 then
  29485. pTDefRegMap(@Self)^.clr := $00000008
  29486. else
  29487. pTDefRegMap(@Self)^.&set := $00000008;
  29488. end;
  29489. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  29490. begin
  29491. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29492. end;
  29493. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  29494. begin
  29495. pTDefRegMap(@Self)^.val := thebits;
  29496. end;
  29497. function TDMAC_DMASTAT.getw : TBits_32; inline;
  29498. begin
  29499. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29500. end;
  29501. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  29502. begin
  29503. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29504. end;
  29505. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  29506. begin
  29507. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29508. end;
  29509. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  29510. begin
  29511. pTDefRegMap(@Self)^.&set := $00000020;
  29512. end;
  29513. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  29514. begin
  29515. pTDefRegMap(@Self)^.clr := $00000020;
  29516. end;
  29517. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  29518. begin
  29519. if thebits = 0 then
  29520. pTDefRegMap(@Self)^.clr := $00000020
  29521. else
  29522. pTDefRegMap(@Self)^.&set := $00000020;
  29523. end;
  29524. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  29525. begin
  29526. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29527. end;
  29528. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  29529. begin
  29530. pTDefRegMap(@Self)^.&set := $00000040;
  29531. end;
  29532. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  29533. begin
  29534. pTDefRegMap(@Self)^.clr := $00000040;
  29535. end;
  29536. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  29537. begin
  29538. if thebits = 0 then
  29539. pTDefRegMap(@Self)^.clr := $00000040
  29540. else
  29541. pTDefRegMap(@Self)^.&set := $00000040;
  29542. end;
  29543. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  29544. begin
  29545. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29546. end;
  29547. procedure TDMAC_DCRCCON.setCRCEN; inline;
  29548. begin
  29549. pTDefRegMap(@Self)^.&set := $00000080;
  29550. end;
  29551. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  29552. begin
  29553. pTDefRegMap(@Self)^.clr := $00000080;
  29554. end;
  29555. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  29556. begin
  29557. if thebits = 0 then
  29558. pTDefRegMap(@Self)^.clr := $00000080
  29559. else
  29560. pTDefRegMap(@Self)^.&set := $00000080;
  29561. end;
  29562. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  29563. begin
  29564. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29565. end;
  29566. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  29567. begin
  29568. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  29569. end;
  29570. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  29571. begin
  29572. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  29573. end;
  29574. procedure TDMAC_DCRCCON.setBITO; inline;
  29575. begin
  29576. pTDefRegMap(@Self)^.&set := $01000000;
  29577. end;
  29578. procedure TDMAC_DCRCCON.clearBITO; inline;
  29579. begin
  29580. pTDefRegMap(@Self)^.clr := $01000000;
  29581. end;
  29582. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  29583. begin
  29584. if thebits = 0 then
  29585. pTDefRegMap(@Self)^.clr := $01000000
  29586. else
  29587. pTDefRegMap(@Self)^.&set := $01000000;
  29588. end;
  29589. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  29590. begin
  29591. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29592. end;
  29593. procedure TDMAC_DCRCCON.setWBO; inline;
  29594. begin
  29595. pTDefRegMap(@Self)^.&set := $08000000;
  29596. end;
  29597. procedure TDMAC_DCRCCON.clearWBO; inline;
  29598. begin
  29599. pTDefRegMap(@Self)^.clr := $08000000;
  29600. end;
  29601. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  29602. begin
  29603. if thebits = 0 then
  29604. pTDefRegMap(@Self)^.clr := $08000000
  29605. else
  29606. pTDefRegMap(@Self)^.&set := $08000000;
  29607. end;
  29608. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  29609. begin
  29610. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  29611. end;
  29612. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  29613. begin
  29614. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  29615. end;
  29616. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  29617. begin
  29618. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  29619. end;
  29620. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  29621. begin
  29622. pTDefRegMap(@Self)^.val := thebits;
  29623. end;
  29624. function TDMAC_DCRCCON.getw : TBits_32; inline;
  29625. begin
  29626. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29627. end;
  29628. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  29629. begin
  29630. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29631. end;
  29632. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  29633. begin
  29634. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29635. end;
  29636. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  29637. begin
  29638. pTDefRegMap(@Self)^.&set := $00000004;
  29639. end;
  29640. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  29641. begin
  29642. pTDefRegMap(@Self)^.clr := $00000004;
  29643. end;
  29644. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  29645. begin
  29646. if thebits = 0 then
  29647. pTDefRegMap(@Self)^.clr := $00000004
  29648. else
  29649. pTDefRegMap(@Self)^.&set := $00000004;
  29650. end;
  29651. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  29652. begin
  29653. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29654. end;
  29655. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  29656. begin
  29657. pTDefRegMap(@Self)^.&set := $00000010;
  29658. end;
  29659. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  29660. begin
  29661. pTDefRegMap(@Self)^.clr := $00000010;
  29662. end;
  29663. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  29664. begin
  29665. if thebits = 0 then
  29666. pTDefRegMap(@Self)^.clr := $00000010
  29667. else
  29668. pTDefRegMap(@Self)^.&set := $00000010;
  29669. end;
  29670. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  29671. begin
  29672. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29673. end;
  29674. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  29675. begin
  29676. pTDefRegMap(@Self)^.&set := $00000020;
  29677. end;
  29678. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  29679. begin
  29680. pTDefRegMap(@Self)^.clr := $00000020;
  29681. end;
  29682. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  29683. begin
  29684. if thebits = 0 then
  29685. pTDefRegMap(@Self)^.clr := $00000020
  29686. else
  29687. pTDefRegMap(@Self)^.&set := $00000020;
  29688. end;
  29689. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  29690. begin
  29691. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29692. end;
  29693. procedure TDMAC0_DCH0CON.setCHAED; inline;
  29694. begin
  29695. pTDefRegMap(@Self)^.&set := $00000040;
  29696. end;
  29697. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  29698. begin
  29699. pTDefRegMap(@Self)^.clr := $00000040;
  29700. end;
  29701. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  29702. begin
  29703. if thebits = 0 then
  29704. pTDefRegMap(@Self)^.clr := $00000040
  29705. else
  29706. pTDefRegMap(@Self)^.&set := $00000040;
  29707. end;
  29708. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  29709. begin
  29710. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29711. end;
  29712. procedure TDMAC0_DCH0CON.setCHEN; inline;
  29713. begin
  29714. pTDefRegMap(@Self)^.&set := $00000080;
  29715. end;
  29716. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  29717. begin
  29718. pTDefRegMap(@Self)^.clr := $00000080;
  29719. end;
  29720. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  29721. begin
  29722. if thebits = 0 then
  29723. pTDefRegMap(@Self)^.clr := $00000080
  29724. else
  29725. pTDefRegMap(@Self)^.&set := $00000080;
  29726. end;
  29727. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  29728. begin
  29729. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29730. end;
  29731. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  29732. begin
  29733. pTDefRegMap(@Self)^.&set := $00000100;
  29734. end;
  29735. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  29736. begin
  29737. pTDefRegMap(@Self)^.clr := $00000100;
  29738. end;
  29739. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  29740. begin
  29741. if thebits = 0 then
  29742. pTDefRegMap(@Self)^.clr := $00000100
  29743. else
  29744. pTDefRegMap(@Self)^.&set := $00000100;
  29745. end;
  29746. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  29747. begin
  29748. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29749. end;
  29750. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  29751. begin
  29752. pTDefRegMap(@Self)^.&set := $00008000;
  29753. end;
  29754. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  29755. begin
  29756. pTDefRegMap(@Self)^.clr := $00008000;
  29757. end;
  29758. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  29759. begin
  29760. if thebits = 0 then
  29761. pTDefRegMap(@Self)^.clr := $00008000
  29762. else
  29763. pTDefRegMap(@Self)^.&set := $00008000;
  29764. end;
  29765. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  29766. begin
  29767. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29768. end;
  29769. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  29770. begin
  29771. pTDefRegMap(@Self)^.val := thebits;
  29772. end;
  29773. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  29774. begin
  29775. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29776. end;
  29777. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  29778. begin
  29779. pTDefRegMap(@Self)^.&set := $00000008;
  29780. end;
  29781. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  29782. begin
  29783. pTDefRegMap(@Self)^.clr := $00000008;
  29784. end;
  29785. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  29786. begin
  29787. if thebits = 0 then
  29788. pTDefRegMap(@Self)^.clr := $00000008
  29789. else
  29790. pTDefRegMap(@Self)^.&set := $00000008;
  29791. end;
  29792. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  29793. begin
  29794. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29795. end;
  29796. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  29797. begin
  29798. pTDefRegMap(@Self)^.&set := $00000010;
  29799. end;
  29800. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  29801. begin
  29802. pTDefRegMap(@Self)^.clr := $00000010;
  29803. end;
  29804. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  29805. begin
  29806. if thebits = 0 then
  29807. pTDefRegMap(@Self)^.clr := $00000010
  29808. else
  29809. pTDefRegMap(@Self)^.&set := $00000010;
  29810. end;
  29811. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  29812. begin
  29813. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29814. end;
  29815. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  29816. begin
  29817. pTDefRegMap(@Self)^.&set := $00000020;
  29818. end;
  29819. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  29820. begin
  29821. pTDefRegMap(@Self)^.clr := $00000020;
  29822. end;
  29823. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  29824. begin
  29825. if thebits = 0 then
  29826. pTDefRegMap(@Self)^.clr := $00000020
  29827. else
  29828. pTDefRegMap(@Self)^.&set := $00000020;
  29829. end;
  29830. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  29831. begin
  29832. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29833. end;
  29834. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  29835. begin
  29836. pTDefRegMap(@Self)^.&set := $00000040;
  29837. end;
  29838. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  29839. begin
  29840. pTDefRegMap(@Self)^.clr := $00000040;
  29841. end;
  29842. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  29843. begin
  29844. if thebits = 0 then
  29845. pTDefRegMap(@Self)^.clr := $00000040
  29846. else
  29847. pTDefRegMap(@Self)^.&set := $00000040;
  29848. end;
  29849. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  29850. begin
  29851. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29852. end;
  29853. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  29854. begin
  29855. pTDefRegMap(@Self)^.&set := $00000080;
  29856. end;
  29857. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  29858. begin
  29859. pTDefRegMap(@Self)^.clr := $00000080;
  29860. end;
  29861. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  29862. begin
  29863. if thebits = 0 then
  29864. pTDefRegMap(@Self)^.clr := $00000080
  29865. else
  29866. pTDefRegMap(@Self)^.&set := $00000080;
  29867. end;
  29868. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  29869. begin
  29870. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29871. end;
  29872. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  29873. begin
  29874. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  29875. end;
  29876. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  29877. begin
  29878. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  29879. end;
  29880. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  29881. begin
  29882. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  29883. end;
  29884. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  29885. begin
  29886. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  29887. end;
  29888. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  29889. begin
  29890. pTDefRegMap(@Self)^.val := thebits;
  29891. end;
  29892. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  29893. begin
  29894. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29895. end;
  29896. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  29897. begin
  29898. pTDefRegMap(@Self)^.&set := $00000001;
  29899. end;
  29900. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  29901. begin
  29902. pTDefRegMap(@Self)^.clr := $00000001;
  29903. end;
  29904. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  29905. begin
  29906. if thebits = 0 then
  29907. pTDefRegMap(@Self)^.clr := $00000001
  29908. else
  29909. pTDefRegMap(@Self)^.&set := $00000001;
  29910. end;
  29911. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  29912. begin
  29913. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29914. end;
  29915. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  29916. begin
  29917. pTDefRegMap(@Self)^.&set := $00000002;
  29918. end;
  29919. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  29920. begin
  29921. pTDefRegMap(@Self)^.clr := $00000002;
  29922. end;
  29923. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  29924. begin
  29925. if thebits = 0 then
  29926. pTDefRegMap(@Self)^.clr := $00000002
  29927. else
  29928. pTDefRegMap(@Self)^.&set := $00000002;
  29929. end;
  29930. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  29931. begin
  29932. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29933. end;
  29934. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  29935. begin
  29936. pTDefRegMap(@Self)^.&set := $00000004;
  29937. end;
  29938. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  29939. begin
  29940. pTDefRegMap(@Self)^.clr := $00000004;
  29941. end;
  29942. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  29943. begin
  29944. if thebits = 0 then
  29945. pTDefRegMap(@Self)^.clr := $00000004
  29946. else
  29947. pTDefRegMap(@Self)^.&set := $00000004;
  29948. end;
  29949. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  29950. begin
  29951. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29952. end;
  29953. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  29954. begin
  29955. pTDefRegMap(@Self)^.&set := $00000008;
  29956. end;
  29957. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  29958. begin
  29959. pTDefRegMap(@Self)^.clr := $00000008;
  29960. end;
  29961. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  29962. begin
  29963. if thebits = 0 then
  29964. pTDefRegMap(@Self)^.clr := $00000008
  29965. else
  29966. pTDefRegMap(@Self)^.&set := $00000008;
  29967. end;
  29968. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  29969. begin
  29970. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29971. end;
  29972. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  29973. begin
  29974. pTDefRegMap(@Self)^.&set := $00000010;
  29975. end;
  29976. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  29977. begin
  29978. pTDefRegMap(@Self)^.clr := $00000010;
  29979. end;
  29980. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  29981. begin
  29982. if thebits = 0 then
  29983. pTDefRegMap(@Self)^.clr := $00000010
  29984. else
  29985. pTDefRegMap(@Self)^.&set := $00000010;
  29986. end;
  29987. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  29988. begin
  29989. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29990. end;
  29991. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  29992. begin
  29993. pTDefRegMap(@Self)^.&set := $00000020;
  29994. end;
  29995. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  29996. begin
  29997. pTDefRegMap(@Self)^.clr := $00000020;
  29998. end;
  29999. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  30000. begin
  30001. if thebits = 0 then
  30002. pTDefRegMap(@Self)^.clr := $00000020
  30003. else
  30004. pTDefRegMap(@Self)^.&set := $00000020;
  30005. end;
  30006. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  30007. begin
  30008. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30009. end;
  30010. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  30011. begin
  30012. pTDefRegMap(@Self)^.&set := $00000040;
  30013. end;
  30014. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  30015. begin
  30016. pTDefRegMap(@Self)^.clr := $00000040;
  30017. end;
  30018. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  30019. begin
  30020. if thebits = 0 then
  30021. pTDefRegMap(@Self)^.clr := $00000040
  30022. else
  30023. pTDefRegMap(@Self)^.&set := $00000040;
  30024. end;
  30025. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  30026. begin
  30027. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30028. end;
  30029. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  30030. begin
  30031. pTDefRegMap(@Self)^.&set := $00000080;
  30032. end;
  30033. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  30034. begin
  30035. pTDefRegMap(@Self)^.clr := $00000080;
  30036. end;
  30037. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  30038. begin
  30039. if thebits = 0 then
  30040. pTDefRegMap(@Self)^.clr := $00000080
  30041. else
  30042. pTDefRegMap(@Self)^.&set := $00000080;
  30043. end;
  30044. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  30045. begin
  30046. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30047. end;
  30048. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  30049. begin
  30050. pTDefRegMap(@Self)^.&set := $00010000;
  30051. end;
  30052. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  30053. begin
  30054. pTDefRegMap(@Self)^.clr := $00010000;
  30055. end;
  30056. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  30057. begin
  30058. if thebits = 0 then
  30059. pTDefRegMap(@Self)^.clr := $00010000
  30060. else
  30061. pTDefRegMap(@Self)^.&set := $00010000;
  30062. end;
  30063. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  30064. begin
  30065. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30066. end;
  30067. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  30068. begin
  30069. pTDefRegMap(@Self)^.&set := $00020000;
  30070. end;
  30071. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  30072. begin
  30073. pTDefRegMap(@Self)^.clr := $00020000;
  30074. end;
  30075. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  30076. begin
  30077. if thebits = 0 then
  30078. pTDefRegMap(@Self)^.clr := $00020000
  30079. else
  30080. pTDefRegMap(@Self)^.&set := $00020000;
  30081. end;
  30082. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  30083. begin
  30084. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30085. end;
  30086. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  30087. begin
  30088. pTDefRegMap(@Self)^.&set := $00040000;
  30089. end;
  30090. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  30091. begin
  30092. pTDefRegMap(@Self)^.clr := $00040000;
  30093. end;
  30094. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  30095. begin
  30096. if thebits = 0 then
  30097. pTDefRegMap(@Self)^.clr := $00040000
  30098. else
  30099. pTDefRegMap(@Self)^.&set := $00040000;
  30100. end;
  30101. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  30102. begin
  30103. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30104. end;
  30105. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  30106. begin
  30107. pTDefRegMap(@Self)^.&set := $00080000;
  30108. end;
  30109. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  30110. begin
  30111. pTDefRegMap(@Self)^.clr := $00080000;
  30112. end;
  30113. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  30114. begin
  30115. if thebits = 0 then
  30116. pTDefRegMap(@Self)^.clr := $00080000
  30117. else
  30118. pTDefRegMap(@Self)^.&set := $00080000;
  30119. end;
  30120. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  30121. begin
  30122. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30123. end;
  30124. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  30125. begin
  30126. pTDefRegMap(@Self)^.&set := $00100000;
  30127. end;
  30128. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  30129. begin
  30130. pTDefRegMap(@Self)^.clr := $00100000;
  30131. end;
  30132. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  30133. begin
  30134. if thebits = 0 then
  30135. pTDefRegMap(@Self)^.clr := $00100000
  30136. else
  30137. pTDefRegMap(@Self)^.&set := $00100000;
  30138. end;
  30139. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  30140. begin
  30141. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30142. end;
  30143. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  30144. begin
  30145. pTDefRegMap(@Self)^.&set := $00200000;
  30146. end;
  30147. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  30148. begin
  30149. pTDefRegMap(@Self)^.clr := $00200000;
  30150. end;
  30151. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  30152. begin
  30153. if thebits = 0 then
  30154. pTDefRegMap(@Self)^.clr := $00200000
  30155. else
  30156. pTDefRegMap(@Self)^.&set := $00200000;
  30157. end;
  30158. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  30159. begin
  30160. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30161. end;
  30162. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  30163. begin
  30164. pTDefRegMap(@Self)^.&set := $00400000;
  30165. end;
  30166. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  30167. begin
  30168. pTDefRegMap(@Self)^.clr := $00400000;
  30169. end;
  30170. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  30171. begin
  30172. if thebits = 0 then
  30173. pTDefRegMap(@Self)^.clr := $00400000
  30174. else
  30175. pTDefRegMap(@Self)^.&set := $00400000;
  30176. end;
  30177. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  30178. begin
  30179. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30180. end;
  30181. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  30182. begin
  30183. pTDefRegMap(@Self)^.&set := $00800000;
  30184. end;
  30185. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  30186. begin
  30187. pTDefRegMap(@Self)^.clr := $00800000;
  30188. end;
  30189. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  30190. begin
  30191. if thebits = 0 then
  30192. pTDefRegMap(@Self)^.clr := $00800000
  30193. else
  30194. pTDefRegMap(@Self)^.&set := $00800000;
  30195. end;
  30196. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  30197. begin
  30198. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30199. end;
  30200. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  30201. begin
  30202. pTDefRegMap(@Self)^.val := thebits;
  30203. end;
  30204. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  30205. begin
  30206. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30207. end;
  30208. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  30209. begin
  30210. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30211. end;
  30212. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  30213. begin
  30214. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30215. end;
  30216. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  30217. begin
  30218. pTDefRegMap(@Self)^.&set := $00000004;
  30219. end;
  30220. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  30221. begin
  30222. pTDefRegMap(@Self)^.clr := $00000004;
  30223. end;
  30224. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  30225. begin
  30226. if thebits = 0 then
  30227. pTDefRegMap(@Self)^.clr := $00000004
  30228. else
  30229. pTDefRegMap(@Self)^.&set := $00000004;
  30230. end;
  30231. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  30232. begin
  30233. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30234. end;
  30235. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  30236. begin
  30237. pTDefRegMap(@Self)^.&set := $00000010;
  30238. end;
  30239. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  30240. begin
  30241. pTDefRegMap(@Self)^.clr := $00000010;
  30242. end;
  30243. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  30244. begin
  30245. if thebits = 0 then
  30246. pTDefRegMap(@Self)^.clr := $00000010
  30247. else
  30248. pTDefRegMap(@Self)^.&set := $00000010;
  30249. end;
  30250. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  30251. begin
  30252. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30253. end;
  30254. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  30255. begin
  30256. pTDefRegMap(@Self)^.&set := $00000020;
  30257. end;
  30258. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  30259. begin
  30260. pTDefRegMap(@Self)^.clr := $00000020;
  30261. end;
  30262. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  30263. begin
  30264. if thebits = 0 then
  30265. pTDefRegMap(@Self)^.clr := $00000020
  30266. else
  30267. pTDefRegMap(@Self)^.&set := $00000020;
  30268. end;
  30269. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  30270. begin
  30271. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30272. end;
  30273. procedure TDMAC1_DCH1CON.setCHAED; inline;
  30274. begin
  30275. pTDefRegMap(@Self)^.&set := $00000040;
  30276. end;
  30277. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  30278. begin
  30279. pTDefRegMap(@Self)^.clr := $00000040;
  30280. end;
  30281. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  30282. begin
  30283. if thebits = 0 then
  30284. pTDefRegMap(@Self)^.clr := $00000040
  30285. else
  30286. pTDefRegMap(@Self)^.&set := $00000040;
  30287. end;
  30288. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  30289. begin
  30290. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30291. end;
  30292. procedure TDMAC1_DCH1CON.setCHEN; inline;
  30293. begin
  30294. pTDefRegMap(@Self)^.&set := $00000080;
  30295. end;
  30296. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  30297. begin
  30298. pTDefRegMap(@Self)^.clr := $00000080;
  30299. end;
  30300. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  30301. begin
  30302. if thebits = 0 then
  30303. pTDefRegMap(@Self)^.clr := $00000080
  30304. else
  30305. pTDefRegMap(@Self)^.&set := $00000080;
  30306. end;
  30307. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  30308. begin
  30309. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30310. end;
  30311. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  30312. begin
  30313. pTDefRegMap(@Self)^.&set := $00000100;
  30314. end;
  30315. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  30316. begin
  30317. pTDefRegMap(@Self)^.clr := $00000100;
  30318. end;
  30319. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  30320. begin
  30321. if thebits = 0 then
  30322. pTDefRegMap(@Self)^.clr := $00000100
  30323. else
  30324. pTDefRegMap(@Self)^.&set := $00000100;
  30325. end;
  30326. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  30327. begin
  30328. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30329. end;
  30330. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  30331. begin
  30332. pTDefRegMap(@Self)^.&set := $00008000;
  30333. end;
  30334. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  30335. begin
  30336. pTDefRegMap(@Self)^.clr := $00008000;
  30337. end;
  30338. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  30339. begin
  30340. if thebits = 0 then
  30341. pTDefRegMap(@Self)^.clr := $00008000
  30342. else
  30343. pTDefRegMap(@Self)^.&set := $00008000;
  30344. end;
  30345. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  30346. begin
  30347. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30348. end;
  30349. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  30350. begin
  30351. pTDefRegMap(@Self)^.val := thebits;
  30352. end;
  30353. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  30354. begin
  30355. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30356. end;
  30357. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  30358. begin
  30359. pTDefRegMap(@Self)^.&set := $00000008;
  30360. end;
  30361. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  30362. begin
  30363. pTDefRegMap(@Self)^.clr := $00000008;
  30364. end;
  30365. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  30366. begin
  30367. if thebits = 0 then
  30368. pTDefRegMap(@Self)^.clr := $00000008
  30369. else
  30370. pTDefRegMap(@Self)^.&set := $00000008;
  30371. end;
  30372. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  30373. begin
  30374. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30375. end;
  30376. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  30377. begin
  30378. pTDefRegMap(@Self)^.&set := $00000010;
  30379. end;
  30380. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  30381. begin
  30382. pTDefRegMap(@Self)^.clr := $00000010;
  30383. end;
  30384. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  30385. begin
  30386. if thebits = 0 then
  30387. pTDefRegMap(@Self)^.clr := $00000010
  30388. else
  30389. pTDefRegMap(@Self)^.&set := $00000010;
  30390. end;
  30391. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  30392. begin
  30393. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30394. end;
  30395. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  30396. begin
  30397. pTDefRegMap(@Self)^.&set := $00000020;
  30398. end;
  30399. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  30400. begin
  30401. pTDefRegMap(@Self)^.clr := $00000020;
  30402. end;
  30403. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  30404. begin
  30405. if thebits = 0 then
  30406. pTDefRegMap(@Self)^.clr := $00000020
  30407. else
  30408. pTDefRegMap(@Self)^.&set := $00000020;
  30409. end;
  30410. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  30411. begin
  30412. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30413. end;
  30414. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  30415. begin
  30416. pTDefRegMap(@Self)^.&set := $00000040;
  30417. end;
  30418. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  30419. begin
  30420. pTDefRegMap(@Self)^.clr := $00000040;
  30421. end;
  30422. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  30423. begin
  30424. if thebits = 0 then
  30425. pTDefRegMap(@Self)^.clr := $00000040
  30426. else
  30427. pTDefRegMap(@Self)^.&set := $00000040;
  30428. end;
  30429. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  30430. begin
  30431. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30432. end;
  30433. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  30434. begin
  30435. pTDefRegMap(@Self)^.&set := $00000080;
  30436. end;
  30437. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  30438. begin
  30439. pTDefRegMap(@Self)^.clr := $00000080;
  30440. end;
  30441. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  30442. begin
  30443. if thebits = 0 then
  30444. pTDefRegMap(@Self)^.clr := $00000080
  30445. else
  30446. pTDefRegMap(@Self)^.&set := $00000080;
  30447. end;
  30448. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  30449. begin
  30450. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30451. end;
  30452. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  30453. begin
  30454. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30455. end;
  30456. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  30457. begin
  30458. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30459. end;
  30460. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  30461. begin
  30462. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30463. end;
  30464. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  30465. begin
  30466. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30467. end;
  30468. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  30469. begin
  30470. pTDefRegMap(@Self)^.val := thebits;
  30471. end;
  30472. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  30473. begin
  30474. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30475. end;
  30476. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  30477. begin
  30478. pTDefRegMap(@Self)^.&set := $00000001;
  30479. end;
  30480. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  30481. begin
  30482. pTDefRegMap(@Self)^.clr := $00000001;
  30483. end;
  30484. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  30485. begin
  30486. if thebits = 0 then
  30487. pTDefRegMap(@Self)^.clr := $00000001
  30488. else
  30489. pTDefRegMap(@Self)^.&set := $00000001;
  30490. end;
  30491. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  30492. begin
  30493. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30494. end;
  30495. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  30496. begin
  30497. pTDefRegMap(@Self)^.&set := $00000002;
  30498. end;
  30499. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  30500. begin
  30501. pTDefRegMap(@Self)^.clr := $00000002;
  30502. end;
  30503. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  30504. begin
  30505. if thebits = 0 then
  30506. pTDefRegMap(@Self)^.clr := $00000002
  30507. else
  30508. pTDefRegMap(@Self)^.&set := $00000002;
  30509. end;
  30510. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  30511. begin
  30512. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30513. end;
  30514. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  30515. begin
  30516. pTDefRegMap(@Self)^.&set := $00000004;
  30517. end;
  30518. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  30519. begin
  30520. pTDefRegMap(@Self)^.clr := $00000004;
  30521. end;
  30522. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  30523. begin
  30524. if thebits = 0 then
  30525. pTDefRegMap(@Self)^.clr := $00000004
  30526. else
  30527. pTDefRegMap(@Self)^.&set := $00000004;
  30528. end;
  30529. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  30530. begin
  30531. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30532. end;
  30533. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  30534. begin
  30535. pTDefRegMap(@Self)^.&set := $00000008;
  30536. end;
  30537. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  30538. begin
  30539. pTDefRegMap(@Self)^.clr := $00000008;
  30540. end;
  30541. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  30542. begin
  30543. if thebits = 0 then
  30544. pTDefRegMap(@Self)^.clr := $00000008
  30545. else
  30546. pTDefRegMap(@Self)^.&set := $00000008;
  30547. end;
  30548. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  30549. begin
  30550. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30551. end;
  30552. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  30553. begin
  30554. pTDefRegMap(@Self)^.&set := $00000010;
  30555. end;
  30556. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  30557. begin
  30558. pTDefRegMap(@Self)^.clr := $00000010;
  30559. end;
  30560. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  30561. begin
  30562. if thebits = 0 then
  30563. pTDefRegMap(@Self)^.clr := $00000010
  30564. else
  30565. pTDefRegMap(@Self)^.&set := $00000010;
  30566. end;
  30567. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  30568. begin
  30569. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30570. end;
  30571. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  30572. begin
  30573. pTDefRegMap(@Self)^.&set := $00000020;
  30574. end;
  30575. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  30576. begin
  30577. pTDefRegMap(@Self)^.clr := $00000020;
  30578. end;
  30579. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  30580. begin
  30581. if thebits = 0 then
  30582. pTDefRegMap(@Self)^.clr := $00000020
  30583. else
  30584. pTDefRegMap(@Self)^.&set := $00000020;
  30585. end;
  30586. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  30587. begin
  30588. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30589. end;
  30590. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  30591. begin
  30592. pTDefRegMap(@Self)^.&set := $00000040;
  30593. end;
  30594. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  30595. begin
  30596. pTDefRegMap(@Self)^.clr := $00000040;
  30597. end;
  30598. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  30599. begin
  30600. if thebits = 0 then
  30601. pTDefRegMap(@Self)^.clr := $00000040
  30602. else
  30603. pTDefRegMap(@Self)^.&set := $00000040;
  30604. end;
  30605. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  30606. begin
  30607. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30608. end;
  30609. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  30610. begin
  30611. pTDefRegMap(@Self)^.&set := $00000080;
  30612. end;
  30613. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  30614. begin
  30615. pTDefRegMap(@Self)^.clr := $00000080;
  30616. end;
  30617. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  30618. begin
  30619. if thebits = 0 then
  30620. pTDefRegMap(@Self)^.clr := $00000080
  30621. else
  30622. pTDefRegMap(@Self)^.&set := $00000080;
  30623. end;
  30624. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  30625. begin
  30626. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30627. end;
  30628. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  30629. begin
  30630. pTDefRegMap(@Self)^.&set := $00010000;
  30631. end;
  30632. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  30633. begin
  30634. pTDefRegMap(@Self)^.clr := $00010000;
  30635. end;
  30636. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  30637. begin
  30638. if thebits = 0 then
  30639. pTDefRegMap(@Self)^.clr := $00010000
  30640. else
  30641. pTDefRegMap(@Self)^.&set := $00010000;
  30642. end;
  30643. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  30644. begin
  30645. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30646. end;
  30647. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  30648. begin
  30649. pTDefRegMap(@Self)^.&set := $00020000;
  30650. end;
  30651. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  30652. begin
  30653. pTDefRegMap(@Self)^.clr := $00020000;
  30654. end;
  30655. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  30656. begin
  30657. if thebits = 0 then
  30658. pTDefRegMap(@Self)^.clr := $00020000
  30659. else
  30660. pTDefRegMap(@Self)^.&set := $00020000;
  30661. end;
  30662. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  30663. begin
  30664. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30665. end;
  30666. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  30667. begin
  30668. pTDefRegMap(@Self)^.&set := $00040000;
  30669. end;
  30670. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  30671. begin
  30672. pTDefRegMap(@Self)^.clr := $00040000;
  30673. end;
  30674. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  30675. begin
  30676. if thebits = 0 then
  30677. pTDefRegMap(@Self)^.clr := $00040000
  30678. else
  30679. pTDefRegMap(@Self)^.&set := $00040000;
  30680. end;
  30681. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  30682. begin
  30683. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30684. end;
  30685. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  30686. begin
  30687. pTDefRegMap(@Self)^.&set := $00080000;
  30688. end;
  30689. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  30690. begin
  30691. pTDefRegMap(@Self)^.clr := $00080000;
  30692. end;
  30693. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  30694. begin
  30695. if thebits = 0 then
  30696. pTDefRegMap(@Self)^.clr := $00080000
  30697. else
  30698. pTDefRegMap(@Self)^.&set := $00080000;
  30699. end;
  30700. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  30701. begin
  30702. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30703. end;
  30704. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  30705. begin
  30706. pTDefRegMap(@Self)^.&set := $00100000;
  30707. end;
  30708. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  30709. begin
  30710. pTDefRegMap(@Self)^.clr := $00100000;
  30711. end;
  30712. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  30713. begin
  30714. if thebits = 0 then
  30715. pTDefRegMap(@Self)^.clr := $00100000
  30716. else
  30717. pTDefRegMap(@Self)^.&set := $00100000;
  30718. end;
  30719. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  30720. begin
  30721. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30722. end;
  30723. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  30724. begin
  30725. pTDefRegMap(@Self)^.&set := $00200000;
  30726. end;
  30727. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  30728. begin
  30729. pTDefRegMap(@Self)^.clr := $00200000;
  30730. end;
  30731. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  30732. begin
  30733. if thebits = 0 then
  30734. pTDefRegMap(@Self)^.clr := $00200000
  30735. else
  30736. pTDefRegMap(@Self)^.&set := $00200000;
  30737. end;
  30738. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  30739. begin
  30740. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30741. end;
  30742. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  30743. begin
  30744. pTDefRegMap(@Self)^.&set := $00400000;
  30745. end;
  30746. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  30747. begin
  30748. pTDefRegMap(@Self)^.clr := $00400000;
  30749. end;
  30750. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  30751. begin
  30752. if thebits = 0 then
  30753. pTDefRegMap(@Self)^.clr := $00400000
  30754. else
  30755. pTDefRegMap(@Self)^.&set := $00400000;
  30756. end;
  30757. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  30758. begin
  30759. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30760. end;
  30761. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  30762. begin
  30763. pTDefRegMap(@Self)^.&set := $00800000;
  30764. end;
  30765. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  30766. begin
  30767. pTDefRegMap(@Self)^.clr := $00800000;
  30768. end;
  30769. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  30770. begin
  30771. if thebits = 0 then
  30772. pTDefRegMap(@Self)^.clr := $00800000
  30773. else
  30774. pTDefRegMap(@Self)^.&set := $00800000;
  30775. end;
  30776. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  30777. begin
  30778. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30779. end;
  30780. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  30781. begin
  30782. pTDefRegMap(@Self)^.val := thebits;
  30783. end;
  30784. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  30785. begin
  30786. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30787. end;
  30788. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  30789. begin
  30790. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30791. end;
  30792. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  30793. begin
  30794. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30795. end;
  30796. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  30797. begin
  30798. pTDefRegMap(@Self)^.&set := $00000004;
  30799. end;
  30800. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  30801. begin
  30802. pTDefRegMap(@Self)^.clr := $00000004;
  30803. end;
  30804. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  30805. begin
  30806. if thebits = 0 then
  30807. pTDefRegMap(@Self)^.clr := $00000004
  30808. else
  30809. pTDefRegMap(@Self)^.&set := $00000004;
  30810. end;
  30811. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  30812. begin
  30813. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30814. end;
  30815. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  30816. begin
  30817. pTDefRegMap(@Self)^.&set := $00000010;
  30818. end;
  30819. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  30820. begin
  30821. pTDefRegMap(@Self)^.clr := $00000010;
  30822. end;
  30823. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  30824. begin
  30825. if thebits = 0 then
  30826. pTDefRegMap(@Self)^.clr := $00000010
  30827. else
  30828. pTDefRegMap(@Self)^.&set := $00000010;
  30829. end;
  30830. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  30831. begin
  30832. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30833. end;
  30834. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  30835. begin
  30836. pTDefRegMap(@Self)^.&set := $00000020;
  30837. end;
  30838. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  30839. begin
  30840. pTDefRegMap(@Self)^.clr := $00000020;
  30841. end;
  30842. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  30843. begin
  30844. if thebits = 0 then
  30845. pTDefRegMap(@Self)^.clr := $00000020
  30846. else
  30847. pTDefRegMap(@Self)^.&set := $00000020;
  30848. end;
  30849. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  30850. begin
  30851. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30852. end;
  30853. procedure TDMAC2_DCH2CON.setCHAED; inline;
  30854. begin
  30855. pTDefRegMap(@Self)^.&set := $00000040;
  30856. end;
  30857. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  30858. begin
  30859. pTDefRegMap(@Self)^.clr := $00000040;
  30860. end;
  30861. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  30862. begin
  30863. if thebits = 0 then
  30864. pTDefRegMap(@Self)^.clr := $00000040
  30865. else
  30866. pTDefRegMap(@Self)^.&set := $00000040;
  30867. end;
  30868. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  30869. begin
  30870. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30871. end;
  30872. procedure TDMAC2_DCH2CON.setCHEN; inline;
  30873. begin
  30874. pTDefRegMap(@Self)^.&set := $00000080;
  30875. end;
  30876. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  30877. begin
  30878. pTDefRegMap(@Self)^.clr := $00000080;
  30879. end;
  30880. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  30881. begin
  30882. if thebits = 0 then
  30883. pTDefRegMap(@Self)^.clr := $00000080
  30884. else
  30885. pTDefRegMap(@Self)^.&set := $00000080;
  30886. end;
  30887. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  30888. begin
  30889. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30890. end;
  30891. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  30892. begin
  30893. pTDefRegMap(@Self)^.&set := $00000100;
  30894. end;
  30895. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  30896. begin
  30897. pTDefRegMap(@Self)^.clr := $00000100;
  30898. end;
  30899. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  30900. begin
  30901. if thebits = 0 then
  30902. pTDefRegMap(@Self)^.clr := $00000100
  30903. else
  30904. pTDefRegMap(@Self)^.&set := $00000100;
  30905. end;
  30906. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  30907. begin
  30908. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30909. end;
  30910. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  30911. begin
  30912. pTDefRegMap(@Self)^.&set := $00008000;
  30913. end;
  30914. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  30915. begin
  30916. pTDefRegMap(@Self)^.clr := $00008000;
  30917. end;
  30918. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  30919. begin
  30920. if thebits = 0 then
  30921. pTDefRegMap(@Self)^.clr := $00008000
  30922. else
  30923. pTDefRegMap(@Self)^.&set := $00008000;
  30924. end;
  30925. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  30926. begin
  30927. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30928. end;
  30929. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  30930. begin
  30931. pTDefRegMap(@Self)^.val := thebits;
  30932. end;
  30933. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  30934. begin
  30935. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30936. end;
  30937. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  30938. begin
  30939. pTDefRegMap(@Self)^.&set := $00000008;
  30940. end;
  30941. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  30942. begin
  30943. pTDefRegMap(@Self)^.clr := $00000008;
  30944. end;
  30945. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  30946. begin
  30947. if thebits = 0 then
  30948. pTDefRegMap(@Self)^.clr := $00000008
  30949. else
  30950. pTDefRegMap(@Self)^.&set := $00000008;
  30951. end;
  30952. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  30953. begin
  30954. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30955. end;
  30956. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  30957. begin
  30958. pTDefRegMap(@Self)^.&set := $00000010;
  30959. end;
  30960. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  30961. begin
  30962. pTDefRegMap(@Self)^.clr := $00000010;
  30963. end;
  30964. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  30965. begin
  30966. if thebits = 0 then
  30967. pTDefRegMap(@Self)^.clr := $00000010
  30968. else
  30969. pTDefRegMap(@Self)^.&set := $00000010;
  30970. end;
  30971. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  30972. begin
  30973. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30974. end;
  30975. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  30976. begin
  30977. pTDefRegMap(@Self)^.&set := $00000020;
  30978. end;
  30979. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  30980. begin
  30981. pTDefRegMap(@Self)^.clr := $00000020;
  30982. end;
  30983. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  30984. begin
  30985. if thebits = 0 then
  30986. pTDefRegMap(@Self)^.clr := $00000020
  30987. else
  30988. pTDefRegMap(@Self)^.&set := $00000020;
  30989. end;
  30990. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  30991. begin
  30992. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30993. end;
  30994. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  30995. begin
  30996. pTDefRegMap(@Self)^.&set := $00000040;
  30997. end;
  30998. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  30999. begin
  31000. pTDefRegMap(@Self)^.clr := $00000040;
  31001. end;
  31002. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  31003. begin
  31004. if thebits = 0 then
  31005. pTDefRegMap(@Self)^.clr := $00000040
  31006. else
  31007. pTDefRegMap(@Self)^.&set := $00000040;
  31008. end;
  31009. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  31010. begin
  31011. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31012. end;
  31013. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  31014. begin
  31015. pTDefRegMap(@Self)^.&set := $00000080;
  31016. end;
  31017. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  31018. begin
  31019. pTDefRegMap(@Self)^.clr := $00000080;
  31020. end;
  31021. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  31022. begin
  31023. if thebits = 0 then
  31024. pTDefRegMap(@Self)^.clr := $00000080
  31025. else
  31026. pTDefRegMap(@Self)^.&set := $00000080;
  31027. end;
  31028. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  31029. begin
  31030. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31031. end;
  31032. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  31033. begin
  31034. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31035. end;
  31036. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  31037. begin
  31038. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31039. end;
  31040. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  31041. begin
  31042. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31043. end;
  31044. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  31045. begin
  31046. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31047. end;
  31048. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  31049. begin
  31050. pTDefRegMap(@Self)^.val := thebits;
  31051. end;
  31052. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  31053. begin
  31054. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31055. end;
  31056. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  31057. begin
  31058. pTDefRegMap(@Self)^.&set := $00000001;
  31059. end;
  31060. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  31061. begin
  31062. pTDefRegMap(@Self)^.clr := $00000001;
  31063. end;
  31064. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  31065. begin
  31066. if thebits = 0 then
  31067. pTDefRegMap(@Self)^.clr := $00000001
  31068. else
  31069. pTDefRegMap(@Self)^.&set := $00000001;
  31070. end;
  31071. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  31072. begin
  31073. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31074. end;
  31075. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  31076. begin
  31077. pTDefRegMap(@Self)^.&set := $00000002;
  31078. end;
  31079. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  31080. begin
  31081. pTDefRegMap(@Self)^.clr := $00000002;
  31082. end;
  31083. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  31084. begin
  31085. if thebits = 0 then
  31086. pTDefRegMap(@Self)^.clr := $00000002
  31087. else
  31088. pTDefRegMap(@Self)^.&set := $00000002;
  31089. end;
  31090. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  31091. begin
  31092. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31093. end;
  31094. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  31095. begin
  31096. pTDefRegMap(@Self)^.&set := $00000004;
  31097. end;
  31098. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  31099. begin
  31100. pTDefRegMap(@Self)^.clr := $00000004;
  31101. end;
  31102. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  31103. begin
  31104. if thebits = 0 then
  31105. pTDefRegMap(@Self)^.clr := $00000004
  31106. else
  31107. pTDefRegMap(@Self)^.&set := $00000004;
  31108. end;
  31109. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  31110. begin
  31111. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31112. end;
  31113. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  31114. begin
  31115. pTDefRegMap(@Self)^.&set := $00000008;
  31116. end;
  31117. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  31118. begin
  31119. pTDefRegMap(@Self)^.clr := $00000008;
  31120. end;
  31121. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  31122. begin
  31123. if thebits = 0 then
  31124. pTDefRegMap(@Self)^.clr := $00000008
  31125. else
  31126. pTDefRegMap(@Self)^.&set := $00000008;
  31127. end;
  31128. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  31129. begin
  31130. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31131. end;
  31132. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  31133. begin
  31134. pTDefRegMap(@Self)^.&set := $00000010;
  31135. end;
  31136. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  31137. begin
  31138. pTDefRegMap(@Self)^.clr := $00000010;
  31139. end;
  31140. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  31141. begin
  31142. if thebits = 0 then
  31143. pTDefRegMap(@Self)^.clr := $00000010
  31144. else
  31145. pTDefRegMap(@Self)^.&set := $00000010;
  31146. end;
  31147. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  31148. begin
  31149. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31150. end;
  31151. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  31152. begin
  31153. pTDefRegMap(@Self)^.&set := $00000020;
  31154. end;
  31155. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  31156. begin
  31157. pTDefRegMap(@Self)^.clr := $00000020;
  31158. end;
  31159. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  31160. begin
  31161. if thebits = 0 then
  31162. pTDefRegMap(@Self)^.clr := $00000020
  31163. else
  31164. pTDefRegMap(@Self)^.&set := $00000020;
  31165. end;
  31166. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  31167. begin
  31168. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31169. end;
  31170. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  31171. begin
  31172. pTDefRegMap(@Self)^.&set := $00000040;
  31173. end;
  31174. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  31175. begin
  31176. pTDefRegMap(@Self)^.clr := $00000040;
  31177. end;
  31178. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  31179. begin
  31180. if thebits = 0 then
  31181. pTDefRegMap(@Self)^.clr := $00000040
  31182. else
  31183. pTDefRegMap(@Self)^.&set := $00000040;
  31184. end;
  31185. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  31186. begin
  31187. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31188. end;
  31189. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  31190. begin
  31191. pTDefRegMap(@Self)^.&set := $00000080;
  31192. end;
  31193. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  31194. begin
  31195. pTDefRegMap(@Self)^.clr := $00000080;
  31196. end;
  31197. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  31198. begin
  31199. if thebits = 0 then
  31200. pTDefRegMap(@Self)^.clr := $00000080
  31201. else
  31202. pTDefRegMap(@Self)^.&set := $00000080;
  31203. end;
  31204. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  31205. begin
  31206. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31207. end;
  31208. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  31209. begin
  31210. pTDefRegMap(@Self)^.&set := $00010000;
  31211. end;
  31212. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  31213. begin
  31214. pTDefRegMap(@Self)^.clr := $00010000;
  31215. end;
  31216. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  31217. begin
  31218. if thebits = 0 then
  31219. pTDefRegMap(@Self)^.clr := $00010000
  31220. else
  31221. pTDefRegMap(@Self)^.&set := $00010000;
  31222. end;
  31223. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  31224. begin
  31225. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31226. end;
  31227. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  31228. begin
  31229. pTDefRegMap(@Self)^.&set := $00020000;
  31230. end;
  31231. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  31232. begin
  31233. pTDefRegMap(@Self)^.clr := $00020000;
  31234. end;
  31235. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  31236. begin
  31237. if thebits = 0 then
  31238. pTDefRegMap(@Self)^.clr := $00020000
  31239. else
  31240. pTDefRegMap(@Self)^.&set := $00020000;
  31241. end;
  31242. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  31243. begin
  31244. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31245. end;
  31246. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  31247. begin
  31248. pTDefRegMap(@Self)^.&set := $00040000;
  31249. end;
  31250. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  31251. begin
  31252. pTDefRegMap(@Self)^.clr := $00040000;
  31253. end;
  31254. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  31255. begin
  31256. if thebits = 0 then
  31257. pTDefRegMap(@Self)^.clr := $00040000
  31258. else
  31259. pTDefRegMap(@Self)^.&set := $00040000;
  31260. end;
  31261. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  31262. begin
  31263. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31264. end;
  31265. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  31266. begin
  31267. pTDefRegMap(@Self)^.&set := $00080000;
  31268. end;
  31269. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  31270. begin
  31271. pTDefRegMap(@Self)^.clr := $00080000;
  31272. end;
  31273. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  31274. begin
  31275. if thebits = 0 then
  31276. pTDefRegMap(@Self)^.clr := $00080000
  31277. else
  31278. pTDefRegMap(@Self)^.&set := $00080000;
  31279. end;
  31280. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  31281. begin
  31282. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31283. end;
  31284. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  31285. begin
  31286. pTDefRegMap(@Self)^.&set := $00100000;
  31287. end;
  31288. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  31289. begin
  31290. pTDefRegMap(@Self)^.clr := $00100000;
  31291. end;
  31292. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  31293. begin
  31294. if thebits = 0 then
  31295. pTDefRegMap(@Self)^.clr := $00100000
  31296. else
  31297. pTDefRegMap(@Self)^.&set := $00100000;
  31298. end;
  31299. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  31300. begin
  31301. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31302. end;
  31303. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  31304. begin
  31305. pTDefRegMap(@Self)^.&set := $00200000;
  31306. end;
  31307. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  31308. begin
  31309. pTDefRegMap(@Self)^.clr := $00200000;
  31310. end;
  31311. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  31312. begin
  31313. if thebits = 0 then
  31314. pTDefRegMap(@Self)^.clr := $00200000
  31315. else
  31316. pTDefRegMap(@Self)^.&set := $00200000;
  31317. end;
  31318. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  31319. begin
  31320. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31321. end;
  31322. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  31323. begin
  31324. pTDefRegMap(@Self)^.&set := $00400000;
  31325. end;
  31326. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  31327. begin
  31328. pTDefRegMap(@Self)^.clr := $00400000;
  31329. end;
  31330. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  31331. begin
  31332. if thebits = 0 then
  31333. pTDefRegMap(@Self)^.clr := $00400000
  31334. else
  31335. pTDefRegMap(@Self)^.&set := $00400000;
  31336. end;
  31337. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  31338. begin
  31339. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31340. end;
  31341. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  31342. begin
  31343. pTDefRegMap(@Self)^.&set := $00800000;
  31344. end;
  31345. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  31346. begin
  31347. pTDefRegMap(@Self)^.clr := $00800000;
  31348. end;
  31349. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  31350. begin
  31351. if thebits = 0 then
  31352. pTDefRegMap(@Self)^.clr := $00800000
  31353. else
  31354. pTDefRegMap(@Self)^.&set := $00800000;
  31355. end;
  31356. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  31357. begin
  31358. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31359. end;
  31360. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  31361. begin
  31362. pTDefRegMap(@Self)^.val := thebits;
  31363. end;
  31364. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  31365. begin
  31366. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31367. end;
  31368. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  31369. begin
  31370. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  31371. end;
  31372. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  31373. begin
  31374. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  31375. end;
  31376. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  31377. begin
  31378. pTDefRegMap(@Self)^.&set := $00000004;
  31379. end;
  31380. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  31381. begin
  31382. pTDefRegMap(@Self)^.clr := $00000004;
  31383. end;
  31384. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  31385. begin
  31386. if thebits = 0 then
  31387. pTDefRegMap(@Self)^.clr := $00000004
  31388. else
  31389. pTDefRegMap(@Self)^.&set := $00000004;
  31390. end;
  31391. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  31392. begin
  31393. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31394. end;
  31395. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  31396. begin
  31397. pTDefRegMap(@Self)^.&set := $00000010;
  31398. end;
  31399. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  31400. begin
  31401. pTDefRegMap(@Self)^.clr := $00000010;
  31402. end;
  31403. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  31404. begin
  31405. if thebits = 0 then
  31406. pTDefRegMap(@Self)^.clr := $00000010
  31407. else
  31408. pTDefRegMap(@Self)^.&set := $00000010;
  31409. end;
  31410. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  31411. begin
  31412. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31413. end;
  31414. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  31415. begin
  31416. pTDefRegMap(@Self)^.&set := $00000020;
  31417. end;
  31418. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  31419. begin
  31420. pTDefRegMap(@Self)^.clr := $00000020;
  31421. end;
  31422. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  31423. begin
  31424. if thebits = 0 then
  31425. pTDefRegMap(@Self)^.clr := $00000020
  31426. else
  31427. pTDefRegMap(@Self)^.&set := $00000020;
  31428. end;
  31429. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  31430. begin
  31431. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31432. end;
  31433. procedure TDMAC3_DCH3CON.setCHAED; inline;
  31434. begin
  31435. pTDefRegMap(@Self)^.&set := $00000040;
  31436. end;
  31437. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  31438. begin
  31439. pTDefRegMap(@Self)^.clr := $00000040;
  31440. end;
  31441. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  31442. begin
  31443. if thebits = 0 then
  31444. pTDefRegMap(@Self)^.clr := $00000040
  31445. else
  31446. pTDefRegMap(@Self)^.&set := $00000040;
  31447. end;
  31448. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  31449. begin
  31450. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31451. end;
  31452. procedure TDMAC3_DCH3CON.setCHEN; inline;
  31453. begin
  31454. pTDefRegMap(@Self)^.&set := $00000080;
  31455. end;
  31456. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  31457. begin
  31458. pTDefRegMap(@Self)^.clr := $00000080;
  31459. end;
  31460. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  31461. begin
  31462. if thebits = 0 then
  31463. pTDefRegMap(@Self)^.clr := $00000080
  31464. else
  31465. pTDefRegMap(@Self)^.&set := $00000080;
  31466. end;
  31467. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  31468. begin
  31469. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31470. end;
  31471. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  31472. begin
  31473. pTDefRegMap(@Self)^.&set := $00000100;
  31474. end;
  31475. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  31476. begin
  31477. pTDefRegMap(@Self)^.clr := $00000100;
  31478. end;
  31479. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  31480. begin
  31481. if thebits = 0 then
  31482. pTDefRegMap(@Self)^.clr := $00000100
  31483. else
  31484. pTDefRegMap(@Self)^.&set := $00000100;
  31485. end;
  31486. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  31487. begin
  31488. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31489. end;
  31490. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  31491. begin
  31492. pTDefRegMap(@Self)^.&set := $00008000;
  31493. end;
  31494. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  31495. begin
  31496. pTDefRegMap(@Self)^.clr := $00008000;
  31497. end;
  31498. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  31499. begin
  31500. if thebits = 0 then
  31501. pTDefRegMap(@Self)^.clr := $00008000
  31502. else
  31503. pTDefRegMap(@Self)^.&set := $00008000;
  31504. end;
  31505. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  31506. begin
  31507. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31508. end;
  31509. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  31510. begin
  31511. pTDefRegMap(@Self)^.val := thebits;
  31512. end;
  31513. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  31514. begin
  31515. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31516. end;
  31517. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  31518. begin
  31519. pTDefRegMap(@Self)^.&set := $00000008;
  31520. end;
  31521. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  31522. begin
  31523. pTDefRegMap(@Self)^.clr := $00000008;
  31524. end;
  31525. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  31526. begin
  31527. if thebits = 0 then
  31528. pTDefRegMap(@Self)^.clr := $00000008
  31529. else
  31530. pTDefRegMap(@Self)^.&set := $00000008;
  31531. end;
  31532. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  31533. begin
  31534. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31535. end;
  31536. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  31537. begin
  31538. pTDefRegMap(@Self)^.&set := $00000010;
  31539. end;
  31540. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  31541. begin
  31542. pTDefRegMap(@Self)^.clr := $00000010;
  31543. end;
  31544. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  31545. begin
  31546. if thebits = 0 then
  31547. pTDefRegMap(@Self)^.clr := $00000010
  31548. else
  31549. pTDefRegMap(@Self)^.&set := $00000010;
  31550. end;
  31551. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  31552. begin
  31553. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31554. end;
  31555. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  31556. begin
  31557. pTDefRegMap(@Self)^.&set := $00000020;
  31558. end;
  31559. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  31560. begin
  31561. pTDefRegMap(@Self)^.clr := $00000020;
  31562. end;
  31563. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  31564. begin
  31565. if thebits = 0 then
  31566. pTDefRegMap(@Self)^.clr := $00000020
  31567. else
  31568. pTDefRegMap(@Self)^.&set := $00000020;
  31569. end;
  31570. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  31571. begin
  31572. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31573. end;
  31574. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  31575. begin
  31576. pTDefRegMap(@Self)^.&set := $00000040;
  31577. end;
  31578. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  31579. begin
  31580. pTDefRegMap(@Self)^.clr := $00000040;
  31581. end;
  31582. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  31583. begin
  31584. if thebits = 0 then
  31585. pTDefRegMap(@Self)^.clr := $00000040
  31586. else
  31587. pTDefRegMap(@Self)^.&set := $00000040;
  31588. end;
  31589. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  31590. begin
  31591. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31592. end;
  31593. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  31594. begin
  31595. pTDefRegMap(@Self)^.&set := $00000080;
  31596. end;
  31597. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  31598. begin
  31599. pTDefRegMap(@Self)^.clr := $00000080;
  31600. end;
  31601. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  31602. begin
  31603. if thebits = 0 then
  31604. pTDefRegMap(@Self)^.clr := $00000080
  31605. else
  31606. pTDefRegMap(@Self)^.&set := $00000080;
  31607. end;
  31608. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  31609. begin
  31610. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31611. end;
  31612. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  31613. begin
  31614. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31615. end;
  31616. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  31617. begin
  31618. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31619. end;
  31620. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  31621. begin
  31622. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31623. end;
  31624. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  31625. begin
  31626. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31627. end;
  31628. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  31629. begin
  31630. pTDefRegMap(@Self)^.val := thebits;
  31631. end;
  31632. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  31633. begin
  31634. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31635. end;
  31636. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  31637. begin
  31638. pTDefRegMap(@Self)^.&set := $00000001;
  31639. end;
  31640. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  31641. begin
  31642. pTDefRegMap(@Self)^.clr := $00000001;
  31643. end;
  31644. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  31645. begin
  31646. if thebits = 0 then
  31647. pTDefRegMap(@Self)^.clr := $00000001
  31648. else
  31649. pTDefRegMap(@Self)^.&set := $00000001;
  31650. end;
  31651. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  31652. begin
  31653. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31654. end;
  31655. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  31656. begin
  31657. pTDefRegMap(@Self)^.&set := $00000002;
  31658. end;
  31659. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  31660. begin
  31661. pTDefRegMap(@Self)^.clr := $00000002;
  31662. end;
  31663. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  31664. begin
  31665. if thebits = 0 then
  31666. pTDefRegMap(@Self)^.clr := $00000002
  31667. else
  31668. pTDefRegMap(@Self)^.&set := $00000002;
  31669. end;
  31670. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  31671. begin
  31672. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31673. end;
  31674. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  31675. begin
  31676. pTDefRegMap(@Self)^.&set := $00000004;
  31677. end;
  31678. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  31679. begin
  31680. pTDefRegMap(@Self)^.clr := $00000004;
  31681. end;
  31682. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  31683. begin
  31684. if thebits = 0 then
  31685. pTDefRegMap(@Self)^.clr := $00000004
  31686. else
  31687. pTDefRegMap(@Self)^.&set := $00000004;
  31688. end;
  31689. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  31690. begin
  31691. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31692. end;
  31693. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  31694. begin
  31695. pTDefRegMap(@Self)^.&set := $00000008;
  31696. end;
  31697. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  31698. begin
  31699. pTDefRegMap(@Self)^.clr := $00000008;
  31700. end;
  31701. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  31702. begin
  31703. if thebits = 0 then
  31704. pTDefRegMap(@Self)^.clr := $00000008
  31705. else
  31706. pTDefRegMap(@Self)^.&set := $00000008;
  31707. end;
  31708. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  31709. begin
  31710. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31711. end;
  31712. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  31713. begin
  31714. pTDefRegMap(@Self)^.&set := $00000010;
  31715. end;
  31716. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  31717. begin
  31718. pTDefRegMap(@Self)^.clr := $00000010;
  31719. end;
  31720. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  31721. begin
  31722. if thebits = 0 then
  31723. pTDefRegMap(@Self)^.clr := $00000010
  31724. else
  31725. pTDefRegMap(@Self)^.&set := $00000010;
  31726. end;
  31727. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  31728. begin
  31729. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31730. end;
  31731. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  31732. begin
  31733. pTDefRegMap(@Self)^.&set := $00000020;
  31734. end;
  31735. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  31736. begin
  31737. pTDefRegMap(@Self)^.clr := $00000020;
  31738. end;
  31739. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  31740. begin
  31741. if thebits = 0 then
  31742. pTDefRegMap(@Self)^.clr := $00000020
  31743. else
  31744. pTDefRegMap(@Self)^.&set := $00000020;
  31745. end;
  31746. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  31747. begin
  31748. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31749. end;
  31750. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  31751. begin
  31752. pTDefRegMap(@Self)^.&set := $00000040;
  31753. end;
  31754. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  31755. begin
  31756. pTDefRegMap(@Self)^.clr := $00000040;
  31757. end;
  31758. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  31759. begin
  31760. if thebits = 0 then
  31761. pTDefRegMap(@Self)^.clr := $00000040
  31762. else
  31763. pTDefRegMap(@Self)^.&set := $00000040;
  31764. end;
  31765. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  31766. begin
  31767. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31768. end;
  31769. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  31770. begin
  31771. pTDefRegMap(@Self)^.&set := $00000080;
  31772. end;
  31773. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  31774. begin
  31775. pTDefRegMap(@Self)^.clr := $00000080;
  31776. end;
  31777. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  31778. begin
  31779. if thebits = 0 then
  31780. pTDefRegMap(@Self)^.clr := $00000080
  31781. else
  31782. pTDefRegMap(@Self)^.&set := $00000080;
  31783. end;
  31784. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  31785. begin
  31786. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31787. end;
  31788. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  31789. begin
  31790. pTDefRegMap(@Self)^.&set := $00010000;
  31791. end;
  31792. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  31793. begin
  31794. pTDefRegMap(@Self)^.clr := $00010000;
  31795. end;
  31796. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  31797. begin
  31798. if thebits = 0 then
  31799. pTDefRegMap(@Self)^.clr := $00010000
  31800. else
  31801. pTDefRegMap(@Self)^.&set := $00010000;
  31802. end;
  31803. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  31804. begin
  31805. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31806. end;
  31807. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  31808. begin
  31809. pTDefRegMap(@Self)^.&set := $00020000;
  31810. end;
  31811. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  31812. begin
  31813. pTDefRegMap(@Self)^.clr := $00020000;
  31814. end;
  31815. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  31816. begin
  31817. if thebits = 0 then
  31818. pTDefRegMap(@Self)^.clr := $00020000
  31819. else
  31820. pTDefRegMap(@Self)^.&set := $00020000;
  31821. end;
  31822. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  31823. begin
  31824. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31825. end;
  31826. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  31827. begin
  31828. pTDefRegMap(@Self)^.&set := $00040000;
  31829. end;
  31830. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  31831. begin
  31832. pTDefRegMap(@Self)^.clr := $00040000;
  31833. end;
  31834. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  31835. begin
  31836. if thebits = 0 then
  31837. pTDefRegMap(@Self)^.clr := $00040000
  31838. else
  31839. pTDefRegMap(@Self)^.&set := $00040000;
  31840. end;
  31841. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  31842. begin
  31843. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31844. end;
  31845. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  31846. begin
  31847. pTDefRegMap(@Self)^.&set := $00080000;
  31848. end;
  31849. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  31850. begin
  31851. pTDefRegMap(@Self)^.clr := $00080000;
  31852. end;
  31853. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  31854. begin
  31855. if thebits = 0 then
  31856. pTDefRegMap(@Self)^.clr := $00080000
  31857. else
  31858. pTDefRegMap(@Self)^.&set := $00080000;
  31859. end;
  31860. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  31861. begin
  31862. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31863. end;
  31864. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  31865. begin
  31866. pTDefRegMap(@Self)^.&set := $00100000;
  31867. end;
  31868. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  31869. begin
  31870. pTDefRegMap(@Self)^.clr := $00100000;
  31871. end;
  31872. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  31873. begin
  31874. if thebits = 0 then
  31875. pTDefRegMap(@Self)^.clr := $00100000
  31876. else
  31877. pTDefRegMap(@Self)^.&set := $00100000;
  31878. end;
  31879. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  31880. begin
  31881. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31882. end;
  31883. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  31884. begin
  31885. pTDefRegMap(@Self)^.&set := $00200000;
  31886. end;
  31887. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  31888. begin
  31889. pTDefRegMap(@Self)^.clr := $00200000;
  31890. end;
  31891. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  31892. begin
  31893. if thebits = 0 then
  31894. pTDefRegMap(@Self)^.clr := $00200000
  31895. else
  31896. pTDefRegMap(@Self)^.&set := $00200000;
  31897. end;
  31898. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  31899. begin
  31900. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31901. end;
  31902. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  31903. begin
  31904. pTDefRegMap(@Self)^.&set := $00400000;
  31905. end;
  31906. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  31907. begin
  31908. pTDefRegMap(@Self)^.clr := $00400000;
  31909. end;
  31910. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  31911. begin
  31912. if thebits = 0 then
  31913. pTDefRegMap(@Self)^.clr := $00400000
  31914. else
  31915. pTDefRegMap(@Self)^.&set := $00400000;
  31916. end;
  31917. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  31918. begin
  31919. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31920. end;
  31921. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  31922. begin
  31923. pTDefRegMap(@Self)^.&set := $00800000;
  31924. end;
  31925. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  31926. begin
  31927. pTDefRegMap(@Self)^.clr := $00800000;
  31928. end;
  31929. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  31930. begin
  31931. if thebits = 0 then
  31932. pTDefRegMap(@Self)^.clr := $00800000
  31933. else
  31934. pTDefRegMap(@Self)^.&set := $00800000;
  31935. end;
  31936. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  31937. begin
  31938. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31939. end;
  31940. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  31941. begin
  31942. pTDefRegMap(@Self)^.val := thebits;
  31943. end;
  31944. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  31945. begin
  31946. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31947. end;
  31948. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  31949. begin
  31950. pTDefRegMap(@Self)^.&set := $00000001;
  31951. end;
  31952. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  31953. begin
  31954. pTDefRegMap(@Self)^.clr := $00000001;
  31955. end;
  31956. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  31957. begin
  31958. if thebits = 0 then
  31959. pTDefRegMap(@Self)^.clr := $00000001
  31960. else
  31961. pTDefRegMap(@Self)^.&set := $00000001;
  31962. end;
  31963. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  31964. begin
  31965. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31966. end;
  31967. procedure TUSB_U1IR.setUERRIF; inline;
  31968. begin
  31969. pTDefRegMap(@Self)^.&set := $00000002;
  31970. end;
  31971. procedure TUSB_U1IR.clearUERRIF; inline;
  31972. begin
  31973. pTDefRegMap(@Self)^.clr := $00000002;
  31974. end;
  31975. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  31976. begin
  31977. if thebits = 0 then
  31978. pTDefRegMap(@Self)^.clr := $00000002
  31979. else
  31980. pTDefRegMap(@Self)^.&set := $00000002;
  31981. end;
  31982. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  31983. begin
  31984. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31985. end;
  31986. procedure TUSB_U1IR.setSOFIF; inline;
  31987. begin
  31988. pTDefRegMap(@Self)^.&set := $00000004;
  31989. end;
  31990. procedure TUSB_U1IR.clearSOFIF; inline;
  31991. begin
  31992. pTDefRegMap(@Self)^.clr := $00000004;
  31993. end;
  31994. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  31995. begin
  31996. if thebits = 0 then
  31997. pTDefRegMap(@Self)^.clr := $00000004
  31998. else
  31999. pTDefRegMap(@Self)^.&set := $00000004;
  32000. end;
  32001. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  32002. begin
  32003. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32004. end;
  32005. procedure TUSB_U1IR.setTRNIF; inline;
  32006. begin
  32007. pTDefRegMap(@Self)^.&set := $00000008;
  32008. end;
  32009. procedure TUSB_U1IR.clearTRNIF; inline;
  32010. begin
  32011. pTDefRegMap(@Self)^.clr := $00000008;
  32012. end;
  32013. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  32014. begin
  32015. if thebits = 0 then
  32016. pTDefRegMap(@Self)^.clr := $00000008
  32017. else
  32018. pTDefRegMap(@Self)^.&set := $00000008;
  32019. end;
  32020. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  32021. begin
  32022. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32023. end;
  32024. procedure TUSB_U1IR.setIDLEIF; inline;
  32025. begin
  32026. pTDefRegMap(@Self)^.&set := $00000010;
  32027. end;
  32028. procedure TUSB_U1IR.clearIDLEIF; inline;
  32029. begin
  32030. pTDefRegMap(@Self)^.clr := $00000010;
  32031. end;
  32032. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  32033. begin
  32034. if thebits = 0 then
  32035. pTDefRegMap(@Self)^.clr := $00000010
  32036. else
  32037. pTDefRegMap(@Self)^.&set := $00000010;
  32038. end;
  32039. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  32040. begin
  32041. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32042. end;
  32043. procedure TUSB_U1IR.setRESUMEIF; inline;
  32044. begin
  32045. pTDefRegMap(@Self)^.&set := $00000020;
  32046. end;
  32047. procedure TUSB_U1IR.clearRESUMEIF; inline;
  32048. begin
  32049. pTDefRegMap(@Self)^.clr := $00000020;
  32050. end;
  32051. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  32052. begin
  32053. if thebits = 0 then
  32054. pTDefRegMap(@Self)^.clr := $00000020
  32055. else
  32056. pTDefRegMap(@Self)^.&set := $00000020;
  32057. end;
  32058. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  32059. begin
  32060. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32061. end;
  32062. procedure TUSB_U1IR.setATTACHIF; inline;
  32063. begin
  32064. pTDefRegMap(@Self)^.&set := $00000040;
  32065. end;
  32066. procedure TUSB_U1IR.clearATTACHIF; inline;
  32067. begin
  32068. pTDefRegMap(@Self)^.clr := $00000040;
  32069. end;
  32070. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  32071. begin
  32072. if thebits = 0 then
  32073. pTDefRegMap(@Self)^.clr := $00000040
  32074. else
  32075. pTDefRegMap(@Self)^.&set := $00000040;
  32076. end;
  32077. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  32078. begin
  32079. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32080. end;
  32081. procedure TUSB_U1IR.setSTALLIF; inline;
  32082. begin
  32083. pTDefRegMap(@Self)^.&set := $00000080;
  32084. end;
  32085. procedure TUSB_U1IR.clearSTALLIF; inline;
  32086. begin
  32087. pTDefRegMap(@Self)^.clr := $00000080;
  32088. end;
  32089. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  32090. begin
  32091. if thebits = 0 then
  32092. pTDefRegMap(@Self)^.clr := $00000080
  32093. else
  32094. pTDefRegMap(@Self)^.&set := $00000080;
  32095. end;
  32096. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  32097. begin
  32098. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32099. end;
  32100. procedure TUSB_U1IR.setDETACHIF; inline;
  32101. begin
  32102. pTDefRegMap(@Self)^.&set := $00000001;
  32103. end;
  32104. procedure TUSB_U1IR.clearDETACHIF; inline;
  32105. begin
  32106. pTDefRegMap(@Self)^.clr := $00000001;
  32107. end;
  32108. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  32109. begin
  32110. if thebits = 0 then
  32111. pTDefRegMap(@Self)^.clr := $00000001
  32112. else
  32113. pTDefRegMap(@Self)^.&set := $00000001;
  32114. end;
  32115. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  32116. begin
  32117. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32118. end;
  32119. procedure TUSB_U1IR.setURSTIF; inline;
  32120. begin
  32121. pTDefRegMap(@Self)^.&set := $00000001;
  32122. end;
  32123. procedure TUSB_U1IR.clearURSTIF; inline;
  32124. begin
  32125. pTDefRegMap(@Self)^.clr := $00000001;
  32126. end;
  32127. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  32128. begin
  32129. if thebits = 0 then
  32130. pTDefRegMap(@Self)^.clr := $00000001
  32131. else
  32132. pTDefRegMap(@Self)^.&set := $00000001;
  32133. end;
  32134. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  32135. begin
  32136. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32137. end;
  32138. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  32139. begin
  32140. pTDefRegMap(@Self)^.&set := $00000001;
  32141. end;
  32142. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  32143. begin
  32144. pTDefRegMap(@Self)^.clr := $00000001;
  32145. end;
  32146. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  32147. begin
  32148. if thebits = 0 then
  32149. pTDefRegMap(@Self)^.clr := $00000001
  32150. else
  32151. pTDefRegMap(@Self)^.&set := $00000001;
  32152. end;
  32153. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  32154. begin
  32155. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32156. end;
  32157. procedure TUSB_U1IE.setUERRIE; inline;
  32158. begin
  32159. pTDefRegMap(@Self)^.&set := $00000002;
  32160. end;
  32161. procedure TUSB_U1IE.clearUERRIE; inline;
  32162. begin
  32163. pTDefRegMap(@Self)^.clr := $00000002;
  32164. end;
  32165. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  32166. begin
  32167. if thebits = 0 then
  32168. pTDefRegMap(@Self)^.clr := $00000002
  32169. else
  32170. pTDefRegMap(@Self)^.&set := $00000002;
  32171. end;
  32172. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  32173. begin
  32174. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32175. end;
  32176. procedure TUSB_U1IE.setSOFIE; inline;
  32177. begin
  32178. pTDefRegMap(@Self)^.&set := $00000004;
  32179. end;
  32180. procedure TUSB_U1IE.clearSOFIE; inline;
  32181. begin
  32182. pTDefRegMap(@Self)^.clr := $00000004;
  32183. end;
  32184. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  32185. begin
  32186. if thebits = 0 then
  32187. pTDefRegMap(@Self)^.clr := $00000004
  32188. else
  32189. pTDefRegMap(@Self)^.&set := $00000004;
  32190. end;
  32191. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  32192. begin
  32193. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32194. end;
  32195. procedure TUSB_U1IE.setTRNIE; inline;
  32196. begin
  32197. pTDefRegMap(@Self)^.&set := $00000008;
  32198. end;
  32199. procedure TUSB_U1IE.clearTRNIE; inline;
  32200. begin
  32201. pTDefRegMap(@Self)^.clr := $00000008;
  32202. end;
  32203. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  32204. begin
  32205. if thebits = 0 then
  32206. pTDefRegMap(@Self)^.clr := $00000008
  32207. else
  32208. pTDefRegMap(@Self)^.&set := $00000008;
  32209. end;
  32210. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  32211. begin
  32212. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32213. end;
  32214. procedure TUSB_U1IE.setIDLEIE; inline;
  32215. begin
  32216. pTDefRegMap(@Self)^.&set := $00000010;
  32217. end;
  32218. procedure TUSB_U1IE.clearIDLEIE; inline;
  32219. begin
  32220. pTDefRegMap(@Self)^.clr := $00000010;
  32221. end;
  32222. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  32223. begin
  32224. if thebits = 0 then
  32225. pTDefRegMap(@Self)^.clr := $00000010
  32226. else
  32227. pTDefRegMap(@Self)^.&set := $00000010;
  32228. end;
  32229. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  32230. begin
  32231. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32232. end;
  32233. procedure TUSB_U1IE.setRESUMEIE; inline;
  32234. begin
  32235. pTDefRegMap(@Self)^.&set := $00000020;
  32236. end;
  32237. procedure TUSB_U1IE.clearRESUMEIE; inline;
  32238. begin
  32239. pTDefRegMap(@Self)^.clr := $00000020;
  32240. end;
  32241. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  32242. begin
  32243. if thebits = 0 then
  32244. pTDefRegMap(@Self)^.clr := $00000020
  32245. else
  32246. pTDefRegMap(@Self)^.&set := $00000020;
  32247. end;
  32248. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  32249. begin
  32250. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32251. end;
  32252. procedure TUSB_U1IE.setATTACHIE; inline;
  32253. begin
  32254. pTDefRegMap(@Self)^.&set := $00000040;
  32255. end;
  32256. procedure TUSB_U1IE.clearATTACHIE; inline;
  32257. begin
  32258. pTDefRegMap(@Self)^.clr := $00000040;
  32259. end;
  32260. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  32261. begin
  32262. if thebits = 0 then
  32263. pTDefRegMap(@Self)^.clr := $00000040
  32264. else
  32265. pTDefRegMap(@Self)^.&set := $00000040;
  32266. end;
  32267. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  32268. begin
  32269. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32270. end;
  32271. procedure TUSB_U1IE.setSTALLIE; inline;
  32272. begin
  32273. pTDefRegMap(@Self)^.&set := $00000080;
  32274. end;
  32275. procedure TUSB_U1IE.clearSTALLIE; inline;
  32276. begin
  32277. pTDefRegMap(@Self)^.clr := $00000080;
  32278. end;
  32279. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  32280. begin
  32281. if thebits = 0 then
  32282. pTDefRegMap(@Self)^.clr := $00000080
  32283. else
  32284. pTDefRegMap(@Self)^.&set := $00000080;
  32285. end;
  32286. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  32287. begin
  32288. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32289. end;
  32290. procedure TUSB_U1IE.setDETACHIE; inline;
  32291. begin
  32292. pTDefRegMap(@Self)^.&set := $00000001;
  32293. end;
  32294. procedure TUSB_U1IE.clearDETACHIE; inline;
  32295. begin
  32296. pTDefRegMap(@Self)^.clr := $00000001;
  32297. end;
  32298. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  32299. begin
  32300. if thebits = 0 then
  32301. pTDefRegMap(@Self)^.clr := $00000001
  32302. else
  32303. pTDefRegMap(@Self)^.&set := $00000001;
  32304. end;
  32305. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  32306. begin
  32307. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32308. end;
  32309. procedure TUSB_U1IE.setURSTIE; inline;
  32310. begin
  32311. pTDefRegMap(@Self)^.&set := $00000001;
  32312. end;
  32313. procedure TUSB_U1IE.clearURSTIE; inline;
  32314. begin
  32315. pTDefRegMap(@Self)^.clr := $00000001;
  32316. end;
  32317. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  32318. begin
  32319. if thebits = 0 then
  32320. pTDefRegMap(@Self)^.clr := $00000001
  32321. else
  32322. pTDefRegMap(@Self)^.&set := $00000001;
  32323. end;
  32324. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  32325. begin
  32326. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32327. end;
  32328. procedure TUSB_U1EIR.setPIDEF; inline;
  32329. begin
  32330. pTDefRegMap(@Self)^.&set := $00000001;
  32331. end;
  32332. procedure TUSB_U1EIR.clearPIDEF; inline;
  32333. begin
  32334. pTDefRegMap(@Self)^.clr := $00000001;
  32335. end;
  32336. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  32337. begin
  32338. if thebits = 0 then
  32339. pTDefRegMap(@Self)^.clr := $00000001
  32340. else
  32341. pTDefRegMap(@Self)^.&set := $00000001;
  32342. end;
  32343. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  32344. begin
  32345. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32346. end;
  32347. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  32348. begin
  32349. pTDefRegMap(@Self)^.&set := $00000002;
  32350. end;
  32351. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  32352. begin
  32353. pTDefRegMap(@Self)^.clr := $00000002;
  32354. end;
  32355. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  32356. begin
  32357. if thebits = 0 then
  32358. pTDefRegMap(@Self)^.clr := $00000002
  32359. else
  32360. pTDefRegMap(@Self)^.&set := $00000002;
  32361. end;
  32362. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  32363. begin
  32364. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32365. end;
  32366. procedure TUSB_U1EIR.setCRC16EF; inline;
  32367. begin
  32368. pTDefRegMap(@Self)^.&set := $00000004;
  32369. end;
  32370. procedure TUSB_U1EIR.clearCRC16EF; inline;
  32371. begin
  32372. pTDefRegMap(@Self)^.clr := $00000004;
  32373. end;
  32374. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  32375. begin
  32376. if thebits = 0 then
  32377. pTDefRegMap(@Self)^.clr := $00000004
  32378. else
  32379. pTDefRegMap(@Self)^.&set := $00000004;
  32380. end;
  32381. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  32382. begin
  32383. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32384. end;
  32385. procedure TUSB_U1EIR.setDFN8EF; inline;
  32386. begin
  32387. pTDefRegMap(@Self)^.&set := $00000008;
  32388. end;
  32389. procedure TUSB_U1EIR.clearDFN8EF; inline;
  32390. begin
  32391. pTDefRegMap(@Self)^.clr := $00000008;
  32392. end;
  32393. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  32394. begin
  32395. if thebits = 0 then
  32396. pTDefRegMap(@Self)^.clr := $00000008
  32397. else
  32398. pTDefRegMap(@Self)^.&set := $00000008;
  32399. end;
  32400. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  32401. begin
  32402. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32403. end;
  32404. procedure TUSB_U1EIR.setBTOEF; inline;
  32405. begin
  32406. pTDefRegMap(@Self)^.&set := $00000010;
  32407. end;
  32408. procedure TUSB_U1EIR.clearBTOEF; inline;
  32409. begin
  32410. pTDefRegMap(@Self)^.clr := $00000010;
  32411. end;
  32412. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  32413. begin
  32414. if thebits = 0 then
  32415. pTDefRegMap(@Self)^.clr := $00000010
  32416. else
  32417. pTDefRegMap(@Self)^.&set := $00000010;
  32418. end;
  32419. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  32420. begin
  32421. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32422. end;
  32423. procedure TUSB_U1EIR.setDMAEF; inline;
  32424. begin
  32425. pTDefRegMap(@Self)^.&set := $00000020;
  32426. end;
  32427. procedure TUSB_U1EIR.clearDMAEF; inline;
  32428. begin
  32429. pTDefRegMap(@Self)^.clr := $00000020;
  32430. end;
  32431. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  32432. begin
  32433. if thebits = 0 then
  32434. pTDefRegMap(@Self)^.clr := $00000020
  32435. else
  32436. pTDefRegMap(@Self)^.&set := $00000020;
  32437. end;
  32438. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  32439. begin
  32440. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32441. end;
  32442. procedure TUSB_U1EIR.setBMXEF; inline;
  32443. begin
  32444. pTDefRegMap(@Self)^.&set := $00000040;
  32445. end;
  32446. procedure TUSB_U1EIR.clearBMXEF; inline;
  32447. begin
  32448. pTDefRegMap(@Self)^.clr := $00000040;
  32449. end;
  32450. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  32451. begin
  32452. if thebits = 0 then
  32453. pTDefRegMap(@Self)^.clr := $00000040
  32454. else
  32455. pTDefRegMap(@Self)^.&set := $00000040;
  32456. end;
  32457. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  32458. begin
  32459. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32460. end;
  32461. procedure TUSB_U1EIR.setBTSEF; inline;
  32462. begin
  32463. pTDefRegMap(@Self)^.&set := $00000080;
  32464. end;
  32465. procedure TUSB_U1EIR.clearBTSEF; inline;
  32466. begin
  32467. pTDefRegMap(@Self)^.clr := $00000080;
  32468. end;
  32469. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  32470. begin
  32471. if thebits = 0 then
  32472. pTDefRegMap(@Self)^.clr := $00000080
  32473. else
  32474. pTDefRegMap(@Self)^.&set := $00000080;
  32475. end;
  32476. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  32477. begin
  32478. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32479. end;
  32480. procedure TUSB_U1EIR.setCRC5EF; inline;
  32481. begin
  32482. pTDefRegMap(@Self)^.&set := $00000002;
  32483. end;
  32484. procedure TUSB_U1EIR.clearCRC5EF; inline;
  32485. begin
  32486. pTDefRegMap(@Self)^.clr := $00000002;
  32487. end;
  32488. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  32489. begin
  32490. if thebits = 0 then
  32491. pTDefRegMap(@Self)^.clr := $00000002
  32492. else
  32493. pTDefRegMap(@Self)^.&set := $00000002;
  32494. end;
  32495. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  32496. begin
  32497. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32498. end;
  32499. procedure TUSB_U1EIR.setEOFEF; inline;
  32500. begin
  32501. pTDefRegMap(@Self)^.&set := $00000002;
  32502. end;
  32503. procedure TUSB_U1EIR.clearEOFEF; inline;
  32504. begin
  32505. pTDefRegMap(@Self)^.clr := $00000002;
  32506. end;
  32507. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  32508. begin
  32509. if thebits = 0 then
  32510. pTDefRegMap(@Self)^.clr := $00000002
  32511. else
  32512. pTDefRegMap(@Self)^.&set := $00000002;
  32513. end;
  32514. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  32515. begin
  32516. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32517. end;
  32518. procedure TUSB_U1EIE.setPIDEE; inline;
  32519. begin
  32520. pTDefRegMap(@Self)^.&set := $00000001;
  32521. end;
  32522. procedure TUSB_U1EIE.clearPIDEE; inline;
  32523. begin
  32524. pTDefRegMap(@Self)^.clr := $00000001;
  32525. end;
  32526. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  32527. begin
  32528. if thebits = 0 then
  32529. pTDefRegMap(@Self)^.clr := $00000001
  32530. else
  32531. pTDefRegMap(@Self)^.&set := $00000001;
  32532. end;
  32533. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  32534. begin
  32535. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32536. end;
  32537. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  32538. begin
  32539. pTDefRegMap(@Self)^.&set := $00000002;
  32540. end;
  32541. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  32542. begin
  32543. pTDefRegMap(@Self)^.clr := $00000002;
  32544. end;
  32545. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  32546. begin
  32547. if thebits = 0 then
  32548. pTDefRegMap(@Self)^.clr := $00000002
  32549. else
  32550. pTDefRegMap(@Self)^.&set := $00000002;
  32551. end;
  32552. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  32553. begin
  32554. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32555. end;
  32556. procedure TUSB_U1EIE.setCRC16EE; inline;
  32557. begin
  32558. pTDefRegMap(@Self)^.&set := $00000004;
  32559. end;
  32560. procedure TUSB_U1EIE.clearCRC16EE; inline;
  32561. begin
  32562. pTDefRegMap(@Self)^.clr := $00000004;
  32563. end;
  32564. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  32565. begin
  32566. if thebits = 0 then
  32567. pTDefRegMap(@Self)^.clr := $00000004
  32568. else
  32569. pTDefRegMap(@Self)^.&set := $00000004;
  32570. end;
  32571. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  32572. begin
  32573. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32574. end;
  32575. procedure TUSB_U1EIE.setDFN8EE; inline;
  32576. begin
  32577. pTDefRegMap(@Self)^.&set := $00000008;
  32578. end;
  32579. procedure TUSB_U1EIE.clearDFN8EE; inline;
  32580. begin
  32581. pTDefRegMap(@Self)^.clr := $00000008;
  32582. end;
  32583. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  32584. begin
  32585. if thebits = 0 then
  32586. pTDefRegMap(@Self)^.clr := $00000008
  32587. else
  32588. pTDefRegMap(@Self)^.&set := $00000008;
  32589. end;
  32590. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  32591. begin
  32592. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32593. end;
  32594. procedure TUSB_U1EIE.setBTOEE; inline;
  32595. begin
  32596. pTDefRegMap(@Self)^.&set := $00000010;
  32597. end;
  32598. procedure TUSB_U1EIE.clearBTOEE; inline;
  32599. begin
  32600. pTDefRegMap(@Self)^.clr := $00000010;
  32601. end;
  32602. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  32603. begin
  32604. if thebits = 0 then
  32605. pTDefRegMap(@Self)^.clr := $00000010
  32606. else
  32607. pTDefRegMap(@Self)^.&set := $00000010;
  32608. end;
  32609. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  32610. begin
  32611. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32612. end;
  32613. procedure TUSB_U1EIE.setDMAEE; inline;
  32614. begin
  32615. pTDefRegMap(@Self)^.&set := $00000020;
  32616. end;
  32617. procedure TUSB_U1EIE.clearDMAEE; inline;
  32618. begin
  32619. pTDefRegMap(@Self)^.clr := $00000020;
  32620. end;
  32621. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  32622. begin
  32623. if thebits = 0 then
  32624. pTDefRegMap(@Self)^.clr := $00000020
  32625. else
  32626. pTDefRegMap(@Self)^.&set := $00000020;
  32627. end;
  32628. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  32629. begin
  32630. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32631. end;
  32632. procedure TUSB_U1EIE.setBMXEE; inline;
  32633. begin
  32634. pTDefRegMap(@Self)^.&set := $00000040;
  32635. end;
  32636. procedure TUSB_U1EIE.clearBMXEE; inline;
  32637. begin
  32638. pTDefRegMap(@Self)^.clr := $00000040;
  32639. end;
  32640. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  32641. begin
  32642. if thebits = 0 then
  32643. pTDefRegMap(@Self)^.clr := $00000040
  32644. else
  32645. pTDefRegMap(@Self)^.&set := $00000040;
  32646. end;
  32647. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  32648. begin
  32649. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32650. end;
  32651. procedure TUSB_U1EIE.setBTSEE; inline;
  32652. begin
  32653. pTDefRegMap(@Self)^.&set := $00000080;
  32654. end;
  32655. procedure TUSB_U1EIE.clearBTSEE; inline;
  32656. begin
  32657. pTDefRegMap(@Self)^.clr := $00000080;
  32658. end;
  32659. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  32660. begin
  32661. if thebits = 0 then
  32662. pTDefRegMap(@Self)^.clr := $00000080
  32663. else
  32664. pTDefRegMap(@Self)^.&set := $00000080;
  32665. end;
  32666. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  32667. begin
  32668. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32669. end;
  32670. procedure TUSB_U1EIE.setCRC5EE; inline;
  32671. begin
  32672. pTDefRegMap(@Self)^.&set := $00000002;
  32673. end;
  32674. procedure TUSB_U1EIE.clearCRC5EE; inline;
  32675. begin
  32676. pTDefRegMap(@Self)^.clr := $00000002;
  32677. end;
  32678. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  32679. begin
  32680. if thebits = 0 then
  32681. pTDefRegMap(@Self)^.clr := $00000002
  32682. else
  32683. pTDefRegMap(@Self)^.&set := $00000002;
  32684. end;
  32685. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  32686. begin
  32687. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32688. end;
  32689. procedure TUSB_U1EIE.setEOFEE; inline;
  32690. begin
  32691. pTDefRegMap(@Self)^.&set := $00000002;
  32692. end;
  32693. procedure TUSB_U1EIE.clearEOFEE; inline;
  32694. begin
  32695. pTDefRegMap(@Self)^.clr := $00000002;
  32696. end;
  32697. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  32698. begin
  32699. if thebits = 0 then
  32700. pTDefRegMap(@Self)^.clr := $00000002
  32701. else
  32702. pTDefRegMap(@Self)^.&set := $00000002;
  32703. end;
  32704. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  32705. begin
  32706. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32707. end;
  32708. procedure TUSB_U1STAT.setPPBI; inline;
  32709. begin
  32710. pTDefRegMap(@Self)^.&set := $00000004;
  32711. end;
  32712. procedure TUSB_U1STAT.clearPPBI; inline;
  32713. begin
  32714. pTDefRegMap(@Self)^.clr := $00000004;
  32715. end;
  32716. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  32717. begin
  32718. if thebits = 0 then
  32719. pTDefRegMap(@Self)^.clr := $00000004
  32720. else
  32721. pTDefRegMap(@Self)^.&set := $00000004;
  32722. end;
  32723. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  32724. begin
  32725. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32726. end;
  32727. procedure TUSB_U1STAT.setDIR; inline;
  32728. begin
  32729. pTDefRegMap(@Self)^.&set := $00000008;
  32730. end;
  32731. procedure TUSB_U1STAT.clearDIR; inline;
  32732. begin
  32733. pTDefRegMap(@Self)^.clr := $00000008;
  32734. end;
  32735. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  32736. begin
  32737. if thebits = 0 then
  32738. pTDefRegMap(@Self)^.clr := $00000008
  32739. else
  32740. pTDefRegMap(@Self)^.&set := $00000008;
  32741. end;
  32742. function TUSB_U1STAT.getDIR : TBits_1; inline;
  32743. begin
  32744. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32745. end;
  32746. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  32747. begin
  32748. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  32749. end;
  32750. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  32751. begin
  32752. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  32753. end;
  32754. procedure TUSB_U1STAT.setENDPT0; inline;
  32755. begin
  32756. pTDefRegMap(@Self)^.&set := $00000010;
  32757. end;
  32758. procedure TUSB_U1STAT.clearENDPT0; inline;
  32759. begin
  32760. pTDefRegMap(@Self)^.clr := $00000010;
  32761. end;
  32762. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  32763. begin
  32764. if thebits = 0 then
  32765. pTDefRegMap(@Self)^.clr := $00000010
  32766. else
  32767. pTDefRegMap(@Self)^.&set := $00000010;
  32768. end;
  32769. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  32770. begin
  32771. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32772. end;
  32773. procedure TUSB_U1STAT.setENDPT1; inline;
  32774. begin
  32775. pTDefRegMap(@Self)^.&set := $00000020;
  32776. end;
  32777. procedure TUSB_U1STAT.clearENDPT1; inline;
  32778. begin
  32779. pTDefRegMap(@Self)^.clr := $00000020;
  32780. end;
  32781. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  32782. begin
  32783. if thebits = 0 then
  32784. pTDefRegMap(@Self)^.clr := $00000020
  32785. else
  32786. pTDefRegMap(@Self)^.&set := $00000020;
  32787. end;
  32788. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  32789. begin
  32790. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32791. end;
  32792. procedure TUSB_U1STAT.setENDPT2; inline;
  32793. begin
  32794. pTDefRegMap(@Self)^.&set := $00000040;
  32795. end;
  32796. procedure TUSB_U1STAT.clearENDPT2; inline;
  32797. begin
  32798. pTDefRegMap(@Self)^.clr := $00000040;
  32799. end;
  32800. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  32801. begin
  32802. if thebits = 0 then
  32803. pTDefRegMap(@Self)^.clr := $00000040
  32804. else
  32805. pTDefRegMap(@Self)^.&set := $00000040;
  32806. end;
  32807. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  32808. begin
  32809. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32810. end;
  32811. procedure TUSB_U1STAT.setENDPT3; inline;
  32812. begin
  32813. pTDefRegMap(@Self)^.&set := $00000080;
  32814. end;
  32815. procedure TUSB_U1STAT.clearENDPT3; inline;
  32816. begin
  32817. pTDefRegMap(@Self)^.clr := $00000080;
  32818. end;
  32819. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  32820. begin
  32821. if thebits = 0 then
  32822. pTDefRegMap(@Self)^.clr := $00000080
  32823. else
  32824. pTDefRegMap(@Self)^.&set := $00000080;
  32825. end;
  32826. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  32827. begin
  32828. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32829. end;
  32830. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  32831. begin
  32832. pTDefRegMap(@Self)^.&set := $00000001;
  32833. end;
  32834. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  32835. begin
  32836. pTDefRegMap(@Self)^.clr := $00000001;
  32837. end;
  32838. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  32839. begin
  32840. if thebits = 0 then
  32841. pTDefRegMap(@Self)^.clr := $00000001
  32842. else
  32843. pTDefRegMap(@Self)^.&set := $00000001;
  32844. end;
  32845. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  32846. begin
  32847. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32848. end;
  32849. procedure TUSB_U1CON.setPPBRST; inline;
  32850. begin
  32851. pTDefRegMap(@Self)^.&set := $00000002;
  32852. end;
  32853. procedure TUSB_U1CON.clearPPBRST; inline;
  32854. begin
  32855. pTDefRegMap(@Self)^.clr := $00000002;
  32856. end;
  32857. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  32858. begin
  32859. if thebits = 0 then
  32860. pTDefRegMap(@Self)^.clr := $00000002
  32861. else
  32862. pTDefRegMap(@Self)^.&set := $00000002;
  32863. end;
  32864. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  32865. begin
  32866. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32867. end;
  32868. procedure TUSB_U1CON.setRESUME; inline;
  32869. begin
  32870. pTDefRegMap(@Self)^.&set := $00000004;
  32871. end;
  32872. procedure TUSB_U1CON.clearRESUME; inline;
  32873. begin
  32874. pTDefRegMap(@Self)^.clr := $00000004;
  32875. end;
  32876. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  32877. begin
  32878. if thebits = 0 then
  32879. pTDefRegMap(@Self)^.clr := $00000004
  32880. else
  32881. pTDefRegMap(@Self)^.&set := $00000004;
  32882. end;
  32883. function TUSB_U1CON.getRESUME : TBits_1; inline;
  32884. begin
  32885. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32886. end;
  32887. procedure TUSB_U1CON.setHOSTEN; inline;
  32888. begin
  32889. pTDefRegMap(@Self)^.&set := $00000008;
  32890. end;
  32891. procedure TUSB_U1CON.clearHOSTEN; inline;
  32892. begin
  32893. pTDefRegMap(@Self)^.clr := $00000008;
  32894. end;
  32895. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  32896. begin
  32897. if thebits = 0 then
  32898. pTDefRegMap(@Self)^.clr := $00000008
  32899. else
  32900. pTDefRegMap(@Self)^.&set := $00000008;
  32901. end;
  32902. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  32903. begin
  32904. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32905. end;
  32906. procedure TUSB_U1CON.setUSBRST; inline;
  32907. begin
  32908. pTDefRegMap(@Self)^.&set := $00000010;
  32909. end;
  32910. procedure TUSB_U1CON.clearUSBRST; inline;
  32911. begin
  32912. pTDefRegMap(@Self)^.clr := $00000010;
  32913. end;
  32914. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  32915. begin
  32916. if thebits = 0 then
  32917. pTDefRegMap(@Self)^.clr := $00000010
  32918. else
  32919. pTDefRegMap(@Self)^.&set := $00000010;
  32920. end;
  32921. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  32922. begin
  32923. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32924. end;
  32925. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  32926. begin
  32927. pTDefRegMap(@Self)^.&set := $00000020;
  32928. end;
  32929. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  32930. begin
  32931. pTDefRegMap(@Self)^.clr := $00000020;
  32932. end;
  32933. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  32934. begin
  32935. if thebits = 0 then
  32936. pTDefRegMap(@Self)^.clr := $00000020
  32937. else
  32938. pTDefRegMap(@Self)^.&set := $00000020;
  32939. end;
  32940. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  32941. begin
  32942. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32943. end;
  32944. procedure TUSB_U1CON.setSE0; inline;
  32945. begin
  32946. pTDefRegMap(@Self)^.&set := $00000040;
  32947. end;
  32948. procedure TUSB_U1CON.clearSE0; inline;
  32949. begin
  32950. pTDefRegMap(@Self)^.clr := $00000040;
  32951. end;
  32952. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  32953. begin
  32954. if thebits = 0 then
  32955. pTDefRegMap(@Self)^.clr := $00000040
  32956. else
  32957. pTDefRegMap(@Self)^.&set := $00000040;
  32958. end;
  32959. function TUSB_U1CON.getSE0 : TBits_1; inline;
  32960. begin
  32961. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32962. end;
  32963. procedure TUSB_U1CON.setJSTATE; inline;
  32964. begin
  32965. pTDefRegMap(@Self)^.&set := $00000080;
  32966. end;
  32967. procedure TUSB_U1CON.clearJSTATE; inline;
  32968. begin
  32969. pTDefRegMap(@Self)^.clr := $00000080;
  32970. end;
  32971. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  32972. begin
  32973. if thebits = 0 then
  32974. pTDefRegMap(@Self)^.clr := $00000080
  32975. else
  32976. pTDefRegMap(@Self)^.&set := $00000080;
  32977. end;
  32978. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  32979. begin
  32980. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32981. end;
  32982. procedure TUSB_U1CON.setUSBEN; inline;
  32983. begin
  32984. pTDefRegMap(@Self)^.&set := $00000001;
  32985. end;
  32986. procedure TUSB_U1CON.clearUSBEN; inline;
  32987. begin
  32988. pTDefRegMap(@Self)^.clr := $00000001;
  32989. end;
  32990. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  32991. begin
  32992. if thebits = 0 then
  32993. pTDefRegMap(@Self)^.clr := $00000001
  32994. else
  32995. pTDefRegMap(@Self)^.&set := $00000001;
  32996. end;
  32997. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  32998. begin
  32999. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33000. end;
  33001. procedure TUSB_U1CON.setSOFEN; inline;
  33002. begin
  33003. pTDefRegMap(@Self)^.&set := $00000001;
  33004. end;
  33005. procedure TUSB_U1CON.clearSOFEN; inline;
  33006. begin
  33007. pTDefRegMap(@Self)^.clr := $00000001;
  33008. end;
  33009. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  33010. begin
  33011. if thebits = 0 then
  33012. pTDefRegMap(@Self)^.clr := $00000001
  33013. else
  33014. pTDefRegMap(@Self)^.&set := $00000001;
  33015. end;
  33016. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  33017. begin
  33018. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33019. end;
  33020. procedure TUSB_U1CON.setPKTDIS; inline;
  33021. begin
  33022. pTDefRegMap(@Self)^.&set := $00000020;
  33023. end;
  33024. procedure TUSB_U1CON.clearPKTDIS; inline;
  33025. begin
  33026. pTDefRegMap(@Self)^.clr := $00000020;
  33027. end;
  33028. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  33029. begin
  33030. if thebits = 0 then
  33031. pTDefRegMap(@Self)^.clr := $00000020
  33032. else
  33033. pTDefRegMap(@Self)^.&set := $00000020;
  33034. end;
  33035. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  33036. begin
  33037. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33038. end;
  33039. procedure TUSB_U1CON.setTOKBUSY; inline;
  33040. begin
  33041. pTDefRegMap(@Self)^.&set := $00000020;
  33042. end;
  33043. procedure TUSB_U1CON.clearTOKBUSY; inline;
  33044. begin
  33045. pTDefRegMap(@Self)^.clr := $00000020;
  33046. end;
  33047. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  33048. begin
  33049. if thebits = 0 then
  33050. pTDefRegMap(@Self)^.clr := $00000020
  33051. else
  33052. pTDefRegMap(@Self)^.&set := $00000020;
  33053. end;
  33054. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  33055. begin
  33056. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33057. end;
  33058. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  33059. begin
  33060. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  33061. end;
  33062. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  33063. begin
  33064. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  33065. end;
  33066. procedure TUSB_U1ADDR.setLSPDEN; inline;
  33067. begin
  33068. pTDefRegMap(@Self)^.&set := $00000080;
  33069. end;
  33070. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  33071. begin
  33072. pTDefRegMap(@Self)^.clr := $00000080;
  33073. end;
  33074. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  33075. begin
  33076. if thebits = 0 then
  33077. pTDefRegMap(@Self)^.clr := $00000080
  33078. else
  33079. pTDefRegMap(@Self)^.&set := $00000080;
  33080. end;
  33081. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  33082. begin
  33083. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33084. end;
  33085. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  33086. begin
  33087. pTDefRegMap(@Self)^.&set := $00000001;
  33088. end;
  33089. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  33090. begin
  33091. pTDefRegMap(@Self)^.clr := $00000001;
  33092. end;
  33093. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  33094. begin
  33095. if thebits = 0 then
  33096. pTDefRegMap(@Self)^.clr := $00000001
  33097. else
  33098. pTDefRegMap(@Self)^.&set := $00000001;
  33099. end;
  33100. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  33101. begin
  33102. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33103. end;
  33104. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  33105. begin
  33106. pTDefRegMap(@Self)^.&set := $00000002;
  33107. end;
  33108. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  33109. begin
  33110. pTDefRegMap(@Self)^.clr := $00000002;
  33111. end;
  33112. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  33113. begin
  33114. if thebits = 0 then
  33115. pTDefRegMap(@Self)^.clr := $00000002
  33116. else
  33117. pTDefRegMap(@Self)^.&set := $00000002;
  33118. end;
  33119. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  33120. begin
  33121. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33122. end;
  33123. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  33124. begin
  33125. pTDefRegMap(@Self)^.&set := $00000004;
  33126. end;
  33127. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  33128. begin
  33129. pTDefRegMap(@Self)^.clr := $00000004;
  33130. end;
  33131. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  33132. begin
  33133. if thebits = 0 then
  33134. pTDefRegMap(@Self)^.clr := $00000004
  33135. else
  33136. pTDefRegMap(@Self)^.&set := $00000004;
  33137. end;
  33138. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  33139. begin
  33140. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33141. end;
  33142. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  33143. begin
  33144. pTDefRegMap(@Self)^.&set := $00000008;
  33145. end;
  33146. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  33147. begin
  33148. pTDefRegMap(@Self)^.clr := $00000008;
  33149. end;
  33150. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  33151. begin
  33152. if thebits = 0 then
  33153. pTDefRegMap(@Self)^.clr := $00000008
  33154. else
  33155. pTDefRegMap(@Self)^.&set := $00000008;
  33156. end;
  33157. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  33158. begin
  33159. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33160. end;
  33161. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  33162. begin
  33163. pTDefRegMap(@Self)^.&set := $00000010;
  33164. end;
  33165. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  33166. begin
  33167. pTDefRegMap(@Self)^.clr := $00000010;
  33168. end;
  33169. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  33170. begin
  33171. if thebits = 0 then
  33172. pTDefRegMap(@Self)^.clr := $00000010
  33173. else
  33174. pTDefRegMap(@Self)^.&set := $00000010;
  33175. end;
  33176. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  33177. begin
  33178. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33179. end;
  33180. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  33181. begin
  33182. pTDefRegMap(@Self)^.&set := $00000020;
  33183. end;
  33184. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  33185. begin
  33186. pTDefRegMap(@Self)^.clr := $00000020;
  33187. end;
  33188. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  33189. begin
  33190. if thebits = 0 then
  33191. pTDefRegMap(@Self)^.clr := $00000020
  33192. else
  33193. pTDefRegMap(@Self)^.&set := $00000020;
  33194. end;
  33195. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  33196. begin
  33197. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33198. end;
  33199. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  33200. begin
  33201. pTDefRegMap(@Self)^.&set := $00000040;
  33202. end;
  33203. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  33204. begin
  33205. pTDefRegMap(@Self)^.clr := $00000040;
  33206. end;
  33207. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  33208. begin
  33209. if thebits = 0 then
  33210. pTDefRegMap(@Self)^.clr := $00000040
  33211. else
  33212. pTDefRegMap(@Self)^.&set := $00000040;
  33213. end;
  33214. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  33215. begin
  33216. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33217. end;
  33218. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  33219. begin
  33220. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  33221. end;
  33222. function TUSB_U1FRML.getFRML : TBits_8; inline;
  33223. begin
  33224. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  33225. end;
  33226. procedure TUSB_U1FRML.setFRM0; inline;
  33227. begin
  33228. pTDefRegMap(@Self)^.&set := $00000001;
  33229. end;
  33230. procedure TUSB_U1FRML.clearFRM0; inline;
  33231. begin
  33232. pTDefRegMap(@Self)^.clr := $00000001;
  33233. end;
  33234. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  33235. begin
  33236. if thebits = 0 then
  33237. pTDefRegMap(@Self)^.clr := $00000001
  33238. else
  33239. pTDefRegMap(@Self)^.&set := $00000001;
  33240. end;
  33241. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  33242. begin
  33243. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33244. end;
  33245. procedure TUSB_U1FRML.setFRM1; inline;
  33246. begin
  33247. pTDefRegMap(@Self)^.&set := $00000002;
  33248. end;
  33249. procedure TUSB_U1FRML.clearFRM1; inline;
  33250. begin
  33251. pTDefRegMap(@Self)^.clr := $00000002;
  33252. end;
  33253. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  33254. begin
  33255. if thebits = 0 then
  33256. pTDefRegMap(@Self)^.clr := $00000002
  33257. else
  33258. pTDefRegMap(@Self)^.&set := $00000002;
  33259. end;
  33260. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  33261. begin
  33262. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33263. end;
  33264. procedure TUSB_U1FRML.setFRM2; inline;
  33265. begin
  33266. pTDefRegMap(@Self)^.&set := $00000004;
  33267. end;
  33268. procedure TUSB_U1FRML.clearFRM2; inline;
  33269. begin
  33270. pTDefRegMap(@Self)^.clr := $00000004;
  33271. end;
  33272. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  33273. begin
  33274. if thebits = 0 then
  33275. pTDefRegMap(@Self)^.clr := $00000004
  33276. else
  33277. pTDefRegMap(@Self)^.&set := $00000004;
  33278. end;
  33279. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  33280. begin
  33281. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33282. end;
  33283. procedure TUSB_U1FRML.setFRM3; inline;
  33284. begin
  33285. pTDefRegMap(@Self)^.&set := $00000008;
  33286. end;
  33287. procedure TUSB_U1FRML.clearFRM3; inline;
  33288. begin
  33289. pTDefRegMap(@Self)^.clr := $00000008;
  33290. end;
  33291. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  33292. begin
  33293. if thebits = 0 then
  33294. pTDefRegMap(@Self)^.clr := $00000008
  33295. else
  33296. pTDefRegMap(@Self)^.&set := $00000008;
  33297. end;
  33298. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  33299. begin
  33300. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33301. end;
  33302. procedure TUSB_U1FRML.setFRM4; inline;
  33303. begin
  33304. pTDefRegMap(@Self)^.&set := $00000010;
  33305. end;
  33306. procedure TUSB_U1FRML.clearFRM4; inline;
  33307. begin
  33308. pTDefRegMap(@Self)^.clr := $00000010;
  33309. end;
  33310. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  33311. begin
  33312. if thebits = 0 then
  33313. pTDefRegMap(@Self)^.clr := $00000010
  33314. else
  33315. pTDefRegMap(@Self)^.&set := $00000010;
  33316. end;
  33317. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  33318. begin
  33319. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33320. end;
  33321. procedure TUSB_U1FRML.setFRM5; inline;
  33322. begin
  33323. pTDefRegMap(@Self)^.&set := $00000020;
  33324. end;
  33325. procedure TUSB_U1FRML.clearFRM5; inline;
  33326. begin
  33327. pTDefRegMap(@Self)^.clr := $00000020;
  33328. end;
  33329. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  33330. begin
  33331. if thebits = 0 then
  33332. pTDefRegMap(@Self)^.clr := $00000020
  33333. else
  33334. pTDefRegMap(@Self)^.&set := $00000020;
  33335. end;
  33336. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  33337. begin
  33338. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33339. end;
  33340. procedure TUSB_U1FRML.setFRM6; inline;
  33341. begin
  33342. pTDefRegMap(@Self)^.&set := $00000040;
  33343. end;
  33344. procedure TUSB_U1FRML.clearFRM6; inline;
  33345. begin
  33346. pTDefRegMap(@Self)^.clr := $00000040;
  33347. end;
  33348. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  33349. begin
  33350. if thebits = 0 then
  33351. pTDefRegMap(@Self)^.clr := $00000040
  33352. else
  33353. pTDefRegMap(@Self)^.&set := $00000040;
  33354. end;
  33355. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  33356. begin
  33357. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33358. end;
  33359. procedure TUSB_U1FRML.setFRM7; inline;
  33360. begin
  33361. pTDefRegMap(@Self)^.&set := $00000080;
  33362. end;
  33363. procedure TUSB_U1FRML.clearFRM7; inline;
  33364. begin
  33365. pTDefRegMap(@Self)^.clr := $00000080;
  33366. end;
  33367. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  33368. begin
  33369. if thebits = 0 then
  33370. pTDefRegMap(@Self)^.clr := $00000080
  33371. else
  33372. pTDefRegMap(@Self)^.&set := $00000080;
  33373. end;
  33374. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  33375. begin
  33376. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33377. end;
  33378. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  33379. begin
  33380. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  33381. end;
  33382. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  33383. begin
  33384. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  33385. end;
  33386. procedure TUSB_U1FRMH.setFRM8; inline;
  33387. begin
  33388. pTDefRegMap(@Self)^.&set := $00000001;
  33389. end;
  33390. procedure TUSB_U1FRMH.clearFRM8; inline;
  33391. begin
  33392. pTDefRegMap(@Self)^.clr := $00000001;
  33393. end;
  33394. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  33395. begin
  33396. if thebits = 0 then
  33397. pTDefRegMap(@Self)^.clr := $00000001
  33398. else
  33399. pTDefRegMap(@Self)^.&set := $00000001;
  33400. end;
  33401. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  33402. begin
  33403. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33404. end;
  33405. procedure TUSB_U1FRMH.setFRM9; inline;
  33406. begin
  33407. pTDefRegMap(@Self)^.&set := $00000002;
  33408. end;
  33409. procedure TUSB_U1FRMH.clearFRM9; inline;
  33410. begin
  33411. pTDefRegMap(@Self)^.clr := $00000002;
  33412. end;
  33413. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  33414. begin
  33415. if thebits = 0 then
  33416. pTDefRegMap(@Self)^.clr := $00000002
  33417. else
  33418. pTDefRegMap(@Self)^.&set := $00000002;
  33419. end;
  33420. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  33421. begin
  33422. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33423. end;
  33424. procedure TUSB_U1FRMH.setFRM10; inline;
  33425. begin
  33426. pTDefRegMap(@Self)^.&set := $00000004;
  33427. end;
  33428. procedure TUSB_U1FRMH.clearFRM10; inline;
  33429. begin
  33430. pTDefRegMap(@Self)^.clr := $00000004;
  33431. end;
  33432. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  33433. begin
  33434. if thebits = 0 then
  33435. pTDefRegMap(@Self)^.clr := $00000004
  33436. else
  33437. pTDefRegMap(@Self)^.&set := $00000004;
  33438. end;
  33439. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  33440. begin
  33441. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33442. end;
  33443. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  33444. begin
  33445. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  33446. end;
  33447. function TUSB_U1TOK.getEP : TBits_4; inline;
  33448. begin
  33449. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  33450. end;
  33451. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  33452. begin
  33453. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  33454. end;
  33455. function TUSB_U1TOK.getPID : TBits_4; inline;
  33456. begin
  33457. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  33458. end;
  33459. procedure TUSB_U1TOK.setEP0; inline;
  33460. begin
  33461. pTDefRegMap(@Self)^.&set := $00000001;
  33462. end;
  33463. procedure TUSB_U1TOK.clearEP0; inline;
  33464. begin
  33465. pTDefRegMap(@Self)^.clr := $00000001;
  33466. end;
  33467. procedure TUSB_U1TOK.setEP0(thebits : TBits_1); inline;
  33468. begin
  33469. if thebits = 0 then
  33470. pTDefRegMap(@Self)^.clr := $00000001
  33471. else
  33472. pTDefRegMap(@Self)^.&set := $00000001;
  33473. end;
  33474. function TUSB_U1TOK.getEP0 : TBits_1; inline;
  33475. begin
  33476. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33477. end;
  33478. procedure TUSB_U1TOK.setEP1; inline;
  33479. begin
  33480. pTDefRegMap(@Self)^.&set := $00000002;
  33481. end;
  33482. procedure TUSB_U1TOK.clearEP1; inline;
  33483. begin
  33484. pTDefRegMap(@Self)^.clr := $00000002;
  33485. end;
  33486. procedure TUSB_U1TOK.setEP1(thebits : TBits_1); inline;
  33487. begin
  33488. if thebits = 0 then
  33489. pTDefRegMap(@Self)^.clr := $00000002
  33490. else
  33491. pTDefRegMap(@Self)^.&set := $00000002;
  33492. end;
  33493. function TUSB_U1TOK.getEP1 : TBits_1; inline;
  33494. begin
  33495. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33496. end;
  33497. procedure TUSB_U1TOK.setEP2; inline;
  33498. begin
  33499. pTDefRegMap(@Self)^.&set := $00000004;
  33500. end;
  33501. procedure TUSB_U1TOK.clearEP2; inline;
  33502. begin
  33503. pTDefRegMap(@Self)^.clr := $00000004;
  33504. end;
  33505. procedure TUSB_U1TOK.setEP2(thebits : TBits_1); inline;
  33506. begin
  33507. if thebits = 0 then
  33508. pTDefRegMap(@Self)^.clr := $00000004
  33509. else
  33510. pTDefRegMap(@Self)^.&set := $00000004;
  33511. end;
  33512. function TUSB_U1TOK.getEP2 : TBits_1; inline;
  33513. begin
  33514. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33515. end;
  33516. procedure TUSB_U1TOK.setEP3; inline;
  33517. begin
  33518. pTDefRegMap(@Self)^.&set := $00000008;
  33519. end;
  33520. procedure TUSB_U1TOK.clearEP3; inline;
  33521. begin
  33522. pTDefRegMap(@Self)^.clr := $00000008;
  33523. end;
  33524. procedure TUSB_U1TOK.setEP3(thebits : TBits_1); inline;
  33525. begin
  33526. if thebits = 0 then
  33527. pTDefRegMap(@Self)^.clr := $00000008
  33528. else
  33529. pTDefRegMap(@Self)^.&set := $00000008;
  33530. end;
  33531. function TUSB_U1TOK.getEP3 : TBits_1; inline;
  33532. begin
  33533. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33534. end;
  33535. procedure TUSB_U1TOK.setPID0; inline;
  33536. begin
  33537. pTDefRegMap(@Self)^.&set := $00000010;
  33538. end;
  33539. procedure TUSB_U1TOK.clearPID0; inline;
  33540. begin
  33541. pTDefRegMap(@Self)^.clr := $00000010;
  33542. end;
  33543. procedure TUSB_U1TOK.setPID0(thebits : TBits_1); inline;
  33544. begin
  33545. if thebits = 0 then
  33546. pTDefRegMap(@Self)^.clr := $00000010
  33547. else
  33548. pTDefRegMap(@Self)^.&set := $00000010;
  33549. end;
  33550. function TUSB_U1TOK.getPID0 : TBits_1; inline;
  33551. begin
  33552. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33553. end;
  33554. procedure TUSB_U1TOK.setPID1; inline;
  33555. begin
  33556. pTDefRegMap(@Self)^.&set := $00000020;
  33557. end;
  33558. procedure TUSB_U1TOK.clearPID1; inline;
  33559. begin
  33560. pTDefRegMap(@Self)^.clr := $00000020;
  33561. end;
  33562. procedure TUSB_U1TOK.setPID1(thebits : TBits_1); inline;
  33563. begin
  33564. if thebits = 0 then
  33565. pTDefRegMap(@Self)^.clr := $00000020
  33566. else
  33567. pTDefRegMap(@Self)^.&set := $00000020;
  33568. end;
  33569. function TUSB_U1TOK.getPID1 : TBits_1; inline;
  33570. begin
  33571. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33572. end;
  33573. procedure TUSB_U1TOK.setPID2; inline;
  33574. begin
  33575. pTDefRegMap(@Self)^.&set := $00000040;
  33576. end;
  33577. procedure TUSB_U1TOK.clearPID2; inline;
  33578. begin
  33579. pTDefRegMap(@Self)^.clr := $00000040;
  33580. end;
  33581. procedure TUSB_U1TOK.setPID2(thebits : TBits_1); inline;
  33582. begin
  33583. if thebits = 0 then
  33584. pTDefRegMap(@Self)^.clr := $00000040
  33585. else
  33586. pTDefRegMap(@Self)^.&set := $00000040;
  33587. end;
  33588. function TUSB_U1TOK.getPID2 : TBits_1; inline;
  33589. begin
  33590. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33591. end;
  33592. procedure TUSB_U1TOK.setPID3; inline;
  33593. begin
  33594. pTDefRegMap(@Self)^.&set := $00000080;
  33595. end;
  33596. procedure TUSB_U1TOK.clearPID3; inline;
  33597. begin
  33598. pTDefRegMap(@Self)^.clr := $00000080;
  33599. end;
  33600. procedure TUSB_U1TOK.setPID3(thebits : TBits_1); inline;
  33601. begin
  33602. if thebits = 0 then
  33603. pTDefRegMap(@Self)^.clr := $00000080
  33604. else
  33605. pTDefRegMap(@Self)^.&set := $00000080;
  33606. end;
  33607. function TUSB_U1TOK.getPID3 : TBits_1; inline;
  33608. begin
  33609. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33610. end;
  33611. procedure TPORTA_ANSELA.setANSA0; inline;
  33612. begin
  33613. pTDefRegMap(@Self)^.&set := $00000001;
  33614. end;
  33615. procedure TPORTA_ANSELA.clearANSA0; inline;
  33616. begin
  33617. pTDefRegMap(@Self)^.clr := $00000001;
  33618. end;
  33619. procedure TPORTA_ANSELA.setANSA0(thebits : TBits_1); inline;
  33620. begin
  33621. if thebits = 0 then
  33622. pTDefRegMap(@Self)^.clr := $00000001
  33623. else
  33624. pTDefRegMap(@Self)^.&set := $00000001;
  33625. end;
  33626. function TPORTA_ANSELA.getANSA0 : TBits_1; inline;
  33627. begin
  33628. getANSA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33629. end;
  33630. procedure TPORTA_ANSELA.setANSA1; inline;
  33631. begin
  33632. pTDefRegMap(@Self)^.&set := $00000002;
  33633. end;
  33634. procedure TPORTA_ANSELA.clearANSA1; inline;
  33635. begin
  33636. pTDefRegMap(@Self)^.clr := $00000002;
  33637. end;
  33638. procedure TPORTA_ANSELA.setANSA1(thebits : TBits_1); inline;
  33639. begin
  33640. if thebits = 0 then
  33641. pTDefRegMap(@Self)^.clr := $00000002
  33642. else
  33643. pTDefRegMap(@Self)^.&set := $00000002;
  33644. end;
  33645. function TPORTA_ANSELA.getANSA1 : TBits_1; inline;
  33646. begin
  33647. getANSA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33648. end;
  33649. procedure TPORTA_ANSELA.setw(thebits : TBits_32); inline;
  33650. begin
  33651. pTDefRegMap(@Self)^.val := thebits;
  33652. end;
  33653. function TPORTA_ANSELA.getw : TBits_32; inline;
  33654. begin
  33655. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33656. end;
  33657. procedure TPORTA_TRISA.setTRISA0; inline;
  33658. begin
  33659. pTDefRegMap(@Self)^.&set := $00000001;
  33660. end;
  33661. procedure TPORTA_TRISA.clearTRISA0; inline;
  33662. begin
  33663. pTDefRegMap(@Self)^.clr := $00000001;
  33664. end;
  33665. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  33666. begin
  33667. if thebits = 0 then
  33668. pTDefRegMap(@Self)^.clr := $00000001
  33669. else
  33670. pTDefRegMap(@Self)^.&set := $00000001;
  33671. end;
  33672. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  33673. begin
  33674. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33675. end;
  33676. procedure TPORTA_TRISA.setTRISA1; inline;
  33677. begin
  33678. pTDefRegMap(@Self)^.&set := $00000002;
  33679. end;
  33680. procedure TPORTA_TRISA.clearTRISA1; inline;
  33681. begin
  33682. pTDefRegMap(@Self)^.clr := $00000002;
  33683. end;
  33684. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  33685. begin
  33686. if thebits = 0 then
  33687. pTDefRegMap(@Self)^.clr := $00000002
  33688. else
  33689. pTDefRegMap(@Self)^.&set := $00000002;
  33690. end;
  33691. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  33692. begin
  33693. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33694. end;
  33695. procedure TPORTA_TRISA.setTRISA2; inline;
  33696. begin
  33697. pTDefRegMap(@Self)^.&set := $00000004;
  33698. end;
  33699. procedure TPORTA_TRISA.clearTRISA2; inline;
  33700. begin
  33701. pTDefRegMap(@Self)^.clr := $00000004;
  33702. end;
  33703. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  33704. begin
  33705. if thebits = 0 then
  33706. pTDefRegMap(@Self)^.clr := $00000004
  33707. else
  33708. pTDefRegMap(@Self)^.&set := $00000004;
  33709. end;
  33710. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  33711. begin
  33712. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33713. end;
  33714. procedure TPORTA_TRISA.setTRISA3; inline;
  33715. begin
  33716. pTDefRegMap(@Self)^.&set := $00000008;
  33717. end;
  33718. procedure TPORTA_TRISA.clearTRISA3; inline;
  33719. begin
  33720. pTDefRegMap(@Self)^.clr := $00000008;
  33721. end;
  33722. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  33723. begin
  33724. if thebits = 0 then
  33725. pTDefRegMap(@Self)^.clr := $00000008
  33726. else
  33727. pTDefRegMap(@Self)^.&set := $00000008;
  33728. end;
  33729. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  33730. begin
  33731. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33732. end;
  33733. procedure TPORTA_TRISA.setTRISA4; inline;
  33734. begin
  33735. pTDefRegMap(@Self)^.&set := $00000010;
  33736. end;
  33737. procedure TPORTA_TRISA.clearTRISA4; inline;
  33738. begin
  33739. pTDefRegMap(@Self)^.clr := $00000010;
  33740. end;
  33741. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  33742. begin
  33743. if thebits = 0 then
  33744. pTDefRegMap(@Self)^.clr := $00000010
  33745. else
  33746. pTDefRegMap(@Self)^.&set := $00000010;
  33747. end;
  33748. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  33749. begin
  33750. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33751. end;
  33752. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  33753. begin
  33754. pTDefRegMap(@Self)^.val := thebits;
  33755. end;
  33756. function TPORTA_TRISA.getw : TBits_32; inline;
  33757. begin
  33758. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33759. end;
  33760. procedure TPORTA_PORTA.setRA0; inline;
  33761. begin
  33762. pTDefRegMap(@Self)^.&set := $00000001;
  33763. end;
  33764. procedure TPORTA_PORTA.clearRA0; inline;
  33765. begin
  33766. pTDefRegMap(@Self)^.clr := $00000001;
  33767. end;
  33768. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  33769. begin
  33770. if thebits = 0 then
  33771. pTDefRegMap(@Self)^.clr := $00000001
  33772. else
  33773. pTDefRegMap(@Self)^.&set := $00000001;
  33774. end;
  33775. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  33776. begin
  33777. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33778. end;
  33779. procedure TPORTA_PORTA.setRA1; inline;
  33780. begin
  33781. pTDefRegMap(@Self)^.&set := $00000002;
  33782. end;
  33783. procedure TPORTA_PORTA.clearRA1; inline;
  33784. begin
  33785. pTDefRegMap(@Self)^.clr := $00000002;
  33786. end;
  33787. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  33788. begin
  33789. if thebits = 0 then
  33790. pTDefRegMap(@Self)^.clr := $00000002
  33791. else
  33792. pTDefRegMap(@Self)^.&set := $00000002;
  33793. end;
  33794. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  33795. begin
  33796. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33797. end;
  33798. procedure TPORTA_PORTA.setRA2; inline;
  33799. begin
  33800. pTDefRegMap(@Self)^.&set := $00000004;
  33801. end;
  33802. procedure TPORTA_PORTA.clearRA2; inline;
  33803. begin
  33804. pTDefRegMap(@Self)^.clr := $00000004;
  33805. end;
  33806. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  33807. begin
  33808. if thebits = 0 then
  33809. pTDefRegMap(@Self)^.clr := $00000004
  33810. else
  33811. pTDefRegMap(@Self)^.&set := $00000004;
  33812. end;
  33813. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  33814. begin
  33815. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33816. end;
  33817. procedure TPORTA_PORTA.setRA3; inline;
  33818. begin
  33819. pTDefRegMap(@Self)^.&set := $00000008;
  33820. end;
  33821. procedure TPORTA_PORTA.clearRA3; inline;
  33822. begin
  33823. pTDefRegMap(@Self)^.clr := $00000008;
  33824. end;
  33825. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  33826. begin
  33827. if thebits = 0 then
  33828. pTDefRegMap(@Self)^.clr := $00000008
  33829. else
  33830. pTDefRegMap(@Self)^.&set := $00000008;
  33831. end;
  33832. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  33833. begin
  33834. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33835. end;
  33836. procedure TPORTA_PORTA.setRA4; inline;
  33837. begin
  33838. pTDefRegMap(@Self)^.&set := $00000010;
  33839. end;
  33840. procedure TPORTA_PORTA.clearRA4; inline;
  33841. begin
  33842. pTDefRegMap(@Self)^.clr := $00000010;
  33843. end;
  33844. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  33845. begin
  33846. if thebits = 0 then
  33847. pTDefRegMap(@Self)^.clr := $00000010
  33848. else
  33849. pTDefRegMap(@Self)^.&set := $00000010;
  33850. end;
  33851. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  33852. begin
  33853. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33854. end;
  33855. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  33856. begin
  33857. pTDefRegMap(@Self)^.val := thebits;
  33858. end;
  33859. function TPORTA_PORTA.getw : TBits_32; inline;
  33860. begin
  33861. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33862. end;
  33863. procedure TPORTA_LATA.setLATA0; inline;
  33864. begin
  33865. pTDefRegMap(@Self)^.&set := $00000001;
  33866. end;
  33867. procedure TPORTA_LATA.clearLATA0; inline;
  33868. begin
  33869. pTDefRegMap(@Self)^.clr := $00000001;
  33870. end;
  33871. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  33872. begin
  33873. if thebits = 0 then
  33874. pTDefRegMap(@Self)^.clr := $00000001
  33875. else
  33876. pTDefRegMap(@Self)^.&set := $00000001;
  33877. end;
  33878. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  33879. begin
  33880. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33881. end;
  33882. procedure TPORTA_LATA.setLATA1; inline;
  33883. begin
  33884. pTDefRegMap(@Self)^.&set := $00000002;
  33885. end;
  33886. procedure TPORTA_LATA.clearLATA1; inline;
  33887. begin
  33888. pTDefRegMap(@Self)^.clr := $00000002;
  33889. end;
  33890. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  33891. begin
  33892. if thebits = 0 then
  33893. pTDefRegMap(@Self)^.clr := $00000002
  33894. else
  33895. pTDefRegMap(@Self)^.&set := $00000002;
  33896. end;
  33897. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  33898. begin
  33899. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33900. end;
  33901. procedure TPORTA_LATA.setLATA2; inline;
  33902. begin
  33903. pTDefRegMap(@Self)^.&set := $00000004;
  33904. end;
  33905. procedure TPORTA_LATA.clearLATA2; inline;
  33906. begin
  33907. pTDefRegMap(@Self)^.clr := $00000004;
  33908. end;
  33909. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  33910. begin
  33911. if thebits = 0 then
  33912. pTDefRegMap(@Self)^.clr := $00000004
  33913. else
  33914. pTDefRegMap(@Self)^.&set := $00000004;
  33915. end;
  33916. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  33917. begin
  33918. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33919. end;
  33920. procedure TPORTA_LATA.setLATA3; inline;
  33921. begin
  33922. pTDefRegMap(@Self)^.&set := $00000008;
  33923. end;
  33924. procedure TPORTA_LATA.clearLATA3; inline;
  33925. begin
  33926. pTDefRegMap(@Self)^.clr := $00000008;
  33927. end;
  33928. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  33929. begin
  33930. if thebits = 0 then
  33931. pTDefRegMap(@Self)^.clr := $00000008
  33932. else
  33933. pTDefRegMap(@Self)^.&set := $00000008;
  33934. end;
  33935. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  33936. begin
  33937. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33938. end;
  33939. procedure TPORTA_LATA.setLATA4; inline;
  33940. begin
  33941. pTDefRegMap(@Self)^.&set := $00000010;
  33942. end;
  33943. procedure TPORTA_LATA.clearLATA4; inline;
  33944. begin
  33945. pTDefRegMap(@Self)^.clr := $00000010;
  33946. end;
  33947. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  33948. begin
  33949. if thebits = 0 then
  33950. pTDefRegMap(@Self)^.clr := $00000010
  33951. else
  33952. pTDefRegMap(@Self)^.&set := $00000010;
  33953. end;
  33954. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  33955. begin
  33956. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33957. end;
  33958. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  33959. begin
  33960. pTDefRegMap(@Self)^.val := thebits;
  33961. end;
  33962. function TPORTA_LATA.getw : TBits_32; inline;
  33963. begin
  33964. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33965. end;
  33966. procedure TPORTA_ODCA.setODCA0; inline;
  33967. begin
  33968. pTDefRegMap(@Self)^.&set := $00000001;
  33969. end;
  33970. procedure TPORTA_ODCA.clearODCA0; inline;
  33971. begin
  33972. pTDefRegMap(@Self)^.clr := $00000001;
  33973. end;
  33974. procedure TPORTA_ODCA.setODCA0(thebits : TBits_1); inline;
  33975. begin
  33976. if thebits = 0 then
  33977. pTDefRegMap(@Self)^.clr := $00000001
  33978. else
  33979. pTDefRegMap(@Self)^.&set := $00000001;
  33980. end;
  33981. function TPORTA_ODCA.getODCA0 : TBits_1; inline;
  33982. begin
  33983. getODCA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33984. end;
  33985. procedure TPORTA_ODCA.setODCA1; inline;
  33986. begin
  33987. pTDefRegMap(@Self)^.&set := $00000002;
  33988. end;
  33989. procedure TPORTA_ODCA.clearODCA1; inline;
  33990. begin
  33991. pTDefRegMap(@Self)^.clr := $00000002;
  33992. end;
  33993. procedure TPORTA_ODCA.setODCA1(thebits : TBits_1); inline;
  33994. begin
  33995. if thebits = 0 then
  33996. pTDefRegMap(@Self)^.clr := $00000002
  33997. else
  33998. pTDefRegMap(@Self)^.&set := $00000002;
  33999. end;
  34000. function TPORTA_ODCA.getODCA1 : TBits_1; inline;
  34001. begin
  34002. getODCA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34003. end;
  34004. procedure TPORTA_ODCA.setODCA2; inline;
  34005. begin
  34006. pTDefRegMap(@Self)^.&set := $00000004;
  34007. end;
  34008. procedure TPORTA_ODCA.clearODCA2; inline;
  34009. begin
  34010. pTDefRegMap(@Self)^.clr := $00000004;
  34011. end;
  34012. procedure TPORTA_ODCA.setODCA2(thebits : TBits_1); inline;
  34013. begin
  34014. if thebits = 0 then
  34015. pTDefRegMap(@Self)^.clr := $00000004
  34016. else
  34017. pTDefRegMap(@Self)^.&set := $00000004;
  34018. end;
  34019. function TPORTA_ODCA.getODCA2 : TBits_1; inline;
  34020. begin
  34021. getODCA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34022. end;
  34023. procedure TPORTA_ODCA.setODCA3; inline;
  34024. begin
  34025. pTDefRegMap(@Self)^.&set := $00000008;
  34026. end;
  34027. procedure TPORTA_ODCA.clearODCA3; inline;
  34028. begin
  34029. pTDefRegMap(@Self)^.clr := $00000008;
  34030. end;
  34031. procedure TPORTA_ODCA.setODCA3(thebits : TBits_1); inline;
  34032. begin
  34033. if thebits = 0 then
  34034. pTDefRegMap(@Self)^.clr := $00000008
  34035. else
  34036. pTDefRegMap(@Self)^.&set := $00000008;
  34037. end;
  34038. function TPORTA_ODCA.getODCA3 : TBits_1; inline;
  34039. begin
  34040. getODCA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34041. end;
  34042. procedure TPORTA_ODCA.setODCA4; inline;
  34043. begin
  34044. pTDefRegMap(@Self)^.&set := $00000010;
  34045. end;
  34046. procedure TPORTA_ODCA.clearODCA4; inline;
  34047. begin
  34048. pTDefRegMap(@Self)^.clr := $00000010;
  34049. end;
  34050. procedure TPORTA_ODCA.setODCA4(thebits : TBits_1); inline;
  34051. begin
  34052. if thebits = 0 then
  34053. pTDefRegMap(@Self)^.clr := $00000010
  34054. else
  34055. pTDefRegMap(@Self)^.&set := $00000010;
  34056. end;
  34057. function TPORTA_ODCA.getODCA4 : TBits_1; inline;
  34058. begin
  34059. getODCA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34060. end;
  34061. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  34062. begin
  34063. pTDefRegMap(@Self)^.val := thebits;
  34064. end;
  34065. function TPORTA_ODCA.getw : TBits_32; inline;
  34066. begin
  34067. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34068. end;
  34069. procedure TPORTA_CNPUA.setCNPUA0; inline;
  34070. begin
  34071. pTDefRegMap(@Self)^.&set := $00000001;
  34072. end;
  34073. procedure TPORTA_CNPUA.clearCNPUA0; inline;
  34074. begin
  34075. pTDefRegMap(@Self)^.clr := $00000001;
  34076. end;
  34077. procedure TPORTA_CNPUA.setCNPUA0(thebits : TBits_1); inline;
  34078. begin
  34079. if thebits = 0 then
  34080. pTDefRegMap(@Self)^.clr := $00000001
  34081. else
  34082. pTDefRegMap(@Self)^.&set := $00000001;
  34083. end;
  34084. function TPORTA_CNPUA.getCNPUA0 : TBits_1; inline;
  34085. begin
  34086. getCNPUA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34087. end;
  34088. procedure TPORTA_CNPUA.setCNPUA1; inline;
  34089. begin
  34090. pTDefRegMap(@Self)^.&set := $00000002;
  34091. end;
  34092. procedure TPORTA_CNPUA.clearCNPUA1; inline;
  34093. begin
  34094. pTDefRegMap(@Self)^.clr := $00000002;
  34095. end;
  34096. procedure TPORTA_CNPUA.setCNPUA1(thebits : TBits_1); inline;
  34097. begin
  34098. if thebits = 0 then
  34099. pTDefRegMap(@Self)^.clr := $00000002
  34100. else
  34101. pTDefRegMap(@Self)^.&set := $00000002;
  34102. end;
  34103. function TPORTA_CNPUA.getCNPUA1 : TBits_1; inline;
  34104. begin
  34105. getCNPUA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34106. end;
  34107. procedure TPORTA_CNPUA.setCNPUA2; inline;
  34108. begin
  34109. pTDefRegMap(@Self)^.&set := $00000004;
  34110. end;
  34111. procedure TPORTA_CNPUA.clearCNPUA2; inline;
  34112. begin
  34113. pTDefRegMap(@Self)^.clr := $00000004;
  34114. end;
  34115. procedure TPORTA_CNPUA.setCNPUA2(thebits : TBits_1); inline;
  34116. begin
  34117. if thebits = 0 then
  34118. pTDefRegMap(@Self)^.clr := $00000004
  34119. else
  34120. pTDefRegMap(@Self)^.&set := $00000004;
  34121. end;
  34122. function TPORTA_CNPUA.getCNPUA2 : TBits_1; inline;
  34123. begin
  34124. getCNPUA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34125. end;
  34126. procedure TPORTA_CNPUA.setCNPUA3; inline;
  34127. begin
  34128. pTDefRegMap(@Self)^.&set := $00000008;
  34129. end;
  34130. procedure TPORTA_CNPUA.clearCNPUA3; inline;
  34131. begin
  34132. pTDefRegMap(@Self)^.clr := $00000008;
  34133. end;
  34134. procedure TPORTA_CNPUA.setCNPUA3(thebits : TBits_1); inline;
  34135. begin
  34136. if thebits = 0 then
  34137. pTDefRegMap(@Self)^.clr := $00000008
  34138. else
  34139. pTDefRegMap(@Self)^.&set := $00000008;
  34140. end;
  34141. function TPORTA_CNPUA.getCNPUA3 : TBits_1; inline;
  34142. begin
  34143. getCNPUA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34144. end;
  34145. procedure TPORTA_CNPUA.setCNPUA4; inline;
  34146. begin
  34147. pTDefRegMap(@Self)^.&set := $00000010;
  34148. end;
  34149. procedure TPORTA_CNPUA.clearCNPUA4; inline;
  34150. begin
  34151. pTDefRegMap(@Self)^.clr := $00000010;
  34152. end;
  34153. procedure TPORTA_CNPUA.setCNPUA4(thebits : TBits_1); inline;
  34154. begin
  34155. if thebits = 0 then
  34156. pTDefRegMap(@Self)^.clr := $00000010
  34157. else
  34158. pTDefRegMap(@Self)^.&set := $00000010;
  34159. end;
  34160. function TPORTA_CNPUA.getCNPUA4 : TBits_1; inline;
  34161. begin
  34162. getCNPUA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34163. end;
  34164. procedure TPORTA_CNPUA.setw(thebits : TBits_32); inline;
  34165. begin
  34166. pTDefRegMap(@Self)^.val := thebits;
  34167. end;
  34168. function TPORTA_CNPUA.getw : TBits_32; inline;
  34169. begin
  34170. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34171. end;
  34172. procedure TPORTA_CNPDA.setCNPDA0; inline;
  34173. begin
  34174. pTDefRegMap(@Self)^.&set := $00000001;
  34175. end;
  34176. procedure TPORTA_CNPDA.clearCNPDA0; inline;
  34177. begin
  34178. pTDefRegMap(@Self)^.clr := $00000001;
  34179. end;
  34180. procedure TPORTA_CNPDA.setCNPDA0(thebits : TBits_1); inline;
  34181. begin
  34182. if thebits = 0 then
  34183. pTDefRegMap(@Self)^.clr := $00000001
  34184. else
  34185. pTDefRegMap(@Self)^.&set := $00000001;
  34186. end;
  34187. function TPORTA_CNPDA.getCNPDA0 : TBits_1; inline;
  34188. begin
  34189. getCNPDA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34190. end;
  34191. procedure TPORTA_CNPDA.setCNPDA1; inline;
  34192. begin
  34193. pTDefRegMap(@Self)^.&set := $00000002;
  34194. end;
  34195. procedure TPORTA_CNPDA.clearCNPDA1; inline;
  34196. begin
  34197. pTDefRegMap(@Self)^.clr := $00000002;
  34198. end;
  34199. procedure TPORTA_CNPDA.setCNPDA1(thebits : TBits_1); inline;
  34200. begin
  34201. if thebits = 0 then
  34202. pTDefRegMap(@Self)^.clr := $00000002
  34203. else
  34204. pTDefRegMap(@Self)^.&set := $00000002;
  34205. end;
  34206. function TPORTA_CNPDA.getCNPDA1 : TBits_1; inline;
  34207. begin
  34208. getCNPDA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34209. end;
  34210. procedure TPORTA_CNPDA.setCNPDA2; inline;
  34211. begin
  34212. pTDefRegMap(@Self)^.&set := $00000004;
  34213. end;
  34214. procedure TPORTA_CNPDA.clearCNPDA2; inline;
  34215. begin
  34216. pTDefRegMap(@Self)^.clr := $00000004;
  34217. end;
  34218. procedure TPORTA_CNPDA.setCNPDA2(thebits : TBits_1); inline;
  34219. begin
  34220. if thebits = 0 then
  34221. pTDefRegMap(@Self)^.clr := $00000004
  34222. else
  34223. pTDefRegMap(@Self)^.&set := $00000004;
  34224. end;
  34225. function TPORTA_CNPDA.getCNPDA2 : TBits_1; inline;
  34226. begin
  34227. getCNPDA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34228. end;
  34229. procedure TPORTA_CNPDA.setCNPDA3; inline;
  34230. begin
  34231. pTDefRegMap(@Self)^.&set := $00000008;
  34232. end;
  34233. procedure TPORTA_CNPDA.clearCNPDA3; inline;
  34234. begin
  34235. pTDefRegMap(@Self)^.clr := $00000008;
  34236. end;
  34237. procedure TPORTA_CNPDA.setCNPDA3(thebits : TBits_1); inline;
  34238. begin
  34239. if thebits = 0 then
  34240. pTDefRegMap(@Self)^.clr := $00000008
  34241. else
  34242. pTDefRegMap(@Self)^.&set := $00000008;
  34243. end;
  34244. function TPORTA_CNPDA.getCNPDA3 : TBits_1; inline;
  34245. begin
  34246. getCNPDA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34247. end;
  34248. procedure TPORTA_CNPDA.setCNPDA4; inline;
  34249. begin
  34250. pTDefRegMap(@Self)^.&set := $00000010;
  34251. end;
  34252. procedure TPORTA_CNPDA.clearCNPDA4; inline;
  34253. begin
  34254. pTDefRegMap(@Self)^.clr := $00000010;
  34255. end;
  34256. procedure TPORTA_CNPDA.setCNPDA4(thebits : TBits_1); inline;
  34257. begin
  34258. if thebits = 0 then
  34259. pTDefRegMap(@Self)^.clr := $00000010
  34260. else
  34261. pTDefRegMap(@Self)^.&set := $00000010;
  34262. end;
  34263. function TPORTA_CNPDA.getCNPDA4 : TBits_1; inline;
  34264. begin
  34265. getCNPDA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34266. end;
  34267. procedure TPORTA_CNPDA.setw(thebits : TBits_32); inline;
  34268. begin
  34269. pTDefRegMap(@Self)^.val := thebits;
  34270. end;
  34271. function TPORTA_CNPDA.getw : TBits_32; inline;
  34272. begin
  34273. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34274. end;
  34275. procedure TPORTA_CNCONA.setSIDL; inline;
  34276. begin
  34277. pTDefRegMap(@Self)^.&set := $00002000;
  34278. end;
  34279. procedure TPORTA_CNCONA.clearSIDL; inline;
  34280. begin
  34281. pTDefRegMap(@Self)^.clr := $00002000;
  34282. end;
  34283. procedure TPORTA_CNCONA.setSIDL(thebits : TBits_1); inline;
  34284. begin
  34285. if thebits = 0 then
  34286. pTDefRegMap(@Self)^.clr := $00002000
  34287. else
  34288. pTDefRegMap(@Self)^.&set := $00002000;
  34289. end;
  34290. function TPORTA_CNCONA.getSIDL : TBits_1; inline;
  34291. begin
  34292. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34293. end;
  34294. procedure TPORTA_CNCONA.setON; inline;
  34295. begin
  34296. pTDefRegMap(@Self)^.&set := $00008000;
  34297. end;
  34298. procedure TPORTA_CNCONA.clearON; inline;
  34299. begin
  34300. pTDefRegMap(@Self)^.clr := $00008000;
  34301. end;
  34302. procedure TPORTA_CNCONA.setON(thebits : TBits_1); inline;
  34303. begin
  34304. if thebits = 0 then
  34305. pTDefRegMap(@Self)^.clr := $00008000
  34306. else
  34307. pTDefRegMap(@Self)^.&set := $00008000;
  34308. end;
  34309. function TPORTA_CNCONA.getON : TBits_1; inline;
  34310. begin
  34311. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34312. end;
  34313. procedure TPORTA_CNCONA.setw(thebits : TBits_32); inline;
  34314. begin
  34315. pTDefRegMap(@Self)^.val := thebits;
  34316. end;
  34317. function TPORTA_CNCONA.getw : TBits_32; inline;
  34318. begin
  34319. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34320. end;
  34321. procedure TPORTA_CNENA.setCNIEA0; inline;
  34322. begin
  34323. pTDefRegMap(@Self)^.&set := $00000001;
  34324. end;
  34325. procedure TPORTA_CNENA.clearCNIEA0; inline;
  34326. begin
  34327. pTDefRegMap(@Self)^.clr := $00000001;
  34328. end;
  34329. procedure TPORTA_CNENA.setCNIEA0(thebits : TBits_1); inline;
  34330. begin
  34331. if thebits = 0 then
  34332. pTDefRegMap(@Self)^.clr := $00000001
  34333. else
  34334. pTDefRegMap(@Self)^.&set := $00000001;
  34335. end;
  34336. function TPORTA_CNENA.getCNIEA0 : TBits_1; inline;
  34337. begin
  34338. getCNIEA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34339. end;
  34340. procedure TPORTA_CNENA.setCNIEA1; inline;
  34341. begin
  34342. pTDefRegMap(@Self)^.&set := $00000002;
  34343. end;
  34344. procedure TPORTA_CNENA.clearCNIEA1; inline;
  34345. begin
  34346. pTDefRegMap(@Self)^.clr := $00000002;
  34347. end;
  34348. procedure TPORTA_CNENA.setCNIEA1(thebits : TBits_1); inline;
  34349. begin
  34350. if thebits = 0 then
  34351. pTDefRegMap(@Self)^.clr := $00000002
  34352. else
  34353. pTDefRegMap(@Self)^.&set := $00000002;
  34354. end;
  34355. function TPORTA_CNENA.getCNIEA1 : TBits_1; inline;
  34356. begin
  34357. getCNIEA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34358. end;
  34359. procedure TPORTA_CNENA.setCNIEA2; inline;
  34360. begin
  34361. pTDefRegMap(@Self)^.&set := $00000004;
  34362. end;
  34363. procedure TPORTA_CNENA.clearCNIEA2; inline;
  34364. begin
  34365. pTDefRegMap(@Self)^.clr := $00000004;
  34366. end;
  34367. procedure TPORTA_CNENA.setCNIEA2(thebits : TBits_1); inline;
  34368. begin
  34369. if thebits = 0 then
  34370. pTDefRegMap(@Self)^.clr := $00000004
  34371. else
  34372. pTDefRegMap(@Self)^.&set := $00000004;
  34373. end;
  34374. function TPORTA_CNENA.getCNIEA2 : TBits_1; inline;
  34375. begin
  34376. getCNIEA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34377. end;
  34378. procedure TPORTA_CNENA.setCNIEA3; inline;
  34379. begin
  34380. pTDefRegMap(@Self)^.&set := $00000008;
  34381. end;
  34382. procedure TPORTA_CNENA.clearCNIEA3; inline;
  34383. begin
  34384. pTDefRegMap(@Self)^.clr := $00000008;
  34385. end;
  34386. procedure TPORTA_CNENA.setCNIEA3(thebits : TBits_1); inline;
  34387. begin
  34388. if thebits = 0 then
  34389. pTDefRegMap(@Self)^.clr := $00000008
  34390. else
  34391. pTDefRegMap(@Self)^.&set := $00000008;
  34392. end;
  34393. function TPORTA_CNENA.getCNIEA3 : TBits_1; inline;
  34394. begin
  34395. getCNIEA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34396. end;
  34397. procedure TPORTA_CNENA.setCNIEA4; inline;
  34398. begin
  34399. pTDefRegMap(@Self)^.&set := $00000010;
  34400. end;
  34401. procedure TPORTA_CNENA.clearCNIEA4; inline;
  34402. begin
  34403. pTDefRegMap(@Self)^.clr := $00000010;
  34404. end;
  34405. procedure TPORTA_CNENA.setCNIEA4(thebits : TBits_1); inline;
  34406. begin
  34407. if thebits = 0 then
  34408. pTDefRegMap(@Self)^.clr := $00000010
  34409. else
  34410. pTDefRegMap(@Self)^.&set := $00000010;
  34411. end;
  34412. function TPORTA_CNENA.getCNIEA4 : TBits_1; inline;
  34413. begin
  34414. getCNIEA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34415. end;
  34416. procedure TPORTA_CNENA.setw(thebits : TBits_32); inline;
  34417. begin
  34418. pTDefRegMap(@Self)^.val := thebits;
  34419. end;
  34420. function TPORTA_CNENA.getw : TBits_32; inline;
  34421. begin
  34422. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34423. end;
  34424. procedure TPORTA_CNSTATA.setCNSTATA0; inline;
  34425. begin
  34426. pTDefRegMap(@Self)^.&set := $00000001;
  34427. end;
  34428. procedure TPORTA_CNSTATA.clearCNSTATA0; inline;
  34429. begin
  34430. pTDefRegMap(@Self)^.clr := $00000001;
  34431. end;
  34432. procedure TPORTA_CNSTATA.setCNSTATA0(thebits : TBits_1); inline;
  34433. begin
  34434. if thebits = 0 then
  34435. pTDefRegMap(@Self)^.clr := $00000001
  34436. else
  34437. pTDefRegMap(@Self)^.&set := $00000001;
  34438. end;
  34439. function TPORTA_CNSTATA.getCNSTATA0 : TBits_1; inline;
  34440. begin
  34441. getCNSTATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34442. end;
  34443. procedure TPORTA_CNSTATA.setCNSTATA1; inline;
  34444. begin
  34445. pTDefRegMap(@Self)^.&set := $00000002;
  34446. end;
  34447. procedure TPORTA_CNSTATA.clearCNSTATA1; inline;
  34448. begin
  34449. pTDefRegMap(@Self)^.clr := $00000002;
  34450. end;
  34451. procedure TPORTA_CNSTATA.setCNSTATA1(thebits : TBits_1); inline;
  34452. begin
  34453. if thebits = 0 then
  34454. pTDefRegMap(@Self)^.clr := $00000002
  34455. else
  34456. pTDefRegMap(@Self)^.&set := $00000002;
  34457. end;
  34458. function TPORTA_CNSTATA.getCNSTATA1 : TBits_1; inline;
  34459. begin
  34460. getCNSTATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34461. end;
  34462. procedure TPORTA_CNSTATA.setCNSTATA2; inline;
  34463. begin
  34464. pTDefRegMap(@Self)^.&set := $00000004;
  34465. end;
  34466. procedure TPORTA_CNSTATA.clearCNSTATA2; inline;
  34467. begin
  34468. pTDefRegMap(@Self)^.clr := $00000004;
  34469. end;
  34470. procedure TPORTA_CNSTATA.setCNSTATA2(thebits : TBits_1); inline;
  34471. begin
  34472. if thebits = 0 then
  34473. pTDefRegMap(@Self)^.clr := $00000004
  34474. else
  34475. pTDefRegMap(@Self)^.&set := $00000004;
  34476. end;
  34477. function TPORTA_CNSTATA.getCNSTATA2 : TBits_1; inline;
  34478. begin
  34479. getCNSTATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34480. end;
  34481. procedure TPORTA_CNSTATA.setCNSTATA3; inline;
  34482. begin
  34483. pTDefRegMap(@Self)^.&set := $00000008;
  34484. end;
  34485. procedure TPORTA_CNSTATA.clearCNSTATA3; inline;
  34486. begin
  34487. pTDefRegMap(@Self)^.clr := $00000008;
  34488. end;
  34489. procedure TPORTA_CNSTATA.setCNSTATA3(thebits : TBits_1); inline;
  34490. begin
  34491. if thebits = 0 then
  34492. pTDefRegMap(@Self)^.clr := $00000008
  34493. else
  34494. pTDefRegMap(@Self)^.&set := $00000008;
  34495. end;
  34496. function TPORTA_CNSTATA.getCNSTATA3 : TBits_1; inline;
  34497. begin
  34498. getCNSTATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34499. end;
  34500. procedure TPORTA_CNSTATA.setCNSTATA4; inline;
  34501. begin
  34502. pTDefRegMap(@Self)^.&set := $00000010;
  34503. end;
  34504. procedure TPORTA_CNSTATA.clearCNSTATA4; inline;
  34505. begin
  34506. pTDefRegMap(@Self)^.clr := $00000010;
  34507. end;
  34508. procedure TPORTA_CNSTATA.setCNSTATA4(thebits : TBits_1); inline;
  34509. begin
  34510. if thebits = 0 then
  34511. pTDefRegMap(@Self)^.clr := $00000010
  34512. else
  34513. pTDefRegMap(@Self)^.&set := $00000010;
  34514. end;
  34515. function TPORTA_CNSTATA.getCNSTATA4 : TBits_1; inline;
  34516. begin
  34517. getCNSTATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34518. end;
  34519. procedure TPORTA_CNSTATA.setw(thebits : TBits_32); inline;
  34520. begin
  34521. pTDefRegMap(@Self)^.val := thebits;
  34522. end;
  34523. function TPORTA_CNSTATA.getw : TBits_32; inline;
  34524. begin
  34525. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34526. end;
  34527. procedure TPORTB_ANSELB.setANSB0; inline;
  34528. begin
  34529. pTDefRegMap(@Self)^.&set := $00000001;
  34530. end;
  34531. procedure TPORTB_ANSELB.clearANSB0; inline;
  34532. begin
  34533. pTDefRegMap(@Self)^.clr := $00000001;
  34534. end;
  34535. procedure TPORTB_ANSELB.setANSB0(thebits : TBits_1); inline;
  34536. begin
  34537. if thebits = 0 then
  34538. pTDefRegMap(@Self)^.clr := $00000001
  34539. else
  34540. pTDefRegMap(@Self)^.&set := $00000001;
  34541. end;
  34542. function TPORTB_ANSELB.getANSB0 : TBits_1; inline;
  34543. begin
  34544. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34545. end;
  34546. procedure TPORTB_ANSELB.setANSB1; inline;
  34547. begin
  34548. pTDefRegMap(@Self)^.&set := $00000002;
  34549. end;
  34550. procedure TPORTB_ANSELB.clearANSB1; inline;
  34551. begin
  34552. pTDefRegMap(@Self)^.clr := $00000002;
  34553. end;
  34554. procedure TPORTB_ANSELB.setANSB1(thebits : TBits_1); inline;
  34555. begin
  34556. if thebits = 0 then
  34557. pTDefRegMap(@Self)^.clr := $00000002
  34558. else
  34559. pTDefRegMap(@Self)^.&set := $00000002;
  34560. end;
  34561. function TPORTB_ANSELB.getANSB1 : TBits_1; inline;
  34562. begin
  34563. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34564. end;
  34565. procedure TPORTB_ANSELB.setANSB2; inline;
  34566. begin
  34567. pTDefRegMap(@Self)^.&set := $00000004;
  34568. end;
  34569. procedure TPORTB_ANSELB.clearANSB2; inline;
  34570. begin
  34571. pTDefRegMap(@Self)^.clr := $00000004;
  34572. end;
  34573. procedure TPORTB_ANSELB.setANSB2(thebits : TBits_1); inline;
  34574. begin
  34575. if thebits = 0 then
  34576. pTDefRegMap(@Self)^.clr := $00000004
  34577. else
  34578. pTDefRegMap(@Self)^.&set := $00000004;
  34579. end;
  34580. function TPORTB_ANSELB.getANSB2 : TBits_1; inline;
  34581. begin
  34582. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34583. end;
  34584. procedure TPORTB_ANSELB.setANSB3; inline;
  34585. begin
  34586. pTDefRegMap(@Self)^.&set := $00000008;
  34587. end;
  34588. procedure TPORTB_ANSELB.clearANSB3; inline;
  34589. begin
  34590. pTDefRegMap(@Self)^.clr := $00000008;
  34591. end;
  34592. procedure TPORTB_ANSELB.setANSB3(thebits : TBits_1); inline;
  34593. begin
  34594. if thebits = 0 then
  34595. pTDefRegMap(@Self)^.clr := $00000008
  34596. else
  34597. pTDefRegMap(@Self)^.&set := $00000008;
  34598. end;
  34599. function TPORTB_ANSELB.getANSB3 : TBits_1; inline;
  34600. begin
  34601. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34602. end;
  34603. procedure TPORTB_ANSELB.setANSB13; inline;
  34604. begin
  34605. pTDefRegMap(@Self)^.&set := $00002000;
  34606. end;
  34607. procedure TPORTB_ANSELB.clearANSB13; inline;
  34608. begin
  34609. pTDefRegMap(@Self)^.clr := $00002000;
  34610. end;
  34611. procedure TPORTB_ANSELB.setANSB13(thebits : TBits_1); inline;
  34612. begin
  34613. if thebits = 0 then
  34614. pTDefRegMap(@Self)^.clr := $00002000
  34615. else
  34616. pTDefRegMap(@Self)^.&set := $00002000;
  34617. end;
  34618. function TPORTB_ANSELB.getANSB13 : TBits_1; inline;
  34619. begin
  34620. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34621. end;
  34622. procedure TPORTB_ANSELB.setANSB14; inline;
  34623. begin
  34624. pTDefRegMap(@Self)^.&set := $00004000;
  34625. end;
  34626. procedure TPORTB_ANSELB.clearANSB14; inline;
  34627. begin
  34628. pTDefRegMap(@Self)^.clr := $00004000;
  34629. end;
  34630. procedure TPORTB_ANSELB.setANSB14(thebits : TBits_1); inline;
  34631. begin
  34632. if thebits = 0 then
  34633. pTDefRegMap(@Self)^.clr := $00004000
  34634. else
  34635. pTDefRegMap(@Self)^.&set := $00004000;
  34636. end;
  34637. function TPORTB_ANSELB.getANSB14 : TBits_1; inline;
  34638. begin
  34639. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34640. end;
  34641. procedure TPORTB_ANSELB.setANSB15; inline;
  34642. begin
  34643. pTDefRegMap(@Self)^.&set := $00008000;
  34644. end;
  34645. procedure TPORTB_ANSELB.clearANSB15; inline;
  34646. begin
  34647. pTDefRegMap(@Self)^.clr := $00008000;
  34648. end;
  34649. procedure TPORTB_ANSELB.setANSB15(thebits : TBits_1); inline;
  34650. begin
  34651. if thebits = 0 then
  34652. pTDefRegMap(@Self)^.clr := $00008000
  34653. else
  34654. pTDefRegMap(@Self)^.&set := $00008000;
  34655. end;
  34656. function TPORTB_ANSELB.getANSB15 : TBits_1; inline;
  34657. begin
  34658. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34659. end;
  34660. procedure TPORTB_ANSELB.setw(thebits : TBits_32); inline;
  34661. begin
  34662. pTDefRegMap(@Self)^.val := thebits;
  34663. end;
  34664. function TPORTB_ANSELB.getw : TBits_32; inline;
  34665. begin
  34666. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34667. end;
  34668. procedure TPORTB_TRISB.setTRISB0; inline;
  34669. begin
  34670. pTDefRegMap(@Self)^.&set := $00000001;
  34671. end;
  34672. procedure TPORTB_TRISB.clearTRISB0; inline;
  34673. begin
  34674. pTDefRegMap(@Self)^.clr := $00000001;
  34675. end;
  34676. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  34677. begin
  34678. if thebits = 0 then
  34679. pTDefRegMap(@Self)^.clr := $00000001
  34680. else
  34681. pTDefRegMap(@Self)^.&set := $00000001;
  34682. end;
  34683. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  34684. begin
  34685. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34686. end;
  34687. procedure TPORTB_TRISB.setTRISB1; inline;
  34688. begin
  34689. pTDefRegMap(@Self)^.&set := $00000002;
  34690. end;
  34691. procedure TPORTB_TRISB.clearTRISB1; inline;
  34692. begin
  34693. pTDefRegMap(@Self)^.clr := $00000002;
  34694. end;
  34695. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  34696. begin
  34697. if thebits = 0 then
  34698. pTDefRegMap(@Self)^.clr := $00000002
  34699. else
  34700. pTDefRegMap(@Self)^.&set := $00000002;
  34701. end;
  34702. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  34703. begin
  34704. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34705. end;
  34706. procedure TPORTB_TRISB.setTRISB2; inline;
  34707. begin
  34708. pTDefRegMap(@Self)^.&set := $00000004;
  34709. end;
  34710. procedure TPORTB_TRISB.clearTRISB2; inline;
  34711. begin
  34712. pTDefRegMap(@Self)^.clr := $00000004;
  34713. end;
  34714. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  34715. begin
  34716. if thebits = 0 then
  34717. pTDefRegMap(@Self)^.clr := $00000004
  34718. else
  34719. pTDefRegMap(@Self)^.&set := $00000004;
  34720. end;
  34721. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  34722. begin
  34723. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34724. end;
  34725. procedure TPORTB_TRISB.setTRISB3; inline;
  34726. begin
  34727. pTDefRegMap(@Self)^.&set := $00000008;
  34728. end;
  34729. procedure TPORTB_TRISB.clearTRISB3; inline;
  34730. begin
  34731. pTDefRegMap(@Self)^.clr := $00000008;
  34732. end;
  34733. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  34734. begin
  34735. if thebits = 0 then
  34736. pTDefRegMap(@Self)^.clr := $00000008
  34737. else
  34738. pTDefRegMap(@Self)^.&set := $00000008;
  34739. end;
  34740. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  34741. begin
  34742. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34743. end;
  34744. procedure TPORTB_TRISB.setTRISB4; inline;
  34745. begin
  34746. pTDefRegMap(@Self)^.&set := $00000010;
  34747. end;
  34748. procedure TPORTB_TRISB.clearTRISB4; inline;
  34749. begin
  34750. pTDefRegMap(@Self)^.clr := $00000010;
  34751. end;
  34752. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  34753. begin
  34754. if thebits = 0 then
  34755. pTDefRegMap(@Self)^.clr := $00000010
  34756. else
  34757. pTDefRegMap(@Self)^.&set := $00000010;
  34758. end;
  34759. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  34760. begin
  34761. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34762. end;
  34763. procedure TPORTB_TRISB.setTRISB5; inline;
  34764. begin
  34765. pTDefRegMap(@Self)^.&set := $00000020;
  34766. end;
  34767. procedure TPORTB_TRISB.clearTRISB5; inline;
  34768. begin
  34769. pTDefRegMap(@Self)^.clr := $00000020;
  34770. end;
  34771. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  34772. begin
  34773. if thebits = 0 then
  34774. pTDefRegMap(@Self)^.clr := $00000020
  34775. else
  34776. pTDefRegMap(@Self)^.&set := $00000020;
  34777. end;
  34778. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  34779. begin
  34780. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34781. end;
  34782. procedure TPORTB_TRISB.setTRISB7; inline;
  34783. begin
  34784. pTDefRegMap(@Self)^.&set := $00000080;
  34785. end;
  34786. procedure TPORTB_TRISB.clearTRISB7; inline;
  34787. begin
  34788. pTDefRegMap(@Self)^.clr := $00000080;
  34789. end;
  34790. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  34791. begin
  34792. if thebits = 0 then
  34793. pTDefRegMap(@Self)^.clr := $00000080
  34794. else
  34795. pTDefRegMap(@Self)^.&set := $00000080;
  34796. end;
  34797. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  34798. begin
  34799. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34800. end;
  34801. procedure TPORTB_TRISB.setTRISB8; inline;
  34802. begin
  34803. pTDefRegMap(@Self)^.&set := $00000100;
  34804. end;
  34805. procedure TPORTB_TRISB.clearTRISB8; inline;
  34806. begin
  34807. pTDefRegMap(@Self)^.clr := $00000100;
  34808. end;
  34809. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  34810. begin
  34811. if thebits = 0 then
  34812. pTDefRegMap(@Self)^.clr := $00000100
  34813. else
  34814. pTDefRegMap(@Self)^.&set := $00000100;
  34815. end;
  34816. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  34817. begin
  34818. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34819. end;
  34820. procedure TPORTB_TRISB.setTRISB9; inline;
  34821. begin
  34822. pTDefRegMap(@Self)^.&set := $00000200;
  34823. end;
  34824. procedure TPORTB_TRISB.clearTRISB9; inline;
  34825. begin
  34826. pTDefRegMap(@Self)^.clr := $00000200;
  34827. end;
  34828. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  34829. begin
  34830. if thebits = 0 then
  34831. pTDefRegMap(@Self)^.clr := $00000200
  34832. else
  34833. pTDefRegMap(@Self)^.&set := $00000200;
  34834. end;
  34835. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  34836. begin
  34837. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34838. end;
  34839. procedure TPORTB_TRISB.setTRISB10; inline;
  34840. begin
  34841. pTDefRegMap(@Self)^.&set := $00000400;
  34842. end;
  34843. procedure TPORTB_TRISB.clearTRISB10; inline;
  34844. begin
  34845. pTDefRegMap(@Self)^.clr := $00000400;
  34846. end;
  34847. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  34848. begin
  34849. if thebits = 0 then
  34850. pTDefRegMap(@Self)^.clr := $00000400
  34851. else
  34852. pTDefRegMap(@Self)^.&set := $00000400;
  34853. end;
  34854. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  34855. begin
  34856. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34857. end;
  34858. procedure TPORTB_TRISB.setTRISB11; inline;
  34859. begin
  34860. pTDefRegMap(@Self)^.&set := $00000800;
  34861. end;
  34862. procedure TPORTB_TRISB.clearTRISB11; inline;
  34863. begin
  34864. pTDefRegMap(@Self)^.clr := $00000800;
  34865. end;
  34866. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  34867. begin
  34868. if thebits = 0 then
  34869. pTDefRegMap(@Self)^.clr := $00000800
  34870. else
  34871. pTDefRegMap(@Self)^.&set := $00000800;
  34872. end;
  34873. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  34874. begin
  34875. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34876. end;
  34877. procedure TPORTB_TRISB.setTRISB13; inline;
  34878. begin
  34879. pTDefRegMap(@Self)^.&set := $00002000;
  34880. end;
  34881. procedure TPORTB_TRISB.clearTRISB13; inline;
  34882. begin
  34883. pTDefRegMap(@Self)^.clr := $00002000;
  34884. end;
  34885. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  34886. begin
  34887. if thebits = 0 then
  34888. pTDefRegMap(@Self)^.clr := $00002000
  34889. else
  34890. pTDefRegMap(@Self)^.&set := $00002000;
  34891. end;
  34892. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  34893. begin
  34894. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34895. end;
  34896. procedure TPORTB_TRISB.setTRISB14; inline;
  34897. begin
  34898. pTDefRegMap(@Self)^.&set := $00004000;
  34899. end;
  34900. procedure TPORTB_TRISB.clearTRISB14; inline;
  34901. begin
  34902. pTDefRegMap(@Self)^.clr := $00004000;
  34903. end;
  34904. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  34905. begin
  34906. if thebits = 0 then
  34907. pTDefRegMap(@Self)^.clr := $00004000
  34908. else
  34909. pTDefRegMap(@Self)^.&set := $00004000;
  34910. end;
  34911. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  34912. begin
  34913. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34914. end;
  34915. procedure TPORTB_TRISB.setTRISB15; inline;
  34916. begin
  34917. pTDefRegMap(@Self)^.&set := $00008000;
  34918. end;
  34919. procedure TPORTB_TRISB.clearTRISB15; inline;
  34920. begin
  34921. pTDefRegMap(@Self)^.clr := $00008000;
  34922. end;
  34923. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  34924. begin
  34925. if thebits = 0 then
  34926. pTDefRegMap(@Self)^.clr := $00008000
  34927. else
  34928. pTDefRegMap(@Self)^.&set := $00008000;
  34929. end;
  34930. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  34931. begin
  34932. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34933. end;
  34934. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  34935. begin
  34936. pTDefRegMap(@Self)^.val := thebits;
  34937. end;
  34938. function TPORTB_TRISB.getw : TBits_32; inline;
  34939. begin
  34940. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34941. end;
  34942. procedure TPORTB_PORTB.setRB0; inline;
  34943. begin
  34944. pTDefRegMap(@Self)^.&set := $00000001;
  34945. end;
  34946. procedure TPORTB_PORTB.clearRB0; inline;
  34947. begin
  34948. pTDefRegMap(@Self)^.clr := $00000001;
  34949. end;
  34950. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  34951. begin
  34952. if thebits = 0 then
  34953. pTDefRegMap(@Self)^.clr := $00000001
  34954. else
  34955. pTDefRegMap(@Self)^.&set := $00000001;
  34956. end;
  34957. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  34958. begin
  34959. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34960. end;
  34961. procedure TPORTB_PORTB.setRB1; inline;
  34962. begin
  34963. pTDefRegMap(@Self)^.&set := $00000002;
  34964. end;
  34965. procedure TPORTB_PORTB.clearRB1; inline;
  34966. begin
  34967. pTDefRegMap(@Self)^.clr := $00000002;
  34968. end;
  34969. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  34970. begin
  34971. if thebits = 0 then
  34972. pTDefRegMap(@Self)^.clr := $00000002
  34973. else
  34974. pTDefRegMap(@Self)^.&set := $00000002;
  34975. end;
  34976. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  34977. begin
  34978. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34979. end;
  34980. procedure TPORTB_PORTB.setRB2; inline;
  34981. begin
  34982. pTDefRegMap(@Self)^.&set := $00000004;
  34983. end;
  34984. procedure TPORTB_PORTB.clearRB2; inline;
  34985. begin
  34986. pTDefRegMap(@Self)^.clr := $00000004;
  34987. end;
  34988. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  34989. begin
  34990. if thebits = 0 then
  34991. pTDefRegMap(@Self)^.clr := $00000004
  34992. else
  34993. pTDefRegMap(@Self)^.&set := $00000004;
  34994. end;
  34995. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  34996. begin
  34997. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34998. end;
  34999. procedure TPORTB_PORTB.setRB3; inline;
  35000. begin
  35001. pTDefRegMap(@Self)^.&set := $00000008;
  35002. end;
  35003. procedure TPORTB_PORTB.clearRB3; inline;
  35004. begin
  35005. pTDefRegMap(@Self)^.clr := $00000008;
  35006. end;
  35007. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  35008. begin
  35009. if thebits = 0 then
  35010. pTDefRegMap(@Self)^.clr := $00000008
  35011. else
  35012. pTDefRegMap(@Self)^.&set := $00000008;
  35013. end;
  35014. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  35015. begin
  35016. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35017. end;
  35018. procedure TPORTB_PORTB.setRB4; inline;
  35019. begin
  35020. pTDefRegMap(@Self)^.&set := $00000010;
  35021. end;
  35022. procedure TPORTB_PORTB.clearRB4; inline;
  35023. begin
  35024. pTDefRegMap(@Self)^.clr := $00000010;
  35025. end;
  35026. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  35027. begin
  35028. if thebits = 0 then
  35029. pTDefRegMap(@Self)^.clr := $00000010
  35030. else
  35031. pTDefRegMap(@Self)^.&set := $00000010;
  35032. end;
  35033. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  35034. begin
  35035. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35036. end;
  35037. procedure TPORTB_PORTB.setRB5; inline;
  35038. begin
  35039. pTDefRegMap(@Self)^.&set := $00000020;
  35040. end;
  35041. procedure TPORTB_PORTB.clearRB5; inline;
  35042. begin
  35043. pTDefRegMap(@Self)^.clr := $00000020;
  35044. end;
  35045. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  35046. begin
  35047. if thebits = 0 then
  35048. pTDefRegMap(@Self)^.clr := $00000020
  35049. else
  35050. pTDefRegMap(@Self)^.&set := $00000020;
  35051. end;
  35052. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  35053. begin
  35054. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35055. end;
  35056. procedure TPORTB_PORTB.setRB7; inline;
  35057. begin
  35058. pTDefRegMap(@Self)^.&set := $00000080;
  35059. end;
  35060. procedure TPORTB_PORTB.clearRB7; inline;
  35061. begin
  35062. pTDefRegMap(@Self)^.clr := $00000080;
  35063. end;
  35064. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  35065. begin
  35066. if thebits = 0 then
  35067. pTDefRegMap(@Self)^.clr := $00000080
  35068. else
  35069. pTDefRegMap(@Self)^.&set := $00000080;
  35070. end;
  35071. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  35072. begin
  35073. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35074. end;
  35075. procedure TPORTB_PORTB.setRB8; inline;
  35076. begin
  35077. pTDefRegMap(@Self)^.&set := $00000100;
  35078. end;
  35079. procedure TPORTB_PORTB.clearRB8; inline;
  35080. begin
  35081. pTDefRegMap(@Self)^.clr := $00000100;
  35082. end;
  35083. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  35084. begin
  35085. if thebits = 0 then
  35086. pTDefRegMap(@Self)^.clr := $00000100
  35087. else
  35088. pTDefRegMap(@Self)^.&set := $00000100;
  35089. end;
  35090. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  35091. begin
  35092. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35093. end;
  35094. procedure TPORTB_PORTB.setRB9; inline;
  35095. begin
  35096. pTDefRegMap(@Self)^.&set := $00000200;
  35097. end;
  35098. procedure TPORTB_PORTB.clearRB9; inline;
  35099. begin
  35100. pTDefRegMap(@Self)^.clr := $00000200;
  35101. end;
  35102. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  35103. begin
  35104. if thebits = 0 then
  35105. pTDefRegMap(@Self)^.clr := $00000200
  35106. else
  35107. pTDefRegMap(@Self)^.&set := $00000200;
  35108. end;
  35109. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  35110. begin
  35111. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35112. end;
  35113. procedure TPORTB_PORTB.setRB10; inline;
  35114. begin
  35115. pTDefRegMap(@Self)^.&set := $00000400;
  35116. end;
  35117. procedure TPORTB_PORTB.clearRB10; inline;
  35118. begin
  35119. pTDefRegMap(@Self)^.clr := $00000400;
  35120. end;
  35121. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  35122. begin
  35123. if thebits = 0 then
  35124. pTDefRegMap(@Self)^.clr := $00000400
  35125. else
  35126. pTDefRegMap(@Self)^.&set := $00000400;
  35127. end;
  35128. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  35129. begin
  35130. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35131. end;
  35132. procedure TPORTB_PORTB.setRB11; inline;
  35133. begin
  35134. pTDefRegMap(@Self)^.&set := $00000800;
  35135. end;
  35136. procedure TPORTB_PORTB.clearRB11; inline;
  35137. begin
  35138. pTDefRegMap(@Self)^.clr := $00000800;
  35139. end;
  35140. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  35141. begin
  35142. if thebits = 0 then
  35143. pTDefRegMap(@Self)^.clr := $00000800
  35144. else
  35145. pTDefRegMap(@Self)^.&set := $00000800;
  35146. end;
  35147. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  35148. begin
  35149. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35150. end;
  35151. procedure TPORTB_PORTB.setRB13; inline;
  35152. begin
  35153. pTDefRegMap(@Self)^.&set := $00002000;
  35154. end;
  35155. procedure TPORTB_PORTB.clearRB13; inline;
  35156. begin
  35157. pTDefRegMap(@Self)^.clr := $00002000;
  35158. end;
  35159. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  35160. begin
  35161. if thebits = 0 then
  35162. pTDefRegMap(@Self)^.clr := $00002000
  35163. else
  35164. pTDefRegMap(@Self)^.&set := $00002000;
  35165. end;
  35166. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  35167. begin
  35168. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35169. end;
  35170. procedure TPORTB_PORTB.setRB14; inline;
  35171. begin
  35172. pTDefRegMap(@Self)^.&set := $00004000;
  35173. end;
  35174. procedure TPORTB_PORTB.clearRB14; inline;
  35175. begin
  35176. pTDefRegMap(@Self)^.clr := $00004000;
  35177. end;
  35178. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  35179. begin
  35180. if thebits = 0 then
  35181. pTDefRegMap(@Self)^.clr := $00004000
  35182. else
  35183. pTDefRegMap(@Self)^.&set := $00004000;
  35184. end;
  35185. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  35186. begin
  35187. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35188. end;
  35189. procedure TPORTB_PORTB.setRB15; inline;
  35190. begin
  35191. pTDefRegMap(@Self)^.&set := $00008000;
  35192. end;
  35193. procedure TPORTB_PORTB.clearRB15; inline;
  35194. begin
  35195. pTDefRegMap(@Self)^.clr := $00008000;
  35196. end;
  35197. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  35198. begin
  35199. if thebits = 0 then
  35200. pTDefRegMap(@Self)^.clr := $00008000
  35201. else
  35202. pTDefRegMap(@Self)^.&set := $00008000;
  35203. end;
  35204. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  35205. begin
  35206. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35207. end;
  35208. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  35209. begin
  35210. pTDefRegMap(@Self)^.val := thebits;
  35211. end;
  35212. function TPORTB_PORTB.getw : TBits_32; inline;
  35213. begin
  35214. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35215. end;
  35216. procedure TPORTB_LATB.setLATB0; inline;
  35217. begin
  35218. pTDefRegMap(@Self)^.&set := $00000001;
  35219. end;
  35220. procedure TPORTB_LATB.clearLATB0; inline;
  35221. begin
  35222. pTDefRegMap(@Self)^.clr := $00000001;
  35223. end;
  35224. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  35225. begin
  35226. if thebits = 0 then
  35227. pTDefRegMap(@Self)^.clr := $00000001
  35228. else
  35229. pTDefRegMap(@Self)^.&set := $00000001;
  35230. end;
  35231. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  35232. begin
  35233. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35234. end;
  35235. procedure TPORTB_LATB.setLATB1; inline;
  35236. begin
  35237. pTDefRegMap(@Self)^.&set := $00000002;
  35238. end;
  35239. procedure TPORTB_LATB.clearLATB1; inline;
  35240. begin
  35241. pTDefRegMap(@Self)^.clr := $00000002;
  35242. end;
  35243. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  35244. begin
  35245. if thebits = 0 then
  35246. pTDefRegMap(@Self)^.clr := $00000002
  35247. else
  35248. pTDefRegMap(@Self)^.&set := $00000002;
  35249. end;
  35250. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  35251. begin
  35252. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35253. end;
  35254. procedure TPORTB_LATB.setLATB2; inline;
  35255. begin
  35256. pTDefRegMap(@Self)^.&set := $00000004;
  35257. end;
  35258. procedure TPORTB_LATB.clearLATB2; inline;
  35259. begin
  35260. pTDefRegMap(@Self)^.clr := $00000004;
  35261. end;
  35262. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  35263. begin
  35264. if thebits = 0 then
  35265. pTDefRegMap(@Self)^.clr := $00000004
  35266. else
  35267. pTDefRegMap(@Self)^.&set := $00000004;
  35268. end;
  35269. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  35270. begin
  35271. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35272. end;
  35273. procedure TPORTB_LATB.setLATB3; inline;
  35274. begin
  35275. pTDefRegMap(@Self)^.&set := $00000008;
  35276. end;
  35277. procedure TPORTB_LATB.clearLATB3; inline;
  35278. begin
  35279. pTDefRegMap(@Self)^.clr := $00000008;
  35280. end;
  35281. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  35282. begin
  35283. if thebits = 0 then
  35284. pTDefRegMap(@Self)^.clr := $00000008
  35285. else
  35286. pTDefRegMap(@Self)^.&set := $00000008;
  35287. end;
  35288. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  35289. begin
  35290. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35291. end;
  35292. procedure TPORTB_LATB.setLATB4; inline;
  35293. begin
  35294. pTDefRegMap(@Self)^.&set := $00000010;
  35295. end;
  35296. procedure TPORTB_LATB.clearLATB4; inline;
  35297. begin
  35298. pTDefRegMap(@Self)^.clr := $00000010;
  35299. end;
  35300. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  35301. begin
  35302. if thebits = 0 then
  35303. pTDefRegMap(@Self)^.clr := $00000010
  35304. else
  35305. pTDefRegMap(@Self)^.&set := $00000010;
  35306. end;
  35307. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  35308. begin
  35309. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35310. end;
  35311. procedure TPORTB_LATB.setLATB5; inline;
  35312. begin
  35313. pTDefRegMap(@Self)^.&set := $00000020;
  35314. end;
  35315. procedure TPORTB_LATB.clearLATB5; inline;
  35316. begin
  35317. pTDefRegMap(@Self)^.clr := $00000020;
  35318. end;
  35319. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  35320. begin
  35321. if thebits = 0 then
  35322. pTDefRegMap(@Self)^.clr := $00000020
  35323. else
  35324. pTDefRegMap(@Self)^.&set := $00000020;
  35325. end;
  35326. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  35327. begin
  35328. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35329. end;
  35330. procedure TPORTB_LATB.setLATB7; inline;
  35331. begin
  35332. pTDefRegMap(@Self)^.&set := $00000080;
  35333. end;
  35334. procedure TPORTB_LATB.clearLATB7; inline;
  35335. begin
  35336. pTDefRegMap(@Self)^.clr := $00000080;
  35337. end;
  35338. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  35339. begin
  35340. if thebits = 0 then
  35341. pTDefRegMap(@Self)^.clr := $00000080
  35342. else
  35343. pTDefRegMap(@Self)^.&set := $00000080;
  35344. end;
  35345. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  35346. begin
  35347. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35348. end;
  35349. procedure TPORTB_LATB.setLATB8; inline;
  35350. begin
  35351. pTDefRegMap(@Self)^.&set := $00000100;
  35352. end;
  35353. procedure TPORTB_LATB.clearLATB8; inline;
  35354. begin
  35355. pTDefRegMap(@Self)^.clr := $00000100;
  35356. end;
  35357. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  35358. begin
  35359. if thebits = 0 then
  35360. pTDefRegMap(@Self)^.clr := $00000100
  35361. else
  35362. pTDefRegMap(@Self)^.&set := $00000100;
  35363. end;
  35364. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  35365. begin
  35366. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35367. end;
  35368. procedure TPORTB_LATB.setLATB9; inline;
  35369. begin
  35370. pTDefRegMap(@Self)^.&set := $00000200;
  35371. end;
  35372. procedure TPORTB_LATB.clearLATB9; inline;
  35373. begin
  35374. pTDefRegMap(@Self)^.clr := $00000200;
  35375. end;
  35376. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  35377. begin
  35378. if thebits = 0 then
  35379. pTDefRegMap(@Self)^.clr := $00000200
  35380. else
  35381. pTDefRegMap(@Self)^.&set := $00000200;
  35382. end;
  35383. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  35384. begin
  35385. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35386. end;
  35387. procedure TPORTB_LATB.setLATB10; inline;
  35388. begin
  35389. pTDefRegMap(@Self)^.&set := $00000400;
  35390. end;
  35391. procedure TPORTB_LATB.clearLATB10; inline;
  35392. begin
  35393. pTDefRegMap(@Self)^.clr := $00000400;
  35394. end;
  35395. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  35396. begin
  35397. if thebits = 0 then
  35398. pTDefRegMap(@Self)^.clr := $00000400
  35399. else
  35400. pTDefRegMap(@Self)^.&set := $00000400;
  35401. end;
  35402. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  35403. begin
  35404. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35405. end;
  35406. procedure TPORTB_LATB.setLATB11; inline;
  35407. begin
  35408. pTDefRegMap(@Self)^.&set := $00000800;
  35409. end;
  35410. procedure TPORTB_LATB.clearLATB11; inline;
  35411. begin
  35412. pTDefRegMap(@Self)^.clr := $00000800;
  35413. end;
  35414. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  35415. begin
  35416. if thebits = 0 then
  35417. pTDefRegMap(@Self)^.clr := $00000800
  35418. else
  35419. pTDefRegMap(@Self)^.&set := $00000800;
  35420. end;
  35421. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  35422. begin
  35423. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35424. end;
  35425. procedure TPORTB_LATB.setLATB13; inline;
  35426. begin
  35427. pTDefRegMap(@Self)^.&set := $00002000;
  35428. end;
  35429. procedure TPORTB_LATB.clearLATB13; inline;
  35430. begin
  35431. pTDefRegMap(@Self)^.clr := $00002000;
  35432. end;
  35433. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  35434. begin
  35435. if thebits = 0 then
  35436. pTDefRegMap(@Self)^.clr := $00002000
  35437. else
  35438. pTDefRegMap(@Self)^.&set := $00002000;
  35439. end;
  35440. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  35441. begin
  35442. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35443. end;
  35444. procedure TPORTB_LATB.setLATB14; inline;
  35445. begin
  35446. pTDefRegMap(@Self)^.&set := $00004000;
  35447. end;
  35448. procedure TPORTB_LATB.clearLATB14; inline;
  35449. begin
  35450. pTDefRegMap(@Self)^.clr := $00004000;
  35451. end;
  35452. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  35453. begin
  35454. if thebits = 0 then
  35455. pTDefRegMap(@Self)^.clr := $00004000
  35456. else
  35457. pTDefRegMap(@Self)^.&set := $00004000;
  35458. end;
  35459. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  35460. begin
  35461. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35462. end;
  35463. procedure TPORTB_LATB.setLATB15; inline;
  35464. begin
  35465. pTDefRegMap(@Self)^.&set := $00008000;
  35466. end;
  35467. procedure TPORTB_LATB.clearLATB15; inline;
  35468. begin
  35469. pTDefRegMap(@Self)^.clr := $00008000;
  35470. end;
  35471. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  35472. begin
  35473. if thebits = 0 then
  35474. pTDefRegMap(@Self)^.clr := $00008000
  35475. else
  35476. pTDefRegMap(@Self)^.&set := $00008000;
  35477. end;
  35478. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  35479. begin
  35480. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35481. end;
  35482. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  35483. begin
  35484. pTDefRegMap(@Self)^.val := thebits;
  35485. end;
  35486. function TPORTB_LATB.getw : TBits_32; inline;
  35487. begin
  35488. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35489. end;
  35490. procedure TPORTB_ODCB.setODCB0; inline;
  35491. begin
  35492. pTDefRegMap(@Self)^.&set := $00000001;
  35493. end;
  35494. procedure TPORTB_ODCB.clearODCB0; inline;
  35495. begin
  35496. pTDefRegMap(@Self)^.clr := $00000001;
  35497. end;
  35498. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  35499. begin
  35500. if thebits = 0 then
  35501. pTDefRegMap(@Self)^.clr := $00000001
  35502. else
  35503. pTDefRegMap(@Self)^.&set := $00000001;
  35504. end;
  35505. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  35506. begin
  35507. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35508. end;
  35509. procedure TPORTB_ODCB.setODCB1; inline;
  35510. begin
  35511. pTDefRegMap(@Self)^.&set := $00000002;
  35512. end;
  35513. procedure TPORTB_ODCB.clearODCB1; inline;
  35514. begin
  35515. pTDefRegMap(@Self)^.clr := $00000002;
  35516. end;
  35517. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  35518. begin
  35519. if thebits = 0 then
  35520. pTDefRegMap(@Self)^.clr := $00000002
  35521. else
  35522. pTDefRegMap(@Self)^.&set := $00000002;
  35523. end;
  35524. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  35525. begin
  35526. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35527. end;
  35528. procedure TPORTB_ODCB.setODCB2; inline;
  35529. begin
  35530. pTDefRegMap(@Self)^.&set := $00000004;
  35531. end;
  35532. procedure TPORTB_ODCB.clearODCB2; inline;
  35533. begin
  35534. pTDefRegMap(@Self)^.clr := $00000004;
  35535. end;
  35536. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  35537. begin
  35538. if thebits = 0 then
  35539. pTDefRegMap(@Self)^.clr := $00000004
  35540. else
  35541. pTDefRegMap(@Self)^.&set := $00000004;
  35542. end;
  35543. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  35544. begin
  35545. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35546. end;
  35547. procedure TPORTB_ODCB.setODCB3; inline;
  35548. begin
  35549. pTDefRegMap(@Self)^.&set := $00000008;
  35550. end;
  35551. procedure TPORTB_ODCB.clearODCB3; inline;
  35552. begin
  35553. pTDefRegMap(@Self)^.clr := $00000008;
  35554. end;
  35555. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  35556. begin
  35557. if thebits = 0 then
  35558. pTDefRegMap(@Self)^.clr := $00000008
  35559. else
  35560. pTDefRegMap(@Self)^.&set := $00000008;
  35561. end;
  35562. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  35563. begin
  35564. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35565. end;
  35566. procedure TPORTB_ODCB.setODCB4; inline;
  35567. begin
  35568. pTDefRegMap(@Self)^.&set := $00000010;
  35569. end;
  35570. procedure TPORTB_ODCB.clearODCB4; inline;
  35571. begin
  35572. pTDefRegMap(@Self)^.clr := $00000010;
  35573. end;
  35574. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  35575. begin
  35576. if thebits = 0 then
  35577. pTDefRegMap(@Self)^.clr := $00000010
  35578. else
  35579. pTDefRegMap(@Self)^.&set := $00000010;
  35580. end;
  35581. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  35582. begin
  35583. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35584. end;
  35585. procedure TPORTB_ODCB.setODCB5; inline;
  35586. begin
  35587. pTDefRegMap(@Self)^.&set := $00000020;
  35588. end;
  35589. procedure TPORTB_ODCB.clearODCB5; inline;
  35590. begin
  35591. pTDefRegMap(@Self)^.clr := $00000020;
  35592. end;
  35593. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  35594. begin
  35595. if thebits = 0 then
  35596. pTDefRegMap(@Self)^.clr := $00000020
  35597. else
  35598. pTDefRegMap(@Self)^.&set := $00000020;
  35599. end;
  35600. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  35601. begin
  35602. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35603. end;
  35604. procedure TPORTB_ODCB.setODCB7; inline;
  35605. begin
  35606. pTDefRegMap(@Self)^.&set := $00000080;
  35607. end;
  35608. procedure TPORTB_ODCB.clearODCB7; inline;
  35609. begin
  35610. pTDefRegMap(@Self)^.clr := $00000080;
  35611. end;
  35612. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  35613. begin
  35614. if thebits = 0 then
  35615. pTDefRegMap(@Self)^.clr := $00000080
  35616. else
  35617. pTDefRegMap(@Self)^.&set := $00000080;
  35618. end;
  35619. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  35620. begin
  35621. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35622. end;
  35623. procedure TPORTB_ODCB.setODCB8; inline;
  35624. begin
  35625. pTDefRegMap(@Self)^.&set := $00000100;
  35626. end;
  35627. procedure TPORTB_ODCB.clearODCB8; inline;
  35628. begin
  35629. pTDefRegMap(@Self)^.clr := $00000100;
  35630. end;
  35631. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  35632. begin
  35633. if thebits = 0 then
  35634. pTDefRegMap(@Self)^.clr := $00000100
  35635. else
  35636. pTDefRegMap(@Self)^.&set := $00000100;
  35637. end;
  35638. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  35639. begin
  35640. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35641. end;
  35642. procedure TPORTB_ODCB.setODCB9; inline;
  35643. begin
  35644. pTDefRegMap(@Self)^.&set := $00000200;
  35645. end;
  35646. procedure TPORTB_ODCB.clearODCB9; inline;
  35647. begin
  35648. pTDefRegMap(@Self)^.clr := $00000200;
  35649. end;
  35650. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  35651. begin
  35652. if thebits = 0 then
  35653. pTDefRegMap(@Self)^.clr := $00000200
  35654. else
  35655. pTDefRegMap(@Self)^.&set := $00000200;
  35656. end;
  35657. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  35658. begin
  35659. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35660. end;
  35661. procedure TPORTB_ODCB.setODCB10; inline;
  35662. begin
  35663. pTDefRegMap(@Self)^.&set := $00000400;
  35664. end;
  35665. procedure TPORTB_ODCB.clearODCB10; inline;
  35666. begin
  35667. pTDefRegMap(@Self)^.clr := $00000400;
  35668. end;
  35669. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  35670. begin
  35671. if thebits = 0 then
  35672. pTDefRegMap(@Self)^.clr := $00000400
  35673. else
  35674. pTDefRegMap(@Self)^.&set := $00000400;
  35675. end;
  35676. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  35677. begin
  35678. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35679. end;
  35680. procedure TPORTB_ODCB.setODCB11; inline;
  35681. begin
  35682. pTDefRegMap(@Self)^.&set := $00000800;
  35683. end;
  35684. procedure TPORTB_ODCB.clearODCB11; inline;
  35685. begin
  35686. pTDefRegMap(@Self)^.clr := $00000800;
  35687. end;
  35688. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  35689. begin
  35690. if thebits = 0 then
  35691. pTDefRegMap(@Self)^.clr := $00000800
  35692. else
  35693. pTDefRegMap(@Self)^.&set := $00000800;
  35694. end;
  35695. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  35696. begin
  35697. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35698. end;
  35699. procedure TPORTB_ODCB.setODCB13; inline;
  35700. begin
  35701. pTDefRegMap(@Self)^.&set := $00002000;
  35702. end;
  35703. procedure TPORTB_ODCB.clearODCB13; inline;
  35704. begin
  35705. pTDefRegMap(@Self)^.clr := $00002000;
  35706. end;
  35707. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  35708. begin
  35709. if thebits = 0 then
  35710. pTDefRegMap(@Self)^.clr := $00002000
  35711. else
  35712. pTDefRegMap(@Self)^.&set := $00002000;
  35713. end;
  35714. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  35715. begin
  35716. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35717. end;
  35718. procedure TPORTB_ODCB.setODCB14; inline;
  35719. begin
  35720. pTDefRegMap(@Self)^.&set := $00004000;
  35721. end;
  35722. procedure TPORTB_ODCB.clearODCB14; inline;
  35723. begin
  35724. pTDefRegMap(@Self)^.clr := $00004000;
  35725. end;
  35726. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  35727. begin
  35728. if thebits = 0 then
  35729. pTDefRegMap(@Self)^.clr := $00004000
  35730. else
  35731. pTDefRegMap(@Self)^.&set := $00004000;
  35732. end;
  35733. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  35734. begin
  35735. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35736. end;
  35737. procedure TPORTB_ODCB.setODCB15; inline;
  35738. begin
  35739. pTDefRegMap(@Self)^.&set := $00008000;
  35740. end;
  35741. procedure TPORTB_ODCB.clearODCB15; inline;
  35742. begin
  35743. pTDefRegMap(@Self)^.clr := $00008000;
  35744. end;
  35745. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  35746. begin
  35747. if thebits = 0 then
  35748. pTDefRegMap(@Self)^.clr := $00008000
  35749. else
  35750. pTDefRegMap(@Self)^.&set := $00008000;
  35751. end;
  35752. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  35753. begin
  35754. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35755. end;
  35756. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  35757. begin
  35758. pTDefRegMap(@Self)^.val := thebits;
  35759. end;
  35760. function TPORTB_ODCB.getw : TBits_32; inline;
  35761. begin
  35762. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35763. end;
  35764. procedure TPORTB_CNPUB.setCNPUB0; inline;
  35765. begin
  35766. pTDefRegMap(@Self)^.&set := $00000001;
  35767. end;
  35768. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  35769. begin
  35770. pTDefRegMap(@Self)^.clr := $00000001;
  35771. end;
  35772. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  35773. begin
  35774. if thebits = 0 then
  35775. pTDefRegMap(@Self)^.clr := $00000001
  35776. else
  35777. pTDefRegMap(@Self)^.&set := $00000001;
  35778. end;
  35779. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  35780. begin
  35781. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35782. end;
  35783. procedure TPORTB_CNPUB.setCNPUB1; inline;
  35784. begin
  35785. pTDefRegMap(@Self)^.&set := $00000002;
  35786. end;
  35787. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  35788. begin
  35789. pTDefRegMap(@Self)^.clr := $00000002;
  35790. end;
  35791. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  35792. begin
  35793. if thebits = 0 then
  35794. pTDefRegMap(@Self)^.clr := $00000002
  35795. else
  35796. pTDefRegMap(@Self)^.&set := $00000002;
  35797. end;
  35798. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  35799. begin
  35800. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35801. end;
  35802. procedure TPORTB_CNPUB.setCNPUB2; inline;
  35803. begin
  35804. pTDefRegMap(@Self)^.&set := $00000004;
  35805. end;
  35806. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  35807. begin
  35808. pTDefRegMap(@Self)^.clr := $00000004;
  35809. end;
  35810. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  35811. begin
  35812. if thebits = 0 then
  35813. pTDefRegMap(@Self)^.clr := $00000004
  35814. else
  35815. pTDefRegMap(@Self)^.&set := $00000004;
  35816. end;
  35817. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  35818. begin
  35819. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35820. end;
  35821. procedure TPORTB_CNPUB.setCNPUB3; inline;
  35822. begin
  35823. pTDefRegMap(@Self)^.&set := $00000008;
  35824. end;
  35825. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  35826. begin
  35827. pTDefRegMap(@Self)^.clr := $00000008;
  35828. end;
  35829. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  35830. begin
  35831. if thebits = 0 then
  35832. pTDefRegMap(@Self)^.clr := $00000008
  35833. else
  35834. pTDefRegMap(@Self)^.&set := $00000008;
  35835. end;
  35836. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  35837. begin
  35838. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35839. end;
  35840. procedure TPORTB_CNPUB.setCNPUB4; inline;
  35841. begin
  35842. pTDefRegMap(@Self)^.&set := $00000010;
  35843. end;
  35844. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  35845. begin
  35846. pTDefRegMap(@Self)^.clr := $00000010;
  35847. end;
  35848. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  35849. begin
  35850. if thebits = 0 then
  35851. pTDefRegMap(@Self)^.clr := $00000010
  35852. else
  35853. pTDefRegMap(@Self)^.&set := $00000010;
  35854. end;
  35855. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  35856. begin
  35857. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35858. end;
  35859. procedure TPORTB_CNPUB.setCNPUB5; inline;
  35860. begin
  35861. pTDefRegMap(@Self)^.&set := $00000020;
  35862. end;
  35863. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  35864. begin
  35865. pTDefRegMap(@Self)^.clr := $00000020;
  35866. end;
  35867. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  35868. begin
  35869. if thebits = 0 then
  35870. pTDefRegMap(@Self)^.clr := $00000020
  35871. else
  35872. pTDefRegMap(@Self)^.&set := $00000020;
  35873. end;
  35874. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  35875. begin
  35876. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35877. end;
  35878. procedure TPORTB_CNPUB.setCNPUB7; inline;
  35879. begin
  35880. pTDefRegMap(@Self)^.&set := $00000080;
  35881. end;
  35882. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  35883. begin
  35884. pTDefRegMap(@Self)^.clr := $00000080;
  35885. end;
  35886. procedure TPORTB_CNPUB.setCNPUB7(thebits : TBits_1); inline;
  35887. begin
  35888. if thebits = 0 then
  35889. pTDefRegMap(@Self)^.clr := $00000080
  35890. else
  35891. pTDefRegMap(@Self)^.&set := $00000080;
  35892. end;
  35893. function TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  35894. begin
  35895. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35896. end;
  35897. procedure TPORTB_CNPUB.setCNPUB8; inline;
  35898. begin
  35899. pTDefRegMap(@Self)^.&set := $00000100;
  35900. end;
  35901. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  35902. begin
  35903. pTDefRegMap(@Self)^.clr := $00000100;
  35904. end;
  35905. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  35906. begin
  35907. if thebits = 0 then
  35908. pTDefRegMap(@Self)^.clr := $00000100
  35909. else
  35910. pTDefRegMap(@Self)^.&set := $00000100;
  35911. end;
  35912. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  35913. begin
  35914. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35915. end;
  35916. procedure TPORTB_CNPUB.setCNPUB9; inline;
  35917. begin
  35918. pTDefRegMap(@Self)^.&set := $00000200;
  35919. end;
  35920. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  35921. begin
  35922. pTDefRegMap(@Self)^.clr := $00000200;
  35923. end;
  35924. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  35925. begin
  35926. if thebits = 0 then
  35927. pTDefRegMap(@Self)^.clr := $00000200
  35928. else
  35929. pTDefRegMap(@Self)^.&set := $00000200;
  35930. end;
  35931. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  35932. begin
  35933. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35934. end;
  35935. procedure TPORTB_CNPUB.setCNPUB10; inline;
  35936. begin
  35937. pTDefRegMap(@Self)^.&set := $00000400;
  35938. end;
  35939. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  35940. begin
  35941. pTDefRegMap(@Self)^.clr := $00000400;
  35942. end;
  35943. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  35944. begin
  35945. if thebits = 0 then
  35946. pTDefRegMap(@Self)^.clr := $00000400
  35947. else
  35948. pTDefRegMap(@Self)^.&set := $00000400;
  35949. end;
  35950. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  35951. begin
  35952. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35953. end;
  35954. procedure TPORTB_CNPUB.setCNPUB11; inline;
  35955. begin
  35956. pTDefRegMap(@Self)^.&set := $00000800;
  35957. end;
  35958. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  35959. begin
  35960. pTDefRegMap(@Self)^.clr := $00000800;
  35961. end;
  35962. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  35963. begin
  35964. if thebits = 0 then
  35965. pTDefRegMap(@Self)^.clr := $00000800
  35966. else
  35967. pTDefRegMap(@Self)^.&set := $00000800;
  35968. end;
  35969. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  35970. begin
  35971. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35972. end;
  35973. procedure TPORTB_CNPUB.setCNPUB13; inline;
  35974. begin
  35975. pTDefRegMap(@Self)^.&set := $00002000;
  35976. end;
  35977. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  35978. begin
  35979. pTDefRegMap(@Self)^.clr := $00002000;
  35980. end;
  35981. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  35982. begin
  35983. if thebits = 0 then
  35984. pTDefRegMap(@Self)^.clr := $00002000
  35985. else
  35986. pTDefRegMap(@Self)^.&set := $00002000;
  35987. end;
  35988. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  35989. begin
  35990. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35991. end;
  35992. procedure TPORTB_CNPUB.setCNPUB14; inline;
  35993. begin
  35994. pTDefRegMap(@Self)^.&set := $00004000;
  35995. end;
  35996. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  35997. begin
  35998. pTDefRegMap(@Self)^.clr := $00004000;
  35999. end;
  36000. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  36001. begin
  36002. if thebits = 0 then
  36003. pTDefRegMap(@Self)^.clr := $00004000
  36004. else
  36005. pTDefRegMap(@Self)^.&set := $00004000;
  36006. end;
  36007. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  36008. begin
  36009. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36010. end;
  36011. procedure TPORTB_CNPUB.setCNPUB15; inline;
  36012. begin
  36013. pTDefRegMap(@Self)^.&set := $00008000;
  36014. end;
  36015. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  36016. begin
  36017. pTDefRegMap(@Self)^.clr := $00008000;
  36018. end;
  36019. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  36020. begin
  36021. if thebits = 0 then
  36022. pTDefRegMap(@Self)^.clr := $00008000
  36023. else
  36024. pTDefRegMap(@Self)^.&set := $00008000;
  36025. end;
  36026. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  36027. begin
  36028. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36029. end;
  36030. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  36031. begin
  36032. pTDefRegMap(@Self)^.val := thebits;
  36033. end;
  36034. function TPORTB_CNPUB.getw : TBits_32; inline;
  36035. begin
  36036. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36037. end;
  36038. procedure TPORTB_CNPDB.setCNPDB0; inline;
  36039. begin
  36040. pTDefRegMap(@Self)^.&set := $00000001;
  36041. end;
  36042. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  36043. begin
  36044. pTDefRegMap(@Self)^.clr := $00000001;
  36045. end;
  36046. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  36047. begin
  36048. if thebits = 0 then
  36049. pTDefRegMap(@Self)^.clr := $00000001
  36050. else
  36051. pTDefRegMap(@Self)^.&set := $00000001;
  36052. end;
  36053. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  36054. begin
  36055. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36056. end;
  36057. procedure TPORTB_CNPDB.setCNPDB1; inline;
  36058. begin
  36059. pTDefRegMap(@Self)^.&set := $00000002;
  36060. end;
  36061. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  36062. begin
  36063. pTDefRegMap(@Self)^.clr := $00000002;
  36064. end;
  36065. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  36066. begin
  36067. if thebits = 0 then
  36068. pTDefRegMap(@Self)^.clr := $00000002
  36069. else
  36070. pTDefRegMap(@Self)^.&set := $00000002;
  36071. end;
  36072. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  36073. begin
  36074. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36075. end;
  36076. procedure TPORTB_CNPDB.setCNPDB2; inline;
  36077. begin
  36078. pTDefRegMap(@Self)^.&set := $00000004;
  36079. end;
  36080. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  36081. begin
  36082. pTDefRegMap(@Self)^.clr := $00000004;
  36083. end;
  36084. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  36085. begin
  36086. if thebits = 0 then
  36087. pTDefRegMap(@Self)^.clr := $00000004
  36088. else
  36089. pTDefRegMap(@Self)^.&set := $00000004;
  36090. end;
  36091. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  36092. begin
  36093. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36094. end;
  36095. procedure TPORTB_CNPDB.setCNPDB3; inline;
  36096. begin
  36097. pTDefRegMap(@Self)^.&set := $00000008;
  36098. end;
  36099. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  36100. begin
  36101. pTDefRegMap(@Self)^.clr := $00000008;
  36102. end;
  36103. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  36104. begin
  36105. if thebits = 0 then
  36106. pTDefRegMap(@Self)^.clr := $00000008
  36107. else
  36108. pTDefRegMap(@Self)^.&set := $00000008;
  36109. end;
  36110. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  36111. begin
  36112. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36113. end;
  36114. procedure TPORTB_CNPDB.setCNPDB4; inline;
  36115. begin
  36116. pTDefRegMap(@Self)^.&set := $00000010;
  36117. end;
  36118. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  36119. begin
  36120. pTDefRegMap(@Self)^.clr := $00000010;
  36121. end;
  36122. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  36123. begin
  36124. if thebits = 0 then
  36125. pTDefRegMap(@Self)^.clr := $00000010
  36126. else
  36127. pTDefRegMap(@Self)^.&set := $00000010;
  36128. end;
  36129. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  36130. begin
  36131. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36132. end;
  36133. procedure TPORTB_CNPDB.setCNPDB5; inline;
  36134. begin
  36135. pTDefRegMap(@Self)^.&set := $00000020;
  36136. end;
  36137. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  36138. begin
  36139. pTDefRegMap(@Self)^.clr := $00000020;
  36140. end;
  36141. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  36142. begin
  36143. if thebits = 0 then
  36144. pTDefRegMap(@Self)^.clr := $00000020
  36145. else
  36146. pTDefRegMap(@Self)^.&set := $00000020;
  36147. end;
  36148. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  36149. begin
  36150. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36151. end;
  36152. procedure TPORTB_CNPDB.setCNPDB7; inline;
  36153. begin
  36154. pTDefRegMap(@Self)^.&set := $00000080;
  36155. end;
  36156. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  36157. begin
  36158. pTDefRegMap(@Self)^.clr := $00000080;
  36159. end;
  36160. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  36161. begin
  36162. if thebits = 0 then
  36163. pTDefRegMap(@Self)^.clr := $00000080
  36164. else
  36165. pTDefRegMap(@Self)^.&set := $00000080;
  36166. end;
  36167. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  36168. begin
  36169. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36170. end;
  36171. procedure TPORTB_CNPDB.setCNPDB8; inline;
  36172. begin
  36173. pTDefRegMap(@Self)^.&set := $00000100;
  36174. end;
  36175. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  36176. begin
  36177. pTDefRegMap(@Self)^.clr := $00000100;
  36178. end;
  36179. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  36180. begin
  36181. if thebits = 0 then
  36182. pTDefRegMap(@Self)^.clr := $00000100
  36183. else
  36184. pTDefRegMap(@Self)^.&set := $00000100;
  36185. end;
  36186. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  36187. begin
  36188. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36189. end;
  36190. procedure TPORTB_CNPDB.setCNPDB9; inline;
  36191. begin
  36192. pTDefRegMap(@Self)^.&set := $00000200;
  36193. end;
  36194. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  36195. begin
  36196. pTDefRegMap(@Self)^.clr := $00000200;
  36197. end;
  36198. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  36199. begin
  36200. if thebits = 0 then
  36201. pTDefRegMap(@Self)^.clr := $00000200
  36202. else
  36203. pTDefRegMap(@Self)^.&set := $00000200;
  36204. end;
  36205. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  36206. begin
  36207. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36208. end;
  36209. procedure TPORTB_CNPDB.setCNPDB10; inline;
  36210. begin
  36211. pTDefRegMap(@Self)^.&set := $00000400;
  36212. end;
  36213. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  36214. begin
  36215. pTDefRegMap(@Self)^.clr := $00000400;
  36216. end;
  36217. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  36218. begin
  36219. if thebits = 0 then
  36220. pTDefRegMap(@Self)^.clr := $00000400
  36221. else
  36222. pTDefRegMap(@Self)^.&set := $00000400;
  36223. end;
  36224. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  36225. begin
  36226. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36227. end;
  36228. procedure TPORTB_CNPDB.setCNPDB11; inline;
  36229. begin
  36230. pTDefRegMap(@Self)^.&set := $00000800;
  36231. end;
  36232. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  36233. begin
  36234. pTDefRegMap(@Self)^.clr := $00000800;
  36235. end;
  36236. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  36237. begin
  36238. if thebits = 0 then
  36239. pTDefRegMap(@Self)^.clr := $00000800
  36240. else
  36241. pTDefRegMap(@Self)^.&set := $00000800;
  36242. end;
  36243. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  36244. begin
  36245. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36246. end;
  36247. procedure TPORTB_CNPDB.setCNPDB13; inline;
  36248. begin
  36249. pTDefRegMap(@Self)^.&set := $00002000;
  36250. end;
  36251. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  36252. begin
  36253. pTDefRegMap(@Self)^.clr := $00002000;
  36254. end;
  36255. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  36256. begin
  36257. if thebits = 0 then
  36258. pTDefRegMap(@Self)^.clr := $00002000
  36259. else
  36260. pTDefRegMap(@Self)^.&set := $00002000;
  36261. end;
  36262. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  36263. begin
  36264. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36265. end;
  36266. procedure TPORTB_CNPDB.setCNPDB14; inline;
  36267. begin
  36268. pTDefRegMap(@Self)^.&set := $00004000;
  36269. end;
  36270. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  36271. begin
  36272. pTDefRegMap(@Self)^.clr := $00004000;
  36273. end;
  36274. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  36275. begin
  36276. if thebits = 0 then
  36277. pTDefRegMap(@Self)^.clr := $00004000
  36278. else
  36279. pTDefRegMap(@Self)^.&set := $00004000;
  36280. end;
  36281. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  36282. begin
  36283. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36284. end;
  36285. procedure TPORTB_CNPDB.setCNPDB15; inline;
  36286. begin
  36287. pTDefRegMap(@Self)^.&set := $00008000;
  36288. end;
  36289. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  36290. begin
  36291. pTDefRegMap(@Self)^.clr := $00008000;
  36292. end;
  36293. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  36294. begin
  36295. if thebits = 0 then
  36296. pTDefRegMap(@Self)^.clr := $00008000
  36297. else
  36298. pTDefRegMap(@Self)^.&set := $00008000;
  36299. end;
  36300. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  36301. begin
  36302. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36303. end;
  36304. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  36305. begin
  36306. pTDefRegMap(@Self)^.val := thebits;
  36307. end;
  36308. function TPORTB_CNPDB.getw : TBits_32; inline;
  36309. begin
  36310. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36311. end;
  36312. procedure TPORTB_CNCONB.setSIDL; inline;
  36313. begin
  36314. pTDefRegMap(@Self)^.&set := $00002000;
  36315. end;
  36316. procedure TPORTB_CNCONB.clearSIDL; inline;
  36317. begin
  36318. pTDefRegMap(@Self)^.clr := $00002000;
  36319. end;
  36320. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  36321. begin
  36322. if thebits = 0 then
  36323. pTDefRegMap(@Self)^.clr := $00002000
  36324. else
  36325. pTDefRegMap(@Self)^.&set := $00002000;
  36326. end;
  36327. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  36328. begin
  36329. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36330. end;
  36331. procedure TPORTB_CNCONB.setON; inline;
  36332. begin
  36333. pTDefRegMap(@Self)^.&set := $00008000;
  36334. end;
  36335. procedure TPORTB_CNCONB.clearON; inline;
  36336. begin
  36337. pTDefRegMap(@Self)^.clr := $00008000;
  36338. end;
  36339. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  36340. begin
  36341. if thebits = 0 then
  36342. pTDefRegMap(@Self)^.clr := $00008000
  36343. else
  36344. pTDefRegMap(@Self)^.&set := $00008000;
  36345. end;
  36346. function TPORTB_CNCONB.getON : TBits_1; inline;
  36347. begin
  36348. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36349. end;
  36350. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  36351. begin
  36352. pTDefRegMap(@Self)^.val := thebits;
  36353. end;
  36354. function TPORTB_CNCONB.getw : TBits_32; inline;
  36355. begin
  36356. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36357. end;
  36358. procedure TPORTB_CNENB.setCNIEB0; inline;
  36359. begin
  36360. pTDefRegMap(@Self)^.&set := $00000001;
  36361. end;
  36362. procedure TPORTB_CNENB.clearCNIEB0; inline;
  36363. begin
  36364. pTDefRegMap(@Self)^.clr := $00000001;
  36365. end;
  36366. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  36367. begin
  36368. if thebits = 0 then
  36369. pTDefRegMap(@Self)^.clr := $00000001
  36370. else
  36371. pTDefRegMap(@Self)^.&set := $00000001;
  36372. end;
  36373. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  36374. begin
  36375. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36376. end;
  36377. procedure TPORTB_CNENB.setCNIEB1; inline;
  36378. begin
  36379. pTDefRegMap(@Self)^.&set := $00000002;
  36380. end;
  36381. procedure TPORTB_CNENB.clearCNIEB1; inline;
  36382. begin
  36383. pTDefRegMap(@Self)^.clr := $00000002;
  36384. end;
  36385. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  36386. begin
  36387. if thebits = 0 then
  36388. pTDefRegMap(@Self)^.clr := $00000002
  36389. else
  36390. pTDefRegMap(@Self)^.&set := $00000002;
  36391. end;
  36392. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  36393. begin
  36394. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36395. end;
  36396. procedure TPORTB_CNENB.setCNIEB2; inline;
  36397. begin
  36398. pTDefRegMap(@Self)^.&set := $00000004;
  36399. end;
  36400. procedure TPORTB_CNENB.clearCNIEB2; inline;
  36401. begin
  36402. pTDefRegMap(@Self)^.clr := $00000004;
  36403. end;
  36404. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  36405. begin
  36406. if thebits = 0 then
  36407. pTDefRegMap(@Self)^.clr := $00000004
  36408. else
  36409. pTDefRegMap(@Self)^.&set := $00000004;
  36410. end;
  36411. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  36412. begin
  36413. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36414. end;
  36415. procedure TPORTB_CNENB.setCNIEB3; inline;
  36416. begin
  36417. pTDefRegMap(@Self)^.&set := $00000008;
  36418. end;
  36419. procedure TPORTB_CNENB.clearCNIEB3; inline;
  36420. begin
  36421. pTDefRegMap(@Self)^.clr := $00000008;
  36422. end;
  36423. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  36424. begin
  36425. if thebits = 0 then
  36426. pTDefRegMap(@Self)^.clr := $00000008
  36427. else
  36428. pTDefRegMap(@Self)^.&set := $00000008;
  36429. end;
  36430. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  36431. begin
  36432. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36433. end;
  36434. procedure TPORTB_CNENB.setCNIEB4; inline;
  36435. begin
  36436. pTDefRegMap(@Self)^.&set := $00000010;
  36437. end;
  36438. procedure TPORTB_CNENB.clearCNIEB4; inline;
  36439. begin
  36440. pTDefRegMap(@Self)^.clr := $00000010;
  36441. end;
  36442. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  36443. begin
  36444. if thebits = 0 then
  36445. pTDefRegMap(@Self)^.clr := $00000010
  36446. else
  36447. pTDefRegMap(@Self)^.&set := $00000010;
  36448. end;
  36449. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  36450. begin
  36451. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36452. end;
  36453. procedure TPORTB_CNENB.setCNIEB5; inline;
  36454. begin
  36455. pTDefRegMap(@Self)^.&set := $00000020;
  36456. end;
  36457. procedure TPORTB_CNENB.clearCNIEB5; inline;
  36458. begin
  36459. pTDefRegMap(@Self)^.clr := $00000020;
  36460. end;
  36461. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  36462. begin
  36463. if thebits = 0 then
  36464. pTDefRegMap(@Self)^.clr := $00000020
  36465. else
  36466. pTDefRegMap(@Self)^.&set := $00000020;
  36467. end;
  36468. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  36469. begin
  36470. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36471. end;
  36472. procedure TPORTB_CNENB.setCNIEB7; inline;
  36473. begin
  36474. pTDefRegMap(@Self)^.&set := $00000080;
  36475. end;
  36476. procedure TPORTB_CNENB.clearCNIEB7; inline;
  36477. begin
  36478. pTDefRegMap(@Self)^.clr := $00000080;
  36479. end;
  36480. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  36481. begin
  36482. if thebits = 0 then
  36483. pTDefRegMap(@Self)^.clr := $00000080
  36484. else
  36485. pTDefRegMap(@Self)^.&set := $00000080;
  36486. end;
  36487. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  36488. begin
  36489. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36490. end;
  36491. procedure TPORTB_CNENB.setCNIEB8; inline;
  36492. begin
  36493. pTDefRegMap(@Self)^.&set := $00000100;
  36494. end;
  36495. procedure TPORTB_CNENB.clearCNIEB8; inline;
  36496. begin
  36497. pTDefRegMap(@Self)^.clr := $00000100;
  36498. end;
  36499. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  36500. begin
  36501. if thebits = 0 then
  36502. pTDefRegMap(@Self)^.clr := $00000100
  36503. else
  36504. pTDefRegMap(@Self)^.&set := $00000100;
  36505. end;
  36506. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  36507. begin
  36508. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36509. end;
  36510. procedure TPORTB_CNENB.setCNIEB9; inline;
  36511. begin
  36512. pTDefRegMap(@Self)^.&set := $00000200;
  36513. end;
  36514. procedure TPORTB_CNENB.clearCNIEB9; inline;
  36515. begin
  36516. pTDefRegMap(@Self)^.clr := $00000200;
  36517. end;
  36518. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  36519. begin
  36520. if thebits = 0 then
  36521. pTDefRegMap(@Self)^.clr := $00000200
  36522. else
  36523. pTDefRegMap(@Self)^.&set := $00000200;
  36524. end;
  36525. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  36526. begin
  36527. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36528. end;
  36529. procedure TPORTB_CNENB.setCNIEB10; inline;
  36530. begin
  36531. pTDefRegMap(@Self)^.&set := $00000400;
  36532. end;
  36533. procedure TPORTB_CNENB.clearCNIEB10; inline;
  36534. begin
  36535. pTDefRegMap(@Self)^.clr := $00000400;
  36536. end;
  36537. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  36538. begin
  36539. if thebits = 0 then
  36540. pTDefRegMap(@Self)^.clr := $00000400
  36541. else
  36542. pTDefRegMap(@Self)^.&set := $00000400;
  36543. end;
  36544. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  36545. begin
  36546. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36547. end;
  36548. procedure TPORTB_CNENB.setCNIEB11; inline;
  36549. begin
  36550. pTDefRegMap(@Self)^.&set := $00000800;
  36551. end;
  36552. procedure TPORTB_CNENB.clearCNIEB11; inline;
  36553. begin
  36554. pTDefRegMap(@Self)^.clr := $00000800;
  36555. end;
  36556. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  36557. begin
  36558. if thebits = 0 then
  36559. pTDefRegMap(@Self)^.clr := $00000800
  36560. else
  36561. pTDefRegMap(@Self)^.&set := $00000800;
  36562. end;
  36563. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  36564. begin
  36565. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36566. end;
  36567. procedure TPORTB_CNENB.setCNIEB13; inline;
  36568. begin
  36569. pTDefRegMap(@Self)^.&set := $00002000;
  36570. end;
  36571. procedure TPORTB_CNENB.clearCNIEB13; inline;
  36572. begin
  36573. pTDefRegMap(@Self)^.clr := $00002000;
  36574. end;
  36575. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  36576. begin
  36577. if thebits = 0 then
  36578. pTDefRegMap(@Self)^.clr := $00002000
  36579. else
  36580. pTDefRegMap(@Self)^.&set := $00002000;
  36581. end;
  36582. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  36583. begin
  36584. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36585. end;
  36586. procedure TPORTB_CNENB.setCNIEB14; inline;
  36587. begin
  36588. pTDefRegMap(@Self)^.&set := $00004000;
  36589. end;
  36590. procedure TPORTB_CNENB.clearCNIEB14; inline;
  36591. begin
  36592. pTDefRegMap(@Self)^.clr := $00004000;
  36593. end;
  36594. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  36595. begin
  36596. if thebits = 0 then
  36597. pTDefRegMap(@Self)^.clr := $00004000
  36598. else
  36599. pTDefRegMap(@Self)^.&set := $00004000;
  36600. end;
  36601. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  36602. begin
  36603. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36604. end;
  36605. procedure TPORTB_CNENB.setCNIEB15; inline;
  36606. begin
  36607. pTDefRegMap(@Self)^.&set := $00008000;
  36608. end;
  36609. procedure TPORTB_CNENB.clearCNIEB15; inline;
  36610. begin
  36611. pTDefRegMap(@Self)^.clr := $00008000;
  36612. end;
  36613. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  36614. begin
  36615. if thebits = 0 then
  36616. pTDefRegMap(@Self)^.clr := $00008000
  36617. else
  36618. pTDefRegMap(@Self)^.&set := $00008000;
  36619. end;
  36620. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  36621. begin
  36622. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36623. end;
  36624. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  36625. begin
  36626. pTDefRegMap(@Self)^.val := thebits;
  36627. end;
  36628. function TPORTB_CNENB.getw : TBits_32; inline;
  36629. begin
  36630. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36631. end;
  36632. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  36633. begin
  36634. pTDefRegMap(@Self)^.&set := $00000001;
  36635. end;
  36636. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  36637. begin
  36638. pTDefRegMap(@Self)^.clr := $00000001;
  36639. end;
  36640. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  36641. begin
  36642. if thebits = 0 then
  36643. pTDefRegMap(@Self)^.clr := $00000001
  36644. else
  36645. pTDefRegMap(@Self)^.&set := $00000001;
  36646. end;
  36647. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  36648. begin
  36649. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36650. end;
  36651. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  36652. begin
  36653. pTDefRegMap(@Self)^.&set := $00000002;
  36654. end;
  36655. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  36656. begin
  36657. pTDefRegMap(@Self)^.clr := $00000002;
  36658. end;
  36659. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  36660. begin
  36661. if thebits = 0 then
  36662. pTDefRegMap(@Self)^.clr := $00000002
  36663. else
  36664. pTDefRegMap(@Self)^.&set := $00000002;
  36665. end;
  36666. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  36667. begin
  36668. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36669. end;
  36670. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  36671. begin
  36672. pTDefRegMap(@Self)^.&set := $00000004;
  36673. end;
  36674. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  36675. begin
  36676. pTDefRegMap(@Self)^.clr := $00000004;
  36677. end;
  36678. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  36679. begin
  36680. if thebits = 0 then
  36681. pTDefRegMap(@Self)^.clr := $00000004
  36682. else
  36683. pTDefRegMap(@Self)^.&set := $00000004;
  36684. end;
  36685. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  36686. begin
  36687. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36688. end;
  36689. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  36690. begin
  36691. pTDefRegMap(@Self)^.&set := $00000008;
  36692. end;
  36693. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  36694. begin
  36695. pTDefRegMap(@Self)^.clr := $00000008;
  36696. end;
  36697. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  36698. begin
  36699. if thebits = 0 then
  36700. pTDefRegMap(@Self)^.clr := $00000008
  36701. else
  36702. pTDefRegMap(@Self)^.&set := $00000008;
  36703. end;
  36704. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  36705. begin
  36706. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36707. end;
  36708. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  36709. begin
  36710. pTDefRegMap(@Self)^.&set := $00000010;
  36711. end;
  36712. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  36713. begin
  36714. pTDefRegMap(@Self)^.clr := $00000010;
  36715. end;
  36716. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  36717. begin
  36718. if thebits = 0 then
  36719. pTDefRegMap(@Self)^.clr := $00000010
  36720. else
  36721. pTDefRegMap(@Self)^.&set := $00000010;
  36722. end;
  36723. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  36724. begin
  36725. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36726. end;
  36727. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  36728. begin
  36729. pTDefRegMap(@Self)^.&set := $00000020;
  36730. end;
  36731. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  36732. begin
  36733. pTDefRegMap(@Self)^.clr := $00000020;
  36734. end;
  36735. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  36736. begin
  36737. if thebits = 0 then
  36738. pTDefRegMap(@Self)^.clr := $00000020
  36739. else
  36740. pTDefRegMap(@Self)^.&set := $00000020;
  36741. end;
  36742. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  36743. begin
  36744. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36745. end;
  36746. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  36747. begin
  36748. pTDefRegMap(@Self)^.&set := $00000080;
  36749. end;
  36750. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  36751. begin
  36752. pTDefRegMap(@Self)^.clr := $00000080;
  36753. end;
  36754. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  36755. begin
  36756. if thebits = 0 then
  36757. pTDefRegMap(@Self)^.clr := $00000080
  36758. else
  36759. pTDefRegMap(@Self)^.&set := $00000080;
  36760. end;
  36761. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  36762. begin
  36763. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36764. end;
  36765. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  36766. begin
  36767. pTDefRegMap(@Self)^.&set := $00000100;
  36768. end;
  36769. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  36770. begin
  36771. pTDefRegMap(@Self)^.clr := $00000100;
  36772. end;
  36773. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  36774. begin
  36775. if thebits = 0 then
  36776. pTDefRegMap(@Self)^.clr := $00000100
  36777. else
  36778. pTDefRegMap(@Self)^.&set := $00000100;
  36779. end;
  36780. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  36781. begin
  36782. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36783. end;
  36784. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  36785. begin
  36786. pTDefRegMap(@Self)^.&set := $00000200;
  36787. end;
  36788. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  36789. begin
  36790. pTDefRegMap(@Self)^.clr := $00000200;
  36791. end;
  36792. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  36793. begin
  36794. if thebits = 0 then
  36795. pTDefRegMap(@Self)^.clr := $00000200
  36796. else
  36797. pTDefRegMap(@Self)^.&set := $00000200;
  36798. end;
  36799. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  36800. begin
  36801. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36802. end;
  36803. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  36804. begin
  36805. pTDefRegMap(@Self)^.&set := $00000400;
  36806. end;
  36807. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  36808. begin
  36809. pTDefRegMap(@Self)^.clr := $00000400;
  36810. end;
  36811. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  36812. begin
  36813. if thebits = 0 then
  36814. pTDefRegMap(@Self)^.clr := $00000400
  36815. else
  36816. pTDefRegMap(@Self)^.&set := $00000400;
  36817. end;
  36818. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  36819. begin
  36820. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36821. end;
  36822. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  36823. begin
  36824. pTDefRegMap(@Self)^.&set := $00000800;
  36825. end;
  36826. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  36827. begin
  36828. pTDefRegMap(@Self)^.clr := $00000800;
  36829. end;
  36830. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  36831. begin
  36832. if thebits = 0 then
  36833. pTDefRegMap(@Self)^.clr := $00000800
  36834. else
  36835. pTDefRegMap(@Self)^.&set := $00000800;
  36836. end;
  36837. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  36838. begin
  36839. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36840. end;
  36841. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  36842. begin
  36843. pTDefRegMap(@Self)^.&set := $00002000;
  36844. end;
  36845. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  36846. begin
  36847. pTDefRegMap(@Self)^.clr := $00002000;
  36848. end;
  36849. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  36850. begin
  36851. if thebits = 0 then
  36852. pTDefRegMap(@Self)^.clr := $00002000
  36853. else
  36854. pTDefRegMap(@Self)^.&set := $00002000;
  36855. end;
  36856. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  36857. begin
  36858. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36859. end;
  36860. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  36861. begin
  36862. pTDefRegMap(@Self)^.&set := $00004000;
  36863. end;
  36864. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  36865. begin
  36866. pTDefRegMap(@Self)^.clr := $00004000;
  36867. end;
  36868. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  36869. begin
  36870. if thebits = 0 then
  36871. pTDefRegMap(@Self)^.clr := $00004000
  36872. else
  36873. pTDefRegMap(@Self)^.&set := $00004000;
  36874. end;
  36875. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  36876. begin
  36877. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36878. end;
  36879. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  36880. begin
  36881. pTDefRegMap(@Self)^.&set := $00008000;
  36882. end;
  36883. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  36884. begin
  36885. pTDefRegMap(@Self)^.clr := $00008000;
  36886. end;
  36887. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  36888. begin
  36889. if thebits = 0 then
  36890. pTDefRegMap(@Self)^.clr := $00008000
  36891. else
  36892. pTDefRegMap(@Self)^.&set := $00008000;
  36893. end;
  36894. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  36895. begin
  36896. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36897. end;
  36898. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  36899. begin
  36900. pTDefRegMap(@Self)^.val := thebits;
  36901. end;
  36902. function TPORTB_CNSTATB.getw : TBits_32; inline;
  36903. begin
  36904. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36905. end;
  36906. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  36907. begin
  36908. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  36909. end;
  36910. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  36911. begin
  36912. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  36913. end;
  36914. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  36915. begin
  36916. pTDefRegMap(@Self)^.&set := $10000000;
  36917. end;
  36918. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  36919. begin
  36920. pTDefRegMap(@Self)^.clr := $10000000;
  36921. end;
  36922. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  36923. begin
  36924. if thebits = 0 then
  36925. pTDefRegMap(@Self)^.clr := $10000000
  36926. else
  36927. pTDefRegMap(@Self)^.&set := $10000000;
  36928. end;
  36929. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  36930. begin
  36931. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  36932. end;
  36933. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  36934. begin
  36935. pTDefRegMap(@Self)^.&set := $20000000;
  36936. end;
  36937. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  36938. begin
  36939. pTDefRegMap(@Self)^.clr := $20000000;
  36940. end;
  36941. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  36942. begin
  36943. if thebits = 0 then
  36944. pTDefRegMap(@Self)^.clr := $20000000
  36945. else
  36946. pTDefRegMap(@Self)^.&set := $20000000;
  36947. end;
  36948. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  36949. begin
  36950. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  36951. end;
  36952. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  36953. begin
  36954. pTDefRegMap(@Self)^.&set := $40000000;
  36955. end;
  36956. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  36957. begin
  36958. pTDefRegMap(@Self)^.clr := $40000000;
  36959. end;
  36960. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  36961. begin
  36962. if thebits = 0 then
  36963. pTDefRegMap(@Self)^.clr := $40000000
  36964. else
  36965. pTDefRegMap(@Self)^.&set := $40000000;
  36966. end;
  36967. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  36968. begin
  36969. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  36970. end;
  36971. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  36972. begin
  36973. pTDefRegMap(@Self)^.&set := $80000000;
  36974. end;
  36975. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  36976. begin
  36977. pTDefRegMap(@Self)^.clr := $80000000;
  36978. end;
  36979. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  36980. begin
  36981. if thebits = 0 then
  36982. pTDefRegMap(@Self)^.clr := $80000000
  36983. else
  36984. pTDefRegMap(@Self)^.&set := $80000000;
  36985. end;
  36986. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  36987. begin
  36988. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  36989. end;
  36990. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  36991. begin
  36992. pTDefRegMap(@Self)^.val := thebits;
  36993. end;
  36994. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  36995. begin
  36996. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36997. end;
  36998. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  36999. begin
  37000. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  37001. end;
  37002. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  37003. begin
  37004. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  37005. end;
  37006. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  37007. begin
  37008. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  37009. end;
  37010. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  37011. begin
  37012. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  37013. end;
  37014. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  37015. begin
  37016. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  37017. end;
  37018. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  37019. begin
  37020. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  37021. end;
  37022. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  37023. begin
  37024. pTDefRegMap(@Self)^.&set := $00008000;
  37025. end;
  37026. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  37027. begin
  37028. pTDefRegMap(@Self)^.clr := $00008000;
  37029. end;
  37030. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  37031. begin
  37032. if thebits = 0 then
  37033. pTDefRegMap(@Self)^.clr := $00008000
  37034. else
  37035. pTDefRegMap(@Self)^.&set := $00008000;
  37036. end;
  37037. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  37038. begin
  37039. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37040. end;
  37041. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  37042. begin
  37043. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  37044. end;
  37045. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  37046. begin
  37047. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  37048. end;
  37049. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  37050. begin
  37051. pTDefRegMap(@Self)^.val := thebits;
  37052. end;
  37053. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  37054. begin
  37055. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37056. end;
  37057. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  37058. begin
  37059. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  37060. end;
  37061. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  37062. begin
  37063. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  37064. end;
  37065. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  37066. begin
  37067. pTDefRegMap(@Self)^.&set := $00000020;
  37068. end;
  37069. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  37070. begin
  37071. pTDefRegMap(@Self)^.clr := $00000020;
  37072. end;
  37073. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  37074. begin
  37075. if thebits = 0 then
  37076. pTDefRegMap(@Self)^.clr := $00000020
  37077. else
  37078. pTDefRegMap(@Self)^.&set := $00000020;
  37079. end;
  37080. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  37081. begin
  37082. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37083. end;
  37084. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  37085. begin
  37086. pTDefRegMap(@Self)^.&set := $00000080;
  37087. end;
  37088. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  37089. begin
  37090. pTDefRegMap(@Self)^.clr := $00000080;
  37091. end;
  37092. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  37093. begin
  37094. if thebits = 0 then
  37095. pTDefRegMap(@Self)^.clr := $00000080
  37096. else
  37097. pTDefRegMap(@Self)^.&set := $00000080;
  37098. end;
  37099. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  37100. begin
  37101. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37102. end;
  37103. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  37104. begin
  37105. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37106. end;
  37107. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  37108. begin
  37109. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37110. end;
  37111. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  37112. begin
  37113. pTDefRegMap(@Self)^.&set := $00000400;
  37114. end;
  37115. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  37116. begin
  37117. pTDefRegMap(@Self)^.clr := $00000400;
  37118. end;
  37119. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  37120. begin
  37121. if thebits = 0 then
  37122. pTDefRegMap(@Self)^.clr := $00000400
  37123. else
  37124. pTDefRegMap(@Self)^.&set := $00000400;
  37125. end;
  37126. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  37127. begin
  37128. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37129. end;
  37130. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  37131. begin
  37132. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  37133. end;
  37134. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  37135. begin
  37136. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  37137. end;
  37138. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  37139. begin
  37140. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  37141. end;
  37142. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  37143. begin
  37144. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  37145. end;
  37146. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  37147. begin
  37148. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  37149. end;
  37150. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  37151. begin
  37152. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  37153. end;
  37154. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  37155. begin
  37156. pTDefRegMap(@Self)^.&set := $00400000;
  37157. end;
  37158. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  37159. begin
  37160. pTDefRegMap(@Self)^.clr := $00400000;
  37161. end;
  37162. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  37163. begin
  37164. if thebits = 0 then
  37165. pTDefRegMap(@Self)^.clr := $00400000
  37166. else
  37167. pTDefRegMap(@Self)^.&set := $00400000;
  37168. end;
  37169. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  37170. begin
  37171. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  37172. end;
  37173. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  37174. begin
  37175. pTDefRegMap(@Self)^.&set := $00800000;
  37176. end;
  37177. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  37178. begin
  37179. pTDefRegMap(@Self)^.clr := $00800000;
  37180. end;
  37181. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  37182. begin
  37183. if thebits = 0 then
  37184. pTDefRegMap(@Self)^.clr := $00800000
  37185. else
  37186. pTDefRegMap(@Self)^.&set := $00800000;
  37187. end;
  37188. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  37189. begin
  37190. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  37191. end;
  37192. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  37193. begin
  37194. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37195. end;
  37196. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  37197. begin
  37198. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37199. end;
  37200. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  37201. begin
  37202. pTDefRegMap(@Self)^.val := thebits;
  37203. end;
  37204. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  37205. begin
  37206. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37207. end;
  37208. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  37209. begin
  37210. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37211. end;
  37212. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  37213. begin
  37214. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37215. end;
  37216. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  37217. begin
  37218. pTDefRegMap(@Self)^.&set := $00000004;
  37219. end;
  37220. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  37221. begin
  37222. pTDefRegMap(@Self)^.clr := $00000004;
  37223. end;
  37224. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  37225. begin
  37226. if thebits = 0 then
  37227. pTDefRegMap(@Self)^.clr := $00000004
  37228. else
  37229. pTDefRegMap(@Self)^.&set := $00000004;
  37230. end;
  37231. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  37232. begin
  37233. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37234. end;
  37235. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  37236. begin
  37237. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  37238. end;
  37239. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  37240. begin
  37241. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  37242. end;
  37243. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_9); inline;
  37244. begin
  37245. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF803FF or ( thebits shl 10 );
  37246. end;
  37247. function TDEVCFG_DEVCFG0.getPWP : TBits_9; inline;
  37248. begin
  37249. getPWP := (pTDefRegMap(@Self)^.val and $0007FC00) shr 10;
  37250. end;
  37251. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  37252. begin
  37253. pTDefRegMap(@Self)^.&set := $01000000;
  37254. end;
  37255. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  37256. begin
  37257. pTDefRegMap(@Self)^.clr := $01000000;
  37258. end;
  37259. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  37260. begin
  37261. if thebits = 0 then
  37262. pTDefRegMap(@Self)^.clr := $01000000
  37263. else
  37264. pTDefRegMap(@Self)^.&set := $01000000;
  37265. end;
  37266. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  37267. begin
  37268. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  37269. end;
  37270. procedure TDEVCFG_DEVCFG0.setCP; inline;
  37271. begin
  37272. pTDefRegMap(@Self)^.&set := $10000000;
  37273. end;
  37274. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  37275. begin
  37276. pTDefRegMap(@Self)^.clr := $10000000;
  37277. end;
  37278. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  37279. begin
  37280. if thebits = 0 then
  37281. pTDefRegMap(@Self)^.clr := $10000000
  37282. else
  37283. pTDefRegMap(@Self)^.&set := $10000000;
  37284. end;
  37285. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  37286. begin
  37287. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  37288. end;
  37289. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  37290. begin
  37291. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37292. end;
  37293. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  37294. begin
  37295. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37296. end;
  37297. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  37298. begin
  37299. pTDefRegMap(@Self)^.val := thebits;
  37300. end;
  37301. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  37302. begin
  37303. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37304. end;
  37305. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  37306. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  37307. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  37308. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  37309. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  37310. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  37311. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  37312. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  37313. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  37314. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  37315. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  37316. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  37317. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  37318. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  37319. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  37320. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  37321. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  37322. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  37323. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  37324. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  37325. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  37326. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  37327. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  37328. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  37329. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  37330. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  37331. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  37332. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  37333. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  37334. procedure _COMPARATOR_3_VECTOR_interrupt; external name '_COMPARATOR_3_VECTOR_interrupt';
  37335. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  37336. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  37337. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  37338. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  37339. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  37340. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  37341. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  37342. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  37343. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  37344. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  37345. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  37346. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  37347. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  37348. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  37349. procedure Vectors; assembler; nostackframe;
  37350. label interrupt_vectors;
  37351. asm
  37352. .section ".init.interrupt_vectors,\"ax\",@progbits"
  37353. interrupt_vectors:
  37354. j _CORE_TIMER_VECTOR_interrupt
  37355. nop
  37356. nop
  37357. nop
  37358. nop
  37359. nop
  37360. nop
  37361. nop
  37362. j _CORE_SOFTWARE_0_VECTOR_interrupt
  37363. nop
  37364. nop
  37365. nop
  37366. nop
  37367. nop
  37368. nop
  37369. nop
  37370. j _CORE_SOFTWARE_1_VECTOR_interrupt
  37371. nop
  37372. nop
  37373. nop
  37374. nop
  37375. nop
  37376. nop
  37377. nop
  37378. j _EXTERNAL_0_VECTOR_interrupt
  37379. nop
  37380. nop
  37381. nop
  37382. nop
  37383. nop
  37384. nop
  37385. nop
  37386. j _TIMER_1_VECTOR_interrupt
  37387. nop
  37388. nop
  37389. nop
  37390. nop
  37391. nop
  37392. nop
  37393. nop
  37394. j _INPUT_CAPTURE_1_VECTOR_interrupt
  37395. nop
  37396. nop
  37397. nop
  37398. nop
  37399. nop
  37400. nop
  37401. nop
  37402. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  37403. nop
  37404. nop
  37405. nop
  37406. nop
  37407. nop
  37408. nop
  37409. nop
  37410. j _EXTERNAL_1_VECTOR_interrupt
  37411. nop
  37412. nop
  37413. nop
  37414. nop
  37415. nop
  37416. nop
  37417. nop
  37418. j _TIMER_2_VECTOR_interrupt
  37419. nop
  37420. nop
  37421. nop
  37422. nop
  37423. nop
  37424. nop
  37425. nop
  37426. j _INPUT_CAPTURE_2_VECTOR_interrupt
  37427. nop
  37428. nop
  37429. nop
  37430. nop
  37431. nop
  37432. nop
  37433. nop
  37434. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  37435. nop
  37436. nop
  37437. nop
  37438. nop
  37439. nop
  37440. nop
  37441. nop
  37442. j _EXTERNAL_2_VECTOR_interrupt
  37443. nop
  37444. nop
  37445. nop
  37446. nop
  37447. nop
  37448. nop
  37449. nop
  37450. j _TIMER_3_VECTOR_interrupt
  37451. nop
  37452. nop
  37453. nop
  37454. nop
  37455. nop
  37456. nop
  37457. nop
  37458. j _INPUT_CAPTURE_3_VECTOR_interrupt
  37459. nop
  37460. nop
  37461. nop
  37462. nop
  37463. nop
  37464. nop
  37465. nop
  37466. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  37467. nop
  37468. nop
  37469. nop
  37470. nop
  37471. nop
  37472. nop
  37473. nop
  37474. j _EXTERNAL_3_VECTOR_interrupt
  37475. nop
  37476. nop
  37477. nop
  37478. nop
  37479. nop
  37480. nop
  37481. nop
  37482. j _TIMER_4_VECTOR_interrupt
  37483. nop
  37484. nop
  37485. nop
  37486. nop
  37487. nop
  37488. nop
  37489. nop
  37490. j _INPUT_CAPTURE_4_VECTOR_interrupt
  37491. nop
  37492. nop
  37493. nop
  37494. nop
  37495. nop
  37496. nop
  37497. nop
  37498. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  37499. nop
  37500. nop
  37501. nop
  37502. nop
  37503. nop
  37504. nop
  37505. nop
  37506. j _EXTERNAL_4_VECTOR_interrupt
  37507. nop
  37508. nop
  37509. nop
  37510. nop
  37511. nop
  37512. nop
  37513. nop
  37514. j _TIMER_5_VECTOR_interrupt
  37515. nop
  37516. nop
  37517. nop
  37518. nop
  37519. nop
  37520. nop
  37521. nop
  37522. j _INPUT_CAPTURE_5_VECTOR_interrupt
  37523. nop
  37524. nop
  37525. nop
  37526. nop
  37527. nop
  37528. nop
  37529. nop
  37530. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  37531. nop
  37532. nop
  37533. nop
  37534. nop
  37535. nop
  37536. nop
  37537. nop
  37538. j _ADC_VECTOR_interrupt
  37539. nop
  37540. nop
  37541. nop
  37542. nop
  37543. nop
  37544. nop
  37545. nop
  37546. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  37547. nop
  37548. nop
  37549. nop
  37550. nop
  37551. nop
  37552. nop
  37553. nop
  37554. j _RTCC_VECTOR_interrupt
  37555. nop
  37556. nop
  37557. nop
  37558. nop
  37559. nop
  37560. nop
  37561. nop
  37562. j _FCE_VECTOR_interrupt
  37563. nop
  37564. nop
  37565. nop
  37566. nop
  37567. nop
  37568. nop
  37569. nop
  37570. j _COMPARATOR_1_VECTOR_interrupt
  37571. nop
  37572. nop
  37573. nop
  37574. nop
  37575. nop
  37576. nop
  37577. nop
  37578. j _COMPARATOR_2_VECTOR_interrupt
  37579. nop
  37580. nop
  37581. nop
  37582. nop
  37583. nop
  37584. nop
  37585. nop
  37586. j _COMPARATOR_3_VECTOR_interrupt
  37587. nop
  37588. nop
  37589. nop
  37590. nop
  37591. nop
  37592. nop
  37593. nop
  37594. j _USB_1_VECTOR_interrupt
  37595. nop
  37596. nop
  37597. nop
  37598. nop
  37599. nop
  37600. nop
  37601. nop
  37602. j _SPI_1_VECTOR_interrupt
  37603. nop
  37604. nop
  37605. nop
  37606. nop
  37607. nop
  37608. nop
  37609. nop
  37610. j _UART_1_VECTOR_interrupt
  37611. nop
  37612. nop
  37613. nop
  37614. nop
  37615. nop
  37616. nop
  37617. nop
  37618. j _I2C_1_VECTOR_interrupt
  37619. nop
  37620. nop
  37621. nop
  37622. nop
  37623. nop
  37624. nop
  37625. nop
  37626. j _CHANGE_NOTICE_VECTOR_interrupt
  37627. nop
  37628. nop
  37629. nop
  37630. nop
  37631. nop
  37632. nop
  37633. nop
  37634. j _PMP_VECTOR_interrupt
  37635. nop
  37636. nop
  37637. nop
  37638. nop
  37639. nop
  37640. nop
  37641. nop
  37642. j _SPI_2_VECTOR_interrupt
  37643. nop
  37644. nop
  37645. nop
  37646. nop
  37647. nop
  37648. nop
  37649. nop
  37650. j _UART_2_VECTOR_interrupt
  37651. nop
  37652. nop
  37653. nop
  37654. nop
  37655. nop
  37656. nop
  37657. nop
  37658. j _I2C_2_VECTOR_interrupt
  37659. nop
  37660. nop
  37661. nop
  37662. nop
  37663. nop
  37664. nop
  37665. nop
  37666. j _CTMU_VECTOR_interrupt
  37667. nop
  37668. nop
  37669. nop
  37670. nop
  37671. nop
  37672. nop
  37673. nop
  37674. j _DMA_0_VECTOR_interrupt
  37675. nop
  37676. nop
  37677. nop
  37678. nop
  37679. nop
  37680. nop
  37681. nop
  37682. j _DMA_1_VECTOR_interrupt
  37683. nop
  37684. nop
  37685. nop
  37686. nop
  37687. nop
  37688. nop
  37689. nop
  37690. j _DMA_2_VECTOR_interrupt
  37691. nop
  37692. nop
  37693. nop
  37694. nop
  37695. nop
  37696. nop
  37697. nop
  37698. j _DMA_3_VECTOR_interrupt
  37699. nop
  37700. nop
  37701. nop
  37702. nop
  37703. nop
  37704. nop
  37705. nop
  37706. .weak _CORE_TIMER_VECTOR_interrupt
  37707. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  37708. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  37709. .weak _EXTERNAL_0_VECTOR_interrupt
  37710. .weak _TIMER_1_VECTOR_interrupt
  37711. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  37712. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  37713. .weak _EXTERNAL_1_VECTOR_interrupt
  37714. .weak _TIMER_2_VECTOR_interrupt
  37715. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  37716. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  37717. .weak _EXTERNAL_2_VECTOR_interrupt
  37718. .weak _TIMER_3_VECTOR_interrupt
  37719. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  37720. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  37721. .weak _EXTERNAL_3_VECTOR_interrupt
  37722. .weak _TIMER_4_VECTOR_interrupt
  37723. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  37724. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  37725. .weak _EXTERNAL_4_VECTOR_interrupt
  37726. .weak _TIMER_5_VECTOR_interrupt
  37727. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  37728. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  37729. .weak _ADC_VECTOR_interrupt
  37730. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  37731. .weak _RTCC_VECTOR_interrupt
  37732. .weak _FCE_VECTOR_interrupt
  37733. .weak _COMPARATOR_1_VECTOR_interrupt
  37734. .weak _COMPARATOR_2_VECTOR_interrupt
  37735. .weak _COMPARATOR_3_VECTOR_interrupt
  37736. .weak _USB_1_VECTOR_interrupt
  37737. .weak _SPI_1_VECTOR_interrupt
  37738. .weak _UART_1_VECTOR_interrupt
  37739. .weak _I2C_1_VECTOR_interrupt
  37740. .weak _CHANGE_NOTICE_VECTOR_interrupt
  37741. .weak _PMP_VECTOR_interrupt
  37742. .weak _SPI_2_VECTOR_interrupt
  37743. .weak _UART_2_VECTOR_interrupt
  37744. .weak _I2C_2_VECTOR_interrupt
  37745. .weak _CTMU_VECTOR_interrupt
  37746. .weak _DMA_0_VECTOR_interrupt
  37747. .weak _DMA_1_VECTOR_interrupt
  37748. .weak _DMA_2_VECTOR_interrupt
  37749. .weak _DMA_3_VECTOR_interrupt
  37750. .text
  37751. end;
  37752. end.