pic32mx340f512h.pp 812 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975
  1. unit pic32mx340f512h;
  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 getw : TBits_32; inline;
  55. procedure setON(thebits : TBits_1); inline;
  56. procedure setSWDTPS(thebits : TBits_5); inline;
  57. procedure setSWDTPS0(thebits : TBits_1); inline;
  58. procedure setSWDTPS1(thebits : TBits_1); inline;
  59. procedure setSWDTPS2(thebits : TBits_1); inline;
  60. procedure setSWDTPS3(thebits : TBits_1); inline;
  61. procedure setSWDTPS4(thebits : TBits_1); inline;
  62. procedure setWDTCLR(thebits : TBits_1); inline;
  63. procedure setWDTPS(thebits : TBits_5); inline;
  64. procedure setWDTPSTA(thebits : TBits_5); inline;
  65. procedure setw(thebits : TBits_32); inline;
  66. public
  67. procedure clearON; inline;
  68. procedure clearSWDTPS0; inline;
  69. procedure clearSWDTPS1; inline;
  70. procedure clearSWDTPS2; inline;
  71. procedure clearSWDTPS3; inline;
  72. procedure clearSWDTPS4; inline;
  73. procedure clearWDTCLR; inline;
  74. procedure setON; inline;
  75. procedure setSWDTPS0; inline;
  76. procedure setSWDTPS1; inline;
  77. procedure setSWDTPS2; inline;
  78. procedure setSWDTPS3; inline;
  79. procedure setSWDTPS4; inline;
  80. procedure setWDTCLR; inline;
  81. property ON : TBits_1 read getON write setON;
  82. property SWDTPS : TBits_5 read getSWDTPS write setSWDTPS;
  83. property SWDTPS0 : TBits_1 read getSWDTPS0 write setSWDTPS0;
  84. property SWDTPS1 : TBits_1 read getSWDTPS1 write setSWDTPS1;
  85. property SWDTPS2 : TBits_1 read getSWDTPS2 write setSWDTPS2;
  86. property SWDTPS3 : TBits_1 read getSWDTPS3 write setSWDTPS3;
  87. property SWDTPS4 : TBits_1 read getSWDTPS4 write setSWDTPS4;
  88. property WDTCLR : TBits_1 read getWDTCLR write setWDTCLR;
  89. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  90. property WDTPSTA : TBits_5 read getWDTPSTA write setWDTPSTA;
  91. property w : TBits_32 read getw write setw;
  92. end;
  93. type
  94. TWDTRegisters = record
  95. WDTCONbits : TWDT_WDTCON;
  96. WDTCON : longWord;
  97. WDTCONCLR : longWord;
  98. WDTCONSET : longWord;
  99. WDTCONINV : longWord;
  100. end;
  101. TRTCC_RTCCON = record
  102. private
  103. function getCAL : TBits_10; inline;
  104. function getHALFSEC : TBits_1; inline;
  105. function getON : TBits_1; inline;
  106. function getRTCCLKON : TBits_1; inline;
  107. function getRTCOE : TBits_1; inline;
  108. function getRTCSYNC : TBits_1; inline;
  109. function getRTCWREN : TBits_1; inline;
  110. function getRTSECSEL : TBits_1; inline;
  111. function getSIDL : TBits_1; inline;
  112. function getw : TBits_32; inline;
  113. procedure setCAL(thebits : TBits_10); inline;
  114. procedure setHALFSEC(thebits : TBits_1); inline;
  115. procedure setON(thebits : TBits_1); inline;
  116. procedure setRTCCLKON(thebits : TBits_1); inline;
  117. procedure setRTCOE(thebits : TBits_1); inline;
  118. procedure setRTCSYNC(thebits : TBits_1); inline;
  119. procedure setRTCWREN(thebits : TBits_1); inline;
  120. procedure setRTSECSEL(thebits : TBits_1); inline;
  121. procedure setSIDL(thebits : TBits_1); inline;
  122. procedure setw(thebits : TBits_32); inline;
  123. public
  124. procedure clearHALFSEC; inline;
  125. procedure clearON; inline;
  126. procedure clearRTCCLKON; inline;
  127. procedure clearRTCOE; inline;
  128. procedure clearRTCSYNC; inline;
  129. procedure clearRTCWREN; inline;
  130. procedure clearRTSECSEL; inline;
  131. procedure clearSIDL; inline;
  132. procedure setHALFSEC; inline;
  133. procedure setON; inline;
  134. procedure setRTCCLKON; inline;
  135. procedure setRTCOE; inline;
  136. procedure setRTCSYNC; inline;
  137. procedure setRTCWREN; inline;
  138. procedure setRTSECSEL; inline;
  139. procedure setSIDL; inline;
  140. property CAL : TBits_10 read getCAL write setCAL;
  141. property HALFSEC : TBits_1 read getHALFSEC write setHALFSEC;
  142. property ON : TBits_1 read getON write setON;
  143. property RTCCLKON : TBits_1 read getRTCCLKON write setRTCCLKON;
  144. property RTCOE : TBits_1 read getRTCOE write setRTCOE;
  145. property RTCSYNC : TBits_1 read getRTCSYNC write setRTCSYNC;
  146. property RTCWREN : TBits_1 read getRTCWREN write setRTCWREN;
  147. property RTSECSEL : TBits_1 read getRTSECSEL write setRTSECSEL;
  148. property SIDL : TBits_1 read getSIDL write setSIDL;
  149. property w : TBits_32 read getw write setw;
  150. end;
  151. TRTCC_RTCALRM = record
  152. private
  153. function getALRMEN : TBits_1; inline;
  154. function getALRMSYNC : TBits_1; inline;
  155. function getAMASK : TBits_4; inline;
  156. function getARPT : TBits_8; inline;
  157. function getCHIME : TBits_1; inline;
  158. function getPIV : TBits_1; inline;
  159. function getw : TBits_32; inline;
  160. procedure setALRMEN(thebits : TBits_1); inline;
  161. procedure setALRMSYNC(thebits : TBits_1); inline;
  162. procedure setAMASK(thebits : TBits_4); inline;
  163. procedure setARPT(thebits : TBits_8); inline;
  164. procedure setCHIME(thebits : TBits_1); inline;
  165. procedure setPIV(thebits : TBits_1); inline;
  166. procedure setw(thebits : TBits_32); inline;
  167. public
  168. procedure clearALRMEN; inline;
  169. procedure clearALRMSYNC; inline;
  170. procedure clearCHIME; inline;
  171. procedure clearPIV; inline;
  172. procedure setALRMEN; inline;
  173. procedure setALRMSYNC; inline;
  174. procedure setCHIME; inline;
  175. procedure setPIV; inline;
  176. property ALRMEN : TBits_1 read getALRMEN write setALRMEN;
  177. property ALRMSYNC : TBits_1 read getALRMSYNC write setALRMSYNC;
  178. property AMASK : TBits_4 read getAMASK write setAMASK;
  179. property ARPT : TBits_8 read getARPT write setARPT;
  180. property CHIME : TBits_1 read getCHIME write setCHIME;
  181. property PIV : TBits_1 read getPIV write setPIV;
  182. property w : TBits_32 read getw write setw;
  183. end;
  184. TRTCC_RTCTIME = record
  185. private
  186. function getHR01 : TBits_4; inline;
  187. function getHR10 : TBits_4; inline;
  188. function getMIN01 : TBits_4; inline;
  189. function getMIN10 : TBits_4; inline;
  190. function getSEC01 : TBits_4; inline;
  191. function getSEC10 : TBits_4; inline;
  192. function getw : TBits_32; inline;
  193. procedure setHR01(thebits : TBits_4); inline;
  194. procedure setHR10(thebits : TBits_4); inline;
  195. procedure setMIN01(thebits : TBits_4); inline;
  196. procedure setMIN10(thebits : TBits_4); inline;
  197. procedure setSEC01(thebits : TBits_4); inline;
  198. procedure setSEC10(thebits : TBits_4); inline;
  199. procedure setw(thebits : TBits_32); inline;
  200. public
  201. property HR01 : TBits_4 read getHR01 write setHR01;
  202. property HR10 : TBits_4 read getHR10 write setHR10;
  203. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  204. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  205. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  206. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  207. property w : TBits_32 read getw write setw;
  208. end;
  209. TRTCC_RTCDATE = record
  210. private
  211. function getDAY01 : TBits_4; inline;
  212. function getDAY10 : TBits_4; inline;
  213. function getMONTH01 : TBits_4; inline;
  214. function getMONTH10 : TBits_4; inline;
  215. function getWDAY01 : TBits_4; inline;
  216. function getYEAR01 : TBits_4; inline;
  217. function getYEAR10 : TBits_4; inline;
  218. function getw : TBits_32; inline;
  219. procedure setDAY01(thebits : TBits_4); inline;
  220. procedure setDAY10(thebits : TBits_4); inline;
  221. procedure setMONTH01(thebits : TBits_4); inline;
  222. procedure setMONTH10(thebits : TBits_4); inline;
  223. procedure setWDAY01(thebits : TBits_4); inline;
  224. procedure setYEAR01(thebits : TBits_4); inline;
  225. procedure setYEAR10(thebits : TBits_4); inline;
  226. procedure setw(thebits : TBits_32); inline;
  227. public
  228. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  229. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  230. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  231. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  232. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  233. property YEAR01 : TBits_4 read getYEAR01 write setYEAR01;
  234. property YEAR10 : TBits_4 read getYEAR10 write setYEAR10;
  235. property w : TBits_32 read getw write setw;
  236. end;
  237. TRTCC_ALRMTIME = record
  238. private
  239. function getHR01 : TBits_4; inline;
  240. function getHR10 : TBits_4; inline;
  241. function getMIN01 : TBits_4; inline;
  242. function getMIN10 : TBits_4; inline;
  243. function getSEC01 : TBits_4; inline;
  244. function getSEC10 : TBits_4; inline;
  245. function getw : TBits_32; inline;
  246. procedure setHR01(thebits : TBits_4); inline;
  247. procedure setHR10(thebits : TBits_4); inline;
  248. procedure setMIN01(thebits : TBits_4); inline;
  249. procedure setMIN10(thebits : TBits_4); inline;
  250. procedure setSEC01(thebits : TBits_4); inline;
  251. procedure setSEC10(thebits : TBits_4); inline;
  252. procedure setw(thebits : TBits_32); inline;
  253. public
  254. property HR01 : TBits_4 read getHR01 write setHR01;
  255. property HR10 : TBits_4 read getHR10 write setHR10;
  256. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  257. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  258. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  259. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  260. property w : TBits_32 read getw write setw;
  261. end;
  262. TRTCC_ALRMDATE = record
  263. private
  264. function getDAY01 : TBits_4; inline;
  265. function getDAY10 : TBits_4; inline;
  266. function getMONTH01 : TBits_4; inline;
  267. function getMONTH10 : TBits_4; inline;
  268. function getWDAY01 : TBits_4; inline;
  269. function getw : TBits_32; inline;
  270. procedure setDAY01(thebits : TBits_4); inline;
  271. procedure setDAY10(thebits : TBits_4); inline;
  272. procedure setMONTH01(thebits : TBits_4); inline;
  273. procedure setMONTH10(thebits : TBits_4); inline;
  274. procedure setWDAY01(thebits : TBits_4); inline;
  275. procedure setw(thebits : TBits_32); inline;
  276. public
  277. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  278. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  279. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  280. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  281. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  282. property w : TBits_32 read getw write setw;
  283. end;
  284. type
  285. TRTCCRegisters = record
  286. RTCCONbits : TRTCC_RTCCON;
  287. RTCCON : longWord;
  288. RTCCONCLR : longWord;
  289. RTCCONSET : longWord;
  290. RTCCONINV : longWord;
  291. RTCALRMbits : TRTCC_RTCALRM;
  292. RTCALRM : longWord;
  293. RTCALRMCLR : longWord;
  294. RTCALRMSET : longWord;
  295. RTCALRMINV : longWord;
  296. RTCTIMEbits : TRTCC_RTCTIME;
  297. RTCTIME : longWord;
  298. RTCTIMECLR : longWord;
  299. RTCTIMESET : longWord;
  300. RTCTIMEINV : longWord;
  301. RTCDATEbits : TRTCC_RTCDATE;
  302. RTCDATE : longWord;
  303. RTCDATECLR : longWord;
  304. RTCDATESET : longWord;
  305. RTCDATEINV : longWord;
  306. ALRMTIMEbits : TRTCC_ALRMTIME;
  307. ALRMTIME : longWord;
  308. ALRMTIMECLR : longWord;
  309. ALRMTIMESET : longWord;
  310. ALRMTIMEINV : longWord;
  311. ALRMDATEbits : TRTCC_ALRMDATE;
  312. ALRMDATE : longWord;
  313. ALRMDATECLR : longWord;
  314. ALRMDATESET : longWord;
  315. ALRMDATEINV : longWord;
  316. end;
  317. TTMR1_T1CON = record
  318. private
  319. function getON : TBits_1; inline;
  320. function getSIDL : TBits_1; inline;
  321. function getTCKPS : TBits_2; inline;
  322. function getTCKPS0 : TBits_1; inline;
  323. function getTCKPS1 : TBits_1; inline;
  324. function getTCS : TBits_1; inline;
  325. function getTGATE : TBits_1; inline;
  326. function getTON : TBits_1; inline;
  327. function getTSIDL : TBits_1; inline;
  328. function getTSYNC : TBits_1; inline;
  329. function getTWDIS : TBits_1; inline;
  330. function getTWIP : TBits_1; inline;
  331. function getw : TBits_32; inline;
  332. procedure setON(thebits : TBits_1); inline;
  333. procedure setSIDL(thebits : TBits_1); inline;
  334. procedure setTCKPS(thebits : TBits_2); inline;
  335. procedure setTCKPS0(thebits : TBits_1); inline;
  336. procedure setTCKPS1(thebits : TBits_1); inline;
  337. procedure setTCS(thebits : TBits_1); inline;
  338. procedure setTGATE(thebits : TBits_1); inline;
  339. procedure setTON(thebits : TBits_1); inline;
  340. procedure setTSIDL(thebits : TBits_1); inline;
  341. procedure setTSYNC(thebits : TBits_1); inline;
  342. procedure setTWDIS(thebits : TBits_1); inline;
  343. procedure setTWIP(thebits : TBits_1); inline;
  344. procedure setw(thebits : TBits_32); inline;
  345. public
  346. procedure clearON; inline;
  347. procedure clearSIDL; inline;
  348. procedure clearTCKPS0; inline;
  349. procedure clearTCKPS1; inline;
  350. procedure clearTCS; inline;
  351. procedure clearTGATE; inline;
  352. procedure clearTON; inline;
  353. procedure clearTSIDL; inline;
  354. procedure clearTSYNC; inline;
  355. procedure clearTWDIS; inline;
  356. procedure clearTWIP; inline;
  357. procedure setON; inline;
  358. procedure setSIDL; inline;
  359. procedure setTCKPS0; inline;
  360. procedure setTCKPS1; inline;
  361. procedure setTCS; inline;
  362. procedure setTGATE; inline;
  363. procedure setTON; inline;
  364. procedure setTSIDL; inline;
  365. procedure setTSYNC; inline;
  366. procedure setTWDIS; inline;
  367. procedure setTWIP; inline;
  368. property ON : TBits_1 read getON write setON;
  369. property SIDL : TBits_1 read getSIDL write setSIDL;
  370. property TCKPS : TBits_2 read getTCKPS write setTCKPS;
  371. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  372. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  373. property TCS : TBits_1 read getTCS write setTCS;
  374. property TGATE : TBits_1 read getTGATE write setTGATE;
  375. property TON : TBits_1 read getTON write setTON;
  376. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  377. property TSYNC : TBits_1 read getTSYNC write setTSYNC;
  378. property TWDIS : TBits_1 read getTWDIS write setTWDIS;
  379. property TWIP : TBits_1 read getTWIP write setTWIP;
  380. property w : TBits_32 read getw write setw;
  381. end;
  382. type
  383. TTMR1Registers = record
  384. T1CONbits : TTMR1_T1CON;
  385. T1CON : longWord;
  386. T1CONCLR : longWord;
  387. T1CONSET : longWord;
  388. T1CONINV : longWord;
  389. TMR1 : longWord;
  390. TMR1CLR : longWord;
  391. TMR1SET : longWord;
  392. TMR1INV : longWord;
  393. PR1 : longWord;
  394. PR1CLR : longWord;
  395. PR1SET : longWord;
  396. PR1INV : longWord;
  397. end;
  398. TTMR23_T2CON = record
  399. private
  400. function getON : TBits_1; inline;
  401. function getSIDL : TBits_1; inline;
  402. function getT32 : TBits_1; inline;
  403. function getTCKPS : TBits_3; inline;
  404. function getTCKPS0 : TBits_1; inline;
  405. function getTCKPS1 : TBits_1; inline;
  406. function getTCKPS2 : TBits_1; inline;
  407. function getTCS : TBits_1; inline;
  408. function getTGATE : TBits_1; inline;
  409. function getTON : TBits_1; inline;
  410. function getTSIDL : TBits_1; inline;
  411. function getw : TBits_32; inline;
  412. procedure setON(thebits : TBits_1); inline;
  413. procedure setSIDL(thebits : TBits_1); inline;
  414. procedure setT32(thebits : TBits_1); inline;
  415. procedure setTCKPS(thebits : TBits_3); inline;
  416. procedure setTCKPS0(thebits : TBits_1); inline;
  417. procedure setTCKPS1(thebits : TBits_1); inline;
  418. procedure setTCKPS2(thebits : TBits_1); inline;
  419. procedure setTCS(thebits : TBits_1); inline;
  420. procedure setTGATE(thebits : TBits_1); inline;
  421. procedure setTON(thebits : TBits_1); inline;
  422. procedure setTSIDL(thebits : TBits_1); inline;
  423. procedure setw(thebits : TBits_32); inline;
  424. public
  425. procedure clearON; inline;
  426. procedure clearSIDL; inline;
  427. procedure clearT32; inline;
  428. procedure clearTCKPS0; inline;
  429. procedure clearTCKPS1; inline;
  430. procedure clearTCKPS2; inline;
  431. procedure clearTCS; inline;
  432. procedure clearTGATE; inline;
  433. procedure clearTON; inline;
  434. procedure clearTSIDL; inline;
  435. procedure setON; inline;
  436. procedure setSIDL; inline;
  437. procedure setT32; inline;
  438. procedure setTCKPS0; inline;
  439. procedure setTCKPS1; inline;
  440. procedure setTCKPS2; inline;
  441. procedure setTCS; inline;
  442. procedure setTGATE; inline;
  443. procedure setTON; inline;
  444. procedure setTSIDL; inline;
  445. property ON : TBits_1 read getON write setON;
  446. property SIDL : TBits_1 read getSIDL write setSIDL;
  447. property T32 : TBits_1 read getT32 write setT32;
  448. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  449. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  450. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  451. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  452. property TCS : TBits_1 read getTCS write setTCS;
  453. property TGATE : TBits_1 read getTGATE write setTGATE;
  454. property TON : TBits_1 read getTON write setTON;
  455. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  456. property w : TBits_32 read getw write setw;
  457. end;
  458. type
  459. TTMR23Registers = record
  460. T2CONbits : TTMR23_T2CON;
  461. T2CON : longWord;
  462. T2CONCLR : longWord;
  463. T2CONSET : longWord;
  464. T2CONINV : longWord;
  465. TMR2 : longWord;
  466. TMR2CLR : longWord;
  467. TMR2SET : longWord;
  468. TMR2INV : longWord;
  469. PR2 : longWord;
  470. PR2CLR : longWord;
  471. PR2SET : longWord;
  472. PR2INV : longWord;
  473. end;
  474. TTMR3_T3CON = record
  475. private
  476. function getON : TBits_1; inline;
  477. function getSIDL : TBits_1; inline;
  478. function getTCKPS : TBits_3; inline;
  479. function getTCKPS0 : TBits_1; inline;
  480. function getTCKPS1 : TBits_1; inline;
  481. function getTCKPS2 : TBits_1; inline;
  482. function getTCS : TBits_1; inline;
  483. function getTGATE : TBits_1; inline;
  484. function getTON : TBits_1; inline;
  485. function getTSIDL : TBits_1; inline;
  486. function getw : TBits_32; inline;
  487. procedure setON(thebits : TBits_1); inline;
  488. procedure setSIDL(thebits : TBits_1); inline;
  489. procedure setTCKPS(thebits : TBits_3); inline;
  490. procedure setTCKPS0(thebits : TBits_1); inline;
  491. procedure setTCKPS1(thebits : TBits_1); inline;
  492. procedure setTCKPS2(thebits : TBits_1); inline;
  493. procedure setTCS(thebits : TBits_1); inline;
  494. procedure setTGATE(thebits : TBits_1); inline;
  495. procedure setTON(thebits : TBits_1); inline;
  496. procedure setTSIDL(thebits : TBits_1); inline;
  497. procedure setw(thebits : TBits_32); inline;
  498. public
  499. procedure clearON; inline;
  500. procedure clearSIDL; inline;
  501. procedure clearTCKPS0; inline;
  502. procedure clearTCKPS1; inline;
  503. procedure clearTCKPS2; inline;
  504. procedure clearTCS; inline;
  505. procedure clearTGATE; inline;
  506. procedure clearTON; inline;
  507. procedure clearTSIDL; inline;
  508. procedure setON; inline;
  509. procedure setSIDL; inline;
  510. procedure setTCKPS0; inline;
  511. procedure setTCKPS1; inline;
  512. procedure setTCKPS2; inline;
  513. procedure setTCS; inline;
  514. procedure setTGATE; inline;
  515. procedure setTON; inline;
  516. procedure setTSIDL; inline;
  517. property ON : TBits_1 read getON write setON;
  518. property SIDL : TBits_1 read getSIDL write setSIDL;
  519. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  520. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  521. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  522. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  523. property TCS : TBits_1 read getTCS write setTCS;
  524. property TGATE : TBits_1 read getTGATE write setTGATE;
  525. property TON : TBits_1 read getTON write setTON;
  526. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  527. property w : TBits_32 read getw write setw;
  528. end;
  529. type
  530. TTMR3Registers = record
  531. T3CONbits : TTMR3_T3CON;
  532. T3CON : longWord;
  533. T3CONCLR : longWord;
  534. T3CONSET : longWord;
  535. T3CONINV : longWord;
  536. TMR3 : longWord;
  537. TMR3CLR : longWord;
  538. TMR3SET : longWord;
  539. TMR3INV : longWord;
  540. PR3 : longWord;
  541. PR3CLR : longWord;
  542. PR3SET : longWord;
  543. PR3INV : longWord;
  544. end;
  545. TTMR4_T4CON = record
  546. private
  547. function getON : TBits_1; inline;
  548. function getSIDL : TBits_1; inline;
  549. function getT32 : TBits_1; inline;
  550. function getTCKPS : TBits_3; inline;
  551. function getTCKPS0 : TBits_1; inline;
  552. function getTCKPS1 : TBits_1; inline;
  553. function getTCKPS2 : TBits_1; inline;
  554. function getTCS : TBits_1; inline;
  555. function getTGATE : TBits_1; inline;
  556. function getTON : TBits_1; inline;
  557. function getTSIDL : TBits_1; inline;
  558. function getw : TBits_32; inline;
  559. procedure setON(thebits : TBits_1); inline;
  560. procedure setSIDL(thebits : TBits_1); inline;
  561. procedure setT32(thebits : TBits_1); inline;
  562. procedure setTCKPS(thebits : TBits_3); inline;
  563. procedure setTCKPS0(thebits : TBits_1); inline;
  564. procedure setTCKPS1(thebits : TBits_1); inline;
  565. procedure setTCKPS2(thebits : TBits_1); inline;
  566. procedure setTCS(thebits : TBits_1); inline;
  567. procedure setTGATE(thebits : TBits_1); inline;
  568. procedure setTON(thebits : TBits_1); inline;
  569. procedure setTSIDL(thebits : TBits_1); inline;
  570. procedure setw(thebits : TBits_32); inline;
  571. public
  572. procedure clearON; inline;
  573. procedure clearSIDL; inline;
  574. procedure clearT32; inline;
  575. procedure clearTCKPS0; inline;
  576. procedure clearTCKPS1; inline;
  577. procedure clearTCKPS2; inline;
  578. procedure clearTCS; inline;
  579. procedure clearTGATE; inline;
  580. procedure clearTON; inline;
  581. procedure clearTSIDL; inline;
  582. procedure setON; inline;
  583. procedure setSIDL; inline;
  584. procedure setT32; inline;
  585. procedure setTCKPS0; inline;
  586. procedure setTCKPS1; inline;
  587. procedure setTCKPS2; inline;
  588. procedure setTCS; inline;
  589. procedure setTGATE; inline;
  590. procedure setTON; inline;
  591. procedure setTSIDL; inline;
  592. property ON : TBits_1 read getON write setON;
  593. property SIDL : TBits_1 read getSIDL write setSIDL;
  594. property T32 : TBits_1 read getT32 write setT32;
  595. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  596. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  597. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  598. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  599. property TCS : TBits_1 read getTCS write setTCS;
  600. property TGATE : TBits_1 read getTGATE write setTGATE;
  601. property TON : TBits_1 read getTON write setTON;
  602. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  603. property w : TBits_32 read getw write setw;
  604. end;
  605. type
  606. TTMR4Registers = record
  607. T4CONbits : TTMR4_T4CON;
  608. T4CON : longWord;
  609. T4CONCLR : longWord;
  610. T4CONSET : longWord;
  611. T4CONINV : longWord;
  612. TMR4 : longWord;
  613. TMR4CLR : longWord;
  614. TMR4SET : longWord;
  615. TMR4INV : longWord;
  616. PR4 : longWord;
  617. PR4CLR : longWord;
  618. PR4SET : longWord;
  619. PR4INV : longWord;
  620. end;
  621. TTMR5_T5CON = record
  622. private
  623. function getON : TBits_1; inline;
  624. function getSIDL : TBits_1; inline;
  625. function getTCKPS : TBits_3; inline;
  626. function getTCKPS0 : TBits_1; inline;
  627. function getTCKPS1 : TBits_1; inline;
  628. function getTCKPS2 : TBits_1; inline;
  629. function getTCS : TBits_1; inline;
  630. function getTGATE : TBits_1; inline;
  631. function getTON : TBits_1; inline;
  632. function getTSIDL : TBits_1; inline;
  633. function getw : TBits_32; inline;
  634. procedure setON(thebits : TBits_1); inline;
  635. procedure setSIDL(thebits : TBits_1); inline;
  636. procedure setTCKPS(thebits : TBits_3); inline;
  637. procedure setTCKPS0(thebits : TBits_1); inline;
  638. procedure setTCKPS1(thebits : TBits_1); inline;
  639. procedure setTCKPS2(thebits : TBits_1); inline;
  640. procedure setTCS(thebits : TBits_1); inline;
  641. procedure setTGATE(thebits : TBits_1); inline;
  642. procedure setTON(thebits : TBits_1); inline;
  643. procedure setTSIDL(thebits : TBits_1); inline;
  644. procedure setw(thebits : TBits_32); inline;
  645. public
  646. procedure clearON; inline;
  647. procedure clearSIDL; inline;
  648. procedure clearTCKPS0; inline;
  649. procedure clearTCKPS1; inline;
  650. procedure clearTCKPS2; inline;
  651. procedure clearTCS; inline;
  652. procedure clearTGATE; inline;
  653. procedure clearTON; inline;
  654. procedure clearTSIDL; inline;
  655. procedure setON; inline;
  656. procedure setSIDL; inline;
  657. procedure setTCKPS0; inline;
  658. procedure setTCKPS1; inline;
  659. procedure setTCKPS2; inline;
  660. procedure setTCS; inline;
  661. procedure setTGATE; inline;
  662. procedure setTON; inline;
  663. procedure setTSIDL; inline;
  664. property ON : TBits_1 read getON write setON;
  665. property SIDL : TBits_1 read getSIDL write setSIDL;
  666. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  667. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  668. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  669. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  670. property TCS : TBits_1 read getTCS write setTCS;
  671. property TGATE : TBits_1 read getTGATE write setTGATE;
  672. property TON : TBits_1 read getTON write setTON;
  673. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  674. property w : TBits_32 read getw write setw;
  675. end;
  676. type
  677. TTMR5Registers = record
  678. T5CONbits : TTMR5_T5CON;
  679. T5CON : longWord;
  680. T5CONCLR : longWord;
  681. T5CONSET : longWord;
  682. T5CONINV : longWord;
  683. TMR5 : longWord;
  684. TMR5CLR : longWord;
  685. TMR5SET : longWord;
  686. TMR5INV : longWord;
  687. PR5 : longWord;
  688. PR5CLR : longWord;
  689. PR5SET : longWord;
  690. PR5INV : longWord;
  691. end;
  692. TICAP1_IC1CON = record
  693. private
  694. function getC32 : TBits_1; inline;
  695. function getFEDGE : TBits_1; inline;
  696. function getICBNE : TBits_1; inline;
  697. function getICI : TBits_2; inline;
  698. function getICI0 : TBits_1; inline;
  699. function getICI1 : TBits_1; inline;
  700. function getICM : TBits_3; inline;
  701. function getICM0 : TBits_1; inline;
  702. function getICM1 : TBits_1; inline;
  703. function getICM2 : TBits_1; inline;
  704. function getICOV : TBits_1; inline;
  705. function getICSIDL : TBits_1; inline;
  706. function getICTMR : TBits_1; inline;
  707. function getON : TBits_1; inline;
  708. function getSIDL : TBits_1; inline;
  709. function getw : TBits_32; inline;
  710. procedure setC32(thebits : TBits_1); inline;
  711. procedure setFEDGE(thebits : TBits_1); inline;
  712. procedure setICBNE(thebits : TBits_1); inline;
  713. procedure setICI(thebits : TBits_2); inline;
  714. procedure setICI0(thebits : TBits_1); inline;
  715. procedure setICI1(thebits : TBits_1); inline;
  716. procedure setICM(thebits : TBits_3); inline;
  717. procedure setICM0(thebits : TBits_1); inline;
  718. procedure setICM1(thebits : TBits_1); inline;
  719. procedure setICM2(thebits : TBits_1); inline;
  720. procedure setICOV(thebits : TBits_1); inline;
  721. procedure setICSIDL(thebits : TBits_1); inline;
  722. procedure setICTMR(thebits : TBits_1); inline;
  723. procedure setON(thebits : TBits_1); inline;
  724. procedure setSIDL(thebits : TBits_1); inline;
  725. procedure setw(thebits : TBits_32); inline;
  726. public
  727. procedure clearC32; inline;
  728. procedure clearFEDGE; inline;
  729. procedure clearICBNE; inline;
  730. procedure clearICI0; inline;
  731. procedure clearICI1; inline;
  732. procedure clearICM0; inline;
  733. procedure clearICM1; inline;
  734. procedure clearICM2; inline;
  735. procedure clearICOV; inline;
  736. procedure clearICSIDL; inline;
  737. procedure clearICTMR; inline;
  738. procedure clearON; inline;
  739. procedure clearSIDL; inline;
  740. procedure setC32; inline;
  741. procedure setFEDGE; inline;
  742. procedure setICBNE; inline;
  743. procedure setICI0; inline;
  744. procedure setICI1; inline;
  745. procedure setICM0; inline;
  746. procedure setICM1; inline;
  747. procedure setICM2; inline;
  748. procedure setICOV; inline;
  749. procedure setICSIDL; inline;
  750. procedure setICTMR; inline;
  751. procedure setON; inline;
  752. procedure setSIDL; inline;
  753. property C32 : TBits_1 read getC32 write setC32;
  754. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  755. property ICBNE : TBits_1 read getICBNE write setICBNE;
  756. property ICI : TBits_2 read getICI write setICI;
  757. property ICI0 : TBits_1 read getICI0 write setICI0;
  758. property ICI1 : TBits_1 read getICI1 write setICI1;
  759. property ICM : TBits_3 read getICM write setICM;
  760. property ICM0 : TBits_1 read getICM0 write setICM0;
  761. property ICM1 : TBits_1 read getICM1 write setICM1;
  762. property ICM2 : TBits_1 read getICM2 write setICM2;
  763. property ICOV : TBits_1 read getICOV write setICOV;
  764. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  765. property ICTMR : TBits_1 read getICTMR write setICTMR;
  766. property ON : TBits_1 read getON write setON;
  767. property SIDL : TBits_1 read getSIDL write setSIDL;
  768. property w : TBits_32 read getw write setw;
  769. end;
  770. type
  771. TICAP1Registers = record
  772. IC1CONbits : TICAP1_IC1CON;
  773. IC1CON : longWord;
  774. IC1CONCLR : longWord;
  775. IC1CONSET : longWord;
  776. IC1CONINV : longWord;
  777. IC1BUF : longWord;
  778. end;
  779. TICAP2_IC2CON = record
  780. private
  781. function getC32 : TBits_1; inline;
  782. function getFEDGE : TBits_1; inline;
  783. function getICBNE : TBits_1; inline;
  784. function getICI : TBits_2; inline;
  785. function getICI0 : TBits_1; inline;
  786. function getICI1 : TBits_1; inline;
  787. function getICM : TBits_3; inline;
  788. function getICM0 : TBits_1; inline;
  789. function getICM1 : TBits_1; inline;
  790. function getICM2 : TBits_1; inline;
  791. function getICOV : TBits_1; inline;
  792. function getICSIDL : TBits_1; inline;
  793. function getICTMR : TBits_1; inline;
  794. function getON : TBits_1; inline;
  795. function getSIDL : TBits_1; inline;
  796. function getw : TBits_32; inline;
  797. procedure setC32(thebits : TBits_1); inline;
  798. procedure setFEDGE(thebits : TBits_1); inline;
  799. procedure setICBNE(thebits : TBits_1); inline;
  800. procedure setICI(thebits : TBits_2); inline;
  801. procedure setICI0(thebits : TBits_1); inline;
  802. procedure setICI1(thebits : TBits_1); inline;
  803. procedure setICM(thebits : TBits_3); inline;
  804. procedure setICM0(thebits : TBits_1); inline;
  805. procedure setICM1(thebits : TBits_1); inline;
  806. procedure setICM2(thebits : TBits_1); inline;
  807. procedure setICOV(thebits : TBits_1); inline;
  808. procedure setICSIDL(thebits : TBits_1); inline;
  809. procedure setICTMR(thebits : TBits_1); inline;
  810. procedure setON(thebits : TBits_1); inline;
  811. procedure setSIDL(thebits : TBits_1); inline;
  812. procedure setw(thebits : TBits_32); inline;
  813. public
  814. procedure clearC32; inline;
  815. procedure clearFEDGE; inline;
  816. procedure clearICBNE; inline;
  817. procedure clearICI0; inline;
  818. procedure clearICI1; inline;
  819. procedure clearICM0; inline;
  820. procedure clearICM1; inline;
  821. procedure clearICM2; inline;
  822. procedure clearICOV; inline;
  823. procedure clearICSIDL; inline;
  824. procedure clearICTMR; inline;
  825. procedure clearON; inline;
  826. procedure clearSIDL; inline;
  827. procedure setC32; inline;
  828. procedure setFEDGE; inline;
  829. procedure setICBNE; inline;
  830. procedure setICI0; inline;
  831. procedure setICI1; inline;
  832. procedure setICM0; inline;
  833. procedure setICM1; inline;
  834. procedure setICM2; inline;
  835. procedure setICOV; inline;
  836. procedure setICSIDL; inline;
  837. procedure setICTMR; inline;
  838. procedure setON; inline;
  839. procedure setSIDL; inline;
  840. property C32 : TBits_1 read getC32 write setC32;
  841. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  842. property ICBNE : TBits_1 read getICBNE write setICBNE;
  843. property ICI : TBits_2 read getICI write setICI;
  844. property ICI0 : TBits_1 read getICI0 write setICI0;
  845. property ICI1 : TBits_1 read getICI1 write setICI1;
  846. property ICM : TBits_3 read getICM write setICM;
  847. property ICM0 : TBits_1 read getICM0 write setICM0;
  848. property ICM1 : TBits_1 read getICM1 write setICM1;
  849. property ICM2 : TBits_1 read getICM2 write setICM2;
  850. property ICOV : TBits_1 read getICOV write setICOV;
  851. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  852. property ICTMR : TBits_1 read getICTMR write setICTMR;
  853. property ON : TBits_1 read getON write setON;
  854. property SIDL : TBits_1 read getSIDL write setSIDL;
  855. property w : TBits_32 read getw write setw;
  856. end;
  857. type
  858. TICAP2Registers = record
  859. IC2CONbits : TICAP2_IC2CON;
  860. IC2CON : longWord;
  861. IC2CONCLR : longWord;
  862. IC2CONSET : longWord;
  863. IC2CONINV : longWord;
  864. IC2BUF : longWord;
  865. end;
  866. TICAP3_IC3CON = record
  867. private
  868. function getC32 : TBits_1; inline;
  869. function getFEDGE : TBits_1; inline;
  870. function getICBNE : TBits_1; inline;
  871. function getICI : TBits_2; inline;
  872. function getICI0 : TBits_1; inline;
  873. function getICI1 : TBits_1; inline;
  874. function getICM : TBits_3; inline;
  875. function getICM0 : TBits_1; inline;
  876. function getICM1 : TBits_1; inline;
  877. function getICM2 : TBits_1; inline;
  878. function getICOV : TBits_1; inline;
  879. function getICSIDL : TBits_1; inline;
  880. function getICTMR : TBits_1; inline;
  881. function getON : TBits_1; inline;
  882. function getSIDL : TBits_1; inline;
  883. function getw : TBits_32; inline;
  884. procedure setC32(thebits : TBits_1); inline;
  885. procedure setFEDGE(thebits : TBits_1); inline;
  886. procedure setICBNE(thebits : TBits_1); inline;
  887. procedure setICI(thebits : TBits_2); inline;
  888. procedure setICI0(thebits : TBits_1); inline;
  889. procedure setICI1(thebits : TBits_1); inline;
  890. procedure setICM(thebits : TBits_3); inline;
  891. procedure setICM0(thebits : TBits_1); inline;
  892. procedure setICM1(thebits : TBits_1); inline;
  893. procedure setICM2(thebits : TBits_1); inline;
  894. procedure setICOV(thebits : TBits_1); inline;
  895. procedure setICSIDL(thebits : TBits_1); inline;
  896. procedure setICTMR(thebits : TBits_1); inline;
  897. procedure setON(thebits : TBits_1); inline;
  898. procedure setSIDL(thebits : TBits_1); inline;
  899. procedure setw(thebits : TBits_32); inline;
  900. public
  901. procedure clearC32; inline;
  902. procedure clearFEDGE; inline;
  903. procedure clearICBNE; inline;
  904. procedure clearICI0; inline;
  905. procedure clearICI1; inline;
  906. procedure clearICM0; inline;
  907. procedure clearICM1; inline;
  908. procedure clearICM2; inline;
  909. procedure clearICOV; inline;
  910. procedure clearICSIDL; inline;
  911. procedure clearICTMR; inline;
  912. procedure clearON; inline;
  913. procedure clearSIDL; inline;
  914. procedure setC32; inline;
  915. procedure setFEDGE; inline;
  916. procedure setICBNE; inline;
  917. procedure setICI0; inline;
  918. procedure setICI1; inline;
  919. procedure setICM0; inline;
  920. procedure setICM1; inline;
  921. procedure setICM2; inline;
  922. procedure setICOV; inline;
  923. procedure setICSIDL; inline;
  924. procedure setICTMR; inline;
  925. procedure setON; inline;
  926. procedure setSIDL; inline;
  927. property C32 : TBits_1 read getC32 write setC32;
  928. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  929. property ICBNE : TBits_1 read getICBNE write setICBNE;
  930. property ICI : TBits_2 read getICI write setICI;
  931. property ICI0 : TBits_1 read getICI0 write setICI0;
  932. property ICI1 : TBits_1 read getICI1 write setICI1;
  933. property ICM : TBits_3 read getICM write setICM;
  934. property ICM0 : TBits_1 read getICM0 write setICM0;
  935. property ICM1 : TBits_1 read getICM1 write setICM1;
  936. property ICM2 : TBits_1 read getICM2 write setICM2;
  937. property ICOV : TBits_1 read getICOV write setICOV;
  938. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  939. property ICTMR : TBits_1 read getICTMR write setICTMR;
  940. property ON : TBits_1 read getON write setON;
  941. property SIDL : TBits_1 read getSIDL write setSIDL;
  942. property w : TBits_32 read getw write setw;
  943. end;
  944. type
  945. TICAP3Registers = record
  946. IC3CONbits : TICAP3_IC3CON;
  947. IC3CON : longWord;
  948. IC3CONCLR : longWord;
  949. IC3CONSET : longWord;
  950. IC3CONINV : longWord;
  951. IC3BUF : longWord;
  952. end;
  953. TICAP4_IC4CON = record
  954. private
  955. function getC32 : TBits_1; inline;
  956. function getFEDGE : TBits_1; inline;
  957. function getICBNE : TBits_1; inline;
  958. function getICI : TBits_2; inline;
  959. function getICI0 : TBits_1; inline;
  960. function getICI1 : TBits_1; inline;
  961. function getICM : TBits_3; inline;
  962. function getICM0 : TBits_1; inline;
  963. function getICM1 : TBits_1; inline;
  964. function getICM2 : TBits_1; inline;
  965. function getICOV : TBits_1; inline;
  966. function getICSIDL : TBits_1; inline;
  967. function getICTMR : TBits_1; inline;
  968. function getON : TBits_1; inline;
  969. function getSIDL : TBits_1; inline;
  970. function getw : TBits_32; inline;
  971. procedure setC32(thebits : TBits_1); inline;
  972. procedure setFEDGE(thebits : TBits_1); inline;
  973. procedure setICBNE(thebits : TBits_1); inline;
  974. procedure setICI(thebits : TBits_2); inline;
  975. procedure setICI0(thebits : TBits_1); inline;
  976. procedure setICI1(thebits : TBits_1); inline;
  977. procedure setICM(thebits : TBits_3); inline;
  978. procedure setICM0(thebits : TBits_1); inline;
  979. procedure setICM1(thebits : TBits_1); inline;
  980. procedure setICM2(thebits : TBits_1); inline;
  981. procedure setICOV(thebits : TBits_1); inline;
  982. procedure setICSIDL(thebits : TBits_1); inline;
  983. procedure setICTMR(thebits : TBits_1); inline;
  984. procedure setON(thebits : TBits_1); inline;
  985. procedure setSIDL(thebits : TBits_1); inline;
  986. procedure setw(thebits : TBits_32); inline;
  987. public
  988. procedure clearC32; inline;
  989. procedure clearFEDGE; inline;
  990. procedure clearICBNE; inline;
  991. procedure clearICI0; inline;
  992. procedure clearICI1; inline;
  993. procedure clearICM0; inline;
  994. procedure clearICM1; inline;
  995. procedure clearICM2; inline;
  996. procedure clearICOV; inline;
  997. procedure clearICSIDL; inline;
  998. procedure clearICTMR; inline;
  999. procedure clearON; inline;
  1000. procedure clearSIDL; inline;
  1001. procedure setC32; inline;
  1002. procedure setFEDGE; inline;
  1003. procedure setICBNE; inline;
  1004. procedure setICI0; inline;
  1005. procedure setICI1; inline;
  1006. procedure setICM0; inline;
  1007. procedure setICM1; inline;
  1008. procedure setICM2; inline;
  1009. procedure setICOV; inline;
  1010. procedure setICSIDL; inline;
  1011. procedure setICTMR; inline;
  1012. procedure setON; inline;
  1013. procedure setSIDL; inline;
  1014. property C32 : TBits_1 read getC32 write setC32;
  1015. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1016. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1017. property ICI : TBits_2 read getICI write setICI;
  1018. property ICI0 : TBits_1 read getICI0 write setICI0;
  1019. property ICI1 : TBits_1 read getICI1 write setICI1;
  1020. property ICM : TBits_3 read getICM write setICM;
  1021. property ICM0 : TBits_1 read getICM0 write setICM0;
  1022. property ICM1 : TBits_1 read getICM1 write setICM1;
  1023. property ICM2 : TBits_1 read getICM2 write setICM2;
  1024. property ICOV : TBits_1 read getICOV write setICOV;
  1025. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1026. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1027. property ON : TBits_1 read getON write setON;
  1028. property SIDL : TBits_1 read getSIDL write setSIDL;
  1029. property w : TBits_32 read getw write setw;
  1030. end;
  1031. type
  1032. TICAP4Registers = record
  1033. IC4CONbits : TICAP4_IC4CON;
  1034. IC4CON : longWord;
  1035. IC4CONCLR : longWord;
  1036. IC4CONSET : longWord;
  1037. IC4CONINV : longWord;
  1038. IC4BUF : longWord;
  1039. end;
  1040. TICAP5_IC5CON = record
  1041. private
  1042. function getC32 : TBits_1; inline;
  1043. function getFEDGE : TBits_1; inline;
  1044. function getICBNE : TBits_1; inline;
  1045. function getICI : TBits_2; inline;
  1046. function getICI0 : TBits_1; inline;
  1047. function getICI1 : TBits_1; inline;
  1048. function getICM : TBits_3; inline;
  1049. function getICM0 : TBits_1; inline;
  1050. function getICM1 : TBits_1; inline;
  1051. function getICM2 : TBits_1; inline;
  1052. function getICOV : TBits_1; inline;
  1053. function getICSIDL : TBits_1; inline;
  1054. function getICTMR : TBits_1; inline;
  1055. function getON : TBits_1; inline;
  1056. function getSIDL : TBits_1; inline;
  1057. function getw : TBits_32; inline;
  1058. procedure setC32(thebits : TBits_1); inline;
  1059. procedure setFEDGE(thebits : TBits_1); inline;
  1060. procedure setICBNE(thebits : TBits_1); inline;
  1061. procedure setICI(thebits : TBits_2); inline;
  1062. procedure setICI0(thebits : TBits_1); inline;
  1063. procedure setICI1(thebits : TBits_1); inline;
  1064. procedure setICM(thebits : TBits_3); inline;
  1065. procedure setICM0(thebits : TBits_1); inline;
  1066. procedure setICM1(thebits : TBits_1); inline;
  1067. procedure setICM2(thebits : TBits_1); inline;
  1068. procedure setICOV(thebits : TBits_1); inline;
  1069. procedure setICSIDL(thebits : TBits_1); inline;
  1070. procedure setICTMR(thebits : TBits_1); inline;
  1071. procedure setON(thebits : TBits_1); inline;
  1072. procedure setSIDL(thebits : TBits_1); inline;
  1073. procedure setw(thebits : TBits_32); inline;
  1074. public
  1075. procedure clearC32; inline;
  1076. procedure clearFEDGE; inline;
  1077. procedure clearICBNE; inline;
  1078. procedure clearICI0; inline;
  1079. procedure clearICI1; inline;
  1080. procedure clearICM0; inline;
  1081. procedure clearICM1; inline;
  1082. procedure clearICM2; inline;
  1083. procedure clearICOV; inline;
  1084. procedure clearICSIDL; inline;
  1085. procedure clearICTMR; inline;
  1086. procedure clearON; inline;
  1087. procedure clearSIDL; inline;
  1088. procedure setC32; inline;
  1089. procedure setFEDGE; inline;
  1090. procedure setICBNE; inline;
  1091. procedure setICI0; inline;
  1092. procedure setICI1; inline;
  1093. procedure setICM0; inline;
  1094. procedure setICM1; inline;
  1095. procedure setICM2; inline;
  1096. procedure setICOV; inline;
  1097. procedure setICSIDL; inline;
  1098. procedure setICTMR; inline;
  1099. procedure setON; inline;
  1100. procedure setSIDL; inline;
  1101. property C32 : TBits_1 read getC32 write setC32;
  1102. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1103. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1104. property ICI : TBits_2 read getICI write setICI;
  1105. property ICI0 : TBits_1 read getICI0 write setICI0;
  1106. property ICI1 : TBits_1 read getICI1 write setICI1;
  1107. property ICM : TBits_3 read getICM write setICM;
  1108. property ICM0 : TBits_1 read getICM0 write setICM0;
  1109. property ICM1 : TBits_1 read getICM1 write setICM1;
  1110. property ICM2 : TBits_1 read getICM2 write setICM2;
  1111. property ICOV : TBits_1 read getICOV write setICOV;
  1112. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1113. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1114. property ON : TBits_1 read getON write setON;
  1115. property SIDL : TBits_1 read getSIDL write setSIDL;
  1116. property w : TBits_32 read getw write setw;
  1117. end;
  1118. type
  1119. TICAP5Registers = record
  1120. IC5CONbits : TICAP5_IC5CON;
  1121. IC5CON : longWord;
  1122. IC5CONCLR : longWord;
  1123. IC5CONSET : longWord;
  1124. IC5CONINV : longWord;
  1125. IC5BUF : longWord;
  1126. end;
  1127. TOCMP1_OC1CON = record
  1128. private
  1129. function getOC32 : TBits_1; inline;
  1130. function getOCFLT : TBits_1; inline;
  1131. function getOCM : TBits_3; inline;
  1132. function getOCM0 : TBits_1; inline;
  1133. function getOCM1 : TBits_1; inline;
  1134. function getOCM2 : TBits_1; inline;
  1135. function getOCSIDL : TBits_1; inline;
  1136. function getOCTSEL : TBits_1; inline;
  1137. function getON : TBits_1; inline;
  1138. function getSIDL : TBits_1; inline;
  1139. function getw : TBits_32; inline;
  1140. procedure setOC32(thebits : TBits_1); inline;
  1141. procedure setOCFLT(thebits : TBits_1); inline;
  1142. procedure setOCM(thebits : TBits_3); inline;
  1143. procedure setOCM0(thebits : TBits_1); inline;
  1144. procedure setOCM1(thebits : TBits_1); inline;
  1145. procedure setOCM2(thebits : TBits_1); inline;
  1146. procedure setOCSIDL(thebits : TBits_1); inline;
  1147. procedure setOCTSEL(thebits : TBits_1); inline;
  1148. procedure setON(thebits : TBits_1); inline;
  1149. procedure setSIDL(thebits : TBits_1); inline;
  1150. procedure setw(thebits : TBits_32); inline;
  1151. public
  1152. procedure clearOC32; inline;
  1153. procedure clearOCFLT; inline;
  1154. procedure clearOCM0; inline;
  1155. procedure clearOCM1; inline;
  1156. procedure clearOCM2; inline;
  1157. procedure clearOCSIDL; inline;
  1158. procedure clearOCTSEL; inline;
  1159. procedure clearON; inline;
  1160. procedure clearSIDL; inline;
  1161. procedure setOC32; inline;
  1162. procedure setOCFLT; inline;
  1163. procedure setOCM0; inline;
  1164. procedure setOCM1; inline;
  1165. procedure setOCM2; inline;
  1166. procedure setOCSIDL; inline;
  1167. procedure setOCTSEL; inline;
  1168. procedure setON; inline;
  1169. procedure setSIDL; inline;
  1170. property OC32 : TBits_1 read getOC32 write setOC32;
  1171. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1172. property OCM : TBits_3 read getOCM write setOCM;
  1173. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1174. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1175. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1176. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1177. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1178. property ON : TBits_1 read getON write setON;
  1179. property SIDL : TBits_1 read getSIDL write setSIDL;
  1180. property w : TBits_32 read getw write setw;
  1181. end;
  1182. type
  1183. TOCMP1Registers = record
  1184. OC1CONbits : TOCMP1_OC1CON;
  1185. OC1CON : longWord;
  1186. OC1CONCLR : longWord;
  1187. OC1CONSET : longWord;
  1188. OC1CONINV : longWord;
  1189. OC1R : longWord;
  1190. OC1RCLR : longWord;
  1191. OC1RSET : longWord;
  1192. OC1RINV : longWord;
  1193. OC1RS : longWord;
  1194. OC1RSCLR : longWord;
  1195. OC1RSSET : longWord;
  1196. OC1RSINV : longWord;
  1197. end;
  1198. TOCMP2_OC2CON = record
  1199. private
  1200. function getOC32 : TBits_1; inline;
  1201. function getOCFLT : TBits_1; inline;
  1202. function getOCM : TBits_3; inline;
  1203. function getOCM0 : TBits_1; inline;
  1204. function getOCM1 : TBits_1; inline;
  1205. function getOCM2 : TBits_1; inline;
  1206. function getOCSIDL : TBits_1; inline;
  1207. function getOCTSEL : TBits_1; inline;
  1208. function getON : TBits_1; inline;
  1209. function getSIDL : TBits_1; inline;
  1210. function getw : TBits_32; inline;
  1211. procedure setOC32(thebits : TBits_1); inline;
  1212. procedure setOCFLT(thebits : TBits_1); inline;
  1213. procedure setOCM(thebits : TBits_3); inline;
  1214. procedure setOCM0(thebits : TBits_1); inline;
  1215. procedure setOCM1(thebits : TBits_1); inline;
  1216. procedure setOCM2(thebits : TBits_1); inline;
  1217. procedure setOCSIDL(thebits : TBits_1); inline;
  1218. procedure setOCTSEL(thebits : TBits_1); inline;
  1219. procedure setON(thebits : TBits_1); inline;
  1220. procedure setSIDL(thebits : TBits_1); inline;
  1221. procedure setw(thebits : TBits_32); inline;
  1222. public
  1223. procedure clearOC32; inline;
  1224. procedure clearOCFLT; inline;
  1225. procedure clearOCM0; inline;
  1226. procedure clearOCM1; inline;
  1227. procedure clearOCM2; inline;
  1228. procedure clearOCSIDL; inline;
  1229. procedure clearOCTSEL; inline;
  1230. procedure clearON; inline;
  1231. procedure clearSIDL; inline;
  1232. procedure setOC32; inline;
  1233. procedure setOCFLT; inline;
  1234. procedure setOCM0; inline;
  1235. procedure setOCM1; inline;
  1236. procedure setOCM2; inline;
  1237. procedure setOCSIDL; inline;
  1238. procedure setOCTSEL; inline;
  1239. procedure setON; inline;
  1240. procedure setSIDL; inline;
  1241. property OC32 : TBits_1 read getOC32 write setOC32;
  1242. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1243. property OCM : TBits_3 read getOCM write setOCM;
  1244. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1245. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1246. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1247. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1248. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1249. property ON : TBits_1 read getON write setON;
  1250. property SIDL : TBits_1 read getSIDL write setSIDL;
  1251. property w : TBits_32 read getw write setw;
  1252. end;
  1253. type
  1254. TOCMP2Registers = record
  1255. OC2CONbits : TOCMP2_OC2CON;
  1256. OC2CON : longWord;
  1257. OC2CONCLR : longWord;
  1258. OC2CONSET : longWord;
  1259. OC2CONINV : longWord;
  1260. OC2R : longWord;
  1261. OC2RCLR : longWord;
  1262. OC2RSET : longWord;
  1263. OC2RINV : longWord;
  1264. OC2RS : longWord;
  1265. OC2RSCLR : longWord;
  1266. OC2RSSET : longWord;
  1267. OC2RSINV : longWord;
  1268. end;
  1269. TOCMP3_OC3CON = record
  1270. private
  1271. function getOC32 : TBits_1; inline;
  1272. function getOCFLT : TBits_1; inline;
  1273. function getOCM : TBits_3; inline;
  1274. function getOCM0 : TBits_1; inline;
  1275. function getOCM1 : TBits_1; inline;
  1276. function getOCM2 : TBits_1; inline;
  1277. function getOCSIDL : TBits_1; inline;
  1278. function getOCTSEL : TBits_1; inline;
  1279. function getON : TBits_1; inline;
  1280. function getSIDL : TBits_1; inline;
  1281. function getw : TBits_32; inline;
  1282. procedure setOC32(thebits : TBits_1); inline;
  1283. procedure setOCFLT(thebits : TBits_1); inline;
  1284. procedure setOCM(thebits : TBits_3); inline;
  1285. procedure setOCM0(thebits : TBits_1); inline;
  1286. procedure setOCM1(thebits : TBits_1); inline;
  1287. procedure setOCM2(thebits : TBits_1); inline;
  1288. procedure setOCSIDL(thebits : TBits_1); inline;
  1289. procedure setOCTSEL(thebits : TBits_1); inline;
  1290. procedure setON(thebits : TBits_1); inline;
  1291. procedure setSIDL(thebits : TBits_1); inline;
  1292. procedure setw(thebits : TBits_32); inline;
  1293. public
  1294. procedure clearOC32; inline;
  1295. procedure clearOCFLT; inline;
  1296. procedure clearOCM0; inline;
  1297. procedure clearOCM1; inline;
  1298. procedure clearOCM2; inline;
  1299. procedure clearOCSIDL; inline;
  1300. procedure clearOCTSEL; inline;
  1301. procedure clearON; inline;
  1302. procedure clearSIDL; inline;
  1303. procedure setOC32; inline;
  1304. procedure setOCFLT; inline;
  1305. procedure setOCM0; inline;
  1306. procedure setOCM1; inline;
  1307. procedure setOCM2; inline;
  1308. procedure setOCSIDL; inline;
  1309. procedure setOCTSEL; inline;
  1310. procedure setON; inline;
  1311. procedure setSIDL; inline;
  1312. property OC32 : TBits_1 read getOC32 write setOC32;
  1313. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1314. property OCM : TBits_3 read getOCM write setOCM;
  1315. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1316. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1317. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1318. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1319. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1320. property ON : TBits_1 read getON write setON;
  1321. property SIDL : TBits_1 read getSIDL write setSIDL;
  1322. property w : TBits_32 read getw write setw;
  1323. end;
  1324. type
  1325. TOCMP3Registers = record
  1326. OC3CONbits : TOCMP3_OC3CON;
  1327. OC3CON : longWord;
  1328. OC3CONCLR : longWord;
  1329. OC3CONSET : longWord;
  1330. OC3CONINV : longWord;
  1331. OC3R : longWord;
  1332. OC3RCLR : longWord;
  1333. OC3RSET : longWord;
  1334. OC3RINV : longWord;
  1335. OC3RS : longWord;
  1336. OC3RSCLR : longWord;
  1337. OC3RSSET : longWord;
  1338. OC3RSINV : longWord;
  1339. end;
  1340. TOCMP4_OC4CON = record
  1341. private
  1342. function getOC32 : TBits_1; inline;
  1343. function getOCFLT : TBits_1; inline;
  1344. function getOCM : TBits_3; inline;
  1345. function getOCM0 : TBits_1; inline;
  1346. function getOCM1 : TBits_1; inline;
  1347. function getOCM2 : TBits_1; inline;
  1348. function getOCSIDL : TBits_1; inline;
  1349. function getOCTSEL : TBits_1; inline;
  1350. function getON : TBits_1; inline;
  1351. function getSIDL : TBits_1; inline;
  1352. function getw : TBits_32; inline;
  1353. procedure setOC32(thebits : TBits_1); inline;
  1354. procedure setOCFLT(thebits : TBits_1); inline;
  1355. procedure setOCM(thebits : TBits_3); inline;
  1356. procedure setOCM0(thebits : TBits_1); inline;
  1357. procedure setOCM1(thebits : TBits_1); inline;
  1358. procedure setOCM2(thebits : TBits_1); inline;
  1359. procedure setOCSIDL(thebits : TBits_1); inline;
  1360. procedure setOCTSEL(thebits : TBits_1); inline;
  1361. procedure setON(thebits : TBits_1); inline;
  1362. procedure setSIDL(thebits : TBits_1); inline;
  1363. procedure setw(thebits : TBits_32); inline;
  1364. public
  1365. procedure clearOC32; inline;
  1366. procedure clearOCFLT; inline;
  1367. procedure clearOCM0; inline;
  1368. procedure clearOCM1; inline;
  1369. procedure clearOCM2; inline;
  1370. procedure clearOCSIDL; inline;
  1371. procedure clearOCTSEL; inline;
  1372. procedure clearON; inline;
  1373. procedure clearSIDL; inline;
  1374. procedure setOC32; inline;
  1375. procedure setOCFLT; inline;
  1376. procedure setOCM0; inline;
  1377. procedure setOCM1; inline;
  1378. procedure setOCM2; inline;
  1379. procedure setOCSIDL; inline;
  1380. procedure setOCTSEL; inline;
  1381. procedure setON; inline;
  1382. procedure setSIDL; inline;
  1383. property OC32 : TBits_1 read getOC32 write setOC32;
  1384. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1385. property OCM : TBits_3 read getOCM write setOCM;
  1386. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1387. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1388. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1389. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1390. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1391. property ON : TBits_1 read getON write setON;
  1392. property SIDL : TBits_1 read getSIDL write setSIDL;
  1393. property w : TBits_32 read getw write setw;
  1394. end;
  1395. type
  1396. TOCMP4Registers = record
  1397. OC4CONbits : TOCMP4_OC4CON;
  1398. OC4CON : longWord;
  1399. OC4CONCLR : longWord;
  1400. OC4CONSET : longWord;
  1401. OC4CONINV : longWord;
  1402. OC4R : longWord;
  1403. OC4RCLR : longWord;
  1404. OC4RSET : longWord;
  1405. OC4RINV : longWord;
  1406. OC4RS : longWord;
  1407. OC4RSCLR : longWord;
  1408. OC4RSSET : longWord;
  1409. OC4RSINV : longWord;
  1410. end;
  1411. TOCMP5_OC5CON = record
  1412. private
  1413. function getOC32 : TBits_1; inline;
  1414. function getOCFLT : TBits_1; inline;
  1415. function getOCM : TBits_3; inline;
  1416. function getOCM0 : TBits_1; inline;
  1417. function getOCM1 : TBits_1; inline;
  1418. function getOCM2 : TBits_1; inline;
  1419. function getOCSIDL : TBits_1; inline;
  1420. function getOCTSEL : TBits_1; inline;
  1421. function getON : TBits_1; inline;
  1422. function getSIDL : TBits_1; inline;
  1423. function getw : TBits_32; inline;
  1424. procedure setOC32(thebits : TBits_1); inline;
  1425. procedure setOCFLT(thebits : TBits_1); inline;
  1426. procedure setOCM(thebits : TBits_3); inline;
  1427. procedure setOCM0(thebits : TBits_1); inline;
  1428. procedure setOCM1(thebits : TBits_1); inline;
  1429. procedure setOCM2(thebits : TBits_1); inline;
  1430. procedure setOCSIDL(thebits : TBits_1); inline;
  1431. procedure setOCTSEL(thebits : TBits_1); inline;
  1432. procedure setON(thebits : TBits_1); inline;
  1433. procedure setSIDL(thebits : TBits_1); inline;
  1434. procedure setw(thebits : TBits_32); inline;
  1435. public
  1436. procedure clearOC32; inline;
  1437. procedure clearOCFLT; inline;
  1438. procedure clearOCM0; inline;
  1439. procedure clearOCM1; inline;
  1440. procedure clearOCM2; inline;
  1441. procedure clearOCSIDL; inline;
  1442. procedure clearOCTSEL; inline;
  1443. procedure clearON; inline;
  1444. procedure clearSIDL; inline;
  1445. procedure setOC32; inline;
  1446. procedure setOCFLT; inline;
  1447. procedure setOCM0; inline;
  1448. procedure setOCM1; inline;
  1449. procedure setOCM2; inline;
  1450. procedure setOCSIDL; inline;
  1451. procedure setOCTSEL; inline;
  1452. procedure setON; inline;
  1453. procedure setSIDL; inline;
  1454. property OC32 : TBits_1 read getOC32 write setOC32;
  1455. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1456. property OCM : TBits_3 read getOCM write setOCM;
  1457. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1458. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1459. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1460. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1461. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1462. property ON : TBits_1 read getON write setON;
  1463. property SIDL : TBits_1 read getSIDL write setSIDL;
  1464. property w : TBits_32 read getw write setw;
  1465. end;
  1466. type
  1467. TOCMP5Registers = record
  1468. OC5CONbits : TOCMP5_OC5CON;
  1469. OC5CON : longWord;
  1470. OC5CONCLR : longWord;
  1471. OC5CONSET : longWord;
  1472. OC5CONINV : longWord;
  1473. OC5R : longWord;
  1474. OC5RCLR : longWord;
  1475. OC5RSET : longWord;
  1476. OC5RINV : longWord;
  1477. OC5RS : longWord;
  1478. OC5RSCLR : longWord;
  1479. OC5RSSET : longWord;
  1480. OC5RSINV : longWord;
  1481. end;
  1482. TI2C1_I2C1CON = record
  1483. private
  1484. function getA10M : TBits_1; inline;
  1485. function getACKDT : TBits_1; inline;
  1486. function getACKEN : TBits_1; inline;
  1487. function getDISSLW : TBits_1; inline;
  1488. function getGCEN : TBits_1; inline;
  1489. function getI2CEN : TBits_1; inline;
  1490. function getI2CSIDL : TBits_1; inline;
  1491. function getIPMIEN : TBits_1; inline;
  1492. function getON : TBits_1; inline;
  1493. function getPEN : TBits_1; inline;
  1494. function getRCEN : TBits_1; inline;
  1495. function getRSEN : TBits_1; inline;
  1496. function getSCLREL : TBits_1; inline;
  1497. function getSEN : TBits_1; inline;
  1498. function getSIDL : TBits_1; inline;
  1499. function getSMEN : TBits_1; inline;
  1500. function getSTREN : TBits_1; inline;
  1501. function getSTRICT : TBits_1; inline;
  1502. function getw : TBits_32; inline;
  1503. procedure setA10M(thebits : TBits_1); inline;
  1504. procedure setACKDT(thebits : TBits_1); inline;
  1505. procedure setACKEN(thebits : TBits_1); inline;
  1506. procedure setDISSLW(thebits : TBits_1); inline;
  1507. procedure setGCEN(thebits : TBits_1); inline;
  1508. procedure setI2CEN(thebits : TBits_1); inline;
  1509. procedure setI2CSIDL(thebits : TBits_1); inline;
  1510. procedure setIPMIEN(thebits : TBits_1); inline;
  1511. procedure setON(thebits : TBits_1); inline;
  1512. procedure setPEN(thebits : TBits_1); inline;
  1513. procedure setRCEN(thebits : TBits_1); inline;
  1514. procedure setRSEN(thebits : TBits_1); inline;
  1515. procedure setSCLREL(thebits : TBits_1); inline;
  1516. procedure setSEN(thebits : TBits_1); inline;
  1517. procedure setSIDL(thebits : TBits_1); inline;
  1518. procedure setSMEN(thebits : TBits_1); inline;
  1519. procedure setSTREN(thebits : TBits_1); inline;
  1520. procedure setSTRICT(thebits : TBits_1); inline;
  1521. procedure setw(thebits : TBits_32); inline;
  1522. public
  1523. procedure clearA10M; inline;
  1524. procedure clearACKDT; inline;
  1525. procedure clearACKEN; inline;
  1526. procedure clearDISSLW; inline;
  1527. procedure clearGCEN; inline;
  1528. procedure clearI2CEN; inline;
  1529. procedure clearI2CSIDL; inline;
  1530. procedure clearIPMIEN; inline;
  1531. procedure clearON; inline;
  1532. procedure clearPEN; inline;
  1533. procedure clearRCEN; inline;
  1534. procedure clearRSEN; inline;
  1535. procedure clearSCLREL; inline;
  1536. procedure clearSEN; inline;
  1537. procedure clearSIDL; inline;
  1538. procedure clearSMEN; inline;
  1539. procedure clearSTREN; inline;
  1540. procedure clearSTRICT; inline;
  1541. procedure setA10M; inline;
  1542. procedure setACKDT; inline;
  1543. procedure setACKEN; inline;
  1544. procedure setDISSLW; inline;
  1545. procedure setGCEN; inline;
  1546. procedure setI2CEN; inline;
  1547. procedure setI2CSIDL; inline;
  1548. procedure setIPMIEN; inline;
  1549. procedure setON; inline;
  1550. procedure setPEN; inline;
  1551. procedure setRCEN; inline;
  1552. procedure setRSEN; inline;
  1553. procedure setSCLREL; inline;
  1554. procedure setSEN; inline;
  1555. procedure setSIDL; inline;
  1556. procedure setSMEN; inline;
  1557. procedure setSTREN; inline;
  1558. procedure setSTRICT; inline;
  1559. property A10M : TBits_1 read getA10M write setA10M;
  1560. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1561. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1562. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1563. property GCEN : TBits_1 read getGCEN write setGCEN;
  1564. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1565. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1566. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1567. property ON : TBits_1 read getON write setON;
  1568. property PEN : TBits_1 read getPEN write setPEN;
  1569. property RCEN : TBits_1 read getRCEN write setRCEN;
  1570. property RSEN : TBits_1 read getRSEN write setRSEN;
  1571. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1572. property SEN : TBits_1 read getSEN write setSEN;
  1573. property SIDL : TBits_1 read getSIDL write setSIDL;
  1574. property SMEN : TBits_1 read getSMEN write setSMEN;
  1575. property STREN : TBits_1 read getSTREN write setSTREN;
  1576. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1577. property w : TBits_32 read getw write setw;
  1578. end;
  1579. TI2C1_I2C1STAT = record
  1580. private
  1581. function getACKSTAT : TBits_1; inline;
  1582. function getADD10 : TBits_1; inline;
  1583. function getBCL : TBits_1; inline;
  1584. function getD_A : TBits_1; inline;
  1585. function getGCSTAT : TBits_1; inline;
  1586. function getI2COV : TBits_1; inline;
  1587. function getI2CPOV : TBits_1; inline;
  1588. function getIWCOL : TBits_1; inline;
  1589. function getP : TBits_1; inline;
  1590. function getRBF : TBits_1; inline;
  1591. function getR_W : TBits_1; inline;
  1592. function getS : TBits_1; inline;
  1593. function getTBF : TBits_1; inline;
  1594. function getTRSTAT : TBits_1; inline;
  1595. function getw : TBits_32; inline;
  1596. procedure setACKSTAT(thebits : TBits_1); inline;
  1597. procedure setADD10(thebits : TBits_1); inline;
  1598. procedure setBCL(thebits : TBits_1); inline;
  1599. procedure setD_A(thebits : TBits_1); inline;
  1600. procedure setGCSTAT(thebits : TBits_1); inline;
  1601. procedure setI2COV(thebits : TBits_1); inline;
  1602. procedure setI2CPOV(thebits : TBits_1); inline;
  1603. procedure setIWCOL(thebits : TBits_1); inline;
  1604. procedure setP(thebits : TBits_1); inline;
  1605. procedure setRBF(thebits : TBits_1); inline;
  1606. procedure setR_W(thebits : TBits_1); inline;
  1607. procedure setS(thebits : TBits_1); inline;
  1608. procedure setTBF(thebits : TBits_1); inline;
  1609. procedure setTRSTAT(thebits : TBits_1); inline;
  1610. procedure setw(thebits : TBits_32); inline;
  1611. public
  1612. procedure clearACKSTAT; inline;
  1613. procedure clearADD10; inline;
  1614. procedure clearBCL; inline;
  1615. procedure clearD_A; inline;
  1616. procedure clearGCSTAT; inline;
  1617. procedure clearI2COV; inline;
  1618. procedure clearI2CPOV; inline;
  1619. procedure clearIWCOL; inline;
  1620. procedure clearP; inline;
  1621. procedure clearRBF; inline;
  1622. procedure clearR_W; inline;
  1623. procedure clearS; inline;
  1624. procedure clearTBF; inline;
  1625. procedure clearTRSTAT; inline;
  1626. procedure setACKSTAT; inline;
  1627. procedure setADD10; inline;
  1628. procedure setBCL; inline;
  1629. procedure setD_A; inline;
  1630. procedure setGCSTAT; inline;
  1631. procedure setI2COV; inline;
  1632. procedure setI2CPOV; inline;
  1633. procedure setIWCOL; inline;
  1634. procedure setP; inline;
  1635. procedure setRBF; inline;
  1636. procedure setR_W; inline;
  1637. procedure setS; inline;
  1638. procedure setTBF; inline;
  1639. procedure setTRSTAT; inline;
  1640. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1641. property ADD10 : TBits_1 read getADD10 write setADD10;
  1642. property BCL : TBits_1 read getBCL write setBCL;
  1643. property D_A : TBits_1 read getD_A write setD_A;
  1644. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1645. property I2COV : TBits_1 read getI2COV write setI2COV;
  1646. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1647. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1648. property P : TBits_1 read getP write setP;
  1649. property RBF : TBits_1 read getRBF write setRBF;
  1650. property R_W : TBits_1 read getR_W write setR_W;
  1651. property S : TBits_1 read getS write setS;
  1652. property TBF : TBits_1 read getTBF write setTBF;
  1653. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1654. property w : TBits_32 read getw write setw;
  1655. end;
  1656. type
  1657. TI2C1Registers = record
  1658. I2C1CONbits : TI2C1_I2C1CON;
  1659. I2C1CON : longWord;
  1660. I2C1CONCLR : longWord;
  1661. I2C1CONSET : longWord;
  1662. I2C1CONINV : longWord;
  1663. I2C1STATbits : TI2C1_I2C1STAT;
  1664. I2C1STAT : longWord;
  1665. I2C1STATCLR : longWord;
  1666. I2C1STATSET : longWord;
  1667. I2C1STATINV : longWord;
  1668. I2C1ADD : longWord;
  1669. I2C1ADDCLR : longWord;
  1670. I2C1ADDSET : longWord;
  1671. I2C1ADDINV : longWord;
  1672. I2C1MSK : longWord;
  1673. I2C1MSKCLR : longWord;
  1674. I2C1MSKSET : longWord;
  1675. I2C1MSKINV : longWord;
  1676. I2C1BRG : longWord;
  1677. I2C1BRGCLR : longWord;
  1678. I2C1BRGSET : longWord;
  1679. I2C1BRGINV : longWord;
  1680. I2C1TRN : longWord;
  1681. I2C1TRNCLR : longWord;
  1682. I2C1TRNSET : longWord;
  1683. I2C1TRNINV : longWord;
  1684. I2C1RCV : longWord;
  1685. end;
  1686. TI2C2_I2C2CON = record
  1687. private
  1688. function getA10M : TBits_1; inline;
  1689. function getACKDT : TBits_1; inline;
  1690. function getACKEN : TBits_1; inline;
  1691. function getDISSLW : TBits_1; inline;
  1692. function getGCEN : TBits_1; inline;
  1693. function getI2CEN : TBits_1; inline;
  1694. function getI2CSIDL : TBits_1; inline;
  1695. function getIPMIEN : TBits_1; inline;
  1696. function getON : TBits_1; inline;
  1697. function getPEN : TBits_1; inline;
  1698. function getRCEN : TBits_1; inline;
  1699. function getRSEN : TBits_1; inline;
  1700. function getSCLREL : TBits_1; inline;
  1701. function getSEN : TBits_1; inline;
  1702. function getSIDL : TBits_1; inline;
  1703. function getSMEN : TBits_1; inline;
  1704. function getSTREN : TBits_1; inline;
  1705. function getSTRICT : TBits_1; inline;
  1706. function getw : TBits_32; inline;
  1707. procedure setA10M(thebits : TBits_1); inline;
  1708. procedure setACKDT(thebits : TBits_1); inline;
  1709. procedure setACKEN(thebits : TBits_1); inline;
  1710. procedure setDISSLW(thebits : TBits_1); inline;
  1711. procedure setGCEN(thebits : TBits_1); inline;
  1712. procedure setI2CEN(thebits : TBits_1); inline;
  1713. procedure setI2CSIDL(thebits : TBits_1); inline;
  1714. procedure setIPMIEN(thebits : TBits_1); inline;
  1715. procedure setON(thebits : TBits_1); inline;
  1716. procedure setPEN(thebits : TBits_1); inline;
  1717. procedure setRCEN(thebits : TBits_1); inline;
  1718. procedure setRSEN(thebits : TBits_1); inline;
  1719. procedure setSCLREL(thebits : TBits_1); inline;
  1720. procedure setSEN(thebits : TBits_1); inline;
  1721. procedure setSIDL(thebits : TBits_1); inline;
  1722. procedure setSMEN(thebits : TBits_1); inline;
  1723. procedure setSTREN(thebits : TBits_1); inline;
  1724. procedure setSTRICT(thebits : TBits_1); inline;
  1725. procedure setw(thebits : TBits_32); inline;
  1726. public
  1727. procedure clearA10M; inline;
  1728. procedure clearACKDT; inline;
  1729. procedure clearACKEN; inline;
  1730. procedure clearDISSLW; inline;
  1731. procedure clearGCEN; inline;
  1732. procedure clearI2CEN; inline;
  1733. procedure clearI2CSIDL; inline;
  1734. procedure clearIPMIEN; inline;
  1735. procedure clearON; inline;
  1736. procedure clearPEN; inline;
  1737. procedure clearRCEN; inline;
  1738. procedure clearRSEN; inline;
  1739. procedure clearSCLREL; inline;
  1740. procedure clearSEN; inline;
  1741. procedure clearSIDL; inline;
  1742. procedure clearSMEN; inline;
  1743. procedure clearSTREN; inline;
  1744. procedure clearSTRICT; inline;
  1745. procedure setA10M; inline;
  1746. procedure setACKDT; inline;
  1747. procedure setACKEN; inline;
  1748. procedure setDISSLW; inline;
  1749. procedure setGCEN; inline;
  1750. procedure setI2CEN; inline;
  1751. procedure setI2CSIDL; inline;
  1752. procedure setIPMIEN; inline;
  1753. procedure setON; inline;
  1754. procedure setPEN; inline;
  1755. procedure setRCEN; inline;
  1756. procedure setRSEN; inline;
  1757. procedure setSCLREL; inline;
  1758. procedure setSEN; inline;
  1759. procedure setSIDL; inline;
  1760. procedure setSMEN; inline;
  1761. procedure setSTREN; inline;
  1762. procedure setSTRICT; inline;
  1763. property A10M : TBits_1 read getA10M write setA10M;
  1764. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1765. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1766. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1767. property GCEN : TBits_1 read getGCEN write setGCEN;
  1768. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1769. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1770. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1771. property ON : TBits_1 read getON write setON;
  1772. property PEN : TBits_1 read getPEN write setPEN;
  1773. property RCEN : TBits_1 read getRCEN write setRCEN;
  1774. property RSEN : TBits_1 read getRSEN write setRSEN;
  1775. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1776. property SEN : TBits_1 read getSEN write setSEN;
  1777. property SIDL : TBits_1 read getSIDL write setSIDL;
  1778. property SMEN : TBits_1 read getSMEN write setSMEN;
  1779. property STREN : TBits_1 read getSTREN write setSTREN;
  1780. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1781. property w : TBits_32 read getw write setw;
  1782. end;
  1783. TI2C2_I2C2STAT = record
  1784. private
  1785. function getACKSTAT : TBits_1; inline;
  1786. function getADD10 : TBits_1; inline;
  1787. function getBCL : TBits_1; inline;
  1788. function getD_A : TBits_1; inline;
  1789. function getGCSTAT : TBits_1; inline;
  1790. function getI2COV : TBits_1; inline;
  1791. function getI2CPOV : TBits_1; inline;
  1792. function getIWCOL : TBits_1; inline;
  1793. function getP : TBits_1; inline;
  1794. function getRBF : TBits_1; inline;
  1795. function getR_W : TBits_1; inline;
  1796. function getS : TBits_1; inline;
  1797. function getTBF : TBits_1; inline;
  1798. function getTRSTAT : TBits_1; inline;
  1799. function getw : TBits_32; inline;
  1800. procedure setACKSTAT(thebits : TBits_1); inline;
  1801. procedure setADD10(thebits : TBits_1); inline;
  1802. procedure setBCL(thebits : TBits_1); inline;
  1803. procedure setD_A(thebits : TBits_1); inline;
  1804. procedure setGCSTAT(thebits : TBits_1); inline;
  1805. procedure setI2COV(thebits : TBits_1); inline;
  1806. procedure setI2CPOV(thebits : TBits_1); inline;
  1807. procedure setIWCOL(thebits : TBits_1); inline;
  1808. procedure setP(thebits : TBits_1); inline;
  1809. procedure setRBF(thebits : TBits_1); inline;
  1810. procedure setR_W(thebits : TBits_1); inline;
  1811. procedure setS(thebits : TBits_1); inline;
  1812. procedure setTBF(thebits : TBits_1); inline;
  1813. procedure setTRSTAT(thebits : TBits_1); inline;
  1814. procedure setw(thebits : TBits_32); inline;
  1815. public
  1816. procedure clearACKSTAT; inline;
  1817. procedure clearADD10; inline;
  1818. procedure clearBCL; inline;
  1819. procedure clearD_A; inline;
  1820. procedure clearGCSTAT; inline;
  1821. procedure clearI2COV; inline;
  1822. procedure clearI2CPOV; inline;
  1823. procedure clearIWCOL; inline;
  1824. procedure clearP; inline;
  1825. procedure clearRBF; inline;
  1826. procedure clearR_W; inline;
  1827. procedure clearS; inline;
  1828. procedure clearTBF; inline;
  1829. procedure clearTRSTAT; inline;
  1830. procedure setACKSTAT; inline;
  1831. procedure setADD10; inline;
  1832. procedure setBCL; inline;
  1833. procedure setD_A; inline;
  1834. procedure setGCSTAT; inline;
  1835. procedure setI2COV; inline;
  1836. procedure setI2CPOV; inline;
  1837. procedure setIWCOL; inline;
  1838. procedure setP; inline;
  1839. procedure setRBF; inline;
  1840. procedure setR_W; inline;
  1841. procedure setS; inline;
  1842. procedure setTBF; inline;
  1843. procedure setTRSTAT; inline;
  1844. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1845. property ADD10 : TBits_1 read getADD10 write setADD10;
  1846. property BCL : TBits_1 read getBCL write setBCL;
  1847. property D_A : TBits_1 read getD_A write setD_A;
  1848. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1849. property I2COV : TBits_1 read getI2COV write setI2COV;
  1850. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1851. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1852. property P : TBits_1 read getP write setP;
  1853. property RBF : TBits_1 read getRBF write setRBF;
  1854. property R_W : TBits_1 read getR_W write setR_W;
  1855. property S : TBits_1 read getS write setS;
  1856. property TBF : TBits_1 read getTBF write setTBF;
  1857. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1858. property w : TBits_32 read getw write setw;
  1859. end;
  1860. type
  1861. TI2C2Registers = record
  1862. I2C2CONbits : TI2C2_I2C2CON;
  1863. I2C2CON : longWord;
  1864. I2C2CONCLR : longWord;
  1865. I2C2CONSET : longWord;
  1866. I2C2CONINV : longWord;
  1867. I2C2STATbits : TI2C2_I2C2STAT;
  1868. I2C2STAT : longWord;
  1869. I2C2STATCLR : longWord;
  1870. I2C2STATSET : longWord;
  1871. I2C2STATINV : longWord;
  1872. I2C2ADD : longWord;
  1873. I2C2ADDCLR : longWord;
  1874. I2C2ADDSET : longWord;
  1875. I2C2ADDINV : longWord;
  1876. I2C2MSK : longWord;
  1877. I2C2MSKCLR : longWord;
  1878. I2C2MSKSET : longWord;
  1879. I2C2MSKINV : longWord;
  1880. I2C2BRG : longWord;
  1881. I2C2BRGCLR : longWord;
  1882. I2C2BRGSET : longWord;
  1883. I2C2BRGINV : longWord;
  1884. I2C2TRN : longWord;
  1885. I2C2TRNCLR : longWord;
  1886. I2C2TRNSET : longWord;
  1887. I2C2TRNINV : longWord;
  1888. I2C2RCV : longWord;
  1889. end;
  1890. TSPI1_SPI1CON = record
  1891. private
  1892. function getCKE : TBits_1; inline;
  1893. function getCKP : TBits_1; inline;
  1894. function getDISSDO : TBits_1; inline;
  1895. function getFRMEN : TBits_1; inline;
  1896. function getFRMPOL : TBits_1; inline;
  1897. function getFRMSYNC : TBits_1; inline;
  1898. function getMODE16 : TBits_1; inline;
  1899. function getMODE32 : TBits_1; inline;
  1900. function getMSTEN : TBits_1; inline;
  1901. function getON : TBits_1; inline;
  1902. function getSIDL : TBits_1; inline;
  1903. function getSMP : TBits_1; inline;
  1904. function getSPIFE : TBits_1; inline;
  1905. function getSSEN : TBits_1; inline;
  1906. function getw : TBits_32; inline;
  1907. procedure setCKE(thebits : TBits_1); inline;
  1908. procedure setCKP(thebits : TBits_1); inline;
  1909. procedure setDISSDO(thebits : TBits_1); inline;
  1910. procedure setFRMEN(thebits : TBits_1); inline;
  1911. procedure setFRMPOL(thebits : TBits_1); inline;
  1912. procedure setFRMSYNC(thebits : TBits_1); inline;
  1913. procedure setMODE16(thebits : TBits_1); inline;
  1914. procedure setMODE32(thebits : TBits_1); inline;
  1915. procedure setMSTEN(thebits : TBits_1); inline;
  1916. procedure setON(thebits : TBits_1); inline;
  1917. procedure setSIDL(thebits : TBits_1); inline;
  1918. procedure setSMP(thebits : TBits_1); inline;
  1919. procedure setSPIFE(thebits : TBits_1); inline;
  1920. procedure setSSEN(thebits : TBits_1); inline;
  1921. procedure setw(thebits : TBits_32); inline;
  1922. public
  1923. procedure clearCKE; inline;
  1924. procedure clearCKP; inline;
  1925. procedure clearDISSDO; inline;
  1926. procedure clearFRMEN; inline;
  1927. procedure clearFRMPOL; inline;
  1928. procedure clearFRMSYNC; inline;
  1929. procedure clearMODE16; inline;
  1930. procedure clearMODE32; inline;
  1931. procedure clearMSTEN; inline;
  1932. procedure clearON; inline;
  1933. procedure clearSIDL; inline;
  1934. procedure clearSMP; inline;
  1935. procedure clearSPIFE; inline;
  1936. procedure clearSSEN; inline;
  1937. procedure setCKE; inline;
  1938. procedure setCKP; inline;
  1939. procedure setDISSDO; inline;
  1940. procedure setFRMEN; inline;
  1941. procedure setFRMPOL; inline;
  1942. procedure setFRMSYNC; inline;
  1943. procedure setMODE16; inline;
  1944. procedure setMODE32; inline;
  1945. procedure setMSTEN; inline;
  1946. procedure setON; inline;
  1947. procedure setSIDL; inline;
  1948. procedure setSMP; inline;
  1949. procedure setSPIFE; inline;
  1950. procedure setSSEN; inline;
  1951. property CKE : TBits_1 read getCKE write setCKE;
  1952. property CKP : TBits_1 read getCKP write setCKP;
  1953. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  1954. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  1955. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  1956. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  1957. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  1958. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  1959. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  1960. property ON : TBits_1 read getON write setON;
  1961. property SIDL : TBits_1 read getSIDL write setSIDL;
  1962. property SMP : TBits_1 read getSMP write setSMP;
  1963. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  1964. property SSEN : TBits_1 read getSSEN write setSSEN;
  1965. property w : TBits_32 read getw write setw;
  1966. end;
  1967. TSPI1_SPI1STAT = record
  1968. private
  1969. function getSPIBUSY : TBits_1; inline;
  1970. function getSPIRBF : TBits_1; inline;
  1971. function getSPIROV : TBits_1; inline;
  1972. function getSPITBE : TBits_1; inline;
  1973. function getw : TBits_32; inline;
  1974. procedure setSPIBUSY(thebits : TBits_1); inline;
  1975. procedure setSPIRBF(thebits : TBits_1); inline;
  1976. procedure setSPIROV(thebits : TBits_1); inline;
  1977. procedure setSPITBE(thebits : TBits_1); inline;
  1978. procedure setw(thebits : TBits_32); inline;
  1979. public
  1980. procedure clearSPIBUSY; inline;
  1981. procedure clearSPIRBF; inline;
  1982. procedure clearSPIROV; inline;
  1983. procedure clearSPITBE; inline;
  1984. procedure setSPIBUSY; inline;
  1985. procedure setSPIRBF; inline;
  1986. procedure setSPIROV; inline;
  1987. procedure setSPITBE; inline;
  1988. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  1989. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  1990. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  1991. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  1992. property w : TBits_32 read getw write setw;
  1993. end;
  1994. type
  1995. TSPI1Registers = record
  1996. SPI1CONbits : TSPI1_SPI1CON;
  1997. SPI1CON : longWord;
  1998. SPI1CONCLR : longWord;
  1999. SPI1CONSET : longWord;
  2000. SPI1CONINV : longWord;
  2001. SPI1STATbits : TSPI1_SPI1STAT;
  2002. SPI1STAT : longWord;
  2003. SPI1STATCLR : longWord;
  2004. SPI1STATSET : longWord;
  2005. SPI1STATINV : longWord;
  2006. SPI1BUF : longWord;
  2007. SPI1BRG : longWord;
  2008. SPI1BRGCLR : longWord;
  2009. SPI1BRGSET : longWord;
  2010. SPI1BRGINV : longWord;
  2011. end;
  2012. TSPI2_SPI2CON = record
  2013. private
  2014. function getCKE : TBits_1; inline;
  2015. function getCKP : TBits_1; inline;
  2016. function getDISSDO : TBits_1; inline;
  2017. function getFRMEN : TBits_1; inline;
  2018. function getFRMPOL : TBits_1; inline;
  2019. function getFRMSYNC : TBits_1; inline;
  2020. function getMODE16 : TBits_1; inline;
  2021. function getMODE32 : TBits_1; inline;
  2022. function getMSTEN : TBits_1; inline;
  2023. function getON : TBits_1; inline;
  2024. function getSIDL : TBits_1; inline;
  2025. function getSMP : TBits_1; inline;
  2026. function getSPIFE : TBits_1; inline;
  2027. function getSSEN : TBits_1; inline;
  2028. function getw : TBits_32; inline;
  2029. procedure setCKE(thebits : TBits_1); inline;
  2030. procedure setCKP(thebits : TBits_1); inline;
  2031. procedure setDISSDO(thebits : TBits_1); inline;
  2032. procedure setFRMEN(thebits : TBits_1); inline;
  2033. procedure setFRMPOL(thebits : TBits_1); inline;
  2034. procedure setFRMSYNC(thebits : TBits_1); inline;
  2035. procedure setMODE16(thebits : TBits_1); inline;
  2036. procedure setMODE32(thebits : TBits_1); inline;
  2037. procedure setMSTEN(thebits : TBits_1); inline;
  2038. procedure setON(thebits : TBits_1); inline;
  2039. procedure setSIDL(thebits : TBits_1); inline;
  2040. procedure setSMP(thebits : TBits_1); inline;
  2041. procedure setSPIFE(thebits : TBits_1); inline;
  2042. procedure setSSEN(thebits : TBits_1); inline;
  2043. procedure setw(thebits : TBits_32); inline;
  2044. public
  2045. procedure clearCKE; inline;
  2046. procedure clearCKP; inline;
  2047. procedure clearDISSDO; inline;
  2048. procedure clearFRMEN; inline;
  2049. procedure clearFRMPOL; inline;
  2050. procedure clearFRMSYNC; inline;
  2051. procedure clearMODE16; inline;
  2052. procedure clearMODE32; inline;
  2053. procedure clearMSTEN; inline;
  2054. procedure clearON; inline;
  2055. procedure clearSIDL; inline;
  2056. procedure clearSMP; inline;
  2057. procedure clearSPIFE; inline;
  2058. procedure clearSSEN; inline;
  2059. procedure setCKE; inline;
  2060. procedure setCKP; inline;
  2061. procedure setDISSDO; inline;
  2062. procedure setFRMEN; inline;
  2063. procedure setFRMPOL; inline;
  2064. procedure setFRMSYNC; inline;
  2065. procedure setMODE16; inline;
  2066. procedure setMODE32; inline;
  2067. procedure setMSTEN; inline;
  2068. procedure setON; inline;
  2069. procedure setSIDL; inline;
  2070. procedure setSMP; inline;
  2071. procedure setSPIFE; inline;
  2072. procedure setSSEN; inline;
  2073. property CKE : TBits_1 read getCKE write setCKE;
  2074. property CKP : TBits_1 read getCKP write setCKP;
  2075. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2076. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2077. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2078. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2079. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2080. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2081. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2082. property ON : TBits_1 read getON write setON;
  2083. property SIDL : TBits_1 read getSIDL write setSIDL;
  2084. property SMP : TBits_1 read getSMP write setSMP;
  2085. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2086. property SSEN : TBits_1 read getSSEN write setSSEN;
  2087. property w : TBits_32 read getw write setw;
  2088. end;
  2089. TSPI2_SPI2STAT = record
  2090. private
  2091. function getSPIBUSY : TBits_1; inline;
  2092. function getSPIRBF : TBits_1; inline;
  2093. function getSPIROV : TBits_1; inline;
  2094. function getSPITBE : TBits_1; inline;
  2095. function getw : TBits_32; inline;
  2096. procedure setSPIBUSY(thebits : TBits_1); inline;
  2097. procedure setSPIRBF(thebits : TBits_1); inline;
  2098. procedure setSPIROV(thebits : TBits_1); inline;
  2099. procedure setSPITBE(thebits : TBits_1); inline;
  2100. procedure setw(thebits : TBits_32); inline;
  2101. public
  2102. procedure clearSPIBUSY; inline;
  2103. procedure clearSPIRBF; inline;
  2104. procedure clearSPIROV; inline;
  2105. procedure clearSPITBE; inline;
  2106. procedure setSPIBUSY; inline;
  2107. procedure setSPIRBF; inline;
  2108. procedure setSPIROV; inline;
  2109. procedure setSPITBE; inline;
  2110. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2111. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2112. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2113. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2114. property w : TBits_32 read getw write setw;
  2115. end;
  2116. type
  2117. TSPI2Registers = record
  2118. SPI2CONbits : TSPI2_SPI2CON;
  2119. SPI2CON : longWord;
  2120. SPI2CONCLR : longWord;
  2121. SPI2CONSET : longWord;
  2122. SPI2CONINV : longWord;
  2123. SPI2STATbits : TSPI2_SPI2STAT;
  2124. SPI2STAT : longWord;
  2125. SPI2STATCLR : longWord;
  2126. SPI2STATSET : longWord;
  2127. SPI2STATINV : longWord;
  2128. SPI2BUF : longWord;
  2129. SPI2BRG : longWord;
  2130. SPI2BRGCLR : longWord;
  2131. SPI2BRGSET : longWord;
  2132. SPI2BRGINV : longWord;
  2133. end;
  2134. TUART1_U1MODE = record
  2135. private
  2136. function getABAUD : TBits_1; inline;
  2137. function getBRGH : TBits_1; inline;
  2138. function getIREN : TBits_1; inline;
  2139. function getLPBACK : TBits_1; inline;
  2140. function getON : TBits_1; inline;
  2141. function getPDSEL : TBits_2; inline;
  2142. function getPDSEL0 : TBits_1; inline;
  2143. function getPDSEL1 : TBits_1; inline;
  2144. function getRTSMD : TBits_1; inline;
  2145. function getRXINV : TBits_1; inline;
  2146. function getSIDL : TBits_1; inline;
  2147. function getSTSEL : TBits_1; inline;
  2148. function getUARTEN : TBits_1; inline;
  2149. function getUEN : TBits_2; inline;
  2150. function getUEN0 : TBits_1; inline;
  2151. function getUEN1 : TBits_1; inline;
  2152. function getUSIDL : TBits_1; inline;
  2153. function getWAKE : TBits_1; inline;
  2154. function getw : TBits_32; inline;
  2155. procedure setABAUD(thebits : TBits_1); inline;
  2156. procedure setBRGH(thebits : TBits_1); inline;
  2157. procedure setIREN(thebits : TBits_1); inline;
  2158. procedure setLPBACK(thebits : TBits_1); inline;
  2159. procedure setON(thebits : TBits_1); inline;
  2160. procedure setPDSEL(thebits : TBits_2); inline;
  2161. procedure setPDSEL0(thebits : TBits_1); inline;
  2162. procedure setPDSEL1(thebits : TBits_1); inline;
  2163. procedure setRTSMD(thebits : TBits_1); inline;
  2164. procedure setRXINV(thebits : TBits_1); inline;
  2165. procedure setSIDL(thebits : TBits_1); inline;
  2166. procedure setSTSEL(thebits : TBits_1); inline;
  2167. procedure setUARTEN(thebits : TBits_1); inline;
  2168. procedure setUEN(thebits : TBits_2); inline;
  2169. procedure setUEN0(thebits : TBits_1); inline;
  2170. procedure setUEN1(thebits : TBits_1); inline;
  2171. procedure setUSIDL(thebits : TBits_1); inline;
  2172. procedure setWAKE(thebits : TBits_1); inline;
  2173. procedure setw(thebits : TBits_32); inline;
  2174. public
  2175. procedure clearABAUD; inline;
  2176. procedure clearBRGH; inline;
  2177. procedure clearIREN; inline;
  2178. procedure clearLPBACK; inline;
  2179. procedure clearON; inline;
  2180. procedure clearPDSEL0; inline;
  2181. procedure clearPDSEL1; inline;
  2182. procedure clearRTSMD; inline;
  2183. procedure clearRXINV; inline;
  2184. procedure clearSIDL; inline;
  2185. procedure clearSTSEL; inline;
  2186. procedure clearUARTEN; inline;
  2187. procedure clearUEN0; inline;
  2188. procedure clearUEN1; inline;
  2189. procedure clearUSIDL; inline;
  2190. procedure clearWAKE; inline;
  2191. procedure setABAUD; inline;
  2192. procedure setBRGH; inline;
  2193. procedure setIREN; inline;
  2194. procedure setLPBACK; inline;
  2195. procedure setON; inline;
  2196. procedure setPDSEL0; inline;
  2197. procedure setPDSEL1; inline;
  2198. procedure setRTSMD; inline;
  2199. procedure setRXINV; inline;
  2200. procedure setSIDL; inline;
  2201. procedure setSTSEL; inline;
  2202. procedure setUARTEN; inline;
  2203. procedure setUEN0; inline;
  2204. procedure setUEN1; inline;
  2205. procedure setUSIDL; inline;
  2206. procedure setWAKE; inline;
  2207. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2208. property BRGH : TBits_1 read getBRGH write setBRGH;
  2209. property IREN : TBits_1 read getIREN write setIREN;
  2210. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2211. property ON : TBits_1 read getON write setON;
  2212. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2213. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2214. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2215. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2216. property RXINV : TBits_1 read getRXINV write setRXINV;
  2217. property SIDL : TBits_1 read getSIDL write setSIDL;
  2218. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2219. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2220. property UEN : TBits_2 read getUEN write setUEN;
  2221. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2222. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2223. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2224. property WAKE : TBits_1 read getWAKE write setWAKE;
  2225. property w : TBits_32 read getw write setw;
  2226. end;
  2227. TUART1_U1STA = record
  2228. private
  2229. function getADDEN : TBits_1; inline;
  2230. function getADDR : TBits_8; inline;
  2231. function getADM_EN : TBits_1; inline;
  2232. function getFERR : TBits_1; inline;
  2233. function getOERR : TBits_1; inline;
  2234. function getPERR : TBits_1; inline;
  2235. function getRIDLE : TBits_1; inline;
  2236. function getTRMT : TBits_1; inline;
  2237. function getURXDA : TBits_1; inline;
  2238. function getURXEN : TBits_1; inline;
  2239. function getURXISEL : TBits_2; inline;
  2240. function getURXISEL0 : TBits_1; inline;
  2241. function getURXISEL1 : TBits_1; inline;
  2242. function getUTXBF : TBits_1; inline;
  2243. function getUTXBRK : TBits_1; inline;
  2244. function getUTXEN : TBits_1; inline;
  2245. function getUTXINV : TBits_1; inline;
  2246. function getUTXISEL : TBits_2; inline;
  2247. function getUTXISEL0 : TBits_1; inline;
  2248. function getUTXISEL1 : TBits_1; inline;
  2249. function getUTXSEL : TBits_2; inline;
  2250. function getw : TBits_32; inline;
  2251. procedure setADDEN(thebits : TBits_1); inline;
  2252. procedure setADDR(thebits : TBits_8); inline;
  2253. procedure setADM_EN(thebits : TBits_1); inline;
  2254. procedure setFERR(thebits : TBits_1); inline;
  2255. procedure setOERR(thebits : TBits_1); inline;
  2256. procedure setPERR(thebits : TBits_1); inline;
  2257. procedure setRIDLE(thebits : TBits_1); inline;
  2258. procedure setTRMT(thebits : TBits_1); inline;
  2259. procedure setURXDA(thebits : TBits_1); inline;
  2260. procedure setURXEN(thebits : TBits_1); inline;
  2261. procedure setURXISEL(thebits : TBits_2); inline;
  2262. procedure setURXISEL0(thebits : TBits_1); inline;
  2263. procedure setURXISEL1(thebits : TBits_1); inline;
  2264. procedure setUTXBF(thebits : TBits_1); inline;
  2265. procedure setUTXBRK(thebits : TBits_1); inline;
  2266. procedure setUTXEN(thebits : TBits_1); inline;
  2267. procedure setUTXINV(thebits : TBits_1); inline;
  2268. procedure setUTXISEL(thebits : TBits_2); inline;
  2269. procedure setUTXISEL0(thebits : TBits_1); inline;
  2270. procedure setUTXISEL1(thebits : TBits_1); inline;
  2271. procedure setUTXSEL(thebits : TBits_2); inline;
  2272. procedure setw(thebits : TBits_32); inline;
  2273. public
  2274. procedure clearADDEN; inline;
  2275. procedure clearADM_EN; inline;
  2276. procedure clearFERR; inline;
  2277. procedure clearOERR; inline;
  2278. procedure clearPERR; inline;
  2279. procedure clearRIDLE; inline;
  2280. procedure clearTRMT; inline;
  2281. procedure clearURXDA; inline;
  2282. procedure clearURXEN; inline;
  2283. procedure clearURXISEL0; inline;
  2284. procedure clearURXISEL1; inline;
  2285. procedure clearUTXBF; inline;
  2286. procedure clearUTXBRK; inline;
  2287. procedure clearUTXEN; inline;
  2288. procedure clearUTXINV; inline;
  2289. procedure clearUTXISEL0; inline;
  2290. procedure clearUTXISEL1; inline;
  2291. procedure setADDEN; inline;
  2292. procedure setADM_EN; inline;
  2293. procedure setFERR; inline;
  2294. procedure setOERR; inline;
  2295. procedure setPERR; inline;
  2296. procedure setRIDLE; inline;
  2297. procedure setTRMT; inline;
  2298. procedure setURXDA; inline;
  2299. procedure setURXEN; inline;
  2300. procedure setURXISEL0; inline;
  2301. procedure setURXISEL1; inline;
  2302. procedure setUTXBF; inline;
  2303. procedure setUTXBRK; inline;
  2304. procedure setUTXEN; inline;
  2305. procedure setUTXINV; inline;
  2306. procedure setUTXISEL0; inline;
  2307. procedure setUTXISEL1; inline;
  2308. property ADDEN : TBits_1 read getADDEN write setADDEN;
  2309. property ADDR : TBits_8 read getADDR write setADDR;
  2310. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  2311. property FERR : TBits_1 read getFERR write setFERR;
  2312. property OERR : TBits_1 read getOERR write setOERR;
  2313. property PERR : TBits_1 read getPERR write setPERR;
  2314. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  2315. property TRMT : TBits_1 read getTRMT write setTRMT;
  2316. property URXDA : TBits_1 read getURXDA write setURXDA;
  2317. property URXEN : TBits_1 read getURXEN write setURXEN;
  2318. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  2319. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  2320. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  2321. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  2322. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  2323. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  2324. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  2325. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  2326. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  2327. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  2328. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  2329. property w : TBits_32 read getw write setw;
  2330. end;
  2331. type
  2332. TUART1Registers = record
  2333. U1MODEbits : TUART1_U1MODE;
  2334. U1MODE : longWord;
  2335. U1MODECLR : longWord;
  2336. U1MODESET : longWord;
  2337. U1MODEINV : longWord;
  2338. U1STAbits : TUART1_U1STA;
  2339. U1STA : longWord;
  2340. U1STACLR : longWord;
  2341. U1STASET : longWord;
  2342. U1STAINV : longWord;
  2343. U1TXREG : longWord;
  2344. U1RXREG : longWord;
  2345. U1BRG : longWord;
  2346. U1BRGCLR : longWord;
  2347. U1BRGSET : longWord;
  2348. U1BRGINV : longWord;
  2349. end;
  2350. TUART2_U2MODE = record
  2351. private
  2352. function getABAUD : TBits_1; inline;
  2353. function getBRGH : TBits_1; inline;
  2354. function getIREN : TBits_1; inline;
  2355. function getLPBACK : TBits_1; inline;
  2356. function getON : TBits_1; inline;
  2357. function getPDSEL : TBits_2; inline;
  2358. function getPDSEL0 : TBits_1; inline;
  2359. function getPDSEL1 : TBits_1; inline;
  2360. function getRTSMD : TBits_1; inline;
  2361. function getRXINV : TBits_1; inline;
  2362. function getSIDL : TBits_1; inline;
  2363. function getSTSEL : TBits_1; inline;
  2364. function getUARTEN : TBits_1; inline;
  2365. function getUEN : TBits_2; inline;
  2366. function getUEN0 : TBits_1; inline;
  2367. function getUEN1 : TBits_1; inline;
  2368. function getUSIDL : TBits_1; inline;
  2369. function getWAKE : TBits_1; inline;
  2370. function getw : TBits_32; inline;
  2371. procedure setABAUD(thebits : TBits_1); inline;
  2372. procedure setBRGH(thebits : TBits_1); inline;
  2373. procedure setIREN(thebits : TBits_1); inline;
  2374. procedure setLPBACK(thebits : TBits_1); inline;
  2375. procedure setON(thebits : TBits_1); inline;
  2376. procedure setPDSEL(thebits : TBits_2); inline;
  2377. procedure setPDSEL0(thebits : TBits_1); inline;
  2378. procedure setPDSEL1(thebits : TBits_1); inline;
  2379. procedure setRTSMD(thebits : TBits_1); inline;
  2380. procedure setRXINV(thebits : TBits_1); inline;
  2381. procedure setSIDL(thebits : TBits_1); inline;
  2382. procedure setSTSEL(thebits : TBits_1); inline;
  2383. procedure setUARTEN(thebits : TBits_1); inline;
  2384. procedure setUEN(thebits : TBits_2); inline;
  2385. procedure setUEN0(thebits : TBits_1); inline;
  2386. procedure setUEN1(thebits : TBits_1); inline;
  2387. procedure setUSIDL(thebits : TBits_1); inline;
  2388. procedure setWAKE(thebits : TBits_1); inline;
  2389. procedure setw(thebits : TBits_32); inline;
  2390. public
  2391. procedure clearABAUD; inline;
  2392. procedure clearBRGH; inline;
  2393. procedure clearIREN; inline;
  2394. procedure clearLPBACK; inline;
  2395. procedure clearON; inline;
  2396. procedure clearPDSEL0; inline;
  2397. procedure clearPDSEL1; inline;
  2398. procedure clearRTSMD; inline;
  2399. procedure clearRXINV; inline;
  2400. procedure clearSIDL; inline;
  2401. procedure clearSTSEL; inline;
  2402. procedure clearUARTEN; inline;
  2403. procedure clearUEN0; inline;
  2404. procedure clearUEN1; inline;
  2405. procedure clearUSIDL; inline;
  2406. procedure clearWAKE; inline;
  2407. procedure setABAUD; inline;
  2408. procedure setBRGH; inline;
  2409. procedure setIREN; inline;
  2410. procedure setLPBACK; inline;
  2411. procedure setON; inline;
  2412. procedure setPDSEL0; inline;
  2413. procedure setPDSEL1; inline;
  2414. procedure setRTSMD; inline;
  2415. procedure setRXINV; inline;
  2416. procedure setSIDL; inline;
  2417. procedure setSTSEL; inline;
  2418. procedure setUARTEN; inline;
  2419. procedure setUEN0; inline;
  2420. procedure setUEN1; inline;
  2421. procedure setUSIDL; inline;
  2422. procedure setWAKE; inline;
  2423. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2424. property BRGH : TBits_1 read getBRGH write setBRGH;
  2425. property IREN : TBits_1 read getIREN write setIREN;
  2426. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2427. property ON : TBits_1 read getON write setON;
  2428. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2429. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2430. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2431. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2432. property RXINV : TBits_1 read getRXINV write setRXINV;
  2433. property SIDL : TBits_1 read getSIDL write setSIDL;
  2434. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2435. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2436. property UEN : TBits_2 read getUEN write setUEN;
  2437. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2438. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2439. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2440. property WAKE : TBits_1 read getWAKE write setWAKE;
  2441. property w : TBits_32 read getw write setw;
  2442. end;
  2443. TUART2_U2STA = record
  2444. private
  2445. function getADDEN : TBits_1; inline;
  2446. function getADDR : TBits_8; inline;
  2447. function getADM_EN : TBits_1; inline;
  2448. function getFERR : TBits_1; inline;
  2449. function getOERR : TBits_1; inline;
  2450. function getPERR : TBits_1; inline;
  2451. function getRIDLE : TBits_1; inline;
  2452. function getTRMT : TBits_1; inline;
  2453. function getURXDA : TBits_1; inline;
  2454. function getURXEN : TBits_1; inline;
  2455. function getURXISEL : TBits_2; inline;
  2456. function getURXISEL0 : TBits_1; inline;
  2457. function getURXISEL1 : TBits_1; inline;
  2458. function getUTXBF : TBits_1; inline;
  2459. function getUTXBRK : TBits_1; inline;
  2460. function getUTXEN : TBits_1; inline;
  2461. function getUTXINV : TBits_1; inline;
  2462. function getUTXISEL : TBits_2; inline;
  2463. function getUTXISEL0 : TBits_1; inline;
  2464. function getUTXISEL1 : TBits_1; inline;
  2465. function getUTXSEL : TBits_2; inline;
  2466. function getw : TBits_32; inline;
  2467. procedure setADDEN(thebits : TBits_1); inline;
  2468. procedure setADDR(thebits : TBits_8); inline;
  2469. procedure setADM_EN(thebits : TBits_1); inline;
  2470. procedure setFERR(thebits : TBits_1); inline;
  2471. procedure setOERR(thebits : TBits_1); inline;
  2472. procedure setPERR(thebits : TBits_1); inline;
  2473. procedure setRIDLE(thebits : TBits_1); inline;
  2474. procedure setTRMT(thebits : TBits_1); inline;
  2475. procedure setURXDA(thebits : TBits_1); inline;
  2476. procedure setURXEN(thebits : TBits_1); inline;
  2477. procedure setURXISEL(thebits : TBits_2); inline;
  2478. procedure setURXISEL0(thebits : TBits_1); inline;
  2479. procedure setURXISEL1(thebits : TBits_1); inline;
  2480. procedure setUTXBF(thebits : TBits_1); inline;
  2481. procedure setUTXBRK(thebits : TBits_1); inline;
  2482. procedure setUTXEN(thebits : TBits_1); inline;
  2483. procedure setUTXINV(thebits : TBits_1); inline;
  2484. procedure setUTXISEL(thebits : TBits_2); inline;
  2485. procedure setUTXISEL0(thebits : TBits_1); inline;
  2486. procedure setUTXISEL1(thebits : TBits_1); inline;
  2487. procedure setUTXSEL(thebits : TBits_2); inline;
  2488. procedure setw(thebits : TBits_32); inline;
  2489. public
  2490. procedure clearADDEN; inline;
  2491. procedure clearADM_EN; inline;
  2492. procedure clearFERR; inline;
  2493. procedure clearOERR; inline;
  2494. procedure clearPERR; inline;
  2495. procedure clearRIDLE; inline;
  2496. procedure clearTRMT; inline;
  2497. procedure clearURXDA; inline;
  2498. procedure clearURXEN; inline;
  2499. procedure clearURXISEL0; inline;
  2500. procedure clearURXISEL1; inline;
  2501. procedure clearUTXBF; inline;
  2502. procedure clearUTXBRK; inline;
  2503. procedure clearUTXEN; inline;
  2504. procedure clearUTXINV; inline;
  2505. procedure clearUTXISEL0; inline;
  2506. procedure clearUTXISEL1; inline;
  2507. procedure setADDEN; inline;
  2508. procedure setADM_EN; inline;
  2509. procedure setFERR; inline;
  2510. procedure setOERR; inline;
  2511. procedure setPERR; inline;
  2512. procedure setRIDLE; inline;
  2513. procedure setTRMT; inline;
  2514. procedure setURXDA; inline;
  2515. procedure setURXEN; inline;
  2516. procedure setURXISEL0; inline;
  2517. procedure setURXISEL1; inline;
  2518. procedure setUTXBF; inline;
  2519. procedure setUTXBRK; inline;
  2520. procedure setUTXEN; inline;
  2521. procedure setUTXINV; inline;
  2522. procedure setUTXISEL0; inline;
  2523. procedure setUTXISEL1; inline;
  2524. property ADDEN : TBits_1 read getADDEN write setADDEN;
  2525. property ADDR : TBits_8 read getADDR write setADDR;
  2526. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  2527. property FERR : TBits_1 read getFERR write setFERR;
  2528. property OERR : TBits_1 read getOERR write setOERR;
  2529. property PERR : TBits_1 read getPERR write setPERR;
  2530. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  2531. property TRMT : TBits_1 read getTRMT write setTRMT;
  2532. property URXDA : TBits_1 read getURXDA write setURXDA;
  2533. property URXEN : TBits_1 read getURXEN write setURXEN;
  2534. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  2535. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  2536. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  2537. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  2538. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  2539. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  2540. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  2541. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  2542. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  2543. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  2544. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  2545. property w : TBits_32 read getw write setw;
  2546. end;
  2547. type
  2548. TUART2Registers = record
  2549. U2MODEbits : TUART2_U2MODE;
  2550. U2MODE : longWord;
  2551. U2MODECLR : longWord;
  2552. U2MODESET : longWord;
  2553. U2MODEINV : longWord;
  2554. U2STAbits : TUART2_U2STA;
  2555. U2STA : longWord;
  2556. U2STACLR : longWord;
  2557. U2STASET : longWord;
  2558. U2STAINV : longWord;
  2559. U2TXREG : longWord;
  2560. U2RXREG : longWord;
  2561. U2BRG : longWord;
  2562. U2BRGCLR : longWord;
  2563. U2BRGSET : longWord;
  2564. U2BRGINV : longWord;
  2565. end;
  2566. TPMP_PMCON = record
  2567. private
  2568. function getADRMUX : TBits_2; inline;
  2569. function getADRMUX0 : TBits_1; inline;
  2570. function getADRMUX1 : TBits_1; inline;
  2571. function getALP : TBits_1; inline;
  2572. function getCS1P : TBits_1; inline;
  2573. function getCS2P : TBits_1; inline;
  2574. function getCSF : TBits_2; inline;
  2575. function getCSF0 : TBits_1; inline;
  2576. function getCSF1 : TBits_1; inline;
  2577. function getON : TBits_1; inline;
  2578. function getPMPEN : TBits_1; inline;
  2579. function getPMPTTL : TBits_1; inline;
  2580. function getPSIDL : TBits_1; inline;
  2581. function getPTRDEN : TBits_1; inline;
  2582. function getPTWREN : TBits_1; inline;
  2583. function getRDSP : TBits_1; inline;
  2584. function getSIDL : TBits_1; inline;
  2585. function getWRSP : TBits_1; inline;
  2586. function getw : TBits_32; inline;
  2587. procedure setADRMUX(thebits : TBits_2); inline;
  2588. procedure setADRMUX0(thebits : TBits_1); inline;
  2589. procedure setADRMUX1(thebits : TBits_1); inline;
  2590. procedure setALP(thebits : TBits_1); inline;
  2591. procedure setCS1P(thebits : TBits_1); inline;
  2592. procedure setCS2P(thebits : TBits_1); inline;
  2593. procedure setCSF(thebits : TBits_2); inline;
  2594. procedure setCSF0(thebits : TBits_1); inline;
  2595. procedure setCSF1(thebits : TBits_1); inline;
  2596. procedure setON(thebits : TBits_1); inline;
  2597. procedure setPMPEN(thebits : TBits_1); inline;
  2598. procedure setPMPTTL(thebits : TBits_1); inline;
  2599. procedure setPSIDL(thebits : TBits_1); inline;
  2600. procedure setPTRDEN(thebits : TBits_1); inline;
  2601. procedure setPTWREN(thebits : TBits_1); inline;
  2602. procedure setRDSP(thebits : TBits_1); inline;
  2603. procedure setSIDL(thebits : TBits_1); inline;
  2604. procedure setWRSP(thebits : TBits_1); inline;
  2605. procedure setw(thebits : TBits_32); inline;
  2606. public
  2607. procedure clearADRMUX0; inline;
  2608. procedure clearADRMUX1; inline;
  2609. procedure clearALP; inline;
  2610. procedure clearCS1P; inline;
  2611. procedure clearCS2P; inline;
  2612. procedure clearCSF0; inline;
  2613. procedure clearCSF1; inline;
  2614. procedure clearON; inline;
  2615. procedure clearPMPEN; inline;
  2616. procedure clearPMPTTL; inline;
  2617. procedure clearPSIDL; inline;
  2618. procedure clearPTRDEN; inline;
  2619. procedure clearPTWREN; inline;
  2620. procedure clearRDSP; inline;
  2621. procedure clearSIDL; inline;
  2622. procedure clearWRSP; inline;
  2623. procedure setADRMUX0; inline;
  2624. procedure setADRMUX1; inline;
  2625. procedure setALP; inline;
  2626. procedure setCS1P; inline;
  2627. procedure setCS2P; inline;
  2628. procedure setCSF0; inline;
  2629. procedure setCSF1; inline;
  2630. procedure setON; inline;
  2631. procedure setPMPEN; inline;
  2632. procedure setPMPTTL; inline;
  2633. procedure setPSIDL; inline;
  2634. procedure setPTRDEN; inline;
  2635. procedure setPTWREN; inline;
  2636. procedure setRDSP; inline;
  2637. procedure setSIDL; inline;
  2638. procedure setWRSP; inline;
  2639. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  2640. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  2641. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  2642. property ALP : TBits_1 read getALP write setALP;
  2643. property CS1P : TBits_1 read getCS1P write setCS1P;
  2644. property CS2P : TBits_1 read getCS2P write setCS2P;
  2645. property CSF : TBits_2 read getCSF write setCSF;
  2646. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  2647. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  2648. property ON : TBits_1 read getON write setON;
  2649. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  2650. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  2651. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  2652. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  2653. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  2654. property RDSP : TBits_1 read getRDSP write setRDSP;
  2655. property SIDL : TBits_1 read getSIDL write setSIDL;
  2656. property WRSP : TBits_1 read getWRSP write setWRSP;
  2657. property w : TBits_32 read getw write setw;
  2658. end;
  2659. TPMP_PMMODE = record
  2660. private
  2661. function getBUSY : TBits_1; inline;
  2662. function getINCM : TBits_2; inline;
  2663. function getINCM0 : TBits_1; inline;
  2664. function getINCM1 : TBits_1; inline;
  2665. function getIRQM : TBits_2; inline;
  2666. function getIRQM0 : TBits_1; inline;
  2667. function getIRQM1 : TBits_1; inline;
  2668. function getMODE : TBits_2; inline;
  2669. function getMODE0 : TBits_1; inline;
  2670. function getMODE1 : TBits_1; inline;
  2671. function getMODE16 : TBits_1; inline;
  2672. function getWAITB : TBits_2; inline;
  2673. function getWAITB0 : TBits_1; inline;
  2674. function getWAITB1 : TBits_1; inline;
  2675. function getWAITE : TBits_2; inline;
  2676. function getWAITE0 : TBits_1; inline;
  2677. function getWAITE1 : TBits_1; inline;
  2678. function getWAITM : TBits_4; inline;
  2679. function getWAITM0 : TBits_1; inline;
  2680. function getWAITM1 : TBits_1; inline;
  2681. function getWAITM2 : TBits_1; inline;
  2682. function getWAITM3 : TBits_1; inline;
  2683. function getw : TBits_32; inline;
  2684. procedure setBUSY(thebits : TBits_1); inline;
  2685. procedure setINCM(thebits : TBits_2); inline;
  2686. procedure setINCM0(thebits : TBits_1); inline;
  2687. procedure setINCM1(thebits : TBits_1); inline;
  2688. procedure setIRQM(thebits : TBits_2); inline;
  2689. procedure setIRQM0(thebits : TBits_1); inline;
  2690. procedure setIRQM1(thebits : TBits_1); inline;
  2691. procedure setMODE(thebits : TBits_2); inline;
  2692. procedure setMODE0(thebits : TBits_1); inline;
  2693. procedure setMODE1(thebits : TBits_1); inline;
  2694. procedure setMODE16(thebits : TBits_1); inline;
  2695. procedure setWAITB(thebits : TBits_2); inline;
  2696. procedure setWAITB0(thebits : TBits_1); inline;
  2697. procedure setWAITB1(thebits : TBits_1); inline;
  2698. procedure setWAITE(thebits : TBits_2); inline;
  2699. procedure setWAITE0(thebits : TBits_1); inline;
  2700. procedure setWAITE1(thebits : TBits_1); inline;
  2701. procedure setWAITM(thebits : TBits_4); inline;
  2702. procedure setWAITM0(thebits : TBits_1); inline;
  2703. procedure setWAITM1(thebits : TBits_1); inline;
  2704. procedure setWAITM2(thebits : TBits_1); inline;
  2705. procedure setWAITM3(thebits : TBits_1); inline;
  2706. procedure setw(thebits : TBits_32); inline;
  2707. public
  2708. procedure clearBUSY; inline;
  2709. procedure clearINCM0; inline;
  2710. procedure clearINCM1; inline;
  2711. procedure clearIRQM0; inline;
  2712. procedure clearIRQM1; inline;
  2713. procedure clearMODE0; inline;
  2714. procedure clearMODE16; inline;
  2715. procedure clearMODE1; inline;
  2716. procedure clearWAITB0; inline;
  2717. procedure clearWAITB1; inline;
  2718. procedure clearWAITE0; inline;
  2719. procedure clearWAITE1; inline;
  2720. procedure clearWAITM0; inline;
  2721. procedure clearWAITM1; inline;
  2722. procedure clearWAITM2; inline;
  2723. procedure clearWAITM3; inline;
  2724. procedure setBUSY; inline;
  2725. procedure setINCM0; inline;
  2726. procedure setINCM1; inline;
  2727. procedure setIRQM0; inline;
  2728. procedure setIRQM1; inline;
  2729. procedure setMODE0; inline;
  2730. procedure setMODE16; inline;
  2731. procedure setMODE1; inline;
  2732. procedure setWAITB0; inline;
  2733. procedure setWAITB1; inline;
  2734. procedure setWAITE0; inline;
  2735. procedure setWAITE1; inline;
  2736. procedure setWAITM0; inline;
  2737. procedure setWAITM1; inline;
  2738. procedure setWAITM2; inline;
  2739. procedure setWAITM3; inline;
  2740. property BUSY : TBits_1 read getBUSY write setBUSY;
  2741. property INCM : TBits_2 read getINCM write setINCM;
  2742. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  2743. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  2744. property IRQM : TBits_2 read getIRQM write setIRQM;
  2745. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  2746. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  2747. property MODE : TBits_2 read getMODE write setMODE;
  2748. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  2749. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  2750. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2751. property WAITB : TBits_2 read getWAITB write setWAITB;
  2752. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  2753. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  2754. property WAITE : TBits_2 read getWAITE write setWAITE;
  2755. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  2756. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  2757. property WAITM : TBits_4 read getWAITM write setWAITM;
  2758. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  2759. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  2760. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  2761. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  2762. property w : TBits_32 read getw write setw;
  2763. end;
  2764. TPMP_PMADDR = record
  2765. private
  2766. function getADDR : TBits_14; inline;
  2767. function getCS : TBits_2; inline;
  2768. function getCS1 : TBits_1; inline;
  2769. function getCS2 : TBits_1; inline;
  2770. function getPADDR : TBits_14; inline;
  2771. function getw : TBits_32; inline;
  2772. procedure setADDR(thebits : TBits_14); inline;
  2773. procedure setCS(thebits : TBits_2); inline;
  2774. procedure setCS1(thebits : TBits_1); inline;
  2775. procedure setCS2(thebits : TBits_1); inline;
  2776. procedure setPADDR(thebits : TBits_14); inline;
  2777. procedure setw(thebits : TBits_32); inline;
  2778. public
  2779. procedure clearCS1; inline;
  2780. procedure clearCS2; inline;
  2781. procedure setCS1; inline;
  2782. procedure setCS2; inline;
  2783. property ADDR : TBits_14 read getADDR write setADDR;
  2784. property CS : TBits_2 read getCS write setCS;
  2785. property CS1 : TBits_1 read getCS1 write setCS1;
  2786. property CS2 : TBits_1 read getCS2 write setCS2;
  2787. property PADDR : TBits_14 read getPADDR write setPADDR;
  2788. property w : TBits_32 read getw write setw;
  2789. end;
  2790. TPMP_PMDOUT = record
  2791. private
  2792. function getDATAOUT : TBits_32; inline;
  2793. function getw : TBits_32; inline;
  2794. procedure setDATAOUT(thebits : TBits_32); inline;
  2795. procedure setw(thebits : TBits_32); inline;
  2796. public
  2797. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  2798. property w : TBits_32 read getw write setw;
  2799. end;
  2800. TPMP_PMDIN = record
  2801. private
  2802. function getDATAIN : TBits_32; inline;
  2803. function getw : TBits_32; inline;
  2804. procedure setDATAIN(thebits : TBits_32); inline;
  2805. procedure setw(thebits : TBits_32); inline;
  2806. public
  2807. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  2808. property w : TBits_32 read getw write setw;
  2809. end;
  2810. TPMP_PMAEN = record
  2811. private
  2812. function getPTEN : TBits_16; inline;
  2813. function getPTEN0 : TBits_1; inline;
  2814. function getPTEN1 : TBits_1; inline;
  2815. function getPTEN10 : TBits_1; inline;
  2816. function getPTEN11 : TBits_1; inline;
  2817. function getPTEN12 : TBits_1; inline;
  2818. function getPTEN13 : TBits_1; inline;
  2819. function getPTEN14 : TBits_1; inline;
  2820. function getPTEN15 : TBits_1; inline;
  2821. function getPTEN2 : TBits_1; inline;
  2822. function getPTEN3 : TBits_1; inline;
  2823. function getPTEN4 : TBits_1; inline;
  2824. function getPTEN5 : TBits_1; inline;
  2825. function getPTEN6 : TBits_1; inline;
  2826. function getPTEN7 : TBits_1; inline;
  2827. function getPTEN8 : TBits_1; inline;
  2828. function getPTEN9 : TBits_1; inline;
  2829. function getw : TBits_32; inline;
  2830. procedure setPTEN(thebits : TBits_16); inline;
  2831. procedure setPTEN0(thebits : TBits_1); inline;
  2832. procedure setPTEN1(thebits : TBits_1); inline;
  2833. procedure setPTEN10(thebits : TBits_1); inline;
  2834. procedure setPTEN11(thebits : TBits_1); inline;
  2835. procedure setPTEN12(thebits : TBits_1); inline;
  2836. procedure setPTEN13(thebits : TBits_1); inline;
  2837. procedure setPTEN14(thebits : TBits_1); inline;
  2838. procedure setPTEN15(thebits : TBits_1); inline;
  2839. procedure setPTEN2(thebits : TBits_1); inline;
  2840. procedure setPTEN3(thebits : TBits_1); inline;
  2841. procedure setPTEN4(thebits : TBits_1); inline;
  2842. procedure setPTEN5(thebits : TBits_1); inline;
  2843. procedure setPTEN6(thebits : TBits_1); inline;
  2844. procedure setPTEN7(thebits : TBits_1); inline;
  2845. procedure setPTEN8(thebits : TBits_1); inline;
  2846. procedure setPTEN9(thebits : TBits_1); inline;
  2847. procedure setw(thebits : TBits_32); inline;
  2848. public
  2849. procedure clearPTEN0; inline;
  2850. procedure clearPTEN10; inline;
  2851. procedure clearPTEN11; inline;
  2852. procedure clearPTEN12; inline;
  2853. procedure clearPTEN13; inline;
  2854. procedure clearPTEN14; inline;
  2855. procedure clearPTEN15; inline;
  2856. procedure clearPTEN1; inline;
  2857. procedure clearPTEN2; inline;
  2858. procedure clearPTEN3; inline;
  2859. procedure clearPTEN4; inline;
  2860. procedure clearPTEN5; inline;
  2861. procedure clearPTEN6; inline;
  2862. procedure clearPTEN7; inline;
  2863. procedure clearPTEN8; inline;
  2864. procedure clearPTEN9; inline;
  2865. procedure setPTEN0; inline;
  2866. procedure setPTEN10; inline;
  2867. procedure setPTEN11; inline;
  2868. procedure setPTEN12; inline;
  2869. procedure setPTEN13; inline;
  2870. procedure setPTEN14; inline;
  2871. procedure setPTEN15; inline;
  2872. procedure setPTEN1; inline;
  2873. procedure setPTEN2; inline;
  2874. procedure setPTEN3; inline;
  2875. procedure setPTEN4; inline;
  2876. procedure setPTEN5; inline;
  2877. procedure setPTEN6; inline;
  2878. procedure setPTEN7; inline;
  2879. procedure setPTEN8; inline;
  2880. procedure setPTEN9; inline;
  2881. property PTEN : TBits_16 read getPTEN write setPTEN;
  2882. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  2883. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  2884. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  2885. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  2886. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  2887. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  2888. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  2889. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  2890. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  2891. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  2892. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  2893. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  2894. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  2895. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  2896. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  2897. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  2898. property w : TBits_32 read getw write setw;
  2899. end;
  2900. TPMP_PMSTAT = record
  2901. private
  2902. function getIB0F : TBits_1; inline;
  2903. function getIB1F : TBits_1; inline;
  2904. function getIB2F : TBits_1; inline;
  2905. function getIB3F : TBits_1; inline;
  2906. function getIBF : TBits_1; inline;
  2907. function getIBOV : TBits_1; inline;
  2908. function getOB0E : TBits_1; inline;
  2909. function getOB1E : TBits_1; inline;
  2910. function getOB2E : TBits_1; inline;
  2911. function getOB3E : TBits_1; inline;
  2912. function getOBE : TBits_1; inline;
  2913. function getOBUF : TBits_1; inline;
  2914. function getw : TBits_32; inline;
  2915. procedure setIB0F(thebits : TBits_1); inline;
  2916. procedure setIB1F(thebits : TBits_1); inline;
  2917. procedure setIB2F(thebits : TBits_1); inline;
  2918. procedure setIB3F(thebits : TBits_1); inline;
  2919. procedure setIBF(thebits : TBits_1); inline;
  2920. procedure setIBOV(thebits : TBits_1); inline;
  2921. procedure setOB0E(thebits : TBits_1); inline;
  2922. procedure setOB1E(thebits : TBits_1); inline;
  2923. procedure setOB2E(thebits : TBits_1); inline;
  2924. procedure setOB3E(thebits : TBits_1); inline;
  2925. procedure setOBE(thebits : TBits_1); inline;
  2926. procedure setOBUF(thebits : TBits_1); inline;
  2927. procedure setw(thebits : TBits_32); inline;
  2928. public
  2929. procedure clearIB0F; inline;
  2930. procedure clearIB1F; inline;
  2931. procedure clearIB2F; inline;
  2932. procedure clearIB3F; inline;
  2933. procedure clearIBF; inline;
  2934. procedure clearIBOV; inline;
  2935. procedure clearOB0E; inline;
  2936. procedure clearOB1E; inline;
  2937. procedure clearOB2E; inline;
  2938. procedure clearOB3E; inline;
  2939. procedure clearOBE; inline;
  2940. procedure clearOBUF; inline;
  2941. procedure setIB0F; inline;
  2942. procedure setIB1F; inline;
  2943. procedure setIB2F; inline;
  2944. procedure setIB3F; inline;
  2945. procedure setIBF; inline;
  2946. procedure setIBOV; inline;
  2947. procedure setOB0E; inline;
  2948. procedure setOB1E; inline;
  2949. procedure setOB2E; inline;
  2950. procedure setOB3E; inline;
  2951. procedure setOBE; inline;
  2952. procedure setOBUF; inline;
  2953. property IB0F : TBits_1 read getIB0F write setIB0F;
  2954. property IB1F : TBits_1 read getIB1F write setIB1F;
  2955. property IB2F : TBits_1 read getIB2F write setIB2F;
  2956. property IB3F : TBits_1 read getIB3F write setIB3F;
  2957. property IBF : TBits_1 read getIBF write setIBF;
  2958. property IBOV : TBits_1 read getIBOV write setIBOV;
  2959. property OB0E : TBits_1 read getOB0E write setOB0E;
  2960. property OB1E : TBits_1 read getOB1E write setOB1E;
  2961. property OB2E : TBits_1 read getOB2E write setOB2E;
  2962. property OB3E : TBits_1 read getOB3E write setOB3E;
  2963. property OBE : TBits_1 read getOBE write setOBE;
  2964. property OBUF : TBits_1 read getOBUF write setOBUF;
  2965. property w : TBits_32 read getw write setw;
  2966. end;
  2967. type
  2968. TPMPRegisters = record
  2969. PMCONbits : TPMP_PMCON;
  2970. PMCON : longWord;
  2971. PMCONCLR : longWord;
  2972. PMCONSET : longWord;
  2973. PMCONINV : longWord;
  2974. PMMODEbits : TPMP_PMMODE;
  2975. PMMODE : longWord;
  2976. PMMODECLR : longWord;
  2977. PMMODESET : longWord;
  2978. PMMODEINV : longWord;
  2979. PMADDRbits : TPMP_PMADDR;
  2980. PMADDR : longWord;
  2981. PMADDRCLR : longWord;
  2982. PMADDRSET : longWord;
  2983. PMADDRINV : longWord;
  2984. PMDOUTbits : TPMP_PMDOUT;
  2985. PMDOUT : longWord;
  2986. PMDOUTCLR : longWord;
  2987. PMDOUTSET : longWord;
  2988. PMDOUTINV : longWord;
  2989. PMDINbits : TPMP_PMDIN;
  2990. PMDIN : longWord;
  2991. PMDINCLR : longWord;
  2992. PMDINSET : longWord;
  2993. PMDININV : longWord;
  2994. PMAENbits : TPMP_PMAEN;
  2995. PMAEN : longWord;
  2996. PMAENCLR : longWord;
  2997. PMAENSET : longWord;
  2998. PMAENINV : longWord;
  2999. PMSTATbits : TPMP_PMSTAT;
  3000. PMSTAT : longWord;
  3001. PMSTATCLR : longWord;
  3002. PMSTATSET : longWord;
  3003. PMSTATINV : longWord;
  3004. end;
  3005. TADC10_AD1CON1 = record
  3006. private
  3007. function getADON : TBits_1; inline;
  3008. function getADSIDL : TBits_1; inline;
  3009. function getASAM : TBits_1; inline;
  3010. function getCLRASAM : TBits_1; inline;
  3011. function getDONE : TBits_1; inline;
  3012. function getFORM : TBits_3; inline;
  3013. function getFORM0 : TBits_1; inline;
  3014. function getFORM1 : TBits_1; inline;
  3015. function getFORM2 : TBits_1; inline;
  3016. function getON : TBits_1; inline;
  3017. function getSAMP : TBits_1; inline;
  3018. function getSIDL : TBits_1; inline;
  3019. function getSSRC : TBits_3; inline;
  3020. function getSSRC0 : TBits_1; inline;
  3021. function getSSRC1 : TBits_1; inline;
  3022. function getSSRC2 : TBits_1; inline;
  3023. function getw : TBits_32; inline;
  3024. procedure setADON(thebits : TBits_1); inline;
  3025. procedure setADSIDL(thebits : TBits_1); inline;
  3026. procedure setASAM(thebits : TBits_1); inline;
  3027. procedure setCLRASAM(thebits : TBits_1); inline;
  3028. procedure setDONE(thebits : TBits_1); inline;
  3029. procedure setFORM(thebits : TBits_3); inline;
  3030. procedure setFORM0(thebits : TBits_1); inline;
  3031. procedure setFORM1(thebits : TBits_1); inline;
  3032. procedure setFORM2(thebits : TBits_1); inline;
  3033. procedure setON(thebits : TBits_1); inline;
  3034. procedure setSAMP(thebits : TBits_1); inline;
  3035. procedure setSIDL(thebits : TBits_1); inline;
  3036. procedure setSSRC(thebits : TBits_3); inline;
  3037. procedure setSSRC0(thebits : TBits_1); inline;
  3038. procedure setSSRC1(thebits : TBits_1); inline;
  3039. procedure setSSRC2(thebits : TBits_1); inline;
  3040. procedure setw(thebits : TBits_32); inline;
  3041. public
  3042. procedure clearADON; inline;
  3043. procedure clearADSIDL; inline;
  3044. procedure clearASAM; inline;
  3045. procedure clearCLRASAM; inline;
  3046. procedure clearDONE; inline;
  3047. procedure clearFORM0; inline;
  3048. procedure clearFORM1; inline;
  3049. procedure clearFORM2; inline;
  3050. procedure clearON; inline;
  3051. procedure clearSAMP; inline;
  3052. procedure clearSIDL; inline;
  3053. procedure clearSSRC0; inline;
  3054. procedure clearSSRC1; inline;
  3055. procedure clearSSRC2; inline;
  3056. procedure setADON; inline;
  3057. procedure setADSIDL; inline;
  3058. procedure setASAM; inline;
  3059. procedure setCLRASAM; inline;
  3060. procedure setDONE; inline;
  3061. procedure setFORM0; inline;
  3062. procedure setFORM1; inline;
  3063. procedure setFORM2; inline;
  3064. procedure setON; inline;
  3065. procedure setSAMP; inline;
  3066. procedure setSIDL; inline;
  3067. procedure setSSRC0; inline;
  3068. procedure setSSRC1; inline;
  3069. procedure setSSRC2; inline;
  3070. property ADON : TBits_1 read getADON write setADON;
  3071. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  3072. property ASAM : TBits_1 read getASAM write setASAM;
  3073. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  3074. property DONE : TBits_1 read getDONE write setDONE;
  3075. property FORM : TBits_3 read getFORM write setFORM;
  3076. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  3077. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  3078. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  3079. property ON : TBits_1 read getON write setON;
  3080. property SAMP : TBits_1 read getSAMP write setSAMP;
  3081. property SIDL : TBits_1 read getSIDL write setSIDL;
  3082. property SSRC : TBits_3 read getSSRC write setSSRC;
  3083. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  3084. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  3085. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  3086. property w : TBits_32 read getw write setw;
  3087. end;
  3088. TADC10_AD1CON2 = record
  3089. private
  3090. function getALTS : TBits_1; inline;
  3091. function getBUFM : TBits_1; inline;
  3092. function getBUFS : TBits_1; inline;
  3093. function getCSCNA : TBits_1; inline;
  3094. function getOFFCAL : TBits_1; inline;
  3095. function getSMPI : TBits_4; inline;
  3096. function getSMPI0 : TBits_1; inline;
  3097. function getSMPI1 : TBits_1; inline;
  3098. function getSMPI2 : TBits_1; inline;
  3099. function getSMPI3 : TBits_1; inline;
  3100. function getVCFG : TBits_3; inline;
  3101. function getVCFG0 : TBits_1; inline;
  3102. function getVCFG1 : TBits_1; inline;
  3103. function getVCFG2 : TBits_1; inline;
  3104. function getw : TBits_32; inline;
  3105. procedure setALTS(thebits : TBits_1); inline;
  3106. procedure setBUFM(thebits : TBits_1); inline;
  3107. procedure setBUFS(thebits : TBits_1); inline;
  3108. procedure setCSCNA(thebits : TBits_1); inline;
  3109. procedure setOFFCAL(thebits : TBits_1); inline;
  3110. procedure setSMPI(thebits : TBits_4); inline;
  3111. procedure setSMPI0(thebits : TBits_1); inline;
  3112. procedure setSMPI1(thebits : TBits_1); inline;
  3113. procedure setSMPI2(thebits : TBits_1); inline;
  3114. procedure setSMPI3(thebits : TBits_1); inline;
  3115. procedure setVCFG(thebits : TBits_3); inline;
  3116. procedure setVCFG0(thebits : TBits_1); inline;
  3117. procedure setVCFG1(thebits : TBits_1); inline;
  3118. procedure setVCFG2(thebits : TBits_1); inline;
  3119. procedure setw(thebits : TBits_32); inline;
  3120. public
  3121. procedure clearALTS; inline;
  3122. procedure clearBUFM; inline;
  3123. procedure clearBUFS; inline;
  3124. procedure clearCSCNA; inline;
  3125. procedure clearOFFCAL; inline;
  3126. procedure clearSMPI0; inline;
  3127. procedure clearSMPI1; inline;
  3128. procedure clearSMPI2; inline;
  3129. procedure clearSMPI3; inline;
  3130. procedure clearVCFG0; inline;
  3131. procedure clearVCFG1; inline;
  3132. procedure clearVCFG2; inline;
  3133. procedure setALTS; inline;
  3134. procedure setBUFM; inline;
  3135. procedure setBUFS; inline;
  3136. procedure setCSCNA; inline;
  3137. procedure setOFFCAL; inline;
  3138. procedure setSMPI0; inline;
  3139. procedure setSMPI1; inline;
  3140. procedure setSMPI2; inline;
  3141. procedure setSMPI3; inline;
  3142. procedure setVCFG0; inline;
  3143. procedure setVCFG1; inline;
  3144. procedure setVCFG2; inline;
  3145. property ALTS : TBits_1 read getALTS write setALTS;
  3146. property BUFM : TBits_1 read getBUFM write setBUFM;
  3147. property BUFS : TBits_1 read getBUFS write setBUFS;
  3148. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  3149. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  3150. property SMPI : TBits_4 read getSMPI write setSMPI;
  3151. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  3152. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  3153. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  3154. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  3155. property VCFG : TBits_3 read getVCFG write setVCFG;
  3156. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  3157. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  3158. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  3159. property w : TBits_32 read getw write setw;
  3160. end;
  3161. TADC10_AD1CON3 = record
  3162. private
  3163. function getADCS : TBits_8; inline;
  3164. function getADCS0 : TBits_1; inline;
  3165. function getADCS1 : TBits_1; inline;
  3166. function getADCS2 : TBits_1; inline;
  3167. function getADCS3 : TBits_1; inline;
  3168. function getADCS4 : TBits_1; inline;
  3169. function getADCS5 : TBits_1; inline;
  3170. function getADCS6 : TBits_1; inline;
  3171. function getADCS7 : TBits_1; inline;
  3172. function getADRC : TBits_1; inline;
  3173. function getSAMC : TBits_5; inline;
  3174. function getSAMC0 : TBits_1; inline;
  3175. function getSAMC1 : TBits_1; inline;
  3176. function getSAMC2 : TBits_1; inline;
  3177. function getSAMC3 : TBits_1; inline;
  3178. function getSAMC4 : TBits_1; inline;
  3179. function getw : TBits_32; inline;
  3180. procedure setADCS(thebits : TBits_8); inline;
  3181. procedure setADCS0(thebits : TBits_1); inline;
  3182. procedure setADCS1(thebits : TBits_1); inline;
  3183. procedure setADCS2(thebits : TBits_1); inline;
  3184. procedure setADCS3(thebits : TBits_1); inline;
  3185. procedure setADCS4(thebits : TBits_1); inline;
  3186. procedure setADCS5(thebits : TBits_1); inline;
  3187. procedure setADCS6(thebits : TBits_1); inline;
  3188. procedure setADCS7(thebits : TBits_1); inline;
  3189. procedure setADRC(thebits : TBits_1); inline;
  3190. procedure setSAMC(thebits : TBits_5); inline;
  3191. procedure setSAMC0(thebits : TBits_1); inline;
  3192. procedure setSAMC1(thebits : TBits_1); inline;
  3193. procedure setSAMC2(thebits : TBits_1); inline;
  3194. procedure setSAMC3(thebits : TBits_1); inline;
  3195. procedure setSAMC4(thebits : TBits_1); inline;
  3196. procedure setw(thebits : TBits_32); inline;
  3197. public
  3198. procedure clearADCS0; inline;
  3199. procedure clearADCS1; inline;
  3200. procedure clearADCS2; inline;
  3201. procedure clearADCS3; inline;
  3202. procedure clearADCS4; inline;
  3203. procedure clearADCS5; inline;
  3204. procedure clearADCS6; inline;
  3205. procedure clearADCS7; inline;
  3206. procedure clearADRC; inline;
  3207. procedure clearSAMC0; inline;
  3208. procedure clearSAMC1; inline;
  3209. procedure clearSAMC2; inline;
  3210. procedure clearSAMC3; inline;
  3211. procedure clearSAMC4; inline;
  3212. procedure setADCS0; inline;
  3213. procedure setADCS1; inline;
  3214. procedure setADCS2; inline;
  3215. procedure setADCS3; inline;
  3216. procedure setADCS4; inline;
  3217. procedure setADCS5; inline;
  3218. procedure setADCS6; inline;
  3219. procedure setADCS7; inline;
  3220. procedure setADRC; inline;
  3221. procedure setSAMC0; inline;
  3222. procedure setSAMC1; inline;
  3223. procedure setSAMC2; inline;
  3224. procedure setSAMC3; inline;
  3225. procedure setSAMC4; inline;
  3226. property ADCS : TBits_8 read getADCS write setADCS;
  3227. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  3228. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  3229. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  3230. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  3231. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  3232. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  3233. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  3234. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  3235. property ADRC : TBits_1 read getADRC write setADRC;
  3236. property SAMC : TBits_5 read getSAMC write setSAMC;
  3237. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  3238. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  3239. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  3240. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  3241. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  3242. property w : TBits_32 read getw write setw;
  3243. end;
  3244. TADC10_AD1CHS = record
  3245. private
  3246. function getCH0NA : TBits_1; inline;
  3247. function getCH0NB : TBits_1; inline;
  3248. function getCH0SA : TBits_4; inline;
  3249. function getCH0SA0 : TBits_1; inline;
  3250. function getCH0SA1 : TBits_1; inline;
  3251. function getCH0SA2 : TBits_1; inline;
  3252. function getCH0SA3 : TBits_1; inline;
  3253. function getCH0SB : TBits_4; inline;
  3254. function getCH0SB0 : TBits_1; inline;
  3255. function getCH0SB1 : TBits_1; inline;
  3256. function getCH0SB2 : TBits_1; inline;
  3257. function getCH0SB3 : TBits_1; inline;
  3258. function getw : TBits_32; inline;
  3259. procedure setCH0NA(thebits : TBits_1); inline;
  3260. procedure setCH0NB(thebits : TBits_1); inline;
  3261. procedure setCH0SA(thebits : TBits_4); inline;
  3262. procedure setCH0SA0(thebits : TBits_1); inline;
  3263. procedure setCH0SA1(thebits : TBits_1); inline;
  3264. procedure setCH0SA2(thebits : TBits_1); inline;
  3265. procedure setCH0SA3(thebits : TBits_1); inline;
  3266. procedure setCH0SB(thebits : TBits_4); inline;
  3267. procedure setCH0SB0(thebits : TBits_1); inline;
  3268. procedure setCH0SB1(thebits : TBits_1); inline;
  3269. procedure setCH0SB2(thebits : TBits_1); inline;
  3270. procedure setCH0SB3(thebits : TBits_1); inline;
  3271. procedure setw(thebits : TBits_32); inline;
  3272. public
  3273. procedure clearCH0NA; inline;
  3274. procedure clearCH0NB; inline;
  3275. procedure clearCH0SA0; inline;
  3276. procedure clearCH0SA1; inline;
  3277. procedure clearCH0SA2; inline;
  3278. procedure clearCH0SA3; inline;
  3279. procedure clearCH0SB0; inline;
  3280. procedure clearCH0SB1; inline;
  3281. procedure clearCH0SB2; inline;
  3282. procedure clearCH0SB3; inline;
  3283. procedure setCH0NA; inline;
  3284. procedure setCH0NB; inline;
  3285. procedure setCH0SA0; inline;
  3286. procedure setCH0SA1; inline;
  3287. procedure setCH0SA2; inline;
  3288. procedure setCH0SA3; inline;
  3289. procedure setCH0SB0; inline;
  3290. procedure setCH0SB1; inline;
  3291. procedure setCH0SB2; inline;
  3292. procedure setCH0SB3; inline;
  3293. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  3294. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  3295. property CH0SA : TBits_4 read getCH0SA write setCH0SA;
  3296. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  3297. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  3298. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  3299. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  3300. property CH0SB : TBits_4 read getCH0SB write setCH0SB;
  3301. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  3302. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  3303. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  3304. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  3305. property w : TBits_32 read getw write setw;
  3306. end;
  3307. TADC10_AD1CSSL = record
  3308. private
  3309. function getCSSL : TBits_16; inline;
  3310. function getCSSL0 : TBits_1; inline;
  3311. function getCSSL1 : TBits_1; inline;
  3312. function getCSSL10 : TBits_1; inline;
  3313. function getCSSL11 : TBits_1; inline;
  3314. function getCSSL12 : TBits_1; inline;
  3315. function getCSSL13 : TBits_1; inline;
  3316. function getCSSL14 : TBits_1; inline;
  3317. function getCSSL15 : TBits_1; inline;
  3318. function getCSSL2 : TBits_1; inline;
  3319. function getCSSL3 : TBits_1; inline;
  3320. function getCSSL4 : TBits_1; inline;
  3321. function getCSSL5 : TBits_1; inline;
  3322. function getCSSL6 : TBits_1; inline;
  3323. function getCSSL7 : TBits_1; inline;
  3324. function getCSSL8 : TBits_1; inline;
  3325. function getCSSL9 : TBits_1; inline;
  3326. function getw : TBits_32; inline;
  3327. procedure setCSSL(thebits : TBits_16); inline;
  3328. procedure setCSSL0(thebits : TBits_1); inline;
  3329. procedure setCSSL1(thebits : TBits_1); inline;
  3330. procedure setCSSL10(thebits : TBits_1); inline;
  3331. procedure setCSSL11(thebits : TBits_1); inline;
  3332. procedure setCSSL12(thebits : TBits_1); inline;
  3333. procedure setCSSL13(thebits : TBits_1); inline;
  3334. procedure setCSSL14(thebits : TBits_1); inline;
  3335. procedure setCSSL15(thebits : TBits_1); inline;
  3336. procedure setCSSL2(thebits : TBits_1); inline;
  3337. procedure setCSSL3(thebits : TBits_1); inline;
  3338. procedure setCSSL4(thebits : TBits_1); inline;
  3339. procedure setCSSL5(thebits : TBits_1); inline;
  3340. procedure setCSSL6(thebits : TBits_1); inline;
  3341. procedure setCSSL7(thebits : TBits_1); inline;
  3342. procedure setCSSL8(thebits : TBits_1); inline;
  3343. procedure setCSSL9(thebits : TBits_1); inline;
  3344. procedure setw(thebits : TBits_32); inline;
  3345. public
  3346. procedure clearCSSL0; inline;
  3347. procedure clearCSSL10; inline;
  3348. procedure clearCSSL11; inline;
  3349. procedure clearCSSL12; inline;
  3350. procedure clearCSSL13; inline;
  3351. procedure clearCSSL14; inline;
  3352. procedure clearCSSL15; inline;
  3353. procedure clearCSSL1; inline;
  3354. procedure clearCSSL2; inline;
  3355. procedure clearCSSL3; inline;
  3356. procedure clearCSSL4; inline;
  3357. procedure clearCSSL5; inline;
  3358. procedure clearCSSL6; inline;
  3359. procedure clearCSSL7; inline;
  3360. procedure clearCSSL8; inline;
  3361. procedure clearCSSL9; inline;
  3362. procedure setCSSL0; inline;
  3363. procedure setCSSL10; inline;
  3364. procedure setCSSL11; inline;
  3365. procedure setCSSL12; inline;
  3366. procedure setCSSL13; inline;
  3367. procedure setCSSL14; inline;
  3368. procedure setCSSL15; inline;
  3369. procedure setCSSL1; inline;
  3370. procedure setCSSL2; inline;
  3371. procedure setCSSL3; inline;
  3372. procedure setCSSL4; inline;
  3373. procedure setCSSL5; inline;
  3374. procedure setCSSL6; inline;
  3375. procedure setCSSL7; inline;
  3376. procedure setCSSL8; inline;
  3377. procedure setCSSL9; inline;
  3378. property CSSL : TBits_16 read getCSSL write setCSSL;
  3379. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  3380. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  3381. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  3382. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  3383. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  3384. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  3385. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  3386. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  3387. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  3388. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  3389. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  3390. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  3391. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  3392. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  3393. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  3394. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  3395. property w : TBits_32 read getw write setw;
  3396. end;
  3397. TADC10_AD1PCFG = record
  3398. private
  3399. function getPCFG : TBits_16; inline;
  3400. function getPCFG0 : TBits_1; inline;
  3401. function getPCFG1 : TBits_1; inline;
  3402. function getPCFG10 : TBits_1; inline;
  3403. function getPCFG11 : TBits_1; inline;
  3404. function getPCFG12 : TBits_1; inline;
  3405. function getPCFG13 : TBits_1; inline;
  3406. function getPCFG14 : TBits_1; inline;
  3407. function getPCFG15 : TBits_1; inline;
  3408. function getPCFG2 : TBits_1; inline;
  3409. function getPCFG3 : TBits_1; inline;
  3410. function getPCFG4 : TBits_1; inline;
  3411. function getPCFG5 : TBits_1; inline;
  3412. function getPCFG6 : TBits_1; inline;
  3413. function getPCFG7 : TBits_1; inline;
  3414. function getPCFG8 : TBits_1; inline;
  3415. function getPCFG9 : TBits_1; inline;
  3416. function getw : TBits_32; inline;
  3417. procedure setPCFG(thebits : TBits_16); inline;
  3418. procedure setPCFG0(thebits : TBits_1); inline;
  3419. procedure setPCFG1(thebits : TBits_1); inline;
  3420. procedure setPCFG10(thebits : TBits_1); inline;
  3421. procedure setPCFG11(thebits : TBits_1); inline;
  3422. procedure setPCFG12(thebits : TBits_1); inline;
  3423. procedure setPCFG13(thebits : TBits_1); inline;
  3424. procedure setPCFG14(thebits : TBits_1); inline;
  3425. procedure setPCFG15(thebits : TBits_1); inline;
  3426. procedure setPCFG2(thebits : TBits_1); inline;
  3427. procedure setPCFG3(thebits : TBits_1); inline;
  3428. procedure setPCFG4(thebits : TBits_1); inline;
  3429. procedure setPCFG5(thebits : TBits_1); inline;
  3430. procedure setPCFG6(thebits : TBits_1); inline;
  3431. procedure setPCFG7(thebits : TBits_1); inline;
  3432. procedure setPCFG8(thebits : TBits_1); inline;
  3433. procedure setPCFG9(thebits : TBits_1); inline;
  3434. procedure setw(thebits : TBits_32); inline;
  3435. public
  3436. procedure clearPCFG0; inline;
  3437. procedure clearPCFG10; inline;
  3438. procedure clearPCFG11; inline;
  3439. procedure clearPCFG12; inline;
  3440. procedure clearPCFG13; inline;
  3441. procedure clearPCFG14; inline;
  3442. procedure clearPCFG15; inline;
  3443. procedure clearPCFG1; inline;
  3444. procedure clearPCFG2; inline;
  3445. procedure clearPCFG3; inline;
  3446. procedure clearPCFG4; inline;
  3447. procedure clearPCFG5; inline;
  3448. procedure clearPCFG6; inline;
  3449. procedure clearPCFG7; inline;
  3450. procedure clearPCFG8; inline;
  3451. procedure clearPCFG9; inline;
  3452. procedure setPCFG0; inline;
  3453. procedure setPCFG10; inline;
  3454. procedure setPCFG11; inline;
  3455. procedure setPCFG12; inline;
  3456. procedure setPCFG13; inline;
  3457. procedure setPCFG14; inline;
  3458. procedure setPCFG15; inline;
  3459. procedure setPCFG1; inline;
  3460. procedure setPCFG2; inline;
  3461. procedure setPCFG3; inline;
  3462. procedure setPCFG4; inline;
  3463. procedure setPCFG5; inline;
  3464. procedure setPCFG6; inline;
  3465. procedure setPCFG7; inline;
  3466. procedure setPCFG8; inline;
  3467. procedure setPCFG9; inline;
  3468. property PCFG : TBits_16 read getPCFG write setPCFG;
  3469. property PCFG0 : TBits_1 read getPCFG0 write setPCFG0;
  3470. property PCFG1 : TBits_1 read getPCFG1 write setPCFG1;
  3471. property PCFG10 : TBits_1 read getPCFG10 write setPCFG10;
  3472. property PCFG11 : TBits_1 read getPCFG11 write setPCFG11;
  3473. property PCFG12 : TBits_1 read getPCFG12 write setPCFG12;
  3474. property PCFG13 : TBits_1 read getPCFG13 write setPCFG13;
  3475. property PCFG14 : TBits_1 read getPCFG14 write setPCFG14;
  3476. property PCFG15 : TBits_1 read getPCFG15 write setPCFG15;
  3477. property PCFG2 : TBits_1 read getPCFG2 write setPCFG2;
  3478. property PCFG3 : TBits_1 read getPCFG3 write setPCFG3;
  3479. property PCFG4 : TBits_1 read getPCFG4 write setPCFG4;
  3480. property PCFG5 : TBits_1 read getPCFG5 write setPCFG5;
  3481. property PCFG6 : TBits_1 read getPCFG6 write setPCFG6;
  3482. property PCFG7 : TBits_1 read getPCFG7 write setPCFG7;
  3483. property PCFG8 : TBits_1 read getPCFG8 write setPCFG8;
  3484. property PCFG9 : TBits_1 read getPCFG9 write setPCFG9;
  3485. property w : TBits_32 read getw write setw;
  3486. end;
  3487. type
  3488. TADC10Registers = record
  3489. AD1CON1bits : TADC10_AD1CON1;
  3490. AD1CON1 : longWord;
  3491. AD1CON1CLR : longWord;
  3492. AD1CON1SET : longWord;
  3493. AD1CON1INV : longWord;
  3494. AD1CON2bits : TADC10_AD1CON2;
  3495. AD1CON2 : longWord;
  3496. AD1CON2CLR : longWord;
  3497. AD1CON2SET : longWord;
  3498. AD1CON2INV : longWord;
  3499. AD1CON3bits : TADC10_AD1CON3;
  3500. AD1CON3 : longWord;
  3501. AD1CON3CLR : longWord;
  3502. AD1CON3SET : longWord;
  3503. AD1CON3INV : longWord;
  3504. AD1CHSbits : TADC10_AD1CHS;
  3505. AD1CHS : longWord;
  3506. AD1CHSCLR : longWord;
  3507. AD1CHSSET : longWord;
  3508. AD1CHSINV : longWord;
  3509. AD1CSSLbits : TADC10_AD1CSSL;
  3510. AD1CSSL : longWord;
  3511. AD1CSSLCLR : longWord;
  3512. AD1CSSLSET : longWord;
  3513. AD1CSSLINV : longWord;
  3514. AD1PCFGbits : TADC10_AD1PCFG;
  3515. AD1PCFG : longWord;
  3516. AD1PCFGCLR : longWord;
  3517. AD1PCFGSET : longWord;
  3518. AD1PCFGINV : longWord;
  3519. ADC1BUF0 : longWord;
  3520. ADC1BUF1 : longWord;
  3521. ADC1BUF2 : longWord;
  3522. ADC1BUF3 : longWord;
  3523. ADC1BUF4 : longWord;
  3524. ADC1BUF5 : longWord;
  3525. ADC1BUF6 : longWord;
  3526. ADC1BUF7 : longWord;
  3527. ADC1BUF8 : longWord;
  3528. ADC1BUF9 : longWord;
  3529. ADC1BUFA : longWord;
  3530. ADC1BUFB : longWord;
  3531. ADC1BUFC : longWord;
  3532. ADC1BUFD : longWord;
  3533. ADC1BUFE : longWord;
  3534. ADC1BUFF : longWord;
  3535. end;
  3536. TCVR_CVRCON = record
  3537. private
  3538. function getCVR : TBits_4; inline;
  3539. function getCVR0 : TBits_1; inline;
  3540. function getCVR1 : TBits_1; inline;
  3541. function getCVR2 : TBits_1; inline;
  3542. function getCVR3 : TBits_1; inline;
  3543. function getCVROE : TBits_1; inline;
  3544. function getCVRR : TBits_1; inline;
  3545. function getCVRSS : TBits_1; inline;
  3546. function getON : TBits_1; inline;
  3547. function getw : TBits_32; inline;
  3548. procedure setCVR(thebits : TBits_4); inline;
  3549. procedure setCVR0(thebits : TBits_1); inline;
  3550. procedure setCVR1(thebits : TBits_1); inline;
  3551. procedure setCVR2(thebits : TBits_1); inline;
  3552. procedure setCVR3(thebits : TBits_1); inline;
  3553. procedure setCVROE(thebits : TBits_1); inline;
  3554. procedure setCVRR(thebits : TBits_1); inline;
  3555. procedure setCVRSS(thebits : TBits_1); inline;
  3556. procedure setON(thebits : TBits_1); inline;
  3557. procedure setw(thebits : TBits_32); inline;
  3558. public
  3559. procedure clearCVR0; inline;
  3560. procedure clearCVR1; inline;
  3561. procedure clearCVR2; inline;
  3562. procedure clearCVR3; inline;
  3563. procedure clearCVROE; inline;
  3564. procedure clearCVRR; inline;
  3565. procedure clearCVRSS; inline;
  3566. procedure clearON; inline;
  3567. procedure setCVR0; inline;
  3568. procedure setCVR1; inline;
  3569. procedure setCVR2; inline;
  3570. procedure setCVR3; inline;
  3571. procedure setCVROE; inline;
  3572. procedure setCVRR; inline;
  3573. procedure setCVRSS; inline;
  3574. procedure setON; inline;
  3575. property CVR : TBits_4 read getCVR write setCVR;
  3576. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  3577. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  3578. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  3579. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  3580. property CVROE : TBits_1 read getCVROE write setCVROE;
  3581. property CVRR : TBits_1 read getCVRR write setCVRR;
  3582. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  3583. property ON : TBits_1 read getON write setON;
  3584. property w : TBits_32 read getw write setw;
  3585. end;
  3586. type
  3587. TCVRRegisters = record
  3588. CVRCONbits : TCVR_CVRCON;
  3589. CVRCON : longWord;
  3590. CVRCONCLR : longWord;
  3591. CVRCONSET : longWord;
  3592. CVRCONINV : longWord;
  3593. end;
  3594. TCMP_CM1CON = record
  3595. private
  3596. function getCCH : TBits_2; inline;
  3597. function getCCH0 : TBits_1; inline;
  3598. function getCCH1 : TBits_1; inline;
  3599. function getCOE : TBits_1; inline;
  3600. function getCOUT : TBits_1; inline;
  3601. function getCPOL : TBits_1; inline;
  3602. function getCREF : TBits_1; inline;
  3603. function getEVPOL : TBits_2; inline;
  3604. function getEVPOL0 : TBits_1; inline;
  3605. function getEVPOL1 : TBits_1; inline;
  3606. function getON : TBits_1; inline;
  3607. function getw : TBits_32; inline;
  3608. procedure setCCH(thebits : TBits_2); inline;
  3609. procedure setCCH0(thebits : TBits_1); inline;
  3610. procedure setCCH1(thebits : TBits_1); inline;
  3611. procedure setCOE(thebits : TBits_1); inline;
  3612. procedure setCOUT(thebits : TBits_1); inline;
  3613. procedure setCPOL(thebits : TBits_1); inline;
  3614. procedure setCREF(thebits : TBits_1); inline;
  3615. procedure setEVPOL(thebits : TBits_2); inline;
  3616. procedure setEVPOL0(thebits : TBits_1); inline;
  3617. procedure setEVPOL1(thebits : TBits_1); inline;
  3618. procedure setON(thebits : TBits_1); inline;
  3619. procedure setw(thebits : TBits_32); inline;
  3620. public
  3621. procedure clearCCH0; inline;
  3622. procedure clearCCH1; inline;
  3623. procedure clearCOE; inline;
  3624. procedure clearCOUT; inline;
  3625. procedure clearCPOL; inline;
  3626. procedure clearCREF; inline;
  3627. procedure clearEVPOL0; inline;
  3628. procedure clearEVPOL1; inline;
  3629. procedure clearON; inline;
  3630. procedure setCCH0; inline;
  3631. procedure setCCH1; inline;
  3632. procedure setCOE; inline;
  3633. procedure setCOUT; inline;
  3634. procedure setCPOL; inline;
  3635. procedure setCREF; inline;
  3636. procedure setEVPOL0; inline;
  3637. procedure setEVPOL1; inline;
  3638. procedure setON; inline;
  3639. property CCH : TBits_2 read getCCH write setCCH;
  3640. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  3641. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  3642. property COE : TBits_1 read getCOE write setCOE;
  3643. property COUT : TBits_1 read getCOUT write setCOUT;
  3644. property CPOL : TBits_1 read getCPOL write setCPOL;
  3645. property CREF : TBits_1 read getCREF write setCREF;
  3646. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  3647. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  3648. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  3649. property ON : TBits_1 read getON write setON;
  3650. property w : TBits_32 read getw write setw;
  3651. end;
  3652. TCMP_CM2CON = record
  3653. private
  3654. function getCCH : TBits_2; inline;
  3655. function getCCH0 : TBits_1; inline;
  3656. function getCCH1 : TBits_1; inline;
  3657. function getCOE : TBits_1; inline;
  3658. function getCOUT : TBits_1; inline;
  3659. function getCPOL : TBits_1; inline;
  3660. function getCREF : TBits_1; inline;
  3661. function getEVPOL : TBits_2; inline;
  3662. function getEVPOL0 : TBits_1; inline;
  3663. function getEVPOL1 : TBits_1; inline;
  3664. function getON : TBits_1; inline;
  3665. function getw : TBits_32; inline;
  3666. procedure setCCH(thebits : TBits_2); inline;
  3667. procedure setCCH0(thebits : TBits_1); inline;
  3668. procedure setCCH1(thebits : TBits_1); inline;
  3669. procedure setCOE(thebits : TBits_1); inline;
  3670. procedure setCOUT(thebits : TBits_1); inline;
  3671. procedure setCPOL(thebits : TBits_1); inline;
  3672. procedure setCREF(thebits : TBits_1); inline;
  3673. procedure setEVPOL(thebits : TBits_2); inline;
  3674. procedure setEVPOL0(thebits : TBits_1); inline;
  3675. procedure setEVPOL1(thebits : TBits_1); inline;
  3676. procedure setON(thebits : TBits_1); inline;
  3677. procedure setw(thebits : TBits_32); inline;
  3678. public
  3679. procedure clearCCH0; inline;
  3680. procedure clearCCH1; inline;
  3681. procedure clearCOE; inline;
  3682. procedure clearCOUT; inline;
  3683. procedure clearCPOL; inline;
  3684. procedure clearCREF; inline;
  3685. procedure clearEVPOL0; inline;
  3686. procedure clearEVPOL1; inline;
  3687. procedure clearON; inline;
  3688. procedure setCCH0; inline;
  3689. procedure setCCH1; inline;
  3690. procedure setCOE; inline;
  3691. procedure setCOUT; inline;
  3692. procedure setCPOL; inline;
  3693. procedure setCREF; inline;
  3694. procedure setEVPOL0; inline;
  3695. procedure setEVPOL1; inline;
  3696. procedure setON; inline;
  3697. property CCH : TBits_2 read getCCH write setCCH;
  3698. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  3699. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  3700. property COE : TBits_1 read getCOE write setCOE;
  3701. property COUT : TBits_1 read getCOUT write setCOUT;
  3702. property CPOL : TBits_1 read getCPOL write setCPOL;
  3703. property CREF : TBits_1 read getCREF write setCREF;
  3704. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  3705. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  3706. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  3707. property ON : TBits_1 read getON write setON;
  3708. property w : TBits_32 read getw write setw;
  3709. end;
  3710. TCMP_CMSTAT = record
  3711. private
  3712. function getC1OUT : TBits_1; inline;
  3713. function getC2OUT : TBits_1; inline;
  3714. function getSIDL : TBits_1; inline;
  3715. function getw : TBits_32; inline;
  3716. procedure setC1OUT(thebits : TBits_1); inline;
  3717. procedure setC2OUT(thebits : TBits_1); inline;
  3718. procedure setSIDL(thebits : TBits_1); inline;
  3719. procedure setw(thebits : TBits_32); inline;
  3720. public
  3721. procedure clearC1OUT; inline;
  3722. procedure clearC2OUT; inline;
  3723. procedure clearSIDL; inline;
  3724. procedure setC1OUT; inline;
  3725. procedure setC2OUT; inline;
  3726. procedure setSIDL; inline;
  3727. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  3728. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  3729. property SIDL : TBits_1 read getSIDL write setSIDL;
  3730. property w : TBits_32 read getw write setw;
  3731. end;
  3732. type
  3733. TCMPRegisters = record
  3734. CM1CONbits : TCMP_CM1CON;
  3735. CM1CON : longWord;
  3736. CM1CONCLR : longWord;
  3737. CM1CONSET : longWord;
  3738. CM1CONINV : longWord;
  3739. CM2CONbits : TCMP_CM2CON;
  3740. CM2CON : longWord;
  3741. CM2CONCLR : longWord;
  3742. CM2CONSET : longWord;
  3743. CM2CONINV : longWord;
  3744. CMSTATbits : TCMP_CMSTAT;
  3745. CMSTAT : longWord;
  3746. CMSTATCLR : longWord;
  3747. CMSTATSET : longWord;
  3748. CMSTATINV : longWord;
  3749. end;
  3750. TOSC_OSCCON = record
  3751. private
  3752. function getCF : TBits_1; inline;
  3753. function getCLKLOCK : TBits_1; inline;
  3754. function getCOSC : TBits_3; inline;
  3755. function getCOSC0 : TBits_1; inline;
  3756. function getCOSC1 : TBits_1; inline;
  3757. function getCOSC2 : TBits_1; inline;
  3758. function getFRCDIV : TBits_3; inline;
  3759. function getFRCDIV0 : TBits_1; inline;
  3760. function getFRCDIV1 : TBits_1; inline;
  3761. function getFRCDIV2 : TBits_1; inline;
  3762. function getLOCK : TBits_1; inline;
  3763. function getNOSC : TBits_3; inline;
  3764. function getNOSC0 : TBits_1; inline;
  3765. function getNOSC1 : TBits_1; inline;
  3766. function getNOSC2 : TBits_1; inline;
  3767. function getOSWEN : TBits_1; inline;
  3768. function getPBDIV : TBits_2; inline;
  3769. function getPBDIV0 : TBits_1; inline;
  3770. function getPBDIV1 : TBits_1; inline;
  3771. function getPLLMULT : TBits_3; inline;
  3772. function getPLLMULT0 : TBits_1; inline;
  3773. function getPLLMULT1 : TBits_1; inline;
  3774. function getPLLMULT2 : TBits_1; inline;
  3775. function getPLLODIV : TBits_3; inline;
  3776. function getPLLODIV0 : TBits_1; inline;
  3777. function getPLLODIV1 : TBits_1; inline;
  3778. function getPLLODIV2 : TBits_1; inline;
  3779. function getSLPEN : TBits_1; inline;
  3780. function getSOSCEN : TBits_1; inline;
  3781. function getSOSCRDY : TBits_1; inline;
  3782. function getUFRCEN : TBits_1; inline;
  3783. function getULOCK : TBits_1; inline;
  3784. function getw : TBits_32; inline;
  3785. procedure setCF(thebits : TBits_1); inline;
  3786. procedure setCLKLOCK(thebits : TBits_1); inline;
  3787. procedure setCOSC(thebits : TBits_3); inline;
  3788. procedure setCOSC0(thebits : TBits_1); inline;
  3789. procedure setCOSC1(thebits : TBits_1); inline;
  3790. procedure setCOSC2(thebits : TBits_1); inline;
  3791. procedure setFRCDIV(thebits : TBits_3); inline;
  3792. procedure setFRCDIV0(thebits : TBits_1); inline;
  3793. procedure setFRCDIV1(thebits : TBits_1); inline;
  3794. procedure setFRCDIV2(thebits : TBits_1); inline;
  3795. procedure setLOCK(thebits : TBits_1); inline;
  3796. procedure setNOSC(thebits : TBits_3); inline;
  3797. procedure setNOSC0(thebits : TBits_1); inline;
  3798. procedure setNOSC1(thebits : TBits_1); inline;
  3799. procedure setNOSC2(thebits : TBits_1); inline;
  3800. procedure setOSWEN(thebits : TBits_1); inline;
  3801. procedure setPBDIV(thebits : TBits_2); inline;
  3802. procedure setPBDIV0(thebits : TBits_1); inline;
  3803. procedure setPBDIV1(thebits : TBits_1); inline;
  3804. procedure setPLLMULT(thebits : TBits_3); inline;
  3805. procedure setPLLMULT0(thebits : TBits_1); inline;
  3806. procedure setPLLMULT1(thebits : TBits_1); inline;
  3807. procedure setPLLMULT2(thebits : TBits_1); inline;
  3808. procedure setPLLODIV(thebits : TBits_3); inline;
  3809. procedure setPLLODIV0(thebits : TBits_1); inline;
  3810. procedure setPLLODIV1(thebits : TBits_1); inline;
  3811. procedure setPLLODIV2(thebits : TBits_1); inline;
  3812. procedure setSLPEN(thebits : TBits_1); inline;
  3813. procedure setSOSCEN(thebits : TBits_1); inline;
  3814. procedure setSOSCRDY(thebits : TBits_1); inline;
  3815. procedure setUFRCEN(thebits : TBits_1); inline;
  3816. procedure setULOCK(thebits : TBits_1); inline;
  3817. procedure setw(thebits : TBits_32); inline;
  3818. public
  3819. procedure clearCF; inline;
  3820. procedure clearCLKLOCK; inline;
  3821. procedure clearCOSC0; inline;
  3822. procedure clearCOSC1; inline;
  3823. procedure clearCOSC2; inline;
  3824. procedure clearFRCDIV0; inline;
  3825. procedure clearFRCDIV1; inline;
  3826. procedure clearFRCDIV2; inline;
  3827. procedure clearLOCK; inline;
  3828. procedure clearNOSC0; inline;
  3829. procedure clearNOSC1; inline;
  3830. procedure clearNOSC2; inline;
  3831. procedure clearOSWEN; inline;
  3832. procedure clearPBDIV0; inline;
  3833. procedure clearPBDIV1; inline;
  3834. procedure clearPLLMULT0; inline;
  3835. procedure clearPLLMULT1; inline;
  3836. procedure clearPLLMULT2; inline;
  3837. procedure clearPLLODIV0; inline;
  3838. procedure clearPLLODIV1; inline;
  3839. procedure clearPLLODIV2; inline;
  3840. procedure clearSLPEN; inline;
  3841. procedure clearSOSCEN; inline;
  3842. procedure clearSOSCRDY; inline;
  3843. procedure clearUFRCEN; inline;
  3844. procedure clearULOCK; inline;
  3845. procedure setCF; inline;
  3846. procedure setCLKLOCK; inline;
  3847. procedure setCOSC0; inline;
  3848. procedure setCOSC1; inline;
  3849. procedure setCOSC2; inline;
  3850. procedure setFRCDIV0; inline;
  3851. procedure setFRCDIV1; inline;
  3852. procedure setFRCDIV2; inline;
  3853. procedure setLOCK; inline;
  3854. procedure setNOSC0; inline;
  3855. procedure setNOSC1; inline;
  3856. procedure setNOSC2; inline;
  3857. procedure setOSWEN; inline;
  3858. procedure setPBDIV0; inline;
  3859. procedure setPBDIV1; inline;
  3860. procedure setPLLMULT0; inline;
  3861. procedure setPLLMULT1; inline;
  3862. procedure setPLLMULT2; inline;
  3863. procedure setPLLODIV0; inline;
  3864. procedure setPLLODIV1; inline;
  3865. procedure setPLLODIV2; inline;
  3866. procedure setSLPEN; inline;
  3867. procedure setSOSCEN; inline;
  3868. procedure setSOSCRDY; inline;
  3869. procedure setUFRCEN; inline;
  3870. procedure setULOCK; inline;
  3871. property CF : TBits_1 read getCF write setCF;
  3872. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  3873. property COSC : TBits_3 read getCOSC write setCOSC;
  3874. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  3875. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  3876. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  3877. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  3878. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  3879. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  3880. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  3881. property LOCK : TBits_1 read getLOCK write setLOCK;
  3882. property NOSC : TBits_3 read getNOSC write setNOSC;
  3883. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  3884. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  3885. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  3886. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  3887. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  3888. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  3889. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  3890. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  3891. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  3892. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  3893. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  3894. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  3895. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  3896. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  3897. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  3898. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  3899. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  3900. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  3901. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  3902. property ULOCK : TBits_1 read getULOCK write setULOCK;
  3903. property w : TBits_32 read getw write setw;
  3904. end;
  3905. TOSC_OSCTUN = record
  3906. private
  3907. function getTUN : TBits_6; inline;
  3908. function getTUN0 : TBits_1; inline;
  3909. function getTUN1 : TBits_1; inline;
  3910. function getTUN2 : TBits_1; inline;
  3911. function getTUN3 : TBits_1; inline;
  3912. function getTUN4 : TBits_1; inline;
  3913. function getTUN5 : TBits_1; inline;
  3914. function getw : TBits_32; inline;
  3915. procedure setTUN(thebits : TBits_6); inline;
  3916. procedure setTUN0(thebits : TBits_1); inline;
  3917. procedure setTUN1(thebits : TBits_1); inline;
  3918. procedure setTUN2(thebits : TBits_1); inline;
  3919. procedure setTUN3(thebits : TBits_1); inline;
  3920. procedure setTUN4(thebits : TBits_1); inline;
  3921. procedure setTUN5(thebits : TBits_1); inline;
  3922. procedure setw(thebits : TBits_32); inline;
  3923. public
  3924. procedure clearTUN0; inline;
  3925. procedure clearTUN1; inline;
  3926. procedure clearTUN2; inline;
  3927. procedure clearTUN3; inline;
  3928. procedure clearTUN4; inline;
  3929. procedure clearTUN5; inline;
  3930. procedure setTUN0; inline;
  3931. procedure setTUN1; inline;
  3932. procedure setTUN2; inline;
  3933. procedure setTUN3; inline;
  3934. procedure setTUN4; inline;
  3935. procedure setTUN5; inline;
  3936. property TUN : TBits_6 read getTUN write setTUN;
  3937. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  3938. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  3939. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  3940. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  3941. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  3942. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  3943. property w : TBits_32 read getw write setw;
  3944. end;
  3945. type
  3946. TOSCRegisters = record
  3947. OSCCONbits : TOSC_OSCCON;
  3948. OSCCON : longWord;
  3949. OSCCONCLR : longWord;
  3950. OSCCONSET : longWord;
  3951. OSCCONINV : longWord;
  3952. OSCTUNbits : TOSC_OSCTUN;
  3953. OSCTUN : longWord;
  3954. OSCTUNCLR : longWord;
  3955. OSCTUNSET : longWord;
  3956. OSCTUNINV : longWord;
  3957. end;
  3958. type
  3959. TCFGRegisters = record
  3960. DDPCON : longWord;
  3961. DEVID : longWord;
  3962. SYSKEY : longWord;
  3963. SYSKEYCLR : longWord;
  3964. SYSKEYSET : longWord;
  3965. SYSKEYINV : longWord;
  3966. end;
  3967. TNVM_NVMCON = record
  3968. private
  3969. function getLVDERR : TBits_1; inline;
  3970. function getLVDSTAT : TBits_1; inline;
  3971. function getNVMOP : TBits_4; inline;
  3972. function getNVMOP0 : TBits_1; inline;
  3973. function getNVMOP1 : TBits_1; inline;
  3974. function getNVMOP2 : TBits_1; inline;
  3975. function getNVMOP3 : TBits_1; inline;
  3976. function getPROGOP : TBits_4; inline;
  3977. function getPROGOP0 : TBits_1; inline;
  3978. function getPROGOP1 : TBits_1; inline;
  3979. function getPROGOP2 : TBits_1; inline;
  3980. function getPROGOP3 : TBits_1; inline;
  3981. function getWR : TBits_1; inline;
  3982. function getWREN : TBits_1; inline;
  3983. function getWRERR : TBits_1; inline;
  3984. function getw : TBits_32; inline;
  3985. procedure setLVDERR(thebits : TBits_1); inline;
  3986. procedure setLVDSTAT(thebits : TBits_1); inline;
  3987. procedure setNVMOP(thebits : TBits_4); inline;
  3988. procedure setNVMOP0(thebits : TBits_1); inline;
  3989. procedure setNVMOP1(thebits : TBits_1); inline;
  3990. procedure setNVMOP2(thebits : TBits_1); inline;
  3991. procedure setNVMOP3(thebits : TBits_1); inline;
  3992. procedure setPROGOP(thebits : TBits_4); inline;
  3993. procedure setPROGOP0(thebits : TBits_1); inline;
  3994. procedure setPROGOP1(thebits : TBits_1); inline;
  3995. procedure setPROGOP2(thebits : TBits_1); inline;
  3996. procedure setPROGOP3(thebits : TBits_1); inline;
  3997. procedure setWR(thebits : TBits_1); inline;
  3998. procedure setWREN(thebits : TBits_1); inline;
  3999. procedure setWRERR(thebits : TBits_1); inline;
  4000. procedure setw(thebits : TBits_32); inline;
  4001. public
  4002. procedure clearLVDERR; inline;
  4003. procedure clearLVDSTAT; inline;
  4004. procedure clearNVMOP0; inline;
  4005. procedure clearNVMOP1; inline;
  4006. procedure clearNVMOP2; inline;
  4007. procedure clearNVMOP3; inline;
  4008. procedure clearPROGOP0; inline;
  4009. procedure clearPROGOP1; inline;
  4010. procedure clearPROGOP2; inline;
  4011. procedure clearPROGOP3; inline;
  4012. procedure clearWR; inline;
  4013. procedure clearWREN; inline;
  4014. procedure clearWRERR; inline;
  4015. procedure setLVDERR; inline;
  4016. procedure setLVDSTAT; inline;
  4017. procedure setNVMOP0; inline;
  4018. procedure setNVMOP1; inline;
  4019. procedure setNVMOP2; inline;
  4020. procedure setNVMOP3; inline;
  4021. procedure setPROGOP0; inline;
  4022. procedure setPROGOP1; inline;
  4023. procedure setPROGOP2; inline;
  4024. procedure setPROGOP3; inline;
  4025. procedure setWR; inline;
  4026. procedure setWREN; inline;
  4027. procedure setWRERR; inline;
  4028. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  4029. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  4030. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  4031. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  4032. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  4033. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  4034. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  4035. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  4036. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  4037. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  4038. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  4039. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  4040. property WR : TBits_1 read getWR write setWR;
  4041. property WREN : TBits_1 read getWREN write setWREN;
  4042. property WRERR : TBits_1 read getWRERR write setWRERR;
  4043. property w : TBits_32 read getw write setw;
  4044. end;
  4045. type
  4046. TNVMRegisters = record
  4047. NVMCONbits : TNVM_NVMCON;
  4048. NVMCON : longWord;
  4049. NVMCONCLR : longWord;
  4050. NVMCONSET : longWord;
  4051. NVMCONINV : longWord;
  4052. NVMKEY : longWord;
  4053. NVMADDR : longWord;
  4054. NVMADDRCLR : longWord;
  4055. NVMADDRSET : longWord;
  4056. NVMADDRINV : longWord;
  4057. NVMDATA : longWord;
  4058. NVMSRCADDR : longWord;
  4059. end;
  4060. TRCON_RCON = record
  4061. private
  4062. function getBOR : TBits_1; inline;
  4063. function getCMR : TBits_1; inline;
  4064. function getEXTR : TBits_1; inline;
  4065. function getIDLE : TBits_1; inline;
  4066. function getPOR : TBits_1; inline;
  4067. function getSLEEP : TBits_1; inline;
  4068. function getSWR : TBits_1; inline;
  4069. function getVREGS : TBits_1; inline;
  4070. function getWDTO : TBits_1; inline;
  4071. function getw : TBits_32; inline;
  4072. procedure setBOR(thebits : TBits_1); inline;
  4073. procedure setCMR(thebits : TBits_1); inline;
  4074. procedure setEXTR(thebits : TBits_1); inline;
  4075. procedure setIDLE(thebits : TBits_1); inline;
  4076. procedure setPOR(thebits : TBits_1); inline;
  4077. procedure setSLEEP(thebits : TBits_1); inline;
  4078. procedure setSWR(thebits : TBits_1); inline;
  4079. procedure setVREGS(thebits : TBits_1); inline;
  4080. procedure setWDTO(thebits : TBits_1); inline;
  4081. procedure setw(thebits : TBits_32); inline;
  4082. public
  4083. procedure clearBOR; inline;
  4084. procedure clearCMR; inline;
  4085. procedure clearEXTR; inline;
  4086. procedure clearIDLE; inline;
  4087. procedure clearPOR; inline;
  4088. procedure clearSLEEP; inline;
  4089. procedure clearSWR; inline;
  4090. procedure clearVREGS; inline;
  4091. procedure clearWDTO; inline;
  4092. procedure setBOR; inline;
  4093. procedure setCMR; inline;
  4094. procedure setEXTR; inline;
  4095. procedure setIDLE; inline;
  4096. procedure setPOR; inline;
  4097. procedure setSLEEP; inline;
  4098. procedure setSWR; inline;
  4099. procedure setVREGS; inline;
  4100. procedure setWDTO; inline;
  4101. property BOR : TBits_1 read getBOR write setBOR;
  4102. property CMR : TBits_1 read getCMR write setCMR;
  4103. property EXTR : TBits_1 read getEXTR write setEXTR;
  4104. property IDLE : TBits_1 read getIDLE write setIDLE;
  4105. property POR : TBits_1 read getPOR write setPOR;
  4106. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  4107. property SWR : TBits_1 read getSWR write setSWR;
  4108. property VREGS : TBits_1 read getVREGS write setVREGS;
  4109. property WDTO : TBits_1 read getWDTO write setWDTO;
  4110. property w : TBits_32 read getw write setw;
  4111. end;
  4112. TRCON_RSWRST = record
  4113. private
  4114. function getSWRST : TBits_1; inline;
  4115. function getw : TBits_32; inline;
  4116. procedure setSWRST(thebits : TBits_1); inline;
  4117. procedure setw(thebits : TBits_32); inline;
  4118. public
  4119. procedure clearSWRST; inline;
  4120. procedure setSWRST; inline;
  4121. property SWRST : TBits_1 read getSWRST write setSWRST;
  4122. property w : TBits_32 read getw write setw;
  4123. end;
  4124. type
  4125. TRCONRegisters = record
  4126. RCONbits : TRCON_RCON;
  4127. RCON : longWord;
  4128. RCONCLR : longWord;
  4129. RCONSET : longWord;
  4130. RCONINV : longWord;
  4131. RSWRSTbits : TRCON_RSWRST;
  4132. RSWRST : longWord;
  4133. RSWRSTCLR : longWord;
  4134. RSWRSTSET : longWord;
  4135. RSWRSTINV : longWord;
  4136. end;
  4137. type
  4138. T_DDPSTATRegisters = record
  4139. _DDPSTAT : longWord;
  4140. end;
  4141. type
  4142. T_STRORegisters = record
  4143. _STRO : longWord;
  4144. _STROCLR : longWord;
  4145. _STROSET : longWord;
  4146. _STROINV : longWord;
  4147. end;
  4148. type
  4149. T_APPORegisters = record
  4150. _APPO : longWord;
  4151. _APPOCLR : longWord;
  4152. _APPOSET : longWord;
  4153. _APPOINV : longWord;
  4154. end;
  4155. type
  4156. T_APPIRegisters = record
  4157. _APPI : longWord;
  4158. end;
  4159. TINT_INTSTAT = record
  4160. private
  4161. function getRIPL : TBits_3; inline;
  4162. function getSRIPL : TBits_3; inline;
  4163. function getVEC : TBits_6; inline;
  4164. procedure setRIPL(thebits : TBits_3); inline;
  4165. procedure setSRIPL(thebits : TBits_3); inline;
  4166. procedure setVEC(thebits : TBits_6); inline;
  4167. public
  4168. property RIPL : TBits_3 read getRIPL write setRIPL;
  4169. property SRIPL : TBits_3 read getSRIPL write setSRIPL;
  4170. property VEC : TBits_6 read getVEC write setVEC;
  4171. end;
  4172. type
  4173. TINTRegisters = record
  4174. INTCON : longWord;
  4175. INTCONCLR : longWord;
  4176. INTCONSET : longWord;
  4177. INTCONINV : longWord;
  4178. INTSTATbits : TINT_INTSTAT;
  4179. INTSTAT : longWord;
  4180. IPTMR : longWord;
  4181. IPTMRCLR : longWord;
  4182. IPTMRSET : longWord;
  4183. IPTMRINV : longWord;
  4184. IFS0 : longWord;
  4185. IFS0CLR : longWord;
  4186. IFS0SET : longWord;
  4187. IFS0INV : longWord;
  4188. IFS1 : longWord;
  4189. IFS1CLR : longWord;
  4190. IFS1SET : longWord;
  4191. IFS1INV : longWord;
  4192. IEC0 : longWord;
  4193. IEC0CLR : longWord;
  4194. IEC0SET : longWord;
  4195. IEC0INV : longWord;
  4196. IEC1 : longWord;
  4197. IEC1CLR : longWord;
  4198. IEC1SET : longWord;
  4199. IEC1INV : longWord;
  4200. IPC0 : longWord;
  4201. IPC0CLR : longWord;
  4202. IPC0SET : longWord;
  4203. IPC0INV : longWord;
  4204. IPC1 : longWord;
  4205. IPC1CLR : longWord;
  4206. IPC1SET : longWord;
  4207. IPC1INV : longWord;
  4208. IPC2 : longWord;
  4209. IPC2CLR : longWord;
  4210. IPC2SET : longWord;
  4211. IPC2INV : longWord;
  4212. IPC3 : longWord;
  4213. IPC3CLR : longWord;
  4214. IPC3SET : longWord;
  4215. IPC3INV : longWord;
  4216. IPC4 : longWord;
  4217. IPC4CLR : longWord;
  4218. IPC4SET : longWord;
  4219. IPC4INV : longWord;
  4220. IPC5 : longWord;
  4221. IPC5CLR : longWord;
  4222. IPC5SET : longWord;
  4223. IPC5INV : longWord;
  4224. IPC6 : longWord;
  4225. IPC6CLR : longWord;
  4226. IPC6SET : longWord;
  4227. IPC6INV : longWord;
  4228. IPC7 : longWord;
  4229. IPC7CLR : longWord;
  4230. IPC7SET : longWord;
  4231. IPC7INV : longWord;
  4232. IPC8 : longWord;
  4233. IPC8CLR : longWord;
  4234. IPC8SET : longWord;
  4235. IPC8INV : longWord;
  4236. IPC9 : longWord;
  4237. IPC9CLR : longWord;
  4238. IPC9SET : longWord;
  4239. IPC9INV : longWord;
  4240. IPC11 : longWord;
  4241. IPC11CLR : longWord;
  4242. IPC11SET : longWord;
  4243. IPC11INV : longWord;
  4244. end;
  4245. TBMX_BMXCON = record
  4246. private
  4247. function getBMXARB : TBits_3; inline;
  4248. function getBMXCHEDMA : TBits_1; inline;
  4249. function getBMXERRDMA : TBits_1; inline;
  4250. function getBMXERRDS : TBits_1; inline;
  4251. function getBMXERRICD : TBits_1; inline;
  4252. function getBMXERRIS : TBits_1; inline;
  4253. function getBMXERRIXI : TBits_1; inline;
  4254. function getBMXWSDRM : TBits_1; inline;
  4255. function getw : TBits_32; inline;
  4256. procedure setBMXARB(thebits : TBits_3); inline;
  4257. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  4258. procedure setBMXERRDMA(thebits : TBits_1); inline;
  4259. procedure setBMXERRDS(thebits : TBits_1); inline;
  4260. procedure setBMXERRICD(thebits : TBits_1); inline;
  4261. procedure setBMXERRIS(thebits : TBits_1); inline;
  4262. procedure setBMXERRIXI(thebits : TBits_1); inline;
  4263. procedure setBMXWSDRM(thebits : TBits_1); inline;
  4264. procedure setw(thebits : TBits_32); inline;
  4265. public
  4266. procedure clearBMXCHEDMA; inline;
  4267. procedure clearBMXERRDMA; inline;
  4268. procedure clearBMXERRDS; inline;
  4269. procedure clearBMXERRICD; inline;
  4270. procedure clearBMXERRIS; inline;
  4271. procedure clearBMXERRIXI; inline;
  4272. procedure clearBMXWSDRM; inline;
  4273. procedure setBMXCHEDMA; inline;
  4274. procedure setBMXERRDMA; inline;
  4275. procedure setBMXERRDS; inline;
  4276. procedure setBMXERRICD; inline;
  4277. procedure setBMXERRIS; inline;
  4278. procedure setBMXERRIXI; inline;
  4279. procedure setBMXWSDRM; inline;
  4280. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  4281. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  4282. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  4283. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  4284. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  4285. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  4286. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  4287. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  4288. property w : TBits_32 read getw write setw;
  4289. end;
  4290. type
  4291. TBMXRegisters = record
  4292. BMXCONbits : TBMX_BMXCON;
  4293. BMXCON : longWord;
  4294. BMXCONCLR : longWord;
  4295. BMXCONSET : longWord;
  4296. BMXCONINV : longWord;
  4297. BMXDKPBA : longWord;
  4298. BMXDKPBACLR : longWord;
  4299. BMXDKPBASET : longWord;
  4300. BMXDKPBAINV : longWord;
  4301. BMXDUDBA : longWord;
  4302. BMXDUDBACLR : longWord;
  4303. BMXDUDBASET : longWord;
  4304. BMXDUDBAINV : longWord;
  4305. BMXDUPBA : longWord;
  4306. BMXDUPBACLR : longWord;
  4307. BMXDUPBASET : longWord;
  4308. BMXDUPBAINV : longWord;
  4309. BMXDRMSZ : longWord;
  4310. BMXPUPBA : longWord;
  4311. BMXPUPBACLR : longWord;
  4312. BMXPUPBASET : longWord;
  4313. BMXPUPBAINV : longWord;
  4314. BMXPFMSZ : longWord;
  4315. BMXBOOTSZ : longWord;
  4316. end;
  4317. TDMAC_DMACON = record
  4318. private
  4319. function getON : TBits_1; inline;
  4320. function getSIDL : TBits_1; inline;
  4321. function getSUSPEND : TBits_1; inline;
  4322. function getw : TBits_32; inline;
  4323. procedure setON(thebits : TBits_1); inline;
  4324. procedure setSIDL(thebits : TBits_1); inline;
  4325. procedure setSUSPEND(thebits : TBits_1); inline;
  4326. procedure setw(thebits : TBits_32); inline;
  4327. public
  4328. procedure clearON; inline;
  4329. procedure clearSIDL; inline;
  4330. procedure clearSUSPEND; inline;
  4331. procedure setON; inline;
  4332. procedure setSIDL; inline;
  4333. procedure setSUSPEND; inline;
  4334. property ON : TBits_1 read getON write setON;
  4335. property SIDL : TBits_1 read getSIDL write setSIDL;
  4336. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  4337. property w : TBits_32 read getw write setw;
  4338. end;
  4339. TDMAC_DMASTAT = record
  4340. private
  4341. function getDMACH : TBits_2; inline;
  4342. function getRDWR : TBits_1; inline;
  4343. function getw : TBits_32; inline;
  4344. procedure setDMACH(thebits : TBits_2); inline;
  4345. procedure setRDWR(thebits : TBits_1); inline;
  4346. procedure setw(thebits : TBits_32); inline;
  4347. public
  4348. procedure clearRDWR; inline;
  4349. procedure setRDWR; inline;
  4350. property DMACH : TBits_2 read getDMACH write setDMACH;
  4351. property RDWR : TBits_1 read getRDWR write setRDWR;
  4352. property w : TBits_32 read getw write setw;
  4353. end;
  4354. TDMAC_DCRCCON = record
  4355. private
  4356. function getBITO : TBits_1; inline;
  4357. function getBYTO : TBits_2; inline;
  4358. function getCRCAPP : TBits_1; inline;
  4359. function getCRCCH : TBits_2; inline;
  4360. function getCRCEN : TBits_1; inline;
  4361. function getCRCTYP : TBits_1; inline;
  4362. function getPLEN : TBits_4; inline;
  4363. function getWBO : TBits_1; inline;
  4364. function getw : TBits_32; inline;
  4365. procedure setBITO(thebits : TBits_1); inline;
  4366. procedure setBYTO(thebits : TBits_2); inline;
  4367. procedure setCRCAPP(thebits : TBits_1); inline;
  4368. procedure setCRCCH(thebits : TBits_2); inline;
  4369. procedure setCRCEN(thebits : TBits_1); inline;
  4370. procedure setCRCTYP(thebits : TBits_1); inline;
  4371. procedure setPLEN(thebits : TBits_4); inline;
  4372. procedure setWBO(thebits : TBits_1); inline;
  4373. procedure setw(thebits : TBits_32); inline;
  4374. public
  4375. procedure clearBITO; inline;
  4376. procedure clearCRCAPP; inline;
  4377. procedure clearCRCEN; inline;
  4378. procedure clearCRCTYP; inline;
  4379. procedure clearWBO; inline;
  4380. procedure setBITO; inline;
  4381. procedure setCRCAPP; inline;
  4382. procedure setCRCEN; inline;
  4383. procedure setCRCTYP; inline;
  4384. procedure setWBO; inline;
  4385. property BITO : TBits_1 read getBITO write setBITO;
  4386. property BYTO : TBits_2 read getBYTO write setBYTO;
  4387. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  4388. property CRCCH : TBits_2 read getCRCCH write setCRCCH;
  4389. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  4390. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  4391. property PLEN : TBits_4 read getPLEN write setPLEN;
  4392. property WBO : TBits_1 read getWBO write setWBO;
  4393. property w : TBits_32 read getw write setw;
  4394. end;
  4395. type
  4396. TDMACRegisters = record
  4397. DMACONbits : TDMAC_DMACON;
  4398. DMACON : longWord;
  4399. DMACONCLR : longWord;
  4400. DMACONSET : longWord;
  4401. DMACONINV : longWord;
  4402. DMASTATbits : TDMAC_DMASTAT;
  4403. DMASTAT : longWord;
  4404. DMASTATCLR : longWord;
  4405. DMASTATSET : longWord;
  4406. DMASTATINV : longWord;
  4407. DMAADDR : longWord;
  4408. DMAADDRCLR : longWord;
  4409. DMAADDRSET : longWord;
  4410. DMAADDRINV : longWord;
  4411. DCRCCONbits : TDMAC_DCRCCON;
  4412. DCRCCON : longWord;
  4413. DCRCCONCLR : longWord;
  4414. DCRCCONSET : longWord;
  4415. DCRCCONINV : longWord;
  4416. DCRCDATA : longWord;
  4417. DCRCDATACLR : longWord;
  4418. DCRCDATASET : longWord;
  4419. DCRCDATAINV : longWord;
  4420. DCRCXOR : longWord;
  4421. DCRCXORCLR : longWord;
  4422. DCRCXORSET : longWord;
  4423. DCRCXORINV : longWord;
  4424. end;
  4425. TDMAC0_DCH0CON = record
  4426. private
  4427. function getCHAED : TBits_1; inline;
  4428. function getCHAEN : TBits_1; inline;
  4429. function getCHCHN : TBits_1; inline;
  4430. function getCHCHNS : TBits_1; inline;
  4431. function getCHEDET : TBits_1; inline;
  4432. function getCHEN : TBits_1; inline;
  4433. function getCHPRI : TBits_2; inline;
  4434. function getw : TBits_32; inline;
  4435. procedure setCHAED(thebits : TBits_1); inline;
  4436. procedure setCHAEN(thebits : TBits_1); inline;
  4437. procedure setCHCHN(thebits : TBits_1); inline;
  4438. procedure setCHCHNS(thebits : TBits_1); inline;
  4439. procedure setCHEDET(thebits : TBits_1); inline;
  4440. procedure setCHEN(thebits : TBits_1); inline;
  4441. procedure setCHPRI(thebits : TBits_2); inline;
  4442. procedure setw(thebits : TBits_32); inline;
  4443. public
  4444. procedure clearCHAED; inline;
  4445. procedure clearCHAEN; inline;
  4446. procedure clearCHCHN; inline;
  4447. procedure clearCHCHNS; inline;
  4448. procedure clearCHEDET; inline;
  4449. procedure clearCHEN; inline;
  4450. procedure setCHAED; inline;
  4451. procedure setCHAEN; inline;
  4452. procedure setCHCHN; inline;
  4453. procedure setCHCHNS; inline;
  4454. procedure setCHEDET; inline;
  4455. procedure setCHEN; inline;
  4456. property CHAED : TBits_1 read getCHAED write setCHAED;
  4457. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  4458. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  4459. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  4460. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  4461. property CHEN : TBits_1 read getCHEN write setCHEN;
  4462. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  4463. property w : TBits_32 read getw write setw;
  4464. end;
  4465. TDMAC0_DCH0ECON = record
  4466. private
  4467. function getAIRQEN : TBits_1; inline;
  4468. function getCABORT : TBits_1; inline;
  4469. function getCFORCE : TBits_1; inline;
  4470. function getCHAIRQ : TBits_8; inline;
  4471. function getCHSIRQ : TBits_8; inline;
  4472. function getPATEN : TBits_1; inline;
  4473. function getSIRQEN : TBits_1; inline;
  4474. function getw : TBits_32; inline;
  4475. procedure setAIRQEN(thebits : TBits_1); inline;
  4476. procedure setCABORT(thebits : TBits_1); inline;
  4477. procedure setCFORCE(thebits : TBits_1); inline;
  4478. procedure setCHAIRQ(thebits : TBits_8); inline;
  4479. procedure setCHSIRQ(thebits : TBits_8); inline;
  4480. procedure setPATEN(thebits : TBits_1); inline;
  4481. procedure setSIRQEN(thebits : TBits_1); inline;
  4482. procedure setw(thebits : TBits_32); inline;
  4483. public
  4484. procedure clearAIRQEN; inline;
  4485. procedure clearCABORT; inline;
  4486. procedure clearCFORCE; inline;
  4487. procedure clearPATEN; inline;
  4488. procedure clearSIRQEN; inline;
  4489. procedure setAIRQEN; inline;
  4490. procedure setCABORT; inline;
  4491. procedure setCFORCE; inline;
  4492. procedure setPATEN; inline;
  4493. procedure setSIRQEN; inline;
  4494. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  4495. property CABORT : TBits_1 read getCABORT write setCABORT;
  4496. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  4497. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  4498. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  4499. property PATEN : TBits_1 read getPATEN write setPATEN;
  4500. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  4501. property w : TBits_32 read getw write setw;
  4502. end;
  4503. TDMAC0_DCH0INT = record
  4504. private
  4505. function getCHBCIE : TBits_1; inline;
  4506. function getCHBCIF : TBits_1; inline;
  4507. function getCHCCIE : TBits_1; inline;
  4508. function getCHCCIF : TBits_1; inline;
  4509. function getCHDDIE : TBits_1; inline;
  4510. function getCHDDIF : TBits_1; inline;
  4511. function getCHDHIE : TBits_1; inline;
  4512. function getCHDHIF : TBits_1; inline;
  4513. function getCHERIE : TBits_1; inline;
  4514. function getCHERIF : TBits_1; inline;
  4515. function getCHSDIE : TBits_1; inline;
  4516. function getCHSDIF : TBits_1; inline;
  4517. function getCHSHIE : TBits_1; inline;
  4518. function getCHSHIF : TBits_1; inline;
  4519. function getCHTAIE : TBits_1; inline;
  4520. function getCHTAIF : TBits_1; inline;
  4521. function getw : TBits_32; inline;
  4522. procedure setCHBCIE(thebits : TBits_1); inline;
  4523. procedure setCHBCIF(thebits : TBits_1); inline;
  4524. procedure setCHCCIE(thebits : TBits_1); inline;
  4525. procedure setCHCCIF(thebits : TBits_1); inline;
  4526. procedure setCHDDIE(thebits : TBits_1); inline;
  4527. procedure setCHDDIF(thebits : TBits_1); inline;
  4528. procedure setCHDHIE(thebits : TBits_1); inline;
  4529. procedure setCHDHIF(thebits : TBits_1); inline;
  4530. procedure setCHERIE(thebits : TBits_1); inline;
  4531. procedure setCHERIF(thebits : TBits_1); inline;
  4532. procedure setCHSDIE(thebits : TBits_1); inline;
  4533. procedure setCHSDIF(thebits : TBits_1); inline;
  4534. procedure setCHSHIE(thebits : TBits_1); inline;
  4535. procedure setCHSHIF(thebits : TBits_1); inline;
  4536. procedure setCHTAIE(thebits : TBits_1); inline;
  4537. procedure setCHTAIF(thebits : TBits_1); inline;
  4538. procedure setw(thebits : TBits_32); inline;
  4539. public
  4540. procedure clearCHBCIE; inline;
  4541. procedure clearCHBCIF; inline;
  4542. procedure clearCHCCIE; inline;
  4543. procedure clearCHCCIF; inline;
  4544. procedure clearCHDDIE; inline;
  4545. procedure clearCHDDIF; inline;
  4546. procedure clearCHDHIE; inline;
  4547. procedure clearCHDHIF; inline;
  4548. procedure clearCHERIE; inline;
  4549. procedure clearCHERIF; inline;
  4550. procedure clearCHSDIE; inline;
  4551. procedure clearCHSDIF; inline;
  4552. procedure clearCHSHIE; inline;
  4553. procedure clearCHSHIF; inline;
  4554. procedure clearCHTAIE; inline;
  4555. procedure clearCHTAIF; inline;
  4556. procedure setCHBCIE; inline;
  4557. procedure setCHBCIF; inline;
  4558. procedure setCHCCIE; inline;
  4559. procedure setCHCCIF; inline;
  4560. procedure setCHDDIE; inline;
  4561. procedure setCHDDIF; inline;
  4562. procedure setCHDHIE; inline;
  4563. procedure setCHDHIF; inline;
  4564. procedure setCHERIE; inline;
  4565. procedure setCHERIF; inline;
  4566. procedure setCHSDIE; inline;
  4567. procedure setCHSDIF; inline;
  4568. procedure setCHSHIE; inline;
  4569. procedure setCHSHIF; inline;
  4570. procedure setCHTAIE; inline;
  4571. procedure setCHTAIF; inline;
  4572. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  4573. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  4574. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  4575. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  4576. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  4577. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  4578. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  4579. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  4580. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  4581. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  4582. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  4583. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  4584. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  4585. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  4586. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  4587. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  4588. property w : TBits_32 read getw write setw;
  4589. end;
  4590. type
  4591. TDMAC0Registers = record
  4592. DCH0CONbits : TDMAC0_DCH0CON;
  4593. DCH0CON : longWord;
  4594. DCH0CONCLR : longWord;
  4595. DCH0CONSET : longWord;
  4596. DCH0CONINV : longWord;
  4597. DCH0ECONbits : TDMAC0_DCH0ECON;
  4598. DCH0ECON : longWord;
  4599. DCH0ECONCLR : longWord;
  4600. DCH0ECONSET : longWord;
  4601. DCH0ECONINV : longWord;
  4602. DCH0INTbits : TDMAC0_DCH0INT;
  4603. DCH0INT : longWord;
  4604. DCH0INTCLR : longWord;
  4605. DCH0INTSET : longWord;
  4606. DCH0INTINV : longWord;
  4607. DCH0SSA : longWord;
  4608. DCH0SSACLR : longWord;
  4609. DCH0SSASET : longWord;
  4610. DCH0SSAINV : longWord;
  4611. DCH0DSA : longWord;
  4612. DCH0DSACLR : longWord;
  4613. DCH0DSASET : longWord;
  4614. DCH0DSAINV : longWord;
  4615. DCH0SSIZ : longWord;
  4616. DCH0SSIZCLR : longWord;
  4617. DCH0SSIZSET : longWord;
  4618. DCH0SSIZINV : longWord;
  4619. DCH0DSIZ : longWord;
  4620. DCH0DSIZCLR : longWord;
  4621. DCH0DSIZSET : longWord;
  4622. DCH0DSIZINV : longWord;
  4623. DCH0SPTR : longWord;
  4624. DCH0SPTRCLR : longWord;
  4625. DCH0SPTRSET : longWord;
  4626. DCH0SPTRINV : longWord;
  4627. DCH0DPTR : longWord;
  4628. DCH0DPTRCLR : longWord;
  4629. DCH0DPTRSET : longWord;
  4630. DCH0DPTRINV : longWord;
  4631. DCH0CSIZ : longWord;
  4632. DCH0CSIZCLR : longWord;
  4633. DCH0CSIZSET : longWord;
  4634. DCH0CSIZINV : longWord;
  4635. DCH0CPTR : longWord;
  4636. DCH0CPTRCLR : longWord;
  4637. DCH0CPTRSET : longWord;
  4638. DCH0CPTRINV : longWord;
  4639. DCH0DAT : longWord;
  4640. DCH0DATCLR : longWord;
  4641. DCH0DATSET : longWord;
  4642. DCH0DATINV : longWord;
  4643. end;
  4644. TDMAC1_DCH1CON = record
  4645. private
  4646. function getCHAED : TBits_1; inline;
  4647. function getCHAEN : TBits_1; inline;
  4648. function getCHCHN : TBits_1; inline;
  4649. function getCHCHNS : TBits_1; inline;
  4650. function getCHEDET : TBits_1; inline;
  4651. function getCHEN : TBits_1; inline;
  4652. function getCHPRI : TBits_2; inline;
  4653. function getw : TBits_32; inline;
  4654. procedure setCHAED(thebits : TBits_1); inline;
  4655. procedure setCHAEN(thebits : TBits_1); inline;
  4656. procedure setCHCHN(thebits : TBits_1); inline;
  4657. procedure setCHCHNS(thebits : TBits_1); inline;
  4658. procedure setCHEDET(thebits : TBits_1); inline;
  4659. procedure setCHEN(thebits : TBits_1); inline;
  4660. procedure setCHPRI(thebits : TBits_2); inline;
  4661. procedure setw(thebits : TBits_32); inline;
  4662. public
  4663. procedure clearCHAED; inline;
  4664. procedure clearCHAEN; inline;
  4665. procedure clearCHCHN; inline;
  4666. procedure clearCHCHNS; inline;
  4667. procedure clearCHEDET; inline;
  4668. procedure clearCHEN; inline;
  4669. procedure setCHAED; inline;
  4670. procedure setCHAEN; inline;
  4671. procedure setCHCHN; inline;
  4672. procedure setCHCHNS; inline;
  4673. procedure setCHEDET; inline;
  4674. procedure setCHEN; inline;
  4675. property CHAED : TBits_1 read getCHAED write setCHAED;
  4676. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  4677. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  4678. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  4679. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  4680. property CHEN : TBits_1 read getCHEN write setCHEN;
  4681. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  4682. property w : TBits_32 read getw write setw;
  4683. end;
  4684. TDMAC1_DCH1ECON = record
  4685. private
  4686. function getAIRQEN : TBits_1; inline;
  4687. function getCABORT : TBits_1; inline;
  4688. function getCFORCE : TBits_1; inline;
  4689. function getCHAIRQ : TBits_8; inline;
  4690. function getCHSIRQ : TBits_8; inline;
  4691. function getPATEN : TBits_1; inline;
  4692. function getSIRQEN : TBits_1; inline;
  4693. function getw : TBits_32; inline;
  4694. procedure setAIRQEN(thebits : TBits_1); inline;
  4695. procedure setCABORT(thebits : TBits_1); inline;
  4696. procedure setCFORCE(thebits : TBits_1); inline;
  4697. procedure setCHAIRQ(thebits : TBits_8); inline;
  4698. procedure setCHSIRQ(thebits : TBits_8); inline;
  4699. procedure setPATEN(thebits : TBits_1); inline;
  4700. procedure setSIRQEN(thebits : TBits_1); inline;
  4701. procedure setw(thebits : TBits_32); inline;
  4702. public
  4703. procedure clearAIRQEN; inline;
  4704. procedure clearCABORT; inline;
  4705. procedure clearCFORCE; inline;
  4706. procedure clearPATEN; inline;
  4707. procedure clearSIRQEN; inline;
  4708. procedure setAIRQEN; inline;
  4709. procedure setCABORT; inline;
  4710. procedure setCFORCE; inline;
  4711. procedure setPATEN; inline;
  4712. procedure setSIRQEN; inline;
  4713. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  4714. property CABORT : TBits_1 read getCABORT write setCABORT;
  4715. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  4716. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  4717. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  4718. property PATEN : TBits_1 read getPATEN write setPATEN;
  4719. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  4720. property w : TBits_32 read getw write setw;
  4721. end;
  4722. TDMAC1_DCH1INT = record
  4723. private
  4724. function getCHBCIE : TBits_1; inline;
  4725. function getCHBCIF : TBits_1; inline;
  4726. function getCHCCIE : TBits_1; inline;
  4727. function getCHCCIF : TBits_1; inline;
  4728. function getCHDDIE : TBits_1; inline;
  4729. function getCHDDIF : TBits_1; inline;
  4730. function getCHDHIE : TBits_1; inline;
  4731. function getCHDHIF : TBits_1; inline;
  4732. function getCHERIE : TBits_1; inline;
  4733. function getCHERIF : TBits_1; inline;
  4734. function getCHSDIE : TBits_1; inline;
  4735. function getCHSDIF : TBits_1; inline;
  4736. function getCHSHIE : TBits_1; inline;
  4737. function getCHSHIF : TBits_1; inline;
  4738. function getCHTAIE : TBits_1; inline;
  4739. function getCHTAIF : TBits_1; inline;
  4740. function getw : TBits_32; inline;
  4741. procedure setCHBCIE(thebits : TBits_1); inline;
  4742. procedure setCHBCIF(thebits : TBits_1); inline;
  4743. procedure setCHCCIE(thebits : TBits_1); inline;
  4744. procedure setCHCCIF(thebits : TBits_1); inline;
  4745. procedure setCHDDIE(thebits : TBits_1); inline;
  4746. procedure setCHDDIF(thebits : TBits_1); inline;
  4747. procedure setCHDHIE(thebits : TBits_1); inline;
  4748. procedure setCHDHIF(thebits : TBits_1); inline;
  4749. procedure setCHERIE(thebits : TBits_1); inline;
  4750. procedure setCHERIF(thebits : TBits_1); inline;
  4751. procedure setCHSDIE(thebits : TBits_1); inline;
  4752. procedure setCHSDIF(thebits : TBits_1); inline;
  4753. procedure setCHSHIE(thebits : TBits_1); inline;
  4754. procedure setCHSHIF(thebits : TBits_1); inline;
  4755. procedure setCHTAIE(thebits : TBits_1); inline;
  4756. procedure setCHTAIF(thebits : TBits_1); inline;
  4757. procedure setw(thebits : TBits_32); inline;
  4758. public
  4759. procedure clearCHBCIE; inline;
  4760. procedure clearCHBCIF; inline;
  4761. procedure clearCHCCIE; inline;
  4762. procedure clearCHCCIF; inline;
  4763. procedure clearCHDDIE; inline;
  4764. procedure clearCHDDIF; inline;
  4765. procedure clearCHDHIE; inline;
  4766. procedure clearCHDHIF; inline;
  4767. procedure clearCHERIE; inline;
  4768. procedure clearCHERIF; inline;
  4769. procedure clearCHSDIE; inline;
  4770. procedure clearCHSDIF; inline;
  4771. procedure clearCHSHIE; inline;
  4772. procedure clearCHSHIF; inline;
  4773. procedure clearCHTAIE; inline;
  4774. procedure clearCHTAIF; inline;
  4775. procedure setCHBCIE; inline;
  4776. procedure setCHBCIF; inline;
  4777. procedure setCHCCIE; inline;
  4778. procedure setCHCCIF; inline;
  4779. procedure setCHDDIE; inline;
  4780. procedure setCHDDIF; inline;
  4781. procedure setCHDHIE; inline;
  4782. procedure setCHDHIF; inline;
  4783. procedure setCHERIE; inline;
  4784. procedure setCHERIF; inline;
  4785. procedure setCHSDIE; inline;
  4786. procedure setCHSDIF; inline;
  4787. procedure setCHSHIE; inline;
  4788. procedure setCHSHIF; inline;
  4789. procedure setCHTAIE; inline;
  4790. procedure setCHTAIF; inline;
  4791. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  4792. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  4793. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  4794. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  4795. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  4796. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  4797. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  4798. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  4799. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  4800. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  4801. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  4802. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  4803. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  4804. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  4805. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  4806. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  4807. property w : TBits_32 read getw write setw;
  4808. end;
  4809. type
  4810. TDMAC1Registers = record
  4811. DCH1CONbits : TDMAC1_DCH1CON;
  4812. DCH1CON : longWord;
  4813. DCH1CONCLR : longWord;
  4814. DCH1CONSET : longWord;
  4815. DCH1CONINV : longWord;
  4816. DCH1ECONbits : TDMAC1_DCH1ECON;
  4817. DCH1ECON : longWord;
  4818. DCH1ECONCLR : longWord;
  4819. DCH1ECONSET : longWord;
  4820. DCH1ECONINV : longWord;
  4821. DCH1INTbits : TDMAC1_DCH1INT;
  4822. DCH1INT : longWord;
  4823. DCH1INTCLR : longWord;
  4824. DCH1INTSET : longWord;
  4825. DCH1INTINV : longWord;
  4826. DCH1SSA : longWord;
  4827. DCH1SSACLR : longWord;
  4828. DCH1SSASET : longWord;
  4829. DCH1SSAINV : longWord;
  4830. DCH1DSA : longWord;
  4831. DCH1DSACLR : longWord;
  4832. DCH1DSASET : longWord;
  4833. DCH1DSAINV : longWord;
  4834. DCH1SSIZ : longWord;
  4835. DCH1SSIZCLR : longWord;
  4836. DCH1SSIZSET : longWord;
  4837. DCH1SSIZINV : longWord;
  4838. DCH1DSIZ : longWord;
  4839. DCH1DSIZCLR : longWord;
  4840. DCH1DSIZSET : longWord;
  4841. DCH1DSIZINV : longWord;
  4842. DCH1SPTR : longWord;
  4843. DCH1SPTRCLR : longWord;
  4844. DCH1SPTRSET : longWord;
  4845. DCH1SPTRINV : longWord;
  4846. DCH1DPTR : longWord;
  4847. DCH1DPTRCLR : longWord;
  4848. DCH1DPTRSET : longWord;
  4849. DCH1DPTRINV : longWord;
  4850. DCH1CSIZ : longWord;
  4851. DCH1CSIZCLR : longWord;
  4852. DCH1CSIZSET : longWord;
  4853. DCH1CSIZINV : longWord;
  4854. DCH1CPTR : longWord;
  4855. DCH1CPTRCLR : longWord;
  4856. DCH1CPTRSET : longWord;
  4857. DCH1CPTRINV : longWord;
  4858. DCH1DAT : longWord;
  4859. DCH1DATCLR : longWord;
  4860. DCH1DATSET : longWord;
  4861. DCH1DATINV : longWord;
  4862. end;
  4863. TDMAC2_DCH2CON = record
  4864. private
  4865. function getCHAED : TBits_1; inline;
  4866. function getCHAEN : TBits_1; inline;
  4867. function getCHCHN : TBits_1; inline;
  4868. function getCHCHNS : TBits_1; inline;
  4869. function getCHEDET : TBits_1; inline;
  4870. function getCHEN : TBits_1; inline;
  4871. function getCHPRI : TBits_2; inline;
  4872. function getw : TBits_32; inline;
  4873. procedure setCHAED(thebits : TBits_1); inline;
  4874. procedure setCHAEN(thebits : TBits_1); inline;
  4875. procedure setCHCHN(thebits : TBits_1); inline;
  4876. procedure setCHCHNS(thebits : TBits_1); inline;
  4877. procedure setCHEDET(thebits : TBits_1); inline;
  4878. procedure setCHEN(thebits : TBits_1); inline;
  4879. procedure setCHPRI(thebits : TBits_2); inline;
  4880. procedure setw(thebits : TBits_32); inline;
  4881. public
  4882. procedure clearCHAED; inline;
  4883. procedure clearCHAEN; inline;
  4884. procedure clearCHCHN; inline;
  4885. procedure clearCHCHNS; inline;
  4886. procedure clearCHEDET; inline;
  4887. procedure clearCHEN; inline;
  4888. procedure setCHAED; inline;
  4889. procedure setCHAEN; inline;
  4890. procedure setCHCHN; inline;
  4891. procedure setCHCHNS; inline;
  4892. procedure setCHEDET; inline;
  4893. procedure setCHEN; inline;
  4894. property CHAED : TBits_1 read getCHAED write setCHAED;
  4895. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  4896. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  4897. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  4898. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  4899. property CHEN : TBits_1 read getCHEN write setCHEN;
  4900. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  4901. property w : TBits_32 read getw write setw;
  4902. end;
  4903. TDMAC2_DCH2ECON = record
  4904. private
  4905. function getAIRQEN : TBits_1; inline;
  4906. function getCABORT : TBits_1; inline;
  4907. function getCFORCE : TBits_1; inline;
  4908. function getCHAIRQ : TBits_8; inline;
  4909. function getCHSIRQ : TBits_8; inline;
  4910. function getPATEN : TBits_1; inline;
  4911. function getSIRQEN : TBits_1; inline;
  4912. function getw : TBits_32; inline;
  4913. procedure setAIRQEN(thebits : TBits_1); inline;
  4914. procedure setCABORT(thebits : TBits_1); inline;
  4915. procedure setCFORCE(thebits : TBits_1); inline;
  4916. procedure setCHAIRQ(thebits : TBits_8); inline;
  4917. procedure setCHSIRQ(thebits : TBits_8); inline;
  4918. procedure setPATEN(thebits : TBits_1); inline;
  4919. procedure setSIRQEN(thebits : TBits_1); inline;
  4920. procedure setw(thebits : TBits_32); inline;
  4921. public
  4922. procedure clearAIRQEN; inline;
  4923. procedure clearCABORT; inline;
  4924. procedure clearCFORCE; inline;
  4925. procedure clearPATEN; inline;
  4926. procedure clearSIRQEN; inline;
  4927. procedure setAIRQEN; inline;
  4928. procedure setCABORT; inline;
  4929. procedure setCFORCE; inline;
  4930. procedure setPATEN; inline;
  4931. procedure setSIRQEN; inline;
  4932. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  4933. property CABORT : TBits_1 read getCABORT write setCABORT;
  4934. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  4935. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  4936. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  4937. property PATEN : TBits_1 read getPATEN write setPATEN;
  4938. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  4939. property w : TBits_32 read getw write setw;
  4940. end;
  4941. TDMAC2_DCH2INT = record
  4942. private
  4943. function getCHBCIE : TBits_1; inline;
  4944. function getCHBCIF : TBits_1; inline;
  4945. function getCHCCIE : TBits_1; inline;
  4946. function getCHCCIF : TBits_1; inline;
  4947. function getCHDDIE : TBits_1; inline;
  4948. function getCHDDIF : TBits_1; inline;
  4949. function getCHDHIE : TBits_1; inline;
  4950. function getCHDHIF : TBits_1; inline;
  4951. function getCHERIE : TBits_1; inline;
  4952. function getCHERIF : TBits_1; inline;
  4953. function getCHSDIE : TBits_1; inline;
  4954. function getCHSDIF : TBits_1; inline;
  4955. function getCHSHIE : TBits_1; inline;
  4956. function getCHSHIF : TBits_1; inline;
  4957. function getCHTAIE : TBits_1; inline;
  4958. function getCHTAIF : TBits_1; inline;
  4959. function getw : TBits_32; inline;
  4960. procedure setCHBCIE(thebits : TBits_1); inline;
  4961. procedure setCHBCIF(thebits : TBits_1); inline;
  4962. procedure setCHCCIE(thebits : TBits_1); inline;
  4963. procedure setCHCCIF(thebits : TBits_1); inline;
  4964. procedure setCHDDIE(thebits : TBits_1); inline;
  4965. procedure setCHDDIF(thebits : TBits_1); inline;
  4966. procedure setCHDHIE(thebits : TBits_1); inline;
  4967. procedure setCHDHIF(thebits : TBits_1); inline;
  4968. procedure setCHERIE(thebits : TBits_1); inline;
  4969. procedure setCHERIF(thebits : TBits_1); inline;
  4970. procedure setCHSDIE(thebits : TBits_1); inline;
  4971. procedure setCHSDIF(thebits : TBits_1); inline;
  4972. procedure setCHSHIE(thebits : TBits_1); inline;
  4973. procedure setCHSHIF(thebits : TBits_1); inline;
  4974. procedure setCHTAIE(thebits : TBits_1); inline;
  4975. procedure setCHTAIF(thebits : TBits_1); inline;
  4976. procedure setw(thebits : TBits_32); inline;
  4977. public
  4978. procedure clearCHBCIE; inline;
  4979. procedure clearCHBCIF; inline;
  4980. procedure clearCHCCIE; inline;
  4981. procedure clearCHCCIF; inline;
  4982. procedure clearCHDDIE; inline;
  4983. procedure clearCHDDIF; inline;
  4984. procedure clearCHDHIE; inline;
  4985. procedure clearCHDHIF; inline;
  4986. procedure clearCHERIE; inline;
  4987. procedure clearCHERIF; inline;
  4988. procedure clearCHSDIE; inline;
  4989. procedure clearCHSDIF; inline;
  4990. procedure clearCHSHIE; inline;
  4991. procedure clearCHSHIF; inline;
  4992. procedure clearCHTAIE; inline;
  4993. procedure clearCHTAIF; inline;
  4994. procedure setCHBCIE; inline;
  4995. procedure setCHBCIF; inline;
  4996. procedure setCHCCIE; inline;
  4997. procedure setCHCCIF; inline;
  4998. procedure setCHDDIE; inline;
  4999. procedure setCHDDIF; inline;
  5000. procedure setCHDHIE; inline;
  5001. procedure setCHDHIF; inline;
  5002. procedure setCHERIE; inline;
  5003. procedure setCHERIF; inline;
  5004. procedure setCHSDIE; inline;
  5005. procedure setCHSDIF; inline;
  5006. procedure setCHSHIE; inline;
  5007. procedure setCHSHIF; inline;
  5008. procedure setCHTAIE; inline;
  5009. procedure setCHTAIF; inline;
  5010. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  5011. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  5012. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  5013. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  5014. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  5015. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  5016. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  5017. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  5018. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  5019. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  5020. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  5021. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  5022. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  5023. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  5024. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  5025. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  5026. property w : TBits_32 read getw write setw;
  5027. end;
  5028. type
  5029. TDMAC2Registers = record
  5030. DCH2CONbits : TDMAC2_DCH2CON;
  5031. DCH2CON : longWord;
  5032. DCH2CONCLR : longWord;
  5033. DCH2CONSET : longWord;
  5034. DCH2CONINV : longWord;
  5035. DCH2ECONbits : TDMAC2_DCH2ECON;
  5036. DCH2ECON : longWord;
  5037. DCH2ECONCLR : longWord;
  5038. DCH2ECONSET : longWord;
  5039. DCH2ECONINV : longWord;
  5040. DCH2INTbits : TDMAC2_DCH2INT;
  5041. DCH2INT : longWord;
  5042. DCH2INTCLR : longWord;
  5043. DCH2INTSET : longWord;
  5044. DCH2INTINV : longWord;
  5045. DCH2SSA : longWord;
  5046. DCH2SSACLR : longWord;
  5047. DCH2SSASET : longWord;
  5048. DCH2SSAINV : longWord;
  5049. DCH2DSA : longWord;
  5050. DCH2DSACLR : longWord;
  5051. DCH2DSASET : longWord;
  5052. DCH2DSAINV : longWord;
  5053. DCH2SSIZ : longWord;
  5054. DCH2SSIZCLR : longWord;
  5055. DCH2SSIZSET : longWord;
  5056. DCH2SSIZINV : longWord;
  5057. DCH2DSIZ : longWord;
  5058. DCH2DSIZCLR : longWord;
  5059. DCH2DSIZSET : longWord;
  5060. DCH2DSIZINV : longWord;
  5061. DCH2SPTR : longWord;
  5062. DCH2SPTRCLR : longWord;
  5063. DCH2SPTRSET : longWord;
  5064. DCH2SPTRINV : longWord;
  5065. DCH2DPTR : longWord;
  5066. DCH2DPTRCLR : longWord;
  5067. DCH2DPTRSET : longWord;
  5068. DCH2DPTRINV : longWord;
  5069. DCH2CSIZ : longWord;
  5070. DCH2CSIZCLR : longWord;
  5071. DCH2CSIZSET : longWord;
  5072. DCH2CSIZINV : longWord;
  5073. DCH2CPTR : longWord;
  5074. DCH2CPTRCLR : longWord;
  5075. DCH2CPTRSET : longWord;
  5076. DCH2CPTRINV : longWord;
  5077. DCH2DAT : longWord;
  5078. DCH2DATCLR : longWord;
  5079. DCH2DATSET : longWord;
  5080. DCH2DATINV : longWord;
  5081. end;
  5082. TDMAC3_DCH3CON = record
  5083. private
  5084. function getCHAED : TBits_1; inline;
  5085. function getCHAEN : TBits_1; inline;
  5086. function getCHCHN : TBits_1; inline;
  5087. function getCHCHNS : TBits_1; inline;
  5088. function getCHEDET : TBits_1; inline;
  5089. function getCHEN : TBits_1; inline;
  5090. function getCHPRI : TBits_2; inline;
  5091. function getw : TBits_32; inline;
  5092. procedure setCHAED(thebits : TBits_1); inline;
  5093. procedure setCHAEN(thebits : TBits_1); inline;
  5094. procedure setCHCHN(thebits : TBits_1); inline;
  5095. procedure setCHCHNS(thebits : TBits_1); inline;
  5096. procedure setCHEDET(thebits : TBits_1); inline;
  5097. procedure setCHEN(thebits : TBits_1); inline;
  5098. procedure setCHPRI(thebits : TBits_2); inline;
  5099. procedure setw(thebits : TBits_32); inline;
  5100. public
  5101. procedure clearCHAED; inline;
  5102. procedure clearCHAEN; inline;
  5103. procedure clearCHCHN; inline;
  5104. procedure clearCHCHNS; inline;
  5105. procedure clearCHEDET; inline;
  5106. procedure clearCHEN; inline;
  5107. procedure setCHAED; inline;
  5108. procedure setCHAEN; inline;
  5109. procedure setCHCHN; inline;
  5110. procedure setCHCHNS; inline;
  5111. procedure setCHEDET; inline;
  5112. procedure setCHEN; inline;
  5113. property CHAED : TBits_1 read getCHAED write setCHAED;
  5114. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  5115. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  5116. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  5117. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  5118. property CHEN : TBits_1 read getCHEN write setCHEN;
  5119. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  5120. property w : TBits_32 read getw write setw;
  5121. end;
  5122. TDMAC3_DCH3ECON = record
  5123. private
  5124. function getAIRQEN : TBits_1; inline;
  5125. function getCABORT : TBits_1; inline;
  5126. function getCFORCE : TBits_1; inline;
  5127. function getCHAIRQ : TBits_8; inline;
  5128. function getCHSIRQ : TBits_8; inline;
  5129. function getPATEN : TBits_1; inline;
  5130. function getSIRQEN : TBits_1; inline;
  5131. function getw : TBits_32; inline;
  5132. procedure setAIRQEN(thebits : TBits_1); inline;
  5133. procedure setCABORT(thebits : TBits_1); inline;
  5134. procedure setCFORCE(thebits : TBits_1); inline;
  5135. procedure setCHAIRQ(thebits : TBits_8); inline;
  5136. procedure setCHSIRQ(thebits : TBits_8); inline;
  5137. procedure setPATEN(thebits : TBits_1); inline;
  5138. procedure setSIRQEN(thebits : TBits_1); inline;
  5139. procedure setw(thebits : TBits_32); inline;
  5140. public
  5141. procedure clearAIRQEN; inline;
  5142. procedure clearCABORT; inline;
  5143. procedure clearCFORCE; inline;
  5144. procedure clearPATEN; inline;
  5145. procedure clearSIRQEN; inline;
  5146. procedure setAIRQEN; inline;
  5147. procedure setCABORT; inline;
  5148. procedure setCFORCE; inline;
  5149. procedure setPATEN; inline;
  5150. procedure setSIRQEN; inline;
  5151. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  5152. property CABORT : TBits_1 read getCABORT write setCABORT;
  5153. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  5154. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  5155. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  5156. property PATEN : TBits_1 read getPATEN write setPATEN;
  5157. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  5158. property w : TBits_32 read getw write setw;
  5159. end;
  5160. TDMAC3_DCH3INT = record
  5161. private
  5162. function getCHBCIE : TBits_1; inline;
  5163. function getCHBCIF : TBits_1; inline;
  5164. function getCHCCIE : TBits_1; inline;
  5165. function getCHCCIF : TBits_1; inline;
  5166. function getCHDDIE : TBits_1; inline;
  5167. function getCHDDIF : TBits_1; inline;
  5168. function getCHDHIE : TBits_1; inline;
  5169. function getCHDHIF : TBits_1; inline;
  5170. function getCHERIE : TBits_1; inline;
  5171. function getCHERIF : TBits_1; inline;
  5172. function getCHSDIE : TBits_1; inline;
  5173. function getCHSDIF : TBits_1; inline;
  5174. function getCHSHIE : TBits_1; inline;
  5175. function getCHSHIF : TBits_1; inline;
  5176. function getCHTAIE : TBits_1; inline;
  5177. function getCHTAIF : TBits_1; inline;
  5178. function getw : TBits_32; inline;
  5179. procedure setCHBCIE(thebits : TBits_1); inline;
  5180. procedure setCHBCIF(thebits : TBits_1); inline;
  5181. procedure setCHCCIE(thebits : TBits_1); inline;
  5182. procedure setCHCCIF(thebits : TBits_1); inline;
  5183. procedure setCHDDIE(thebits : TBits_1); inline;
  5184. procedure setCHDDIF(thebits : TBits_1); inline;
  5185. procedure setCHDHIE(thebits : TBits_1); inline;
  5186. procedure setCHDHIF(thebits : TBits_1); inline;
  5187. procedure setCHERIE(thebits : TBits_1); inline;
  5188. procedure setCHERIF(thebits : TBits_1); inline;
  5189. procedure setCHSDIE(thebits : TBits_1); inline;
  5190. procedure setCHSDIF(thebits : TBits_1); inline;
  5191. procedure setCHSHIE(thebits : TBits_1); inline;
  5192. procedure setCHSHIF(thebits : TBits_1); inline;
  5193. procedure setCHTAIE(thebits : TBits_1); inline;
  5194. procedure setCHTAIF(thebits : TBits_1); inline;
  5195. procedure setw(thebits : TBits_32); inline;
  5196. public
  5197. procedure clearCHBCIE; inline;
  5198. procedure clearCHBCIF; inline;
  5199. procedure clearCHCCIE; inline;
  5200. procedure clearCHCCIF; inline;
  5201. procedure clearCHDDIE; inline;
  5202. procedure clearCHDDIF; inline;
  5203. procedure clearCHDHIE; inline;
  5204. procedure clearCHDHIF; inline;
  5205. procedure clearCHERIE; inline;
  5206. procedure clearCHERIF; inline;
  5207. procedure clearCHSDIE; inline;
  5208. procedure clearCHSDIF; inline;
  5209. procedure clearCHSHIE; inline;
  5210. procedure clearCHSHIF; inline;
  5211. procedure clearCHTAIE; inline;
  5212. procedure clearCHTAIF; inline;
  5213. procedure setCHBCIE; inline;
  5214. procedure setCHBCIF; inline;
  5215. procedure setCHCCIE; inline;
  5216. procedure setCHCCIF; inline;
  5217. procedure setCHDDIE; inline;
  5218. procedure setCHDDIF; inline;
  5219. procedure setCHDHIE; inline;
  5220. procedure setCHDHIF; inline;
  5221. procedure setCHERIE; inline;
  5222. procedure setCHERIF; inline;
  5223. procedure setCHSDIE; inline;
  5224. procedure setCHSDIF; inline;
  5225. procedure setCHSHIE; inline;
  5226. procedure setCHSHIF; inline;
  5227. procedure setCHTAIE; inline;
  5228. procedure setCHTAIF; inline;
  5229. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  5230. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  5231. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  5232. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  5233. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  5234. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  5235. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  5236. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  5237. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  5238. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  5239. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  5240. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  5241. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  5242. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  5243. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  5244. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  5245. property w : TBits_32 read getw write setw;
  5246. end;
  5247. type
  5248. TDMAC3Registers = record
  5249. DCH3CONbits : TDMAC3_DCH3CON;
  5250. DCH3CON : longWord;
  5251. DCH3CONCLR : longWord;
  5252. DCH3CONSET : longWord;
  5253. DCH3CONINV : longWord;
  5254. DCH3ECONbits : TDMAC3_DCH3ECON;
  5255. DCH3ECON : longWord;
  5256. DCH3ECONCLR : longWord;
  5257. DCH3ECONSET : longWord;
  5258. DCH3ECONINV : longWord;
  5259. DCH3INTbits : TDMAC3_DCH3INT;
  5260. DCH3INT : longWord;
  5261. DCH3INTCLR : longWord;
  5262. DCH3INTSET : longWord;
  5263. DCH3INTINV : longWord;
  5264. DCH3SSA : longWord;
  5265. DCH3SSACLR : longWord;
  5266. DCH3SSASET : longWord;
  5267. DCH3SSAINV : longWord;
  5268. DCH3DSA : longWord;
  5269. DCH3DSACLR : longWord;
  5270. DCH3DSASET : longWord;
  5271. DCH3DSAINV : longWord;
  5272. DCH3SSIZ : longWord;
  5273. DCH3SSIZCLR : longWord;
  5274. DCH3SSIZSET : longWord;
  5275. DCH3SSIZINV : longWord;
  5276. DCH3DSIZ : longWord;
  5277. DCH3DSIZCLR : longWord;
  5278. DCH3DSIZSET : longWord;
  5279. DCH3DSIZINV : longWord;
  5280. DCH3SPTR : longWord;
  5281. DCH3SPTRCLR : longWord;
  5282. DCH3SPTRSET : longWord;
  5283. DCH3SPTRINV : longWord;
  5284. DCH3DPTR : longWord;
  5285. DCH3DPTRCLR : longWord;
  5286. DCH3DPTRSET : longWord;
  5287. DCH3DPTRINV : longWord;
  5288. DCH3CSIZ : longWord;
  5289. DCH3CSIZCLR : longWord;
  5290. DCH3CSIZSET : longWord;
  5291. DCH3CSIZINV : longWord;
  5292. DCH3CPTR : longWord;
  5293. DCH3CPTRCLR : longWord;
  5294. DCH3CPTRSET : longWord;
  5295. DCH3CPTRINV : longWord;
  5296. DCH3DAT : longWord;
  5297. DCH3DATCLR : longWord;
  5298. DCH3DATSET : longWord;
  5299. DCH3DATINV : longWord;
  5300. end;
  5301. TPCACHE_CHECON = record
  5302. private
  5303. function getCHECOH : TBits_1; inline;
  5304. function getDCSZ : TBits_2; inline;
  5305. function getPFMWS : TBits_3; inline;
  5306. function getPREFEN : TBits_2; inline;
  5307. function getw : TBits_32; inline;
  5308. procedure setCHECOH(thebits : TBits_1); inline;
  5309. procedure setDCSZ(thebits : TBits_2); inline;
  5310. procedure setPFMWS(thebits : TBits_3); inline;
  5311. procedure setPREFEN(thebits : TBits_2); inline;
  5312. procedure setw(thebits : TBits_32); inline;
  5313. public
  5314. procedure clearCHECOH; inline;
  5315. procedure setCHECOH; inline;
  5316. property CHECOH : TBits_1 read getCHECOH write setCHECOH;
  5317. property DCSZ : TBits_2 read getDCSZ write setDCSZ;
  5318. property PFMWS : TBits_3 read getPFMWS write setPFMWS;
  5319. property PREFEN : TBits_2 read getPREFEN write setPREFEN;
  5320. property w : TBits_32 read getw write setw;
  5321. end;
  5322. TPCACHE_CHETAG = record
  5323. private
  5324. function getLLOCK : TBits_1; inline;
  5325. function getLTAG : TBits_20; inline;
  5326. function getLTAGBOOT : TBits_1; inline;
  5327. function getLTYPE : TBits_1; inline;
  5328. function getLVALID : TBits_1; inline;
  5329. function getw : TBits_32; inline;
  5330. procedure setLLOCK(thebits : TBits_1); inline;
  5331. procedure setLTAG(thebits : TBits_20); inline;
  5332. procedure setLTAGBOOT(thebits : TBits_1); inline;
  5333. procedure setLTYPE(thebits : TBits_1); inline;
  5334. procedure setLVALID(thebits : TBits_1); inline;
  5335. procedure setw(thebits : TBits_32); inline;
  5336. public
  5337. procedure clearLLOCK; inline;
  5338. procedure clearLTAGBOOT; inline;
  5339. procedure clearLTYPE; inline;
  5340. procedure clearLVALID; inline;
  5341. procedure setLLOCK; inline;
  5342. procedure setLTAGBOOT; inline;
  5343. procedure setLTYPE; inline;
  5344. procedure setLVALID; inline;
  5345. property LLOCK : TBits_1 read getLLOCK write setLLOCK;
  5346. property LTAG : TBits_20 read getLTAG write setLTAG;
  5347. property LTAGBOOT : TBits_1 read getLTAGBOOT write setLTAGBOOT;
  5348. property LTYPE : TBits_1 read getLTYPE write setLTYPE;
  5349. property LVALID : TBits_1 read getLVALID write setLVALID;
  5350. property w : TBits_32 read getw write setw;
  5351. end;
  5352. type
  5353. TPCACHERegisters = record
  5354. CHECONbits : TPCACHE_CHECON;
  5355. CHECON : longWord;
  5356. CHECONCLR : longWord;
  5357. CHECONSET : longWord;
  5358. CHECONINV : longWord;
  5359. CHEACC : longWord;
  5360. CHEACCCLR : longWord;
  5361. CHEACCSET : longWord;
  5362. CHEACCINV : longWord;
  5363. CHETAGbits : TPCACHE_CHETAG;
  5364. CHETAG : longWord;
  5365. CHETAGCLR : longWord;
  5366. CHETAGSET : longWord;
  5367. CHETAGINV : longWord;
  5368. CHEMSK : longWord;
  5369. CHEMSKCLR : longWord;
  5370. CHEMSKSET : longWord;
  5371. CHEMSKINV : longWord;
  5372. CHEW0 : longWord;
  5373. CHEW1 : longWord;
  5374. CHEW2 : longWord;
  5375. CHEW3 : longWord;
  5376. CHELRU : longWord;
  5377. CHEHIT : longWord;
  5378. CHEMIS : longWord;
  5379. CHEPFABT : longWord;
  5380. end;
  5381. TPORTB_TRISB = record
  5382. private
  5383. function getTRISB0 : TBits_1; inline;
  5384. function getTRISB1 : TBits_1; inline;
  5385. function getTRISB10 : TBits_1; inline;
  5386. function getTRISB11 : TBits_1; inline;
  5387. function getTRISB12 : TBits_1; inline;
  5388. function getTRISB13 : TBits_1; inline;
  5389. function getTRISB14 : TBits_1; inline;
  5390. function getTRISB15 : TBits_1; inline;
  5391. function getTRISB2 : TBits_1; inline;
  5392. function getTRISB3 : TBits_1; inline;
  5393. function getTRISB4 : TBits_1; inline;
  5394. function getTRISB5 : TBits_1; inline;
  5395. function getTRISB6 : TBits_1; inline;
  5396. function getTRISB7 : TBits_1; inline;
  5397. function getTRISB8 : TBits_1; inline;
  5398. function getTRISB9 : TBits_1; inline;
  5399. function getw : TBits_32; inline;
  5400. procedure setTRISB0(thebits : TBits_1); inline;
  5401. procedure setTRISB1(thebits : TBits_1); inline;
  5402. procedure setTRISB10(thebits : TBits_1); inline;
  5403. procedure setTRISB11(thebits : TBits_1); inline;
  5404. procedure setTRISB12(thebits : TBits_1); inline;
  5405. procedure setTRISB13(thebits : TBits_1); inline;
  5406. procedure setTRISB14(thebits : TBits_1); inline;
  5407. procedure setTRISB15(thebits : TBits_1); inline;
  5408. procedure setTRISB2(thebits : TBits_1); inline;
  5409. procedure setTRISB3(thebits : TBits_1); inline;
  5410. procedure setTRISB4(thebits : TBits_1); inline;
  5411. procedure setTRISB5(thebits : TBits_1); inline;
  5412. procedure setTRISB6(thebits : TBits_1); inline;
  5413. procedure setTRISB7(thebits : TBits_1); inline;
  5414. procedure setTRISB8(thebits : TBits_1); inline;
  5415. procedure setTRISB9(thebits : TBits_1); inline;
  5416. procedure setw(thebits : TBits_32); inline;
  5417. public
  5418. procedure clearTRISB0; inline;
  5419. procedure clearTRISB10; inline;
  5420. procedure clearTRISB11; inline;
  5421. procedure clearTRISB12; inline;
  5422. procedure clearTRISB13; inline;
  5423. procedure clearTRISB14; inline;
  5424. procedure clearTRISB15; inline;
  5425. procedure clearTRISB1; inline;
  5426. procedure clearTRISB2; inline;
  5427. procedure clearTRISB3; inline;
  5428. procedure clearTRISB4; inline;
  5429. procedure clearTRISB5; inline;
  5430. procedure clearTRISB6; inline;
  5431. procedure clearTRISB7; inline;
  5432. procedure clearTRISB8; inline;
  5433. procedure clearTRISB9; inline;
  5434. procedure setTRISB0; inline;
  5435. procedure setTRISB10; inline;
  5436. procedure setTRISB11; inline;
  5437. procedure setTRISB12; inline;
  5438. procedure setTRISB13; inline;
  5439. procedure setTRISB14; inline;
  5440. procedure setTRISB15; inline;
  5441. procedure setTRISB1; inline;
  5442. procedure setTRISB2; inline;
  5443. procedure setTRISB3; inline;
  5444. procedure setTRISB4; inline;
  5445. procedure setTRISB5; inline;
  5446. procedure setTRISB6; inline;
  5447. procedure setTRISB7; inline;
  5448. procedure setTRISB8; inline;
  5449. procedure setTRISB9; inline;
  5450. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  5451. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  5452. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  5453. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  5454. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  5455. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  5456. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  5457. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  5458. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  5459. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  5460. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  5461. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  5462. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  5463. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  5464. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  5465. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  5466. property w : TBits_32 read getw write setw;
  5467. end;
  5468. TPORTB_PORTB = record
  5469. private
  5470. function getRB0 : TBits_1; inline;
  5471. function getRB1 : TBits_1; inline;
  5472. function getRB10 : TBits_1; inline;
  5473. function getRB11 : TBits_1; inline;
  5474. function getRB12 : TBits_1; inline;
  5475. function getRB13 : TBits_1; inline;
  5476. function getRB14 : TBits_1; inline;
  5477. function getRB15 : TBits_1; inline;
  5478. function getRB2 : TBits_1; inline;
  5479. function getRB3 : TBits_1; inline;
  5480. function getRB4 : TBits_1; inline;
  5481. function getRB5 : TBits_1; inline;
  5482. function getRB6 : TBits_1; inline;
  5483. function getRB7 : TBits_1; inline;
  5484. function getRB8 : TBits_1; inline;
  5485. function getRB9 : TBits_1; inline;
  5486. function getw : TBits_32; inline;
  5487. procedure setRB0(thebits : TBits_1); inline;
  5488. procedure setRB1(thebits : TBits_1); inline;
  5489. procedure setRB10(thebits : TBits_1); inline;
  5490. procedure setRB11(thebits : TBits_1); inline;
  5491. procedure setRB12(thebits : TBits_1); inline;
  5492. procedure setRB13(thebits : TBits_1); inline;
  5493. procedure setRB14(thebits : TBits_1); inline;
  5494. procedure setRB15(thebits : TBits_1); inline;
  5495. procedure setRB2(thebits : TBits_1); inline;
  5496. procedure setRB3(thebits : TBits_1); inline;
  5497. procedure setRB4(thebits : TBits_1); inline;
  5498. procedure setRB5(thebits : TBits_1); inline;
  5499. procedure setRB6(thebits : TBits_1); inline;
  5500. procedure setRB7(thebits : TBits_1); inline;
  5501. procedure setRB8(thebits : TBits_1); inline;
  5502. procedure setRB9(thebits : TBits_1); inline;
  5503. procedure setw(thebits : TBits_32); inline;
  5504. public
  5505. procedure clearRB0; inline;
  5506. procedure clearRB10; inline;
  5507. procedure clearRB11; inline;
  5508. procedure clearRB12; inline;
  5509. procedure clearRB13; inline;
  5510. procedure clearRB14; inline;
  5511. procedure clearRB15; inline;
  5512. procedure clearRB1; inline;
  5513. procedure clearRB2; inline;
  5514. procedure clearRB3; inline;
  5515. procedure clearRB4; inline;
  5516. procedure clearRB5; inline;
  5517. procedure clearRB6; inline;
  5518. procedure clearRB7; inline;
  5519. procedure clearRB8; inline;
  5520. procedure clearRB9; inline;
  5521. procedure setRB0; inline;
  5522. procedure setRB10; inline;
  5523. procedure setRB11; inline;
  5524. procedure setRB12; inline;
  5525. procedure setRB13; inline;
  5526. procedure setRB14; inline;
  5527. procedure setRB15; inline;
  5528. procedure setRB1; inline;
  5529. procedure setRB2; inline;
  5530. procedure setRB3; inline;
  5531. procedure setRB4; inline;
  5532. procedure setRB5; inline;
  5533. procedure setRB6; inline;
  5534. procedure setRB7; inline;
  5535. procedure setRB8; inline;
  5536. procedure setRB9; inline;
  5537. property RB0 : TBits_1 read getRB0 write setRB0;
  5538. property RB1 : TBits_1 read getRB1 write setRB1;
  5539. property RB10 : TBits_1 read getRB10 write setRB10;
  5540. property RB11 : TBits_1 read getRB11 write setRB11;
  5541. property RB12 : TBits_1 read getRB12 write setRB12;
  5542. property RB13 : TBits_1 read getRB13 write setRB13;
  5543. property RB14 : TBits_1 read getRB14 write setRB14;
  5544. property RB15 : TBits_1 read getRB15 write setRB15;
  5545. property RB2 : TBits_1 read getRB2 write setRB2;
  5546. property RB3 : TBits_1 read getRB3 write setRB3;
  5547. property RB4 : TBits_1 read getRB4 write setRB4;
  5548. property RB5 : TBits_1 read getRB5 write setRB5;
  5549. property RB6 : TBits_1 read getRB6 write setRB6;
  5550. property RB7 : TBits_1 read getRB7 write setRB7;
  5551. property RB8 : TBits_1 read getRB8 write setRB8;
  5552. property RB9 : TBits_1 read getRB9 write setRB9;
  5553. property w : TBits_32 read getw write setw;
  5554. end;
  5555. TPortB_bits=(RB0=0,RB1=1,RB2=2,RB3=3,RB4=4,RB5=5,RB6=6,RB7=7,RB8=8,RB9=9,RB10=10,RB11=11,RB12=12,RB13=13,RB14=14,RB15=15);
  5556. TPortB_bitset = set of TPortB_bits;
  5557. TPORTB_LATB = record
  5558. private
  5559. function getLATB0 : TBits_1; inline;
  5560. function getLATB1 : TBits_1; inline;
  5561. function getLATB10 : TBits_1; inline;
  5562. function getLATB11 : TBits_1; inline;
  5563. function getLATB12 : TBits_1; inline;
  5564. function getLATB13 : TBits_1; inline;
  5565. function getLATB14 : TBits_1; inline;
  5566. function getLATB15 : TBits_1; inline;
  5567. function getLATB2 : TBits_1; inline;
  5568. function getLATB3 : TBits_1; inline;
  5569. function getLATB4 : TBits_1; inline;
  5570. function getLATB5 : TBits_1; inline;
  5571. function getLATB6 : TBits_1; inline;
  5572. function getLATB7 : TBits_1; inline;
  5573. function getLATB8 : TBits_1; inline;
  5574. function getLATB9 : TBits_1; inline;
  5575. function getw : TBits_32; inline;
  5576. procedure setLATB0(thebits : TBits_1); inline;
  5577. procedure setLATB1(thebits : TBits_1); inline;
  5578. procedure setLATB10(thebits : TBits_1); inline;
  5579. procedure setLATB11(thebits : TBits_1); inline;
  5580. procedure setLATB12(thebits : TBits_1); inline;
  5581. procedure setLATB13(thebits : TBits_1); inline;
  5582. procedure setLATB14(thebits : TBits_1); inline;
  5583. procedure setLATB15(thebits : TBits_1); inline;
  5584. procedure setLATB2(thebits : TBits_1); inline;
  5585. procedure setLATB3(thebits : TBits_1); inline;
  5586. procedure setLATB4(thebits : TBits_1); inline;
  5587. procedure setLATB5(thebits : TBits_1); inline;
  5588. procedure setLATB6(thebits : TBits_1); inline;
  5589. procedure setLATB7(thebits : TBits_1); inline;
  5590. procedure setLATB8(thebits : TBits_1); inline;
  5591. procedure setLATB9(thebits : TBits_1); inline;
  5592. procedure setw(thebits : TBits_32); inline;
  5593. public
  5594. procedure clearLATB0; inline;
  5595. procedure clearLATB10; inline;
  5596. procedure clearLATB11; inline;
  5597. procedure clearLATB12; inline;
  5598. procedure clearLATB13; inline;
  5599. procedure clearLATB14; inline;
  5600. procedure clearLATB15; inline;
  5601. procedure clearLATB1; inline;
  5602. procedure clearLATB2; inline;
  5603. procedure clearLATB3; inline;
  5604. procedure clearLATB4; inline;
  5605. procedure clearLATB5; inline;
  5606. procedure clearLATB6; inline;
  5607. procedure clearLATB7; inline;
  5608. procedure clearLATB8; inline;
  5609. procedure clearLATB9; inline;
  5610. procedure setLATB0; inline;
  5611. procedure setLATB10; inline;
  5612. procedure setLATB11; inline;
  5613. procedure setLATB12; inline;
  5614. procedure setLATB13; inline;
  5615. procedure setLATB14; inline;
  5616. procedure setLATB15; inline;
  5617. procedure setLATB1; inline;
  5618. procedure setLATB2; inline;
  5619. procedure setLATB3; inline;
  5620. procedure setLATB4; inline;
  5621. procedure setLATB5; inline;
  5622. procedure setLATB6; inline;
  5623. procedure setLATB7; inline;
  5624. procedure setLATB8; inline;
  5625. procedure setLATB9; inline;
  5626. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  5627. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  5628. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  5629. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  5630. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  5631. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  5632. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  5633. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  5634. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  5635. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  5636. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  5637. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  5638. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  5639. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  5640. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  5641. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  5642. property w : TBits_32 read getw write setw;
  5643. end;
  5644. TPORTB_ODCB = record
  5645. private
  5646. function getODCB0 : TBits_1; inline;
  5647. function getODCB1 : TBits_1; inline;
  5648. function getODCB10 : TBits_1; inline;
  5649. function getODCB11 : TBits_1; inline;
  5650. function getODCB12 : TBits_1; inline;
  5651. function getODCB13 : TBits_1; inline;
  5652. function getODCB14 : TBits_1; inline;
  5653. function getODCB15 : TBits_1; inline;
  5654. function getODCB2 : TBits_1; inline;
  5655. function getODCB3 : TBits_1; inline;
  5656. function getODCB4 : TBits_1; inline;
  5657. function getODCB5 : TBits_1; inline;
  5658. function getODCB6 : TBits_1; inline;
  5659. function getODCB7 : TBits_1; inline;
  5660. function getODCB8 : TBits_1; inline;
  5661. function getODCB9 : TBits_1; inline;
  5662. function getw : TBits_32; inline;
  5663. procedure setODCB0(thebits : TBits_1); inline;
  5664. procedure setODCB1(thebits : TBits_1); inline;
  5665. procedure setODCB10(thebits : TBits_1); inline;
  5666. procedure setODCB11(thebits : TBits_1); inline;
  5667. procedure setODCB12(thebits : TBits_1); inline;
  5668. procedure setODCB13(thebits : TBits_1); inline;
  5669. procedure setODCB14(thebits : TBits_1); inline;
  5670. procedure setODCB15(thebits : TBits_1); inline;
  5671. procedure setODCB2(thebits : TBits_1); inline;
  5672. procedure setODCB3(thebits : TBits_1); inline;
  5673. procedure setODCB4(thebits : TBits_1); inline;
  5674. procedure setODCB5(thebits : TBits_1); inline;
  5675. procedure setODCB6(thebits : TBits_1); inline;
  5676. procedure setODCB7(thebits : TBits_1); inline;
  5677. procedure setODCB8(thebits : TBits_1); inline;
  5678. procedure setODCB9(thebits : TBits_1); inline;
  5679. procedure setw(thebits : TBits_32); inline;
  5680. public
  5681. procedure clearODCB0; inline;
  5682. procedure clearODCB10; inline;
  5683. procedure clearODCB11; inline;
  5684. procedure clearODCB12; inline;
  5685. procedure clearODCB13; inline;
  5686. procedure clearODCB14; inline;
  5687. procedure clearODCB15; inline;
  5688. procedure clearODCB1; inline;
  5689. procedure clearODCB2; inline;
  5690. procedure clearODCB3; inline;
  5691. procedure clearODCB4; inline;
  5692. procedure clearODCB5; inline;
  5693. procedure clearODCB6; inline;
  5694. procedure clearODCB7; inline;
  5695. procedure clearODCB8; inline;
  5696. procedure clearODCB9; inline;
  5697. procedure setODCB0; inline;
  5698. procedure setODCB10; inline;
  5699. procedure setODCB11; inline;
  5700. procedure setODCB12; inline;
  5701. procedure setODCB13; inline;
  5702. procedure setODCB14; inline;
  5703. procedure setODCB15; inline;
  5704. procedure setODCB1; inline;
  5705. procedure setODCB2; inline;
  5706. procedure setODCB3; inline;
  5707. procedure setODCB4; inline;
  5708. procedure setODCB5; inline;
  5709. procedure setODCB6; inline;
  5710. procedure setODCB7; inline;
  5711. procedure setODCB8; inline;
  5712. procedure setODCB9; inline;
  5713. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  5714. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  5715. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  5716. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  5717. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  5718. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  5719. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  5720. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  5721. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  5722. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  5723. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  5724. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  5725. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  5726. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  5727. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  5728. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  5729. property w : TBits_32 read getw write setw;
  5730. end;
  5731. type
  5732. TPORTBRegisters = record
  5733. TRISBbits : TPORTB_TRISB;
  5734. TRISB : longWord;
  5735. TRISBCLR : longWord;
  5736. TRISBSET : longWord;
  5737. TRISBINV : longWord;
  5738. PORTBbits : TPORTB_PORTB;
  5739. PORTB : longWord;
  5740. PORTBCLR : longWord;
  5741. PORTBSET : longWord;
  5742. PORTBINV : longWord;
  5743. LATBbits : TPORTB_LATB;
  5744. LATB : longWord;
  5745. LATBCLR : longWord;
  5746. LATBSET : longWord;
  5747. LATBINV : longWord;
  5748. ODCBbits : TPORTB_ODCB;
  5749. ODCB : longWord;
  5750. ODCBCLR : longWord;
  5751. ODCBSET : longWord;
  5752. ODCBINV : longWord;
  5753. end;
  5754. TPORTC_TRISC = record
  5755. private
  5756. function getTRISC12 : TBits_1; inline;
  5757. function getTRISC13 : TBits_1; inline;
  5758. function getTRISC14 : TBits_1; inline;
  5759. function getTRISC15 : TBits_1; inline;
  5760. function getw : TBits_32; inline;
  5761. procedure setTRISC12(thebits : TBits_1); inline;
  5762. procedure setTRISC13(thebits : TBits_1); inline;
  5763. procedure setTRISC14(thebits : TBits_1); inline;
  5764. procedure setTRISC15(thebits : TBits_1); inline;
  5765. procedure setw(thebits : TBits_32); inline;
  5766. public
  5767. procedure clearTRISC12; inline;
  5768. procedure clearTRISC13; inline;
  5769. procedure clearTRISC14; inline;
  5770. procedure clearTRISC15; inline;
  5771. procedure setTRISC12; inline;
  5772. procedure setTRISC13; inline;
  5773. procedure setTRISC14; inline;
  5774. procedure setTRISC15; inline;
  5775. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  5776. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  5777. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  5778. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  5779. property w : TBits_32 read getw write setw;
  5780. end;
  5781. TPORTC_PORTC = record
  5782. private
  5783. function getRC12 : TBits_1; inline;
  5784. function getRC13 : TBits_1; inline;
  5785. function getRC14 : TBits_1; inline;
  5786. function getRC15 : TBits_1; inline;
  5787. function getw : TBits_32; inline;
  5788. procedure setRC12(thebits : TBits_1); inline;
  5789. procedure setRC13(thebits : TBits_1); inline;
  5790. procedure setRC14(thebits : TBits_1); inline;
  5791. procedure setRC15(thebits : TBits_1); inline;
  5792. procedure setw(thebits : TBits_32); inline;
  5793. public
  5794. procedure clearRC12; inline;
  5795. procedure clearRC13; inline;
  5796. procedure clearRC14; inline;
  5797. procedure clearRC15; inline;
  5798. procedure setRC12; inline;
  5799. procedure setRC13; inline;
  5800. procedure setRC14; inline;
  5801. procedure setRC15; inline;
  5802. property RC12 : TBits_1 read getRC12 write setRC12;
  5803. property RC13 : TBits_1 read getRC13 write setRC13;
  5804. property RC14 : TBits_1 read getRC14 write setRC14;
  5805. property RC15 : TBits_1 read getRC15 write setRC15;
  5806. property w : TBits_32 read getw write setw;
  5807. end;
  5808. TPortC_bits=(RC12=12,RC13=13,RC14=14,RC15=15);
  5809. TPortC_bitset = set of TPortC_bits;
  5810. TPORTC_LATC = record
  5811. private
  5812. function getLATC12 : TBits_1; inline;
  5813. function getLATC13 : TBits_1; inline;
  5814. function getLATC14 : TBits_1; inline;
  5815. function getLATC15 : TBits_1; inline;
  5816. function getw : TBits_32; inline;
  5817. procedure setLATC12(thebits : TBits_1); inline;
  5818. procedure setLATC13(thebits : TBits_1); inline;
  5819. procedure setLATC14(thebits : TBits_1); inline;
  5820. procedure setLATC15(thebits : TBits_1); inline;
  5821. procedure setw(thebits : TBits_32); inline;
  5822. public
  5823. procedure clearLATC12; inline;
  5824. procedure clearLATC13; inline;
  5825. procedure clearLATC14; inline;
  5826. procedure clearLATC15; inline;
  5827. procedure setLATC12; inline;
  5828. procedure setLATC13; inline;
  5829. procedure setLATC14; inline;
  5830. procedure setLATC15; inline;
  5831. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  5832. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  5833. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  5834. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  5835. property w : TBits_32 read getw write setw;
  5836. end;
  5837. TPORTC_ODCC = record
  5838. private
  5839. function getODCC12 : TBits_1; inline;
  5840. function getODCC13 : TBits_1; inline;
  5841. function getODCC14 : TBits_1; inline;
  5842. function getODCC15 : TBits_1; inline;
  5843. function getw : TBits_32; inline;
  5844. procedure setODCC12(thebits : TBits_1); inline;
  5845. procedure setODCC13(thebits : TBits_1); inline;
  5846. procedure setODCC14(thebits : TBits_1); inline;
  5847. procedure setODCC15(thebits : TBits_1); inline;
  5848. procedure setw(thebits : TBits_32); inline;
  5849. public
  5850. procedure clearODCC12; inline;
  5851. procedure clearODCC13; inline;
  5852. procedure clearODCC14; inline;
  5853. procedure clearODCC15; inline;
  5854. procedure setODCC12; inline;
  5855. procedure setODCC13; inline;
  5856. procedure setODCC14; inline;
  5857. procedure setODCC15; inline;
  5858. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  5859. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  5860. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  5861. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  5862. property w : TBits_32 read getw write setw;
  5863. end;
  5864. type
  5865. TPORTCRegisters = record
  5866. TRISCbits : TPORTC_TRISC;
  5867. TRISC : longWord;
  5868. TRISCCLR : longWord;
  5869. TRISCSET : longWord;
  5870. TRISCINV : longWord;
  5871. PORTCbits : TPORTC_PORTC;
  5872. PORTC : longWord;
  5873. PORTCCLR : longWord;
  5874. PORTCSET : longWord;
  5875. PORTCINV : longWord;
  5876. LATCbits : TPORTC_LATC;
  5877. LATC : longWord;
  5878. LATCCLR : longWord;
  5879. LATCSET : longWord;
  5880. LATCINV : longWord;
  5881. ODCCbits : TPORTC_ODCC;
  5882. ODCC : longWord;
  5883. ODCCCLR : longWord;
  5884. ODCCSET : longWord;
  5885. ODCCINV : longWord;
  5886. end;
  5887. TPORTD_TRISD = record
  5888. private
  5889. function getTRISD0 : TBits_1; inline;
  5890. function getTRISD1 : TBits_1; inline;
  5891. function getTRISD10 : TBits_1; inline;
  5892. function getTRISD11 : TBits_1; inline;
  5893. function getTRISD2 : TBits_1; inline;
  5894. function getTRISD3 : TBits_1; inline;
  5895. function getTRISD4 : TBits_1; inline;
  5896. function getTRISD5 : TBits_1; inline;
  5897. function getTRISD6 : TBits_1; inline;
  5898. function getTRISD7 : TBits_1; inline;
  5899. function getTRISD8 : TBits_1; inline;
  5900. function getTRISD9 : TBits_1; inline;
  5901. function getw : TBits_32; inline;
  5902. procedure setTRISD0(thebits : TBits_1); inline;
  5903. procedure setTRISD1(thebits : TBits_1); inline;
  5904. procedure setTRISD10(thebits : TBits_1); inline;
  5905. procedure setTRISD11(thebits : TBits_1); inline;
  5906. procedure setTRISD2(thebits : TBits_1); inline;
  5907. procedure setTRISD3(thebits : TBits_1); inline;
  5908. procedure setTRISD4(thebits : TBits_1); inline;
  5909. procedure setTRISD5(thebits : TBits_1); inline;
  5910. procedure setTRISD6(thebits : TBits_1); inline;
  5911. procedure setTRISD7(thebits : TBits_1); inline;
  5912. procedure setTRISD8(thebits : TBits_1); inline;
  5913. procedure setTRISD9(thebits : TBits_1); inline;
  5914. procedure setw(thebits : TBits_32); inline;
  5915. public
  5916. procedure clearTRISD0; inline;
  5917. procedure clearTRISD10; inline;
  5918. procedure clearTRISD11; inline;
  5919. procedure clearTRISD1; inline;
  5920. procedure clearTRISD2; inline;
  5921. procedure clearTRISD3; inline;
  5922. procedure clearTRISD4; inline;
  5923. procedure clearTRISD5; inline;
  5924. procedure clearTRISD6; inline;
  5925. procedure clearTRISD7; inline;
  5926. procedure clearTRISD8; inline;
  5927. procedure clearTRISD9; inline;
  5928. procedure setTRISD0; inline;
  5929. procedure setTRISD10; inline;
  5930. procedure setTRISD11; inline;
  5931. procedure setTRISD1; inline;
  5932. procedure setTRISD2; inline;
  5933. procedure setTRISD3; inline;
  5934. procedure setTRISD4; inline;
  5935. procedure setTRISD5; inline;
  5936. procedure setTRISD6; inline;
  5937. procedure setTRISD7; inline;
  5938. procedure setTRISD8; inline;
  5939. procedure setTRISD9; inline;
  5940. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  5941. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  5942. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  5943. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  5944. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  5945. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  5946. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  5947. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  5948. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  5949. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  5950. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  5951. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  5952. property w : TBits_32 read getw write setw;
  5953. end;
  5954. TPORTD_PORTD = record
  5955. private
  5956. function getRD0 : TBits_1; inline;
  5957. function getRD1 : TBits_1; inline;
  5958. function getRD10 : TBits_1; inline;
  5959. function getRD11 : TBits_1; inline;
  5960. function getRD2 : TBits_1; inline;
  5961. function getRD3 : TBits_1; inline;
  5962. function getRD4 : TBits_1; inline;
  5963. function getRD5 : TBits_1; inline;
  5964. function getRD6 : TBits_1; inline;
  5965. function getRD7 : TBits_1; inline;
  5966. function getRD8 : TBits_1; inline;
  5967. function getRD9 : TBits_1; inline;
  5968. function getw : TBits_32; inline;
  5969. procedure setRD0(thebits : TBits_1); inline;
  5970. procedure setRD1(thebits : TBits_1); inline;
  5971. procedure setRD10(thebits : TBits_1); inline;
  5972. procedure setRD11(thebits : TBits_1); inline;
  5973. procedure setRD2(thebits : TBits_1); inline;
  5974. procedure setRD3(thebits : TBits_1); inline;
  5975. procedure setRD4(thebits : TBits_1); inline;
  5976. procedure setRD5(thebits : TBits_1); inline;
  5977. procedure setRD6(thebits : TBits_1); inline;
  5978. procedure setRD7(thebits : TBits_1); inline;
  5979. procedure setRD8(thebits : TBits_1); inline;
  5980. procedure setRD9(thebits : TBits_1); inline;
  5981. procedure setw(thebits : TBits_32); inline;
  5982. public
  5983. procedure clearRD0; inline;
  5984. procedure clearRD10; inline;
  5985. procedure clearRD11; inline;
  5986. procedure clearRD1; inline;
  5987. procedure clearRD2; inline;
  5988. procedure clearRD3; inline;
  5989. procedure clearRD4; inline;
  5990. procedure clearRD5; inline;
  5991. procedure clearRD6; inline;
  5992. procedure clearRD7; inline;
  5993. procedure clearRD8; inline;
  5994. procedure clearRD9; inline;
  5995. procedure setRD0; inline;
  5996. procedure setRD10; inline;
  5997. procedure setRD11; inline;
  5998. procedure setRD1; inline;
  5999. procedure setRD2; inline;
  6000. procedure setRD3; inline;
  6001. procedure setRD4; inline;
  6002. procedure setRD5; inline;
  6003. procedure setRD6; inline;
  6004. procedure setRD7; inline;
  6005. procedure setRD8; inline;
  6006. procedure setRD9; inline;
  6007. property RD0 : TBits_1 read getRD0 write setRD0;
  6008. property RD1 : TBits_1 read getRD1 write setRD1;
  6009. property RD10 : TBits_1 read getRD10 write setRD10;
  6010. property RD11 : TBits_1 read getRD11 write setRD11;
  6011. property RD2 : TBits_1 read getRD2 write setRD2;
  6012. property RD3 : TBits_1 read getRD3 write setRD3;
  6013. property RD4 : TBits_1 read getRD4 write setRD4;
  6014. property RD5 : TBits_1 read getRD5 write setRD5;
  6015. property RD6 : TBits_1 read getRD6 write setRD6;
  6016. property RD7 : TBits_1 read getRD7 write setRD7;
  6017. property RD8 : TBits_1 read getRD8 write setRD8;
  6018. property RD9 : TBits_1 read getRD9 write setRD9;
  6019. property w : TBits_32 read getw write setw;
  6020. end;
  6021. TPortD_bits=(RD0=0,RD1=1,RD2=2,RD3=3,RD4=4,RD5=5,RD6=6,RD7=7,RD8=8,RD9=9,RD10=10,RD11=11);
  6022. TPortD_bitset = set of TPortD_bits;
  6023. TPORTD_LATD = record
  6024. private
  6025. function getLATD0 : TBits_1; inline;
  6026. function getLATD1 : TBits_1; inline;
  6027. function getLATD10 : TBits_1; inline;
  6028. function getLATD11 : TBits_1; inline;
  6029. function getLATD2 : TBits_1; inline;
  6030. function getLATD3 : TBits_1; inline;
  6031. function getLATD4 : TBits_1; inline;
  6032. function getLATD5 : TBits_1; inline;
  6033. function getLATD6 : TBits_1; inline;
  6034. function getLATD7 : TBits_1; inline;
  6035. function getLATD8 : TBits_1; inline;
  6036. function getLATD9 : TBits_1; inline;
  6037. function getw : TBits_32; inline;
  6038. procedure setLATD0(thebits : TBits_1); inline;
  6039. procedure setLATD1(thebits : TBits_1); inline;
  6040. procedure setLATD10(thebits : TBits_1); inline;
  6041. procedure setLATD11(thebits : TBits_1); inline;
  6042. procedure setLATD2(thebits : TBits_1); inline;
  6043. procedure setLATD3(thebits : TBits_1); inline;
  6044. procedure setLATD4(thebits : TBits_1); inline;
  6045. procedure setLATD5(thebits : TBits_1); inline;
  6046. procedure setLATD6(thebits : TBits_1); inline;
  6047. procedure setLATD7(thebits : TBits_1); inline;
  6048. procedure setLATD8(thebits : TBits_1); inline;
  6049. procedure setLATD9(thebits : TBits_1); inline;
  6050. procedure setw(thebits : TBits_32); inline;
  6051. public
  6052. procedure clearLATD0; inline;
  6053. procedure clearLATD10; inline;
  6054. procedure clearLATD11; inline;
  6055. procedure clearLATD1; inline;
  6056. procedure clearLATD2; inline;
  6057. procedure clearLATD3; inline;
  6058. procedure clearLATD4; inline;
  6059. procedure clearLATD5; inline;
  6060. procedure clearLATD6; inline;
  6061. procedure clearLATD7; inline;
  6062. procedure clearLATD8; inline;
  6063. procedure clearLATD9; inline;
  6064. procedure setLATD0; inline;
  6065. procedure setLATD10; inline;
  6066. procedure setLATD11; inline;
  6067. procedure setLATD1; inline;
  6068. procedure setLATD2; inline;
  6069. procedure setLATD3; inline;
  6070. procedure setLATD4; inline;
  6071. procedure setLATD5; inline;
  6072. procedure setLATD6; inline;
  6073. procedure setLATD7; inline;
  6074. procedure setLATD8; inline;
  6075. procedure setLATD9; inline;
  6076. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  6077. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  6078. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  6079. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  6080. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  6081. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  6082. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  6083. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  6084. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  6085. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  6086. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  6087. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  6088. property w : TBits_32 read getw write setw;
  6089. end;
  6090. TPORTD_ODCD = record
  6091. private
  6092. function getODCD0 : TBits_1; inline;
  6093. function getODCD1 : TBits_1; inline;
  6094. function getODCD10 : TBits_1; inline;
  6095. function getODCD11 : TBits_1; inline;
  6096. function getODCD2 : TBits_1; inline;
  6097. function getODCD3 : TBits_1; inline;
  6098. function getODCD4 : TBits_1; inline;
  6099. function getODCD5 : TBits_1; inline;
  6100. function getODCD6 : TBits_1; inline;
  6101. function getODCD7 : TBits_1; inline;
  6102. function getODCD8 : TBits_1; inline;
  6103. function getODCD9 : TBits_1; inline;
  6104. function getw : TBits_32; inline;
  6105. procedure setODCD0(thebits : TBits_1); inline;
  6106. procedure setODCD1(thebits : TBits_1); inline;
  6107. procedure setODCD10(thebits : TBits_1); inline;
  6108. procedure setODCD11(thebits : TBits_1); inline;
  6109. procedure setODCD2(thebits : TBits_1); inline;
  6110. procedure setODCD3(thebits : TBits_1); inline;
  6111. procedure setODCD4(thebits : TBits_1); inline;
  6112. procedure setODCD5(thebits : TBits_1); inline;
  6113. procedure setODCD6(thebits : TBits_1); inline;
  6114. procedure setODCD7(thebits : TBits_1); inline;
  6115. procedure setODCD8(thebits : TBits_1); inline;
  6116. procedure setODCD9(thebits : TBits_1); inline;
  6117. procedure setw(thebits : TBits_32); inline;
  6118. public
  6119. procedure clearODCD0; inline;
  6120. procedure clearODCD10; inline;
  6121. procedure clearODCD11; inline;
  6122. procedure clearODCD1; inline;
  6123. procedure clearODCD2; inline;
  6124. procedure clearODCD3; inline;
  6125. procedure clearODCD4; inline;
  6126. procedure clearODCD5; inline;
  6127. procedure clearODCD6; inline;
  6128. procedure clearODCD7; inline;
  6129. procedure clearODCD8; inline;
  6130. procedure clearODCD9; inline;
  6131. procedure setODCD0; inline;
  6132. procedure setODCD10; inline;
  6133. procedure setODCD11; inline;
  6134. procedure setODCD1; inline;
  6135. procedure setODCD2; inline;
  6136. procedure setODCD3; inline;
  6137. procedure setODCD4; inline;
  6138. procedure setODCD5; inline;
  6139. procedure setODCD6; inline;
  6140. procedure setODCD7; inline;
  6141. procedure setODCD8; inline;
  6142. procedure setODCD9; inline;
  6143. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  6144. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  6145. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  6146. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  6147. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  6148. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  6149. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  6150. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  6151. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  6152. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  6153. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  6154. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  6155. property w : TBits_32 read getw write setw;
  6156. end;
  6157. type
  6158. TPORTDRegisters = record
  6159. TRISDbits : TPORTD_TRISD;
  6160. TRISD : longWord;
  6161. TRISDCLR : longWord;
  6162. TRISDSET : longWord;
  6163. TRISDINV : longWord;
  6164. PORTDbits : TPORTD_PORTD;
  6165. PORTD : longWord;
  6166. PORTDCLR : longWord;
  6167. PORTDSET : longWord;
  6168. PORTDINV : longWord;
  6169. LATDbits : TPORTD_LATD;
  6170. LATD : longWord;
  6171. LATDCLR : longWord;
  6172. LATDSET : longWord;
  6173. LATDINV : longWord;
  6174. ODCDbits : TPORTD_ODCD;
  6175. ODCD : longWord;
  6176. ODCDCLR : longWord;
  6177. ODCDSET : longWord;
  6178. ODCDINV : longWord;
  6179. end;
  6180. TPORTE_TRISE = record
  6181. private
  6182. function getTRISE0 : TBits_1; inline;
  6183. function getTRISE1 : TBits_1; inline;
  6184. function getTRISE2 : TBits_1; inline;
  6185. function getTRISE3 : TBits_1; inline;
  6186. function getTRISE4 : TBits_1; inline;
  6187. function getTRISE5 : TBits_1; inline;
  6188. function getTRISE6 : TBits_1; inline;
  6189. function getTRISE7 : TBits_1; inline;
  6190. function getw : TBits_32; inline;
  6191. procedure setTRISE0(thebits : TBits_1); inline;
  6192. procedure setTRISE1(thebits : TBits_1); inline;
  6193. procedure setTRISE2(thebits : TBits_1); inline;
  6194. procedure setTRISE3(thebits : TBits_1); inline;
  6195. procedure setTRISE4(thebits : TBits_1); inline;
  6196. procedure setTRISE5(thebits : TBits_1); inline;
  6197. procedure setTRISE6(thebits : TBits_1); inline;
  6198. procedure setTRISE7(thebits : TBits_1); inline;
  6199. procedure setw(thebits : TBits_32); inline;
  6200. public
  6201. procedure clearTRISE0; inline;
  6202. procedure clearTRISE1; inline;
  6203. procedure clearTRISE2; inline;
  6204. procedure clearTRISE3; inline;
  6205. procedure clearTRISE4; inline;
  6206. procedure clearTRISE5; inline;
  6207. procedure clearTRISE6; inline;
  6208. procedure clearTRISE7; inline;
  6209. procedure setTRISE0; inline;
  6210. procedure setTRISE1; inline;
  6211. procedure setTRISE2; inline;
  6212. procedure setTRISE3; inline;
  6213. procedure setTRISE4; inline;
  6214. procedure setTRISE5; inline;
  6215. procedure setTRISE6; inline;
  6216. procedure setTRISE7; inline;
  6217. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  6218. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  6219. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  6220. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  6221. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  6222. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  6223. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  6224. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  6225. property w : TBits_32 read getw write setw;
  6226. end;
  6227. TPORTE_PORTE = record
  6228. private
  6229. function getRE0 : TBits_1; inline;
  6230. function getRE1 : TBits_1; inline;
  6231. function getRE2 : TBits_1; inline;
  6232. function getRE3 : TBits_1; inline;
  6233. function getRE4 : TBits_1; inline;
  6234. function getRE5 : TBits_1; inline;
  6235. function getRE6 : TBits_1; inline;
  6236. function getRE7 : TBits_1; inline;
  6237. function getw : TBits_32; inline;
  6238. procedure setRE0(thebits : TBits_1); inline;
  6239. procedure setRE1(thebits : TBits_1); inline;
  6240. procedure setRE2(thebits : TBits_1); inline;
  6241. procedure setRE3(thebits : TBits_1); inline;
  6242. procedure setRE4(thebits : TBits_1); inline;
  6243. procedure setRE5(thebits : TBits_1); inline;
  6244. procedure setRE6(thebits : TBits_1); inline;
  6245. procedure setRE7(thebits : TBits_1); inline;
  6246. procedure setw(thebits : TBits_32); inline;
  6247. public
  6248. procedure clearRE0; inline;
  6249. procedure clearRE1; inline;
  6250. procedure clearRE2; inline;
  6251. procedure clearRE3; inline;
  6252. procedure clearRE4; inline;
  6253. procedure clearRE5; inline;
  6254. procedure clearRE6; inline;
  6255. procedure clearRE7; inline;
  6256. procedure setRE0; inline;
  6257. procedure setRE1; inline;
  6258. procedure setRE2; inline;
  6259. procedure setRE3; inline;
  6260. procedure setRE4; inline;
  6261. procedure setRE5; inline;
  6262. procedure setRE6; inline;
  6263. procedure setRE7; inline;
  6264. property RE0 : TBits_1 read getRE0 write setRE0;
  6265. property RE1 : TBits_1 read getRE1 write setRE1;
  6266. property RE2 : TBits_1 read getRE2 write setRE2;
  6267. property RE3 : TBits_1 read getRE3 write setRE3;
  6268. property RE4 : TBits_1 read getRE4 write setRE4;
  6269. property RE5 : TBits_1 read getRE5 write setRE5;
  6270. property RE6 : TBits_1 read getRE6 write setRE6;
  6271. property RE7 : TBits_1 read getRE7 write setRE7;
  6272. property w : TBits_32 read getw write setw;
  6273. end;
  6274. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7);
  6275. TPortE_bitset = set of TPortE_bits;
  6276. TPORTE_LATE = record
  6277. private
  6278. function getLATE0 : TBits_1; inline;
  6279. function getLATE1 : TBits_1; inline;
  6280. function getLATE2 : TBits_1; inline;
  6281. function getLATE3 : TBits_1; inline;
  6282. function getLATE4 : TBits_1; inline;
  6283. function getLATE5 : TBits_1; inline;
  6284. function getLATE6 : TBits_1; inline;
  6285. function getLATE7 : TBits_1; inline;
  6286. function getw : TBits_32; inline;
  6287. procedure setLATE0(thebits : TBits_1); inline;
  6288. procedure setLATE1(thebits : TBits_1); inline;
  6289. procedure setLATE2(thebits : TBits_1); inline;
  6290. procedure setLATE3(thebits : TBits_1); inline;
  6291. procedure setLATE4(thebits : TBits_1); inline;
  6292. procedure setLATE5(thebits : TBits_1); inline;
  6293. procedure setLATE6(thebits : TBits_1); inline;
  6294. procedure setLATE7(thebits : TBits_1); inline;
  6295. procedure setw(thebits : TBits_32); inline;
  6296. public
  6297. procedure clearLATE0; inline;
  6298. procedure clearLATE1; inline;
  6299. procedure clearLATE2; inline;
  6300. procedure clearLATE3; inline;
  6301. procedure clearLATE4; inline;
  6302. procedure clearLATE5; inline;
  6303. procedure clearLATE6; inline;
  6304. procedure clearLATE7; inline;
  6305. procedure setLATE0; inline;
  6306. procedure setLATE1; inline;
  6307. procedure setLATE2; inline;
  6308. procedure setLATE3; inline;
  6309. procedure setLATE4; inline;
  6310. procedure setLATE5; inline;
  6311. procedure setLATE6; inline;
  6312. procedure setLATE7; inline;
  6313. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  6314. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  6315. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  6316. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  6317. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  6318. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  6319. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  6320. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  6321. property w : TBits_32 read getw write setw;
  6322. end;
  6323. TPORTE_ODCE = record
  6324. private
  6325. function getODCE0 : TBits_1; inline;
  6326. function getODCE1 : TBits_1; inline;
  6327. function getODCE2 : TBits_1; inline;
  6328. function getODCE3 : TBits_1; inline;
  6329. function getODCE4 : TBits_1; inline;
  6330. function getODCE5 : TBits_1; inline;
  6331. function getODCE6 : TBits_1; inline;
  6332. function getODCE7 : TBits_1; inline;
  6333. function getw : TBits_32; inline;
  6334. procedure setODCE0(thebits : TBits_1); inline;
  6335. procedure setODCE1(thebits : TBits_1); inline;
  6336. procedure setODCE2(thebits : TBits_1); inline;
  6337. procedure setODCE3(thebits : TBits_1); inline;
  6338. procedure setODCE4(thebits : TBits_1); inline;
  6339. procedure setODCE5(thebits : TBits_1); inline;
  6340. procedure setODCE6(thebits : TBits_1); inline;
  6341. procedure setODCE7(thebits : TBits_1); inline;
  6342. procedure setw(thebits : TBits_32); inline;
  6343. public
  6344. procedure clearODCE0; inline;
  6345. procedure clearODCE1; inline;
  6346. procedure clearODCE2; inline;
  6347. procedure clearODCE3; inline;
  6348. procedure clearODCE4; inline;
  6349. procedure clearODCE5; inline;
  6350. procedure clearODCE6; inline;
  6351. procedure clearODCE7; inline;
  6352. procedure setODCE0; inline;
  6353. procedure setODCE1; inline;
  6354. procedure setODCE2; inline;
  6355. procedure setODCE3; inline;
  6356. procedure setODCE4; inline;
  6357. procedure setODCE5; inline;
  6358. procedure setODCE6; inline;
  6359. procedure setODCE7; inline;
  6360. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  6361. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  6362. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  6363. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  6364. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  6365. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  6366. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  6367. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  6368. property w : TBits_32 read getw write setw;
  6369. end;
  6370. type
  6371. TPORTERegisters = record
  6372. TRISEbits : TPORTE_TRISE;
  6373. TRISE : longWord;
  6374. TRISECLR : longWord;
  6375. TRISESET : longWord;
  6376. TRISEINV : longWord;
  6377. PORTEbits : TPORTE_PORTE;
  6378. PORTE : longWord;
  6379. PORTECLR : longWord;
  6380. PORTESET : longWord;
  6381. PORTEINV : longWord;
  6382. LATEbits : TPORTE_LATE;
  6383. LATE : longWord;
  6384. LATECLR : longWord;
  6385. LATESET : longWord;
  6386. LATEINV : longWord;
  6387. ODCEbits : TPORTE_ODCE;
  6388. ODCE : longWord;
  6389. ODCECLR : longWord;
  6390. ODCESET : longWord;
  6391. ODCEINV : longWord;
  6392. end;
  6393. TPORTF_TRISF = record
  6394. private
  6395. function getTRISF0 : TBits_1; inline;
  6396. function getTRISF1 : TBits_1; inline;
  6397. function getTRISF2 : TBits_1; inline;
  6398. function getTRISF3 : TBits_1; inline;
  6399. function getTRISF4 : TBits_1; inline;
  6400. function getTRISF5 : TBits_1; inline;
  6401. function getTRISF6 : TBits_1; inline;
  6402. function getw : TBits_32; inline;
  6403. procedure setTRISF0(thebits : TBits_1); inline;
  6404. procedure setTRISF1(thebits : TBits_1); inline;
  6405. procedure setTRISF2(thebits : TBits_1); inline;
  6406. procedure setTRISF3(thebits : TBits_1); inline;
  6407. procedure setTRISF4(thebits : TBits_1); inline;
  6408. procedure setTRISF5(thebits : TBits_1); inline;
  6409. procedure setTRISF6(thebits : TBits_1); inline;
  6410. procedure setw(thebits : TBits_32); inline;
  6411. public
  6412. procedure clearTRISF0; inline;
  6413. procedure clearTRISF1; inline;
  6414. procedure clearTRISF2; inline;
  6415. procedure clearTRISF3; inline;
  6416. procedure clearTRISF4; inline;
  6417. procedure clearTRISF5; inline;
  6418. procedure clearTRISF6; inline;
  6419. procedure setTRISF0; inline;
  6420. procedure setTRISF1; inline;
  6421. procedure setTRISF2; inline;
  6422. procedure setTRISF3; inline;
  6423. procedure setTRISF4; inline;
  6424. procedure setTRISF5; inline;
  6425. procedure setTRISF6; inline;
  6426. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  6427. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  6428. property TRISF2 : TBits_1 read getTRISF2 write setTRISF2;
  6429. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  6430. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  6431. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  6432. property TRISF6 : TBits_1 read getTRISF6 write setTRISF6;
  6433. property w : TBits_32 read getw write setw;
  6434. end;
  6435. TPORTF_PORTF = record
  6436. private
  6437. function getRF0 : TBits_1; inline;
  6438. function getRF1 : TBits_1; inline;
  6439. function getRF2 : TBits_1; inline;
  6440. function getRF3 : TBits_1; inline;
  6441. function getRF4 : TBits_1; inline;
  6442. function getRF5 : TBits_1; inline;
  6443. function getRF6 : TBits_1; inline;
  6444. function getw : TBits_32; inline;
  6445. procedure setRF0(thebits : TBits_1); inline;
  6446. procedure setRF1(thebits : TBits_1); inline;
  6447. procedure setRF2(thebits : TBits_1); inline;
  6448. procedure setRF3(thebits : TBits_1); inline;
  6449. procedure setRF4(thebits : TBits_1); inline;
  6450. procedure setRF5(thebits : TBits_1); inline;
  6451. procedure setRF6(thebits : TBits_1); inline;
  6452. procedure setw(thebits : TBits_32); inline;
  6453. public
  6454. procedure clearRF0; inline;
  6455. procedure clearRF1; inline;
  6456. procedure clearRF2; inline;
  6457. procedure clearRF3; inline;
  6458. procedure clearRF4; inline;
  6459. procedure clearRF5; inline;
  6460. procedure clearRF6; inline;
  6461. procedure setRF0; inline;
  6462. procedure setRF1; inline;
  6463. procedure setRF2; inline;
  6464. procedure setRF3; inline;
  6465. procedure setRF4; inline;
  6466. procedure setRF5; inline;
  6467. procedure setRF6; inline;
  6468. property RF0 : TBits_1 read getRF0 write setRF0;
  6469. property RF1 : TBits_1 read getRF1 write setRF1;
  6470. property RF2 : TBits_1 read getRF2 write setRF2;
  6471. property RF3 : TBits_1 read getRF3 write setRF3;
  6472. property RF4 : TBits_1 read getRF4 write setRF4;
  6473. property RF5 : TBits_1 read getRF5 write setRF5;
  6474. property RF6 : TBits_1 read getRF6 write setRF6;
  6475. property w : TBits_32 read getw write setw;
  6476. end;
  6477. TPortF_bits=(RF0=0,RF1=1,RF2=2,RF3=3,RF4=4,RF5=5,RF6=6);
  6478. TPortF_bitset = set of TPortF_bits;
  6479. TPORTF_LATF = record
  6480. private
  6481. function getLATF0 : TBits_1; inline;
  6482. function getLATF1 : TBits_1; inline;
  6483. function getLATF2 : TBits_1; inline;
  6484. function getLATF3 : TBits_1; inline;
  6485. function getLATF4 : TBits_1; inline;
  6486. function getLATF5 : TBits_1; inline;
  6487. function getLATF6 : TBits_1; inline;
  6488. function getw : TBits_32; inline;
  6489. procedure setLATF0(thebits : TBits_1); inline;
  6490. procedure setLATF1(thebits : TBits_1); inline;
  6491. procedure setLATF2(thebits : TBits_1); inline;
  6492. procedure setLATF3(thebits : TBits_1); inline;
  6493. procedure setLATF4(thebits : TBits_1); inline;
  6494. procedure setLATF5(thebits : TBits_1); inline;
  6495. procedure setLATF6(thebits : TBits_1); inline;
  6496. procedure setw(thebits : TBits_32); inline;
  6497. public
  6498. procedure clearLATF0; inline;
  6499. procedure clearLATF1; inline;
  6500. procedure clearLATF2; inline;
  6501. procedure clearLATF3; inline;
  6502. procedure clearLATF4; inline;
  6503. procedure clearLATF5; inline;
  6504. procedure clearLATF6; inline;
  6505. procedure setLATF0; inline;
  6506. procedure setLATF1; inline;
  6507. procedure setLATF2; inline;
  6508. procedure setLATF3; inline;
  6509. procedure setLATF4; inline;
  6510. procedure setLATF5; inline;
  6511. procedure setLATF6; inline;
  6512. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  6513. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  6514. property LATF2 : TBits_1 read getLATF2 write setLATF2;
  6515. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  6516. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  6517. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  6518. property LATF6 : TBits_1 read getLATF6 write setLATF6;
  6519. property w : TBits_32 read getw write setw;
  6520. end;
  6521. TPORTF_ODCF = record
  6522. private
  6523. function getODCF0 : TBits_1; inline;
  6524. function getODCF1 : TBits_1; inline;
  6525. function getODCF2 : TBits_1; inline;
  6526. function getODCF3 : TBits_1; inline;
  6527. function getODCF4 : TBits_1; inline;
  6528. function getODCF5 : TBits_1; inline;
  6529. function getODCF6 : TBits_1; inline;
  6530. function getw : TBits_32; inline;
  6531. procedure setODCF0(thebits : TBits_1); inline;
  6532. procedure setODCF1(thebits : TBits_1); inline;
  6533. procedure setODCF2(thebits : TBits_1); inline;
  6534. procedure setODCF3(thebits : TBits_1); inline;
  6535. procedure setODCF4(thebits : TBits_1); inline;
  6536. procedure setODCF5(thebits : TBits_1); inline;
  6537. procedure setODCF6(thebits : TBits_1); inline;
  6538. procedure setw(thebits : TBits_32); inline;
  6539. public
  6540. procedure clearODCF0; inline;
  6541. procedure clearODCF1; inline;
  6542. procedure clearODCF2; inline;
  6543. procedure clearODCF3; inline;
  6544. procedure clearODCF4; inline;
  6545. procedure clearODCF5; inline;
  6546. procedure clearODCF6; inline;
  6547. procedure setODCF0; inline;
  6548. procedure setODCF1; inline;
  6549. procedure setODCF2; inline;
  6550. procedure setODCF3; inline;
  6551. procedure setODCF4; inline;
  6552. procedure setODCF5; inline;
  6553. procedure setODCF6; inline;
  6554. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  6555. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  6556. property ODCF2 : TBits_1 read getODCF2 write setODCF2;
  6557. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  6558. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  6559. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  6560. property ODCF6 : TBits_1 read getODCF6 write setODCF6;
  6561. property w : TBits_32 read getw write setw;
  6562. end;
  6563. type
  6564. TPORTFRegisters = record
  6565. TRISFbits : TPORTF_TRISF;
  6566. TRISF : longWord;
  6567. TRISFCLR : longWord;
  6568. TRISFSET : longWord;
  6569. TRISFINV : longWord;
  6570. PORTFbits : TPORTF_PORTF;
  6571. PORTF : longWord;
  6572. PORTFCLR : longWord;
  6573. PORTFSET : longWord;
  6574. PORTFINV : longWord;
  6575. LATFbits : TPORTF_LATF;
  6576. LATF : longWord;
  6577. LATFCLR : longWord;
  6578. LATFSET : longWord;
  6579. LATFINV : longWord;
  6580. ODCFbits : TPORTF_ODCF;
  6581. ODCF : longWord;
  6582. ODCFCLR : longWord;
  6583. ODCFSET : longWord;
  6584. ODCFINV : longWord;
  6585. end;
  6586. TPORTG_TRISG = record
  6587. private
  6588. function getTRISG2 : TBits_1; inline;
  6589. function getTRISG3 : TBits_1; inline;
  6590. function getTRISG6 : TBits_1; inline;
  6591. function getTRISG7 : TBits_1; inline;
  6592. function getTRISG8 : TBits_1; inline;
  6593. function getTRISG9 : TBits_1; inline;
  6594. function getw : TBits_32; inline;
  6595. procedure setTRISG2(thebits : TBits_1); inline;
  6596. procedure setTRISG3(thebits : TBits_1); inline;
  6597. procedure setTRISG6(thebits : TBits_1); inline;
  6598. procedure setTRISG7(thebits : TBits_1); inline;
  6599. procedure setTRISG8(thebits : TBits_1); inline;
  6600. procedure setTRISG9(thebits : TBits_1); inline;
  6601. procedure setw(thebits : TBits_32); inline;
  6602. public
  6603. procedure clearTRISG2; inline;
  6604. procedure clearTRISG3; inline;
  6605. procedure clearTRISG6; inline;
  6606. procedure clearTRISG7; inline;
  6607. procedure clearTRISG8; inline;
  6608. procedure clearTRISG9; inline;
  6609. procedure setTRISG2; inline;
  6610. procedure setTRISG3; inline;
  6611. procedure setTRISG6; inline;
  6612. procedure setTRISG7; inline;
  6613. procedure setTRISG8; inline;
  6614. procedure setTRISG9; inline;
  6615. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  6616. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  6617. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  6618. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  6619. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  6620. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  6621. property w : TBits_32 read getw write setw;
  6622. end;
  6623. TPORTG_PORTG = record
  6624. private
  6625. function getRG2 : TBits_1; inline;
  6626. function getRG3 : TBits_1; inline;
  6627. function getRG6 : TBits_1; inline;
  6628. function getRG7 : TBits_1; inline;
  6629. function getRG8 : TBits_1; inline;
  6630. function getRG9 : TBits_1; inline;
  6631. function getw : TBits_32; inline;
  6632. procedure setRG2(thebits : TBits_1); inline;
  6633. procedure setRG3(thebits : TBits_1); inline;
  6634. procedure setRG6(thebits : TBits_1); inline;
  6635. procedure setRG7(thebits : TBits_1); inline;
  6636. procedure setRG8(thebits : TBits_1); inline;
  6637. procedure setRG9(thebits : TBits_1); inline;
  6638. procedure setw(thebits : TBits_32); inline;
  6639. public
  6640. procedure clearRG2; inline;
  6641. procedure clearRG3; inline;
  6642. procedure clearRG6; inline;
  6643. procedure clearRG7; inline;
  6644. procedure clearRG8; inline;
  6645. procedure clearRG9; inline;
  6646. procedure setRG2; inline;
  6647. procedure setRG3; inline;
  6648. procedure setRG6; inline;
  6649. procedure setRG7; inline;
  6650. procedure setRG8; inline;
  6651. procedure setRG9; inline;
  6652. property RG2 : TBits_1 read getRG2 write setRG2;
  6653. property RG3 : TBits_1 read getRG3 write setRG3;
  6654. property RG6 : TBits_1 read getRG6 write setRG6;
  6655. property RG7 : TBits_1 read getRG7 write setRG7;
  6656. property RG8 : TBits_1 read getRG8 write setRG8;
  6657. property RG9 : TBits_1 read getRG9 write setRG9;
  6658. property w : TBits_32 read getw write setw;
  6659. end;
  6660. TPortG_bits=(RG2=2,RG3=3,RG6=6,RG7=7,RG8=8,RG9=9);
  6661. TPortG_bitset = set of TPortG_bits;
  6662. TPORTG_LATG = record
  6663. private
  6664. function getLATG2 : TBits_1; inline;
  6665. function getLATG3 : TBits_1; inline;
  6666. function getLATG6 : TBits_1; inline;
  6667. function getLATG7 : TBits_1; inline;
  6668. function getLATG8 : TBits_1; inline;
  6669. function getLATG9 : TBits_1; inline;
  6670. function getw : TBits_32; inline;
  6671. procedure setLATG2(thebits : TBits_1); inline;
  6672. procedure setLATG3(thebits : TBits_1); inline;
  6673. procedure setLATG6(thebits : TBits_1); inline;
  6674. procedure setLATG7(thebits : TBits_1); inline;
  6675. procedure setLATG8(thebits : TBits_1); inline;
  6676. procedure setLATG9(thebits : TBits_1); inline;
  6677. procedure setw(thebits : TBits_32); inline;
  6678. public
  6679. procedure clearLATG2; inline;
  6680. procedure clearLATG3; inline;
  6681. procedure clearLATG6; inline;
  6682. procedure clearLATG7; inline;
  6683. procedure clearLATG8; inline;
  6684. procedure clearLATG9; inline;
  6685. procedure setLATG2; inline;
  6686. procedure setLATG3; inline;
  6687. procedure setLATG6; inline;
  6688. procedure setLATG7; inline;
  6689. procedure setLATG8; inline;
  6690. procedure setLATG9; inline;
  6691. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  6692. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  6693. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  6694. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  6695. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  6696. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  6697. property w : TBits_32 read getw write setw;
  6698. end;
  6699. TPORTG_ODCG = record
  6700. private
  6701. function getODCG2 : TBits_1; inline;
  6702. function getODCG3 : TBits_1; inline;
  6703. function getODCG6 : TBits_1; inline;
  6704. function getODCG7 : TBits_1; inline;
  6705. function getODCG8 : TBits_1; inline;
  6706. function getODCG9 : TBits_1; inline;
  6707. function getw : TBits_32; inline;
  6708. procedure setODCG2(thebits : TBits_1); inline;
  6709. procedure setODCG3(thebits : TBits_1); inline;
  6710. procedure setODCG6(thebits : TBits_1); inline;
  6711. procedure setODCG7(thebits : TBits_1); inline;
  6712. procedure setODCG8(thebits : TBits_1); inline;
  6713. procedure setODCG9(thebits : TBits_1); inline;
  6714. procedure setw(thebits : TBits_32); inline;
  6715. public
  6716. procedure clearODCG2; inline;
  6717. procedure clearODCG3; inline;
  6718. procedure clearODCG6; inline;
  6719. procedure clearODCG7; inline;
  6720. procedure clearODCG8; inline;
  6721. procedure clearODCG9; inline;
  6722. procedure setODCG2; inline;
  6723. procedure setODCG3; inline;
  6724. procedure setODCG6; inline;
  6725. procedure setODCG7; inline;
  6726. procedure setODCG8; inline;
  6727. procedure setODCG9; inline;
  6728. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  6729. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  6730. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  6731. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  6732. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  6733. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  6734. property w : TBits_32 read getw write setw;
  6735. end;
  6736. TPORTG_CNCON = record
  6737. private
  6738. function getON : TBits_1; inline;
  6739. function getSIDL : TBits_1; inline;
  6740. function getw : TBits_32; inline;
  6741. procedure setON(thebits : TBits_1); inline;
  6742. procedure setSIDL(thebits : TBits_1); inline;
  6743. procedure setw(thebits : TBits_32); inline;
  6744. public
  6745. procedure clearON; inline;
  6746. procedure clearSIDL; inline;
  6747. procedure setON; inline;
  6748. procedure setSIDL; inline;
  6749. property ON : TBits_1 read getON write setON;
  6750. property SIDL : TBits_1 read getSIDL write setSIDL;
  6751. property w : TBits_32 read getw write setw;
  6752. end;
  6753. TPORTG_CNEN = record
  6754. private
  6755. function getCNEN0 : TBits_1; inline;
  6756. function getCNEN1 : TBits_1; inline;
  6757. function getCNEN10 : TBits_1; inline;
  6758. function getCNEN11 : TBits_1; inline;
  6759. function getCNEN12 : TBits_1; inline;
  6760. function getCNEN13 : TBits_1; inline;
  6761. function getCNEN14 : TBits_1; inline;
  6762. function getCNEN15 : TBits_1; inline;
  6763. function getCNEN16 : TBits_1; inline;
  6764. function getCNEN17 : TBits_1; inline;
  6765. function getCNEN18 : TBits_1; inline;
  6766. function getCNEN2 : TBits_1; inline;
  6767. function getCNEN3 : TBits_1; inline;
  6768. function getCNEN4 : TBits_1; inline;
  6769. function getCNEN5 : TBits_1; inline;
  6770. function getCNEN6 : TBits_1; inline;
  6771. function getCNEN7 : TBits_1; inline;
  6772. function getCNEN8 : TBits_1; inline;
  6773. function getCNEN9 : TBits_1; inline;
  6774. function getw : TBits_32; inline;
  6775. procedure setCNEN0(thebits : TBits_1); inline;
  6776. procedure setCNEN1(thebits : TBits_1); inline;
  6777. procedure setCNEN10(thebits : TBits_1); inline;
  6778. procedure setCNEN11(thebits : TBits_1); inline;
  6779. procedure setCNEN12(thebits : TBits_1); inline;
  6780. procedure setCNEN13(thebits : TBits_1); inline;
  6781. procedure setCNEN14(thebits : TBits_1); inline;
  6782. procedure setCNEN15(thebits : TBits_1); inline;
  6783. procedure setCNEN16(thebits : TBits_1); inline;
  6784. procedure setCNEN17(thebits : TBits_1); inline;
  6785. procedure setCNEN18(thebits : TBits_1); inline;
  6786. procedure setCNEN2(thebits : TBits_1); inline;
  6787. procedure setCNEN3(thebits : TBits_1); inline;
  6788. procedure setCNEN4(thebits : TBits_1); inline;
  6789. procedure setCNEN5(thebits : TBits_1); inline;
  6790. procedure setCNEN6(thebits : TBits_1); inline;
  6791. procedure setCNEN7(thebits : TBits_1); inline;
  6792. procedure setCNEN8(thebits : TBits_1); inline;
  6793. procedure setCNEN9(thebits : TBits_1); inline;
  6794. procedure setw(thebits : TBits_32); inline;
  6795. public
  6796. procedure clearCNEN0; inline;
  6797. procedure clearCNEN10; inline;
  6798. procedure clearCNEN11; inline;
  6799. procedure clearCNEN12; inline;
  6800. procedure clearCNEN13; inline;
  6801. procedure clearCNEN14; inline;
  6802. procedure clearCNEN15; inline;
  6803. procedure clearCNEN16; inline;
  6804. procedure clearCNEN17; inline;
  6805. procedure clearCNEN18; inline;
  6806. procedure clearCNEN1; inline;
  6807. procedure clearCNEN2; inline;
  6808. procedure clearCNEN3; inline;
  6809. procedure clearCNEN4; inline;
  6810. procedure clearCNEN5; inline;
  6811. procedure clearCNEN6; inline;
  6812. procedure clearCNEN7; inline;
  6813. procedure clearCNEN8; inline;
  6814. procedure clearCNEN9; inline;
  6815. procedure setCNEN0; inline;
  6816. procedure setCNEN10; inline;
  6817. procedure setCNEN11; inline;
  6818. procedure setCNEN12; inline;
  6819. procedure setCNEN13; inline;
  6820. procedure setCNEN14; inline;
  6821. procedure setCNEN15; inline;
  6822. procedure setCNEN16; inline;
  6823. procedure setCNEN17; inline;
  6824. procedure setCNEN18; inline;
  6825. procedure setCNEN1; inline;
  6826. procedure setCNEN2; inline;
  6827. procedure setCNEN3; inline;
  6828. procedure setCNEN4; inline;
  6829. procedure setCNEN5; inline;
  6830. procedure setCNEN6; inline;
  6831. procedure setCNEN7; inline;
  6832. procedure setCNEN8; inline;
  6833. procedure setCNEN9; inline;
  6834. property CNEN0 : TBits_1 read getCNEN0 write setCNEN0;
  6835. property CNEN1 : TBits_1 read getCNEN1 write setCNEN1;
  6836. property CNEN10 : TBits_1 read getCNEN10 write setCNEN10;
  6837. property CNEN11 : TBits_1 read getCNEN11 write setCNEN11;
  6838. property CNEN12 : TBits_1 read getCNEN12 write setCNEN12;
  6839. property CNEN13 : TBits_1 read getCNEN13 write setCNEN13;
  6840. property CNEN14 : TBits_1 read getCNEN14 write setCNEN14;
  6841. property CNEN15 : TBits_1 read getCNEN15 write setCNEN15;
  6842. property CNEN16 : TBits_1 read getCNEN16 write setCNEN16;
  6843. property CNEN17 : TBits_1 read getCNEN17 write setCNEN17;
  6844. property CNEN18 : TBits_1 read getCNEN18 write setCNEN18;
  6845. property CNEN2 : TBits_1 read getCNEN2 write setCNEN2;
  6846. property CNEN3 : TBits_1 read getCNEN3 write setCNEN3;
  6847. property CNEN4 : TBits_1 read getCNEN4 write setCNEN4;
  6848. property CNEN5 : TBits_1 read getCNEN5 write setCNEN5;
  6849. property CNEN6 : TBits_1 read getCNEN6 write setCNEN6;
  6850. property CNEN7 : TBits_1 read getCNEN7 write setCNEN7;
  6851. property CNEN8 : TBits_1 read getCNEN8 write setCNEN8;
  6852. property CNEN9 : TBits_1 read getCNEN9 write setCNEN9;
  6853. property w : TBits_32 read getw write setw;
  6854. end;
  6855. TPORTG_CNPUE = record
  6856. private
  6857. function getCNPUE0 : TBits_1; inline;
  6858. function getCNPUE1 : TBits_1; inline;
  6859. function getCNPUE10 : TBits_1; inline;
  6860. function getCNPUE11 : TBits_1; inline;
  6861. function getCNPUE12 : TBits_1; inline;
  6862. function getCNPUE13 : TBits_1; inline;
  6863. function getCNPUE14 : TBits_1; inline;
  6864. function getCNPUE15 : TBits_1; inline;
  6865. function getCNPUE16 : TBits_1; inline;
  6866. function getCNPUE17 : TBits_1; inline;
  6867. function getCNPUE18 : TBits_1; inline;
  6868. function getCNPUE2 : TBits_1; inline;
  6869. function getCNPUE3 : TBits_1; inline;
  6870. function getCNPUE4 : TBits_1; inline;
  6871. function getCNPUE5 : TBits_1; inline;
  6872. function getCNPUE6 : TBits_1; inline;
  6873. function getCNPUE7 : TBits_1; inline;
  6874. function getCNPUE8 : TBits_1; inline;
  6875. function getCNPUE9 : TBits_1; inline;
  6876. function getw : TBits_32; inline;
  6877. procedure setCNPUE0(thebits : TBits_1); inline;
  6878. procedure setCNPUE1(thebits : TBits_1); inline;
  6879. procedure setCNPUE10(thebits : TBits_1); inline;
  6880. procedure setCNPUE11(thebits : TBits_1); inline;
  6881. procedure setCNPUE12(thebits : TBits_1); inline;
  6882. procedure setCNPUE13(thebits : TBits_1); inline;
  6883. procedure setCNPUE14(thebits : TBits_1); inline;
  6884. procedure setCNPUE15(thebits : TBits_1); inline;
  6885. procedure setCNPUE16(thebits : TBits_1); inline;
  6886. procedure setCNPUE17(thebits : TBits_1); inline;
  6887. procedure setCNPUE18(thebits : TBits_1); inline;
  6888. procedure setCNPUE2(thebits : TBits_1); inline;
  6889. procedure setCNPUE3(thebits : TBits_1); inline;
  6890. procedure setCNPUE4(thebits : TBits_1); inline;
  6891. procedure setCNPUE5(thebits : TBits_1); inline;
  6892. procedure setCNPUE6(thebits : TBits_1); inline;
  6893. procedure setCNPUE7(thebits : TBits_1); inline;
  6894. procedure setCNPUE8(thebits : TBits_1); inline;
  6895. procedure setCNPUE9(thebits : TBits_1); inline;
  6896. procedure setw(thebits : TBits_32); inline;
  6897. public
  6898. procedure clearCNPUE0; inline;
  6899. procedure clearCNPUE10; inline;
  6900. procedure clearCNPUE11; inline;
  6901. procedure clearCNPUE12; inline;
  6902. procedure clearCNPUE13; inline;
  6903. procedure clearCNPUE14; inline;
  6904. procedure clearCNPUE15; inline;
  6905. procedure clearCNPUE16; inline;
  6906. procedure clearCNPUE17; inline;
  6907. procedure clearCNPUE18; inline;
  6908. procedure clearCNPUE1; inline;
  6909. procedure clearCNPUE2; inline;
  6910. procedure clearCNPUE3; inline;
  6911. procedure clearCNPUE4; inline;
  6912. procedure clearCNPUE5; inline;
  6913. procedure clearCNPUE6; inline;
  6914. procedure clearCNPUE7; inline;
  6915. procedure clearCNPUE8; inline;
  6916. procedure clearCNPUE9; inline;
  6917. procedure setCNPUE0; inline;
  6918. procedure setCNPUE10; inline;
  6919. procedure setCNPUE11; inline;
  6920. procedure setCNPUE12; inline;
  6921. procedure setCNPUE13; inline;
  6922. procedure setCNPUE14; inline;
  6923. procedure setCNPUE15; inline;
  6924. procedure setCNPUE16; inline;
  6925. procedure setCNPUE17; inline;
  6926. procedure setCNPUE18; inline;
  6927. procedure setCNPUE1; inline;
  6928. procedure setCNPUE2; inline;
  6929. procedure setCNPUE3; inline;
  6930. procedure setCNPUE4; inline;
  6931. procedure setCNPUE5; inline;
  6932. procedure setCNPUE6; inline;
  6933. procedure setCNPUE7; inline;
  6934. procedure setCNPUE8; inline;
  6935. procedure setCNPUE9; inline;
  6936. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  6937. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  6938. property CNPUE10 : TBits_1 read getCNPUE10 write setCNPUE10;
  6939. property CNPUE11 : TBits_1 read getCNPUE11 write setCNPUE11;
  6940. property CNPUE12 : TBits_1 read getCNPUE12 write setCNPUE12;
  6941. property CNPUE13 : TBits_1 read getCNPUE13 write setCNPUE13;
  6942. property CNPUE14 : TBits_1 read getCNPUE14 write setCNPUE14;
  6943. property CNPUE15 : TBits_1 read getCNPUE15 write setCNPUE15;
  6944. property CNPUE16 : TBits_1 read getCNPUE16 write setCNPUE16;
  6945. property CNPUE17 : TBits_1 read getCNPUE17 write setCNPUE17;
  6946. property CNPUE18 : TBits_1 read getCNPUE18 write setCNPUE18;
  6947. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  6948. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  6949. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  6950. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  6951. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  6952. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  6953. property CNPUE8 : TBits_1 read getCNPUE8 write setCNPUE8;
  6954. property CNPUE9 : TBits_1 read getCNPUE9 write setCNPUE9;
  6955. property w : TBits_32 read getw write setw;
  6956. end;
  6957. type
  6958. TPORTGRegisters = record
  6959. TRISGbits : TPORTG_TRISG;
  6960. TRISG : longWord;
  6961. TRISGCLR : longWord;
  6962. TRISGSET : longWord;
  6963. TRISGINV : longWord;
  6964. PORTGbits : TPORTG_PORTG;
  6965. PORTG : longWord;
  6966. PORTGCLR : longWord;
  6967. PORTGSET : longWord;
  6968. PORTGINV : longWord;
  6969. LATGbits : TPORTG_LATG;
  6970. LATG : longWord;
  6971. LATGCLR : longWord;
  6972. LATGSET : longWord;
  6973. LATGINV : longWord;
  6974. ODCGbits : TPORTG_ODCG;
  6975. ODCG : longWord;
  6976. ODCGCLR : longWord;
  6977. ODCGSET : longWord;
  6978. ODCGINV : longWord;
  6979. CNCONbits : TPORTG_CNCON;
  6980. CNCON : longWord;
  6981. CNCONCLR : longWord;
  6982. CNCONSET : longWord;
  6983. CNCONINV : longWord;
  6984. CNENbits : TPORTG_CNEN;
  6985. CNEN : longWord;
  6986. CNENCLR : longWord;
  6987. CNENSET : longWord;
  6988. CNENINV : longWord;
  6989. CNPUEbits : TPORTG_CNPUE;
  6990. CNPUE : longWord;
  6991. CNPUECLR : longWord;
  6992. CNPUESET : longWord;
  6993. CNPUEINV : longWord;
  6994. end;
  6995. TDEVCFG_DEVCFG3 = record
  6996. private
  6997. function getUSERID : TBits_16; inline;
  6998. function getw : TBits_32; inline;
  6999. procedure setUSERID(thebits : TBits_16); inline;
  7000. procedure setw(thebits : TBits_32); inline;
  7001. public
  7002. property USERID : TBits_16 read getUSERID write setUSERID;
  7003. property w : TBits_32 read getw write setw;
  7004. end;
  7005. TDEVCFG_DEVCFG2 = record
  7006. private
  7007. function getFPLLIDIV : TBits_3; inline;
  7008. function getFPLLMUL : TBits_3; inline;
  7009. function getFPLLODIV : TBits_3; inline;
  7010. function getw : TBits_32; inline;
  7011. procedure setFPLLIDIV(thebits : TBits_3); inline;
  7012. procedure setFPLLMUL(thebits : TBits_3); inline;
  7013. procedure setFPLLODIV(thebits : TBits_3); inline;
  7014. procedure setw(thebits : TBits_32); inline;
  7015. public
  7016. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  7017. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  7018. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  7019. property w : TBits_32 read getw write setw;
  7020. end;
  7021. TDEVCFG_DEVCFG1 = record
  7022. private
  7023. function getFCKSM : TBits_2; inline;
  7024. function getFNOSC : TBits_3; inline;
  7025. function getFPBDIV : TBits_2; inline;
  7026. function getFSOSCEN : TBits_1; inline;
  7027. function getFWDTEN : TBits_1; inline;
  7028. function getIESO : TBits_1; inline;
  7029. function getOSCIOFNC : TBits_1; inline;
  7030. function getPOSCMOD : TBits_2; inline;
  7031. function getWDTPS : TBits_5; inline;
  7032. function getw : TBits_32; inline;
  7033. procedure setFCKSM(thebits : TBits_2); inline;
  7034. procedure setFNOSC(thebits : TBits_3); inline;
  7035. procedure setFPBDIV(thebits : TBits_2); inline;
  7036. procedure setFSOSCEN(thebits : TBits_1); inline;
  7037. procedure setFWDTEN(thebits : TBits_1); inline;
  7038. procedure setIESO(thebits : TBits_1); inline;
  7039. procedure setOSCIOFNC(thebits : TBits_1); inline;
  7040. procedure setPOSCMOD(thebits : TBits_2); inline;
  7041. procedure setWDTPS(thebits : TBits_5); inline;
  7042. procedure setw(thebits : TBits_32); inline;
  7043. public
  7044. procedure clearFSOSCEN; inline;
  7045. procedure clearFWDTEN; inline;
  7046. procedure clearIESO; inline;
  7047. procedure clearOSCIOFNC; inline;
  7048. procedure setFSOSCEN; inline;
  7049. procedure setFWDTEN; inline;
  7050. procedure setIESO; inline;
  7051. procedure setOSCIOFNC; inline;
  7052. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  7053. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  7054. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  7055. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  7056. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  7057. property IESO : TBits_1 read getIESO write setIESO;
  7058. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  7059. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  7060. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  7061. property w : TBits_32 read getw write setw;
  7062. end;
  7063. TDEVCFG_DEVCFG0 = record
  7064. private
  7065. function getBWP : TBits_1; inline;
  7066. function getCP : TBits_1; inline;
  7067. function getDEBUG : TBits_2; inline;
  7068. function getFDEBUG : TBits_2; inline;
  7069. function getICESEL : TBits_1; inline;
  7070. function getPWP : TBits_8; inline;
  7071. function getw : TBits_32; inline;
  7072. procedure setBWP(thebits : TBits_1); inline;
  7073. procedure setCP(thebits : TBits_1); inline;
  7074. procedure setDEBUG(thebits : TBits_2); inline;
  7075. procedure setFDEBUG(thebits : TBits_2); inline;
  7076. procedure setICESEL(thebits : TBits_1); inline;
  7077. procedure setPWP(thebits : TBits_8); inline;
  7078. procedure setw(thebits : TBits_32); inline;
  7079. public
  7080. procedure clearBWP; inline;
  7081. procedure clearCP; inline;
  7082. procedure clearICESEL; inline;
  7083. procedure setBWP; inline;
  7084. procedure setCP; inline;
  7085. procedure setICESEL; inline;
  7086. property BWP : TBits_1 read getBWP write setBWP;
  7087. property CP : TBits_1 read getCP write setCP;
  7088. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  7089. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  7090. property ICESEL : TBits_1 read getICESEL write setICESEL;
  7091. property PWP : TBits_8 read getPWP write setPWP;
  7092. property w : TBits_32 read getw write setw;
  7093. end;
  7094. const
  7095. _CORE_TIMER_IRQ = 0;
  7096. _CORE_SOFTWARE_0_IRQ = 1;
  7097. _CORE_SOFTWARE_1_IRQ = 2;
  7098. _EXTERNAL_0_IRQ = 3;
  7099. _TIMER_1_IRQ = 4;
  7100. _INPUT_CAPTURE_1_IRQ = 5;
  7101. _OUTPUT_COMPARE_1_IRQ = 6;
  7102. _EXTERNAL_1_IRQ = 7;
  7103. _TIMER_2_IRQ = 8;
  7104. _INPUT_CAPTURE_2_IRQ = 9;
  7105. _OUTPUT_COMPARE_2_IRQ = 10;
  7106. _EXTERNAL_2_IRQ = 11;
  7107. _TIMER_3_IRQ = 12;
  7108. _INPUT_CAPTURE_3_IRQ = 13;
  7109. _OUTPUT_COMPARE_3_IRQ = 14;
  7110. _EXTERNAL_3_IRQ = 15;
  7111. _TIMER_4_IRQ = 16;
  7112. _INPUT_CAPTURE_4_IRQ = 17;
  7113. _OUTPUT_COMPARE_4_IRQ = 18;
  7114. _EXTERNAL_4_IRQ = 19;
  7115. _TIMER_5_IRQ = 20;
  7116. _INPUT_CAPTURE_5_IRQ = 21;
  7117. _OUTPUT_COMPARE_5_IRQ = 22;
  7118. _SPI1_ERR_IRQ = 23;
  7119. _SPI1_TX_IRQ = 24;
  7120. _SPI1_RX_IRQ = 25;
  7121. _UART1_ERR_IRQ = 26;
  7122. _UART1_RX_IRQ = 27;
  7123. _UART1_TX_IRQ = 28;
  7124. _I2C1_BUS_IRQ = 29;
  7125. _I2C1_SLAVE_IRQ = 30;
  7126. _I2C1_MASTER_IRQ = 31;
  7127. _CHANGE_NOTICE_IRQ = 32;
  7128. _ADC_IRQ = 33;
  7129. _PMP_IRQ = 34;
  7130. _COMPARATOR_1_IRQ = 35;
  7131. _COMPARATOR_2_IRQ = 36;
  7132. _SPI2_ERR_IRQ = 37;
  7133. _SPI2_TX_IRQ = 38;
  7134. _SPI2_RX_IRQ = 39;
  7135. _UART2_ERR_IRQ = 40;
  7136. _UART2_RX_IRQ = 41;
  7137. _UART2_TX_IRQ = 42;
  7138. _I2C2_BUS_IRQ = 43;
  7139. _I2C2_SLAVE_IRQ = 44;
  7140. _I2C2_MASTER_IRQ = 45;
  7141. _FAIL_SAFE_MONITOR_IRQ = 46;
  7142. _RTCC_IRQ = 47;
  7143. _DMA0_IRQ = 48;
  7144. _DMA1_IRQ = 49;
  7145. _DMA2_IRQ = 50;
  7146. _DMA3_IRQ = 51;
  7147. _FLASH_CONTROL_IRQ = 56;
  7148. const
  7149. ADC10_BASE_ADDRESS = $BF809000;
  7150. var
  7151. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  7152. const
  7153. BMX_BASE_ADDRESS = $BF882000;
  7154. var
  7155. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  7156. const
  7157. CFG_BASE_ADDRESS = $BF80F200;
  7158. var
  7159. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  7160. const
  7161. CMP_BASE_ADDRESS = $BF80A000;
  7162. var
  7163. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  7164. const
  7165. CVR_BASE_ADDRESS = $BF809800;
  7166. var
  7167. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  7168. const
  7169. DMAC_BASE_ADDRESS = $BF883000;
  7170. var
  7171. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  7172. const
  7173. DMAC0_BASE_ADDRESS = $BF883060;
  7174. var
  7175. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  7176. const
  7177. DMAC1_BASE_ADDRESS = $BF883120;
  7178. var
  7179. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  7180. const
  7181. DMAC2_BASE_ADDRESS = $BF8831E0;
  7182. var
  7183. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  7184. const
  7185. DMAC3_BASE_ADDRESS = $BF8832A0;
  7186. var
  7187. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  7188. const
  7189. I2C1_BASE_ADDRESS = $BF805000;
  7190. var
  7191. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  7192. const
  7193. I2C2_BASE_ADDRESS = $BF805200;
  7194. var
  7195. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  7196. const
  7197. ICAP1_BASE_ADDRESS = $BF802000;
  7198. var
  7199. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  7200. const
  7201. ICAP2_BASE_ADDRESS = $BF802200;
  7202. var
  7203. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  7204. const
  7205. ICAP3_BASE_ADDRESS = $BF802400;
  7206. var
  7207. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  7208. const
  7209. ICAP4_BASE_ADDRESS = $BF802600;
  7210. var
  7211. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  7212. const
  7213. ICAP5_BASE_ADDRESS = $BF802800;
  7214. var
  7215. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  7216. const
  7217. INT_BASE_ADDRESS = $BF881000;
  7218. var
  7219. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  7220. const
  7221. NVM_BASE_ADDRESS = $BF80F400;
  7222. var
  7223. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  7224. const
  7225. OCMP1_BASE_ADDRESS = $BF803000;
  7226. var
  7227. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  7228. const
  7229. OCMP2_BASE_ADDRESS = $BF803200;
  7230. var
  7231. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  7232. const
  7233. OCMP3_BASE_ADDRESS = $BF803400;
  7234. var
  7235. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  7236. const
  7237. OCMP4_BASE_ADDRESS = $BF803600;
  7238. var
  7239. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  7240. const
  7241. OCMP5_BASE_ADDRESS = $BF803800;
  7242. var
  7243. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  7244. const
  7245. OSC_BASE_ADDRESS = $BF80F000;
  7246. var
  7247. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  7248. const
  7249. PCACHE_BASE_ADDRESS = $BF884000;
  7250. var
  7251. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  7252. const
  7253. PMP_BASE_ADDRESS = $BF807000;
  7254. var
  7255. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  7256. const
  7257. PORTB_BASE_ADDRESS = $BF886040;
  7258. var
  7259. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  7260. const
  7261. PORTC_BASE_ADDRESS = $BF886080;
  7262. var
  7263. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  7264. const
  7265. PORTD_BASE_ADDRESS = $BF8860C0;
  7266. var
  7267. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  7268. const
  7269. PORTE_BASE_ADDRESS = $BF886100;
  7270. var
  7271. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  7272. const
  7273. PORTF_BASE_ADDRESS = $BF886140;
  7274. var
  7275. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  7276. const
  7277. PORTG_BASE_ADDRESS = $BF886180;
  7278. var
  7279. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  7280. const
  7281. RCON_BASE_ADDRESS = $BF80F600;
  7282. var
  7283. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  7284. const
  7285. RTCC_BASE_ADDRESS = $BF800200;
  7286. var
  7287. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  7288. const
  7289. SPI1_BASE_ADDRESS = $BF805800;
  7290. var
  7291. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  7292. const
  7293. SPI2_BASE_ADDRESS = $BF805A00;
  7294. var
  7295. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  7296. const
  7297. TMR1_BASE_ADDRESS = $BF800600;
  7298. var
  7299. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  7300. const
  7301. TMR23_BASE_ADDRESS = $BF800800;
  7302. var
  7303. TMR23 : TTMR23Registers absolute TMR23_BASE_ADDRESS;
  7304. const
  7305. TMR3_BASE_ADDRESS = $BF800A00;
  7306. var
  7307. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  7308. const
  7309. TMR4_BASE_ADDRESS = $BF800C00;
  7310. var
  7311. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  7312. const
  7313. TMR5_BASE_ADDRESS = $BF800E00;
  7314. var
  7315. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  7316. const
  7317. UART1_BASE_ADDRESS = $BF806000;
  7318. var
  7319. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  7320. const
  7321. UART2_BASE_ADDRESS = $BF806200;
  7322. var
  7323. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  7324. const
  7325. WDT_BASE_ADDRESS = $BF800000;
  7326. var
  7327. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  7328. const
  7329. _APPI_BASE_ADDRESS = $BF880190;
  7330. var
  7331. _APPI : T_APPIRegisters absolute _APPI_BASE_ADDRESS;
  7332. const
  7333. _APPO_BASE_ADDRESS = $BF880180;
  7334. var
  7335. _APPO : T_APPORegisters absolute _APPO_BASE_ADDRESS;
  7336. const
  7337. _DDPSTAT_BASE_ADDRESS = $BF880140;
  7338. var
  7339. _DDPSTAT : T_DDPSTATRegisters absolute _DDPSTAT_BASE_ADDRESS;
  7340. const
  7341. _STRO_BASE_ADDRESS = $BF880170;
  7342. var
  7343. _STRO : T_STRORegisters absolute _STRO_BASE_ADDRESS;
  7344. implementation
  7345. type
  7346. TDefRegMap = record
  7347. val : longWord;
  7348. clr : longWord;
  7349. &set : longWord;
  7350. inv : longWord;
  7351. end;
  7352. pTDefRegMap = ^TDefRegMap;
  7353. procedure TWDT_WDTCON.setWDTCLR; inline;
  7354. begin
  7355. pTDefRegMap(@Self)^.&set := $00000001;
  7356. end;
  7357. procedure TWDT_WDTCON.clearWDTCLR; inline;
  7358. begin
  7359. pTDefRegMap(@Self)^.clr := $00000001;
  7360. end;
  7361. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  7362. begin
  7363. if thebits = 0 then
  7364. pTDefRegMap(@Self)^.clr := $00000001
  7365. else
  7366. pTDefRegMap(@Self)^.&set := $00000001;
  7367. end;
  7368. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  7369. begin
  7370. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  7371. end;
  7372. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  7373. begin
  7374. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  7375. end;
  7376. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  7377. begin
  7378. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  7379. end;
  7380. procedure TWDT_WDTCON.setON; inline;
  7381. begin
  7382. pTDefRegMap(@Self)^.&set := $00008000;
  7383. end;
  7384. procedure TWDT_WDTCON.clearON; inline;
  7385. begin
  7386. pTDefRegMap(@Self)^.clr := $00008000;
  7387. end;
  7388. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  7389. begin
  7390. if thebits = 0 then
  7391. pTDefRegMap(@Self)^.clr := $00008000
  7392. else
  7393. pTDefRegMap(@Self)^.&set := $00008000;
  7394. end;
  7395. function TWDT_WDTCON.getON : TBits_1; inline;
  7396. begin
  7397. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7398. end;
  7399. procedure TWDT_WDTCON.setSWDTPS0; inline;
  7400. begin
  7401. pTDefRegMap(@Self)^.&set := $00000004;
  7402. end;
  7403. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  7404. begin
  7405. pTDefRegMap(@Self)^.clr := $00000004;
  7406. end;
  7407. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  7408. begin
  7409. if thebits = 0 then
  7410. pTDefRegMap(@Self)^.clr := $00000004
  7411. else
  7412. pTDefRegMap(@Self)^.&set := $00000004;
  7413. end;
  7414. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  7415. begin
  7416. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  7417. end;
  7418. procedure TWDT_WDTCON.setSWDTPS1; inline;
  7419. begin
  7420. pTDefRegMap(@Self)^.&set := $00000008;
  7421. end;
  7422. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  7423. begin
  7424. pTDefRegMap(@Self)^.clr := $00000008;
  7425. end;
  7426. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  7427. begin
  7428. if thebits = 0 then
  7429. pTDefRegMap(@Self)^.clr := $00000008
  7430. else
  7431. pTDefRegMap(@Self)^.&set := $00000008;
  7432. end;
  7433. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  7434. begin
  7435. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  7436. end;
  7437. procedure TWDT_WDTCON.setSWDTPS2; inline;
  7438. begin
  7439. pTDefRegMap(@Self)^.&set := $00000010;
  7440. end;
  7441. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  7442. begin
  7443. pTDefRegMap(@Self)^.clr := $00000010;
  7444. end;
  7445. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  7446. begin
  7447. if thebits = 0 then
  7448. pTDefRegMap(@Self)^.clr := $00000010
  7449. else
  7450. pTDefRegMap(@Self)^.&set := $00000010;
  7451. end;
  7452. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  7453. begin
  7454. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  7455. end;
  7456. procedure TWDT_WDTCON.setSWDTPS3; inline;
  7457. begin
  7458. pTDefRegMap(@Self)^.&set := $00000020;
  7459. end;
  7460. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  7461. begin
  7462. pTDefRegMap(@Self)^.clr := $00000020;
  7463. end;
  7464. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  7465. begin
  7466. if thebits = 0 then
  7467. pTDefRegMap(@Self)^.clr := $00000020
  7468. else
  7469. pTDefRegMap(@Self)^.&set := $00000020;
  7470. end;
  7471. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  7472. begin
  7473. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  7474. end;
  7475. procedure TWDT_WDTCON.setSWDTPS4; inline;
  7476. begin
  7477. pTDefRegMap(@Self)^.&set := $00000040;
  7478. end;
  7479. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  7480. begin
  7481. pTDefRegMap(@Self)^.clr := $00000040;
  7482. end;
  7483. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  7484. begin
  7485. if thebits = 0 then
  7486. pTDefRegMap(@Self)^.clr := $00000040
  7487. else
  7488. pTDefRegMap(@Self)^.&set := $00000040;
  7489. end;
  7490. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  7491. begin
  7492. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  7493. end;
  7494. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  7495. begin
  7496. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  7497. end;
  7498. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  7499. begin
  7500. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  7501. end;
  7502. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  7503. begin
  7504. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  7505. end;
  7506. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  7507. begin
  7508. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  7509. end;
  7510. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  7511. begin
  7512. pTDefRegMap(@Self)^.val := thebits;
  7513. end;
  7514. function TWDT_WDTCON.getw : TBits_32; inline;
  7515. begin
  7516. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7517. end;
  7518. procedure TRTCC_RTCCON.setRTCOE; inline;
  7519. begin
  7520. pTDefRegMap(@Self)^.&set := $00000001;
  7521. end;
  7522. procedure TRTCC_RTCCON.clearRTCOE; inline;
  7523. begin
  7524. pTDefRegMap(@Self)^.clr := $00000001;
  7525. end;
  7526. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  7527. begin
  7528. if thebits = 0 then
  7529. pTDefRegMap(@Self)^.clr := $00000001
  7530. else
  7531. pTDefRegMap(@Self)^.&set := $00000001;
  7532. end;
  7533. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  7534. begin
  7535. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  7536. end;
  7537. procedure TRTCC_RTCCON.setHALFSEC; inline;
  7538. begin
  7539. pTDefRegMap(@Self)^.&set := $00000002;
  7540. end;
  7541. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  7542. begin
  7543. pTDefRegMap(@Self)^.clr := $00000002;
  7544. end;
  7545. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  7546. begin
  7547. if thebits = 0 then
  7548. pTDefRegMap(@Self)^.clr := $00000002
  7549. else
  7550. pTDefRegMap(@Self)^.&set := $00000002;
  7551. end;
  7552. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  7553. begin
  7554. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  7555. end;
  7556. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  7557. begin
  7558. pTDefRegMap(@Self)^.&set := $00000004;
  7559. end;
  7560. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  7561. begin
  7562. pTDefRegMap(@Self)^.clr := $00000004;
  7563. end;
  7564. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  7565. begin
  7566. if thebits = 0 then
  7567. pTDefRegMap(@Self)^.clr := $00000004
  7568. else
  7569. pTDefRegMap(@Self)^.&set := $00000004;
  7570. end;
  7571. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  7572. begin
  7573. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  7574. end;
  7575. procedure TRTCC_RTCCON.setRTCWREN; inline;
  7576. begin
  7577. pTDefRegMap(@Self)^.&set := $00000008;
  7578. end;
  7579. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  7580. begin
  7581. pTDefRegMap(@Self)^.clr := $00000008;
  7582. end;
  7583. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  7584. begin
  7585. if thebits = 0 then
  7586. pTDefRegMap(@Self)^.clr := $00000008
  7587. else
  7588. pTDefRegMap(@Self)^.&set := $00000008;
  7589. end;
  7590. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  7591. begin
  7592. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  7593. end;
  7594. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  7595. begin
  7596. pTDefRegMap(@Self)^.&set := $00000040;
  7597. end;
  7598. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  7599. begin
  7600. pTDefRegMap(@Self)^.clr := $00000040;
  7601. end;
  7602. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  7603. begin
  7604. if thebits = 0 then
  7605. pTDefRegMap(@Self)^.clr := $00000040
  7606. else
  7607. pTDefRegMap(@Self)^.&set := $00000040;
  7608. end;
  7609. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  7610. begin
  7611. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  7612. end;
  7613. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  7614. begin
  7615. pTDefRegMap(@Self)^.&set := $00000080;
  7616. end;
  7617. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  7618. begin
  7619. pTDefRegMap(@Self)^.clr := $00000080;
  7620. end;
  7621. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  7622. begin
  7623. if thebits = 0 then
  7624. pTDefRegMap(@Self)^.clr := $00000080
  7625. else
  7626. pTDefRegMap(@Self)^.&set := $00000080;
  7627. end;
  7628. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  7629. begin
  7630. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  7631. end;
  7632. procedure TRTCC_RTCCON.setSIDL; inline;
  7633. begin
  7634. pTDefRegMap(@Self)^.&set := $00002000;
  7635. end;
  7636. procedure TRTCC_RTCCON.clearSIDL; inline;
  7637. begin
  7638. pTDefRegMap(@Self)^.clr := $00002000;
  7639. end;
  7640. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  7641. begin
  7642. if thebits = 0 then
  7643. pTDefRegMap(@Self)^.clr := $00002000
  7644. else
  7645. pTDefRegMap(@Self)^.&set := $00002000;
  7646. end;
  7647. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  7648. begin
  7649. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7650. end;
  7651. procedure TRTCC_RTCCON.setON; inline;
  7652. begin
  7653. pTDefRegMap(@Self)^.&set := $00008000;
  7654. end;
  7655. procedure TRTCC_RTCCON.clearON; inline;
  7656. begin
  7657. pTDefRegMap(@Self)^.clr := $00008000;
  7658. end;
  7659. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  7660. begin
  7661. if thebits = 0 then
  7662. pTDefRegMap(@Self)^.clr := $00008000
  7663. else
  7664. pTDefRegMap(@Self)^.&set := $00008000;
  7665. end;
  7666. function TRTCC_RTCCON.getON : TBits_1; inline;
  7667. begin
  7668. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7669. end;
  7670. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  7671. begin
  7672. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  7673. end;
  7674. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  7675. begin
  7676. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  7677. end;
  7678. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  7679. begin
  7680. pTDefRegMap(@Self)^.val := thebits;
  7681. end;
  7682. function TRTCC_RTCCON.getw : TBits_32; inline;
  7683. begin
  7684. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7685. end;
  7686. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  7687. begin
  7688. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  7689. end;
  7690. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  7691. begin
  7692. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  7693. end;
  7694. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  7695. begin
  7696. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  7697. end;
  7698. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  7699. begin
  7700. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  7701. end;
  7702. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  7703. begin
  7704. pTDefRegMap(@Self)^.&set := $00001000;
  7705. end;
  7706. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  7707. begin
  7708. pTDefRegMap(@Self)^.clr := $00001000;
  7709. end;
  7710. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  7711. begin
  7712. if thebits = 0 then
  7713. pTDefRegMap(@Self)^.clr := $00001000
  7714. else
  7715. pTDefRegMap(@Self)^.&set := $00001000;
  7716. end;
  7717. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  7718. begin
  7719. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  7720. end;
  7721. procedure TRTCC_RTCALRM.setPIV; inline;
  7722. begin
  7723. pTDefRegMap(@Self)^.&set := $00002000;
  7724. end;
  7725. procedure TRTCC_RTCALRM.clearPIV; inline;
  7726. begin
  7727. pTDefRegMap(@Self)^.clr := $00002000;
  7728. end;
  7729. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  7730. begin
  7731. if thebits = 0 then
  7732. pTDefRegMap(@Self)^.clr := $00002000
  7733. else
  7734. pTDefRegMap(@Self)^.&set := $00002000;
  7735. end;
  7736. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  7737. begin
  7738. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7739. end;
  7740. procedure TRTCC_RTCALRM.setCHIME; inline;
  7741. begin
  7742. pTDefRegMap(@Self)^.&set := $00004000;
  7743. end;
  7744. procedure TRTCC_RTCALRM.clearCHIME; inline;
  7745. begin
  7746. pTDefRegMap(@Self)^.clr := $00004000;
  7747. end;
  7748. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  7749. begin
  7750. if thebits = 0 then
  7751. pTDefRegMap(@Self)^.clr := $00004000
  7752. else
  7753. pTDefRegMap(@Self)^.&set := $00004000;
  7754. end;
  7755. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  7756. begin
  7757. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  7758. end;
  7759. procedure TRTCC_RTCALRM.setALRMEN; inline;
  7760. begin
  7761. pTDefRegMap(@Self)^.&set := $00008000;
  7762. end;
  7763. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  7764. begin
  7765. pTDefRegMap(@Self)^.clr := $00008000;
  7766. end;
  7767. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  7768. begin
  7769. if thebits = 0 then
  7770. pTDefRegMap(@Self)^.clr := $00008000
  7771. else
  7772. pTDefRegMap(@Self)^.&set := $00008000;
  7773. end;
  7774. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  7775. begin
  7776. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7777. end;
  7778. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  7779. begin
  7780. pTDefRegMap(@Self)^.val := thebits;
  7781. end;
  7782. function TRTCC_RTCALRM.getw : TBits_32; inline;
  7783. begin
  7784. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7785. end;
  7786. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  7787. begin
  7788. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  7789. end;
  7790. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  7791. begin
  7792. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  7793. end;
  7794. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  7795. begin
  7796. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  7797. end;
  7798. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  7799. begin
  7800. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  7801. end;
  7802. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  7803. begin
  7804. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  7805. end;
  7806. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  7807. begin
  7808. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  7809. end;
  7810. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  7811. begin
  7812. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  7813. end;
  7814. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  7815. begin
  7816. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  7817. end;
  7818. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  7819. begin
  7820. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  7821. end;
  7822. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  7823. begin
  7824. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  7825. end;
  7826. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  7827. begin
  7828. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  7829. end;
  7830. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  7831. begin
  7832. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  7833. end;
  7834. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  7835. begin
  7836. pTDefRegMap(@Self)^.val := thebits;
  7837. end;
  7838. function TRTCC_RTCTIME.getw : TBits_32; inline;
  7839. begin
  7840. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7841. end;
  7842. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  7843. begin
  7844. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  7845. end;
  7846. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  7847. begin
  7848. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  7849. end;
  7850. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  7851. begin
  7852. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  7853. end;
  7854. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  7855. begin
  7856. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  7857. end;
  7858. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  7859. begin
  7860. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  7861. end;
  7862. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  7863. begin
  7864. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  7865. end;
  7866. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  7867. begin
  7868. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  7869. end;
  7870. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  7871. begin
  7872. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  7873. end;
  7874. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  7875. begin
  7876. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  7877. end;
  7878. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  7879. begin
  7880. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  7881. end;
  7882. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  7883. begin
  7884. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  7885. end;
  7886. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  7887. begin
  7888. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  7889. end;
  7890. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  7891. begin
  7892. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  7893. end;
  7894. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  7895. begin
  7896. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  7897. end;
  7898. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  7899. begin
  7900. pTDefRegMap(@Self)^.val := thebits;
  7901. end;
  7902. function TRTCC_RTCDATE.getw : TBits_32; inline;
  7903. begin
  7904. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7905. end;
  7906. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  7907. begin
  7908. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  7909. end;
  7910. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  7911. begin
  7912. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  7913. end;
  7914. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  7915. begin
  7916. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  7917. end;
  7918. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  7919. begin
  7920. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  7921. end;
  7922. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  7923. begin
  7924. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  7925. end;
  7926. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  7927. begin
  7928. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  7929. end;
  7930. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  7931. begin
  7932. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  7933. end;
  7934. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  7935. begin
  7936. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  7937. end;
  7938. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  7939. begin
  7940. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  7941. end;
  7942. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  7943. begin
  7944. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  7945. end;
  7946. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  7947. begin
  7948. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  7949. end;
  7950. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  7951. begin
  7952. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  7953. end;
  7954. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  7955. begin
  7956. pTDefRegMap(@Self)^.val := thebits;
  7957. end;
  7958. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  7959. begin
  7960. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7961. end;
  7962. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  7963. begin
  7964. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  7965. end;
  7966. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  7967. begin
  7968. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  7969. end;
  7970. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  7971. begin
  7972. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  7973. end;
  7974. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  7975. begin
  7976. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  7977. end;
  7978. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  7979. begin
  7980. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  7981. end;
  7982. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  7983. begin
  7984. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  7985. end;
  7986. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  7987. begin
  7988. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  7989. end;
  7990. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  7991. begin
  7992. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  7993. end;
  7994. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  7995. begin
  7996. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  7997. end;
  7998. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  7999. begin
  8000. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  8001. end;
  8002. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  8003. begin
  8004. pTDefRegMap(@Self)^.val := thebits;
  8005. end;
  8006. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  8007. begin
  8008. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8009. end;
  8010. procedure TTMR1_T1CON.setTCS; inline;
  8011. begin
  8012. pTDefRegMap(@Self)^.&set := $00000002;
  8013. end;
  8014. procedure TTMR1_T1CON.clearTCS; inline;
  8015. begin
  8016. pTDefRegMap(@Self)^.clr := $00000002;
  8017. end;
  8018. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  8019. begin
  8020. if thebits = 0 then
  8021. pTDefRegMap(@Self)^.clr := $00000002
  8022. else
  8023. pTDefRegMap(@Self)^.&set := $00000002;
  8024. end;
  8025. function TTMR1_T1CON.getTCS : TBits_1; inline;
  8026. begin
  8027. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8028. end;
  8029. procedure TTMR1_T1CON.setTSYNC; inline;
  8030. begin
  8031. pTDefRegMap(@Self)^.&set := $00000004;
  8032. end;
  8033. procedure TTMR1_T1CON.clearTSYNC; inline;
  8034. begin
  8035. pTDefRegMap(@Self)^.clr := $00000004;
  8036. end;
  8037. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  8038. begin
  8039. if thebits = 0 then
  8040. pTDefRegMap(@Self)^.clr := $00000004
  8041. else
  8042. pTDefRegMap(@Self)^.&set := $00000004;
  8043. end;
  8044. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  8045. begin
  8046. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  8047. end;
  8048. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  8049. begin
  8050. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  8051. end;
  8052. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  8053. begin
  8054. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  8055. end;
  8056. procedure TTMR1_T1CON.setTGATE; inline;
  8057. begin
  8058. pTDefRegMap(@Self)^.&set := $00000080;
  8059. end;
  8060. procedure TTMR1_T1CON.clearTGATE; inline;
  8061. begin
  8062. pTDefRegMap(@Self)^.clr := $00000080;
  8063. end;
  8064. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  8065. begin
  8066. if thebits = 0 then
  8067. pTDefRegMap(@Self)^.clr := $00000080
  8068. else
  8069. pTDefRegMap(@Self)^.&set := $00000080;
  8070. end;
  8071. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  8072. begin
  8073. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8074. end;
  8075. procedure TTMR1_T1CON.setTWIP; inline;
  8076. begin
  8077. pTDefRegMap(@Self)^.&set := $00000800;
  8078. end;
  8079. procedure TTMR1_T1CON.clearTWIP; inline;
  8080. begin
  8081. pTDefRegMap(@Self)^.clr := $00000800;
  8082. end;
  8083. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  8084. begin
  8085. if thebits = 0 then
  8086. pTDefRegMap(@Self)^.clr := $00000800
  8087. else
  8088. pTDefRegMap(@Self)^.&set := $00000800;
  8089. end;
  8090. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  8091. begin
  8092. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  8093. end;
  8094. procedure TTMR1_T1CON.setTWDIS; inline;
  8095. begin
  8096. pTDefRegMap(@Self)^.&set := $00001000;
  8097. end;
  8098. procedure TTMR1_T1CON.clearTWDIS; inline;
  8099. begin
  8100. pTDefRegMap(@Self)^.clr := $00001000;
  8101. end;
  8102. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  8103. begin
  8104. if thebits = 0 then
  8105. pTDefRegMap(@Self)^.clr := $00001000
  8106. else
  8107. pTDefRegMap(@Self)^.&set := $00001000;
  8108. end;
  8109. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  8110. begin
  8111. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  8112. end;
  8113. procedure TTMR1_T1CON.setSIDL; inline;
  8114. begin
  8115. pTDefRegMap(@Self)^.&set := $00002000;
  8116. end;
  8117. procedure TTMR1_T1CON.clearSIDL; inline;
  8118. begin
  8119. pTDefRegMap(@Self)^.clr := $00002000;
  8120. end;
  8121. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  8122. begin
  8123. if thebits = 0 then
  8124. pTDefRegMap(@Self)^.clr := $00002000
  8125. else
  8126. pTDefRegMap(@Self)^.&set := $00002000;
  8127. end;
  8128. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  8129. begin
  8130. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8131. end;
  8132. procedure TTMR1_T1CON.setON; inline;
  8133. begin
  8134. pTDefRegMap(@Self)^.&set := $00008000;
  8135. end;
  8136. procedure TTMR1_T1CON.clearON; inline;
  8137. begin
  8138. pTDefRegMap(@Self)^.clr := $00008000;
  8139. end;
  8140. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  8141. begin
  8142. if thebits = 0 then
  8143. pTDefRegMap(@Self)^.clr := $00008000
  8144. else
  8145. pTDefRegMap(@Self)^.&set := $00008000;
  8146. end;
  8147. function TTMR1_T1CON.getON : TBits_1; inline;
  8148. begin
  8149. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8150. end;
  8151. procedure TTMR1_T1CON.setTCKPS0; inline;
  8152. begin
  8153. pTDefRegMap(@Self)^.&set := $00000010;
  8154. end;
  8155. procedure TTMR1_T1CON.clearTCKPS0; inline;
  8156. begin
  8157. pTDefRegMap(@Self)^.clr := $00000010;
  8158. end;
  8159. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  8160. begin
  8161. if thebits = 0 then
  8162. pTDefRegMap(@Self)^.clr := $00000010
  8163. else
  8164. pTDefRegMap(@Self)^.&set := $00000010;
  8165. end;
  8166. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  8167. begin
  8168. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8169. end;
  8170. procedure TTMR1_T1CON.setTCKPS1; inline;
  8171. begin
  8172. pTDefRegMap(@Self)^.&set := $00000020;
  8173. end;
  8174. procedure TTMR1_T1CON.clearTCKPS1; inline;
  8175. begin
  8176. pTDefRegMap(@Self)^.clr := $00000020;
  8177. end;
  8178. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  8179. begin
  8180. if thebits = 0 then
  8181. pTDefRegMap(@Self)^.clr := $00000020
  8182. else
  8183. pTDefRegMap(@Self)^.&set := $00000020;
  8184. end;
  8185. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  8186. begin
  8187. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8188. end;
  8189. procedure TTMR1_T1CON.setTSIDL; inline;
  8190. begin
  8191. pTDefRegMap(@Self)^.&set := $00002000;
  8192. end;
  8193. procedure TTMR1_T1CON.clearTSIDL; inline;
  8194. begin
  8195. pTDefRegMap(@Self)^.clr := $00002000;
  8196. end;
  8197. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  8198. begin
  8199. if thebits = 0 then
  8200. pTDefRegMap(@Self)^.clr := $00002000
  8201. else
  8202. pTDefRegMap(@Self)^.&set := $00002000;
  8203. end;
  8204. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  8205. begin
  8206. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8207. end;
  8208. procedure TTMR1_T1CON.setTON; inline;
  8209. begin
  8210. pTDefRegMap(@Self)^.&set := $00008000;
  8211. end;
  8212. procedure TTMR1_T1CON.clearTON; inline;
  8213. begin
  8214. pTDefRegMap(@Self)^.clr := $00008000;
  8215. end;
  8216. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  8217. begin
  8218. if thebits = 0 then
  8219. pTDefRegMap(@Self)^.clr := $00008000
  8220. else
  8221. pTDefRegMap(@Self)^.&set := $00008000;
  8222. end;
  8223. function TTMR1_T1CON.getTON : TBits_1; inline;
  8224. begin
  8225. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8226. end;
  8227. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  8228. begin
  8229. pTDefRegMap(@Self)^.val := thebits;
  8230. end;
  8231. function TTMR1_T1CON.getw : TBits_32; inline;
  8232. begin
  8233. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8234. end;
  8235. procedure TTMR23_T2CON.setTCS; inline;
  8236. begin
  8237. pTDefRegMap(@Self)^.&set := $00000002;
  8238. end;
  8239. procedure TTMR23_T2CON.clearTCS; inline;
  8240. begin
  8241. pTDefRegMap(@Self)^.clr := $00000002;
  8242. end;
  8243. procedure TTMR23_T2CON.setTCS(thebits : TBits_1); inline;
  8244. begin
  8245. if thebits = 0 then
  8246. pTDefRegMap(@Self)^.clr := $00000002
  8247. else
  8248. pTDefRegMap(@Self)^.&set := $00000002;
  8249. end;
  8250. function TTMR23_T2CON.getTCS : TBits_1; inline;
  8251. begin
  8252. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8253. end;
  8254. procedure TTMR23_T2CON.setT32; inline;
  8255. begin
  8256. pTDefRegMap(@Self)^.&set := $00000008;
  8257. end;
  8258. procedure TTMR23_T2CON.clearT32; inline;
  8259. begin
  8260. pTDefRegMap(@Self)^.clr := $00000008;
  8261. end;
  8262. procedure TTMR23_T2CON.setT32(thebits : TBits_1); inline;
  8263. begin
  8264. if thebits = 0 then
  8265. pTDefRegMap(@Self)^.clr := $00000008
  8266. else
  8267. pTDefRegMap(@Self)^.&set := $00000008;
  8268. end;
  8269. function TTMR23_T2CON.getT32 : TBits_1; inline;
  8270. begin
  8271. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8272. end;
  8273. procedure TTMR23_T2CON.setTCKPS(thebits : TBits_3); inline;
  8274. begin
  8275. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  8276. end;
  8277. function TTMR23_T2CON.getTCKPS : TBits_3; inline;
  8278. begin
  8279. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  8280. end;
  8281. procedure TTMR23_T2CON.setTGATE; inline;
  8282. begin
  8283. pTDefRegMap(@Self)^.&set := $00000080;
  8284. end;
  8285. procedure TTMR23_T2CON.clearTGATE; inline;
  8286. begin
  8287. pTDefRegMap(@Self)^.clr := $00000080;
  8288. end;
  8289. procedure TTMR23_T2CON.setTGATE(thebits : TBits_1); inline;
  8290. begin
  8291. if thebits = 0 then
  8292. pTDefRegMap(@Self)^.clr := $00000080
  8293. else
  8294. pTDefRegMap(@Self)^.&set := $00000080;
  8295. end;
  8296. function TTMR23_T2CON.getTGATE : TBits_1; inline;
  8297. begin
  8298. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8299. end;
  8300. procedure TTMR23_T2CON.setSIDL; inline;
  8301. begin
  8302. pTDefRegMap(@Self)^.&set := $00002000;
  8303. end;
  8304. procedure TTMR23_T2CON.clearSIDL; inline;
  8305. begin
  8306. pTDefRegMap(@Self)^.clr := $00002000;
  8307. end;
  8308. procedure TTMR23_T2CON.setSIDL(thebits : TBits_1); inline;
  8309. begin
  8310. if thebits = 0 then
  8311. pTDefRegMap(@Self)^.clr := $00002000
  8312. else
  8313. pTDefRegMap(@Self)^.&set := $00002000;
  8314. end;
  8315. function TTMR23_T2CON.getSIDL : TBits_1; inline;
  8316. begin
  8317. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8318. end;
  8319. procedure TTMR23_T2CON.setON; inline;
  8320. begin
  8321. pTDefRegMap(@Self)^.&set := $00008000;
  8322. end;
  8323. procedure TTMR23_T2CON.clearON; inline;
  8324. begin
  8325. pTDefRegMap(@Self)^.clr := $00008000;
  8326. end;
  8327. procedure TTMR23_T2CON.setON(thebits : TBits_1); inline;
  8328. begin
  8329. if thebits = 0 then
  8330. pTDefRegMap(@Self)^.clr := $00008000
  8331. else
  8332. pTDefRegMap(@Self)^.&set := $00008000;
  8333. end;
  8334. function TTMR23_T2CON.getON : TBits_1; inline;
  8335. begin
  8336. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8337. end;
  8338. procedure TTMR23_T2CON.setTCKPS0; inline;
  8339. begin
  8340. pTDefRegMap(@Self)^.&set := $00000010;
  8341. end;
  8342. procedure TTMR23_T2CON.clearTCKPS0; inline;
  8343. begin
  8344. pTDefRegMap(@Self)^.clr := $00000010;
  8345. end;
  8346. procedure TTMR23_T2CON.setTCKPS0(thebits : TBits_1); inline;
  8347. begin
  8348. if thebits = 0 then
  8349. pTDefRegMap(@Self)^.clr := $00000010
  8350. else
  8351. pTDefRegMap(@Self)^.&set := $00000010;
  8352. end;
  8353. function TTMR23_T2CON.getTCKPS0 : TBits_1; inline;
  8354. begin
  8355. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8356. end;
  8357. procedure TTMR23_T2CON.setTCKPS1; inline;
  8358. begin
  8359. pTDefRegMap(@Self)^.&set := $00000020;
  8360. end;
  8361. procedure TTMR23_T2CON.clearTCKPS1; inline;
  8362. begin
  8363. pTDefRegMap(@Self)^.clr := $00000020;
  8364. end;
  8365. procedure TTMR23_T2CON.setTCKPS1(thebits : TBits_1); inline;
  8366. begin
  8367. if thebits = 0 then
  8368. pTDefRegMap(@Self)^.clr := $00000020
  8369. else
  8370. pTDefRegMap(@Self)^.&set := $00000020;
  8371. end;
  8372. function TTMR23_T2CON.getTCKPS1 : TBits_1; inline;
  8373. begin
  8374. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8375. end;
  8376. procedure TTMR23_T2CON.setTCKPS2; inline;
  8377. begin
  8378. pTDefRegMap(@Self)^.&set := $00000040;
  8379. end;
  8380. procedure TTMR23_T2CON.clearTCKPS2; inline;
  8381. begin
  8382. pTDefRegMap(@Self)^.clr := $00000040;
  8383. end;
  8384. procedure TTMR23_T2CON.setTCKPS2(thebits : TBits_1); inline;
  8385. begin
  8386. if thebits = 0 then
  8387. pTDefRegMap(@Self)^.clr := $00000040
  8388. else
  8389. pTDefRegMap(@Self)^.&set := $00000040;
  8390. end;
  8391. function TTMR23_T2CON.getTCKPS2 : TBits_1; inline;
  8392. begin
  8393. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8394. end;
  8395. procedure TTMR23_T2CON.setTSIDL; inline;
  8396. begin
  8397. pTDefRegMap(@Self)^.&set := $00002000;
  8398. end;
  8399. procedure TTMR23_T2CON.clearTSIDL; inline;
  8400. begin
  8401. pTDefRegMap(@Self)^.clr := $00002000;
  8402. end;
  8403. procedure TTMR23_T2CON.setTSIDL(thebits : TBits_1); inline;
  8404. begin
  8405. if thebits = 0 then
  8406. pTDefRegMap(@Self)^.clr := $00002000
  8407. else
  8408. pTDefRegMap(@Self)^.&set := $00002000;
  8409. end;
  8410. function TTMR23_T2CON.getTSIDL : TBits_1; inline;
  8411. begin
  8412. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8413. end;
  8414. procedure TTMR23_T2CON.setTON; inline;
  8415. begin
  8416. pTDefRegMap(@Self)^.&set := $00008000;
  8417. end;
  8418. procedure TTMR23_T2CON.clearTON; inline;
  8419. begin
  8420. pTDefRegMap(@Self)^.clr := $00008000;
  8421. end;
  8422. procedure TTMR23_T2CON.setTON(thebits : TBits_1); inline;
  8423. begin
  8424. if thebits = 0 then
  8425. pTDefRegMap(@Self)^.clr := $00008000
  8426. else
  8427. pTDefRegMap(@Self)^.&set := $00008000;
  8428. end;
  8429. function TTMR23_T2CON.getTON : TBits_1; inline;
  8430. begin
  8431. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8432. end;
  8433. procedure TTMR23_T2CON.setw(thebits : TBits_32); inline;
  8434. begin
  8435. pTDefRegMap(@Self)^.val := thebits;
  8436. end;
  8437. function TTMR23_T2CON.getw : TBits_32; inline;
  8438. begin
  8439. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8440. end;
  8441. procedure TTMR3_T3CON.setTCS; inline;
  8442. begin
  8443. pTDefRegMap(@Self)^.&set := $00000002;
  8444. end;
  8445. procedure TTMR3_T3CON.clearTCS; inline;
  8446. begin
  8447. pTDefRegMap(@Self)^.clr := $00000002;
  8448. end;
  8449. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  8450. begin
  8451. if thebits = 0 then
  8452. pTDefRegMap(@Self)^.clr := $00000002
  8453. else
  8454. pTDefRegMap(@Self)^.&set := $00000002;
  8455. end;
  8456. function TTMR3_T3CON.getTCS : TBits_1; inline;
  8457. begin
  8458. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8459. end;
  8460. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  8461. begin
  8462. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  8463. end;
  8464. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  8465. begin
  8466. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  8467. end;
  8468. procedure TTMR3_T3CON.setTGATE; inline;
  8469. begin
  8470. pTDefRegMap(@Self)^.&set := $00000080;
  8471. end;
  8472. procedure TTMR3_T3CON.clearTGATE; inline;
  8473. begin
  8474. pTDefRegMap(@Self)^.clr := $00000080;
  8475. end;
  8476. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  8477. begin
  8478. if thebits = 0 then
  8479. pTDefRegMap(@Self)^.clr := $00000080
  8480. else
  8481. pTDefRegMap(@Self)^.&set := $00000080;
  8482. end;
  8483. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  8484. begin
  8485. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8486. end;
  8487. procedure TTMR3_T3CON.setSIDL; inline;
  8488. begin
  8489. pTDefRegMap(@Self)^.&set := $00002000;
  8490. end;
  8491. procedure TTMR3_T3CON.clearSIDL; inline;
  8492. begin
  8493. pTDefRegMap(@Self)^.clr := $00002000;
  8494. end;
  8495. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  8496. begin
  8497. if thebits = 0 then
  8498. pTDefRegMap(@Self)^.clr := $00002000
  8499. else
  8500. pTDefRegMap(@Self)^.&set := $00002000;
  8501. end;
  8502. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  8503. begin
  8504. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8505. end;
  8506. procedure TTMR3_T3CON.setON; inline;
  8507. begin
  8508. pTDefRegMap(@Self)^.&set := $00008000;
  8509. end;
  8510. procedure TTMR3_T3CON.clearON; inline;
  8511. begin
  8512. pTDefRegMap(@Self)^.clr := $00008000;
  8513. end;
  8514. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  8515. begin
  8516. if thebits = 0 then
  8517. pTDefRegMap(@Self)^.clr := $00008000
  8518. else
  8519. pTDefRegMap(@Self)^.&set := $00008000;
  8520. end;
  8521. function TTMR3_T3CON.getON : TBits_1; inline;
  8522. begin
  8523. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8524. end;
  8525. procedure TTMR3_T3CON.setTCKPS0; inline;
  8526. begin
  8527. pTDefRegMap(@Self)^.&set := $00000010;
  8528. end;
  8529. procedure TTMR3_T3CON.clearTCKPS0; inline;
  8530. begin
  8531. pTDefRegMap(@Self)^.clr := $00000010;
  8532. end;
  8533. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  8534. begin
  8535. if thebits = 0 then
  8536. pTDefRegMap(@Self)^.clr := $00000010
  8537. else
  8538. pTDefRegMap(@Self)^.&set := $00000010;
  8539. end;
  8540. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  8541. begin
  8542. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8543. end;
  8544. procedure TTMR3_T3CON.setTCKPS1; inline;
  8545. begin
  8546. pTDefRegMap(@Self)^.&set := $00000020;
  8547. end;
  8548. procedure TTMR3_T3CON.clearTCKPS1; inline;
  8549. begin
  8550. pTDefRegMap(@Self)^.clr := $00000020;
  8551. end;
  8552. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  8553. begin
  8554. if thebits = 0 then
  8555. pTDefRegMap(@Self)^.clr := $00000020
  8556. else
  8557. pTDefRegMap(@Self)^.&set := $00000020;
  8558. end;
  8559. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  8560. begin
  8561. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8562. end;
  8563. procedure TTMR3_T3CON.setTCKPS2; inline;
  8564. begin
  8565. pTDefRegMap(@Self)^.&set := $00000040;
  8566. end;
  8567. procedure TTMR3_T3CON.clearTCKPS2; inline;
  8568. begin
  8569. pTDefRegMap(@Self)^.clr := $00000040;
  8570. end;
  8571. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  8572. begin
  8573. if thebits = 0 then
  8574. pTDefRegMap(@Self)^.clr := $00000040
  8575. else
  8576. pTDefRegMap(@Self)^.&set := $00000040;
  8577. end;
  8578. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  8579. begin
  8580. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8581. end;
  8582. procedure TTMR3_T3CON.setTSIDL; inline;
  8583. begin
  8584. pTDefRegMap(@Self)^.&set := $00002000;
  8585. end;
  8586. procedure TTMR3_T3CON.clearTSIDL; inline;
  8587. begin
  8588. pTDefRegMap(@Self)^.clr := $00002000;
  8589. end;
  8590. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  8591. begin
  8592. if thebits = 0 then
  8593. pTDefRegMap(@Self)^.clr := $00002000
  8594. else
  8595. pTDefRegMap(@Self)^.&set := $00002000;
  8596. end;
  8597. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  8598. begin
  8599. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8600. end;
  8601. procedure TTMR3_T3CON.setTON; inline;
  8602. begin
  8603. pTDefRegMap(@Self)^.&set := $00008000;
  8604. end;
  8605. procedure TTMR3_T3CON.clearTON; inline;
  8606. begin
  8607. pTDefRegMap(@Self)^.clr := $00008000;
  8608. end;
  8609. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  8610. begin
  8611. if thebits = 0 then
  8612. pTDefRegMap(@Self)^.clr := $00008000
  8613. else
  8614. pTDefRegMap(@Self)^.&set := $00008000;
  8615. end;
  8616. function TTMR3_T3CON.getTON : TBits_1; inline;
  8617. begin
  8618. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8619. end;
  8620. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  8621. begin
  8622. pTDefRegMap(@Self)^.val := thebits;
  8623. end;
  8624. function TTMR3_T3CON.getw : TBits_32; inline;
  8625. begin
  8626. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8627. end;
  8628. procedure TTMR4_T4CON.setTCS; inline;
  8629. begin
  8630. pTDefRegMap(@Self)^.&set := $00000002;
  8631. end;
  8632. procedure TTMR4_T4CON.clearTCS; inline;
  8633. begin
  8634. pTDefRegMap(@Self)^.clr := $00000002;
  8635. end;
  8636. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  8637. begin
  8638. if thebits = 0 then
  8639. pTDefRegMap(@Self)^.clr := $00000002
  8640. else
  8641. pTDefRegMap(@Self)^.&set := $00000002;
  8642. end;
  8643. function TTMR4_T4CON.getTCS : TBits_1; inline;
  8644. begin
  8645. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8646. end;
  8647. procedure TTMR4_T4CON.setT32; inline;
  8648. begin
  8649. pTDefRegMap(@Self)^.&set := $00000008;
  8650. end;
  8651. procedure TTMR4_T4CON.clearT32; inline;
  8652. begin
  8653. pTDefRegMap(@Self)^.clr := $00000008;
  8654. end;
  8655. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  8656. begin
  8657. if thebits = 0 then
  8658. pTDefRegMap(@Self)^.clr := $00000008
  8659. else
  8660. pTDefRegMap(@Self)^.&set := $00000008;
  8661. end;
  8662. function TTMR4_T4CON.getT32 : TBits_1; inline;
  8663. begin
  8664. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8665. end;
  8666. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  8667. begin
  8668. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  8669. end;
  8670. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  8671. begin
  8672. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  8673. end;
  8674. procedure TTMR4_T4CON.setTGATE; inline;
  8675. begin
  8676. pTDefRegMap(@Self)^.&set := $00000080;
  8677. end;
  8678. procedure TTMR4_T4CON.clearTGATE; inline;
  8679. begin
  8680. pTDefRegMap(@Self)^.clr := $00000080;
  8681. end;
  8682. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  8683. begin
  8684. if thebits = 0 then
  8685. pTDefRegMap(@Self)^.clr := $00000080
  8686. else
  8687. pTDefRegMap(@Self)^.&set := $00000080;
  8688. end;
  8689. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  8690. begin
  8691. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8692. end;
  8693. procedure TTMR4_T4CON.setSIDL; inline;
  8694. begin
  8695. pTDefRegMap(@Self)^.&set := $00002000;
  8696. end;
  8697. procedure TTMR4_T4CON.clearSIDL; inline;
  8698. begin
  8699. pTDefRegMap(@Self)^.clr := $00002000;
  8700. end;
  8701. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  8702. begin
  8703. if thebits = 0 then
  8704. pTDefRegMap(@Self)^.clr := $00002000
  8705. else
  8706. pTDefRegMap(@Self)^.&set := $00002000;
  8707. end;
  8708. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  8709. begin
  8710. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8711. end;
  8712. procedure TTMR4_T4CON.setON; inline;
  8713. begin
  8714. pTDefRegMap(@Self)^.&set := $00008000;
  8715. end;
  8716. procedure TTMR4_T4CON.clearON; inline;
  8717. begin
  8718. pTDefRegMap(@Self)^.clr := $00008000;
  8719. end;
  8720. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  8721. begin
  8722. if thebits = 0 then
  8723. pTDefRegMap(@Self)^.clr := $00008000
  8724. else
  8725. pTDefRegMap(@Self)^.&set := $00008000;
  8726. end;
  8727. function TTMR4_T4CON.getON : TBits_1; inline;
  8728. begin
  8729. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8730. end;
  8731. procedure TTMR4_T4CON.setTCKPS0; inline;
  8732. begin
  8733. pTDefRegMap(@Self)^.&set := $00000010;
  8734. end;
  8735. procedure TTMR4_T4CON.clearTCKPS0; inline;
  8736. begin
  8737. pTDefRegMap(@Self)^.clr := $00000010;
  8738. end;
  8739. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  8740. begin
  8741. if thebits = 0 then
  8742. pTDefRegMap(@Self)^.clr := $00000010
  8743. else
  8744. pTDefRegMap(@Self)^.&set := $00000010;
  8745. end;
  8746. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  8747. begin
  8748. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8749. end;
  8750. procedure TTMR4_T4CON.setTCKPS1; inline;
  8751. begin
  8752. pTDefRegMap(@Self)^.&set := $00000020;
  8753. end;
  8754. procedure TTMR4_T4CON.clearTCKPS1; inline;
  8755. begin
  8756. pTDefRegMap(@Self)^.clr := $00000020;
  8757. end;
  8758. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  8759. begin
  8760. if thebits = 0 then
  8761. pTDefRegMap(@Self)^.clr := $00000020
  8762. else
  8763. pTDefRegMap(@Self)^.&set := $00000020;
  8764. end;
  8765. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  8766. begin
  8767. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8768. end;
  8769. procedure TTMR4_T4CON.setTCKPS2; inline;
  8770. begin
  8771. pTDefRegMap(@Self)^.&set := $00000040;
  8772. end;
  8773. procedure TTMR4_T4CON.clearTCKPS2; inline;
  8774. begin
  8775. pTDefRegMap(@Self)^.clr := $00000040;
  8776. end;
  8777. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  8778. begin
  8779. if thebits = 0 then
  8780. pTDefRegMap(@Self)^.clr := $00000040
  8781. else
  8782. pTDefRegMap(@Self)^.&set := $00000040;
  8783. end;
  8784. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  8785. begin
  8786. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8787. end;
  8788. procedure TTMR4_T4CON.setTSIDL; inline;
  8789. begin
  8790. pTDefRegMap(@Self)^.&set := $00002000;
  8791. end;
  8792. procedure TTMR4_T4CON.clearTSIDL; inline;
  8793. begin
  8794. pTDefRegMap(@Self)^.clr := $00002000;
  8795. end;
  8796. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  8797. begin
  8798. if thebits = 0 then
  8799. pTDefRegMap(@Self)^.clr := $00002000
  8800. else
  8801. pTDefRegMap(@Self)^.&set := $00002000;
  8802. end;
  8803. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  8804. begin
  8805. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8806. end;
  8807. procedure TTMR4_T4CON.setTON; inline;
  8808. begin
  8809. pTDefRegMap(@Self)^.&set := $00008000;
  8810. end;
  8811. procedure TTMR4_T4CON.clearTON; inline;
  8812. begin
  8813. pTDefRegMap(@Self)^.clr := $00008000;
  8814. end;
  8815. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  8816. begin
  8817. if thebits = 0 then
  8818. pTDefRegMap(@Self)^.clr := $00008000
  8819. else
  8820. pTDefRegMap(@Self)^.&set := $00008000;
  8821. end;
  8822. function TTMR4_T4CON.getTON : TBits_1; inline;
  8823. begin
  8824. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8825. end;
  8826. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  8827. begin
  8828. pTDefRegMap(@Self)^.val := thebits;
  8829. end;
  8830. function TTMR4_T4CON.getw : TBits_32; inline;
  8831. begin
  8832. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8833. end;
  8834. procedure TTMR5_T5CON.setTCS; inline;
  8835. begin
  8836. pTDefRegMap(@Self)^.&set := $00000002;
  8837. end;
  8838. procedure TTMR5_T5CON.clearTCS; inline;
  8839. begin
  8840. pTDefRegMap(@Self)^.clr := $00000002;
  8841. end;
  8842. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  8843. begin
  8844. if thebits = 0 then
  8845. pTDefRegMap(@Self)^.clr := $00000002
  8846. else
  8847. pTDefRegMap(@Self)^.&set := $00000002;
  8848. end;
  8849. function TTMR5_T5CON.getTCS : TBits_1; inline;
  8850. begin
  8851. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8852. end;
  8853. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  8854. begin
  8855. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  8856. end;
  8857. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  8858. begin
  8859. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  8860. end;
  8861. procedure TTMR5_T5CON.setTGATE; inline;
  8862. begin
  8863. pTDefRegMap(@Self)^.&set := $00000080;
  8864. end;
  8865. procedure TTMR5_T5CON.clearTGATE; inline;
  8866. begin
  8867. pTDefRegMap(@Self)^.clr := $00000080;
  8868. end;
  8869. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  8870. begin
  8871. if thebits = 0 then
  8872. pTDefRegMap(@Self)^.clr := $00000080
  8873. else
  8874. pTDefRegMap(@Self)^.&set := $00000080;
  8875. end;
  8876. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  8877. begin
  8878. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8879. end;
  8880. procedure TTMR5_T5CON.setSIDL; inline;
  8881. begin
  8882. pTDefRegMap(@Self)^.&set := $00002000;
  8883. end;
  8884. procedure TTMR5_T5CON.clearSIDL; inline;
  8885. begin
  8886. pTDefRegMap(@Self)^.clr := $00002000;
  8887. end;
  8888. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  8889. begin
  8890. if thebits = 0 then
  8891. pTDefRegMap(@Self)^.clr := $00002000
  8892. else
  8893. pTDefRegMap(@Self)^.&set := $00002000;
  8894. end;
  8895. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  8896. begin
  8897. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8898. end;
  8899. procedure TTMR5_T5CON.setON; inline;
  8900. begin
  8901. pTDefRegMap(@Self)^.&set := $00008000;
  8902. end;
  8903. procedure TTMR5_T5CON.clearON; inline;
  8904. begin
  8905. pTDefRegMap(@Self)^.clr := $00008000;
  8906. end;
  8907. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  8908. begin
  8909. if thebits = 0 then
  8910. pTDefRegMap(@Self)^.clr := $00008000
  8911. else
  8912. pTDefRegMap(@Self)^.&set := $00008000;
  8913. end;
  8914. function TTMR5_T5CON.getON : TBits_1; inline;
  8915. begin
  8916. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8917. end;
  8918. procedure TTMR5_T5CON.setTCKPS0; inline;
  8919. begin
  8920. pTDefRegMap(@Self)^.&set := $00000010;
  8921. end;
  8922. procedure TTMR5_T5CON.clearTCKPS0; inline;
  8923. begin
  8924. pTDefRegMap(@Self)^.clr := $00000010;
  8925. end;
  8926. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  8927. begin
  8928. if thebits = 0 then
  8929. pTDefRegMap(@Self)^.clr := $00000010
  8930. else
  8931. pTDefRegMap(@Self)^.&set := $00000010;
  8932. end;
  8933. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  8934. begin
  8935. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8936. end;
  8937. procedure TTMR5_T5CON.setTCKPS1; inline;
  8938. begin
  8939. pTDefRegMap(@Self)^.&set := $00000020;
  8940. end;
  8941. procedure TTMR5_T5CON.clearTCKPS1; inline;
  8942. begin
  8943. pTDefRegMap(@Self)^.clr := $00000020;
  8944. end;
  8945. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  8946. begin
  8947. if thebits = 0 then
  8948. pTDefRegMap(@Self)^.clr := $00000020
  8949. else
  8950. pTDefRegMap(@Self)^.&set := $00000020;
  8951. end;
  8952. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  8953. begin
  8954. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8955. end;
  8956. procedure TTMR5_T5CON.setTCKPS2; inline;
  8957. begin
  8958. pTDefRegMap(@Self)^.&set := $00000040;
  8959. end;
  8960. procedure TTMR5_T5CON.clearTCKPS2; inline;
  8961. begin
  8962. pTDefRegMap(@Self)^.clr := $00000040;
  8963. end;
  8964. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  8965. begin
  8966. if thebits = 0 then
  8967. pTDefRegMap(@Self)^.clr := $00000040
  8968. else
  8969. pTDefRegMap(@Self)^.&set := $00000040;
  8970. end;
  8971. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  8972. begin
  8973. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8974. end;
  8975. procedure TTMR5_T5CON.setTSIDL; inline;
  8976. begin
  8977. pTDefRegMap(@Self)^.&set := $00002000;
  8978. end;
  8979. procedure TTMR5_T5CON.clearTSIDL; inline;
  8980. begin
  8981. pTDefRegMap(@Self)^.clr := $00002000;
  8982. end;
  8983. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  8984. begin
  8985. if thebits = 0 then
  8986. pTDefRegMap(@Self)^.clr := $00002000
  8987. else
  8988. pTDefRegMap(@Self)^.&set := $00002000;
  8989. end;
  8990. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  8991. begin
  8992. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8993. end;
  8994. procedure TTMR5_T5CON.setTON; inline;
  8995. begin
  8996. pTDefRegMap(@Self)^.&set := $00008000;
  8997. end;
  8998. procedure TTMR5_T5CON.clearTON; inline;
  8999. begin
  9000. pTDefRegMap(@Self)^.clr := $00008000;
  9001. end;
  9002. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  9003. begin
  9004. if thebits = 0 then
  9005. pTDefRegMap(@Self)^.clr := $00008000
  9006. else
  9007. pTDefRegMap(@Self)^.&set := $00008000;
  9008. end;
  9009. function TTMR5_T5CON.getTON : TBits_1; inline;
  9010. begin
  9011. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9012. end;
  9013. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  9014. begin
  9015. pTDefRegMap(@Self)^.val := thebits;
  9016. end;
  9017. function TTMR5_T5CON.getw : TBits_32; inline;
  9018. begin
  9019. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9020. end;
  9021. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  9022. begin
  9023. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9024. end;
  9025. function TICAP1_IC1CON.getICM : TBits_3; inline;
  9026. begin
  9027. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9028. end;
  9029. procedure TICAP1_IC1CON.setICBNE; inline;
  9030. begin
  9031. pTDefRegMap(@Self)^.&set := $00000008;
  9032. end;
  9033. procedure TICAP1_IC1CON.clearICBNE; inline;
  9034. begin
  9035. pTDefRegMap(@Self)^.clr := $00000008;
  9036. end;
  9037. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  9038. begin
  9039. if thebits = 0 then
  9040. pTDefRegMap(@Self)^.clr := $00000008
  9041. else
  9042. pTDefRegMap(@Self)^.&set := $00000008;
  9043. end;
  9044. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  9045. begin
  9046. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9047. end;
  9048. procedure TICAP1_IC1CON.setICOV; inline;
  9049. begin
  9050. pTDefRegMap(@Self)^.&set := $00000010;
  9051. end;
  9052. procedure TICAP1_IC1CON.clearICOV; inline;
  9053. begin
  9054. pTDefRegMap(@Self)^.clr := $00000010;
  9055. end;
  9056. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  9057. begin
  9058. if thebits = 0 then
  9059. pTDefRegMap(@Self)^.clr := $00000010
  9060. else
  9061. pTDefRegMap(@Self)^.&set := $00000010;
  9062. end;
  9063. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  9064. begin
  9065. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9066. end;
  9067. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  9068. begin
  9069. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  9070. end;
  9071. function TICAP1_IC1CON.getICI : TBits_2; inline;
  9072. begin
  9073. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  9074. end;
  9075. procedure TICAP1_IC1CON.setICTMR; inline;
  9076. begin
  9077. pTDefRegMap(@Self)^.&set := $00000080;
  9078. end;
  9079. procedure TICAP1_IC1CON.clearICTMR; inline;
  9080. begin
  9081. pTDefRegMap(@Self)^.clr := $00000080;
  9082. end;
  9083. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  9084. begin
  9085. if thebits = 0 then
  9086. pTDefRegMap(@Self)^.clr := $00000080
  9087. else
  9088. pTDefRegMap(@Self)^.&set := $00000080;
  9089. end;
  9090. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  9091. begin
  9092. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9093. end;
  9094. procedure TICAP1_IC1CON.setC32; inline;
  9095. begin
  9096. pTDefRegMap(@Self)^.&set := $00000100;
  9097. end;
  9098. procedure TICAP1_IC1CON.clearC32; inline;
  9099. begin
  9100. pTDefRegMap(@Self)^.clr := $00000100;
  9101. end;
  9102. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  9103. begin
  9104. if thebits = 0 then
  9105. pTDefRegMap(@Self)^.clr := $00000100
  9106. else
  9107. pTDefRegMap(@Self)^.&set := $00000100;
  9108. end;
  9109. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  9110. begin
  9111. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  9112. end;
  9113. procedure TICAP1_IC1CON.setFEDGE; inline;
  9114. begin
  9115. pTDefRegMap(@Self)^.&set := $00000200;
  9116. end;
  9117. procedure TICAP1_IC1CON.clearFEDGE; inline;
  9118. begin
  9119. pTDefRegMap(@Self)^.clr := $00000200;
  9120. end;
  9121. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  9122. begin
  9123. if thebits = 0 then
  9124. pTDefRegMap(@Self)^.clr := $00000200
  9125. else
  9126. pTDefRegMap(@Self)^.&set := $00000200;
  9127. end;
  9128. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  9129. begin
  9130. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  9131. end;
  9132. procedure TICAP1_IC1CON.setSIDL; inline;
  9133. begin
  9134. pTDefRegMap(@Self)^.&set := $00002000;
  9135. end;
  9136. procedure TICAP1_IC1CON.clearSIDL; inline;
  9137. begin
  9138. pTDefRegMap(@Self)^.clr := $00002000;
  9139. end;
  9140. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  9141. begin
  9142. if thebits = 0 then
  9143. pTDefRegMap(@Self)^.clr := $00002000
  9144. else
  9145. pTDefRegMap(@Self)^.&set := $00002000;
  9146. end;
  9147. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  9148. begin
  9149. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9150. end;
  9151. procedure TICAP1_IC1CON.setON; inline;
  9152. begin
  9153. pTDefRegMap(@Self)^.&set := $00008000;
  9154. end;
  9155. procedure TICAP1_IC1CON.clearON; inline;
  9156. begin
  9157. pTDefRegMap(@Self)^.clr := $00008000;
  9158. end;
  9159. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  9160. begin
  9161. if thebits = 0 then
  9162. pTDefRegMap(@Self)^.clr := $00008000
  9163. else
  9164. pTDefRegMap(@Self)^.&set := $00008000;
  9165. end;
  9166. function TICAP1_IC1CON.getON : TBits_1; inline;
  9167. begin
  9168. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9169. end;
  9170. procedure TICAP1_IC1CON.setICM0; inline;
  9171. begin
  9172. pTDefRegMap(@Self)^.&set := $00000001;
  9173. end;
  9174. procedure TICAP1_IC1CON.clearICM0; inline;
  9175. begin
  9176. pTDefRegMap(@Self)^.clr := $00000001;
  9177. end;
  9178. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  9179. begin
  9180. if thebits = 0 then
  9181. pTDefRegMap(@Self)^.clr := $00000001
  9182. else
  9183. pTDefRegMap(@Self)^.&set := $00000001;
  9184. end;
  9185. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  9186. begin
  9187. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9188. end;
  9189. procedure TICAP1_IC1CON.setICM1; inline;
  9190. begin
  9191. pTDefRegMap(@Self)^.&set := $00000002;
  9192. end;
  9193. procedure TICAP1_IC1CON.clearICM1; inline;
  9194. begin
  9195. pTDefRegMap(@Self)^.clr := $00000002;
  9196. end;
  9197. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  9198. begin
  9199. if thebits = 0 then
  9200. pTDefRegMap(@Self)^.clr := $00000002
  9201. else
  9202. pTDefRegMap(@Self)^.&set := $00000002;
  9203. end;
  9204. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  9205. begin
  9206. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9207. end;
  9208. procedure TICAP1_IC1CON.setICM2; inline;
  9209. begin
  9210. pTDefRegMap(@Self)^.&set := $00000004;
  9211. end;
  9212. procedure TICAP1_IC1CON.clearICM2; inline;
  9213. begin
  9214. pTDefRegMap(@Self)^.clr := $00000004;
  9215. end;
  9216. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  9217. begin
  9218. if thebits = 0 then
  9219. pTDefRegMap(@Self)^.clr := $00000004
  9220. else
  9221. pTDefRegMap(@Self)^.&set := $00000004;
  9222. end;
  9223. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  9224. begin
  9225. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9226. end;
  9227. procedure TICAP1_IC1CON.setICI0; inline;
  9228. begin
  9229. pTDefRegMap(@Self)^.&set := $00000020;
  9230. end;
  9231. procedure TICAP1_IC1CON.clearICI0; inline;
  9232. begin
  9233. pTDefRegMap(@Self)^.clr := $00000020;
  9234. end;
  9235. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  9236. begin
  9237. if thebits = 0 then
  9238. pTDefRegMap(@Self)^.clr := $00000020
  9239. else
  9240. pTDefRegMap(@Self)^.&set := $00000020;
  9241. end;
  9242. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  9243. begin
  9244. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9245. end;
  9246. procedure TICAP1_IC1CON.setICI1; inline;
  9247. begin
  9248. pTDefRegMap(@Self)^.&set := $00000040;
  9249. end;
  9250. procedure TICAP1_IC1CON.clearICI1; inline;
  9251. begin
  9252. pTDefRegMap(@Self)^.clr := $00000040;
  9253. end;
  9254. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  9255. begin
  9256. if thebits = 0 then
  9257. pTDefRegMap(@Self)^.clr := $00000040
  9258. else
  9259. pTDefRegMap(@Self)^.&set := $00000040;
  9260. end;
  9261. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  9262. begin
  9263. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9264. end;
  9265. procedure TICAP1_IC1CON.setICSIDL; inline;
  9266. begin
  9267. pTDefRegMap(@Self)^.&set := $00002000;
  9268. end;
  9269. procedure TICAP1_IC1CON.clearICSIDL; inline;
  9270. begin
  9271. pTDefRegMap(@Self)^.clr := $00002000;
  9272. end;
  9273. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  9274. begin
  9275. if thebits = 0 then
  9276. pTDefRegMap(@Self)^.clr := $00002000
  9277. else
  9278. pTDefRegMap(@Self)^.&set := $00002000;
  9279. end;
  9280. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  9281. begin
  9282. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9283. end;
  9284. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  9285. begin
  9286. pTDefRegMap(@Self)^.val := thebits;
  9287. end;
  9288. function TICAP1_IC1CON.getw : TBits_32; inline;
  9289. begin
  9290. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9291. end;
  9292. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  9293. begin
  9294. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9295. end;
  9296. function TICAP2_IC2CON.getICM : TBits_3; inline;
  9297. begin
  9298. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9299. end;
  9300. procedure TICAP2_IC2CON.setICBNE; inline;
  9301. begin
  9302. pTDefRegMap(@Self)^.&set := $00000008;
  9303. end;
  9304. procedure TICAP2_IC2CON.clearICBNE; inline;
  9305. begin
  9306. pTDefRegMap(@Self)^.clr := $00000008;
  9307. end;
  9308. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  9309. begin
  9310. if thebits = 0 then
  9311. pTDefRegMap(@Self)^.clr := $00000008
  9312. else
  9313. pTDefRegMap(@Self)^.&set := $00000008;
  9314. end;
  9315. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  9316. begin
  9317. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9318. end;
  9319. procedure TICAP2_IC2CON.setICOV; inline;
  9320. begin
  9321. pTDefRegMap(@Self)^.&set := $00000010;
  9322. end;
  9323. procedure TICAP2_IC2CON.clearICOV; inline;
  9324. begin
  9325. pTDefRegMap(@Self)^.clr := $00000010;
  9326. end;
  9327. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  9328. begin
  9329. if thebits = 0 then
  9330. pTDefRegMap(@Self)^.clr := $00000010
  9331. else
  9332. pTDefRegMap(@Self)^.&set := $00000010;
  9333. end;
  9334. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  9335. begin
  9336. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9337. end;
  9338. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  9339. begin
  9340. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  9341. end;
  9342. function TICAP2_IC2CON.getICI : TBits_2; inline;
  9343. begin
  9344. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  9345. end;
  9346. procedure TICAP2_IC2CON.setICTMR; inline;
  9347. begin
  9348. pTDefRegMap(@Self)^.&set := $00000080;
  9349. end;
  9350. procedure TICAP2_IC2CON.clearICTMR; inline;
  9351. begin
  9352. pTDefRegMap(@Self)^.clr := $00000080;
  9353. end;
  9354. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  9355. begin
  9356. if thebits = 0 then
  9357. pTDefRegMap(@Self)^.clr := $00000080
  9358. else
  9359. pTDefRegMap(@Self)^.&set := $00000080;
  9360. end;
  9361. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  9362. begin
  9363. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9364. end;
  9365. procedure TICAP2_IC2CON.setC32; inline;
  9366. begin
  9367. pTDefRegMap(@Self)^.&set := $00000100;
  9368. end;
  9369. procedure TICAP2_IC2CON.clearC32; inline;
  9370. begin
  9371. pTDefRegMap(@Self)^.clr := $00000100;
  9372. end;
  9373. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  9374. begin
  9375. if thebits = 0 then
  9376. pTDefRegMap(@Self)^.clr := $00000100
  9377. else
  9378. pTDefRegMap(@Self)^.&set := $00000100;
  9379. end;
  9380. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  9381. begin
  9382. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  9383. end;
  9384. procedure TICAP2_IC2CON.setFEDGE; inline;
  9385. begin
  9386. pTDefRegMap(@Self)^.&set := $00000200;
  9387. end;
  9388. procedure TICAP2_IC2CON.clearFEDGE; inline;
  9389. begin
  9390. pTDefRegMap(@Self)^.clr := $00000200;
  9391. end;
  9392. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  9393. begin
  9394. if thebits = 0 then
  9395. pTDefRegMap(@Self)^.clr := $00000200
  9396. else
  9397. pTDefRegMap(@Self)^.&set := $00000200;
  9398. end;
  9399. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  9400. begin
  9401. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  9402. end;
  9403. procedure TICAP2_IC2CON.setSIDL; inline;
  9404. begin
  9405. pTDefRegMap(@Self)^.&set := $00002000;
  9406. end;
  9407. procedure TICAP2_IC2CON.clearSIDL; inline;
  9408. begin
  9409. pTDefRegMap(@Self)^.clr := $00002000;
  9410. end;
  9411. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  9412. begin
  9413. if thebits = 0 then
  9414. pTDefRegMap(@Self)^.clr := $00002000
  9415. else
  9416. pTDefRegMap(@Self)^.&set := $00002000;
  9417. end;
  9418. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  9419. begin
  9420. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9421. end;
  9422. procedure TICAP2_IC2CON.setON; inline;
  9423. begin
  9424. pTDefRegMap(@Self)^.&set := $00008000;
  9425. end;
  9426. procedure TICAP2_IC2CON.clearON; inline;
  9427. begin
  9428. pTDefRegMap(@Self)^.clr := $00008000;
  9429. end;
  9430. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  9431. begin
  9432. if thebits = 0 then
  9433. pTDefRegMap(@Self)^.clr := $00008000
  9434. else
  9435. pTDefRegMap(@Self)^.&set := $00008000;
  9436. end;
  9437. function TICAP2_IC2CON.getON : TBits_1; inline;
  9438. begin
  9439. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9440. end;
  9441. procedure TICAP2_IC2CON.setICM0; inline;
  9442. begin
  9443. pTDefRegMap(@Self)^.&set := $00000001;
  9444. end;
  9445. procedure TICAP2_IC2CON.clearICM0; inline;
  9446. begin
  9447. pTDefRegMap(@Self)^.clr := $00000001;
  9448. end;
  9449. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  9450. begin
  9451. if thebits = 0 then
  9452. pTDefRegMap(@Self)^.clr := $00000001
  9453. else
  9454. pTDefRegMap(@Self)^.&set := $00000001;
  9455. end;
  9456. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  9457. begin
  9458. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9459. end;
  9460. procedure TICAP2_IC2CON.setICM1; inline;
  9461. begin
  9462. pTDefRegMap(@Self)^.&set := $00000002;
  9463. end;
  9464. procedure TICAP2_IC2CON.clearICM1; inline;
  9465. begin
  9466. pTDefRegMap(@Self)^.clr := $00000002;
  9467. end;
  9468. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  9469. begin
  9470. if thebits = 0 then
  9471. pTDefRegMap(@Self)^.clr := $00000002
  9472. else
  9473. pTDefRegMap(@Self)^.&set := $00000002;
  9474. end;
  9475. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  9476. begin
  9477. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9478. end;
  9479. procedure TICAP2_IC2CON.setICM2; inline;
  9480. begin
  9481. pTDefRegMap(@Self)^.&set := $00000004;
  9482. end;
  9483. procedure TICAP2_IC2CON.clearICM2; inline;
  9484. begin
  9485. pTDefRegMap(@Self)^.clr := $00000004;
  9486. end;
  9487. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  9488. begin
  9489. if thebits = 0 then
  9490. pTDefRegMap(@Self)^.clr := $00000004
  9491. else
  9492. pTDefRegMap(@Self)^.&set := $00000004;
  9493. end;
  9494. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  9495. begin
  9496. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9497. end;
  9498. procedure TICAP2_IC2CON.setICI0; inline;
  9499. begin
  9500. pTDefRegMap(@Self)^.&set := $00000020;
  9501. end;
  9502. procedure TICAP2_IC2CON.clearICI0; inline;
  9503. begin
  9504. pTDefRegMap(@Self)^.clr := $00000020;
  9505. end;
  9506. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  9507. begin
  9508. if thebits = 0 then
  9509. pTDefRegMap(@Self)^.clr := $00000020
  9510. else
  9511. pTDefRegMap(@Self)^.&set := $00000020;
  9512. end;
  9513. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  9514. begin
  9515. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9516. end;
  9517. procedure TICAP2_IC2CON.setICI1; inline;
  9518. begin
  9519. pTDefRegMap(@Self)^.&set := $00000040;
  9520. end;
  9521. procedure TICAP2_IC2CON.clearICI1; inline;
  9522. begin
  9523. pTDefRegMap(@Self)^.clr := $00000040;
  9524. end;
  9525. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  9526. begin
  9527. if thebits = 0 then
  9528. pTDefRegMap(@Self)^.clr := $00000040
  9529. else
  9530. pTDefRegMap(@Self)^.&set := $00000040;
  9531. end;
  9532. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  9533. begin
  9534. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9535. end;
  9536. procedure TICAP2_IC2CON.setICSIDL; inline;
  9537. begin
  9538. pTDefRegMap(@Self)^.&set := $00002000;
  9539. end;
  9540. procedure TICAP2_IC2CON.clearICSIDL; inline;
  9541. begin
  9542. pTDefRegMap(@Self)^.clr := $00002000;
  9543. end;
  9544. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  9545. begin
  9546. if thebits = 0 then
  9547. pTDefRegMap(@Self)^.clr := $00002000
  9548. else
  9549. pTDefRegMap(@Self)^.&set := $00002000;
  9550. end;
  9551. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  9552. begin
  9553. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9554. end;
  9555. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  9556. begin
  9557. pTDefRegMap(@Self)^.val := thebits;
  9558. end;
  9559. function TICAP2_IC2CON.getw : TBits_32; inline;
  9560. begin
  9561. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9562. end;
  9563. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  9564. begin
  9565. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9566. end;
  9567. function TICAP3_IC3CON.getICM : TBits_3; inline;
  9568. begin
  9569. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9570. end;
  9571. procedure TICAP3_IC3CON.setICBNE; inline;
  9572. begin
  9573. pTDefRegMap(@Self)^.&set := $00000008;
  9574. end;
  9575. procedure TICAP3_IC3CON.clearICBNE; inline;
  9576. begin
  9577. pTDefRegMap(@Self)^.clr := $00000008;
  9578. end;
  9579. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  9580. begin
  9581. if thebits = 0 then
  9582. pTDefRegMap(@Self)^.clr := $00000008
  9583. else
  9584. pTDefRegMap(@Self)^.&set := $00000008;
  9585. end;
  9586. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  9587. begin
  9588. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9589. end;
  9590. procedure TICAP3_IC3CON.setICOV; inline;
  9591. begin
  9592. pTDefRegMap(@Self)^.&set := $00000010;
  9593. end;
  9594. procedure TICAP3_IC3CON.clearICOV; inline;
  9595. begin
  9596. pTDefRegMap(@Self)^.clr := $00000010;
  9597. end;
  9598. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  9599. begin
  9600. if thebits = 0 then
  9601. pTDefRegMap(@Self)^.clr := $00000010
  9602. else
  9603. pTDefRegMap(@Self)^.&set := $00000010;
  9604. end;
  9605. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  9606. begin
  9607. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9608. end;
  9609. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  9610. begin
  9611. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  9612. end;
  9613. function TICAP3_IC3CON.getICI : TBits_2; inline;
  9614. begin
  9615. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  9616. end;
  9617. procedure TICAP3_IC3CON.setICTMR; inline;
  9618. begin
  9619. pTDefRegMap(@Self)^.&set := $00000080;
  9620. end;
  9621. procedure TICAP3_IC3CON.clearICTMR; inline;
  9622. begin
  9623. pTDefRegMap(@Self)^.clr := $00000080;
  9624. end;
  9625. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  9626. begin
  9627. if thebits = 0 then
  9628. pTDefRegMap(@Self)^.clr := $00000080
  9629. else
  9630. pTDefRegMap(@Self)^.&set := $00000080;
  9631. end;
  9632. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  9633. begin
  9634. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9635. end;
  9636. procedure TICAP3_IC3CON.setC32; inline;
  9637. begin
  9638. pTDefRegMap(@Self)^.&set := $00000100;
  9639. end;
  9640. procedure TICAP3_IC3CON.clearC32; inline;
  9641. begin
  9642. pTDefRegMap(@Self)^.clr := $00000100;
  9643. end;
  9644. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  9645. begin
  9646. if thebits = 0 then
  9647. pTDefRegMap(@Self)^.clr := $00000100
  9648. else
  9649. pTDefRegMap(@Self)^.&set := $00000100;
  9650. end;
  9651. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  9652. begin
  9653. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  9654. end;
  9655. procedure TICAP3_IC3CON.setFEDGE; inline;
  9656. begin
  9657. pTDefRegMap(@Self)^.&set := $00000200;
  9658. end;
  9659. procedure TICAP3_IC3CON.clearFEDGE; inline;
  9660. begin
  9661. pTDefRegMap(@Self)^.clr := $00000200;
  9662. end;
  9663. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  9664. begin
  9665. if thebits = 0 then
  9666. pTDefRegMap(@Self)^.clr := $00000200
  9667. else
  9668. pTDefRegMap(@Self)^.&set := $00000200;
  9669. end;
  9670. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  9671. begin
  9672. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  9673. end;
  9674. procedure TICAP3_IC3CON.setSIDL; inline;
  9675. begin
  9676. pTDefRegMap(@Self)^.&set := $00002000;
  9677. end;
  9678. procedure TICAP3_IC3CON.clearSIDL; inline;
  9679. begin
  9680. pTDefRegMap(@Self)^.clr := $00002000;
  9681. end;
  9682. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  9683. begin
  9684. if thebits = 0 then
  9685. pTDefRegMap(@Self)^.clr := $00002000
  9686. else
  9687. pTDefRegMap(@Self)^.&set := $00002000;
  9688. end;
  9689. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  9690. begin
  9691. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9692. end;
  9693. procedure TICAP3_IC3CON.setON; inline;
  9694. begin
  9695. pTDefRegMap(@Self)^.&set := $00008000;
  9696. end;
  9697. procedure TICAP3_IC3CON.clearON; inline;
  9698. begin
  9699. pTDefRegMap(@Self)^.clr := $00008000;
  9700. end;
  9701. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  9702. begin
  9703. if thebits = 0 then
  9704. pTDefRegMap(@Self)^.clr := $00008000
  9705. else
  9706. pTDefRegMap(@Self)^.&set := $00008000;
  9707. end;
  9708. function TICAP3_IC3CON.getON : TBits_1; inline;
  9709. begin
  9710. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9711. end;
  9712. procedure TICAP3_IC3CON.setICM0; inline;
  9713. begin
  9714. pTDefRegMap(@Self)^.&set := $00000001;
  9715. end;
  9716. procedure TICAP3_IC3CON.clearICM0; inline;
  9717. begin
  9718. pTDefRegMap(@Self)^.clr := $00000001;
  9719. end;
  9720. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  9721. begin
  9722. if thebits = 0 then
  9723. pTDefRegMap(@Self)^.clr := $00000001
  9724. else
  9725. pTDefRegMap(@Self)^.&set := $00000001;
  9726. end;
  9727. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  9728. begin
  9729. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9730. end;
  9731. procedure TICAP3_IC3CON.setICM1; inline;
  9732. begin
  9733. pTDefRegMap(@Self)^.&set := $00000002;
  9734. end;
  9735. procedure TICAP3_IC3CON.clearICM1; inline;
  9736. begin
  9737. pTDefRegMap(@Self)^.clr := $00000002;
  9738. end;
  9739. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  9740. begin
  9741. if thebits = 0 then
  9742. pTDefRegMap(@Self)^.clr := $00000002
  9743. else
  9744. pTDefRegMap(@Self)^.&set := $00000002;
  9745. end;
  9746. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  9747. begin
  9748. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9749. end;
  9750. procedure TICAP3_IC3CON.setICM2; inline;
  9751. begin
  9752. pTDefRegMap(@Self)^.&set := $00000004;
  9753. end;
  9754. procedure TICAP3_IC3CON.clearICM2; inline;
  9755. begin
  9756. pTDefRegMap(@Self)^.clr := $00000004;
  9757. end;
  9758. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  9759. begin
  9760. if thebits = 0 then
  9761. pTDefRegMap(@Self)^.clr := $00000004
  9762. else
  9763. pTDefRegMap(@Self)^.&set := $00000004;
  9764. end;
  9765. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  9766. begin
  9767. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9768. end;
  9769. procedure TICAP3_IC3CON.setICI0; inline;
  9770. begin
  9771. pTDefRegMap(@Self)^.&set := $00000020;
  9772. end;
  9773. procedure TICAP3_IC3CON.clearICI0; inline;
  9774. begin
  9775. pTDefRegMap(@Self)^.clr := $00000020;
  9776. end;
  9777. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  9778. begin
  9779. if thebits = 0 then
  9780. pTDefRegMap(@Self)^.clr := $00000020
  9781. else
  9782. pTDefRegMap(@Self)^.&set := $00000020;
  9783. end;
  9784. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  9785. begin
  9786. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9787. end;
  9788. procedure TICAP3_IC3CON.setICI1; inline;
  9789. begin
  9790. pTDefRegMap(@Self)^.&set := $00000040;
  9791. end;
  9792. procedure TICAP3_IC3CON.clearICI1; inline;
  9793. begin
  9794. pTDefRegMap(@Self)^.clr := $00000040;
  9795. end;
  9796. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  9797. begin
  9798. if thebits = 0 then
  9799. pTDefRegMap(@Self)^.clr := $00000040
  9800. else
  9801. pTDefRegMap(@Self)^.&set := $00000040;
  9802. end;
  9803. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  9804. begin
  9805. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9806. end;
  9807. procedure TICAP3_IC3CON.setICSIDL; inline;
  9808. begin
  9809. pTDefRegMap(@Self)^.&set := $00002000;
  9810. end;
  9811. procedure TICAP3_IC3CON.clearICSIDL; inline;
  9812. begin
  9813. pTDefRegMap(@Self)^.clr := $00002000;
  9814. end;
  9815. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  9816. begin
  9817. if thebits = 0 then
  9818. pTDefRegMap(@Self)^.clr := $00002000
  9819. else
  9820. pTDefRegMap(@Self)^.&set := $00002000;
  9821. end;
  9822. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  9823. begin
  9824. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9825. end;
  9826. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  9827. begin
  9828. pTDefRegMap(@Self)^.val := thebits;
  9829. end;
  9830. function TICAP3_IC3CON.getw : TBits_32; inline;
  9831. begin
  9832. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9833. end;
  9834. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  9835. begin
  9836. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9837. end;
  9838. function TICAP4_IC4CON.getICM : TBits_3; inline;
  9839. begin
  9840. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9841. end;
  9842. procedure TICAP4_IC4CON.setICBNE; inline;
  9843. begin
  9844. pTDefRegMap(@Self)^.&set := $00000008;
  9845. end;
  9846. procedure TICAP4_IC4CON.clearICBNE; inline;
  9847. begin
  9848. pTDefRegMap(@Self)^.clr := $00000008;
  9849. end;
  9850. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  9851. begin
  9852. if thebits = 0 then
  9853. pTDefRegMap(@Self)^.clr := $00000008
  9854. else
  9855. pTDefRegMap(@Self)^.&set := $00000008;
  9856. end;
  9857. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  9858. begin
  9859. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9860. end;
  9861. procedure TICAP4_IC4CON.setICOV; inline;
  9862. begin
  9863. pTDefRegMap(@Self)^.&set := $00000010;
  9864. end;
  9865. procedure TICAP4_IC4CON.clearICOV; inline;
  9866. begin
  9867. pTDefRegMap(@Self)^.clr := $00000010;
  9868. end;
  9869. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  9870. begin
  9871. if thebits = 0 then
  9872. pTDefRegMap(@Self)^.clr := $00000010
  9873. else
  9874. pTDefRegMap(@Self)^.&set := $00000010;
  9875. end;
  9876. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  9877. begin
  9878. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9879. end;
  9880. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  9881. begin
  9882. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  9883. end;
  9884. function TICAP4_IC4CON.getICI : TBits_2; inline;
  9885. begin
  9886. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  9887. end;
  9888. procedure TICAP4_IC4CON.setICTMR; inline;
  9889. begin
  9890. pTDefRegMap(@Self)^.&set := $00000080;
  9891. end;
  9892. procedure TICAP4_IC4CON.clearICTMR; inline;
  9893. begin
  9894. pTDefRegMap(@Self)^.clr := $00000080;
  9895. end;
  9896. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  9897. begin
  9898. if thebits = 0 then
  9899. pTDefRegMap(@Self)^.clr := $00000080
  9900. else
  9901. pTDefRegMap(@Self)^.&set := $00000080;
  9902. end;
  9903. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  9904. begin
  9905. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9906. end;
  9907. procedure TICAP4_IC4CON.setC32; inline;
  9908. begin
  9909. pTDefRegMap(@Self)^.&set := $00000100;
  9910. end;
  9911. procedure TICAP4_IC4CON.clearC32; inline;
  9912. begin
  9913. pTDefRegMap(@Self)^.clr := $00000100;
  9914. end;
  9915. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  9916. begin
  9917. if thebits = 0 then
  9918. pTDefRegMap(@Self)^.clr := $00000100
  9919. else
  9920. pTDefRegMap(@Self)^.&set := $00000100;
  9921. end;
  9922. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  9923. begin
  9924. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  9925. end;
  9926. procedure TICAP4_IC4CON.setFEDGE; inline;
  9927. begin
  9928. pTDefRegMap(@Self)^.&set := $00000200;
  9929. end;
  9930. procedure TICAP4_IC4CON.clearFEDGE; inline;
  9931. begin
  9932. pTDefRegMap(@Self)^.clr := $00000200;
  9933. end;
  9934. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  9935. begin
  9936. if thebits = 0 then
  9937. pTDefRegMap(@Self)^.clr := $00000200
  9938. else
  9939. pTDefRegMap(@Self)^.&set := $00000200;
  9940. end;
  9941. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  9942. begin
  9943. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  9944. end;
  9945. procedure TICAP4_IC4CON.setSIDL; inline;
  9946. begin
  9947. pTDefRegMap(@Self)^.&set := $00002000;
  9948. end;
  9949. procedure TICAP4_IC4CON.clearSIDL; inline;
  9950. begin
  9951. pTDefRegMap(@Self)^.clr := $00002000;
  9952. end;
  9953. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  9954. begin
  9955. if thebits = 0 then
  9956. pTDefRegMap(@Self)^.clr := $00002000
  9957. else
  9958. pTDefRegMap(@Self)^.&set := $00002000;
  9959. end;
  9960. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  9961. begin
  9962. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9963. end;
  9964. procedure TICAP4_IC4CON.setON; inline;
  9965. begin
  9966. pTDefRegMap(@Self)^.&set := $00008000;
  9967. end;
  9968. procedure TICAP4_IC4CON.clearON; inline;
  9969. begin
  9970. pTDefRegMap(@Self)^.clr := $00008000;
  9971. end;
  9972. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  9973. begin
  9974. if thebits = 0 then
  9975. pTDefRegMap(@Self)^.clr := $00008000
  9976. else
  9977. pTDefRegMap(@Self)^.&set := $00008000;
  9978. end;
  9979. function TICAP4_IC4CON.getON : TBits_1; inline;
  9980. begin
  9981. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9982. end;
  9983. procedure TICAP4_IC4CON.setICM0; inline;
  9984. begin
  9985. pTDefRegMap(@Self)^.&set := $00000001;
  9986. end;
  9987. procedure TICAP4_IC4CON.clearICM0; inline;
  9988. begin
  9989. pTDefRegMap(@Self)^.clr := $00000001;
  9990. end;
  9991. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  9992. begin
  9993. if thebits = 0 then
  9994. pTDefRegMap(@Self)^.clr := $00000001
  9995. else
  9996. pTDefRegMap(@Self)^.&set := $00000001;
  9997. end;
  9998. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  9999. begin
  10000. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10001. end;
  10002. procedure TICAP4_IC4CON.setICM1; inline;
  10003. begin
  10004. pTDefRegMap(@Self)^.&set := $00000002;
  10005. end;
  10006. procedure TICAP4_IC4CON.clearICM1; inline;
  10007. begin
  10008. pTDefRegMap(@Self)^.clr := $00000002;
  10009. end;
  10010. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  10011. begin
  10012. if thebits = 0 then
  10013. pTDefRegMap(@Self)^.clr := $00000002
  10014. else
  10015. pTDefRegMap(@Self)^.&set := $00000002;
  10016. end;
  10017. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  10018. begin
  10019. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10020. end;
  10021. procedure TICAP4_IC4CON.setICM2; inline;
  10022. begin
  10023. pTDefRegMap(@Self)^.&set := $00000004;
  10024. end;
  10025. procedure TICAP4_IC4CON.clearICM2; inline;
  10026. begin
  10027. pTDefRegMap(@Self)^.clr := $00000004;
  10028. end;
  10029. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  10030. begin
  10031. if thebits = 0 then
  10032. pTDefRegMap(@Self)^.clr := $00000004
  10033. else
  10034. pTDefRegMap(@Self)^.&set := $00000004;
  10035. end;
  10036. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  10037. begin
  10038. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10039. end;
  10040. procedure TICAP4_IC4CON.setICI0; inline;
  10041. begin
  10042. pTDefRegMap(@Self)^.&set := $00000020;
  10043. end;
  10044. procedure TICAP4_IC4CON.clearICI0; inline;
  10045. begin
  10046. pTDefRegMap(@Self)^.clr := $00000020;
  10047. end;
  10048. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  10049. begin
  10050. if thebits = 0 then
  10051. pTDefRegMap(@Self)^.clr := $00000020
  10052. else
  10053. pTDefRegMap(@Self)^.&set := $00000020;
  10054. end;
  10055. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  10056. begin
  10057. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10058. end;
  10059. procedure TICAP4_IC4CON.setICI1; inline;
  10060. begin
  10061. pTDefRegMap(@Self)^.&set := $00000040;
  10062. end;
  10063. procedure TICAP4_IC4CON.clearICI1; inline;
  10064. begin
  10065. pTDefRegMap(@Self)^.clr := $00000040;
  10066. end;
  10067. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  10068. begin
  10069. if thebits = 0 then
  10070. pTDefRegMap(@Self)^.clr := $00000040
  10071. else
  10072. pTDefRegMap(@Self)^.&set := $00000040;
  10073. end;
  10074. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  10075. begin
  10076. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10077. end;
  10078. procedure TICAP4_IC4CON.setICSIDL; inline;
  10079. begin
  10080. pTDefRegMap(@Self)^.&set := $00002000;
  10081. end;
  10082. procedure TICAP4_IC4CON.clearICSIDL; inline;
  10083. begin
  10084. pTDefRegMap(@Self)^.clr := $00002000;
  10085. end;
  10086. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  10087. begin
  10088. if thebits = 0 then
  10089. pTDefRegMap(@Self)^.clr := $00002000
  10090. else
  10091. pTDefRegMap(@Self)^.&set := $00002000;
  10092. end;
  10093. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  10094. begin
  10095. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10096. end;
  10097. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  10098. begin
  10099. pTDefRegMap(@Self)^.val := thebits;
  10100. end;
  10101. function TICAP4_IC4CON.getw : TBits_32; inline;
  10102. begin
  10103. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10104. end;
  10105. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  10106. begin
  10107. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10108. end;
  10109. function TICAP5_IC5CON.getICM : TBits_3; inline;
  10110. begin
  10111. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10112. end;
  10113. procedure TICAP5_IC5CON.setICBNE; inline;
  10114. begin
  10115. pTDefRegMap(@Self)^.&set := $00000008;
  10116. end;
  10117. procedure TICAP5_IC5CON.clearICBNE; inline;
  10118. begin
  10119. pTDefRegMap(@Self)^.clr := $00000008;
  10120. end;
  10121. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  10122. begin
  10123. if thebits = 0 then
  10124. pTDefRegMap(@Self)^.clr := $00000008
  10125. else
  10126. pTDefRegMap(@Self)^.&set := $00000008;
  10127. end;
  10128. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  10129. begin
  10130. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10131. end;
  10132. procedure TICAP5_IC5CON.setICOV; inline;
  10133. begin
  10134. pTDefRegMap(@Self)^.&set := $00000010;
  10135. end;
  10136. procedure TICAP5_IC5CON.clearICOV; inline;
  10137. begin
  10138. pTDefRegMap(@Self)^.clr := $00000010;
  10139. end;
  10140. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  10141. begin
  10142. if thebits = 0 then
  10143. pTDefRegMap(@Self)^.clr := $00000010
  10144. else
  10145. pTDefRegMap(@Self)^.&set := $00000010;
  10146. end;
  10147. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  10148. begin
  10149. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10150. end;
  10151. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  10152. begin
  10153. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  10154. end;
  10155. function TICAP5_IC5CON.getICI : TBits_2; inline;
  10156. begin
  10157. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  10158. end;
  10159. procedure TICAP5_IC5CON.setICTMR; inline;
  10160. begin
  10161. pTDefRegMap(@Self)^.&set := $00000080;
  10162. end;
  10163. procedure TICAP5_IC5CON.clearICTMR; inline;
  10164. begin
  10165. pTDefRegMap(@Self)^.clr := $00000080;
  10166. end;
  10167. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  10168. begin
  10169. if thebits = 0 then
  10170. pTDefRegMap(@Self)^.clr := $00000080
  10171. else
  10172. pTDefRegMap(@Self)^.&set := $00000080;
  10173. end;
  10174. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  10175. begin
  10176. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10177. end;
  10178. procedure TICAP5_IC5CON.setC32; inline;
  10179. begin
  10180. pTDefRegMap(@Self)^.&set := $00000100;
  10181. end;
  10182. procedure TICAP5_IC5CON.clearC32; inline;
  10183. begin
  10184. pTDefRegMap(@Self)^.clr := $00000100;
  10185. end;
  10186. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  10187. begin
  10188. if thebits = 0 then
  10189. pTDefRegMap(@Self)^.clr := $00000100
  10190. else
  10191. pTDefRegMap(@Self)^.&set := $00000100;
  10192. end;
  10193. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  10194. begin
  10195. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  10196. end;
  10197. procedure TICAP5_IC5CON.setFEDGE; inline;
  10198. begin
  10199. pTDefRegMap(@Self)^.&set := $00000200;
  10200. end;
  10201. procedure TICAP5_IC5CON.clearFEDGE; inline;
  10202. begin
  10203. pTDefRegMap(@Self)^.clr := $00000200;
  10204. end;
  10205. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  10206. begin
  10207. if thebits = 0 then
  10208. pTDefRegMap(@Self)^.clr := $00000200
  10209. else
  10210. pTDefRegMap(@Self)^.&set := $00000200;
  10211. end;
  10212. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  10213. begin
  10214. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  10215. end;
  10216. procedure TICAP5_IC5CON.setSIDL; inline;
  10217. begin
  10218. pTDefRegMap(@Self)^.&set := $00002000;
  10219. end;
  10220. procedure TICAP5_IC5CON.clearSIDL; inline;
  10221. begin
  10222. pTDefRegMap(@Self)^.clr := $00002000;
  10223. end;
  10224. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  10225. begin
  10226. if thebits = 0 then
  10227. pTDefRegMap(@Self)^.clr := $00002000
  10228. else
  10229. pTDefRegMap(@Self)^.&set := $00002000;
  10230. end;
  10231. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  10232. begin
  10233. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10234. end;
  10235. procedure TICAP5_IC5CON.setON; inline;
  10236. begin
  10237. pTDefRegMap(@Self)^.&set := $00008000;
  10238. end;
  10239. procedure TICAP5_IC5CON.clearON; inline;
  10240. begin
  10241. pTDefRegMap(@Self)^.clr := $00008000;
  10242. end;
  10243. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  10244. begin
  10245. if thebits = 0 then
  10246. pTDefRegMap(@Self)^.clr := $00008000
  10247. else
  10248. pTDefRegMap(@Self)^.&set := $00008000;
  10249. end;
  10250. function TICAP5_IC5CON.getON : TBits_1; inline;
  10251. begin
  10252. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10253. end;
  10254. procedure TICAP5_IC5CON.setICM0; inline;
  10255. begin
  10256. pTDefRegMap(@Self)^.&set := $00000001;
  10257. end;
  10258. procedure TICAP5_IC5CON.clearICM0; inline;
  10259. begin
  10260. pTDefRegMap(@Self)^.clr := $00000001;
  10261. end;
  10262. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  10263. begin
  10264. if thebits = 0 then
  10265. pTDefRegMap(@Self)^.clr := $00000001
  10266. else
  10267. pTDefRegMap(@Self)^.&set := $00000001;
  10268. end;
  10269. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  10270. begin
  10271. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10272. end;
  10273. procedure TICAP5_IC5CON.setICM1; inline;
  10274. begin
  10275. pTDefRegMap(@Self)^.&set := $00000002;
  10276. end;
  10277. procedure TICAP5_IC5CON.clearICM1; inline;
  10278. begin
  10279. pTDefRegMap(@Self)^.clr := $00000002;
  10280. end;
  10281. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  10282. begin
  10283. if thebits = 0 then
  10284. pTDefRegMap(@Self)^.clr := $00000002
  10285. else
  10286. pTDefRegMap(@Self)^.&set := $00000002;
  10287. end;
  10288. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  10289. begin
  10290. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10291. end;
  10292. procedure TICAP5_IC5CON.setICM2; inline;
  10293. begin
  10294. pTDefRegMap(@Self)^.&set := $00000004;
  10295. end;
  10296. procedure TICAP5_IC5CON.clearICM2; inline;
  10297. begin
  10298. pTDefRegMap(@Self)^.clr := $00000004;
  10299. end;
  10300. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  10301. begin
  10302. if thebits = 0 then
  10303. pTDefRegMap(@Self)^.clr := $00000004
  10304. else
  10305. pTDefRegMap(@Self)^.&set := $00000004;
  10306. end;
  10307. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  10308. begin
  10309. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10310. end;
  10311. procedure TICAP5_IC5CON.setICI0; inline;
  10312. begin
  10313. pTDefRegMap(@Self)^.&set := $00000020;
  10314. end;
  10315. procedure TICAP5_IC5CON.clearICI0; inline;
  10316. begin
  10317. pTDefRegMap(@Self)^.clr := $00000020;
  10318. end;
  10319. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  10320. begin
  10321. if thebits = 0 then
  10322. pTDefRegMap(@Self)^.clr := $00000020
  10323. else
  10324. pTDefRegMap(@Self)^.&set := $00000020;
  10325. end;
  10326. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  10327. begin
  10328. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10329. end;
  10330. procedure TICAP5_IC5CON.setICI1; inline;
  10331. begin
  10332. pTDefRegMap(@Self)^.&set := $00000040;
  10333. end;
  10334. procedure TICAP5_IC5CON.clearICI1; inline;
  10335. begin
  10336. pTDefRegMap(@Self)^.clr := $00000040;
  10337. end;
  10338. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  10339. begin
  10340. if thebits = 0 then
  10341. pTDefRegMap(@Self)^.clr := $00000040
  10342. else
  10343. pTDefRegMap(@Self)^.&set := $00000040;
  10344. end;
  10345. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  10346. begin
  10347. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10348. end;
  10349. procedure TICAP5_IC5CON.setICSIDL; inline;
  10350. begin
  10351. pTDefRegMap(@Self)^.&set := $00002000;
  10352. end;
  10353. procedure TICAP5_IC5CON.clearICSIDL; inline;
  10354. begin
  10355. pTDefRegMap(@Self)^.clr := $00002000;
  10356. end;
  10357. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  10358. begin
  10359. if thebits = 0 then
  10360. pTDefRegMap(@Self)^.clr := $00002000
  10361. else
  10362. pTDefRegMap(@Self)^.&set := $00002000;
  10363. end;
  10364. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  10365. begin
  10366. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10367. end;
  10368. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  10369. begin
  10370. pTDefRegMap(@Self)^.val := thebits;
  10371. end;
  10372. function TICAP5_IC5CON.getw : TBits_32; inline;
  10373. begin
  10374. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10375. end;
  10376. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  10377. begin
  10378. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10379. end;
  10380. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  10381. begin
  10382. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10383. end;
  10384. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  10385. begin
  10386. pTDefRegMap(@Self)^.&set := $00000008;
  10387. end;
  10388. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  10389. begin
  10390. pTDefRegMap(@Self)^.clr := $00000008;
  10391. end;
  10392. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  10393. begin
  10394. if thebits = 0 then
  10395. pTDefRegMap(@Self)^.clr := $00000008
  10396. else
  10397. pTDefRegMap(@Self)^.&set := $00000008;
  10398. end;
  10399. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  10400. begin
  10401. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10402. end;
  10403. procedure TOCMP1_OC1CON.setOCFLT; inline;
  10404. begin
  10405. pTDefRegMap(@Self)^.&set := $00000010;
  10406. end;
  10407. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  10408. begin
  10409. pTDefRegMap(@Self)^.clr := $00000010;
  10410. end;
  10411. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  10412. begin
  10413. if thebits = 0 then
  10414. pTDefRegMap(@Self)^.clr := $00000010
  10415. else
  10416. pTDefRegMap(@Self)^.&set := $00000010;
  10417. end;
  10418. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  10419. begin
  10420. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10421. end;
  10422. procedure TOCMP1_OC1CON.setOC32; inline;
  10423. begin
  10424. pTDefRegMap(@Self)^.&set := $00000020;
  10425. end;
  10426. procedure TOCMP1_OC1CON.clearOC32; inline;
  10427. begin
  10428. pTDefRegMap(@Self)^.clr := $00000020;
  10429. end;
  10430. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  10431. begin
  10432. if thebits = 0 then
  10433. pTDefRegMap(@Self)^.clr := $00000020
  10434. else
  10435. pTDefRegMap(@Self)^.&set := $00000020;
  10436. end;
  10437. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  10438. begin
  10439. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10440. end;
  10441. procedure TOCMP1_OC1CON.setSIDL; inline;
  10442. begin
  10443. pTDefRegMap(@Self)^.&set := $00002000;
  10444. end;
  10445. procedure TOCMP1_OC1CON.clearSIDL; inline;
  10446. begin
  10447. pTDefRegMap(@Self)^.clr := $00002000;
  10448. end;
  10449. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  10450. begin
  10451. if thebits = 0 then
  10452. pTDefRegMap(@Self)^.clr := $00002000
  10453. else
  10454. pTDefRegMap(@Self)^.&set := $00002000;
  10455. end;
  10456. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  10457. begin
  10458. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10459. end;
  10460. procedure TOCMP1_OC1CON.setON; inline;
  10461. begin
  10462. pTDefRegMap(@Self)^.&set := $00008000;
  10463. end;
  10464. procedure TOCMP1_OC1CON.clearON; inline;
  10465. begin
  10466. pTDefRegMap(@Self)^.clr := $00008000;
  10467. end;
  10468. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  10469. begin
  10470. if thebits = 0 then
  10471. pTDefRegMap(@Self)^.clr := $00008000
  10472. else
  10473. pTDefRegMap(@Self)^.&set := $00008000;
  10474. end;
  10475. function TOCMP1_OC1CON.getON : TBits_1; inline;
  10476. begin
  10477. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10478. end;
  10479. procedure TOCMP1_OC1CON.setOCM0; inline;
  10480. begin
  10481. pTDefRegMap(@Self)^.&set := $00000001;
  10482. end;
  10483. procedure TOCMP1_OC1CON.clearOCM0; inline;
  10484. begin
  10485. pTDefRegMap(@Self)^.clr := $00000001;
  10486. end;
  10487. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  10488. begin
  10489. if thebits = 0 then
  10490. pTDefRegMap(@Self)^.clr := $00000001
  10491. else
  10492. pTDefRegMap(@Self)^.&set := $00000001;
  10493. end;
  10494. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  10495. begin
  10496. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10497. end;
  10498. procedure TOCMP1_OC1CON.setOCM1; inline;
  10499. begin
  10500. pTDefRegMap(@Self)^.&set := $00000002;
  10501. end;
  10502. procedure TOCMP1_OC1CON.clearOCM1; inline;
  10503. begin
  10504. pTDefRegMap(@Self)^.clr := $00000002;
  10505. end;
  10506. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  10507. begin
  10508. if thebits = 0 then
  10509. pTDefRegMap(@Self)^.clr := $00000002
  10510. else
  10511. pTDefRegMap(@Self)^.&set := $00000002;
  10512. end;
  10513. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  10514. begin
  10515. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10516. end;
  10517. procedure TOCMP1_OC1CON.setOCM2; inline;
  10518. begin
  10519. pTDefRegMap(@Self)^.&set := $00000004;
  10520. end;
  10521. procedure TOCMP1_OC1CON.clearOCM2; inline;
  10522. begin
  10523. pTDefRegMap(@Self)^.clr := $00000004;
  10524. end;
  10525. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  10526. begin
  10527. if thebits = 0 then
  10528. pTDefRegMap(@Self)^.clr := $00000004
  10529. else
  10530. pTDefRegMap(@Self)^.&set := $00000004;
  10531. end;
  10532. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  10533. begin
  10534. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10535. end;
  10536. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  10537. begin
  10538. pTDefRegMap(@Self)^.&set := $00002000;
  10539. end;
  10540. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  10541. begin
  10542. pTDefRegMap(@Self)^.clr := $00002000;
  10543. end;
  10544. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  10545. begin
  10546. if thebits = 0 then
  10547. pTDefRegMap(@Self)^.clr := $00002000
  10548. else
  10549. pTDefRegMap(@Self)^.&set := $00002000;
  10550. end;
  10551. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  10552. begin
  10553. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10554. end;
  10555. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  10556. begin
  10557. pTDefRegMap(@Self)^.val := thebits;
  10558. end;
  10559. function TOCMP1_OC1CON.getw : TBits_32; inline;
  10560. begin
  10561. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10562. end;
  10563. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  10564. begin
  10565. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10566. end;
  10567. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  10568. begin
  10569. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10570. end;
  10571. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  10572. begin
  10573. pTDefRegMap(@Self)^.&set := $00000008;
  10574. end;
  10575. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  10576. begin
  10577. pTDefRegMap(@Self)^.clr := $00000008;
  10578. end;
  10579. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  10580. begin
  10581. if thebits = 0 then
  10582. pTDefRegMap(@Self)^.clr := $00000008
  10583. else
  10584. pTDefRegMap(@Self)^.&set := $00000008;
  10585. end;
  10586. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  10587. begin
  10588. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10589. end;
  10590. procedure TOCMP2_OC2CON.setOCFLT; inline;
  10591. begin
  10592. pTDefRegMap(@Self)^.&set := $00000010;
  10593. end;
  10594. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  10595. begin
  10596. pTDefRegMap(@Self)^.clr := $00000010;
  10597. end;
  10598. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  10599. begin
  10600. if thebits = 0 then
  10601. pTDefRegMap(@Self)^.clr := $00000010
  10602. else
  10603. pTDefRegMap(@Self)^.&set := $00000010;
  10604. end;
  10605. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  10606. begin
  10607. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10608. end;
  10609. procedure TOCMP2_OC2CON.setOC32; inline;
  10610. begin
  10611. pTDefRegMap(@Self)^.&set := $00000020;
  10612. end;
  10613. procedure TOCMP2_OC2CON.clearOC32; inline;
  10614. begin
  10615. pTDefRegMap(@Self)^.clr := $00000020;
  10616. end;
  10617. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  10618. begin
  10619. if thebits = 0 then
  10620. pTDefRegMap(@Self)^.clr := $00000020
  10621. else
  10622. pTDefRegMap(@Self)^.&set := $00000020;
  10623. end;
  10624. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  10625. begin
  10626. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10627. end;
  10628. procedure TOCMP2_OC2CON.setSIDL; inline;
  10629. begin
  10630. pTDefRegMap(@Self)^.&set := $00002000;
  10631. end;
  10632. procedure TOCMP2_OC2CON.clearSIDL; inline;
  10633. begin
  10634. pTDefRegMap(@Self)^.clr := $00002000;
  10635. end;
  10636. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  10637. begin
  10638. if thebits = 0 then
  10639. pTDefRegMap(@Self)^.clr := $00002000
  10640. else
  10641. pTDefRegMap(@Self)^.&set := $00002000;
  10642. end;
  10643. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  10644. begin
  10645. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10646. end;
  10647. procedure TOCMP2_OC2CON.setON; inline;
  10648. begin
  10649. pTDefRegMap(@Self)^.&set := $00008000;
  10650. end;
  10651. procedure TOCMP2_OC2CON.clearON; inline;
  10652. begin
  10653. pTDefRegMap(@Self)^.clr := $00008000;
  10654. end;
  10655. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  10656. begin
  10657. if thebits = 0 then
  10658. pTDefRegMap(@Self)^.clr := $00008000
  10659. else
  10660. pTDefRegMap(@Self)^.&set := $00008000;
  10661. end;
  10662. function TOCMP2_OC2CON.getON : TBits_1; inline;
  10663. begin
  10664. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10665. end;
  10666. procedure TOCMP2_OC2CON.setOCM0; inline;
  10667. begin
  10668. pTDefRegMap(@Self)^.&set := $00000001;
  10669. end;
  10670. procedure TOCMP2_OC2CON.clearOCM0; inline;
  10671. begin
  10672. pTDefRegMap(@Self)^.clr := $00000001;
  10673. end;
  10674. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  10675. begin
  10676. if thebits = 0 then
  10677. pTDefRegMap(@Self)^.clr := $00000001
  10678. else
  10679. pTDefRegMap(@Self)^.&set := $00000001;
  10680. end;
  10681. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  10682. begin
  10683. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10684. end;
  10685. procedure TOCMP2_OC2CON.setOCM1; inline;
  10686. begin
  10687. pTDefRegMap(@Self)^.&set := $00000002;
  10688. end;
  10689. procedure TOCMP2_OC2CON.clearOCM1; inline;
  10690. begin
  10691. pTDefRegMap(@Self)^.clr := $00000002;
  10692. end;
  10693. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  10694. begin
  10695. if thebits = 0 then
  10696. pTDefRegMap(@Self)^.clr := $00000002
  10697. else
  10698. pTDefRegMap(@Self)^.&set := $00000002;
  10699. end;
  10700. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  10701. begin
  10702. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10703. end;
  10704. procedure TOCMP2_OC2CON.setOCM2; inline;
  10705. begin
  10706. pTDefRegMap(@Self)^.&set := $00000004;
  10707. end;
  10708. procedure TOCMP2_OC2CON.clearOCM2; inline;
  10709. begin
  10710. pTDefRegMap(@Self)^.clr := $00000004;
  10711. end;
  10712. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  10713. begin
  10714. if thebits = 0 then
  10715. pTDefRegMap(@Self)^.clr := $00000004
  10716. else
  10717. pTDefRegMap(@Self)^.&set := $00000004;
  10718. end;
  10719. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  10720. begin
  10721. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10722. end;
  10723. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  10724. begin
  10725. pTDefRegMap(@Self)^.&set := $00002000;
  10726. end;
  10727. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  10728. begin
  10729. pTDefRegMap(@Self)^.clr := $00002000;
  10730. end;
  10731. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  10732. begin
  10733. if thebits = 0 then
  10734. pTDefRegMap(@Self)^.clr := $00002000
  10735. else
  10736. pTDefRegMap(@Self)^.&set := $00002000;
  10737. end;
  10738. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  10739. begin
  10740. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10741. end;
  10742. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  10743. begin
  10744. pTDefRegMap(@Self)^.val := thebits;
  10745. end;
  10746. function TOCMP2_OC2CON.getw : TBits_32; inline;
  10747. begin
  10748. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10749. end;
  10750. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  10751. begin
  10752. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10753. end;
  10754. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  10755. begin
  10756. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10757. end;
  10758. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  10759. begin
  10760. pTDefRegMap(@Self)^.&set := $00000008;
  10761. end;
  10762. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  10763. begin
  10764. pTDefRegMap(@Self)^.clr := $00000008;
  10765. end;
  10766. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  10767. begin
  10768. if thebits = 0 then
  10769. pTDefRegMap(@Self)^.clr := $00000008
  10770. else
  10771. pTDefRegMap(@Self)^.&set := $00000008;
  10772. end;
  10773. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  10774. begin
  10775. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10776. end;
  10777. procedure TOCMP3_OC3CON.setOCFLT; inline;
  10778. begin
  10779. pTDefRegMap(@Self)^.&set := $00000010;
  10780. end;
  10781. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  10782. begin
  10783. pTDefRegMap(@Self)^.clr := $00000010;
  10784. end;
  10785. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  10786. begin
  10787. if thebits = 0 then
  10788. pTDefRegMap(@Self)^.clr := $00000010
  10789. else
  10790. pTDefRegMap(@Self)^.&set := $00000010;
  10791. end;
  10792. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  10793. begin
  10794. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10795. end;
  10796. procedure TOCMP3_OC3CON.setOC32; inline;
  10797. begin
  10798. pTDefRegMap(@Self)^.&set := $00000020;
  10799. end;
  10800. procedure TOCMP3_OC3CON.clearOC32; inline;
  10801. begin
  10802. pTDefRegMap(@Self)^.clr := $00000020;
  10803. end;
  10804. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  10805. begin
  10806. if thebits = 0 then
  10807. pTDefRegMap(@Self)^.clr := $00000020
  10808. else
  10809. pTDefRegMap(@Self)^.&set := $00000020;
  10810. end;
  10811. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  10812. begin
  10813. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10814. end;
  10815. procedure TOCMP3_OC3CON.setSIDL; inline;
  10816. begin
  10817. pTDefRegMap(@Self)^.&set := $00002000;
  10818. end;
  10819. procedure TOCMP3_OC3CON.clearSIDL; inline;
  10820. begin
  10821. pTDefRegMap(@Self)^.clr := $00002000;
  10822. end;
  10823. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  10824. begin
  10825. if thebits = 0 then
  10826. pTDefRegMap(@Self)^.clr := $00002000
  10827. else
  10828. pTDefRegMap(@Self)^.&set := $00002000;
  10829. end;
  10830. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  10831. begin
  10832. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10833. end;
  10834. procedure TOCMP3_OC3CON.setON; inline;
  10835. begin
  10836. pTDefRegMap(@Self)^.&set := $00008000;
  10837. end;
  10838. procedure TOCMP3_OC3CON.clearON; inline;
  10839. begin
  10840. pTDefRegMap(@Self)^.clr := $00008000;
  10841. end;
  10842. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  10843. begin
  10844. if thebits = 0 then
  10845. pTDefRegMap(@Self)^.clr := $00008000
  10846. else
  10847. pTDefRegMap(@Self)^.&set := $00008000;
  10848. end;
  10849. function TOCMP3_OC3CON.getON : TBits_1; inline;
  10850. begin
  10851. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10852. end;
  10853. procedure TOCMP3_OC3CON.setOCM0; inline;
  10854. begin
  10855. pTDefRegMap(@Self)^.&set := $00000001;
  10856. end;
  10857. procedure TOCMP3_OC3CON.clearOCM0; inline;
  10858. begin
  10859. pTDefRegMap(@Self)^.clr := $00000001;
  10860. end;
  10861. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  10862. begin
  10863. if thebits = 0 then
  10864. pTDefRegMap(@Self)^.clr := $00000001
  10865. else
  10866. pTDefRegMap(@Self)^.&set := $00000001;
  10867. end;
  10868. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  10869. begin
  10870. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10871. end;
  10872. procedure TOCMP3_OC3CON.setOCM1; inline;
  10873. begin
  10874. pTDefRegMap(@Self)^.&set := $00000002;
  10875. end;
  10876. procedure TOCMP3_OC3CON.clearOCM1; inline;
  10877. begin
  10878. pTDefRegMap(@Self)^.clr := $00000002;
  10879. end;
  10880. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  10881. begin
  10882. if thebits = 0 then
  10883. pTDefRegMap(@Self)^.clr := $00000002
  10884. else
  10885. pTDefRegMap(@Self)^.&set := $00000002;
  10886. end;
  10887. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  10888. begin
  10889. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10890. end;
  10891. procedure TOCMP3_OC3CON.setOCM2; inline;
  10892. begin
  10893. pTDefRegMap(@Self)^.&set := $00000004;
  10894. end;
  10895. procedure TOCMP3_OC3CON.clearOCM2; inline;
  10896. begin
  10897. pTDefRegMap(@Self)^.clr := $00000004;
  10898. end;
  10899. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  10900. begin
  10901. if thebits = 0 then
  10902. pTDefRegMap(@Self)^.clr := $00000004
  10903. else
  10904. pTDefRegMap(@Self)^.&set := $00000004;
  10905. end;
  10906. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  10907. begin
  10908. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10909. end;
  10910. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  10911. begin
  10912. pTDefRegMap(@Self)^.&set := $00002000;
  10913. end;
  10914. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  10915. begin
  10916. pTDefRegMap(@Self)^.clr := $00002000;
  10917. end;
  10918. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  10919. begin
  10920. if thebits = 0 then
  10921. pTDefRegMap(@Self)^.clr := $00002000
  10922. else
  10923. pTDefRegMap(@Self)^.&set := $00002000;
  10924. end;
  10925. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  10926. begin
  10927. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10928. end;
  10929. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  10930. begin
  10931. pTDefRegMap(@Self)^.val := thebits;
  10932. end;
  10933. function TOCMP3_OC3CON.getw : TBits_32; inline;
  10934. begin
  10935. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10936. end;
  10937. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  10938. begin
  10939. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10940. end;
  10941. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  10942. begin
  10943. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10944. end;
  10945. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  10946. begin
  10947. pTDefRegMap(@Self)^.&set := $00000008;
  10948. end;
  10949. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  10950. begin
  10951. pTDefRegMap(@Self)^.clr := $00000008;
  10952. end;
  10953. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  10954. begin
  10955. if thebits = 0 then
  10956. pTDefRegMap(@Self)^.clr := $00000008
  10957. else
  10958. pTDefRegMap(@Self)^.&set := $00000008;
  10959. end;
  10960. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  10961. begin
  10962. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10963. end;
  10964. procedure TOCMP4_OC4CON.setOCFLT; inline;
  10965. begin
  10966. pTDefRegMap(@Self)^.&set := $00000010;
  10967. end;
  10968. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  10969. begin
  10970. pTDefRegMap(@Self)^.clr := $00000010;
  10971. end;
  10972. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  10973. begin
  10974. if thebits = 0 then
  10975. pTDefRegMap(@Self)^.clr := $00000010
  10976. else
  10977. pTDefRegMap(@Self)^.&set := $00000010;
  10978. end;
  10979. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  10980. begin
  10981. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10982. end;
  10983. procedure TOCMP4_OC4CON.setOC32; inline;
  10984. begin
  10985. pTDefRegMap(@Self)^.&set := $00000020;
  10986. end;
  10987. procedure TOCMP4_OC4CON.clearOC32; inline;
  10988. begin
  10989. pTDefRegMap(@Self)^.clr := $00000020;
  10990. end;
  10991. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  10992. begin
  10993. if thebits = 0 then
  10994. pTDefRegMap(@Self)^.clr := $00000020
  10995. else
  10996. pTDefRegMap(@Self)^.&set := $00000020;
  10997. end;
  10998. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  10999. begin
  11000. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11001. end;
  11002. procedure TOCMP4_OC4CON.setSIDL; inline;
  11003. begin
  11004. pTDefRegMap(@Self)^.&set := $00002000;
  11005. end;
  11006. procedure TOCMP4_OC4CON.clearSIDL; inline;
  11007. begin
  11008. pTDefRegMap(@Self)^.clr := $00002000;
  11009. end;
  11010. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  11011. begin
  11012. if thebits = 0 then
  11013. pTDefRegMap(@Self)^.clr := $00002000
  11014. else
  11015. pTDefRegMap(@Self)^.&set := $00002000;
  11016. end;
  11017. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  11018. begin
  11019. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11020. end;
  11021. procedure TOCMP4_OC4CON.setON; inline;
  11022. begin
  11023. pTDefRegMap(@Self)^.&set := $00008000;
  11024. end;
  11025. procedure TOCMP4_OC4CON.clearON; inline;
  11026. begin
  11027. pTDefRegMap(@Self)^.clr := $00008000;
  11028. end;
  11029. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  11030. begin
  11031. if thebits = 0 then
  11032. pTDefRegMap(@Self)^.clr := $00008000
  11033. else
  11034. pTDefRegMap(@Self)^.&set := $00008000;
  11035. end;
  11036. function TOCMP4_OC4CON.getON : TBits_1; inline;
  11037. begin
  11038. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11039. end;
  11040. procedure TOCMP4_OC4CON.setOCM0; inline;
  11041. begin
  11042. pTDefRegMap(@Self)^.&set := $00000001;
  11043. end;
  11044. procedure TOCMP4_OC4CON.clearOCM0; inline;
  11045. begin
  11046. pTDefRegMap(@Self)^.clr := $00000001;
  11047. end;
  11048. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  11049. begin
  11050. if thebits = 0 then
  11051. pTDefRegMap(@Self)^.clr := $00000001
  11052. else
  11053. pTDefRegMap(@Self)^.&set := $00000001;
  11054. end;
  11055. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  11056. begin
  11057. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11058. end;
  11059. procedure TOCMP4_OC4CON.setOCM1; inline;
  11060. begin
  11061. pTDefRegMap(@Self)^.&set := $00000002;
  11062. end;
  11063. procedure TOCMP4_OC4CON.clearOCM1; inline;
  11064. begin
  11065. pTDefRegMap(@Self)^.clr := $00000002;
  11066. end;
  11067. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  11068. begin
  11069. if thebits = 0 then
  11070. pTDefRegMap(@Self)^.clr := $00000002
  11071. else
  11072. pTDefRegMap(@Self)^.&set := $00000002;
  11073. end;
  11074. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  11075. begin
  11076. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11077. end;
  11078. procedure TOCMP4_OC4CON.setOCM2; inline;
  11079. begin
  11080. pTDefRegMap(@Self)^.&set := $00000004;
  11081. end;
  11082. procedure TOCMP4_OC4CON.clearOCM2; inline;
  11083. begin
  11084. pTDefRegMap(@Self)^.clr := $00000004;
  11085. end;
  11086. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  11087. begin
  11088. if thebits = 0 then
  11089. pTDefRegMap(@Self)^.clr := $00000004
  11090. else
  11091. pTDefRegMap(@Self)^.&set := $00000004;
  11092. end;
  11093. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  11094. begin
  11095. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11096. end;
  11097. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  11098. begin
  11099. pTDefRegMap(@Self)^.&set := $00002000;
  11100. end;
  11101. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  11102. begin
  11103. pTDefRegMap(@Self)^.clr := $00002000;
  11104. end;
  11105. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  11106. begin
  11107. if thebits = 0 then
  11108. pTDefRegMap(@Self)^.clr := $00002000
  11109. else
  11110. pTDefRegMap(@Self)^.&set := $00002000;
  11111. end;
  11112. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  11113. begin
  11114. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11115. end;
  11116. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  11117. begin
  11118. pTDefRegMap(@Self)^.val := thebits;
  11119. end;
  11120. function TOCMP4_OC4CON.getw : TBits_32; inline;
  11121. begin
  11122. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11123. end;
  11124. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  11125. begin
  11126. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11127. end;
  11128. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  11129. begin
  11130. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11131. end;
  11132. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  11133. begin
  11134. pTDefRegMap(@Self)^.&set := $00000008;
  11135. end;
  11136. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  11137. begin
  11138. pTDefRegMap(@Self)^.clr := $00000008;
  11139. end;
  11140. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  11141. begin
  11142. if thebits = 0 then
  11143. pTDefRegMap(@Self)^.clr := $00000008
  11144. else
  11145. pTDefRegMap(@Self)^.&set := $00000008;
  11146. end;
  11147. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  11148. begin
  11149. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11150. end;
  11151. procedure TOCMP5_OC5CON.setOCFLT; inline;
  11152. begin
  11153. pTDefRegMap(@Self)^.&set := $00000010;
  11154. end;
  11155. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  11156. begin
  11157. pTDefRegMap(@Self)^.clr := $00000010;
  11158. end;
  11159. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  11160. begin
  11161. if thebits = 0 then
  11162. pTDefRegMap(@Self)^.clr := $00000010
  11163. else
  11164. pTDefRegMap(@Self)^.&set := $00000010;
  11165. end;
  11166. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  11167. begin
  11168. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11169. end;
  11170. procedure TOCMP5_OC5CON.setOC32; inline;
  11171. begin
  11172. pTDefRegMap(@Self)^.&set := $00000020;
  11173. end;
  11174. procedure TOCMP5_OC5CON.clearOC32; inline;
  11175. begin
  11176. pTDefRegMap(@Self)^.clr := $00000020;
  11177. end;
  11178. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  11179. begin
  11180. if thebits = 0 then
  11181. pTDefRegMap(@Self)^.clr := $00000020
  11182. else
  11183. pTDefRegMap(@Self)^.&set := $00000020;
  11184. end;
  11185. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  11186. begin
  11187. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11188. end;
  11189. procedure TOCMP5_OC5CON.setSIDL; inline;
  11190. begin
  11191. pTDefRegMap(@Self)^.&set := $00002000;
  11192. end;
  11193. procedure TOCMP5_OC5CON.clearSIDL; inline;
  11194. begin
  11195. pTDefRegMap(@Self)^.clr := $00002000;
  11196. end;
  11197. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  11198. begin
  11199. if thebits = 0 then
  11200. pTDefRegMap(@Self)^.clr := $00002000
  11201. else
  11202. pTDefRegMap(@Self)^.&set := $00002000;
  11203. end;
  11204. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  11205. begin
  11206. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11207. end;
  11208. procedure TOCMP5_OC5CON.setON; inline;
  11209. begin
  11210. pTDefRegMap(@Self)^.&set := $00008000;
  11211. end;
  11212. procedure TOCMP5_OC5CON.clearON; inline;
  11213. begin
  11214. pTDefRegMap(@Self)^.clr := $00008000;
  11215. end;
  11216. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  11217. begin
  11218. if thebits = 0 then
  11219. pTDefRegMap(@Self)^.clr := $00008000
  11220. else
  11221. pTDefRegMap(@Self)^.&set := $00008000;
  11222. end;
  11223. function TOCMP5_OC5CON.getON : TBits_1; inline;
  11224. begin
  11225. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11226. end;
  11227. procedure TOCMP5_OC5CON.setOCM0; inline;
  11228. begin
  11229. pTDefRegMap(@Self)^.&set := $00000001;
  11230. end;
  11231. procedure TOCMP5_OC5CON.clearOCM0; inline;
  11232. begin
  11233. pTDefRegMap(@Self)^.clr := $00000001;
  11234. end;
  11235. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  11236. begin
  11237. if thebits = 0 then
  11238. pTDefRegMap(@Self)^.clr := $00000001
  11239. else
  11240. pTDefRegMap(@Self)^.&set := $00000001;
  11241. end;
  11242. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  11243. begin
  11244. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11245. end;
  11246. procedure TOCMP5_OC5CON.setOCM1; inline;
  11247. begin
  11248. pTDefRegMap(@Self)^.&set := $00000002;
  11249. end;
  11250. procedure TOCMP5_OC5CON.clearOCM1; inline;
  11251. begin
  11252. pTDefRegMap(@Self)^.clr := $00000002;
  11253. end;
  11254. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  11255. begin
  11256. if thebits = 0 then
  11257. pTDefRegMap(@Self)^.clr := $00000002
  11258. else
  11259. pTDefRegMap(@Self)^.&set := $00000002;
  11260. end;
  11261. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  11262. begin
  11263. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11264. end;
  11265. procedure TOCMP5_OC5CON.setOCM2; inline;
  11266. begin
  11267. pTDefRegMap(@Self)^.&set := $00000004;
  11268. end;
  11269. procedure TOCMP5_OC5CON.clearOCM2; inline;
  11270. begin
  11271. pTDefRegMap(@Self)^.clr := $00000004;
  11272. end;
  11273. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  11274. begin
  11275. if thebits = 0 then
  11276. pTDefRegMap(@Self)^.clr := $00000004
  11277. else
  11278. pTDefRegMap(@Self)^.&set := $00000004;
  11279. end;
  11280. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  11281. begin
  11282. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11283. end;
  11284. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  11285. begin
  11286. pTDefRegMap(@Self)^.&set := $00002000;
  11287. end;
  11288. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  11289. begin
  11290. pTDefRegMap(@Self)^.clr := $00002000;
  11291. end;
  11292. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  11293. begin
  11294. if thebits = 0 then
  11295. pTDefRegMap(@Self)^.clr := $00002000
  11296. else
  11297. pTDefRegMap(@Self)^.&set := $00002000;
  11298. end;
  11299. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  11300. begin
  11301. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11302. end;
  11303. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  11304. begin
  11305. pTDefRegMap(@Self)^.val := thebits;
  11306. end;
  11307. function TOCMP5_OC5CON.getw : TBits_32; inline;
  11308. begin
  11309. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11310. end;
  11311. procedure TI2C1_I2C1CON.setSEN; inline;
  11312. begin
  11313. pTDefRegMap(@Self)^.&set := $00000001;
  11314. end;
  11315. procedure TI2C1_I2C1CON.clearSEN; inline;
  11316. begin
  11317. pTDefRegMap(@Self)^.clr := $00000001;
  11318. end;
  11319. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  11320. begin
  11321. if thebits = 0 then
  11322. pTDefRegMap(@Self)^.clr := $00000001
  11323. else
  11324. pTDefRegMap(@Self)^.&set := $00000001;
  11325. end;
  11326. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  11327. begin
  11328. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11329. end;
  11330. procedure TI2C1_I2C1CON.setRSEN; inline;
  11331. begin
  11332. pTDefRegMap(@Self)^.&set := $00000002;
  11333. end;
  11334. procedure TI2C1_I2C1CON.clearRSEN; inline;
  11335. begin
  11336. pTDefRegMap(@Self)^.clr := $00000002;
  11337. end;
  11338. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  11339. begin
  11340. if thebits = 0 then
  11341. pTDefRegMap(@Self)^.clr := $00000002
  11342. else
  11343. pTDefRegMap(@Self)^.&set := $00000002;
  11344. end;
  11345. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  11346. begin
  11347. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11348. end;
  11349. procedure TI2C1_I2C1CON.setPEN; inline;
  11350. begin
  11351. pTDefRegMap(@Self)^.&set := $00000004;
  11352. end;
  11353. procedure TI2C1_I2C1CON.clearPEN; inline;
  11354. begin
  11355. pTDefRegMap(@Self)^.clr := $00000004;
  11356. end;
  11357. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  11358. begin
  11359. if thebits = 0 then
  11360. pTDefRegMap(@Self)^.clr := $00000004
  11361. else
  11362. pTDefRegMap(@Self)^.&set := $00000004;
  11363. end;
  11364. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  11365. begin
  11366. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11367. end;
  11368. procedure TI2C1_I2C1CON.setRCEN; inline;
  11369. begin
  11370. pTDefRegMap(@Self)^.&set := $00000008;
  11371. end;
  11372. procedure TI2C1_I2C1CON.clearRCEN; inline;
  11373. begin
  11374. pTDefRegMap(@Self)^.clr := $00000008;
  11375. end;
  11376. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  11377. begin
  11378. if thebits = 0 then
  11379. pTDefRegMap(@Self)^.clr := $00000008
  11380. else
  11381. pTDefRegMap(@Self)^.&set := $00000008;
  11382. end;
  11383. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  11384. begin
  11385. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11386. end;
  11387. procedure TI2C1_I2C1CON.setACKEN; inline;
  11388. begin
  11389. pTDefRegMap(@Self)^.&set := $00000010;
  11390. end;
  11391. procedure TI2C1_I2C1CON.clearACKEN; inline;
  11392. begin
  11393. pTDefRegMap(@Self)^.clr := $00000010;
  11394. end;
  11395. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  11396. begin
  11397. if thebits = 0 then
  11398. pTDefRegMap(@Self)^.clr := $00000010
  11399. else
  11400. pTDefRegMap(@Self)^.&set := $00000010;
  11401. end;
  11402. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  11403. begin
  11404. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11405. end;
  11406. procedure TI2C1_I2C1CON.setACKDT; inline;
  11407. begin
  11408. pTDefRegMap(@Self)^.&set := $00000020;
  11409. end;
  11410. procedure TI2C1_I2C1CON.clearACKDT; inline;
  11411. begin
  11412. pTDefRegMap(@Self)^.clr := $00000020;
  11413. end;
  11414. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  11415. begin
  11416. if thebits = 0 then
  11417. pTDefRegMap(@Self)^.clr := $00000020
  11418. else
  11419. pTDefRegMap(@Self)^.&set := $00000020;
  11420. end;
  11421. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  11422. begin
  11423. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11424. end;
  11425. procedure TI2C1_I2C1CON.setSTREN; inline;
  11426. begin
  11427. pTDefRegMap(@Self)^.&set := $00000040;
  11428. end;
  11429. procedure TI2C1_I2C1CON.clearSTREN; inline;
  11430. begin
  11431. pTDefRegMap(@Self)^.clr := $00000040;
  11432. end;
  11433. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  11434. begin
  11435. if thebits = 0 then
  11436. pTDefRegMap(@Self)^.clr := $00000040
  11437. else
  11438. pTDefRegMap(@Self)^.&set := $00000040;
  11439. end;
  11440. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  11441. begin
  11442. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11443. end;
  11444. procedure TI2C1_I2C1CON.setGCEN; inline;
  11445. begin
  11446. pTDefRegMap(@Self)^.&set := $00000080;
  11447. end;
  11448. procedure TI2C1_I2C1CON.clearGCEN; inline;
  11449. begin
  11450. pTDefRegMap(@Self)^.clr := $00000080;
  11451. end;
  11452. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  11453. begin
  11454. if thebits = 0 then
  11455. pTDefRegMap(@Self)^.clr := $00000080
  11456. else
  11457. pTDefRegMap(@Self)^.&set := $00000080;
  11458. end;
  11459. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  11460. begin
  11461. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11462. end;
  11463. procedure TI2C1_I2C1CON.setSMEN; inline;
  11464. begin
  11465. pTDefRegMap(@Self)^.&set := $00000100;
  11466. end;
  11467. procedure TI2C1_I2C1CON.clearSMEN; inline;
  11468. begin
  11469. pTDefRegMap(@Self)^.clr := $00000100;
  11470. end;
  11471. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  11472. begin
  11473. if thebits = 0 then
  11474. pTDefRegMap(@Self)^.clr := $00000100
  11475. else
  11476. pTDefRegMap(@Self)^.&set := $00000100;
  11477. end;
  11478. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  11479. begin
  11480. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11481. end;
  11482. procedure TI2C1_I2C1CON.setDISSLW; inline;
  11483. begin
  11484. pTDefRegMap(@Self)^.&set := $00000200;
  11485. end;
  11486. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  11487. begin
  11488. pTDefRegMap(@Self)^.clr := $00000200;
  11489. end;
  11490. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  11491. begin
  11492. if thebits = 0 then
  11493. pTDefRegMap(@Self)^.clr := $00000200
  11494. else
  11495. pTDefRegMap(@Self)^.&set := $00000200;
  11496. end;
  11497. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  11498. begin
  11499. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11500. end;
  11501. procedure TI2C1_I2C1CON.setA10M; inline;
  11502. begin
  11503. pTDefRegMap(@Self)^.&set := $00000400;
  11504. end;
  11505. procedure TI2C1_I2C1CON.clearA10M; inline;
  11506. begin
  11507. pTDefRegMap(@Self)^.clr := $00000400;
  11508. end;
  11509. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  11510. begin
  11511. if thebits = 0 then
  11512. pTDefRegMap(@Self)^.clr := $00000400
  11513. else
  11514. pTDefRegMap(@Self)^.&set := $00000400;
  11515. end;
  11516. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  11517. begin
  11518. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  11519. end;
  11520. procedure TI2C1_I2C1CON.setSTRICT; inline;
  11521. begin
  11522. pTDefRegMap(@Self)^.&set := $00000800;
  11523. end;
  11524. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  11525. begin
  11526. pTDefRegMap(@Self)^.clr := $00000800;
  11527. end;
  11528. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  11529. begin
  11530. if thebits = 0 then
  11531. pTDefRegMap(@Self)^.clr := $00000800
  11532. else
  11533. pTDefRegMap(@Self)^.&set := $00000800;
  11534. end;
  11535. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  11536. begin
  11537. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11538. end;
  11539. procedure TI2C1_I2C1CON.setSCLREL; inline;
  11540. begin
  11541. pTDefRegMap(@Self)^.&set := $00001000;
  11542. end;
  11543. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  11544. begin
  11545. pTDefRegMap(@Self)^.clr := $00001000;
  11546. end;
  11547. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  11548. begin
  11549. if thebits = 0 then
  11550. pTDefRegMap(@Self)^.clr := $00001000
  11551. else
  11552. pTDefRegMap(@Self)^.&set := $00001000;
  11553. end;
  11554. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  11555. begin
  11556. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  11557. end;
  11558. procedure TI2C1_I2C1CON.setSIDL; inline;
  11559. begin
  11560. pTDefRegMap(@Self)^.&set := $00002000;
  11561. end;
  11562. procedure TI2C1_I2C1CON.clearSIDL; inline;
  11563. begin
  11564. pTDefRegMap(@Self)^.clr := $00002000;
  11565. end;
  11566. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  11567. begin
  11568. if thebits = 0 then
  11569. pTDefRegMap(@Self)^.clr := $00002000
  11570. else
  11571. pTDefRegMap(@Self)^.&set := $00002000;
  11572. end;
  11573. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  11574. begin
  11575. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11576. end;
  11577. procedure TI2C1_I2C1CON.setON; inline;
  11578. begin
  11579. pTDefRegMap(@Self)^.&set := $00008000;
  11580. end;
  11581. procedure TI2C1_I2C1CON.clearON; inline;
  11582. begin
  11583. pTDefRegMap(@Self)^.clr := $00008000;
  11584. end;
  11585. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  11586. begin
  11587. if thebits = 0 then
  11588. pTDefRegMap(@Self)^.clr := $00008000
  11589. else
  11590. pTDefRegMap(@Self)^.&set := $00008000;
  11591. end;
  11592. function TI2C1_I2C1CON.getON : TBits_1; inline;
  11593. begin
  11594. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11595. end;
  11596. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  11597. begin
  11598. pTDefRegMap(@Self)^.&set := $00000800;
  11599. end;
  11600. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  11601. begin
  11602. pTDefRegMap(@Self)^.clr := $00000800;
  11603. end;
  11604. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  11605. begin
  11606. if thebits = 0 then
  11607. pTDefRegMap(@Self)^.clr := $00000800
  11608. else
  11609. pTDefRegMap(@Self)^.&set := $00000800;
  11610. end;
  11611. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  11612. begin
  11613. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11614. end;
  11615. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  11616. begin
  11617. pTDefRegMap(@Self)^.&set := $00002000;
  11618. end;
  11619. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  11620. begin
  11621. pTDefRegMap(@Self)^.clr := $00002000;
  11622. end;
  11623. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  11624. begin
  11625. if thebits = 0 then
  11626. pTDefRegMap(@Self)^.clr := $00002000
  11627. else
  11628. pTDefRegMap(@Self)^.&set := $00002000;
  11629. end;
  11630. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  11631. begin
  11632. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11633. end;
  11634. procedure TI2C1_I2C1CON.setI2CEN; inline;
  11635. begin
  11636. pTDefRegMap(@Self)^.&set := $00008000;
  11637. end;
  11638. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  11639. begin
  11640. pTDefRegMap(@Self)^.clr := $00008000;
  11641. end;
  11642. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  11643. begin
  11644. if thebits = 0 then
  11645. pTDefRegMap(@Self)^.clr := $00008000
  11646. else
  11647. pTDefRegMap(@Self)^.&set := $00008000;
  11648. end;
  11649. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  11650. begin
  11651. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11652. end;
  11653. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  11654. begin
  11655. pTDefRegMap(@Self)^.val := thebits;
  11656. end;
  11657. function TI2C1_I2C1CON.getw : TBits_32; inline;
  11658. begin
  11659. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11660. end;
  11661. procedure TI2C1_I2C1STAT.setTBF; inline;
  11662. begin
  11663. pTDefRegMap(@Self)^.&set := $00000001;
  11664. end;
  11665. procedure TI2C1_I2C1STAT.clearTBF; inline;
  11666. begin
  11667. pTDefRegMap(@Self)^.clr := $00000001;
  11668. end;
  11669. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  11670. begin
  11671. if thebits = 0 then
  11672. pTDefRegMap(@Self)^.clr := $00000001
  11673. else
  11674. pTDefRegMap(@Self)^.&set := $00000001;
  11675. end;
  11676. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  11677. begin
  11678. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11679. end;
  11680. procedure TI2C1_I2C1STAT.setRBF; inline;
  11681. begin
  11682. pTDefRegMap(@Self)^.&set := $00000002;
  11683. end;
  11684. procedure TI2C1_I2C1STAT.clearRBF; inline;
  11685. begin
  11686. pTDefRegMap(@Self)^.clr := $00000002;
  11687. end;
  11688. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  11689. begin
  11690. if thebits = 0 then
  11691. pTDefRegMap(@Self)^.clr := $00000002
  11692. else
  11693. pTDefRegMap(@Self)^.&set := $00000002;
  11694. end;
  11695. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  11696. begin
  11697. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11698. end;
  11699. procedure TI2C1_I2C1STAT.setR_W; inline;
  11700. begin
  11701. pTDefRegMap(@Self)^.&set := $00000004;
  11702. end;
  11703. procedure TI2C1_I2C1STAT.clearR_W; inline;
  11704. begin
  11705. pTDefRegMap(@Self)^.clr := $00000004;
  11706. end;
  11707. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  11708. begin
  11709. if thebits = 0 then
  11710. pTDefRegMap(@Self)^.clr := $00000004
  11711. else
  11712. pTDefRegMap(@Self)^.&set := $00000004;
  11713. end;
  11714. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  11715. begin
  11716. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11717. end;
  11718. procedure TI2C1_I2C1STAT.setS; inline;
  11719. begin
  11720. pTDefRegMap(@Self)^.&set := $00000008;
  11721. end;
  11722. procedure TI2C1_I2C1STAT.clearS; inline;
  11723. begin
  11724. pTDefRegMap(@Self)^.clr := $00000008;
  11725. end;
  11726. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  11727. begin
  11728. if thebits = 0 then
  11729. pTDefRegMap(@Self)^.clr := $00000008
  11730. else
  11731. pTDefRegMap(@Self)^.&set := $00000008;
  11732. end;
  11733. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  11734. begin
  11735. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11736. end;
  11737. procedure TI2C1_I2C1STAT.setP; inline;
  11738. begin
  11739. pTDefRegMap(@Self)^.&set := $00000010;
  11740. end;
  11741. procedure TI2C1_I2C1STAT.clearP; inline;
  11742. begin
  11743. pTDefRegMap(@Self)^.clr := $00000010;
  11744. end;
  11745. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  11746. begin
  11747. if thebits = 0 then
  11748. pTDefRegMap(@Self)^.clr := $00000010
  11749. else
  11750. pTDefRegMap(@Self)^.&set := $00000010;
  11751. end;
  11752. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  11753. begin
  11754. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11755. end;
  11756. procedure TI2C1_I2C1STAT.setD_A; inline;
  11757. begin
  11758. pTDefRegMap(@Self)^.&set := $00000020;
  11759. end;
  11760. procedure TI2C1_I2C1STAT.clearD_A; inline;
  11761. begin
  11762. pTDefRegMap(@Self)^.clr := $00000020;
  11763. end;
  11764. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  11765. begin
  11766. if thebits = 0 then
  11767. pTDefRegMap(@Self)^.clr := $00000020
  11768. else
  11769. pTDefRegMap(@Self)^.&set := $00000020;
  11770. end;
  11771. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  11772. begin
  11773. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11774. end;
  11775. procedure TI2C1_I2C1STAT.setI2COV; inline;
  11776. begin
  11777. pTDefRegMap(@Self)^.&set := $00000040;
  11778. end;
  11779. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  11780. begin
  11781. pTDefRegMap(@Self)^.clr := $00000040;
  11782. end;
  11783. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  11784. begin
  11785. if thebits = 0 then
  11786. pTDefRegMap(@Self)^.clr := $00000040
  11787. else
  11788. pTDefRegMap(@Self)^.&set := $00000040;
  11789. end;
  11790. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  11791. begin
  11792. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11793. end;
  11794. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  11795. begin
  11796. pTDefRegMap(@Self)^.&set := $00000080;
  11797. end;
  11798. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  11799. begin
  11800. pTDefRegMap(@Self)^.clr := $00000080;
  11801. end;
  11802. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  11803. begin
  11804. if thebits = 0 then
  11805. pTDefRegMap(@Self)^.clr := $00000080
  11806. else
  11807. pTDefRegMap(@Self)^.&set := $00000080;
  11808. end;
  11809. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  11810. begin
  11811. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11812. end;
  11813. procedure TI2C1_I2C1STAT.setADD10; inline;
  11814. begin
  11815. pTDefRegMap(@Self)^.&set := $00000100;
  11816. end;
  11817. procedure TI2C1_I2C1STAT.clearADD10; inline;
  11818. begin
  11819. pTDefRegMap(@Self)^.clr := $00000100;
  11820. end;
  11821. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  11822. begin
  11823. if thebits = 0 then
  11824. pTDefRegMap(@Self)^.clr := $00000100
  11825. else
  11826. pTDefRegMap(@Self)^.&set := $00000100;
  11827. end;
  11828. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  11829. begin
  11830. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11831. end;
  11832. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  11833. begin
  11834. pTDefRegMap(@Self)^.&set := $00000200;
  11835. end;
  11836. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  11837. begin
  11838. pTDefRegMap(@Self)^.clr := $00000200;
  11839. end;
  11840. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  11841. begin
  11842. if thebits = 0 then
  11843. pTDefRegMap(@Self)^.clr := $00000200
  11844. else
  11845. pTDefRegMap(@Self)^.&set := $00000200;
  11846. end;
  11847. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  11848. begin
  11849. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11850. end;
  11851. procedure TI2C1_I2C1STAT.setBCL; inline;
  11852. begin
  11853. pTDefRegMap(@Self)^.&set := $00000400;
  11854. end;
  11855. procedure TI2C1_I2C1STAT.clearBCL; inline;
  11856. begin
  11857. pTDefRegMap(@Self)^.clr := $00000400;
  11858. end;
  11859. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  11860. begin
  11861. if thebits = 0 then
  11862. pTDefRegMap(@Self)^.clr := $00000400
  11863. else
  11864. pTDefRegMap(@Self)^.&set := $00000400;
  11865. end;
  11866. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  11867. begin
  11868. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  11869. end;
  11870. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  11871. begin
  11872. pTDefRegMap(@Self)^.&set := $00004000;
  11873. end;
  11874. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  11875. begin
  11876. pTDefRegMap(@Self)^.clr := $00004000;
  11877. end;
  11878. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  11879. begin
  11880. if thebits = 0 then
  11881. pTDefRegMap(@Self)^.clr := $00004000
  11882. else
  11883. pTDefRegMap(@Self)^.&set := $00004000;
  11884. end;
  11885. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  11886. begin
  11887. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  11888. end;
  11889. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  11890. begin
  11891. pTDefRegMap(@Self)^.&set := $00008000;
  11892. end;
  11893. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  11894. begin
  11895. pTDefRegMap(@Self)^.clr := $00008000;
  11896. end;
  11897. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  11898. begin
  11899. if thebits = 0 then
  11900. pTDefRegMap(@Self)^.clr := $00008000
  11901. else
  11902. pTDefRegMap(@Self)^.&set := $00008000;
  11903. end;
  11904. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  11905. begin
  11906. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11907. end;
  11908. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  11909. begin
  11910. pTDefRegMap(@Self)^.&set := $00000040;
  11911. end;
  11912. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  11913. begin
  11914. pTDefRegMap(@Self)^.clr := $00000040;
  11915. end;
  11916. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  11917. begin
  11918. if thebits = 0 then
  11919. pTDefRegMap(@Self)^.clr := $00000040
  11920. else
  11921. pTDefRegMap(@Self)^.&set := $00000040;
  11922. end;
  11923. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  11924. begin
  11925. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11926. end;
  11927. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  11928. begin
  11929. pTDefRegMap(@Self)^.val := thebits;
  11930. end;
  11931. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  11932. begin
  11933. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11934. end;
  11935. procedure TI2C2_I2C2CON.setSEN; inline;
  11936. begin
  11937. pTDefRegMap(@Self)^.&set := $00000001;
  11938. end;
  11939. procedure TI2C2_I2C2CON.clearSEN; inline;
  11940. begin
  11941. pTDefRegMap(@Self)^.clr := $00000001;
  11942. end;
  11943. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  11944. begin
  11945. if thebits = 0 then
  11946. pTDefRegMap(@Self)^.clr := $00000001
  11947. else
  11948. pTDefRegMap(@Self)^.&set := $00000001;
  11949. end;
  11950. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  11951. begin
  11952. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11953. end;
  11954. procedure TI2C2_I2C2CON.setRSEN; inline;
  11955. begin
  11956. pTDefRegMap(@Self)^.&set := $00000002;
  11957. end;
  11958. procedure TI2C2_I2C2CON.clearRSEN; inline;
  11959. begin
  11960. pTDefRegMap(@Self)^.clr := $00000002;
  11961. end;
  11962. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  11963. begin
  11964. if thebits = 0 then
  11965. pTDefRegMap(@Self)^.clr := $00000002
  11966. else
  11967. pTDefRegMap(@Self)^.&set := $00000002;
  11968. end;
  11969. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  11970. begin
  11971. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11972. end;
  11973. procedure TI2C2_I2C2CON.setPEN; inline;
  11974. begin
  11975. pTDefRegMap(@Self)^.&set := $00000004;
  11976. end;
  11977. procedure TI2C2_I2C2CON.clearPEN; inline;
  11978. begin
  11979. pTDefRegMap(@Self)^.clr := $00000004;
  11980. end;
  11981. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  11982. begin
  11983. if thebits = 0 then
  11984. pTDefRegMap(@Self)^.clr := $00000004
  11985. else
  11986. pTDefRegMap(@Self)^.&set := $00000004;
  11987. end;
  11988. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  11989. begin
  11990. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11991. end;
  11992. procedure TI2C2_I2C2CON.setRCEN; inline;
  11993. begin
  11994. pTDefRegMap(@Self)^.&set := $00000008;
  11995. end;
  11996. procedure TI2C2_I2C2CON.clearRCEN; inline;
  11997. begin
  11998. pTDefRegMap(@Self)^.clr := $00000008;
  11999. end;
  12000. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  12001. begin
  12002. if thebits = 0 then
  12003. pTDefRegMap(@Self)^.clr := $00000008
  12004. else
  12005. pTDefRegMap(@Self)^.&set := $00000008;
  12006. end;
  12007. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  12008. begin
  12009. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12010. end;
  12011. procedure TI2C2_I2C2CON.setACKEN; inline;
  12012. begin
  12013. pTDefRegMap(@Self)^.&set := $00000010;
  12014. end;
  12015. procedure TI2C2_I2C2CON.clearACKEN; inline;
  12016. begin
  12017. pTDefRegMap(@Self)^.clr := $00000010;
  12018. end;
  12019. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  12020. begin
  12021. if thebits = 0 then
  12022. pTDefRegMap(@Self)^.clr := $00000010
  12023. else
  12024. pTDefRegMap(@Self)^.&set := $00000010;
  12025. end;
  12026. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  12027. begin
  12028. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12029. end;
  12030. procedure TI2C2_I2C2CON.setACKDT; inline;
  12031. begin
  12032. pTDefRegMap(@Self)^.&set := $00000020;
  12033. end;
  12034. procedure TI2C2_I2C2CON.clearACKDT; inline;
  12035. begin
  12036. pTDefRegMap(@Self)^.clr := $00000020;
  12037. end;
  12038. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  12039. begin
  12040. if thebits = 0 then
  12041. pTDefRegMap(@Self)^.clr := $00000020
  12042. else
  12043. pTDefRegMap(@Self)^.&set := $00000020;
  12044. end;
  12045. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  12046. begin
  12047. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12048. end;
  12049. procedure TI2C2_I2C2CON.setSTREN; inline;
  12050. begin
  12051. pTDefRegMap(@Self)^.&set := $00000040;
  12052. end;
  12053. procedure TI2C2_I2C2CON.clearSTREN; inline;
  12054. begin
  12055. pTDefRegMap(@Self)^.clr := $00000040;
  12056. end;
  12057. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  12058. begin
  12059. if thebits = 0 then
  12060. pTDefRegMap(@Self)^.clr := $00000040
  12061. else
  12062. pTDefRegMap(@Self)^.&set := $00000040;
  12063. end;
  12064. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  12065. begin
  12066. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12067. end;
  12068. procedure TI2C2_I2C2CON.setGCEN; inline;
  12069. begin
  12070. pTDefRegMap(@Self)^.&set := $00000080;
  12071. end;
  12072. procedure TI2C2_I2C2CON.clearGCEN; inline;
  12073. begin
  12074. pTDefRegMap(@Self)^.clr := $00000080;
  12075. end;
  12076. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  12077. begin
  12078. if thebits = 0 then
  12079. pTDefRegMap(@Self)^.clr := $00000080
  12080. else
  12081. pTDefRegMap(@Self)^.&set := $00000080;
  12082. end;
  12083. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  12084. begin
  12085. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12086. end;
  12087. procedure TI2C2_I2C2CON.setSMEN; inline;
  12088. begin
  12089. pTDefRegMap(@Self)^.&set := $00000100;
  12090. end;
  12091. procedure TI2C2_I2C2CON.clearSMEN; inline;
  12092. begin
  12093. pTDefRegMap(@Self)^.clr := $00000100;
  12094. end;
  12095. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  12096. begin
  12097. if thebits = 0 then
  12098. pTDefRegMap(@Self)^.clr := $00000100
  12099. else
  12100. pTDefRegMap(@Self)^.&set := $00000100;
  12101. end;
  12102. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  12103. begin
  12104. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12105. end;
  12106. procedure TI2C2_I2C2CON.setDISSLW; inline;
  12107. begin
  12108. pTDefRegMap(@Self)^.&set := $00000200;
  12109. end;
  12110. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  12111. begin
  12112. pTDefRegMap(@Self)^.clr := $00000200;
  12113. end;
  12114. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  12115. begin
  12116. if thebits = 0 then
  12117. pTDefRegMap(@Self)^.clr := $00000200
  12118. else
  12119. pTDefRegMap(@Self)^.&set := $00000200;
  12120. end;
  12121. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  12122. begin
  12123. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12124. end;
  12125. procedure TI2C2_I2C2CON.setA10M; inline;
  12126. begin
  12127. pTDefRegMap(@Self)^.&set := $00000400;
  12128. end;
  12129. procedure TI2C2_I2C2CON.clearA10M; inline;
  12130. begin
  12131. pTDefRegMap(@Self)^.clr := $00000400;
  12132. end;
  12133. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  12134. begin
  12135. if thebits = 0 then
  12136. pTDefRegMap(@Self)^.clr := $00000400
  12137. else
  12138. pTDefRegMap(@Self)^.&set := $00000400;
  12139. end;
  12140. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  12141. begin
  12142. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12143. end;
  12144. procedure TI2C2_I2C2CON.setSTRICT; inline;
  12145. begin
  12146. pTDefRegMap(@Self)^.&set := $00000800;
  12147. end;
  12148. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  12149. begin
  12150. pTDefRegMap(@Self)^.clr := $00000800;
  12151. end;
  12152. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  12153. begin
  12154. if thebits = 0 then
  12155. pTDefRegMap(@Self)^.clr := $00000800
  12156. else
  12157. pTDefRegMap(@Self)^.&set := $00000800;
  12158. end;
  12159. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  12160. begin
  12161. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12162. end;
  12163. procedure TI2C2_I2C2CON.setSCLREL; inline;
  12164. begin
  12165. pTDefRegMap(@Self)^.&set := $00001000;
  12166. end;
  12167. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  12168. begin
  12169. pTDefRegMap(@Self)^.clr := $00001000;
  12170. end;
  12171. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  12172. begin
  12173. if thebits = 0 then
  12174. pTDefRegMap(@Self)^.clr := $00001000
  12175. else
  12176. pTDefRegMap(@Self)^.&set := $00001000;
  12177. end;
  12178. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  12179. begin
  12180. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12181. end;
  12182. procedure TI2C2_I2C2CON.setSIDL; inline;
  12183. begin
  12184. pTDefRegMap(@Self)^.&set := $00002000;
  12185. end;
  12186. procedure TI2C2_I2C2CON.clearSIDL; inline;
  12187. begin
  12188. pTDefRegMap(@Self)^.clr := $00002000;
  12189. end;
  12190. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  12191. begin
  12192. if thebits = 0 then
  12193. pTDefRegMap(@Self)^.clr := $00002000
  12194. else
  12195. pTDefRegMap(@Self)^.&set := $00002000;
  12196. end;
  12197. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  12198. begin
  12199. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12200. end;
  12201. procedure TI2C2_I2C2CON.setON; inline;
  12202. begin
  12203. pTDefRegMap(@Self)^.&set := $00008000;
  12204. end;
  12205. procedure TI2C2_I2C2CON.clearON; inline;
  12206. begin
  12207. pTDefRegMap(@Self)^.clr := $00008000;
  12208. end;
  12209. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  12210. begin
  12211. if thebits = 0 then
  12212. pTDefRegMap(@Self)^.clr := $00008000
  12213. else
  12214. pTDefRegMap(@Self)^.&set := $00008000;
  12215. end;
  12216. function TI2C2_I2C2CON.getON : TBits_1; inline;
  12217. begin
  12218. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12219. end;
  12220. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  12221. begin
  12222. pTDefRegMap(@Self)^.&set := $00000800;
  12223. end;
  12224. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  12225. begin
  12226. pTDefRegMap(@Self)^.clr := $00000800;
  12227. end;
  12228. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  12229. begin
  12230. if thebits = 0 then
  12231. pTDefRegMap(@Self)^.clr := $00000800
  12232. else
  12233. pTDefRegMap(@Self)^.&set := $00000800;
  12234. end;
  12235. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  12236. begin
  12237. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12238. end;
  12239. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  12240. begin
  12241. pTDefRegMap(@Self)^.&set := $00002000;
  12242. end;
  12243. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  12244. begin
  12245. pTDefRegMap(@Self)^.clr := $00002000;
  12246. end;
  12247. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  12248. begin
  12249. if thebits = 0 then
  12250. pTDefRegMap(@Self)^.clr := $00002000
  12251. else
  12252. pTDefRegMap(@Self)^.&set := $00002000;
  12253. end;
  12254. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  12255. begin
  12256. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12257. end;
  12258. procedure TI2C2_I2C2CON.setI2CEN; inline;
  12259. begin
  12260. pTDefRegMap(@Self)^.&set := $00008000;
  12261. end;
  12262. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  12263. begin
  12264. pTDefRegMap(@Self)^.clr := $00008000;
  12265. end;
  12266. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  12267. begin
  12268. if thebits = 0 then
  12269. pTDefRegMap(@Self)^.clr := $00008000
  12270. else
  12271. pTDefRegMap(@Self)^.&set := $00008000;
  12272. end;
  12273. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  12274. begin
  12275. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12276. end;
  12277. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  12278. begin
  12279. pTDefRegMap(@Self)^.val := thebits;
  12280. end;
  12281. function TI2C2_I2C2CON.getw : TBits_32; inline;
  12282. begin
  12283. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12284. end;
  12285. procedure TI2C2_I2C2STAT.setTBF; inline;
  12286. begin
  12287. pTDefRegMap(@Self)^.&set := $00000001;
  12288. end;
  12289. procedure TI2C2_I2C2STAT.clearTBF; inline;
  12290. begin
  12291. pTDefRegMap(@Self)^.clr := $00000001;
  12292. end;
  12293. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  12294. begin
  12295. if thebits = 0 then
  12296. pTDefRegMap(@Self)^.clr := $00000001
  12297. else
  12298. pTDefRegMap(@Self)^.&set := $00000001;
  12299. end;
  12300. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  12301. begin
  12302. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12303. end;
  12304. procedure TI2C2_I2C2STAT.setRBF; inline;
  12305. begin
  12306. pTDefRegMap(@Self)^.&set := $00000002;
  12307. end;
  12308. procedure TI2C2_I2C2STAT.clearRBF; inline;
  12309. begin
  12310. pTDefRegMap(@Self)^.clr := $00000002;
  12311. end;
  12312. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  12313. begin
  12314. if thebits = 0 then
  12315. pTDefRegMap(@Self)^.clr := $00000002
  12316. else
  12317. pTDefRegMap(@Self)^.&set := $00000002;
  12318. end;
  12319. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  12320. begin
  12321. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12322. end;
  12323. procedure TI2C2_I2C2STAT.setR_W; inline;
  12324. begin
  12325. pTDefRegMap(@Self)^.&set := $00000004;
  12326. end;
  12327. procedure TI2C2_I2C2STAT.clearR_W; inline;
  12328. begin
  12329. pTDefRegMap(@Self)^.clr := $00000004;
  12330. end;
  12331. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  12332. begin
  12333. if thebits = 0 then
  12334. pTDefRegMap(@Self)^.clr := $00000004
  12335. else
  12336. pTDefRegMap(@Self)^.&set := $00000004;
  12337. end;
  12338. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  12339. begin
  12340. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12341. end;
  12342. procedure TI2C2_I2C2STAT.setS; inline;
  12343. begin
  12344. pTDefRegMap(@Self)^.&set := $00000008;
  12345. end;
  12346. procedure TI2C2_I2C2STAT.clearS; inline;
  12347. begin
  12348. pTDefRegMap(@Self)^.clr := $00000008;
  12349. end;
  12350. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  12351. begin
  12352. if thebits = 0 then
  12353. pTDefRegMap(@Self)^.clr := $00000008
  12354. else
  12355. pTDefRegMap(@Self)^.&set := $00000008;
  12356. end;
  12357. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  12358. begin
  12359. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12360. end;
  12361. procedure TI2C2_I2C2STAT.setP; inline;
  12362. begin
  12363. pTDefRegMap(@Self)^.&set := $00000010;
  12364. end;
  12365. procedure TI2C2_I2C2STAT.clearP; inline;
  12366. begin
  12367. pTDefRegMap(@Self)^.clr := $00000010;
  12368. end;
  12369. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  12370. begin
  12371. if thebits = 0 then
  12372. pTDefRegMap(@Self)^.clr := $00000010
  12373. else
  12374. pTDefRegMap(@Self)^.&set := $00000010;
  12375. end;
  12376. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  12377. begin
  12378. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12379. end;
  12380. procedure TI2C2_I2C2STAT.setD_A; inline;
  12381. begin
  12382. pTDefRegMap(@Self)^.&set := $00000020;
  12383. end;
  12384. procedure TI2C2_I2C2STAT.clearD_A; inline;
  12385. begin
  12386. pTDefRegMap(@Self)^.clr := $00000020;
  12387. end;
  12388. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  12389. begin
  12390. if thebits = 0 then
  12391. pTDefRegMap(@Self)^.clr := $00000020
  12392. else
  12393. pTDefRegMap(@Self)^.&set := $00000020;
  12394. end;
  12395. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  12396. begin
  12397. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12398. end;
  12399. procedure TI2C2_I2C2STAT.setI2COV; inline;
  12400. begin
  12401. pTDefRegMap(@Self)^.&set := $00000040;
  12402. end;
  12403. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  12404. begin
  12405. pTDefRegMap(@Self)^.clr := $00000040;
  12406. end;
  12407. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  12408. begin
  12409. if thebits = 0 then
  12410. pTDefRegMap(@Self)^.clr := $00000040
  12411. else
  12412. pTDefRegMap(@Self)^.&set := $00000040;
  12413. end;
  12414. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  12415. begin
  12416. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12417. end;
  12418. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  12419. begin
  12420. pTDefRegMap(@Self)^.&set := $00000080;
  12421. end;
  12422. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  12423. begin
  12424. pTDefRegMap(@Self)^.clr := $00000080;
  12425. end;
  12426. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  12427. begin
  12428. if thebits = 0 then
  12429. pTDefRegMap(@Self)^.clr := $00000080
  12430. else
  12431. pTDefRegMap(@Self)^.&set := $00000080;
  12432. end;
  12433. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  12434. begin
  12435. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12436. end;
  12437. procedure TI2C2_I2C2STAT.setADD10; inline;
  12438. begin
  12439. pTDefRegMap(@Self)^.&set := $00000100;
  12440. end;
  12441. procedure TI2C2_I2C2STAT.clearADD10; inline;
  12442. begin
  12443. pTDefRegMap(@Self)^.clr := $00000100;
  12444. end;
  12445. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  12446. begin
  12447. if thebits = 0 then
  12448. pTDefRegMap(@Self)^.clr := $00000100
  12449. else
  12450. pTDefRegMap(@Self)^.&set := $00000100;
  12451. end;
  12452. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  12453. begin
  12454. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12455. end;
  12456. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  12457. begin
  12458. pTDefRegMap(@Self)^.&set := $00000200;
  12459. end;
  12460. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  12461. begin
  12462. pTDefRegMap(@Self)^.clr := $00000200;
  12463. end;
  12464. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  12465. begin
  12466. if thebits = 0 then
  12467. pTDefRegMap(@Self)^.clr := $00000200
  12468. else
  12469. pTDefRegMap(@Self)^.&set := $00000200;
  12470. end;
  12471. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  12472. begin
  12473. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12474. end;
  12475. procedure TI2C2_I2C2STAT.setBCL; inline;
  12476. begin
  12477. pTDefRegMap(@Self)^.&set := $00000400;
  12478. end;
  12479. procedure TI2C2_I2C2STAT.clearBCL; inline;
  12480. begin
  12481. pTDefRegMap(@Self)^.clr := $00000400;
  12482. end;
  12483. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  12484. begin
  12485. if thebits = 0 then
  12486. pTDefRegMap(@Self)^.clr := $00000400
  12487. else
  12488. pTDefRegMap(@Self)^.&set := $00000400;
  12489. end;
  12490. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  12491. begin
  12492. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12493. end;
  12494. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  12495. begin
  12496. pTDefRegMap(@Self)^.&set := $00004000;
  12497. end;
  12498. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  12499. begin
  12500. pTDefRegMap(@Self)^.clr := $00004000;
  12501. end;
  12502. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  12503. begin
  12504. if thebits = 0 then
  12505. pTDefRegMap(@Self)^.clr := $00004000
  12506. else
  12507. pTDefRegMap(@Self)^.&set := $00004000;
  12508. end;
  12509. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  12510. begin
  12511. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  12512. end;
  12513. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  12514. begin
  12515. pTDefRegMap(@Self)^.&set := $00008000;
  12516. end;
  12517. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  12518. begin
  12519. pTDefRegMap(@Self)^.clr := $00008000;
  12520. end;
  12521. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  12522. begin
  12523. if thebits = 0 then
  12524. pTDefRegMap(@Self)^.clr := $00008000
  12525. else
  12526. pTDefRegMap(@Self)^.&set := $00008000;
  12527. end;
  12528. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  12529. begin
  12530. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12531. end;
  12532. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  12533. begin
  12534. pTDefRegMap(@Self)^.&set := $00000040;
  12535. end;
  12536. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  12537. begin
  12538. pTDefRegMap(@Self)^.clr := $00000040;
  12539. end;
  12540. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  12541. begin
  12542. if thebits = 0 then
  12543. pTDefRegMap(@Self)^.clr := $00000040
  12544. else
  12545. pTDefRegMap(@Self)^.&set := $00000040;
  12546. end;
  12547. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  12548. begin
  12549. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12550. end;
  12551. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  12552. begin
  12553. pTDefRegMap(@Self)^.val := thebits;
  12554. end;
  12555. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  12556. begin
  12557. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12558. end;
  12559. procedure TSPI1_SPI1CON.setMSTEN; inline;
  12560. begin
  12561. pTDefRegMap(@Self)^.&set := $00000020;
  12562. end;
  12563. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  12564. begin
  12565. pTDefRegMap(@Self)^.clr := $00000020;
  12566. end;
  12567. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  12568. begin
  12569. if thebits = 0 then
  12570. pTDefRegMap(@Self)^.clr := $00000020
  12571. else
  12572. pTDefRegMap(@Self)^.&set := $00000020;
  12573. end;
  12574. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  12575. begin
  12576. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12577. end;
  12578. procedure TSPI1_SPI1CON.setCKP; inline;
  12579. begin
  12580. pTDefRegMap(@Self)^.&set := $00000040;
  12581. end;
  12582. procedure TSPI1_SPI1CON.clearCKP; inline;
  12583. begin
  12584. pTDefRegMap(@Self)^.clr := $00000040;
  12585. end;
  12586. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  12587. begin
  12588. if thebits = 0 then
  12589. pTDefRegMap(@Self)^.clr := $00000040
  12590. else
  12591. pTDefRegMap(@Self)^.&set := $00000040;
  12592. end;
  12593. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  12594. begin
  12595. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12596. end;
  12597. procedure TSPI1_SPI1CON.setSSEN; inline;
  12598. begin
  12599. pTDefRegMap(@Self)^.&set := $00000080;
  12600. end;
  12601. procedure TSPI1_SPI1CON.clearSSEN; inline;
  12602. begin
  12603. pTDefRegMap(@Self)^.clr := $00000080;
  12604. end;
  12605. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  12606. begin
  12607. if thebits = 0 then
  12608. pTDefRegMap(@Self)^.clr := $00000080
  12609. else
  12610. pTDefRegMap(@Self)^.&set := $00000080;
  12611. end;
  12612. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  12613. begin
  12614. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12615. end;
  12616. procedure TSPI1_SPI1CON.setCKE; inline;
  12617. begin
  12618. pTDefRegMap(@Self)^.&set := $00000100;
  12619. end;
  12620. procedure TSPI1_SPI1CON.clearCKE; inline;
  12621. begin
  12622. pTDefRegMap(@Self)^.clr := $00000100;
  12623. end;
  12624. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  12625. begin
  12626. if thebits = 0 then
  12627. pTDefRegMap(@Self)^.clr := $00000100
  12628. else
  12629. pTDefRegMap(@Self)^.&set := $00000100;
  12630. end;
  12631. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  12632. begin
  12633. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12634. end;
  12635. procedure TSPI1_SPI1CON.setSMP; inline;
  12636. begin
  12637. pTDefRegMap(@Self)^.&set := $00000200;
  12638. end;
  12639. procedure TSPI1_SPI1CON.clearSMP; inline;
  12640. begin
  12641. pTDefRegMap(@Self)^.clr := $00000200;
  12642. end;
  12643. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  12644. begin
  12645. if thebits = 0 then
  12646. pTDefRegMap(@Self)^.clr := $00000200
  12647. else
  12648. pTDefRegMap(@Self)^.&set := $00000200;
  12649. end;
  12650. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  12651. begin
  12652. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12653. end;
  12654. procedure TSPI1_SPI1CON.setMODE16; inline;
  12655. begin
  12656. pTDefRegMap(@Self)^.&set := $00000400;
  12657. end;
  12658. procedure TSPI1_SPI1CON.clearMODE16; inline;
  12659. begin
  12660. pTDefRegMap(@Self)^.clr := $00000400;
  12661. end;
  12662. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  12663. begin
  12664. if thebits = 0 then
  12665. pTDefRegMap(@Self)^.clr := $00000400
  12666. else
  12667. pTDefRegMap(@Self)^.&set := $00000400;
  12668. end;
  12669. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  12670. begin
  12671. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12672. end;
  12673. procedure TSPI1_SPI1CON.setMODE32; inline;
  12674. begin
  12675. pTDefRegMap(@Self)^.&set := $00000800;
  12676. end;
  12677. procedure TSPI1_SPI1CON.clearMODE32; inline;
  12678. begin
  12679. pTDefRegMap(@Self)^.clr := $00000800;
  12680. end;
  12681. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  12682. begin
  12683. if thebits = 0 then
  12684. pTDefRegMap(@Self)^.clr := $00000800
  12685. else
  12686. pTDefRegMap(@Self)^.&set := $00000800;
  12687. end;
  12688. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  12689. begin
  12690. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12691. end;
  12692. procedure TSPI1_SPI1CON.setDISSDO; inline;
  12693. begin
  12694. pTDefRegMap(@Self)^.&set := $00001000;
  12695. end;
  12696. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  12697. begin
  12698. pTDefRegMap(@Self)^.clr := $00001000;
  12699. end;
  12700. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  12701. begin
  12702. if thebits = 0 then
  12703. pTDefRegMap(@Self)^.clr := $00001000
  12704. else
  12705. pTDefRegMap(@Self)^.&set := $00001000;
  12706. end;
  12707. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  12708. begin
  12709. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12710. end;
  12711. procedure TSPI1_SPI1CON.setSIDL; inline;
  12712. begin
  12713. pTDefRegMap(@Self)^.&set := $00002000;
  12714. end;
  12715. procedure TSPI1_SPI1CON.clearSIDL; inline;
  12716. begin
  12717. pTDefRegMap(@Self)^.clr := $00002000;
  12718. end;
  12719. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  12720. begin
  12721. if thebits = 0 then
  12722. pTDefRegMap(@Self)^.clr := $00002000
  12723. else
  12724. pTDefRegMap(@Self)^.&set := $00002000;
  12725. end;
  12726. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  12727. begin
  12728. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12729. end;
  12730. procedure TSPI1_SPI1CON.setON; inline;
  12731. begin
  12732. pTDefRegMap(@Self)^.&set := $00008000;
  12733. end;
  12734. procedure TSPI1_SPI1CON.clearON; inline;
  12735. begin
  12736. pTDefRegMap(@Self)^.clr := $00008000;
  12737. end;
  12738. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  12739. begin
  12740. if thebits = 0 then
  12741. pTDefRegMap(@Self)^.clr := $00008000
  12742. else
  12743. pTDefRegMap(@Self)^.&set := $00008000;
  12744. end;
  12745. function TSPI1_SPI1CON.getON : TBits_1; inline;
  12746. begin
  12747. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12748. end;
  12749. procedure TSPI1_SPI1CON.setSPIFE; inline;
  12750. begin
  12751. pTDefRegMap(@Self)^.&set := $00020000;
  12752. end;
  12753. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  12754. begin
  12755. pTDefRegMap(@Self)^.clr := $00020000;
  12756. end;
  12757. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  12758. begin
  12759. if thebits = 0 then
  12760. pTDefRegMap(@Self)^.clr := $00020000
  12761. else
  12762. pTDefRegMap(@Self)^.&set := $00020000;
  12763. end;
  12764. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  12765. begin
  12766. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  12767. end;
  12768. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  12769. begin
  12770. pTDefRegMap(@Self)^.&set := $20000000;
  12771. end;
  12772. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  12773. begin
  12774. pTDefRegMap(@Self)^.clr := $20000000;
  12775. end;
  12776. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  12777. begin
  12778. if thebits = 0 then
  12779. pTDefRegMap(@Self)^.clr := $20000000
  12780. else
  12781. pTDefRegMap(@Self)^.&set := $20000000;
  12782. end;
  12783. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  12784. begin
  12785. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  12786. end;
  12787. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  12788. begin
  12789. pTDefRegMap(@Self)^.&set := $40000000;
  12790. end;
  12791. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  12792. begin
  12793. pTDefRegMap(@Self)^.clr := $40000000;
  12794. end;
  12795. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  12796. begin
  12797. if thebits = 0 then
  12798. pTDefRegMap(@Self)^.clr := $40000000
  12799. else
  12800. pTDefRegMap(@Self)^.&set := $40000000;
  12801. end;
  12802. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  12803. begin
  12804. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  12805. end;
  12806. procedure TSPI1_SPI1CON.setFRMEN; inline;
  12807. begin
  12808. pTDefRegMap(@Self)^.&set := $80000000;
  12809. end;
  12810. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  12811. begin
  12812. pTDefRegMap(@Self)^.clr := $80000000;
  12813. end;
  12814. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  12815. begin
  12816. if thebits = 0 then
  12817. pTDefRegMap(@Self)^.clr := $80000000
  12818. else
  12819. pTDefRegMap(@Self)^.&set := $80000000;
  12820. end;
  12821. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  12822. begin
  12823. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  12824. end;
  12825. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  12826. begin
  12827. pTDefRegMap(@Self)^.val := thebits;
  12828. end;
  12829. function TSPI1_SPI1CON.getw : TBits_32; inline;
  12830. begin
  12831. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12832. end;
  12833. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  12834. begin
  12835. pTDefRegMap(@Self)^.&set := $00000001;
  12836. end;
  12837. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  12838. begin
  12839. pTDefRegMap(@Self)^.clr := $00000001;
  12840. end;
  12841. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  12842. begin
  12843. if thebits = 0 then
  12844. pTDefRegMap(@Self)^.clr := $00000001
  12845. else
  12846. pTDefRegMap(@Self)^.&set := $00000001;
  12847. end;
  12848. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  12849. begin
  12850. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12851. end;
  12852. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  12853. begin
  12854. pTDefRegMap(@Self)^.&set := $00000008;
  12855. end;
  12856. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  12857. begin
  12858. pTDefRegMap(@Self)^.clr := $00000008;
  12859. end;
  12860. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  12861. begin
  12862. if thebits = 0 then
  12863. pTDefRegMap(@Self)^.clr := $00000008
  12864. else
  12865. pTDefRegMap(@Self)^.&set := $00000008;
  12866. end;
  12867. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  12868. begin
  12869. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12870. end;
  12871. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  12872. begin
  12873. pTDefRegMap(@Self)^.&set := $00000040;
  12874. end;
  12875. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  12876. begin
  12877. pTDefRegMap(@Self)^.clr := $00000040;
  12878. end;
  12879. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  12880. begin
  12881. if thebits = 0 then
  12882. pTDefRegMap(@Self)^.clr := $00000040
  12883. else
  12884. pTDefRegMap(@Self)^.&set := $00000040;
  12885. end;
  12886. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  12887. begin
  12888. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12889. end;
  12890. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  12891. begin
  12892. pTDefRegMap(@Self)^.&set := $00000800;
  12893. end;
  12894. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  12895. begin
  12896. pTDefRegMap(@Self)^.clr := $00000800;
  12897. end;
  12898. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  12899. begin
  12900. if thebits = 0 then
  12901. pTDefRegMap(@Self)^.clr := $00000800
  12902. else
  12903. pTDefRegMap(@Self)^.&set := $00000800;
  12904. end;
  12905. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  12906. begin
  12907. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12908. end;
  12909. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  12910. begin
  12911. pTDefRegMap(@Self)^.val := thebits;
  12912. end;
  12913. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  12914. begin
  12915. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12916. end;
  12917. procedure TSPI2_SPI2CON.setMSTEN; inline;
  12918. begin
  12919. pTDefRegMap(@Self)^.&set := $00000020;
  12920. end;
  12921. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  12922. begin
  12923. pTDefRegMap(@Self)^.clr := $00000020;
  12924. end;
  12925. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  12926. begin
  12927. if thebits = 0 then
  12928. pTDefRegMap(@Self)^.clr := $00000020
  12929. else
  12930. pTDefRegMap(@Self)^.&set := $00000020;
  12931. end;
  12932. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  12933. begin
  12934. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12935. end;
  12936. procedure TSPI2_SPI2CON.setCKP; inline;
  12937. begin
  12938. pTDefRegMap(@Self)^.&set := $00000040;
  12939. end;
  12940. procedure TSPI2_SPI2CON.clearCKP; inline;
  12941. begin
  12942. pTDefRegMap(@Self)^.clr := $00000040;
  12943. end;
  12944. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  12945. begin
  12946. if thebits = 0 then
  12947. pTDefRegMap(@Self)^.clr := $00000040
  12948. else
  12949. pTDefRegMap(@Self)^.&set := $00000040;
  12950. end;
  12951. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  12952. begin
  12953. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12954. end;
  12955. procedure TSPI2_SPI2CON.setSSEN; inline;
  12956. begin
  12957. pTDefRegMap(@Self)^.&set := $00000080;
  12958. end;
  12959. procedure TSPI2_SPI2CON.clearSSEN; inline;
  12960. begin
  12961. pTDefRegMap(@Self)^.clr := $00000080;
  12962. end;
  12963. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  12964. begin
  12965. if thebits = 0 then
  12966. pTDefRegMap(@Self)^.clr := $00000080
  12967. else
  12968. pTDefRegMap(@Self)^.&set := $00000080;
  12969. end;
  12970. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  12971. begin
  12972. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12973. end;
  12974. procedure TSPI2_SPI2CON.setCKE; inline;
  12975. begin
  12976. pTDefRegMap(@Self)^.&set := $00000100;
  12977. end;
  12978. procedure TSPI2_SPI2CON.clearCKE; inline;
  12979. begin
  12980. pTDefRegMap(@Self)^.clr := $00000100;
  12981. end;
  12982. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  12983. begin
  12984. if thebits = 0 then
  12985. pTDefRegMap(@Self)^.clr := $00000100
  12986. else
  12987. pTDefRegMap(@Self)^.&set := $00000100;
  12988. end;
  12989. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  12990. begin
  12991. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12992. end;
  12993. procedure TSPI2_SPI2CON.setSMP; inline;
  12994. begin
  12995. pTDefRegMap(@Self)^.&set := $00000200;
  12996. end;
  12997. procedure TSPI2_SPI2CON.clearSMP; inline;
  12998. begin
  12999. pTDefRegMap(@Self)^.clr := $00000200;
  13000. end;
  13001. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  13002. begin
  13003. if thebits = 0 then
  13004. pTDefRegMap(@Self)^.clr := $00000200
  13005. else
  13006. pTDefRegMap(@Self)^.&set := $00000200;
  13007. end;
  13008. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  13009. begin
  13010. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13011. end;
  13012. procedure TSPI2_SPI2CON.setMODE16; inline;
  13013. begin
  13014. pTDefRegMap(@Self)^.&set := $00000400;
  13015. end;
  13016. procedure TSPI2_SPI2CON.clearMODE16; inline;
  13017. begin
  13018. pTDefRegMap(@Self)^.clr := $00000400;
  13019. end;
  13020. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  13021. begin
  13022. if thebits = 0 then
  13023. pTDefRegMap(@Self)^.clr := $00000400
  13024. else
  13025. pTDefRegMap(@Self)^.&set := $00000400;
  13026. end;
  13027. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  13028. begin
  13029. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13030. end;
  13031. procedure TSPI2_SPI2CON.setMODE32; inline;
  13032. begin
  13033. pTDefRegMap(@Self)^.&set := $00000800;
  13034. end;
  13035. procedure TSPI2_SPI2CON.clearMODE32; inline;
  13036. begin
  13037. pTDefRegMap(@Self)^.clr := $00000800;
  13038. end;
  13039. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  13040. begin
  13041. if thebits = 0 then
  13042. pTDefRegMap(@Self)^.clr := $00000800
  13043. else
  13044. pTDefRegMap(@Self)^.&set := $00000800;
  13045. end;
  13046. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  13047. begin
  13048. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13049. end;
  13050. procedure TSPI2_SPI2CON.setDISSDO; inline;
  13051. begin
  13052. pTDefRegMap(@Self)^.&set := $00001000;
  13053. end;
  13054. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  13055. begin
  13056. pTDefRegMap(@Self)^.clr := $00001000;
  13057. end;
  13058. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  13059. begin
  13060. if thebits = 0 then
  13061. pTDefRegMap(@Self)^.clr := $00001000
  13062. else
  13063. pTDefRegMap(@Self)^.&set := $00001000;
  13064. end;
  13065. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  13066. begin
  13067. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13068. end;
  13069. procedure TSPI2_SPI2CON.setSIDL; inline;
  13070. begin
  13071. pTDefRegMap(@Self)^.&set := $00002000;
  13072. end;
  13073. procedure TSPI2_SPI2CON.clearSIDL; inline;
  13074. begin
  13075. pTDefRegMap(@Self)^.clr := $00002000;
  13076. end;
  13077. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  13078. begin
  13079. if thebits = 0 then
  13080. pTDefRegMap(@Self)^.clr := $00002000
  13081. else
  13082. pTDefRegMap(@Self)^.&set := $00002000;
  13083. end;
  13084. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  13085. begin
  13086. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13087. end;
  13088. procedure TSPI2_SPI2CON.setON; inline;
  13089. begin
  13090. pTDefRegMap(@Self)^.&set := $00008000;
  13091. end;
  13092. procedure TSPI2_SPI2CON.clearON; inline;
  13093. begin
  13094. pTDefRegMap(@Self)^.clr := $00008000;
  13095. end;
  13096. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  13097. begin
  13098. if thebits = 0 then
  13099. pTDefRegMap(@Self)^.clr := $00008000
  13100. else
  13101. pTDefRegMap(@Self)^.&set := $00008000;
  13102. end;
  13103. function TSPI2_SPI2CON.getON : TBits_1; inline;
  13104. begin
  13105. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13106. end;
  13107. procedure TSPI2_SPI2CON.setSPIFE; inline;
  13108. begin
  13109. pTDefRegMap(@Self)^.&set := $00020000;
  13110. end;
  13111. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  13112. begin
  13113. pTDefRegMap(@Self)^.clr := $00020000;
  13114. end;
  13115. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  13116. begin
  13117. if thebits = 0 then
  13118. pTDefRegMap(@Self)^.clr := $00020000
  13119. else
  13120. pTDefRegMap(@Self)^.&set := $00020000;
  13121. end;
  13122. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  13123. begin
  13124. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  13125. end;
  13126. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  13127. begin
  13128. pTDefRegMap(@Self)^.&set := $20000000;
  13129. end;
  13130. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  13131. begin
  13132. pTDefRegMap(@Self)^.clr := $20000000;
  13133. end;
  13134. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  13135. begin
  13136. if thebits = 0 then
  13137. pTDefRegMap(@Self)^.clr := $20000000
  13138. else
  13139. pTDefRegMap(@Self)^.&set := $20000000;
  13140. end;
  13141. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  13142. begin
  13143. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  13144. end;
  13145. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  13146. begin
  13147. pTDefRegMap(@Self)^.&set := $40000000;
  13148. end;
  13149. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  13150. begin
  13151. pTDefRegMap(@Self)^.clr := $40000000;
  13152. end;
  13153. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  13154. begin
  13155. if thebits = 0 then
  13156. pTDefRegMap(@Self)^.clr := $40000000
  13157. else
  13158. pTDefRegMap(@Self)^.&set := $40000000;
  13159. end;
  13160. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  13161. begin
  13162. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  13163. end;
  13164. procedure TSPI2_SPI2CON.setFRMEN; inline;
  13165. begin
  13166. pTDefRegMap(@Self)^.&set := $80000000;
  13167. end;
  13168. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  13169. begin
  13170. pTDefRegMap(@Self)^.clr := $80000000;
  13171. end;
  13172. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  13173. begin
  13174. if thebits = 0 then
  13175. pTDefRegMap(@Self)^.clr := $80000000
  13176. else
  13177. pTDefRegMap(@Self)^.&set := $80000000;
  13178. end;
  13179. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  13180. begin
  13181. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  13182. end;
  13183. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  13184. begin
  13185. pTDefRegMap(@Self)^.val := thebits;
  13186. end;
  13187. function TSPI2_SPI2CON.getw : TBits_32; inline;
  13188. begin
  13189. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13190. end;
  13191. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  13192. begin
  13193. pTDefRegMap(@Self)^.&set := $00000001;
  13194. end;
  13195. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  13196. begin
  13197. pTDefRegMap(@Self)^.clr := $00000001;
  13198. end;
  13199. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  13200. begin
  13201. if thebits = 0 then
  13202. pTDefRegMap(@Self)^.clr := $00000001
  13203. else
  13204. pTDefRegMap(@Self)^.&set := $00000001;
  13205. end;
  13206. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  13207. begin
  13208. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13209. end;
  13210. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  13211. begin
  13212. pTDefRegMap(@Self)^.&set := $00000008;
  13213. end;
  13214. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  13215. begin
  13216. pTDefRegMap(@Self)^.clr := $00000008;
  13217. end;
  13218. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  13219. begin
  13220. if thebits = 0 then
  13221. pTDefRegMap(@Self)^.clr := $00000008
  13222. else
  13223. pTDefRegMap(@Self)^.&set := $00000008;
  13224. end;
  13225. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  13226. begin
  13227. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13228. end;
  13229. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  13230. begin
  13231. pTDefRegMap(@Self)^.&set := $00000040;
  13232. end;
  13233. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  13234. begin
  13235. pTDefRegMap(@Self)^.clr := $00000040;
  13236. end;
  13237. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  13238. begin
  13239. if thebits = 0 then
  13240. pTDefRegMap(@Self)^.clr := $00000040
  13241. else
  13242. pTDefRegMap(@Self)^.&set := $00000040;
  13243. end;
  13244. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  13245. begin
  13246. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13247. end;
  13248. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  13249. begin
  13250. pTDefRegMap(@Self)^.&set := $00000800;
  13251. end;
  13252. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  13253. begin
  13254. pTDefRegMap(@Self)^.clr := $00000800;
  13255. end;
  13256. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  13257. begin
  13258. if thebits = 0 then
  13259. pTDefRegMap(@Self)^.clr := $00000800
  13260. else
  13261. pTDefRegMap(@Self)^.&set := $00000800;
  13262. end;
  13263. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  13264. begin
  13265. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13266. end;
  13267. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  13268. begin
  13269. pTDefRegMap(@Self)^.val := thebits;
  13270. end;
  13271. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  13272. begin
  13273. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13274. end;
  13275. procedure TUART1_U1MODE.setSTSEL; inline;
  13276. begin
  13277. pTDefRegMap(@Self)^.&set := $00000001;
  13278. end;
  13279. procedure TUART1_U1MODE.clearSTSEL; inline;
  13280. begin
  13281. pTDefRegMap(@Self)^.clr := $00000001;
  13282. end;
  13283. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  13284. begin
  13285. if thebits = 0 then
  13286. pTDefRegMap(@Self)^.clr := $00000001
  13287. else
  13288. pTDefRegMap(@Self)^.&set := $00000001;
  13289. end;
  13290. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  13291. begin
  13292. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13293. end;
  13294. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  13295. begin
  13296. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  13297. end;
  13298. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  13299. begin
  13300. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  13301. end;
  13302. procedure TUART1_U1MODE.setBRGH; inline;
  13303. begin
  13304. pTDefRegMap(@Self)^.&set := $00000008;
  13305. end;
  13306. procedure TUART1_U1MODE.clearBRGH; inline;
  13307. begin
  13308. pTDefRegMap(@Self)^.clr := $00000008;
  13309. end;
  13310. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  13311. begin
  13312. if thebits = 0 then
  13313. pTDefRegMap(@Self)^.clr := $00000008
  13314. else
  13315. pTDefRegMap(@Self)^.&set := $00000008;
  13316. end;
  13317. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  13318. begin
  13319. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13320. end;
  13321. procedure TUART1_U1MODE.setRXINV; inline;
  13322. begin
  13323. pTDefRegMap(@Self)^.&set := $00000010;
  13324. end;
  13325. procedure TUART1_U1MODE.clearRXINV; inline;
  13326. begin
  13327. pTDefRegMap(@Self)^.clr := $00000010;
  13328. end;
  13329. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  13330. begin
  13331. if thebits = 0 then
  13332. pTDefRegMap(@Self)^.clr := $00000010
  13333. else
  13334. pTDefRegMap(@Self)^.&set := $00000010;
  13335. end;
  13336. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  13337. begin
  13338. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13339. end;
  13340. procedure TUART1_U1MODE.setABAUD; inline;
  13341. begin
  13342. pTDefRegMap(@Self)^.&set := $00000020;
  13343. end;
  13344. procedure TUART1_U1MODE.clearABAUD; inline;
  13345. begin
  13346. pTDefRegMap(@Self)^.clr := $00000020;
  13347. end;
  13348. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  13349. begin
  13350. if thebits = 0 then
  13351. pTDefRegMap(@Self)^.clr := $00000020
  13352. else
  13353. pTDefRegMap(@Self)^.&set := $00000020;
  13354. end;
  13355. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  13356. begin
  13357. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13358. end;
  13359. procedure TUART1_U1MODE.setLPBACK; inline;
  13360. begin
  13361. pTDefRegMap(@Self)^.&set := $00000040;
  13362. end;
  13363. procedure TUART1_U1MODE.clearLPBACK; inline;
  13364. begin
  13365. pTDefRegMap(@Self)^.clr := $00000040;
  13366. end;
  13367. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  13368. begin
  13369. if thebits = 0 then
  13370. pTDefRegMap(@Self)^.clr := $00000040
  13371. else
  13372. pTDefRegMap(@Self)^.&set := $00000040;
  13373. end;
  13374. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  13375. begin
  13376. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13377. end;
  13378. procedure TUART1_U1MODE.setWAKE; inline;
  13379. begin
  13380. pTDefRegMap(@Self)^.&set := $00000080;
  13381. end;
  13382. procedure TUART1_U1MODE.clearWAKE; inline;
  13383. begin
  13384. pTDefRegMap(@Self)^.clr := $00000080;
  13385. end;
  13386. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  13387. begin
  13388. if thebits = 0 then
  13389. pTDefRegMap(@Self)^.clr := $00000080
  13390. else
  13391. pTDefRegMap(@Self)^.&set := $00000080;
  13392. end;
  13393. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  13394. begin
  13395. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13396. end;
  13397. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  13398. begin
  13399. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  13400. end;
  13401. function TUART1_U1MODE.getUEN : TBits_2; inline;
  13402. begin
  13403. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  13404. end;
  13405. procedure TUART1_U1MODE.setRTSMD; inline;
  13406. begin
  13407. pTDefRegMap(@Self)^.&set := $00000800;
  13408. end;
  13409. procedure TUART1_U1MODE.clearRTSMD; inline;
  13410. begin
  13411. pTDefRegMap(@Self)^.clr := $00000800;
  13412. end;
  13413. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  13414. begin
  13415. if thebits = 0 then
  13416. pTDefRegMap(@Self)^.clr := $00000800
  13417. else
  13418. pTDefRegMap(@Self)^.&set := $00000800;
  13419. end;
  13420. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  13421. begin
  13422. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13423. end;
  13424. procedure TUART1_U1MODE.setIREN; inline;
  13425. begin
  13426. pTDefRegMap(@Self)^.&set := $00001000;
  13427. end;
  13428. procedure TUART1_U1MODE.clearIREN; inline;
  13429. begin
  13430. pTDefRegMap(@Self)^.clr := $00001000;
  13431. end;
  13432. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  13433. begin
  13434. if thebits = 0 then
  13435. pTDefRegMap(@Self)^.clr := $00001000
  13436. else
  13437. pTDefRegMap(@Self)^.&set := $00001000;
  13438. end;
  13439. function TUART1_U1MODE.getIREN : TBits_1; inline;
  13440. begin
  13441. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13442. end;
  13443. procedure TUART1_U1MODE.setSIDL; inline;
  13444. begin
  13445. pTDefRegMap(@Self)^.&set := $00002000;
  13446. end;
  13447. procedure TUART1_U1MODE.clearSIDL; inline;
  13448. begin
  13449. pTDefRegMap(@Self)^.clr := $00002000;
  13450. end;
  13451. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  13452. begin
  13453. if thebits = 0 then
  13454. pTDefRegMap(@Self)^.clr := $00002000
  13455. else
  13456. pTDefRegMap(@Self)^.&set := $00002000;
  13457. end;
  13458. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  13459. begin
  13460. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13461. end;
  13462. procedure TUART1_U1MODE.setON; inline;
  13463. begin
  13464. pTDefRegMap(@Self)^.&set := $00008000;
  13465. end;
  13466. procedure TUART1_U1MODE.clearON; inline;
  13467. begin
  13468. pTDefRegMap(@Self)^.clr := $00008000;
  13469. end;
  13470. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  13471. begin
  13472. if thebits = 0 then
  13473. pTDefRegMap(@Self)^.clr := $00008000
  13474. else
  13475. pTDefRegMap(@Self)^.&set := $00008000;
  13476. end;
  13477. function TUART1_U1MODE.getON : TBits_1; inline;
  13478. begin
  13479. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13480. end;
  13481. procedure TUART1_U1MODE.setPDSEL0; inline;
  13482. begin
  13483. pTDefRegMap(@Self)^.&set := $00000002;
  13484. end;
  13485. procedure TUART1_U1MODE.clearPDSEL0; inline;
  13486. begin
  13487. pTDefRegMap(@Self)^.clr := $00000002;
  13488. end;
  13489. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  13490. begin
  13491. if thebits = 0 then
  13492. pTDefRegMap(@Self)^.clr := $00000002
  13493. else
  13494. pTDefRegMap(@Self)^.&set := $00000002;
  13495. end;
  13496. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  13497. begin
  13498. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13499. end;
  13500. procedure TUART1_U1MODE.setPDSEL1; inline;
  13501. begin
  13502. pTDefRegMap(@Self)^.&set := $00000004;
  13503. end;
  13504. procedure TUART1_U1MODE.clearPDSEL1; inline;
  13505. begin
  13506. pTDefRegMap(@Self)^.clr := $00000004;
  13507. end;
  13508. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  13509. begin
  13510. if thebits = 0 then
  13511. pTDefRegMap(@Self)^.clr := $00000004
  13512. else
  13513. pTDefRegMap(@Self)^.&set := $00000004;
  13514. end;
  13515. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  13516. begin
  13517. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13518. end;
  13519. procedure TUART1_U1MODE.setUEN0; inline;
  13520. begin
  13521. pTDefRegMap(@Self)^.&set := $00000100;
  13522. end;
  13523. procedure TUART1_U1MODE.clearUEN0; inline;
  13524. begin
  13525. pTDefRegMap(@Self)^.clr := $00000100;
  13526. end;
  13527. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  13528. begin
  13529. if thebits = 0 then
  13530. pTDefRegMap(@Self)^.clr := $00000100
  13531. else
  13532. pTDefRegMap(@Self)^.&set := $00000100;
  13533. end;
  13534. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  13535. begin
  13536. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13537. end;
  13538. procedure TUART1_U1MODE.setUEN1; inline;
  13539. begin
  13540. pTDefRegMap(@Self)^.&set := $00000200;
  13541. end;
  13542. procedure TUART1_U1MODE.clearUEN1; inline;
  13543. begin
  13544. pTDefRegMap(@Self)^.clr := $00000200;
  13545. end;
  13546. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  13547. begin
  13548. if thebits = 0 then
  13549. pTDefRegMap(@Self)^.clr := $00000200
  13550. else
  13551. pTDefRegMap(@Self)^.&set := $00000200;
  13552. end;
  13553. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  13554. begin
  13555. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13556. end;
  13557. procedure TUART1_U1MODE.setUSIDL; inline;
  13558. begin
  13559. pTDefRegMap(@Self)^.&set := $00002000;
  13560. end;
  13561. procedure TUART1_U1MODE.clearUSIDL; inline;
  13562. begin
  13563. pTDefRegMap(@Self)^.clr := $00002000;
  13564. end;
  13565. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  13566. begin
  13567. if thebits = 0 then
  13568. pTDefRegMap(@Self)^.clr := $00002000
  13569. else
  13570. pTDefRegMap(@Self)^.&set := $00002000;
  13571. end;
  13572. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  13573. begin
  13574. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13575. end;
  13576. procedure TUART1_U1MODE.setUARTEN; inline;
  13577. begin
  13578. pTDefRegMap(@Self)^.&set := $00008000;
  13579. end;
  13580. procedure TUART1_U1MODE.clearUARTEN; inline;
  13581. begin
  13582. pTDefRegMap(@Self)^.clr := $00008000;
  13583. end;
  13584. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  13585. begin
  13586. if thebits = 0 then
  13587. pTDefRegMap(@Self)^.clr := $00008000
  13588. else
  13589. pTDefRegMap(@Self)^.&set := $00008000;
  13590. end;
  13591. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  13592. begin
  13593. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13594. end;
  13595. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  13596. begin
  13597. pTDefRegMap(@Self)^.val := thebits;
  13598. end;
  13599. function TUART1_U1MODE.getw : TBits_32; inline;
  13600. begin
  13601. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13602. end;
  13603. procedure TUART1_U1STA.setURXDA; inline;
  13604. begin
  13605. pTDefRegMap(@Self)^.&set := $00000001;
  13606. end;
  13607. procedure TUART1_U1STA.clearURXDA; inline;
  13608. begin
  13609. pTDefRegMap(@Self)^.clr := $00000001;
  13610. end;
  13611. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  13612. begin
  13613. if thebits = 0 then
  13614. pTDefRegMap(@Self)^.clr := $00000001
  13615. else
  13616. pTDefRegMap(@Self)^.&set := $00000001;
  13617. end;
  13618. function TUART1_U1STA.getURXDA : TBits_1; inline;
  13619. begin
  13620. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13621. end;
  13622. procedure TUART1_U1STA.setOERR; inline;
  13623. begin
  13624. pTDefRegMap(@Self)^.&set := $00000002;
  13625. end;
  13626. procedure TUART1_U1STA.clearOERR; inline;
  13627. begin
  13628. pTDefRegMap(@Self)^.clr := $00000002;
  13629. end;
  13630. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  13631. begin
  13632. if thebits = 0 then
  13633. pTDefRegMap(@Self)^.clr := $00000002
  13634. else
  13635. pTDefRegMap(@Self)^.&set := $00000002;
  13636. end;
  13637. function TUART1_U1STA.getOERR : TBits_1; inline;
  13638. begin
  13639. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13640. end;
  13641. procedure TUART1_U1STA.setFERR; inline;
  13642. begin
  13643. pTDefRegMap(@Self)^.&set := $00000004;
  13644. end;
  13645. procedure TUART1_U1STA.clearFERR; inline;
  13646. begin
  13647. pTDefRegMap(@Self)^.clr := $00000004;
  13648. end;
  13649. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  13650. begin
  13651. if thebits = 0 then
  13652. pTDefRegMap(@Self)^.clr := $00000004
  13653. else
  13654. pTDefRegMap(@Self)^.&set := $00000004;
  13655. end;
  13656. function TUART1_U1STA.getFERR : TBits_1; inline;
  13657. begin
  13658. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13659. end;
  13660. procedure TUART1_U1STA.setPERR; inline;
  13661. begin
  13662. pTDefRegMap(@Self)^.&set := $00000008;
  13663. end;
  13664. procedure TUART1_U1STA.clearPERR; inline;
  13665. begin
  13666. pTDefRegMap(@Self)^.clr := $00000008;
  13667. end;
  13668. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  13669. begin
  13670. if thebits = 0 then
  13671. pTDefRegMap(@Self)^.clr := $00000008
  13672. else
  13673. pTDefRegMap(@Self)^.&set := $00000008;
  13674. end;
  13675. function TUART1_U1STA.getPERR : TBits_1; inline;
  13676. begin
  13677. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13678. end;
  13679. procedure TUART1_U1STA.setRIDLE; inline;
  13680. begin
  13681. pTDefRegMap(@Self)^.&set := $00000010;
  13682. end;
  13683. procedure TUART1_U1STA.clearRIDLE; inline;
  13684. begin
  13685. pTDefRegMap(@Self)^.clr := $00000010;
  13686. end;
  13687. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  13688. begin
  13689. if thebits = 0 then
  13690. pTDefRegMap(@Self)^.clr := $00000010
  13691. else
  13692. pTDefRegMap(@Self)^.&set := $00000010;
  13693. end;
  13694. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  13695. begin
  13696. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13697. end;
  13698. procedure TUART1_U1STA.setADDEN; inline;
  13699. begin
  13700. pTDefRegMap(@Self)^.&set := $00000020;
  13701. end;
  13702. procedure TUART1_U1STA.clearADDEN; inline;
  13703. begin
  13704. pTDefRegMap(@Self)^.clr := $00000020;
  13705. end;
  13706. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  13707. begin
  13708. if thebits = 0 then
  13709. pTDefRegMap(@Self)^.clr := $00000020
  13710. else
  13711. pTDefRegMap(@Self)^.&set := $00000020;
  13712. end;
  13713. function TUART1_U1STA.getADDEN : TBits_1; inline;
  13714. begin
  13715. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13716. end;
  13717. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  13718. begin
  13719. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  13720. end;
  13721. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  13722. begin
  13723. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  13724. end;
  13725. procedure TUART1_U1STA.setTRMT; inline;
  13726. begin
  13727. pTDefRegMap(@Self)^.&set := $00000100;
  13728. end;
  13729. procedure TUART1_U1STA.clearTRMT; inline;
  13730. begin
  13731. pTDefRegMap(@Self)^.clr := $00000100;
  13732. end;
  13733. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  13734. begin
  13735. if thebits = 0 then
  13736. pTDefRegMap(@Self)^.clr := $00000100
  13737. else
  13738. pTDefRegMap(@Self)^.&set := $00000100;
  13739. end;
  13740. function TUART1_U1STA.getTRMT : TBits_1; inline;
  13741. begin
  13742. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13743. end;
  13744. procedure TUART1_U1STA.setUTXBF; inline;
  13745. begin
  13746. pTDefRegMap(@Self)^.&set := $00000200;
  13747. end;
  13748. procedure TUART1_U1STA.clearUTXBF; inline;
  13749. begin
  13750. pTDefRegMap(@Self)^.clr := $00000200;
  13751. end;
  13752. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  13753. begin
  13754. if thebits = 0 then
  13755. pTDefRegMap(@Self)^.clr := $00000200
  13756. else
  13757. pTDefRegMap(@Self)^.&set := $00000200;
  13758. end;
  13759. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  13760. begin
  13761. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13762. end;
  13763. procedure TUART1_U1STA.setUTXEN; inline;
  13764. begin
  13765. pTDefRegMap(@Self)^.&set := $00000400;
  13766. end;
  13767. procedure TUART1_U1STA.clearUTXEN; inline;
  13768. begin
  13769. pTDefRegMap(@Self)^.clr := $00000400;
  13770. end;
  13771. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  13772. begin
  13773. if thebits = 0 then
  13774. pTDefRegMap(@Self)^.clr := $00000400
  13775. else
  13776. pTDefRegMap(@Self)^.&set := $00000400;
  13777. end;
  13778. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  13779. begin
  13780. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13781. end;
  13782. procedure TUART1_U1STA.setUTXBRK; inline;
  13783. begin
  13784. pTDefRegMap(@Self)^.&set := $00000800;
  13785. end;
  13786. procedure TUART1_U1STA.clearUTXBRK; inline;
  13787. begin
  13788. pTDefRegMap(@Self)^.clr := $00000800;
  13789. end;
  13790. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  13791. begin
  13792. if thebits = 0 then
  13793. pTDefRegMap(@Self)^.clr := $00000800
  13794. else
  13795. pTDefRegMap(@Self)^.&set := $00000800;
  13796. end;
  13797. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  13798. begin
  13799. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13800. end;
  13801. procedure TUART1_U1STA.setURXEN; inline;
  13802. begin
  13803. pTDefRegMap(@Self)^.&set := $00001000;
  13804. end;
  13805. procedure TUART1_U1STA.clearURXEN; inline;
  13806. begin
  13807. pTDefRegMap(@Self)^.clr := $00001000;
  13808. end;
  13809. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  13810. begin
  13811. if thebits = 0 then
  13812. pTDefRegMap(@Self)^.clr := $00001000
  13813. else
  13814. pTDefRegMap(@Self)^.&set := $00001000;
  13815. end;
  13816. function TUART1_U1STA.getURXEN : TBits_1; inline;
  13817. begin
  13818. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13819. end;
  13820. procedure TUART1_U1STA.setUTXINV; inline;
  13821. begin
  13822. pTDefRegMap(@Self)^.&set := $00002000;
  13823. end;
  13824. procedure TUART1_U1STA.clearUTXINV; inline;
  13825. begin
  13826. pTDefRegMap(@Self)^.clr := $00002000;
  13827. end;
  13828. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  13829. begin
  13830. if thebits = 0 then
  13831. pTDefRegMap(@Self)^.clr := $00002000
  13832. else
  13833. pTDefRegMap(@Self)^.&set := $00002000;
  13834. end;
  13835. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  13836. begin
  13837. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13838. end;
  13839. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  13840. begin
  13841. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  13842. end;
  13843. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  13844. begin
  13845. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  13846. end;
  13847. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  13848. begin
  13849. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  13850. end;
  13851. function TUART1_U1STA.getADDR : TBits_8; inline;
  13852. begin
  13853. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  13854. end;
  13855. procedure TUART1_U1STA.setADM_EN; inline;
  13856. begin
  13857. pTDefRegMap(@Self)^.&set := $01000000;
  13858. end;
  13859. procedure TUART1_U1STA.clearADM_EN; inline;
  13860. begin
  13861. pTDefRegMap(@Self)^.clr := $01000000;
  13862. end;
  13863. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  13864. begin
  13865. if thebits = 0 then
  13866. pTDefRegMap(@Self)^.clr := $01000000
  13867. else
  13868. pTDefRegMap(@Self)^.&set := $01000000;
  13869. end;
  13870. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  13871. begin
  13872. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  13873. end;
  13874. procedure TUART1_U1STA.setURXISEL0; inline;
  13875. begin
  13876. pTDefRegMap(@Self)^.&set := $00000040;
  13877. end;
  13878. procedure TUART1_U1STA.clearURXISEL0; inline;
  13879. begin
  13880. pTDefRegMap(@Self)^.clr := $00000040;
  13881. end;
  13882. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  13883. begin
  13884. if thebits = 0 then
  13885. pTDefRegMap(@Self)^.clr := $00000040
  13886. else
  13887. pTDefRegMap(@Self)^.&set := $00000040;
  13888. end;
  13889. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  13890. begin
  13891. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13892. end;
  13893. procedure TUART1_U1STA.setURXISEL1; inline;
  13894. begin
  13895. pTDefRegMap(@Self)^.&set := $00000080;
  13896. end;
  13897. procedure TUART1_U1STA.clearURXISEL1; inline;
  13898. begin
  13899. pTDefRegMap(@Self)^.clr := $00000080;
  13900. end;
  13901. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  13902. begin
  13903. if thebits = 0 then
  13904. pTDefRegMap(@Self)^.clr := $00000080
  13905. else
  13906. pTDefRegMap(@Self)^.&set := $00000080;
  13907. end;
  13908. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  13909. begin
  13910. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13911. end;
  13912. procedure TUART1_U1STA.setUTXISEL0; inline;
  13913. begin
  13914. pTDefRegMap(@Self)^.&set := $00004000;
  13915. end;
  13916. procedure TUART1_U1STA.clearUTXISEL0; inline;
  13917. begin
  13918. pTDefRegMap(@Self)^.clr := $00004000;
  13919. end;
  13920. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  13921. begin
  13922. if thebits = 0 then
  13923. pTDefRegMap(@Self)^.clr := $00004000
  13924. else
  13925. pTDefRegMap(@Self)^.&set := $00004000;
  13926. end;
  13927. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  13928. begin
  13929. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  13930. end;
  13931. procedure TUART1_U1STA.setUTXISEL1; inline;
  13932. begin
  13933. pTDefRegMap(@Self)^.&set := $00008000;
  13934. end;
  13935. procedure TUART1_U1STA.clearUTXISEL1; inline;
  13936. begin
  13937. pTDefRegMap(@Self)^.clr := $00008000;
  13938. end;
  13939. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  13940. begin
  13941. if thebits = 0 then
  13942. pTDefRegMap(@Self)^.clr := $00008000
  13943. else
  13944. pTDefRegMap(@Self)^.&set := $00008000;
  13945. end;
  13946. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  13947. begin
  13948. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13949. end;
  13950. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  13951. begin
  13952. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  13953. end;
  13954. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  13955. begin
  13956. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  13957. end;
  13958. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  13959. begin
  13960. pTDefRegMap(@Self)^.val := thebits;
  13961. end;
  13962. function TUART1_U1STA.getw : TBits_32; inline;
  13963. begin
  13964. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13965. end;
  13966. procedure TUART2_U2MODE.setSTSEL; inline;
  13967. begin
  13968. pTDefRegMap(@Self)^.&set := $00000001;
  13969. end;
  13970. procedure TUART2_U2MODE.clearSTSEL; inline;
  13971. begin
  13972. pTDefRegMap(@Self)^.clr := $00000001;
  13973. end;
  13974. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  13975. begin
  13976. if thebits = 0 then
  13977. pTDefRegMap(@Self)^.clr := $00000001
  13978. else
  13979. pTDefRegMap(@Self)^.&set := $00000001;
  13980. end;
  13981. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  13982. begin
  13983. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13984. end;
  13985. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  13986. begin
  13987. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  13988. end;
  13989. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  13990. begin
  13991. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  13992. end;
  13993. procedure TUART2_U2MODE.setBRGH; inline;
  13994. begin
  13995. pTDefRegMap(@Self)^.&set := $00000008;
  13996. end;
  13997. procedure TUART2_U2MODE.clearBRGH; inline;
  13998. begin
  13999. pTDefRegMap(@Self)^.clr := $00000008;
  14000. end;
  14001. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  14002. begin
  14003. if thebits = 0 then
  14004. pTDefRegMap(@Self)^.clr := $00000008
  14005. else
  14006. pTDefRegMap(@Self)^.&set := $00000008;
  14007. end;
  14008. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  14009. begin
  14010. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14011. end;
  14012. procedure TUART2_U2MODE.setRXINV; inline;
  14013. begin
  14014. pTDefRegMap(@Self)^.&set := $00000010;
  14015. end;
  14016. procedure TUART2_U2MODE.clearRXINV; inline;
  14017. begin
  14018. pTDefRegMap(@Self)^.clr := $00000010;
  14019. end;
  14020. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  14021. begin
  14022. if thebits = 0 then
  14023. pTDefRegMap(@Self)^.clr := $00000010
  14024. else
  14025. pTDefRegMap(@Self)^.&set := $00000010;
  14026. end;
  14027. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  14028. begin
  14029. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14030. end;
  14031. procedure TUART2_U2MODE.setABAUD; inline;
  14032. begin
  14033. pTDefRegMap(@Self)^.&set := $00000020;
  14034. end;
  14035. procedure TUART2_U2MODE.clearABAUD; inline;
  14036. begin
  14037. pTDefRegMap(@Self)^.clr := $00000020;
  14038. end;
  14039. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  14040. begin
  14041. if thebits = 0 then
  14042. pTDefRegMap(@Self)^.clr := $00000020
  14043. else
  14044. pTDefRegMap(@Self)^.&set := $00000020;
  14045. end;
  14046. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  14047. begin
  14048. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14049. end;
  14050. procedure TUART2_U2MODE.setLPBACK; inline;
  14051. begin
  14052. pTDefRegMap(@Self)^.&set := $00000040;
  14053. end;
  14054. procedure TUART2_U2MODE.clearLPBACK; inline;
  14055. begin
  14056. pTDefRegMap(@Self)^.clr := $00000040;
  14057. end;
  14058. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  14059. begin
  14060. if thebits = 0 then
  14061. pTDefRegMap(@Self)^.clr := $00000040
  14062. else
  14063. pTDefRegMap(@Self)^.&set := $00000040;
  14064. end;
  14065. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  14066. begin
  14067. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14068. end;
  14069. procedure TUART2_U2MODE.setWAKE; inline;
  14070. begin
  14071. pTDefRegMap(@Self)^.&set := $00000080;
  14072. end;
  14073. procedure TUART2_U2MODE.clearWAKE; inline;
  14074. begin
  14075. pTDefRegMap(@Self)^.clr := $00000080;
  14076. end;
  14077. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  14078. begin
  14079. if thebits = 0 then
  14080. pTDefRegMap(@Self)^.clr := $00000080
  14081. else
  14082. pTDefRegMap(@Self)^.&set := $00000080;
  14083. end;
  14084. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  14085. begin
  14086. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14087. end;
  14088. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  14089. begin
  14090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  14091. end;
  14092. function TUART2_U2MODE.getUEN : TBits_2; inline;
  14093. begin
  14094. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  14095. end;
  14096. procedure TUART2_U2MODE.setRTSMD; inline;
  14097. begin
  14098. pTDefRegMap(@Self)^.&set := $00000800;
  14099. end;
  14100. procedure TUART2_U2MODE.clearRTSMD; inline;
  14101. begin
  14102. pTDefRegMap(@Self)^.clr := $00000800;
  14103. end;
  14104. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  14105. begin
  14106. if thebits = 0 then
  14107. pTDefRegMap(@Self)^.clr := $00000800
  14108. else
  14109. pTDefRegMap(@Self)^.&set := $00000800;
  14110. end;
  14111. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  14112. begin
  14113. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14114. end;
  14115. procedure TUART2_U2MODE.setIREN; inline;
  14116. begin
  14117. pTDefRegMap(@Self)^.&set := $00001000;
  14118. end;
  14119. procedure TUART2_U2MODE.clearIREN; inline;
  14120. begin
  14121. pTDefRegMap(@Self)^.clr := $00001000;
  14122. end;
  14123. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  14124. begin
  14125. if thebits = 0 then
  14126. pTDefRegMap(@Self)^.clr := $00001000
  14127. else
  14128. pTDefRegMap(@Self)^.&set := $00001000;
  14129. end;
  14130. function TUART2_U2MODE.getIREN : TBits_1; inline;
  14131. begin
  14132. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14133. end;
  14134. procedure TUART2_U2MODE.setSIDL; inline;
  14135. begin
  14136. pTDefRegMap(@Self)^.&set := $00002000;
  14137. end;
  14138. procedure TUART2_U2MODE.clearSIDL; inline;
  14139. begin
  14140. pTDefRegMap(@Self)^.clr := $00002000;
  14141. end;
  14142. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  14143. begin
  14144. if thebits = 0 then
  14145. pTDefRegMap(@Self)^.clr := $00002000
  14146. else
  14147. pTDefRegMap(@Self)^.&set := $00002000;
  14148. end;
  14149. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  14150. begin
  14151. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14152. end;
  14153. procedure TUART2_U2MODE.setON; inline;
  14154. begin
  14155. pTDefRegMap(@Self)^.&set := $00008000;
  14156. end;
  14157. procedure TUART2_U2MODE.clearON; inline;
  14158. begin
  14159. pTDefRegMap(@Self)^.clr := $00008000;
  14160. end;
  14161. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  14162. begin
  14163. if thebits = 0 then
  14164. pTDefRegMap(@Self)^.clr := $00008000
  14165. else
  14166. pTDefRegMap(@Self)^.&set := $00008000;
  14167. end;
  14168. function TUART2_U2MODE.getON : TBits_1; inline;
  14169. begin
  14170. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14171. end;
  14172. procedure TUART2_U2MODE.setPDSEL0; inline;
  14173. begin
  14174. pTDefRegMap(@Self)^.&set := $00000002;
  14175. end;
  14176. procedure TUART2_U2MODE.clearPDSEL0; inline;
  14177. begin
  14178. pTDefRegMap(@Self)^.clr := $00000002;
  14179. end;
  14180. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  14181. begin
  14182. if thebits = 0 then
  14183. pTDefRegMap(@Self)^.clr := $00000002
  14184. else
  14185. pTDefRegMap(@Self)^.&set := $00000002;
  14186. end;
  14187. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  14188. begin
  14189. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14190. end;
  14191. procedure TUART2_U2MODE.setPDSEL1; inline;
  14192. begin
  14193. pTDefRegMap(@Self)^.&set := $00000004;
  14194. end;
  14195. procedure TUART2_U2MODE.clearPDSEL1; inline;
  14196. begin
  14197. pTDefRegMap(@Self)^.clr := $00000004;
  14198. end;
  14199. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  14200. begin
  14201. if thebits = 0 then
  14202. pTDefRegMap(@Self)^.clr := $00000004
  14203. else
  14204. pTDefRegMap(@Self)^.&set := $00000004;
  14205. end;
  14206. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  14207. begin
  14208. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14209. end;
  14210. procedure TUART2_U2MODE.setUEN0; inline;
  14211. begin
  14212. pTDefRegMap(@Self)^.&set := $00000100;
  14213. end;
  14214. procedure TUART2_U2MODE.clearUEN0; inline;
  14215. begin
  14216. pTDefRegMap(@Self)^.clr := $00000100;
  14217. end;
  14218. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  14219. begin
  14220. if thebits = 0 then
  14221. pTDefRegMap(@Self)^.clr := $00000100
  14222. else
  14223. pTDefRegMap(@Self)^.&set := $00000100;
  14224. end;
  14225. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  14226. begin
  14227. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14228. end;
  14229. procedure TUART2_U2MODE.setUEN1; inline;
  14230. begin
  14231. pTDefRegMap(@Self)^.&set := $00000200;
  14232. end;
  14233. procedure TUART2_U2MODE.clearUEN1; inline;
  14234. begin
  14235. pTDefRegMap(@Self)^.clr := $00000200;
  14236. end;
  14237. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  14238. begin
  14239. if thebits = 0 then
  14240. pTDefRegMap(@Self)^.clr := $00000200
  14241. else
  14242. pTDefRegMap(@Self)^.&set := $00000200;
  14243. end;
  14244. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  14245. begin
  14246. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14247. end;
  14248. procedure TUART2_U2MODE.setUSIDL; inline;
  14249. begin
  14250. pTDefRegMap(@Self)^.&set := $00002000;
  14251. end;
  14252. procedure TUART2_U2MODE.clearUSIDL; inline;
  14253. begin
  14254. pTDefRegMap(@Self)^.clr := $00002000;
  14255. end;
  14256. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  14257. begin
  14258. if thebits = 0 then
  14259. pTDefRegMap(@Self)^.clr := $00002000
  14260. else
  14261. pTDefRegMap(@Self)^.&set := $00002000;
  14262. end;
  14263. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  14264. begin
  14265. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14266. end;
  14267. procedure TUART2_U2MODE.setUARTEN; inline;
  14268. begin
  14269. pTDefRegMap(@Self)^.&set := $00008000;
  14270. end;
  14271. procedure TUART2_U2MODE.clearUARTEN; inline;
  14272. begin
  14273. pTDefRegMap(@Self)^.clr := $00008000;
  14274. end;
  14275. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  14276. begin
  14277. if thebits = 0 then
  14278. pTDefRegMap(@Self)^.clr := $00008000
  14279. else
  14280. pTDefRegMap(@Self)^.&set := $00008000;
  14281. end;
  14282. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  14283. begin
  14284. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14285. end;
  14286. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  14287. begin
  14288. pTDefRegMap(@Self)^.val := thebits;
  14289. end;
  14290. function TUART2_U2MODE.getw : TBits_32; inline;
  14291. begin
  14292. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14293. end;
  14294. procedure TUART2_U2STA.setURXDA; inline;
  14295. begin
  14296. pTDefRegMap(@Self)^.&set := $00000001;
  14297. end;
  14298. procedure TUART2_U2STA.clearURXDA; inline;
  14299. begin
  14300. pTDefRegMap(@Self)^.clr := $00000001;
  14301. end;
  14302. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  14303. begin
  14304. if thebits = 0 then
  14305. pTDefRegMap(@Self)^.clr := $00000001
  14306. else
  14307. pTDefRegMap(@Self)^.&set := $00000001;
  14308. end;
  14309. function TUART2_U2STA.getURXDA : TBits_1; inline;
  14310. begin
  14311. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14312. end;
  14313. procedure TUART2_U2STA.setOERR; inline;
  14314. begin
  14315. pTDefRegMap(@Self)^.&set := $00000002;
  14316. end;
  14317. procedure TUART2_U2STA.clearOERR; inline;
  14318. begin
  14319. pTDefRegMap(@Self)^.clr := $00000002;
  14320. end;
  14321. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  14322. begin
  14323. if thebits = 0 then
  14324. pTDefRegMap(@Self)^.clr := $00000002
  14325. else
  14326. pTDefRegMap(@Self)^.&set := $00000002;
  14327. end;
  14328. function TUART2_U2STA.getOERR : TBits_1; inline;
  14329. begin
  14330. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14331. end;
  14332. procedure TUART2_U2STA.setFERR; inline;
  14333. begin
  14334. pTDefRegMap(@Self)^.&set := $00000004;
  14335. end;
  14336. procedure TUART2_U2STA.clearFERR; inline;
  14337. begin
  14338. pTDefRegMap(@Self)^.clr := $00000004;
  14339. end;
  14340. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  14341. begin
  14342. if thebits = 0 then
  14343. pTDefRegMap(@Self)^.clr := $00000004
  14344. else
  14345. pTDefRegMap(@Self)^.&set := $00000004;
  14346. end;
  14347. function TUART2_U2STA.getFERR : TBits_1; inline;
  14348. begin
  14349. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14350. end;
  14351. procedure TUART2_U2STA.setPERR; inline;
  14352. begin
  14353. pTDefRegMap(@Self)^.&set := $00000008;
  14354. end;
  14355. procedure TUART2_U2STA.clearPERR; inline;
  14356. begin
  14357. pTDefRegMap(@Self)^.clr := $00000008;
  14358. end;
  14359. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  14360. begin
  14361. if thebits = 0 then
  14362. pTDefRegMap(@Self)^.clr := $00000008
  14363. else
  14364. pTDefRegMap(@Self)^.&set := $00000008;
  14365. end;
  14366. function TUART2_U2STA.getPERR : TBits_1; inline;
  14367. begin
  14368. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14369. end;
  14370. procedure TUART2_U2STA.setRIDLE; inline;
  14371. begin
  14372. pTDefRegMap(@Self)^.&set := $00000010;
  14373. end;
  14374. procedure TUART2_U2STA.clearRIDLE; inline;
  14375. begin
  14376. pTDefRegMap(@Self)^.clr := $00000010;
  14377. end;
  14378. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  14379. begin
  14380. if thebits = 0 then
  14381. pTDefRegMap(@Self)^.clr := $00000010
  14382. else
  14383. pTDefRegMap(@Self)^.&set := $00000010;
  14384. end;
  14385. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  14386. begin
  14387. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14388. end;
  14389. procedure TUART2_U2STA.setADDEN; inline;
  14390. begin
  14391. pTDefRegMap(@Self)^.&set := $00000020;
  14392. end;
  14393. procedure TUART2_U2STA.clearADDEN; inline;
  14394. begin
  14395. pTDefRegMap(@Self)^.clr := $00000020;
  14396. end;
  14397. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  14398. begin
  14399. if thebits = 0 then
  14400. pTDefRegMap(@Self)^.clr := $00000020
  14401. else
  14402. pTDefRegMap(@Self)^.&set := $00000020;
  14403. end;
  14404. function TUART2_U2STA.getADDEN : TBits_1; inline;
  14405. begin
  14406. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14407. end;
  14408. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  14409. begin
  14410. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  14411. end;
  14412. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  14413. begin
  14414. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  14415. end;
  14416. procedure TUART2_U2STA.setTRMT; inline;
  14417. begin
  14418. pTDefRegMap(@Self)^.&set := $00000100;
  14419. end;
  14420. procedure TUART2_U2STA.clearTRMT; inline;
  14421. begin
  14422. pTDefRegMap(@Self)^.clr := $00000100;
  14423. end;
  14424. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  14425. begin
  14426. if thebits = 0 then
  14427. pTDefRegMap(@Self)^.clr := $00000100
  14428. else
  14429. pTDefRegMap(@Self)^.&set := $00000100;
  14430. end;
  14431. function TUART2_U2STA.getTRMT : TBits_1; inline;
  14432. begin
  14433. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14434. end;
  14435. procedure TUART2_U2STA.setUTXBF; inline;
  14436. begin
  14437. pTDefRegMap(@Self)^.&set := $00000200;
  14438. end;
  14439. procedure TUART2_U2STA.clearUTXBF; inline;
  14440. begin
  14441. pTDefRegMap(@Self)^.clr := $00000200;
  14442. end;
  14443. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  14444. begin
  14445. if thebits = 0 then
  14446. pTDefRegMap(@Self)^.clr := $00000200
  14447. else
  14448. pTDefRegMap(@Self)^.&set := $00000200;
  14449. end;
  14450. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  14451. begin
  14452. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14453. end;
  14454. procedure TUART2_U2STA.setUTXEN; inline;
  14455. begin
  14456. pTDefRegMap(@Self)^.&set := $00000400;
  14457. end;
  14458. procedure TUART2_U2STA.clearUTXEN; inline;
  14459. begin
  14460. pTDefRegMap(@Self)^.clr := $00000400;
  14461. end;
  14462. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  14463. begin
  14464. if thebits = 0 then
  14465. pTDefRegMap(@Self)^.clr := $00000400
  14466. else
  14467. pTDefRegMap(@Self)^.&set := $00000400;
  14468. end;
  14469. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  14470. begin
  14471. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14472. end;
  14473. procedure TUART2_U2STA.setUTXBRK; inline;
  14474. begin
  14475. pTDefRegMap(@Self)^.&set := $00000800;
  14476. end;
  14477. procedure TUART2_U2STA.clearUTXBRK; inline;
  14478. begin
  14479. pTDefRegMap(@Self)^.clr := $00000800;
  14480. end;
  14481. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  14482. begin
  14483. if thebits = 0 then
  14484. pTDefRegMap(@Self)^.clr := $00000800
  14485. else
  14486. pTDefRegMap(@Self)^.&set := $00000800;
  14487. end;
  14488. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  14489. begin
  14490. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14491. end;
  14492. procedure TUART2_U2STA.setURXEN; inline;
  14493. begin
  14494. pTDefRegMap(@Self)^.&set := $00001000;
  14495. end;
  14496. procedure TUART2_U2STA.clearURXEN; inline;
  14497. begin
  14498. pTDefRegMap(@Self)^.clr := $00001000;
  14499. end;
  14500. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  14501. begin
  14502. if thebits = 0 then
  14503. pTDefRegMap(@Self)^.clr := $00001000
  14504. else
  14505. pTDefRegMap(@Self)^.&set := $00001000;
  14506. end;
  14507. function TUART2_U2STA.getURXEN : TBits_1; inline;
  14508. begin
  14509. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14510. end;
  14511. procedure TUART2_U2STA.setUTXINV; inline;
  14512. begin
  14513. pTDefRegMap(@Self)^.&set := $00002000;
  14514. end;
  14515. procedure TUART2_U2STA.clearUTXINV; inline;
  14516. begin
  14517. pTDefRegMap(@Self)^.clr := $00002000;
  14518. end;
  14519. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  14520. begin
  14521. if thebits = 0 then
  14522. pTDefRegMap(@Self)^.clr := $00002000
  14523. else
  14524. pTDefRegMap(@Self)^.&set := $00002000;
  14525. end;
  14526. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  14527. begin
  14528. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14529. end;
  14530. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  14531. begin
  14532. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  14533. end;
  14534. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  14535. begin
  14536. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  14537. end;
  14538. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  14539. begin
  14540. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  14541. end;
  14542. function TUART2_U2STA.getADDR : TBits_8; inline;
  14543. begin
  14544. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  14545. end;
  14546. procedure TUART2_U2STA.setADM_EN; inline;
  14547. begin
  14548. pTDefRegMap(@Self)^.&set := $01000000;
  14549. end;
  14550. procedure TUART2_U2STA.clearADM_EN; inline;
  14551. begin
  14552. pTDefRegMap(@Self)^.clr := $01000000;
  14553. end;
  14554. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  14555. begin
  14556. if thebits = 0 then
  14557. pTDefRegMap(@Self)^.clr := $01000000
  14558. else
  14559. pTDefRegMap(@Self)^.&set := $01000000;
  14560. end;
  14561. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  14562. begin
  14563. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  14564. end;
  14565. procedure TUART2_U2STA.setURXISEL0; inline;
  14566. begin
  14567. pTDefRegMap(@Self)^.&set := $00000040;
  14568. end;
  14569. procedure TUART2_U2STA.clearURXISEL0; inline;
  14570. begin
  14571. pTDefRegMap(@Self)^.clr := $00000040;
  14572. end;
  14573. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  14574. begin
  14575. if thebits = 0 then
  14576. pTDefRegMap(@Self)^.clr := $00000040
  14577. else
  14578. pTDefRegMap(@Self)^.&set := $00000040;
  14579. end;
  14580. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  14581. begin
  14582. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14583. end;
  14584. procedure TUART2_U2STA.setURXISEL1; inline;
  14585. begin
  14586. pTDefRegMap(@Self)^.&set := $00000080;
  14587. end;
  14588. procedure TUART2_U2STA.clearURXISEL1; inline;
  14589. begin
  14590. pTDefRegMap(@Self)^.clr := $00000080;
  14591. end;
  14592. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  14593. begin
  14594. if thebits = 0 then
  14595. pTDefRegMap(@Self)^.clr := $00000080
  14596. else
  14597. pTDefRegMap(@Self)^.&set := $00000080;
  14598. end;
  14599. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  14600. begin
  14601. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14602. end;
  14603. procedure TUART2_U2STA.setUTXISEL0; inline;
  14604. begin
  14605. pTDefRegMap(@Self)^.&set := $00004000;
  14606. end;
  14607. procedure TUART2_U2STA.clearUTXISEL0; inline;
  14608. begin
  14609. pTDefRegMap(@Self)^.clr := $00004000;
  14610. end;
  14611. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  14612. begin
  14613. if thebits = 0 then
  14614. pTDefRegMap(@Self)^.clr := $00004000
  14615. else
  14616. pTDefRegMap(@Self)^.&set := $00004000;
  14617. end;
  14618. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  14619. begin
  14620. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14621. end;
  14622. procedure TUART2_U2STA.setUTXISEL1; inline;
  14623. begin
  14624. pTDefRegMap(@Self)^.&set := $00008000;
  14625. end;
  14626. procedure TUART2_U2STA.clearUTXISEL1; inline;
  14627. begin
  14628. pTDefRegMap(@Self)^.clr := $00008000;
  14629. end;
  14630. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  14631. begin
  14632. if thebits = 0 then
  14633. pTDefRegMap(@Self)^.clr := $00008000
  14634. else
  14635. pTDefRegMap(@Self)^.&set := $00008000;
  14636. end;
  14637. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  14638. begin
  14639. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14640. end;
  14641. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  14642. begin
  14643. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  14644. end;
  14645. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  14646. begin
  14647. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  14648. end;
  14649. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  14650. begin
  14651. pTDefRegMap(@Self)^.val := thebits;
  14652. end;
  14653. function TUART2_U2STA.getw : TBits_32; inline;
  14654. begin
  14655. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14656. end;
  14657. procedure TPMP_PMCON.setRDSP; inline;
  14658. begin
  14659. pTDefRegMap(@Self)^.&set := $00000001;
  14660. end;
  14661. procedure TPMP_PMCON.clearRDSP; inline;
  14662. begin
  14663. pTDefRegMap(@Self)^.clr := $00000001;
  14664. end;
  14665. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  14666. begin
  14667. if thebits = 0 then
  14668. pTDefRegMap(@Self)^.clr := $00000001
  14669. else
  14670. pTDefRegMap(@Self)^.&set := $00000001;
  14671. end;
  14672. function TPMP_PMCON.getRDSP : TBits_1; inline;
  14673. begin
  14674. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14675. end;
  14676. procedure TPMP_PMCON.setWRSP; inline;
  14677. begin
  14678. pTDefRegMap(@Self)^.&set := $00000002;
  14679. end;
  14680. procedure TPMP_PMCON.clearWRSP; inline;
  14681. begin
  14682. pTDefRegMap(@Self)^.clr := $00000002;
  14683. end;
  14684. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  14685. begin
  14686. if thebits = 0 then
  14687. pTDefRegMap(@Self)^.clr := $00000002
  14688. else
  14689. pTDefRegMap(@Self)^.&set := $00000002;
  14690. end;
  14691. function TPMP_PMCON.getWRSP : TBits_1; inline;
  14692. begin
  14693. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14694. end;
  14695. procedure TPMP_PMCON.setCS1P; inline;
  14696. begin
  14697. pTDefRegMap(@Self)^.&set := $00000008;
  14698. end;
  14699. procedure TPMP_PMCON.clearCS1P; inline;
  14700. begin
  14701. pTDefRegMap(@Self)^.clr := $00000008;
  14702. end;
  14703. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  14704. begin
  14705. if thebits = 0 then
  14706. pTDefRegMap(@Self)^.clr := $00000008
  14707. else
  14708. pTDefRegMap(@Self)^.&set := $00000008;
  14709. end;
  14710. function TPMP_PMCON.getCS1P : TBits_1; inline;
  14711. begin
  14712. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14713. end;
  14714. procedure TPMP_PMCON.setCS2P; inline;
  14715. begin
  14716. pTDefRegMap(@Self)^.&set := $00000010;
  14717. end;
  14718. procedure TPMP_PMCON.clearCS2P; inline;
  14719. begin
  14720. pTDefRegMap(@Self)^.clr := $00000010;
  14721. end;
  14722. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  14723. begin
  14724. if thebits = 0 then
  14725. pTDefRegMap(@Self)^.clr := $00000010
  14726. else
  14727. pTDefRegMap(@Self)^.&set := $00000010;
  14728. end;
  14729. function TPMP_PMCON.getCS2P : TBits_1; inline;
  14730. begin
  14731. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14732. end;
  14733. procedure TPMP_PMCON.setALP; inline;
  14734. begin
  14735. pTDefRegMap(@Self)^.&set := $00000020;
  14736. end;
  14737. procedure TPMP_PMCON.clearALP; inline;
  14738. begin
  14739. pTDefRegMap(@Self)^.clr := $00000020;
  14740. end;
  14741. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  14742. begin
  14743. if thebits = 0 then
  14744. pTDefRegMap(@Self)^.clr := $00000020
  14745. else
  14746. pTDefRegMap(@Self)^.&set := $00000020;
  14747. end;
  14748. function TPMP_PMCON.getALP : TBits_1; inline;
  14749. begin
  14750. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14751. end;
  14752. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  14753. begin
  14754. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  14755. end;
  14756. function TPMP_PMCON.getCSF : TBits_2; inline;
  14757. begin
  14758. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  14759. end;
  14760. procedure TPMP_PMCON.setPTRDEN; inline;
  14761. begin
  14762. pTDefRegMap(@Self)^.&set := $00000100;
  14763. end;
  14764. procedure TPMP_PMCON.clearPTRDEN; inline;
  14765. begin
  14766. pTDefRegMap(@Self)^.clr := $00000100;
  14767. end;
  14768. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  14769. begin
  14770. if thebits = 0 then
  14771. pTDefRegMap(@Self)^.clr := $00000100
  14772. else
  14773. pTDefRegMap(@Self)^.&set := $00000100;
  14774. end;
  14775. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  14776. begin
  14777. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14778. end;
  14779. procedure TPMP_PMCON.setPTWREN; inline;
  14780. begin
  14781. pTDefRegMap(@Self)^.&set := $00000200;
  14782. end;
  14783. procedure TPMP_PMCON.clearPTWREN; inline;
  14784. begin
  14785. pTDefRegMap(@Self)^.clr := $00000200;
  14786. end;
  14787. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  14788. begin
  14789. if thebits = 0 then
  14790. pTDefRegMap(@Self)^.clr := $00000200
  14791. else
  14792. pTDefRegMap(@Self)^.&set := $00000200;
  14793. end;
  14794. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  14795. begin
  14796. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14797. end;
  14798. procedure TPMP_PMCON.setPMPTTL; inline;
  14799. begin
  14800. pTDefRegMap(@Self)^.&set := $00000400;
  14801. end;
  14802. procedure TPMP_PMCON.clearPMPTTL; inline;
  14803. begin
  14804. pTDefRegMap(@Self)^.clr := $00000400;
  14805. end;
  14806. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  14807. begin
  14808. if thebits = 0 then
  14809. pTDefRegMap(@Self)^.clr := $00000400
  14810. else
  14811. pTDefRegMap(@Self)^.&set := $00000400;
  14812. end;
  14813. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  14814. begin
  14815. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14816. end;
  14817. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  14818. begin
  14819. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  14820. end;
  14821. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  14822. begin
  14823. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  14824. end;
  14825. procedure TPMP_PMCON.setSIDL; inline;
  14826. begin
  14827. pTDefRegMap(@Self)^.&set := $00002000;
  14828. end;
  14829. procedure TPMP_PMCON.clearSIDL; inline;
  14830. begin
  14831. pTDefRegMap(@Self)^.clr := $00002000;
  14832. end;
  14833. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  14834. begin
  14835. if thebits = 0 then
  14836. pTDefRegMap(@Self)^.clr := $00002000
  14837. else
  14838. pTDefRegMap(@Self)^.&set := $00002000;
  14839. end;
  14840. function TPMP_PMCON.getSIDL : TBits_1; inline;
  14841. begin
  14842. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14843. end;
  14844. procedure TPMP_PMCON.setON; inline;
  14845. begin
  14846. pTDefRegMap(@Self)^.&set := $00008000;
  14847. end;
  14848. procedure TPMP_PMCON.clearON; inline;
  14849. begin
  14850. pTDefRegMap(@Self)^.clr := $00008000;
  14851. end;
  14852. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  14853. begin
  14854. if thebits = 0 then
  14855. pTDefRegMap(@Self)^.clr := $00008000
  14856. else
  14857. pTDefRegMap(@Self)^.&set := $00008000;
  14858. end;
  14859. function TPMP_PMCON.getON : TBits_1; inline;
  14860. begin
  14861. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14862. end;
  14863. procedure TPMP_PMCON.setCSF0; inline;
  14864. begin
  14865. pTDefRegMap(@Self)^.&set := $00000040;
  14866. end;
  14867. procedure TPMP_PMCON.clearCSF0; inline;
  14868. begin
  14869. pTDefRegMap(@Self)^.clr := $00000040;
  14870. end;
  14871. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  14872. begin
  14873. if thebits = 0 then
  14874. pTDefRegMap(@Self)^.clr := $00000040
  14875. else
  14876. pTDefRegMap(@Self)^.&set := $00000040;
  14877. end;
  14878. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  14879. begin
  14880. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14881. end;
  14882. procedure TPMP_PMCON.setCSF1; inline;
  14883. begin
  14884. pTDefRegMap(@Self)^.&set := $00000080;
  14885. end;
  14886. procedure TPMP_PMCON.clearCSF1; inline;
  14887. begin
  14888. pTDefRegMap(@Self)^.clr := $00000080;
  14889. end;
  14890. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  14891. begin
  14892. if thebits = 0 then
  14893. pTDefRegMap(@Self)^.clr := $00000080
  14894. else
  14895. pTDefRegMap(@Self)^.&set := $00000080;
  14896. end;
  14897. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  14898. begin
  14899. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14900. end;
  14901. procedure TPMP_PMCON.setADRMUX0; inline;
  14902. begin
  14903. pTDefRegMap(@Self)^.&set := $00000800;
  14904. end;
  14905. procedure TPMP_PMCON.clearADRMUX0; inline;
  14906. begin
  14907. pTDefRegMap(@Self)^.clr := $00000800;
  14908. end;
  14909. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  14910. begin
  14911. if thebits = 0 then
  14912. pTDefRegMap(@Self)^.clr := $00000800
  14913. else
  14914. pTDefRegMap(@Self)^.&set := $00000800;
  14915. end;
  14916. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  14917. begin
  14918. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14919. end;
  14920. procedure TPMP_PMCON.setADRMUX1; inline;
  14921. begin
  14922. pTDefRegMap(@Self)^.&set := $00001000;
  14923. end;
  14924. procedure TPMP_PMCON.clearADRMUX1; inline;
  14925. begin
  14926. pTDefRegMap(@Self)^.clr := $00001000;
  14927. end;
  14928. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  14929. begin
  14930. if thebits = 0 then
  14931. pTDefRegMap(@Self)^.clr := $00001000
  14932. else
  14933. pTDefRegMap(@Self)^.&set := $00001000;
  14934. end;
  14935. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  14936. begin
  14937. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14938. end;
  14939. procedure TPMP_PMCON.setPSIDL; inline;
  14940. begin
  14941. pTDefRegMap(@Self)^.&set := $00002000;
  14942. end;
  14943. procedure TPMP_PMCON.clearPSIDL; inline;
  14944. begin
  14945. pTDefRegMap(@Self)^.clr := $00002000;
  14946. end;
  14947. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  14948. begin
  14949. if thebits = 0 then
  14950. pTDefRegMap(@Self)^.clr := $00002000
  14951. else
  14952. pTDefRegMap(@Self)^.&set := $00002000;
  14953. end;
  14954. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  14955. begin
  14956. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14957. end;
  14958. procedure TPMP_PMCON.setPMPEN; inline;
  14959. begin
  14960. pTDefRegMap(@Self)^.&set := $00008000;
  14961. end;
  14962. procedure TPMP_PMCON.clearPMPEN; inline;
  14963. begin
  14964. pTDefRegMap(@Self)^.clr := $00008000;
  14965. end;
  14966. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  14967. begin
  14968. if thebits = 0 then
  14969. pTDefRegMap(@Self)^.clr := $00008000
  14970. else
  14971. pTDefRegMap(@Self)^.&set := $00008000;
  14972. end;
  14973. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  14974. begin
  14975. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14976. end;
  14977. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  14978. begin
  14979. pTDefRegMap(@Self)^.val := thebits;
  14980. end;
  14981. function TPMP_PMCON.getw : TBits_32; inline;
  14982. begin
  14983. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14984. end;
  14985. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  14986. begin
  14987. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  14988. end;
  14989. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  14990. begin
  14991. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  14992. end;
  14993. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  14994. begin
  14995. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  14996. end;
  14997. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  14998. begin
  14999. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  15000. end;
  15001. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  15002. begin
  15003. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  15004. end;
  15005. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  15006. begin
  15007. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  15008. end;
  15009. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  15010. begin
  15011. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  15012. end;
  15013. function TPMP_PMMODE.getMODE : TBits_2; inline;
  15014. begin
  15015. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  15016. end;
  15017. procedure TPMP_PMMODE.setMODE16; inline;
  15018. begin
  15019. pTDefRegMap(@Self)^.&set := $00000400;
  15020. end;
  15021. procedure TPMP_PMMODE.clearMODE16; inline;
  15022. begin
  15023. pTDefRegMap(@Self)^.clr := $00000400;
  15024. end;
  15025. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  15026. begin
  15027. if thebits = 0 then
  15028. pTDefRegMap(@Self)^.clr := $00000400
  15029. else
  15030. pTDefRegMap(@Self)^.&set := $00000400;
  15031. end;
  15032. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  15033. begin
  15034. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15035. end;
  15036. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  15037. begin
  15038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  15039. end;
  15040. function TPMP_PMMODE.getINCM : TBits_2; inline;
  15041. begin
  15042. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  15043. end;
  15044. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  15045. begin
  15046. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  15047. end;
  15048. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  15049. begin
  15050. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  15051. end;
  15052. procedure TPMP_PMMODE.setBUSY; inline;
  15053. begin
  15054. pTDefRegMap(@Self)^.&set := $00008000;
  15055. end;
  15056. procedure TPMP_PMMODE.clearBUSY; inline;
  15057. begin
  15058. pTDefRegMap(@Self)^.clr := $00008000;
  15059. end;
  15060. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  15061. begin
  15062. if thebits = 0 then
  15063. pTDefRegMap(@Self)^.clr := $00008000
  15064. else
  15065. pTDefRegMap(@Self)^.&set := $00008000;
  15066. end;
  15067. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  15068. begin
  15069. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15070. end;
  15071. procedure TPMP_PMMODE.setWAITE0; inline;
  15072. begin
  15073. pTDefRegMap(@Self)^.&set := $00000001;
  15074. end;
  15075. procedure TPMP_PMMODE.clearWAITE0; inline;
  15076. begin
  15077. pTDefRegMap(@Self)^.clr := $00000001;
  15078. end;
  15079. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  15080. begin
  15081. if thebits = 0 then
  15082. pTDefRegMap(@Self)^.clr := $00000001
  15083. else
  15084. pTDefRegMap(@Self)^.&set := $00000001;
  15085. end;
  15086. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  15087. begin
  15088. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15089. end;
  15090. procedure TPMP_PMMODE.setWAITE1; inline;
  15091. begin
  15092. pTDefRegMap(@Self)^.&set := $00000002;
  15093. end;
  15094. procedure TPMP_PMMODE.clearWAITE1; inline;
  15095. begin
  15096. pTDefRegMap(@Self)^.clr := $00000002;
  15097. end;
  15098. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  15099. begin
  15100. if thebits = 0 then
  15101. pTDefRegMap(@Self)^.clr := $00000002
  15102. else
  15103. pTDefRegMap(@Self)^.&set := $00000002;
  15104. end;
  15105. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  15106. begin
  15107. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15108. end;
  15109. procedure TPMP_PMMODE.setWAITM0; inline;
  15110. begin
  15111. pTDefRegMap(@Self)^.&set := $00000004;
  15112. end;
  15113. procedure TPMP_PMMODE.clearWAITM0; inline;
  15114. begin
  15115. pTDefRegMap(@Self)^.clr := $00000004;
  15116. end;
  15117. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  15118. begin
  15119. if thebits = 0 then
  15120. pTDefRegMap(@Self)^.clr := $00000004
  15121. else
  15122. pTDefRegMap(@Self)^.&set := $00000004;
  15123. end;
  15124. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  15125. begin
  15126. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15127. end;
  15128. procedure TPMP_PMMODE.setWAITM1; inline;
  15129. begin
  15130. pTDefRegMap(@Self)^.&set := $00000008;
  15131. end;
  15132. procedure TPMP_PMMODE.clearWAITM1; inline;
  15133. begin
  15134. pTDefRegMap(@Self)^.clr := $00000008;
  15135. end;
  15136. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  15137. begin
  15138. if thebits = 0 then
  15139. pTDefRegMap(@Self)^.clr := $00000008
  15140. else
  15141. pTDefRegMap(@Self)^.&set := $00000008;
  15142. end;
  15143. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  15144. begin
  15145. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15146. end;
  15147. procedure TPMP_PMMODE.setWAITM2; inline;
  15148. begin
  15149. pTDefRegMap(@Self)^.&set := $00000010;
  15150. end;
  15151. procedure TPMP_PMMODE.clearWAITM2; inline;
  15152. begin
  15153. pTDefRegMap(@Self)^.clr := $00000010;
  15154. end;
  15155. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  15156. begin
  15157. if thebits = 0 then
  15158. pTDefRegMap(@Self)^.clr := $00000010
  15159. else
  15160. pTDefRegMap(@Self)^.&set := $00000010;
  15161. end;
  15162. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  15163. begin
  15164. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15165. end;
  15166. procedure TPMP_PMMODE.setWAITM3; inline;
  15167. begin
  15168. pTDefRegMap(@Self)^.&set := $00000020;
  15169. end;
  15170. procedure TPMP_PMMODE.clearWAITM3; inline;
  15171. begin
  15172. pTDefRegMap(@Self)^.clr := $00000020;
  15173. end;
  15174. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  15175. begin
  15176. if thebits = 0 then
  15177. pTDefRegMap(@Self)^.clr := $00000020
  15178. else
  15179. pTDefRegMap(@Self)^.&set := $00000020;
  15180. end;
  15181. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  15182. begin
  15183. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15184. end;
  15185. procedure TPMP_PMMODE.setWAITB0; inline;
  15186. begin
  15187. pTDefRegMap(@Self)^.&set := $00000040;
  15188. end;
  15189. procedure TPMP_PMMODE.clearWAITB0; inline;
  15190. begin
  15191. pTDefRegMap(@Self)^.clr := $00000040;
  15192. end;
  15193. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  15194. begin
  15195. if thebits = 0 then
  15196. pTDefRegMap(@Self)^.clr := $00000040
  15197. else
  15198. pTDefRegMap(@Self)^.&set := $00000040;
  15199. end;
  15200. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  15201. begin
  15202. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15203. end;
  15204. procedure TPMP_PMMODE.setWAITB1; inline;
  15205. begin
  15206. pTDefRegMap(@Self)^.&set := $00000080;
  15207. end;
  15208. procedure TPMP_PMMODE.clearWAITB1; inline;
  15209. begin
  15210. pTDefRegMap(@Self)^.clr := $00000080;
  15211. end;
  15212. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  15213. begin
  15214. if thebits = 0 then
  15215. pTDefRegMap(@Self)^.clr := $00000080
  15216. else
  15217. pTDefRegMap(@Self)^.&set := $00000080;
  15218. end;
  15219. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  15220. begin
  15221. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15222. end;
  15223. procedure TPMP_PMMODE.setMODE0; inline;
  15224. begin
  15225. pTDefRegMap(@Self)^.&set := $00000100;
  15226. end;
  15227. procedure TPMP_PMMODE.clearMODE0; inline;
  15228. begin
  15229. pTDefRegMap(@Self)^.clr := $00000100;
  15230. end;
  15231. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  15232. begin
  15233. if thebits = 0 then
  15234. pTDefRegMap(@Self)^.clr := $00000100
  15235. else
  15236. pTDefRegMap(@Self)^.&set := $00000100;
  15237. end;
  15238. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  15239. begin
  15240. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15241. end;
  15242. procedure TPMP_PMMODE.setMODE1; inline;
  15243. begin
  15244. pTDefRegMap(@Self)^.&set := $00000200;
  15245. end;
  15246. procedure TPMP_PMMODE.clearMODE1; inline;
  15247. begin
  15248. pTDefRegMap(@Self)^.clr := $00000200;
  15249. end;
  15250. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  15251. begin
  15252. if thebits = 0 then
  15253. pTDefRegMap(@Self)^.clr := $00000200
  15254. else
  15255. pTDefRegMap(@Self)^.&set := $00000200;
  15256. end;
  15257. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  15258. begin
  15259. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15260. end;
  15261. procedure TPMP_PMMODE.setINCM0; inline;
  15262. begin
  15263. pTDefRegMap(@Self)^.&set := $00000800;
  15264. end;
  15265. procedure TPMP_PMMODE.clearINCM0; inline;
  15266. begin
  15267. pTDefRegMap(@Self)^.clr := $00000800;
  15268. end;
  15269. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  15270. begin
  15271. if thebits = 0 then
  15272. pTDefRegMap(@Self)^.clr := $00000800
  15273. else
  15274. pTDefRegMap(@Self)^.&set := $00000800;
  15275. end;
  15276. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  15277. begin
  15278. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15279. end;
  15280. procedure TPMP_PMMODE.setINCM1; inline;
  15281. begin
  15282. pTDefRegMap(@Self)^.&set := $00001000;
  15283. end;
  15284. procedure TPMP_PMMODE.clearINCM1; inline;
  15285. begin
  15286. pTDefRegMap(@Self)^.clr := $00001000;
  15287. end;
  15288. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  15289. begin
  15290. if thebits = 0 then
  15291. pTDefRegMap(@Self)^.clr := $00001000
  15292. else
  15293. pTDefRegMap(@Self)^.&set := $00001000;
  15294. end;
  15295. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  15296. begin
  15297. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15298. end;
  15299. procedure TPMP_PMMODE.setIRQM0; inline;
  15300. begin
  15301. pTDefRegMap(@Self)^.&set := $00002000;
  15302. end;
  15303. procedure TPMP_PMMODE.clearIRQM0; inline;
  15304. begin
  15305. pTDefRegMap(@Self)^.clr := $00002000;
  15306. end;
  15307. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  15308. begin
  15309. if thebits = 0 then
  15310. pTDefRegMap(@Self)^.clr := $00002000
  15311. else
  15312. pTDefRegMap(@Self)^.&set := $00002000;
  15313. end;
  15314. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  15315. begin
  15316. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15317. end;
  15318. procedure TPMP_PMMODE.setIRQM1; inline;
  15319. begin
  15320. pTDefRegMap(@Self)^.&set := $00004000;
  15321. end;
  15322. procedure TPMP_PMMODE.clearIRQM1; inline;
  15323. begin
  15324. pTDefRegMap(@Self)^.clr := $00004000;
  15325. end;
  15326. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  15327. begin
  15328. if thebits = 0 then
  15329. pTDefRegMap(@Self)^.clr := $00004000
  15330. else
  15331. pTDefRegMap(@Self)^.&set := $00004000;
  15332. end;
  15333. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  15334. begin
  15335. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15336. end;
  15337. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  15338. begin
  15339. pTDefRegMap(@Self)^.val := thebits;
  15340. end;
  15341. function TPMP_PMMODE.getw : TBits_32; inline;
  15342. begin
  15343. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15344. end;
  15345. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  15346. begin
  15347. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  15348. end;
  15349. function TPMP_PMADDR.getADDR : TBits_14; inline;
  15350. begin
  15351. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  15352. end;
  15353. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  15354. begin
  15355. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  15356. end;
  15357. function TPMP_PMADDR.getCS : TBits_2; inline;
  15358. begin
  15359. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  15360. end;
  15361. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  15362. begin
  15363. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  15364. end;
  15365. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  15366. begin
  15367. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  15368. end;
  15369. procedure TPMP_PMADDR.setCS1; inline;
  15370. begin
  15371. pTDefRegMap(@Self)^.&set := $00004000;
  15372. end;
  15373. procedure TPMP_PMADDR.clearCS1; inline;
  15374. begin
  15375. pTDefRegMap(@Self)^.clr := $00004000;
  15376. end;
  15377. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  15378. begin
  15379. if thebits = 0 then
  15380. pTDefRegMap(@Self)^.clr := $00004000
  15381. else
  15382. pTDefRegMap(@Self)^.&set := $00004000;
  15383. end;
  15384. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  15385. begin
  15386. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15387. end;
  15388. procedure TPMP_PMADDR.setCS2; inline;
  15389. begin
  15390. pTDefRegMap(@Self)^.&set := $00008000;
  15391. end;
  15392. procedure TPMP_PMADDR.clearCS2; inline;
  15393. begin
  15394. pTDefRegMap(@Self)^.clr := $00008000;
  15395. end;
  15396. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  15397. begin
  15398. if thebits = 0 then
  15399. pTDefRegMap(@Self)^.clr := $00008000
  15400. else
  15401. pTDefRegMap(@Self)^.&set := $00008000;
  15402. end;
  15403. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  15404. begin
  15405. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15406. end;
  15407. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  15408. begin
  15409. pTDefRegMap(@Self)^.val := thebits;
  15410. end;
  15411. function TPMP_PMADDR.getw : TBits_32; inline;
  15412. begin
  15413. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15414. end;
  15415. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  15416. begin
  15417. pTDefRegMap(@Self)^.val := thebits;
  15418. end;
  15419. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  15420. begin
  15421. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15422. end;
  15423. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  15424. begin
  15425. pTDefRegMap(@Self)^.val := thebits;
  15426. end;
  15427. function TPMP_PMDOUT.getw : TBits_32; inline;
  15428. begin
  15429. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15430. end;
  15431. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  15432. begin
  15433. pTDefRegMap(@Self)^.val := thebits;
  15434. end;
  15435. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  15436. begin
  15437. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15438. end;
  15439. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  15440. begin
  15441. pTDefRegMap(@Self)^.val := thebits;
  15442. end;
  15443. function TPMP_PMDIN.getw : TBits_32; inline;
  15444. begin
  15445. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15446. end;
  15447. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  15448. begin
  15449. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  15450. end;
  15451. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  15452. begin
  15453. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  15454. end;
  15455. procedure TPMP_PMAEN.setPTEN0; inline;
  15456. begin
  15457. pTDefRegMap(@Self)^.&set := $00000001;
  15458. end;
  15459. procedure TPMP_PMAEN.clearPTEN0; inline;
  15460. begin
  15461. pTDefRegMap(@Self)^.clr := $00000001;
  15462. end;
  15463. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  15464. begin
  15465. if thebits = 0 then
  15466. pTDefRegMap(@Self)^.clr := $00000001
  15467. else
  15468. pTDefRegMap(@Self)^.&set := $00000001;
  15469. end;
  15470. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  15471. begin
  15472. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15473. end;
  15474. procedure TPMP_PMAEN.setPTEN1; inline;
  15475. begin
  15476. pTDefRegMap(@Self)^.&set := $00000002;
  15477. end;
  15478. procedure TPMP_PMAEN.clearPTEN1; inline;
  15479. begin
  15480. pTDefRegMap(@Self)^.clr := $00000002;
  15481. end;
  15482. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  15483. begin
  15484. if thebits = 0 then
  15485. pTDefRegMap(@Self)^.clr := $00000002
  15486. else
  15487. pTDefRegMap(@Self)^.&set := $00000002;
  15488. end;
  15489. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  15490. begin
  15491. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15492. end;
  15493. procedure TPMP_PMAEN.setPTEN2; inline;
  15494. begin
  15495. pTDefRegMap(@Self)^.&set := $00000004;
  15496. end;
  15497. procedure TPMP_PMAEN.clearPTEN2; inline;
  15498. begin
  15499. pTDefRegMap(@Self)^.clr := $00000004;
  15500. end;
  15501. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  15502. begin
  15503. if thebits = 0 then
  15504. pTDefRegMap(@Self)^.clr := $00000004
  15505. else
  15506. pTDefRegMap(@Self)^.&set := $00000004;
  15507. end;
  15508. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  15509. begin
  15510. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15511. end;
  15512. procedure TPMP_PMAEN.setPTEN3; inline;
  15513. begin
  15514. pTDefRegMap(@Self)^.&set := $00000008;
  15515. end;
  15516. procedure TPMP_PMAEN.clearPTEN3; inline;
  15517. begin
  15518. pTDefRegMap(@Self)^.clr := $00000008;
  15519. end;
  15520. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  15521. begin
  15522. if thebits = 0 then
  15523. pTDefRegMap(@Self)^.clr := $00000008
  15524. else
  15525. pTDefRegMap(@Self)^.&set := $00000008;
  15526. end;
  15527. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  15528. begin
  15529. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15530. end;
  15531. procedure TPMP_PMAEN.setPTEN4; inline;
  15532. begin
  15533. pTDefRegMap(@Self)^.&set := $00000010;
  15534. end;
  15535. procedure TPMP_PMAEN.clearPTEN4; inline;
  15536. begin
  15537. pTDefRegMap(@Self)^.clr := $00000010;
  15538. end;
  15539. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  15540. begin
  15541. if thebits = 0 then
  15542. pTDefRegMap(@Self)^.clr := $00000010
  15543. else
  15544. pTDefRegMap(@Self)^.&set := $00000010;
  15545. end;
  15546. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  15547. begin
  15548. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15549. end;
  15550. procedure TPMP_PMAEN.setPTEN5; inline;
  15551. begin
  15552. pTDefRegMap(@Self)^.&set := $00000020;
  15553. end;
  15554. procedure TPMP_PMAEN.clearPTEN5; inline;
  15555. begin
  15556. pTDefRegMap(@Self)^.clr := $00000020;
  15557. end;
  15558. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  15559. begin
  15560. if thebits = 0 then
  15561. pTDefRegMap(@Self)^.clr := $00000020
  15562. else
  15563. pTDefRegMap(@Self)^.&set := $00000020;
  15564. end;
  15565. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  15566. begin
  15567. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15568. end;
  15569. procedure TPMP_PMAEN.setPTEN6; inline;
  15570. begin
  15571. pTDefRegMap(@Self)^.&set := $00000040;
  15572. end;
  15573. procedure TPMP_PMAEN.clearPTEN6; inline;
  15574. begin
  15575. pTDefRegMap(@Self)^.clr := $00000040;
  15576. end;
  15577. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  15578. begin
  15579. if thebits = 0 then
  15580. pTDefRegMap(@Self)^.clr := $00000040
  15581. else
  15582. pTDefRegMap(@Self)^.&set := $00000040;
  15583. end;
  15584. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  15585. begin
  15586. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15587. end;
  15588. procedure TPMP_PMAEN.setPTEN7; inline;
  15589. begin
  15590. pTDefRegMap(@Self)^.&set := $00000080;
  15591. end;
  15592. procedure TPMP_PMAEN.clearPTEN7; inline;
  15593. begin
  15594. pTDefRegMap(@Self)^.clr := $00000080;
  15595. end;
  15596. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  15597. begin
  15598. if thebits = 0 then
  15599. pTDefRegMap(@Self)^.clr := $00000080
  15600. else
  15601. pTDefRegMap(@Self)^.&set := $00000080;
  15602. end;
  15603. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  15604. begin
  15605. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15606. end;
  15607. procedure TPMP_PMAEN.setPTEN8; inline;
  15608. begin
  15609. pTDefRegMap(@Self)^.&set := $00000100;
  15610. end;
  15611. procedure TPMP_PMAEN.clearPTEN8; inline;
  15612. begin
  15613. pTDefRegMap(@Self)^.clr := $00000100;
  15614. end;
  15615. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  15616. begin
  15617. if thebits = 0 then
  15618. pTDefRegMap(@Self)^.clr := $00000100
  15619. else
  15620. pTDefRegMap(@Self)^.&set := $00000100;
  15621. end;
  15622. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  15623. begin
  15624. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15625. end;
  15626. procedure TPMP_PMAEN.setPTEN9; inline;
  15627. begin
  15628. pTDefRegMap(@Self)^.&set := $00000200;
  15629. end;
  15630. procedure TPMP_PMAEN.clearPTEN9; inline;
  15631. begin
  15632. pTDefRegMap(@Self)^.clr := $00000200;
  15633. end;
  15634. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  15635. begin
  15636. if thebits = 0 then
  15637. pTDefRegMap(@Self)^.clr := $00000200
  15638. else
  15639. pTDefRegMap(@Self)^.&set := $00000200;
  15640. end;
  15641. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  15642. begin
  15643. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15644. end;
  15645. procedure TPMP_PMAEN.setPTEN10; inline;
  15646. begin
  15647. pTDefRegMap(@Self)^.&set := $00000400;
  15648. end;
  15649. procedure TPMP_PMAEN.clearPTEN10; inline;
  15650. begin
  15651. pTDefRegMap(@Self)^.clr := $00000400;
  15652. end;
  15653. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  15654. begin
  15655. if thebits = 0 then
  15656. pTDefRegMap(@Self)^.clr := $00000400
  15657. else
  15658. pTDefRegMap(@Self)^.&set := $00000400;
  15659. end;
  15660. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  15661. begin
  15662. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15663. end;
  15664. procedure TPMP_PMAEN.setPTEN11; inline;
  15665. begin
  15666. pTDefRegMap(@Self)^.&set := $00000800;
  15667. end;
  15668. procedure TPMP_PMAEN.clearPTEN11; inline;
  15669. begin
  15670. pTDefRegMap(@Self)^.clr := $00000800;
  15671. end;
  15672. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  15673. begin
  15674. if thebits = 0 then
  15675. pTDefRegMap(@Self)^.clr := $00000800
  15676. else
  15677. pTDefRegMap(@Self)^.&set := $00000800;
  15678. end;
  15679. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  15680. begin
  15681. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15682. end;
  15683. procedure TPMP_PMAEN.setPTEN12; inline;
  15684. begin
  15685. pTDefRegMap(@Self)^.&set := $00001000;
  15686. end;
  15687. procedure TPMP_PMAEN.clearPTEN12; inline;
  15688. begin
  15689. pTDefRegMap(@Self)^.clr := $00001000;
  15690. end;
  15691. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  15692. begin
  15693. if thebits = 0 then
  15694. pTDefRegMap(@Self)^.clr := $00001000
  15695. else
  15696. pTDefRegMap(@Self)^.&set := $00001000;
  15697. end;
  15698. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  15699. begin
  15700. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15701. end;
  15702. procedure TPMP_PMAEN.setPTEN13; inline;
  15703. begin
  15704. pTDefRegMap(@Self)^.&set := $00002000;
  15705. end;
  15706. procedure TPMP_PMAEN.clearPTEN13; inline;
  15707. begin
  15708. pTDefRegMap(@Self)^.clr := $00002000;
  15709. end;
  15710. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  15711. begin
  15712. if thebits = 0 then
  15713. pTDefRegMap(@Self)^.clr := $00002000
  15714. else
  15715. pTDefRegMap(@Self)^.&set := $00002000;
  15716. end;
  15717. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  15718. begin
  15719. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15720. end;
  15721. procedure TPMP_PMAEN.setPTEN14; inline;
  15722. begin
  15723. pTDefRegMap(@Self)^.&set := $00004000;
  15724. end;
  15725. procedure TPMP_PMAEN.clearPTEN14; inline;
  15726. begin
  15727. pTDefRegMap(@Self)^.clr := $00004000;
  15728. end;
  15729. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  15730. begin
  15731. if thebits = 0 then
  15732. pTDefRegMap(@Self)^.clr := $00004000
  15733. else
  15734. pTDefRegMap(@Self)^.&set := $00004000;
  15735. end;
  15736. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  15737. begin
  15738. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15739. end;
  15740. procedure TPMP_PMAEN.setPTEN15; inline;
  15741. begin
  15742. pTDefRegMap(@Self)^.&set := $00008000;
  15743. end;
  15744. procedure TPMP_PMAEN.clearPTEN15; inline;
  15745. begin
  15746. pTDefRegMap(@Self)^.clr := $00008000;
  15747. end;
  15748. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  15749. begin
  15750. if thebits = 0 then
  15751. pTDefRegMap(@Self)^.clr := $00008000
  15752. else
  15753. pTDefRegMap(@Self)^.&set := $00008000;
  15754. end;
  15755. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  15756. begin
  15757. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15758. end;
  15759. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  15760. begin
  15761. pTDefRegMap(@Self)^.val := thebits;
  15762. end;
  15763. function TPMP_PMAEN.getw : TBits_32; inline;
  15764. begin
  15765. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15766. end;
  15767. procedure TPMP_PMSTAT.setOB0E; inline;
  15768. begin
  15769. pTDefRegMap(@Self)^.&set := $00000001;
  15770. end;
  15771. procedure TPMP_PMSTAT.clearOB0E; inline;
  15772. begin
  15773. pTDefRegMap(@Self)^.clr := $00000001;
  15774. end;
  15775. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  15776. begin
  15777. if thebits = 0 then
  15778. pTDefRegMap(@Self)^.clr := $00000001
  15779. else
  15780. pTDefRegMap(@Self)^.&set := $00000001;
  15781. end;
  15782. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  15783. begin
  15784. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15785. end;
  15786. procedure TPMP_PMSTAT.setOB1E; inline;
  15787. begin
  15788. pTDefRegMap(@Self)^.&set := $00000002;
  15789. end;
  15790. procedure TPMP_PMSTAT.clearOB1E; inline;
  15791. begin
  15792. pTDefRegMap(@Self)^.clr := $00000002;
  15793. end;
  15794. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  15795. begin
  15796. if thebits = 0 then
  15797. pTDefRegMap(@Self)^.clr := $00000002
  15798. else
  15799. pTDefRegMap(@Self)^.&set := $00000002;
  15800. end;
  15801. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  15802. begin
  15803. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15804. end;
  15805. procedure TPMP_PMSTAT.setOB2E; inline;
  15806. begin
  15807. pTDefRegMap(@Self)^.&set := $00000004;
  15808. end;
  15809. procedure TPMP_PMSTAT.clearOB2E; inline;
  15810. begin
  15811. pTDefRegMap(@Self)^.clr := $00000004;
  15812. end;
  15813. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  15814. begin
  15815. if thebits = 0 then
  15816. pTDefRegMap(@Self)^.clr := $00000004
  15817. else
  15818. pTDefRegMap(@Self)^.&set := $00000004;
  15819. end;
  15820. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  15821. begin
  15822. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15823. end;
  15824. procedure TPMP_PMSTAT.setOB3E; inline;
  15825. begin
  15826. pTDefRegMap(@Self)^.&set := $00000008;
  15827. end;
  15828. procedure TPMP_PMSTAT.clearOB3E; inline;
  15829. begin
  15830. pTDefRegMap(@Self)^.clr := $00000008;
  15831. end;
  15832. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  15833. begin
  15834. if thebits = 0 then
  15835. pTDefRegMap(@Self)^.clr := $00000008
  15836. else
  15837. pTDefRegMap(@Self)^.&set := $00000008;
  15838. end;
  15839. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  15840. begin
  15841. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15842. end;
  15843. procedure TPMP_PMSTAT.setOBUF; inline;
  15844. begin
  15845. pTDefRegMap(@Self)^.&set := $00000040;
  15846. end;
  15847. procedure TPMP_PMSTAT.clearOBUF; inline;
  15848. begin
  15849. pTDefRegMap(@Self)^.clr := $00000040;
  15850. end;
  15851. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  15852. begin
  15853. if thebits = 0 then
  15854. pTDefRegMap(@Self)^.clr := $00000040
  15855. else
  15856. pTDefRegMap(@Self)^.&set := $00000040;
  15857. end;
  15858. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  15859. begin
  15860. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15861. end;
  15862. procedure TPMP_PMSTAT.setOBE; inline;
  15863. begin
  15864. pTDefRegMap(@Self)^.&set := $00000080;
  15865. end;
  15866. procedure TPMP_PMSTAT.clearOBE; inline;
  15867. begin
  15868. pTDefRegMap(@Self)^.clr := $00000080;
  15869. end;
  15870. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  15871. begin
  15872. if thebits = 0 then
  15873. pTDefRegMap(@Self)^.clr := $00000080
  15874. else
  15875. pTDefRegMap(@Self)^.&set := $00000080;
  15876. end;
  15877. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  15878. begin
  15879. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15880. end;
  15881. procedure TPMP_PMSTAT.setIB0F; inline;
  15882. begin
  15883. pTDefRegMap(@Self)^.&set := $00000100;
  15884. end;
  15885. procedure TPMP_PMSTAT.clearIB0F; inline;
  15886. begin
  15887. pTDefRegMap(@Self)^.clr := $00000100;
  15888. end;
  15889. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  15890. begin
  15891. if thebits = 0 then
  15892. pTDefRegMap(@Self)^.clr := $00000100
  15893. else
  15894. pTDefRegMap(@Self)^.&set := $00000100;
  15895. end;
  15896. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  15897. begin
  15898. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15899. end;
  15900. procedure TPMP_PMSTAT.setIB1F; inline;
  15901. begin
  15902. pTDefRegMap(@Self)^.&set := $00000200;
  15903. end;
  15904. procedure TPMP_PMSTAT.clearIB1F; inline;
  15905. begin
  15906. pTDefRegMap(@Self)^.clr := $00000200;
  15907. end;
  15908. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  15909. begin
  15910. if thebits = 0 then
  15911. pTDefRegMap(@Self)^.clr := $00000200
  15912. else
  15913. pTDefRegMap(@Self)^.&set := $00000200;
  15914. end;
  15915. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  15916. begin
  15917. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15918. end;
  15919. procedure TPMP_PMSTAT.setIB2F; inline;
  15920. begin
  15921. pTDefRegMap(@Self)^.&set := $00000400;
  15922. end;
  15923. procedure TPMP_PMSTAT.clearIB2F; inline;
  15924. begin
  15925. pTDefRegMap(@Self)^.clr := $00000400;
  15926. end;
  15927. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  15928. begin
  15929. if thebits = 0 then
  15930. pTDefRegMap(@Self)^.clr := $00000400
  15931. else
  15932. pTDefRegMap(@Self)^.&set := $00000400;
  15933. end;
  15934. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  15935. begin
  15936. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15937. end;
  15938. procedure TPMP_PMSTAT.setIB3F; inline;
  15939. begin
  15940. pTDefRegMap(@Self)^.&set := $00000800;
  15941. end;
  15942. procedure TPMP_PMSTAT.clearIB3F; inline;
  15943. begin
  15944. pTDefRegMap(@Self)^.clr := $00000800;
  15945. end;
  15946. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  15947. begin
  15948. if thebits = 0 then
  15949. pTDefRegMap(@Self)^.clr := $00000800
  15950. else
  15951. pTDefRegMap(@Self)^.&set := $00000800;
  15952. end;
  15953. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  15954. begin
  15955. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15956. end;
  15957. procedure TPMP_PMSTAT.setIBOV; inline;
  15958. begin
  15959. pTDefRegMap(@Self)^.&set := $00004000;
  15960. end;
  15961. procedure TPMP_PMSTAT.clearIBOV; inline;
  15962. begin
  15963. pTDefRegMap(@Self)^.clr := $00004000;
  15964. end;
  15965. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  15966. begin
  15967. if thebits = 0 then
  15968. pTDefRegMap(@Self)^.clr := $00004000
  15969. else
  15970. pTDefRegMap(@Self)^.&set := $00004000;
  15971. end;
  15972. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  15973. begin
  15974. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15975. end;
  15976. procedure TPMP_PMSTAT.setIBF; inline;
  15977. begin
  15978. pTDefRegMap(@Self)^.&set := $00008000;
  15979. end;
  15980. procedure TPMP_PMSTAT.clearIBF; inline;
  15981. begin
  15982. pTDefRegMap(@Self)^.clr := $00008000;
  15983. end;
  15984. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  15985. begin
  15986. if thebits = 0 then
  15987. pTDefRegMap(@Self)^.clr := $00008000
  15988. else
  15989. pTDefRegMap(@Self)^.&set := $00008000;
  15990. end;
  15991. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  15992. begin
  15993. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15994. end;
  15995. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  15996. begin
  15997. pTDefRegMap(@Self)^.val := thebits;
  15998. end;
  15999. function TPMP_PMSTAT.getw : TBits_32; inline;
  16000. begin
  16001. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16002. end;
  16003. procedure TADC10_AD1CON1.setDONE; inline;
  16004. begin
  16005. pTDefRegMap(@Self)^.&set := $00000001;
  16006. end;
  16007. procedure TADC10_AD1CON1.clearDONE; inline;
  16008. begin
  16009. pTDefRegMap(@Self)^.clr := $00000001;
  16010. end;
  16011. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  16012. begin
  16013. if thebits = 0 then
  16014. pTDefRegMap(@Self)^.clr := $00000001
  16015. else
  16016. pTDefRegMap(@Self)^.&set := $00000001;
  16017. end;
  16018. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  16019. begin
  16020. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16021. end;
  16022. procedure TADC10_AD1CON1.setSAMP; inline;
  16023. begin
  16024. pTDefRegMap(@Self)^.&set := $00000002;
  16025. end;
  16026. procedure TADC10_AD1CON1.clearSAMP; inline;
  16027. begin
  16028. pTDefRegMap(@Self)^.clr := $00000002;
  16029. end;
  16030. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  16031. begin
  16032. if thebits = 0 then
  16033. pTDefRegMap(@Self)^.clr := $00000002
  16034. else
  16035. pTDefRegMap(@Self)^.&set := $00000002;
  16036. end;
  16037. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  16038. begin
  16039. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16040. end;
  16041. procedure TADC10_AD1CON1.setASAM; inline;
  16042. begin
  16043. pTDefRegMap(@Self)^.&set := $00000004;
  16044. end;
  16045. procedure TADC10_AD1CON1.clearASAM; inline;
  16046. begin
  16047. pTDefRegMap(@Self)^.clr := $00000004;
  16048. end;
  16049. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  16050. begin
  16051. if thebits = 0 then
  16052. pTDefRegMap(@Self)^.clr := $00000004
  16053. else
  16054. pTDefRegMap(@Self)^.&set := $00000004;
  16055. end;
  16056. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  16057. begin
  16058. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16059. end;
  16060. procedure TADC10_AD1CON1.setCLRASAM; inline;
  16061. begin
  16062. pTDefRegMap(@Self)^.&set := $00000010;
  16063. end;
  16064. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  16065. begin
  16066. pTDefRegMap(@Self)^.clr := $00000010;
  16067. end;
  16068. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  16069. begin
  16070. if thebits = 0 then
  16071. pTDefRegMap(@Self)^.clr := $00000010
  16072. else
  16073. pTDefRegMap(@Self)^.&set := $00000010;
  16074. end;
  16075. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  16076. begin
  16077. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16078. end;
  16079. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  16080. begin
  16081. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  16082. end;
  16083. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  16084. begin
  16085. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  16086. end;
  16087. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  16088. begin
  16089. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  16090. end;
  16091. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  16092. begin
  16093. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  16094. end;
  16095. procedure TADC10_AD1CON1.setSIDL; inline;
  16096. begin
  16097. pTDefRegMap(@Self)^.&set := $00002000;
  16098. end;
  16099. procedure TADC10_AD1CON1.clearSIDL; inline;
  16100. begin
  16101. pTDefRegMap(@Self)^.clr := $00002000;
  16102. end;
  16103. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  16104. begin
  16105. if thebits = 0 then
  16106. pTDefRegMap(@Self)^.clr := $00002000
  16107. else
  16108. pTDefRegMap(@Self)^.&set := $00002000;
  16109. end;
  16110. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  16111. begin
  16112. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16113. end;
  16114. procedure TADC10_AD1CON1.setON; inline;
  16115. begin
  16116. pTDefRegMap(@Self)^.&set := $00008000;
  16117. end;
  16118. procedure TADC10_AD1CON1.clearON; inline;
  16119. begin
  16120. pTDefRegMap(@Self)^.clr := $00008000;
  16121. end;
  16122. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  16123. begin
  16124. if thebits = 0 then
  16125. pTDefRegMap(@Self)^.clr := $00008000
  16126. else
  16127. pTDefRegMap(@Self)^.&set := $00008000;
  16128. end;
  16129. function TADC10_AD1CON1.getON : TBits_1; inline;
  16130. begin
  16131. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16132. end;
  16133. procedure TADC10_AD1CON1.setSSRC0; inline;
  16134. begin
  16135. pTDefRegMap(@Self)^.&set := $00000020;
  16136. end;
  16137. procedure TADC10_AD1CON1.clearSSRC0; inline;
  16138. begin
  16139. pTDefRegMap(@Self)^.clr := $00000020;
  16140. end;
  16141. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  16142. begin
  16143. if thebits = 0 then
  16144. pTDefRegMap(@Self)^.clr := $00000020
  16145. else
  16146. pTDefRegMap(@Self)^.&set := $00000020;
  16147. end;
  16148. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  16149. begin
  16150. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16151. end;
  16152. procedure TADC10_AD1CON1.setSSRC1; inline;
  16153. begin
  16154. pTDefRegMap(@Self)^.&set := $00000040;
  16155. end;
  16156. procedure TADC10_AD1CON1.clearSSRC1; inline;
  16157. begin
  16158. pTDefRegMap(@Self)^.clr := $00000040;
  16159. end;
  16160. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  16161. begin
  16162. if thebits = 0 then
  16163. pTDefRegMap(@Self)^.clr := $00000040
  16164. else
  16165. pTDefRegMap(@Self)^.&set := $00000040;
  16166. end;
  16167. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  16168. begin
  16169. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16170. end;
  16171. procedure TADC10_AD1CON1.setSSRC2; inline;
  16172. begin
  16173. pTDefRegMap(@Self)^.&set := $00000080;
  16174. end;
  16175. procedure TADC10_AD1CON1.clearSSRC2; inline;
  16176. begin
  16177. pTDefRegMap(@Self)^.clr := $00000080;
  16178. end;
  16179. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  16180. begin
  16181. if thebits = 0 then
  16182. pTDefRegMap(@Self)^.clr := $00000080
  16183. else
  16184. pTDefRegMap(@Self)^.&set := $00000080;
  16185. end;
  16186. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  16187. begin
  16188. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16189. end;
  16190. procedure TADC10_AD1CON1.setFORM0; inline;
  16191. begin
  16192. pTDefRegMap(@Self)^.&set := $00000100;
  16193. end;
  16194. procedure TADC10_AD1CON1.clearFORM0; inline;
  16195. begin
  16196. pTDefRegMap(@Self)^.clr := $00000100;
  16197. end;
  16198. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  16199. begin
  16200. if thebits = 0 then
  16201. pTDefRegMap(@Self)^.clr := $00000100
  16202. else
  16203. pTDefRegMap(@Self)^.&set := $00000100;
  16204. end;
  16205. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  16206. begin
  16207. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16208. end;
  16209. procedure TADC10_AD1CON1.setFORM1; inline;
  16210. begin
  16211. pTDefRegMap(@Self)^.&set := $00000200;
  16212. end;
  16213. procedure TADC10_AD1CON1.clearFORM1; inline;
  16214. begin
  16215. pTDefRegMap(@Self)^.clr := $00000200;
  16216. end;
  16217. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  16218. begin
  16219. if thebits = 0 then
  16220. pTDefRegMap(@Self)^.clr := $00000200
  16221. else
  16222. pTDefRegMap(@Self)^.&set := $00000200;
  16223. end;
  16224. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  16225. begin
  16226. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16227. end;
  16228. procedure TADC10_AD1CON1.setFORM2; inline;
  16229. begin
  16230. pTDefRegMap(@Self)^.&set := $00000400;
  16231. end;
  16232. procedure TADC10_AD1CON1.clearFORM2; inline;
  16233. begin
  16234. pTDefRegMap(@Self)^.clr := $00000400;
  16235. end;
  16236. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  16237. begin
  16238. if thebits = 0 then
  16239. pTDefRegMap(@Self)^.clr := $00000400
  16240. else
  16241. pTDefRegMap(@Self)^.&set := $00000400;
  16242. end;
  16243. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  16244. begin
  16245. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16246. end;
  16247. procedure TADC10_AD1CON1.setADSIDL; inline;
  16248. begin
  16249. pTDefRegMap(@Self)^.&set := $00002000;
  16250. end;
  16251. procedure TADC10_AD1CON1.clearADSIDL; inline;
  16252. begin
  16253. pTDefRegMap(@Self)^.clr := $00002000;
  16254. end;
  16255. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  16256. begin
  16257. if thebits = 0 then
  16258. pTDefRegMap(@Self)^.clr := $00002000
  16259. else
  16260. pTDefRegMap(@Self)^.&set := $00002000;
  16261. end;
  16262. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  16263. begin
  16264. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16265. end;
  16266. procedure TADC10_AD1CON1.setADON; inline;
  16267. begin
  16268. pTDefRegMap(@Self)^.&set := $00008000;
  16269. end;
  16270. procedure TADC10_AD1CON1.clearADON; inline;
  16271. begin
  16272. pTDefRegMap(@Self)^.clr := $00008000;
  16273. end;
  16274. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  16275. begin
  16276. if thebits = 0 then
  16277. pTDefRegMap(@Self)^.clr := $00008000
  16278. else
  16279. pTDefRegMap(@Self)^.&set := $00008000;
  16280. end;
  16281. function TADC10_AD1CON1.getADON : TBits_1; inline;
  16282. begin
  16283. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16284. end;
  16285. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  16286. begin
  16287. pTDefRegMap(@Self)^.val := thebits;
  16288. end;
  16289. function TADC10_AD1CON1.getw : TBits_32; inline;
  16290. begin
  16291. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16292. end;
  16293. procedure TADC10_AD1CON2.setALTS; inline;
  16294. begin
  16295. pTDefRegMap(@Self)^.&set := $00000001;
  16296. end;
  16297. procedure TADC10_AD1CON2.clearALTS; inline;
  16298. begin
  16299. pTDefRegMap(@Self)^.clr := $00000001;
  16300. end;
  16301. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  16302. begin
  16303. if thebits = 0 then
  16304. pTDefRegMap(@Self)^.clr := $00000001
  16305. else
  16306. pTDefRegMap(@Self)^.&set := $00000001;
  16307. end;
  16308. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  16309. begin
  16310. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16311. end;
  16312. procedure TADC10_AD1CON2.setBUFM; inline;
  16313. begin
  16314. pTDefRegMap(@Self)^.&set := $00000002;
  16315. end;
  16316. procedure TADC10_AD1CON2.clearBUFM; inline;
  16317. begin
  16318. pTDefRegMap(@Self)^.clr := $00000002;
  16319. end;
  16320. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  16321. begin
  16322. if thebits = 0 then
  16323. pTDefRegMap(@Self)^.clr := $00000002
  16324. else
  16325. pTDefRegMap(@Self)^.&set := $00000002;
  16326. end;
  16327. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  16328. begin
  16329. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16330. end;
  16331. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  16332. begin
  16333. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  16334. end;
  16335. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  16336. begin
  16337. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  16338. end;
  16339. procedure TADC10_AD1CON2.setBUFS; inline;
  16340. begin
  16341. pTDefRegMap(@Self)^.&set := $00000080;
  16342. end;
  16343. procedure TADC10_AD1CON2.clearBUFS; inline;
  16344. begin
  16345. pTDefRegMap(@Self)^.clr := $00000080;
  16346. end;
  16347. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  16348. begin
  16349. if thebits = 0 then
  16350. pTDefRegMap(@Self)^.clr := $00000080
  16351. else
  16352. pTDefRegMap(@Self)^.&set := $00000080;
  16353. end;
  16354. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  16355. begin
  16356. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16357. end;
  16358. procedure TADC10_AD1CON2.setCSCNA; inline;
  16359. begin
  16360. pTDefRegMap(@Self)^.&set := $00000400;
  16361. end;
  16362. procedure TADC10_AD1CON2.clearCSCNA; inline;
  16363. begin
  16364. pTDefRegMap(@Self)^.clr := $00000400;
  16365. end;
  16366. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  16367. begin
  16368. if thebits = 0 then
  16369. pTDefRegMap(@Self)^.clr := $00000400
  16370. else
  16371. pTDefRegMap(@Self)^.&set := $00000400;
  16372. end;
  16373. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  16374. begin
  16375. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16376. end;
  16377. procedure TADC10_AD1CON2.setOFFCAL; inline;
  16378. begin
  16379. pTDefRegMap(@Self)^.&set := $00001000;
  16380. end;
  16381. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  16382. begin
  16383. pTDefRegMap(@Self)^.clr := $00001000;
  16384. end;
  16385. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  16386. begin
  16387. if thebits = 0 then
  16388. pTDefRegMap(@Self)^.clr := $00001000
  16389. else
  16390. pTDefRegMap(@Self)^.&set := $00001000;
  16391. end;
  16392. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  16393. begin
  16394. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16395. end;
  16396. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  16397. begin
  16398. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  16399. end;
  16400. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  16401. begin
  16402. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  16403. end;
  16404. procedure TADC10_AD1CON2.setSMPI0; inline;
  16405. begin
  16406. pTDefRegMap(@Self)^.&set := $00000004;
  16407. end;
  16408. procedure TADC10_AD1CON2.clearSMPI0; inline;
  16409. begin
  16410. pTDefRegMap(@Self)^.clr := $00000004;
  16411. end;
  16412. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  16413. begin
  16414. if thebits = 0 then
  16415. pTDefRegMap(@Self)^.clr := $00000004
  16416. else
  16417. pTDefRegMap(@Self)^.&set := $00000004;
  16418. end;
  16419. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  16420. begin
  16421. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16422. end;
  16423. procedure TADC10_AD1CON2.setSMPI1; inline;
  16424. begin
  16425. pTDefRegMap(@Self)^.&set := $00000008;
  16426. end;
  16427. procedure TADC10_AD1CON2.clearSMPI1; inline;
  16428. begin
  16429. pTDefRegMap(@Self)^.clr := $00000008;
  16430. end;
  16431. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  16432. begin
  16433. if thebits = 0 then
  16434. pTDefRegMap(@Self)^.clr := $00000008
  16435. else
  16436. pTDefRegMap(@Self)^.&set := $00000008;
  16437. end;
  16438. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  16439. begin
  16440. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16441. end;
  16442. procedure TADC10_AD1CON2.setSMPI2; inline;
  16443. begin
  16444. pTDefRegMap(@Self)^.&set := $00000010;
  16445. end;
  16446. procedure TADC10_AD1CON2.clearSMPI2; inline;
  16447. begin
  16448. pTDefRegMap(@Self)^.clr := $00000010;
  16449. end;
  16450. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  16451. begin
  16452. if thebits = 0 then
  16453. pTDefRegMap(@Self)^.clr := $00000010
  16454. else
  16455. pTDefRegMap(@Self)^.&set := $00000010;
  16456. end;
  16457. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  16458. begin
  16459. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16460. end;
  16461. procedure TADC10_AD1CON2.setSMPI3; inline;
  16462. begin
  16463. pTDefRegMap(@Self)^.&set := $00000020;
  16464. end;
  16465. procedure TADC10_AD1CON2.clearSMPI3; inline;
  16466. begin
  16467. pTDefRegMap(@Self)^.clr := $00000020;
  16468. end;
  16469. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  16470. begin
  16471. if thebits = 0 then
  16472. pTDefRegMap(@Self)^.clr := $00000020
  16473. else
  16474. pTDefRegMap(@Self)^.&set := $00000020;
  16475. end;
  16476. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  16477. begin
  16478. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16479. end;
  16480. procedure TADC10_AD1CON2.setVCFG0; inline;
  16481. begin
  16482. pTDefRegMap(@Self)^.&set := $00002000;
  16483. end;
  16484. procedure TADC10_AD1CON2.clearVCFG0; inline;
  16485. begin
  16486. pTDefRegMap(@Self)^.clr := $00002000;
  16487. end;
  16488. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  16489. begin
  16490. if thebits = 0 then
  16491. pTDefRegMap(@Self)^.clr := $00002000
  16492. else
  16493. pTDefRegMap(@Self)^.&set := $00002000;
  16494. end;
  16495. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  16496. begin
  16497. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16498. end;
  16499. procedure TADC10_AD1CON2.setVCFG1; inline;
  16500. begin
  16501. pTDefRegMap(@Self)^.&set := $00004000;
  16502. end;
  16503. procedure TADC10_AD1CON2.clearVCFG1; inline;
  16504. begin
  16505. pTDefRegMap(@Self)^.clr := $00004000;
  16506. end;
  16507. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  16508. begin
  16509. if thebits = 0 then
  16510. pTDefRegMap(@Self)^.clr := $00004000
  16511. else
  16512. pTDefRegMap(@Self)^.&set := $00004000;
  16513. end;
  16514. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  16515. begin
  16516. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16517. end;
  16518. procedure TADC10_AD1CON2.setVCFG2; inline;
  16519. begin
  16520. pTDefRegMap(@Self)^.&set := $00008000;
  16521. end;
  16522. procedure TADC10_AD1CON2.clearVCFG2; inline;
  16523. begin
  16524. pTDefRegMap(@Self)^.clr := $00008000;
  16525. end;
  16526. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  16527. begin
  16528. if thebits = 0 then
  16529. pTDefRegMap(@Self)^.clr := $00008000
  16530. else
  16531. pTDefRegMap(@Self)^.&set := $00008000;
  16532. end;
  16533. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  16534. begin
  16535. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16536. end;
  16537. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  16538. begin
  16539. pTDefRegMap(@Self)^.val := thebits;
  16540. end;
  16541. function TADC10_AD1CON2.getw : TBits_32; inline;
  16542. begin
  16543. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16544. end;
  16545. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  16546. begin
  16547. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  16548. end;
  16549. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  16550. begin
  16551. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  16552. end;
  16553. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  16554. begin
  16555. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  16556. end;
  16557. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  16558. begin
  16559. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  16560. end;
  16561. procedure TADC10_AD1CON3.setADRC; inline;
  16562. begin
  16563. pTDefRegMap(@Self)^.&set := $00008000;
  16564. end;
  16565. procedure TADC10_AD1CON3.clearADRC; inline;
  16566. begin
  16567. pTDefRegMap(@Self)^.clr := $00008000;
  16568. end;
  16569. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  16570. begin
  16571. if thebits = 0 then
  16572. pTDefRegMap(@Self)^.clr := $00008000
  16573. else
  16574. pTDefRegMap(@Self)^.&set := $00008000;
  16575. end;
  16576. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  16577. begin
  16578. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16579. end;
  16580. procedure TADC10_AD1CON3.setADCS0; inline;
  16581. begin
  16582. pTDefRegMap(@Self)^.&set := $00000001;
  16583. end;
  16584. procedure TADC10_AD1CON3.clearADCS0; inline;
  16585. begin
  16586. pTDefRegMap(@Self)^.clr := $00000001;
  16587. end;
  16588. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  16589. begin
  16590. if thebits = 0 then
  16591. pTDefRegMap(@Self)^.clr := $00000001
  16592. else
  16593. pTDefRegMap(@Self)^.&set := $00000001;
  16594. end;
  16595. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  16596. begin
  16597. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16598. end;
  16599. procedure TADC10_AD1CON3.setADCS1; inline;
  16600. begin
  16601. pTDefRegMap(@Self)^.&set := $00000002;
  16602. end;
  16603. procedure TADC10_AD1CON3.clearADCS1; inline;
  16604. begin
  16605. pTDefRegMap(@Self)^.clr := $00000002;
  16606. end;
  16607. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  16608. begin
  16609. if thebits = 0 then
  16610. pTDefRegMap(@Self)^.clr := $00000002
  16611. else
  16612. pTDefRegMap(@Self)^.&set := $00000002;
  16613. end;
  16614. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  16615. begin
  16616. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16617. end;
  16618. procedure TADC10_AD1CON3.setADCS2; inline;
  16619. begin
  16620. pTDefRegMap(@Self)^.&set := $00000004;
  16621. end;
  16622. procedure TADC10_AD1CON3.clearADCS2; inline;
  16623. begin
  16624. pTDefRegMap(@Self)^.clr := $00000004;
  16625. end;
  16626. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  16627. begin
  16628. if thebits = 0 then
  16629. pTDefRegMap(@Self)^.clr := $00000004
  16630. else
  16631. pTDefRegMap(@Self)^.&set := $00000004;
  16632. end;
  16633. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  16634. begin
  16635. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16636. end;
  16637. procedure TADC10_AD1CON3.setADCS3; inline;
  16638. begin
  16639. pTDefRegMap(@Self)^.&set := $00000008;
  16640. end;
  16641. procedure TADC10_AD1CON3.clearADCS3; inline;
  16642. begin
  16643. pTDefRegMap(@Self)^.clr := $00000008;
  16644. end;
  16645. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  16646. begin
  16647. if thebits = 0 then
  16648. pTDefRegMap(@Self)^.clr := $00000008
  16649. else
  16650. pTDefRegMap(@Self)^.&set := $00000008;
  16651. end;
  16652. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  16653. begin
  16654. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16655. end;
  16656. procedure TADC10_AD1CON3.setADCS4; inline;
  16657. begin
  16658. pTDefRegMap(@Self)^.&set := $00000010;
  16659. end;
  16660. procedure TADC10_AD1CON3.clearADCS4; inline;
  16661. begin
  16662. pTDefRegMap(@Self)^.clr := $00000010;
  16663. end;
  16664. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  16665. begin
  16666. if thebits = 0 then
  16667. pTDefRegMap(@Self)^.clr := $00000010
  16668. else
  16669. pTDefRegMap(@Self)^.&set := $00000010;
  16670. end;
  16671. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  16672. begin
  16673. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16674. end;
  16675. procedure TADC10_AD1CON3.setADCS5; inline;
  16676. begin
  16677. pTDefRegMap(@Self)^.&set := $00000020;
  16678. end;
  16679. procedure TADC10_AD1CON3.clearADCS5; inline;
  16680. begin
  16681. pTDefRegMap(@Self)^.clr := $00000020;
  16682. end;
  16683. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  16684. begin
  16685. if thebits = 0 then
  16686. pTDefRegMap(@Self)^.clr := $00000020
  16687. else
  16688. pTDefRegMap(@Self)^.&set := $00000020;
  16689. end;
  16690. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  16691. begin
  16692. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16693. end;
  16694. procedure TADC10_AD1CON3.setADCS6; inline;
  16695. begin
  16696. pTDefRegMap(@Self)^.&set := $00000040;
  16697. end;
  16698. procedure TADC10_AD1CON3.clearADCS6; inline;
  16699. begin
  16700. pTDefRegMap(@Self)^.clr := $00000040;
  16701. end;
  16702. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  16703. begin
  16704. if thebits = 0 then
  16705. pTDefRegMap(@Self)^.clr := $00000040
  16706. else
  16707. pTDefRegMap(@Self)^.&set := $00000040;
  16708. end;
  16709. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  16710. begin
  16711. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16712. end;
  16713. procedure TADC10_AD1CON3.setADCS7; inline;
  16714. begin
  16715. pTDefRegMap(@Self)^.&set := $00000080;
  16716. end;
  16717. procedure TADC10_AD1CON3.clearADCS7; inline;
  16718. begin
  16719. pTDefRegMap(@Self)^.clr := $00000080;
  16720. end;
  16721. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  16722. begin
  16723. if thebits = 0 then
  16724. pTDefRegMap(@Self)^.clr := $00000080
  16725. else
  16726. pTDefRegMap(@Self)^.&set := $00000080;
  16727. end;
  16728. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  16729. begin
  16730. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16731. end;
  16732. procedure TADC10_AD1CON3.setSAMC0; inline;
  16733. begin
  16734. pTDefRegMap(@Self)^.&set := $00000100;
  16735. end;
  16736. procedure TADC10_AD1CON3.clearSAMC0; inline;
  16737. begin
  16738. pTDefRegMap(@Self)^.clr := $00000100;
  16739. end;
  16740. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  16741. begin
  16742. if thebits = 0 then
  16743. pTDefRegMap(@Self)^.clr := $00000100
  16744. else
  16745. pTDefRegMap(@Self)^.&set := $00000100;
  16746. end;
  16747. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  16748. begin
  16749. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16750. end;
  16751. procedure TADC10_AD1CON3.setSAMC1; inline;
  16752. begin
  16753. pTDefRegMap(@Self)^.&set := $00000200;
  16754. end;
  16755. procedure TADC10_AD1CON3.clearSAMC1; inline;
  16756. begin
  16757. pTDefRegMap(@Self)^.clr := $00000200;
  16758. end;
  16759. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  16760. begin
  16761. if thebits = 0 then
  16762. pTDefRegMap(@Self)^.clr := $00000200
  16763. else
  16764. pTDefRegMap(@Self)^.&set := $00000200;
  16765. end;
  16766. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  16767. begin
  16768. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16769. end;
  16770. procedure TADC10_AD1CON3.setSAMC2; inline;
  16771. begin
  16772. pTDefRegMap(@Self)^.&set := $00000400;
  16773. end;
  16774. procedure TADC10_AD1CON3.clearSAMC2; inline;
  16775. begin
  16776. pTDefRegMap(@Self)^.clr := $00000400;
  16777. end;
  16778. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  16779. begin
  16780. if thebits = 0 then
  16781. pTDefRegMap(@Self)^.clr := $00000400
  16782. else
  16783. pTDefRegMap(@Self)^.&set := $00000400;
  16784. end;
  16785. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  16786. begin
  16787. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16788. end;
  16789. procedure TADC10_AD1CON3.setSAMC3; inline;
  16790. begin
  16791. pTDefRegMap(@Self)^.&set := $00000800;
  16792. end;
  16793. procedure TADC10_AD1CON3.clearSAMC3; inline;
  16794. begin
  16795. pTDefRegMap(@Self)^.clr := $00000800;
  16796. end;
  16797. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  16798. begin
  16799. if thebits = 0 then
  16800. pTDefRegMap(@Self)^.clr := $00000800
  16801. else
  16802. pTDefRegMap(@Self)^.&set := $00000800;
  16803. end;
  16804. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  16805. begin
  16806. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16807. end;
  16808. procedure TADC10_AD1CON3.setSAMC4; inline;
  16809. begin
  16810. pTDefRegMap(@Self)^.&set := $00001000;
  16811. end;
  16812. procedure TADC10_AD1CON3.clearSAMC4; inline;
  16813. begin
  16814. pTDefRegMap(@Self)^.clr := $00001000;
  16815. end;
  16816. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  16817. begin
  16818. if thebits = 0 then
  16819. pTDefRegMap(@Self)^.clr := $00001000
  16820. else
  16821. pTDefRegMap(@Self)^.&set := $00001000;
  16822. end;
  16823. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  16824. begin
  16825. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16826. end;
  16827. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  16828. begin
  16829. pTDefRegMap(@Self)^.val := thebits;
  16830. end;
  16831. function TADC10_AD1CON3.getw : TBits_32; inline;
  16832. begin
  16833. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16834. end;
  16835. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  16836. begin
  16837. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16838. end;
  16839. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  16840. begin
  16841. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16842. end;
  16843. procedure TADC10_AD1CHS.setCH0NA; inline;
  16844. begin
  16845. pTDefRegMap(@Self)^.&set := $00800000;
  16846. end;
  16847. procedure TADC10_AD1CHS.clearCH0NA; inline;
  16848. begin
  16849. pTDefRegMap(@Self)^.clr := $00800000;
  16850. end;
  16851. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  16852. begin
  16853. if thebits = 0 then
  16854. pTDefRegMap(@Self)^.clr := $00800000
  16855. else
  16856. pTDefRegMap(@Self)^.&set := $00800000;
  16857. end;
  16858. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  16859. begin
  16860. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  16861. end;
  16862. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  16863. begin
  16864. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  16865. end;
  16866. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  16867. begin
  16868. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  16869. end;
  16870. procedure TADC10_AD1CHS.setCH0NB; inline;
  16871. begin
  16872. pTDefRegMap(@Self)^.&set := $80000000;
  16873. end;
  16874. procedure TADC10_AD1CHS.clearCH0NB; inline;
  16875. begin
  16876. pTDefRegMap(@Self)^.clr := $80000000;
  16877. end;
  16878. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  16879. begin
  16880. if thebits = 0 then
  16881. pTDefRegMap(@Self)^.clr := $80000000
  16882. else
  16883. pTDefRegMap(@Self)^.&set := $80000000;
  16884. end;
  16885. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  16886. begin
  16887. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  16888. end;
  16889. procedure TADC10_AD1CHS.setCH0SA0; inline;
  16890. begin
  16891. pTDefRegMap(@Self)^.&set := $00010000;
  16892. end;
  16893. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  16894. begin
  16895. pTDefRegMap(@Self)^.clr := $00010000;
  16896. end;
  16897. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  16898. begin
  16899. if thebits = 0 then
  16900. pTDefRegMap(@Self)^.clr := $00010000
  16901. else
  16902. pTDefRegMap(@Self)^.&set := $00010000;
  16903. end;
  16904. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  16905. begin
  16906. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  16907. end;
  16908. procedure TADC10_AD1CHS.setCH0SA1; inline;
  16909. begin
  16910. pTDefRegMap(@Self)^.&set := $00020000;
  16911. end;
  16912. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  16913. begin
  16914. pTDefRegMap(@Self)^.clr := $00020000;
  16915. end;
  16916. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  16917. begin
  16918. if thebits = 0 then
  16919. pTDefRegMap(@Self)^.clr := $00020000
  16920. else
  16921. pTDefRegMap(@Self)^.&set := $00020000;
  16922. end;
  16923. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  16924. begin
  16925. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  16926. end;
  16927. procedure TADC10_AD1CHS.setCH0SA2; inline;
  16928. begin
  16929. pTDefRegMap(@Self)^.&set := $00040000;
  16930. end;
  16931. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  16932. begin
  16933. pTDefRegMap(@Self)^.clr := $00040000;
  16934. end;
  16935. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  16936. begin
  16937. if thebits = 0 then
  16938. pTDefRegMap(@Self)^.clr := $00040000
  16939. else
  16940. pTDefRegMap(@Self)^.&set := $00040000;
  16941. end;
  16942. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  16943. begin
  16944. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  16945. end;
  16946. procedure TADC10_AD1CHS.setCH0SA3; inline;
  16947. begin
  16948. pTDefRegMap(@Self)^.&set := $00080000;
  16949. end;
  16950. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  16951. begin
  16952. pTDefRegMap(@Self)^.clr := $00080000;
  16953. end;
  16954. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  16955. begin
  16956. if thebits = 0 then
  16957. pTDefRegMap(@Self)^.clr := $00080000
  16958. else
  16959. pTDefRegMap(@Self)^.&set := $00080000;
  16960. end;
  16961. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  16962. begin
  16963. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  16964. end;
  16965. procedure TADC10_AD1CHS.setCH0SB0; inline;
  16966. begin
  16967. pTDefRegMap(@Self)^.&set := $01000000;
  16968. end;
  16969. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  16970. begin
  16971. pTDefRegMap(@Self)^.clr := $01000000;
  16972. end;
  16973. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  16974. begin
  16975. if thebits = 0 then
  16976. pTDefRegMap(@Self)^.clr := $01000000
  16977. else
  16978. pTDefRegMap(@Self)^.&set := $01000000;
  16979. end;
  16980. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  16981. begin
  16982. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  16983. end;
  16984. procedure TADC10_AD1CHS.setCH0SB1; inline;
  16985. begin
  16986. pTDefRegMap(@Self)^.&set := $02000000;
  16987. end;
  16988. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  16989. begin
  16990. pTDefRegMap(@Self)^.clr := $02000000;
  16991. end;
  16992. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  16993. begin
  16994. if thebits = 0 then
  16995. pTDefRegMap(@Self)^.clr := $02000000
  16996. else
  16997. pTDefRegMap(@Self)^.&set := $02000000;
  16998. end;
  16999. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  17000. begin
  17001. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  17002. end;
  17003. procedure TADC10_AD1CHS.setCH0SB2; inline;
  17004. begin
  17005. pTDefRegMap(@Self)^.&set := $04000000;
  17006. end;
  17007. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  17008. begin
  17009. pTDefRegMap(@Self)^.clr := $04000000;
  17010. end;
  17011. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  17012. begin
  17013. if thebits = 0 then
  17014. pTDefRegMap(@Self)^.clr := $04000000
  17015. else
  17016. pTDefRegMap(@Self)^.&set := $04000000;
  17017. end;
  17018. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  17019. begin
  17020. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  17021. end;
  17022. procedure TADC10_AD1CHS.setCH0SB3; inline;
  17023. begin
  17024. pTDefRegMap(@Self)^.&set := $08000000;
  17025. end;
  17026. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  17027. begin
  17028. pTDefRegMap(@Self)^.clr := $08000000;
  17029. end;
  17030. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  17031. begin
  17032. if thebits = 0 then
  17033. pTDefRegMap(@Self)^.clr := $08000000
  17034. else
  17035. pTDefRegMap(@Self)^.&set := $08000000;
  17036. end;
  17037. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  17038. begin
  17039. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17040. end;
  17041. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  17042. begin
  17043. pTDefRegMap(@Self)^.val := thebits;
  17044. end;
  17045. function TADC10_AD1CHS.getw : TBits_32; inline;
  17046. begin
  17047. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17048. end;
  17049. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  17050. begin
  17051. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  17052. end;
  17053. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  17054. begin
  17055. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  17056. end;
  17057. procedure TADC10_AD1CSSL.setCSSL0; inline;
  17058. begin
  17059. pTDefRegMap(@Self)^.&set := $00000001;
  17060. end;
  17061. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  17062. begin
  17063. pTDefRegMap(@Self)^.clr := $00000001;
  17064. end;
  17065. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  17066. begin
  17067. if thebits = 0 then
  17068. pTDefRegMap(@Self)^.clr := $00000001
  17069. else
  17070. pTDefRegMap(@Self)^.&set := $00000001;
  17071. end;
  17072. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  17073. begin
  17074. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17075. end;
  17076. procedure TADC10_AD1CSSL.setCSSL1; inline;
  17077. begin
  17078. pTDefRegMap(@Self)^.&set := $00000002;
  17079. end;
  17080. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  17081. begin
  17082. pTDefRegMap(@Self)^.clr := $00000002;
  17083. end;
  17084. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  17085. begin
  17086. if thebits = 0 then
  17087. pTDefRegMap(@Self)^.clr := $00000002
  17088. else
  17089. pTDefRegMap(@Self)^.&set := $00000002;
  17090. end;
  17091. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  17092. begin
  17093. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17094. end;
  17095. procedure TADC10_AD1CSSL.setCSSL2; inline;
  17096. begin
  17097. pTDefRegMap(@Self)^.&set := $00000004;
  17098. end;
  17099. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  17100. begin
  17101. pTDefRegMap(@Self)^.clr := $00000004;
  17102. end;
  17103. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  17104. begin
  17105. if thebits = 0 then
  17106. pTDefRegMap(@Self)^.clr := $00000004
  17107. else
  17108. pTDefRegMap(@Self)^.&set := $00000004;
  17109. end;
  17110. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  17111. begin
  17112. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17113. end;
  17114. procedure TADC10_AD1CSSL.setCSSL3; inline;
  17115. begin
  17116. pTDefRegMap(@Self)^.&set := $00000008;
  17117. end;
  17118. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  17119. begin
  17120. pTDefRegMap(@Self)^.clr := $00000008;
  17121. end;
  17122. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  17123. begin
  17124. if thebits = 0 then
  17125. pTDefRegMap(@Self)^.clr := $00000008
  17126. else
  17127. pTDefRegMap(@Self)^.&set := $00000008;
  17128. end;
  17129. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  17130. begin
  17131. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17132. end;
  17133. procedure TADC10_AD1CSSL.setCSSL4; inline;
  17134. begin
  17135. pTDefRegMap(@Self)^.&set := $00000010;
  17136. end;
  17137. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  17138. begin
  17139. pTDefRegMap(@Self)^.clr := $00000010;
  17140. end;
  17141. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  17142. begin
  17143. if thebits = 0 then
  17144. pTDefRegMap(@Self)^.clr := $00000010
  17145. else
  17146. pTDefRegMap(@Self)^.&set := $00000010;
  17147. end;
  17148. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  17149. begin
  17150. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17151. end;
  17152. procedure TADC10_AD1CSSL.setCSSL5; inline;
  17153. begin
  17154. pTDefRegMap(@Self)^.&set := $00000020;
  17155. end;
  17156. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  17157. begin
  17158. pTDefRegMap(@Self)^.clr := $00000020;
  17159. end;
  17160. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  17161. begin
  17162. if thebits = 0 then
  17163. pTDefRegMap(@Self)^.clr := $00000020
  17164. else
  17165. pTDefRegMap(@Self)^.&set := $00000020;
  17166. end;
  17167. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  17168. begin
  17169. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17170. end;
  17171. procedure TADC10_AD1CSSL.setCSSL6; inline;
  17172. begin
  17173. pTDefRegMap(@Self)^.&set := $00000040;
  17174. end;
  17175. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  17176. begin
  17177. pTDefRegMap(@Self)^.clr := $00000040;
  17178. end;
  17179. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  17180. begin
  17181. if thebits = 0 then
  17182. pTDefRegMap(@Self)^.clr := $00000040
  17183. else
  17184. pTDefRegMap(@Self)^.&set := $00000040;
  17185. end;
  17186. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  17187. begin
  17188. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17189. end;
  17190. procedure TADC10_AD1CSSL.setCSSL7; inline;
  17191. begin
  17192. pTDefRegMap(@Self)^.&set := $00000080;
  17193. end;
  17194. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  17195. begin
  17196. pTDefRegMap(@Self)^.clr := $00000080;
  17197. end;
  17198. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  17199. begin
  17200. if thebits = 0 then
  17201. pTDefRegMap(@Self)^.clr := $00000080
  17202. else
  17203. pTDefRegMap(@Self)^.&set := $00000080;
  17204. end;
  17205. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  17206. begin
  17207. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17208. end;
  17209. procedure TADC10_AD1CSSL.setCSSL8; inline;
  17210. begin
  17211. pTDefRegMap(@Self)^.&set := $00000100;
  17212. end;
  17213. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  17214. begin
  17215. pTDefRegMap(@Self)^.clr := $00000100;
  17216. end;
  17217. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  17218. begin
  17219. if thebits = 0 then
  17220. pTDefRegMap(@Self)^.clr := $00000100
  17221. else
  17222. pTDefRegMap(@Self)^.&set := $00000100;
  17223. end;
  17224. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  17225. begin
  17226. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17227. end;
  17228. procedure TADC10_AD1CSSL.setCSSL9; inline;
  17229. begin
  17230. pTDefRegMap(@Self)^.&set := $00000200;
  17231. end;
  17232. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  17233. begin
  17234. pTDefRegMap(@Self)^.clr := $00000200;
  17235. end;
  17236. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  17237. begin
  17238. if thebits = 0 then
  17239. pTDefRegMap(@Self)^.clr := $00000200
  17240. else
  17241. pTDefRegMap(@Self)^.&set := $00000200;
  17242. end;
  17243. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  17244. begin
  17245. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17246. end;
  17247. procedure TADC10_AD1CSSL.setCSSL10; inline;
  17248. begin
  17249. pTDefRegMap(@Self)^.&set := $00000400;
  17250. end;
  17251. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  17252. begin
  17253. pTDefRegMap(@Self)^.clr := $00000400;
  17254. end;
  17255. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  17256. begin
  17257. if thebits = 0 then
  17258. pTDefRegMap(@Self)^.clr := $00000400
  17259. else
  17260. pTDefRegMap(@Self)^.&set := $00000400;
  17261. end;
  17262. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  17263. begin
  17264. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17265. end;
  17266. procedure TADC10_AD1CSSL.setCSSL11; inline;
  17267. begin
  17268. pTDefRegMap(@Self)^.&set := $00000800;
  17269. end;
  17270. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  17271. begin
  17272. pTDefRegMap(@Self)^.clr := $00000800;
  17273. end;
  17274. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  17275. begin
  17276. if thebits = 0 then
  17277. pTDefRegMap(@Self)^.clr := $00000800
  17278. else
  17279. pTDefRegMap(@Self)^.&set := $00000800;
  17280. end;
  17281. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  17282. begin
  17283. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17284. end;
  17285. procedure TADC10_AD1CSSL.setCSSL12; inline;
  17286. begin
  17287. pTDefRegMap(@Self)^.&set := $00001000;
  17288. end;
  17289. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  17290. begin
  17291. pTDefRegMap(@Self)^.clr := $00001000;
  17292. end;
  17293. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  17294. begin
  17295. if thebits = 0 then
  17296. pTDefRegMap(@Self)^.clr := $00001000
  17297. else
  17298. pTDefRegMap(@Self)^.&set := $00001000;
  17299. end;
  17300. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  17301. begin
  17302. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17303. end;
  17304. procedure TADC10_AD1CSSL.setCSSL13; inline;
  17305. begin
  17306. pTDefRegMap(@Self)^.&set := $00002000;
  17307. end;
  17308. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  17309. begin
  17310. pTDefRegMap(@Self)^.clr := $00002000;
  17311. end;
  17312. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  17313. begin
  17314. if thebits = 0 then
  17315. pTDefRegMap(@Self)^.clr := $00002000
  17316. else
  17317. pTDefRegMap(@Self)^.&set := $00002000;
  17318. end;
  17319. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  17320. begin
  17321. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17322. end;
  17323. procedure TADC10_AD1CSSL.setCSSL14; inline;
  17324. begin
  17325. pTDefRegMap(@Self)^.&set := $00004000;
  17326. end;
  17327. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  17328. begin
  17329. pTDefRegMap(@Self)^.clr := $00004000;
  17330. end;
  17331. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  17332. begin
  17333. if thebits = 0 then
  17334. pTDefRegMap(@Self)^.clr := $00004000
  17335. else
  17336. pTDefRegMap(@Self)^.&set := $00004000;
  17337. end;
  17338. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  17339. begin
  17340. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17341. end;
  17342. procedure TADC10_AD1CSSL.setCSSL15; inline;
  17343. begin
  17344. pTDefRegMap(@Self)^.&set := $00008000;
  17345. end;
  17346. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  17347. begin
  17348. pTDefRegMap(@Self)^.clr := $00008000;
  17349. end;
  17350. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  17351. begin
  17352. if thebits = 0 then
  17353. pTDefRegMap(@Self)^.clr := $00008000
  17354. else
  17355. pTDefRegMap(@Self)^.&set := $00008000;
  17356. end;
  17357. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  17358. begin
  17359. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17360. end;
  17361. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  17362. begin
  17363. pTDefRegMap(@Self)^.val := thebits;
  17364. end;
  17365. function TADC10_AD1CSSL.getw : TBits_32; inline;
  17366. begin
  17367. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17368. end;
  17369. procedure TADC10_AD1PCFG.setPCFG(thebits : TBits_16); inline;
  17370. begin
  17371. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  17372. end;
  17373. function TADC10_AD1PCFG.getPCFG : TBits_16; inline;
  17374. begin
  17375. getPCFG := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  17376. end;
  17377. procedure TADC10_AD1PCFG.setPCFG0; inline;
  17378. begin
  17379. pTDefRegMap(@Self)^.&set := $00000001;
  17380. end;
  17381. procedure TADC10_AD1PCFG.clearPCFG0; inline;
  17382. begin
  17383. pTDefRegMap(@Self)^.clr := $00000001;
  17384. end;
  17385. procedure TADC10_AD1PCFG.setPCFG0(thebits : TBits_1); inline;
  17386. begin
  17387. if thebits = 0 then
  17388. pTDefRegMap(@Self)^.clr := $00000001
  17389. else
  17390. pTDefRegMap(@Self)^.&set := $00000001;
  17391. end;
  17392. function TADC10_AD1PCFG.getPCFG0 : TBits_1; inline;
  17393. begin
  17394. getPCFG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17395. end;
  17396. procedure TADC10_AD1PCFG.setPCFG1; inline;
  17397. begin
  17398. pTDefRegMap(@Self)^.&set := $00000002;
  17399. end;
  17400. procedure TADC10_AD1PCFG.clearPCFG1; inline;
  17401. begin
  17402. pTDefRegMap(@Self)^.clr := $00000002;
  17403. end;
  17404. procedure TADC10_AD1PCFG.setPCFG1(thebits : TBits_1); inline;
  17405. begin
  17406. if thebits = 0 then
  17407. pTDefRegMap(@Self)^.clr := $00000002
  17408. else
  17409. pTDefRegMap(@Self)^.&set := $00000002;
  17410. end;
  17411. function TADC10_AD1PCFG.getPCFG1 : TBits_1; inline;
  17412. begin
  17413. getPCFG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17414. end;
  17415. procedure TADC10_AD1PCFG.setPCFG2; inline;
  17416. begin
  17417. pTDefRegMap(@Self)^.&set := $00000004;
  17418. end;
  17419. procedure TADC10_AD1PCFG.clearPCFG2; inline;
  17420. begin
  17421. pTDefRegMap(@Self)^.clr := $00000004;
  17422. end;
  17423. procedure TADC10_AD1PCFG.setPCFG2(thebits : TBits_1); inline;
  17424. begin
  17425. if thebits = 0 then
  17426. pTDefRegMap(@Self)^.clr := $00000004
  17427. else
  17428. pTDefRegMap(@Self)^.&set := $00000004;
  17429. end;
  17430. function TADC10_AD1PCFG.getPCFG2 : TBits_1; inline;
  17431. begin
  17432. getPCFG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17433. end;
  17434. procedure TADC10_AD1PCFG.setPCFG3; inline;
  17435. begin
  17436. pTDefRegMap(@Self)^.&set := $00000008;
  17437. end;
  17438. procedure TADC10_AD1PCFG.clearPCFG3; inline;
  17439. begin
  17440. pTDefRegMap(@Self)^.clr := $00000008;
  17441. end;
  17442. procedure TADC10_AD1PCFG.setPCFG3(thebits : TBits_1); inline;
  17443. begin
  17444. if thebits = 0 then
  17445. pTDefRegMap(@Self)^.clr := $00000008
  17446. else
  17447. pTDefRegMap(@Self)^.&set := $00000008;
  17448. end;
  17449. function TADC10_AD1PCFG.getPCFG3 : TBits_1; inline;
  17450. begin
  17451. getPCFG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17452. end;
  17453. procedure TADC10_AD1PCFG.setPCFG4; inline;
  17454. begin
  17455. pTDefRegMap(@Self)^.&set := $00000010;
  17456. end;
  17457. procedure TADC10_AD1PCFG.clearPCFG4; inline;
  17458. begin
  17459. pTDefRegMap(@Self)^.clr := $00000010;
  17460. end;
  17461. procedure TADC10_AD1PCFG.setPCFG4(thebits : TBits_1); inline;
  17462. begin
  17463. if thebits = 0 then
  17464. pTDefRegMap(@Self)^.clr := $00000010
  17465. else
  17466. pTDefRegMap(@Self)^.&set := $00000010;
  17467. end;
  17468. function TADC10_AD1PCFG.getPCFG4 : TBits_1; inline;
  17469. begin
  17470. getPCFG4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17471. end;
  17472. procedure TADC10_AD1PCFG.setPCFG5; inline;
  17473. begin
  17474. pTDefRegMap(@Self)^.&set := $00000020;
  17475. end;
  17476. procedure TADC10_AD1PCFG.clearPCFG5; inline;
  17477. begin
  17478. pTDefRegMap(@Self)^.clr := $00000020;
  17479. end;
  17480. procedure TADC10_AD1PCFG.setPCFG5(thebits : TBits_1); inline;
  17481. begin
  17482. if thebits = 0 then
  17483. pTDefRegMap(@Self)^.clr := $00000020
  17484. else
  17485. pTDefRegMap(@Self)^.&set := $00000020;
  17486. end;
  17487. function TADC10_AD1PCFG.getPCFG5 : TBits_1; inline;
  17488. begin
  17489. getPCFG5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17490. end;
  17491. procedure TADC10_AD1PCFG.setPCFG6; inline;
  17492. begin
  17493. pTDefRegMap(@Self)^.&set := $00000040;
  17494. end;
  17495. procedure TADC10_AD1PCFG.clearPCFG6; inline;
  17496. begin
  17497. pTDefRegMap(@Self)^.clr := $00000040;
  17498. end;
  17499. procedure TADC10_AD1PCFG.setPCFG6(thebits : TBits_1); inline;
  17500. begin
  17501. if thebits = 0 then
  17502. pTDefRegMap(@Self)^.clr := $00000040
  17503. else
  17504. pTDefRegMap(@Self)^.&set := $00000040;
  17505. end;
  17506. function TADC10_AD1PCFG.getPCFG6 : TBits_1; inline;
  17507. begin
  17508. getPCFG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17509. end;
  17510. procedure TADC10_AD1PCFG.setPCFG7; inline;
  17511. begin
  17512. pTDefRegMap(@Self)^.&set := $00000080;
  17513. end;
  17514. procedure TADC10_AD1PCFG.clearPCFG7; inline;
  17515. begin
  17516. pTDefRegMap(@Self)^.clr := $00000080;
  17517. end;
  17518. procedure TADC10_AD1PCFG.setPCFG7(thebits : TBits_1); inline;
  17519. begin
  17520. if thebits = 0 then
  17521. pTDefRegMap(@Self)^.clr := $00000080
  17522. else
  17523. pTDefRegMap(@Self)^.&set := $00000080;
  17524. end;
  17525. function TADC10_AD1PCFG.getPCFG7 : TBits_1; inline;
  17526. begin
  17527. getPCFG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17528. end;
  17529. procedure TADC10_AD1PCFG.setPCFG8; inline;
  17530. begin
  17531. pTDefRegMap(@Self)^.&set := $00000100;
  17532. end;
  17533. procedure TADC10_AD1PCFG.clearPCFG8; inline;
  17534. begin
  17535. pTDefRegMap(@Self)^.clr := $00000100;
  17536. end;
  17537. procedure TADC10_AD1PCFG.setPCFG8(thebits : TBits_1); inline;
  17538. begin
  17539. if thebits = 0 then
  17540. pTDefRegMap(@Self)^.clr := $00000100
  17541. else
  17542. pTDefRegMap(@Self)^.&set := $00000100;
  17543. end;
  17544. function TADC10_AD1PCFG.getPCFG8 : TBits_1; inline;
  17545. begin
  17546. getPCFG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17547. end;
  17548. procedure TADC10_AD1PCFG.setPCFG9; inline;
  17549. begin
  17550. pTDefRegMap(@Self)^.&set := $00000200;
  17551. end;
  17552. procedure TADC10_AD1PCFG.clearPCFG9; inline;
  17553. begin
  17554. pTDefRegMap(@Self)^.clr := $00000200;
  17555. end;
  17556. procedure TADC10_AD1PCFG.setPCFG9(thebits : TBits_1); inline;
  17557. begin
  17558. if thebits = 0 then
  17559. pTDefRegMap(@Self)^.clr := $00000200
  17560. else
  17561. pTDefRegMap(@Self)^.&set := $00000200;
  17562. end;
  17563. function TADC10_AD1PCFG.getPCFG9 : TBits_1; inline;
  17564. begin
  17565. getPCFG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17566. end;
  17567. procedure TADC10_AD1PCFG.setPCFG10; inline;
  17568. begin
  17569. pTDefRegMap(@Self)^.&set := $00000400;
  17570. end;
  17571. procedure TADC10_AD1PCFG.clearPCFG10; inline;
  17572. begin
  17573. pTDefRegMap(@Self)^.clr := $00000400;
  17574. end;
  17575. procedure TADC10_AD1PCFG.setPCFG10(thebits : TBits_1); inline;
  17576. begin
  17577. if thebits = 0 then
  17578. pTDefRegMap(@Self)^.clr := $00000400
  17579. else
  17580. pTDefRegMap(@Self)^.&set := $00000400;
  17581. end;
  17582. function TADC10_AD1PCFG.getPCFG10 : TBits_1; inline;
  17583. begin
  17584. getPCFG10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17585. end;
  17586. procedure TADC10_AD1PCFG.setPCFG11; inline;
  17587. begin
  17588. pTDefRegMap(@Self)^.&set := $00000800;
  17589. end;
  17590. procedure TADC10_AD1PCFG.clearPCFG11; inline;
  17591. begin
  17592. pTDefRegMap(@Self)^.clr := $00000800;
  17593. end;
  17594. procedure TADC10_AD1PCFG.setPCFG11(thebits : TBits_1); inline;
  17595. begin
  17596. if thebits = 0 then
  17597. pTDefRegMap(@Self)^.clr := $00000800
  17598. else
  17599. pTDefRegMap(@Self)^.&set := $00000800;
  17600. end;
  17601. function TADC10_AD1PCFG.getPCFG11 : TBits_1; inline;
  17602. begin
  17603. getPCFG11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17604. end;
  17605. procedure TADC10_AD1PCFG.setPCFG12; inline;
  17606. begin
  17607. pTDefRegMap(@Self)^.&set := $00001000;
  17608. end;
  17609. procedure TADC10_AD1PCFG.clearPCFG12; inline;
  17610. begin
  17611. pTDefRegMap(@Self)^.clr := $00001000;
  17612. end;
  17613. procedure TADC10_AD1PCFG.setPCFG12(thebits : TBits_1); inline;
  17614. begin
  17615. if thebits = 0 then
  17616. pTDefRegMap(@Self)^.clr := $00001000
  17617. else
  17618. pTDefRegMap(@Self)^.&set := $00001000;
  17619. end;
  17620. function TADC10_AD1PCFG.getPCFG12 : TBits_1; inline;
  17621. begin
  17622. getPCFG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17623. end;
  17624. procedure TADC10_AD1PCFG.setPCFG13; inline;
  17625. begin
  17626. pTDefRegMap(@Self)^.&set := $00002000;
  17627. end;
  17628. procedure TADC10_AD1PCFG.clearPCFG13; inline;
  17629. begin
  17630. pTDefRegMap(@Self)^.clr := $00002000;
  17631. end;
  17632. procedure TADC10_AD1PCFG.setPCFG13(thebits : TBits_1); inline;
  17633. begin
  17634. if thebits = 0 then
  17635. pTDefRegMap(@Self)^.clr := $00002000
  17636. else
  17637. pTDefRegMap(@Self)^.&set := $00002000;
  17638. end;
  17639. function TADC10_AD1PCFG.getPCFG13 : TBits_1; inline;
  17640. begin
  17641. getPCFG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17642. end;
  17643. procedure TADC10_AD1PCFG.setPCFG14; inline;
  17644. begin
  17645. pTDefRegMap(@Self)^.&set := $00004000;
  17646. end;
  17647. procedure TADC10_AD1PCFG.clearPCFG14; inline;
  17648. begin
  17649. pTDefRegMap(@Self)^.clr := $00004000;
  17650. end;
  17651. procedure TADC10_AD1PCFG.setPCFG14(thebits : TBits_1); inline;
  17652. begin
  17653. if thebits = 0 then
  17654. pTDefRegMap(@Self)^.clr := $00004000
  17655. else
  17656. pTDefRegMap(@Self)^.&set := $00004000;
  17657. end;
  17658. function TADC10_AD1PCFG.getPCFG14 : TBits_1; inline;
  17659. begin
  17660. getPCFG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17661. end;
  17662. procedure TADC10_AD1PCFG.setPCFG15; inline;
  17663. begin
  17664. pTDefRegMap(@Self)^.&set := $00008000;
  17665. end;
  17666. procedure TADC10_AD1PCFG.clearPCFG15; inline;
  17667. begin
  17668. pTDefRegMap(@Self)^.clr := $00008000;
  17669. end;
  17670. procedure TADC10_AD1PCFG.setPCFG15(thebits : TBits_1); inline;
  17671. begin
  17672. if thebits = 0 then
  17673. pTDefRegMap(@Self)^.clr := $00008000
  17674. else
  17675. pTDefRegMap(@Self)^.&set := $00008000;
  17676. end;
  17677. function TADC10_AD1PCFG.getPCFG15 : TBits_1; inline;
  17678. begin
  17679. getPCFG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17680. end;
  17681. procedure TADC10_AD1PCFG.setw(thebits : TBits_32); inline;
  17682. begin
  17683. pTDefRegMap(@Self)^.val := thebits;
  17684. end;
  17685. function TADC10_AD1PCFG.getw : TBits_32; inline;
  17686. begin
  17687. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17688. end;
  17689. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  17690. begin
  17691. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  17692. end;
  17693. function TCVR_CVRCON.getCVR : TBits_4; inline;
  17694. begin
  17695. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  17696. end;
  17697. procedure TCVR_CVRCON.setCVRSS; inline;
  17698. begin
  17699. pTDefRegMap(@Self)^.&set := $00000010;
  17700. end;
  17701. procedure TCVR_CVRCON.clearCVRSS; inline;
  17702. begin
  17703. pTDefRegMap(@Self)^.clr := $00000010;
  17704. end;
  17705. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  17706. begin
  17707. if thebits = 0 then
  17708. pTDefRegMap(@Self)^.clr := $00000010
  17709. else
  17710. pTDefRegMap(@Self)^.&set := $00000010;
  17711. end;
  17712. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  17713. begin
  17714. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17715. end;
  17716. procedure TCVR_CVRCON.setCVRR; inline;
  17717. begin
  17718. pTDefRegMap(@Self)^.&set := $00000020;
  17719. end;
  17720. procedure TCVR_CVRCON.clearCVRR; inline;
  17721. begin
  17722. pTDefRegMap(@Self)^.clr := $00000020;
  17723. end;
  17724. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  17725. begin
  17726. if thebits = 0 then
  17727. pTDefRegMap(@Self)^.clr := $00000020
  17728. else
  17729. pTDefRegMap(@Self)^.&set := $00000020;
  17730. end;
  17731. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  17732. begin
  17733. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17734. end;
  17735. procedure TCVR_CVRCON.setCVROE; inline;
  17736. begin
  17737. pTDefRegMap(@Self)^.&set := $00000040;
  17738. end;
  17739. procedure TCVR_CVRCON.clearCVROE; inline;
  17740. begin
  17741. pTDefRegMap(@Self)^.clr := $00000040;
  17742. end;
  17743. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  17744. begin
  17745. if thebits = 0 then
  17746. pTDefRegMap(@Self)^.clr := $00000040
  17747. else
  17748. pTDefRegMap(@Self)^.&set := $00000040;
  17749. end;
  17750. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  17751. begin
  17752. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17753. end;
  17754. procedure TCVR_CVRCON.setON; inline;
  17755. begin
  17756. pTDefRegMap(@Self)^.&set := $00008000;
  17757. end;
  17758. procedure TCVR_CVRCON.clearON; inline;
  17759. begin
  17760. pTDefRegMap(@Self)^.clr := $00008000;
  17761. end;
  17762. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  17763. begin
  17764. if thebits = 0 then
  17765. pTDefRegMap(@Self)^.clr := $00008000
  17766. else
  17767. pTDefRegMap(@Self)^.&set := $00008000;
  17768. end;
  17769. function TCVR_CVRCON.getON : TBits_1; inline;
  17770. begin
  17771. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17772. end;
  17773. procedure TCVR_CVRCON.setCVR0; inline;
  17774. begin
  17775. pTDefRegMap(@Self)^.&set := $00000001;
  17776. end;
  17777. procedure TCVR_CVRCON.clearCVR0; inline;
  17778. begin
  17779. pTDefRegMap(@Self)^.clr := $00000001;
  17780. end;
  17781. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  17782. begin
  17783. if thebits = 0 then
  17784. pTDefRegMap(@Self)^.clr := $00000001
  17785. else
  17786. pTDefRegMap(@Self)^.&set := $00000001;
  17787. end;
  17788. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  17789. begin
  17790. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17791. end;
  17792. procedure TCVR_CVRCON.setCVR1; inline;
  17793. begin
  17794. pTDefRegMap(@Self)^.&set := $00000002;
  17795. end;
  17796. procedure TCVR_CVRCON.clearCVR1; inline;
  17797. begin
  17798. pTDefRegMap(@Self)^.clr := $00000002;
  17799. end;
  17800. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  17801. begin
  17802. if thebits = 0 then
  17803. pTDefRegMap(@Self)^.clr := $00000002
  17804. else
  17805. pTDefRegMap(@Self)^.&set := $00000002;
  17806. end;
  17807. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  17808. begin
  17809. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17810. end;
  17811. procedure TCVR_CVRCON.setCVR2; inline;
  17812. begin
  17813. pTDefRegMap(@Self)^.&set := $00000004;
  17814. end;
  17815. procedure TCVR_CVRCON.clearCVR2; inline;
  17816. begin
  17817. pTDefRegMap(@Self)^.clr := $00000004;
  17818. end;
  17819. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  17820. begin
  17821. if thebits = 0 then
  17822. pTDefRegMap(@Self)^.clr := $00000004
  17823. else
  17824. pTDefRegMap(@Self)^.&set := $00000004;
  17825. end;
  17826. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  17827. begin
  17828. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17829. end;
  17830. procedure TCVR_CVRCON.setCVR3; inline;
  17831. begin
  17832. pTDefRegMap(@Self)^.&set := $00000008;
  17833. end;
  17834. procedure TCVR_CVRCON.clearCVR3; inline;
  17835. begin
  17836. pTDefRegMap(@Self)^.clr := $00000008;
  17837. end;
  17838. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  17839. begin
  17840. if thebits = 0 then
  17841. pTDefRegMap(@Self)^.clr := $00000008
  17842. else
  17843. pTDefRegMap(@Self)^.&set := $00000008;
  17844. end;
  17845. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  17846. begin
  17847. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17848. end;
  17849. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  17850. begin
  17851. pTDefRegMap(@Self)^.val := thebits;
  17852. end;
  17853. function TCVR_CVRCON.getw : TBits_32; inline;
  17854. begin
  17855. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17856. end;
  17857. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  17858. begin
  17859. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17860. end;
  17861. function TCMP_CM1CON.getCCH : TBits_2; inline;
  17862. begin
  17863. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17864. end;
  17865. procedure TCMP_CM1CON.setCREF; inline;
  17866. begin
  17867. pTDefRegMap(@Self)^.&set := $00000010;
  17868. end;
  17869. procedure TCMP_CM1CON.clearCREF; inline;
  17870. begin
  17871. pTDefRegMap(@Self)^.clr := $00000010;
  17872. end;
  17873. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  17874. begin
  17875. if thebits = 0 then
  17876. pTDefRegMap(@Self)^.clr := $00000010
  17877. else
  17878. pTDefRegMap(@Self)^.&set := $00000010;
  17879. end;
  17880. function TCMP_CM1CON.getCREF : TBits_1; inline;
  17881. begin
  17882. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17883. end;
  17884. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  17885. begin
  17886. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  17887. end;
  17888. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  17889. begin
  17890. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  17891. end;
  17892. procedure TCMP_CM1CON.setCOUT; inline;
  17893. begin
  17894. pTDefRegMap(@Self)^.&set := $00000100;
  17895. end;
  17896. procedure TCMP_CM1CON.clearCOUT; inline;
  17897. begin
  17898. pTDefRegMap(@Self)^.clr := $00000100;
  17899. end;
  17900. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  17901. begin
  17902. if thebits = 0 then
  17903. pTDefRegMap(@Self)^.clr := $00000100
  17904. else
  17905. pTDefRegMap(@Self)^.&set := $00000100;
  17906. end;
  17907. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  17908. begin
  17909. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17910. end;
  17911. procedure TCMP_CM1CON.setCPOL; inline;
  17912. begin
  17913. pTDefRegMap(@Self)^.&set := $00002000;
  17914. end;
  17915. procedure TCMP_CM1CON.clearCPOL; inline;
  17916. begin
  17917. pTDefRegMap(@Self)^.clr := $00002000;
  17918. end;
  17919. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  17920. begin
  17921. if thebits = 0 then
  17922. pTDefRegMap(@Self)^.clr := $00002000
  17923. else
  17924. pTDefRegMap(@Self)^.&set := $00002000;
  17925. end;
  17926. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  17927. begin
  17928. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17929. end;
  17930. procedure TCMP_CM1CON.setCOE; inline;
  17931. begin
  17932. pTDefRegMap(@Self)^.&set := $00004000;
  17933. end;
  17934. procedure TCMP_CM1CON.clearCOE; inline;
  17935. begin
  17936. pTDefRegMap(@Self)^.clr := $00004000;
  17937. end;
  17938. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  17939. begin
  17940. if thebits = 0 then
  17941. pTDefRegMap(@Self)^.clr := $00004000
  17942. else
  17943. pTDefRegMap(@Self)^.&set := $00004000;
  17944. end;
  17945. function TCMP_CM1CON.getCOE : TBits_1; inline;
  17946. begin
  17947. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17948. end;
  17949. procedure TCMP_CM1CON.setON; inline;
  17950. begin
  17951. pTDefRegMap(@Self)^.&set := $00008000;
  17952. end;
  17953. procedure TCMP_CM1CON.clearON; inline;
  17954. begin
  17955. pTDefRegMap(@Self)^.clr := $00008000;
  17956. end;
  17957. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  17958. begin
  17959. if thebits = 0 then
  17960. pTDefRegMap(@Self)^.clr := $00008000
  17961. else
  17962. pTDefRegMap(@Self)^.&set := $00008000;
  17963. end;
  17964. function TCMP_CM1CON.getON : TBits_1; inline;
  17965. begin
  17966. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17967. end;
  17968. procedure TCMP_CM1CON.setCCH0; inline;
  17969. begin
  17970. pTDefRegMap(@Self)^.&set := $00000001;
  17971. end;
  17972. procedure TCMP_CM1CON.clearCCH0; inline;
  17973. begin
  17974. pTDefRegMap(@Self)^.clr := $00000001;
  17975. end;
  17976. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  17977. begin
  17978. if thebits = 0 then
  17979. pTDefRegMap(@Self)^.clr := $00000001
  17980. else
  17981. pTDefRegMap(@Self)^.&set := $00000001;
  17982. end;
  17983. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  17984. begin
  17985. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17986. end;
  17987. procedure TCMP_CM1CON.setCCH1; inline;
  17988. begin
  17989. pTDefRegMap(@Self)^.&set := $00000002;
  17990. end;
  17991. procedure TCMP_CM1CON.clearCCH1; inline;
  17992. begin
  17993. pTDefRegMap(@Self)^.clr := $00000002;
  17994. end;
  17995. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  17996. begin
  17997. if thebits = 0 then
  17998. pTDefRegMap(@Self)^.clr := $00000002
  17999. else
  18000. pTDefRegMap(@Self)^.&set := $00000002;
  18001. end;
  18002. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  18003. begin
  18004. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18005. end;
  18006. procedure TCMP_CM1CON.setEVPOL0; inline;
  18007. begin
  18008. pTDefRegMap(@Self)^.&set := $00000040;
  18009. end;
  18010. procedure TCMP_CM1CON.clearEVPOL0; inline;
  18011. begin
  18012. pTDefRegMap(@Self)^.clr := $00000040;
  18013. end;
  18014. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  18015. begin
  18016. if thebits = 0 then
  18017. pTDefRegMap(@Self)^.clr := $00000040
  18018. else
  18019. pTDefRegMap(@Self)^.&set := $00000040;
  18020. end;
  18021. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  18022. begin
  18023. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18024. end;
  18025. procedure TCMP_CM1CON.setEVPOL1; inline;
  18026. begin
  18027. pTDefRegMap(@Self)^.&set := $00000080;
  18028. end;
  18029. procedure TCMP_CM1CON.clearEVPOL1; inline;
  18030. begin
  18031. pTDefRegMap(@Self)^.clr := $00000080;
  18032. end;
  18033. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  18034. begin
  18035. if thebits = 0 then
  18036. pTDefRegMap(@Self)^.clr := $00000080
  18037. else
  18038. pTDefRegMap(@Self)^.&set := $00000080;
  18039. end;
  18040. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  18041. begin
  18042. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18043. end;
  18044. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  18045. begin
  18046. pTDefRegMap(@Self)^.val := thebits;
  18047. end;
  18048. function TCMP_CM1CON.getw : TBits_32; inline;
  18049. begin
  18050. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18051. end;
  18052. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  18053. begin
  18054. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  18055. end;
  18056. function TCMP_CM2CON.getCCH : TBits_2; inline;
  18057. begin
  18058. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  18059. end;
  18060. procedure TCMP_CM2CON.setCREF; inline;
  18061. begin
  18062. pTDefRegMap(@Self)^.&set := $00000010;
  18063. end;
  18064. procedure TCMP_CM2CON.clearCREF; inline;
  18065. begin
  18066. pTDefRegMap(@Self)^.clr := $00000010;
  18067. end;
  18068. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  18069. begin
  18070. if thebits = 0 then
  18071. pTDefRegMap(@Self)^.clr := $00000010
  18072. else
  18073. pTDefRegMap(@Self)^.&set := $00000010;
  18074. end;
  18075. function TCMP_CM2CON.getCREF : TBits_1; inline;
  18076. begin
  18077. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18078. end;
  18079. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  18080. begin
  18081. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18082. end;
  18083. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  18084. begin
  18085. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18086. end;
  18087. procedure TCMP_CM2CON.setCOUT; inline;
  18088. begin
  18089. pTDefRegMap(@Self)^.&set := $00000100;
  18090. end;
  18091. procedure TCMP_CM2CON.clearCOUT; inline;
  18092. begin
  18093. pTDefRegMap(@Self)^.clr := $00000100;
  18094. end;
  18095. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  18096. begin
  18097. if thebits = 0 then
  18098. pTDefRegMap(@Self)^.clr := $00000100
  18099. else
  18100. pTDefRegMap(@Self)^.&set := $00000100;
  18101. end;
  18102. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  18103. begin
  18104. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18105. end;
  18106. procedure TCMP_CM2CON.setCPOL; inline;
  18107. begin
  18108. pTDefRegMap(@Self)^.&set := $00002000;
  18109. end;
  18110. procedure TCMP_CM2CON.clearCPOL; inline;
  18111. begin
  18112. pTDefRegMap(@Self)^.clr := $00002000;
  18113. end;
  18114. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  18115. begin
  18116. if thebits = 0 then
  18117. pTDefRegMap(@Self)^.clr := $00002000
  18118. else
  18119. pTDefRegMap(@Self)^.&set := $00002000;
  18120. end;
  18121. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  18122. begin
  18123. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18124. end;
  18125. procedure TCMP_CM2CON.setCOE; inline;
  18126. begin
  18127. pTDefRegMap(@Self)^.&set := $00004000;
  18128. end;
  18129. procedure TCMP_CM2CON.clearCOE; inline;
  18130. begin
  18131. pTDefRegMap(@Self)^.clr := $00004000;
  18132. end;
  18133. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  18134. begin
  18135. if thebits = 0 then
  18136. pTDefRegMap(@Self)^.clr := $00004000
  18137. else
  18138. pTDefRegMap(@Self)^.&set := $00004000;
  18139. end;
  18140. function TCMP_CM2CON.getCOE : TBits_1; inline;
  18141. begin
  18142. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18143. end;
  18144. procedure TCMP_CM2CON.setON; inline;
  18145. begin
  18146. pTDefRegMap(@Self)^.&set := $00008000;
  18147. end;
  18148. procedure TCMP_CM2CON.clearON; inline;
  18149. begin
  18150. pTDefRegMap(@Self)^.clr := $00008000;
  18151. end;
  18152. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  18153. begin
  18154. if thebits = 0 then
  18155. pTDefRegMap(@Self)^.clr := $00008000
  18156. else
  18157. pTDefRegMap(@Self)^.&set := $00008000;
  18158. end;
  18159. function TCMP_CM2CON.getON : TBits_1; inline;
  18160. begin
  18161. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18162. end;
  18163. procedure TCMP_CM2CON.setCCH0; inline;
  18164. begin
  18165. pTDefRegMap(@Self)^.&set := $00000001;
  18166. end;
  18167. procedure TCMP_CM2CON.clearCCH0; inline;
  18168. begin
  18169. pTDefRegMap(@Self)^.clr := $00000001;
  18170. end;
  18171. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  18172. begin
  18173. if thebits = 0 then
  18174. pTDefRegMap(@Self)^.clr := $00000001
  18175. else
  18176. pTDefRegMap(@Self)^.&set := $00000001;
  18177. end;
  18178. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  18179. begin
  18180. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18181. end;
  18182. procedure TCMP_CM2CON.setCCH1; inline;
  18183. begin
  18184. pTDefRegMap(@Self)^.&set := $00000002;
  18185. end;
  18186. procedure TCMP_CM2CON.clearCCH1; inline;
  18187. begin
  18188. pTDefRegMap(@Self)^.clr := $00000002;
  18189. end;
  18190. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  18191. begin
  18192. if thebits = 0 then
  18193. pTDefRegMap(@Self)^.clr := $00000002
  18194. else
  18195. pTDefRegMap(@Self)^.&set := $00000002;
  18196. end;
  18197. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  18198. begin
  18199. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18200. end;
  18201. procedure TCMP_CM2CON.setEVPOL0; inline;
  18202. begin
  18203. pTDefRegMap(@Self)^.&set := $00000040;
  18204. end;
  18205. procedure TCMP_CM2CON.clearEVPOL0; inline;
  18206. begin
  18207. pTDefRegMap(@Self)^.clr := $00000040;
  18208. end;
  18209. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  18210. begin
  18211. if thebits = 0 then
  18212. pTDefRegMap(@Self)^.clr := $00000040
  18213. else
  18214. pTDefRegMap(@Self)^.&set := $00000040;
  18215. end;
  18216. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  18217. begin
  18218. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18219. end;
  18220. procedure TCMP_CM2CON.setEVPOL1; inline;
  18221. begin
  18222. pTDefRegMap(@Self)^.&set := $00000080;
  18223. end;
  18224. procedure TCMP_CM2CON.clearEVPOL1; inline;
  18225. begin
  18226. pTDefRegMap(@Self)^.clr := $00000080;
  18227. end;
  18228. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  18229. begin
  18230. if thebits = 0 then
  18231. pTDefRegMap(@Self)^.clr := $00000080
  18232. else
  18233. pTDefRegMap(@Self)^.&set := $00000080;
  18234. end;
  18235. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  18236. begin
  18237. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18238. end;
  18239. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  18240. begin
  18241. pTDefRegMap(@Self)^.val := thebits;
  18242. end;
  18243. function TCMP_CM2CON.getw : TBits_32; inline;
  18244. begin
  18245. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18246. end;
  18247. procedure TCMP_CMSTAT.setC1OUT; inline;
  18248. begin
  18249. pTDefRegMap(@Self)^.&set := $00000001;
  18250. end;
  18251. procedure TCMP_CMSTAT.clearC1OUT; inline;
  18252. begin
  18253. pTDefRegMap(@Self)^.clr := $00000001;
  18254. end;
  18255. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  18256. begin
  18257. if thebits = 0 then
  18258. pTDefRegMap(@Self)^.clr := $00000001
  18259. else
  18260. pTDefRegMap(@Self)^.&set := $00000001;
  18261. end;
  18262. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  18263. begin
  18264. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18265. end;
  18266. procedure TCMP_CMSTAT.setC2OUT; inline;
  18267. begin
  18268. pTDefRegMap(@Self)^.&set := $00000002;
  18269. end;
  18270. procedure TCMP_CMSTAT.clearC2OUT; inline;
  18271. begin
  18272. pTDefRegMap(@Self)^.clr := $00000002;
  18273. end;
  18274. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  18275. begin
  18276. if thebits = 0 then
  18277. pTDefRegMap(@Self)^.clr := $00000002
  18278. else
  18279. pTDefRegMap(@Self)^.&set := $00000002;
  18280. end;
  18281. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  18282. begin
  18283. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18284. end;
  18285. procedure TCMP_CMSTAT.setSIDL; inline;
  18286. begin
  18287. pTDefRegMap(@Self)^.&set := $00002000;
  18288. end;
  18289. procedure TCMP_CMSTAT.clearSIDL; inline;
  18290. begin
  18291. pTDefRegMap(@Self)^.clr := $00002000;
  18292. end;
  18293. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  18294. begin
  18295. if thebits = 0 then
  18296. pTDefRegMap(@Self)^.clr := $00002000
  18297. else
  18298. pTDefRegMap(@Self)^.&set := $00002000;
  18299. end;
  18300. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  18301. begin
  18302. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18303. end;
  18304. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  18305. begin
  18306. pTDefRegMap(@Self)^.val := thebits;
  18307. end;
  18308. function TCMP_CMSTAT.getw : TBits_32; inline;
  18309. begin
  18310. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18311. end;
  18312. procedure TOSC_OSCCON.setOSWEN; inline;
  18313. begin
  18314. pTDefRegMap(@Self)^.&set := $00000001;
  18315. end;
  18316. procedure TOSC_OSCCON.clearOSWEN; inline;
  18317. begin
  18318. pTDefRegMap(@Self)^.clr := $00000001;
  18319. end;
  18320. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  18321. begin
  18322. if thebits = 0 then
  18323. pTDefRegMap(@Self)^.clr := $00000001
  18324. else
  18325. pTDefRegMap(@Self)^.&set := $00000001;
  18326. end;
  18327. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  18328. begin
  18329. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18330. end;
  18331. procedure TOSC_OSCCON.setSOSCEN; inline;
  18332. begin
  18333. pTDefRegMap(@Self)^.&set := $00000002;
  18334. end;
  18335. procedure TOSC_OSCCON.clearSOSCEN; inline;
  18336. begin
  18337. pTDefRegMap(@Self)^.clr := $00000002;
  18338. end;
  18339. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  18340. begin
  18341. if thebits = 0 then
  18342. pTDefRegMap(@Self)^.clr := $00000002
  18343. else
  18344. pTDefRegMap(@Self)^.&set := $00000002;
  18345. end;
  18346. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  18347. begin
  18348. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18349. end;
  18350. procedure TOSC_OSCCON.setUFRCEN; inline;
  18351. begin
  18352. pTDefRegMap(@Self)^.&set := $00000004;
  18353. end;
  18354. procedure TOSC_OSCCON.clearUFRCEN; inline;
  18355. begin
  18356. pTDefRegMap(@Self)^.clr := $00000004;
  18357. end;
  18358. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  18359. begin
  18360. if thebits = 0 then
  18361. pTDefRegMap(@Self)^.clr := $00000004
  18362. else
  18363. pTDefRegMap(@Self)^.&set := $00000004;
  18364. end;
  18365. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  18366. begin
  18367. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18368. end;
  18369. procedure TOSC_OSCCON.setCF; inline;
  18370. begin
  18371. pTDefRegMap(@Self)^.&set := $00000008;
  18372. end;
  18373. procedure TOSC_OSCCON.clearCF; inline;
  18374. begin
  18375. pTDefRegMap(@Self)^.clr := $00000008;
  18376. end;
  18377. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  18378. begin
  18379. if thebits = 0 then
  18380. pTDefRegMap(@Self)^.clr := $00000008
  18381. else
  18382. pTDefRegMap(@Self)^.&set := $00000008;
  18383. end;
  18384. function TOSC_OSCCON.getCF : TBits_1; inline;
  18385. begin
  18386. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18387. end;
  18388. procedure TOSC_OSCCON.setSLPEN; inline;
  18389. begin
  18390. pTDefRegMap(@Self)^.&set := $00000010;
  18391. end;
  18392. procedure TOSC_OSCCON.clearSLPEN; inline;
  18393. begin
  18394. pTDefRegMap(@Self)^.clr := $00000010;
  18395. end;
  18396. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  18397. begin
  18398. if thebits = 0 then
  18399. pTDefRegMap(@Self)^.clr := $00000010
  18400. else
  18401. pTDefRegMap(@Self)^.&set := $00000010;
  18402. end;
  18403. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  18404. begin
  18405. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18406. end;
  18407. procedure TOSC_OSCCON.setLOCK; inline;
  18408. begin
  18409. pTDefRegMap(@Self)^.&set := $00000020;
  18410. end;
  18411. procedure TOSC_OSCCON.clearLOCK; inline;
  18412. begin
  18413. pTDefRegMap(@Self)^.clr := $00000020;
  18414. end;
  18415. procedure TOSC_OSCCON.setLOCK(thebits : TBits_1); inline;
  18416. begin
  18417. if thebits = 0 then
  18418. pTDefRegMap(@Self)^.clr := $00000020
  18419. else
  18420. pTDefRegMap(@Self)^.&set := $00000020;
  18421. end;
  18422. function TOSC_OSCCON.getLOCK : TBits_1; inline;
  18423. begin
  18424. getLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18425. end;
  18426. procedure TOSC_OSCCON.setULOCK; inline;
  18427. begin
  18428. pTDefRegMap(@Self)^.&set := $00000040;
  18429. end;
  18430. procedure TOSC_OSCCON.clearULOCK; inline;
  18431. begin
  18432. pTDefRegMap(@Self)^.clr := $00000040;
  18433. end;
  18434. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  18435. begin
  18436. if thebits = 0 then
  18437. pTDefRegMap(@Self)^.clr := $00000040
  18438. else
  18439. pTDefRegMap(@Self)^.&set := $00000040;
  18440. end;
  18441. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  18442. begin
  18443. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18444. end;
  18445. procedure TOSC_OSCCON.setCLKLOCK; inline;
  18446. begin
  18447. pTDefRegMap(@Self)^.&set := $00000080;
  18448. end;
  18449. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  18450. begin
  18451. pTDefRegMap(@Self)^.clr := $00000080;
  18452. end;
  18453. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  18454. begin
  18455. if thebits = 0 then
  18456. pTDefRegMap(@Self)^.clr := $00000080
  18457. else
  18458. pTDefRegMap(@Self)^.&set := $00000080;
  18459. end;
  18460. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  18461. begin
  18462. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18463. end;
  18464. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  18465. begin
  18466. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  18467. end;
  18468. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  18469. begin
  18470. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  18471. end;
  18472. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  18473. begin
  18474. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  18475. end;
  18476. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  18477. begin
  18478. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  18479. end;
  18480. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  18481. begin
  18482. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  18483. end;
  18484. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  18485. begin
  18486. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  18487. end;
  18488. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  18489. begin
  18490. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  18491. end;
  18492. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  18493. begin
  18494. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  18495. end;
  18496. procedure TOSC_OSCCON.setSOSCRDY; inline;
  18497. begin
  18498. pTDefRegMap(@Self)^.&set := $00400000;
  18499. end;
  18500. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  18501. begin
  18502. pTDefRegMap(@Self)^.clr := $00400000;
  18503. end;
  18504. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  18505. begin
  18506. if thebits = 0 then
  18507. pTDefRegMap(@Self)^.clr := $00400000
  18508. else
  18509. pTDefRegMap(@Self)^.&set := $00400000;
  18510. end;
  18511. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  18512. begin
  18513. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  18514. end;
  18515. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  18516. begin
  18517. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  18518. end;
  18519. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  18520. begin
  18521. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  18522. end;
  18523. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  18524. begin
  18525. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  18526. end;
  18527. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  18528. begin
  18529. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  18530. end;
  18531. procedure TOSC_OSCCON.setNOSC0; inline;
  18532. begin
  18533. pTDefRegMap(@Self)^.&set := $00000100;
  18534. end;
  18535. procedure TOSC_OSCCON.clearNOSC0; inline;
  18536. begin
  18537. pTDefRegMap(@Self)^.clr := $00000100;
  18538. end;
  18539. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  18540. begin
  18541. if thebits = 0 then
  18542. pTDefRegMap(@Self)^.clr := $00000100
  18543. else
  18544. pTDefRegMap(@Self)^.&set := $00000100;
  18545. end;
  18546. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  18547. begin
  18548. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18549. end;
  18550. procedure TOSC_OSCCON.setNOSC1; inline;
  18551. begin
  18552. pTDefRegMap(@Self)^.&set := $00000200;
  18553. end;
  18554. procedure TOSC_OSCCON.clearNOSC1; inline;
  18555. begin
  18556. pTDefRegMap(@Self)^.clr := $00000200;
  18557. end;
  18558. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  18559. begin
  18560. if thebits = 0 then
  18561. pTDefRegMap(@Self)^.clr := $00000200
  18562. else
  18563. pTDefRegMap(@Self)^.&set := $00000200;
  18564. end;
  18565. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  18566. begin
  18567. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18568. end;
  18569. procedure TOSC_OSCCON.setNOSC2; inline;
  18570. begin
  18571. pTDefRegMap(@Self)^.&set := $00000400;
  18572. end;
  18573. procedure TOSC_OSCCON.clearNOSC2; inline;
  18574. begin
  18575. pTDefRegMap(@Self)^.clr := $00000400;
  18576. end;
  18577. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  18578. begin
  18579. if thebits = 0 then
  18580. pTDefRegMap(@Self)^.clr := $00000400
  18581. else
  18582. pTDefRegMap(@Self)^.&set := $00000400;
  18583. end;
  18584. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  18585. begin
  18586. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18587. end;
  18588. procedure TOSC_OSCCON.setCOSC0; inline;
  18589. begin
  18590. pTDefRegMap(@Self)^.&set := $00001000;
  18591. end;
  18592. procedure TOSC_OSCCON.clearCOSC0; inline;
  18593. begin
  18594. pTDefRegMap(@Self)^.clr := $00001000;
  18595. end;
  18596. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  18597. begin
  18598. if thebits = 0 then
  18599. pTDefRegMap(@Self)^.clr := $00001000
  18600. else
  18601. pTDefRegMap(@Self)^.&set := $00001000;
  18602. end;
  18603. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  18604. begin
  18605. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18606. end;
  18607. procedure TOSC_OSCCON.setCOSC1; inline;
  18608. begin
  18609. pTDefRegMap(@Self)^.&set := $00002000;
  18610. end;
  18611. procedure TOSC_OSCCON.clearCOSC1; inline;
  18612. begin
  18613. pTDefRegMap(@Self)^.clr := $00002000;
  18614. end;
  18615. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  18616. begin
  18617. if thebits = 0 then
  18618. pTDefRegMap(@Self)^.clr := $00002000
  18619. else
  18620. pTDefRegMap(@Self)^.&set := $00002000;
  18621. end;
  18622. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  18623. begin
  18624. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18625. end;
  18626. procedure TOSC_OSCCON.setCOSC2; inline;
  18627. begin
  18628. pTDefRegMap(@Self)^.&set := $00004000;
  18629. end;
  18630. procedure TOSC_OSCCON.clearCOSC2; inline;
  18631. begin
  18632. pTDefRegMap(@Self)^.clr := $00004000;
  18633. end;
  18634. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  18635. begin
  18636. if thebits = 0 then
  18637. pTDefRegMap(@Self)^.clr := $00004000
  18638. else
  18639. pTDefRegMap(@Self)^.&set := $00004000;
  18640. end;
  18641. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  18642. begin
  18643. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18644. end;
  18645. procedure TOSC_OSCCON.setPLLMULT0; inline;
  18646. begin
  18647. pTDefRegMap(@Self)^.&set := $00010000;
  18648. end;
  18649. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  18650. begin
  18651. pTDefRegMap(@Self)^.clr := $00010000;
  18652. end;
  18653. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  18654. begin
  18655. if thebits = 0 then
  18656. pTDefRegMap(@Self)^.clr := $00010000
  18657. else
  18658. pTDefRegMap(@Self)^.&set := $00010000;
  18659. end;
  18660. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  18661. begin
  18662. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  18663. end;
  18664. procedure TOSC_OSCCON.setPLLMULT1; inline;
  18665. begin
  18666. pTDefRegMap(@Self)^.&set := $00020000;
  18667. end;
  18668. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  18669. begin
  18670. pTDefRegMap(@Self)^.clr := $00020000;
  18671. end;
  18672. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  18673. begin
  18674. if thebits = 0 then
  18675. pTDefRegMap(@Self)^.clr := $00020000
  18676. else
  18677. pTDefRegMap(@Self)^.&set := $00020000;
  18678. end;
  18679. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  18680. begin
  18681. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  18682. end;
  18683. procedure TOSC_OSCCON.setPLLMULT2; inline;
  18684. begin
  18685. pTDefRegMap(@Self)^.&set := $00040000;
  18686. end;
  18687. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  18688. begin
  18689. pTDefRegMap(@Self)^.clr := $00040000;
  18690. end;
  18691. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  18692. begin
  18693. if thebits = 0 then
  18694. pTDefRegMap(@Self)^.clr := $00040000
  18695. else
  18696. pTDefRegMap(@Self)^.&set := $00040000;
  18697. end;
  18698. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  18699. begin
  18700. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  18701. end;
  18702. procedure TOSC_OSCCON.setPBDIV0; inline;
  18703. begin
  18704. pTDefRegMap(@Self)^.&set := $00080000;
  18705. end;
  18706. procedure TOSC_OSCCON.clearPBDIV0; inline;
  18707. begin
  18708. pTDefRegMap(@Self)^.clr := $00080000;
  18709. end;
  18710. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  18711. begin
  18712. if thebits = 0 then
  18713. pTDefRegMap(@Self)^.clr := $00080000
  18714. else
  18715. pTDefRegMap(@Self)^.&set := $00080000;
  18716. end;
  18717. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  18718. begin
  18719. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  18720. end;
  18721. procedure TOSC_OSCCON.setPBDIV1; inline;
  18722. begin
  18723. pTDefRegMap(@Self)^.&set := $00100000;
  18724. end;
  18725. procedure TOSC_OSCCON.clearPBDIV1; inline;
  18726. begin
  18727. pTDefRegMap(@Self)^.clr := $00100000;
  18728. end;
  18729. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  18730. begin
  18731. if thebits = 0 then
  18732. pTDefRegMap(@Self)^.clr := $00100000
  18733. else
  18734. pTDefRegMap(@Self)^.&set := $00100000;
  18735. end;
  18736. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  18737. begin
  18738. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  18739. end;
  18740. procedure TOSC_OSCCON.setFRCDIV0; inline;
  18741. begin
  18742. pTDefRegMap(@Self)^.&set := $01000000;
  18743. end;
  18744. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  18745. begin
  18746. pTDefRegMap(@Self)^.clr := $01000000;
  18747. end;
  18748. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  18749. begin
  18750. if thebits = 0 then
  18751. pTDefRegMap(@Self)^.clr := $01000000
  18752. else
  18753. pTDefRegMap(@Self)^.&set := $01000000;
  18754. end;
  18755. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  18756. begin
  18757. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  18758. end;
  18759. procedure TOSC_OSCCON.setFRCDIV1; inline;
  18760. begin
  18761. pTDefRegMap(@Self)^.&set := $02000000;
  18762. end;
  18763. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  18764. begin
  18765. pTDefRegMap(@Self)^.clr := $02000000;
  18766. end;
  18767. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  18768. begin
  18769. if thebits = 0 then
  18770. pTDefRegMap(@Self)^.clr := $02000000
  18771. else
  18772. pTDefRegMap(@Self)^.&set := $02000000;
  18773. end;
  18774. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  18775. begin
  18776. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  18777. end;
  18778. procedure TOSC_OSCCON.setFRCDIV2; inline;
  18779. begin
  18780. pTDefRegMap(@Self)^.&set := $04000000;
  18781. end;
  18782. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  18783. begin
  18784. pTDefRegMap(@Self)^.clr := $04000000;
  18785. end;
  18786. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  18787. begin
  18788. if thebits = 0 then
  18789. pTDefRegMap(@Self)^.clr := $04000000
  18790. else
  18791. pTDefRegMap(@Self)^.&set := $04000000;
  18792. end;
  18793. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  18794. begin
  18795. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  18796. end;
  18797. procedure TOSC_OSCCON.setPLLODIV0; inline;
  18798. begin
  18799. pTDefRegMap(@Self)^.&set := $08000000;
  18800. end;
  18801. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  18802. begin
  18803. pTDefRegMap(@Self)^.clr := $08000000;
  18804. end;
  18805. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  18806. begin
  18807. if thebits = 0 then
  18808. pTDefRegMap(@Self)^.clr := $08000000
  18809. else
  18810. pTDefRegMap(@Self)^.&set := $08000000;
  18811. end;
  18812. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  18813. begin
  18814. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  18815. end;
  18816. procedure TOSC_OSCCON.setPLLODIV1; inline;
  18817. begin
  18818. pTDefRegMap(@Self)^.&set := $10000000;
  18819. end;
  18820. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  18821. begin
  18822. pTDefRegMap(@Self)^.clr := $10000000;
  18823. end;
  18824. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  18825. begin
  18826. if thebits = 0 then
  18827. pTDefRegMap(@Self)^.clr := $10000000
  18828. else
  18829. pTDefRegMap(@Self)^.&set := $10000000;
  18830. end;
  18831. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  18832. begin
  18833. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  18834. end;
  18835. procedure TOSC_OSCCON.setPLLODIV2; inline;
  18836. begin
  18837. pTDefRegMap(@Self)^.&set := $20000000;
  18838. end;
  18839. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  18840. begin
  18841. pTDefRegMap(@Self)^.clr := $20000000;
  18842. end;
  18843. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  18844. begin
  18845. if thebits = 0 then
  18846. pTDefRegMap(@Self)^.clr := $20000000
  18847. else
  18848. pTDefRegMap(@Self)^.&set := $20000000;
  18849. end;
  18850. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  18851. begin
  18852. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  18853. end;
  18854. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  18855. begin
  18856. pTDefRegMap(@Self)^.val := thebits;
  18857. end;
  18858. function TOSC_OSCCON.getw : TBits_32; inline;
  18859. begin
  18860. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18861. end;
  18862. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  18863. begin
  18864. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  18865. end;
  18866. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  18867. begin
  18868. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  18869. end;
  18870. procedure TOSC_OSCTUN.setTUN0; inline;
  18871. begin
  18872. pTDefRegMap(@Self)^.&set := $00000001;
  18873. end;
  18874. procedure TOSC_OSCTUN.clearTUN0; inline;
  18875. begin
  18876. pTDefRegMap(@Self)^.clr := $00000001;
  18877. end;
  18878. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  18879. begin
  18880. if thebits = 0 then
  18881. pTDefRegMap(@Self)^.clr := $00000001
  18882. else
  18883. pTDefRegMap(@Self)^.&set := $00000001;
  18884. end;
  18885. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  18886. begin
  18887. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18888. end;
  18889. procedure TOSC_OSCTUN.setTUN1; inline;
  18890. begin
  18891. pTDefRegMap(@Self)^.&set := $00000002;
  18892. end;
  18893. procedure TOSC_OSCTUN.clearTUN1; inline;
  18894. begin
  18895. pTDefRegMap(@Self)^.clr := $00000002;
  18896. end;
  18897. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  18898. begin
  18899. if thebits = 0 then
  18900. pTDefRegMap(@Self)^.clr := $00000002
  18901. else
  18902. pTDefRegMap(@Self)^.&set := $00000002;
  18903. end;
  18904. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  18905. begin
  18906. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18907. end;
  18908. procedure TOSC_OSCTUN.setTUN2; inline;
  18909. begin
  18910. pTDefRegMap(@Self)^.&set := $00000004;
  18911. end;
  18912. procedure TOSC_OSCTUN.clearTUN2; inline;
  18913. begin
  18914. pTDefRegMap(@Self)^.clr := $00000004;
  18915. end;
  18916. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  18917. begin
  18918. if thebits = 0 then
  18919. pTDefRegMap(@Self)^.clr := $00000004
  18920. else
  18921. pTDefRegMap(@Self)^.&set := $00000004;
  18922. end;
  18923. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  18924. begin
  18925. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18926. end;
  18927. procedure TOSC_OSCTUN.setTUN3; inline;
  18928. begin
  18929. pTDefRegMap(@Self)^.&set := $00000008;
  18930. end;
  18931. procedure TOSC_OSCTUN.clearTUN3; inline;
  18932. begin
  18933. pTDefRegMap(@Self)^.clr := $00000008;
  18934. end;
  18935. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  18936. begin
  18937. if thebits = 0 then
  18938. pTDefRegMap(@Self)^.clr := $00000008
  18939. else
  18940. pTDefRegMap(@Self)^.&set := $00000008;
  18941. end;
  18942. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  18943. begin
  18944. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18945. end;
  18946. procedure TOSC_OSCTUN.setTUN4; inline;
  18947. begin
  18948. pTDefRegMap(@Self)^.&set := $00000010;
  18949. end;
  18950. procedure TOSC_OSCTUN.clearTUN4; inline;
  18951. begin
  18952. pTDefRegMap(@Self)^.clr := $00000010;
  18953. end;
  18954. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  18955. begin
  18956. if thebits = 0 then
  18957. pTDefRegMap(@Self)^.clr := $00000010
  18958. else
  18959. pTDefRegMap(@Self)^.&set := $00000010;
  18960. end;
  18961. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  18962. begin
  18963. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18964. end;
  18965. procedure TOSC_OSCTUN.setTUN5; inline;
  18966. begin
  18967. pTDefRegMap(@Self)^.&set := $00000020;
  18968. end;
  18969. procedure TOSC_OSCTUN.clearTUN5; inline;
  18970. begin
  18971. pTDefRegMap(@Self)^.clr := $00000020;
  18972. end;
  18973. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  18974. begin
  18975. if thebits = 0 then
  18976. pTDefRegMap(@Self)^.clr := $00000020
  18977. else
  18978. pTDefRegMap(@Self)^.&set := $00000020;
  18979. end;
  18980. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  18981. begin
  18982. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18983. end;
  18984. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  18985. begin
  18986. pTDefRegMap(@Self)^.val := thebits;
  18987. end;
  18988. function TOSC_OSCTUN.getw : TBits_32; inline;
  18989. begin
  18990. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18991. end;
  18992. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  18993. begin
  18994. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  18995. end;
  18996. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  18997. begin
  18998. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  18999. end;
  19000. procedure TNVM_NVMCON.setLVDSTAT; inline;
  19001. begin
  19002. pTDefRegMap(@Self)^.&set := $00000800;
  19003. end;
  19004. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  19005. begin
  19006. pTDefRegMap(@Self)^.clr := $00000800;
  19007. end;
  19008. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  19009. begin
  19010. if thebits = 0 then
  19011. pTDefRegMap(@Self)^.clr := $00000800
  19012. else
  19013. pTDefRegMap(@Self)^.&set := $00000800;
  19014. end;
  19015. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  19016. begin
  19017. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19018. end;
  19019. procedure TNVM_NVMCON.setLVDERR; inline;
  19020. begin
  19021. pTDefRegMap(@Self)^.&set := $00001000;
  19022. end;
  19023. procedure TNVM_NVMCON.clearLVDERR; inline;
  19024. begin
  19025. pTDefRegMap(@Self)^.clr := $00001000;
  19026. end;
  19027. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  19028. begin
  19029. if thebits = 0 then
  19030. pTDefRegMap(@Self)^.clr := $00001000
  19031. else
  19032. pTDefRegMap(@Self)^.&set := $00001000;
  19033. end;
  19034. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  19035. begin
  19036. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19037. end;
  19038. procedure TNVM_NVMCON.setWRERR; inline;
  19039. begin
  19040. pTDefRegMap(@Self)^.&set := $00002000;
  19041. end;
  19042. procedure TNVM_NVMCON.clearWRERR; inline;
  19043. begin
  19044. pTDefRegMap(@Self)^.clr := $00002000;
  19045. end;
  19046. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  19047. begin
  19048. if thebits = 0 then
  19049. pTDefRegMap(@Self)^.clr := $00002000
  19050. else
  19051. pTDefRegMap(@Self)^.&set := $00002000;
  19052. end;
  19053. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  19054. begin
  19055. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19056. end;
  19057. procedure TNVM_NVMCON.setWREN; inline;
  19058. begin
  19059. pTDefRegMap(@Self)^.&set := $00004000;
  19060. end;
  19061. procedure TNVM_NVMCON.clearWREN; inline;
  19062. begin
  19063. pTDefRegMap(@Self)^.clr := $00004000;
  19064. end;
  19065. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  19066. begin
  19067. if thebits = 0 then
  19068. pTDefRegMap(@Self)^.clr := $00004000
  19069. else
  19070. pTDefRegMap(@Self)^.&set := $00004000;
  19071. end;
  19072. function TNVM_NVMCON.getWREN : TBits_1; inline;
  19073. begin
  19074. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19075. end;
  19076. procedure TNVM_NVMCON.setWR; inline;
  19077. begin
  19078. pTDefRegMap(@Self)^.&set := $00008000;
  19079. end;
  19080. procedure TNVM_NVMCON.clearWR; inline;
  19081. begin
  19082. pTDefRegMap(@Self)^.clr := $00008000;
  19083. end;
  19084. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  19085. begin
  19086. if thebits = 0 then
  19087. pTDefRegMap(@Self)^.clr := $00008000
  19088. else
  19089. pTDefRegMap(@Self)^.&set := $00008000;
  19090. end;
  19091. function TNVM_NVMCON.getWR : TBits_1; inline;
  19092. begin
  19093. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19094. end;
  19095. procedure TNVM_NVMCON.setNVMOP0; inline;
  19096. begin
  19097. pTDefRegMap(@Self)^.&set := $00000001;
  19098. end;
  19099. procedure TNVM_NVMCON.clearNVMOP0; inline;
  19100. begin
  19101. pTDefRegMap(@Self)^.clr := $00000001;
  19102. end;
  19103. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  19104. begin
  19105. if thebits = 0 then
  19106. pTDefRegMap(@Self)^.clr := $00000001
  19107. else
  19108. pTDefRegMap(@Self)^.&set := $00000001;
  19109. end;
  19110. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  19111. begin
  19112. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19113. end;
  19114. procedure TNVM_NVMCON.setNVMOP1; inline;
  19115. begin
  19116. pTDefRegMap(@Self)^.&set := $00000002;
  19117. end;
  19118. procedure TNVM_NVMCON.clearNVMOP1; inline;
  19119. begin
  19120. pTDefRegMap(@Self)^.clr := $00000002;
  19121. end;
  19122. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  19123. begin
  19124. if thebits = 0 then
  19125. pTDefRegMap(@Self)^.clr := $00000002
  19126. else
  19127. pTDefRegMap(@Self)^.&set := $00000002;
  19128. end;
  19129. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  19130. begin
  19131. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19132. end;
  19133. procedure TNVM_NVMCON.setNVMOP2; inline;
  19134. begin
  19135. pTDefRegMap(@Self)^.&set := $00000004;
  19136. end;
  19137. procedure TNVM_NVMCON.clearNVMOP2; inline;
  19138. begin
  19139. pTDefRegMap(@Self)^.clr := $00000004;
  19140. end;
  19141. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  19142. begin
  19143. if thebits = 0 then
  19144. pTDefRegMap(@Self)^.clr := $00000004
  19145. else
  19146. pTDefRegMap(@Self)^.&set := $00000004;
  19147. end;
  19148. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  19149. begin
  19150. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19151. end;
  19152. procedure TNVM_NVMCON.setNVMOP3; inline;
  19153. begin
  19154. pTDefRegMap(@Self)^.&set := $00000008;
  19155. end;
  19156. procedure TNVM_NVMCON.clearNVMOP3; inline;
  19157. begin
  19158. pTDefRegMap(@Self)^.clr := $00000008;
  19159. end;
  19160. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  19161. begin
  19162. if thebits = 0 then
  19163. pTDefRegMap(@Self)^.clr := $00000008
  19164. else
  19165. pTDefRegMap(@Self)^.&set := $00000008;
  19166. end;
  19167. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  19168. begin
  19169. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19170. end;
  19171. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  19172. begin
  19173. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  19174. end;
  19175. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  19176. begin
  19177. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  19178. end;
  19179. procedure TNVM_NVMCON.setPROGOP0; inline;
  19180. begin
  19181. pTDefRegMap(@Self)^.&set := $00000001;
  19182. end;
  19183. procedure TNVM_NVMCON.clearPROGOP0; inline;
  19184. begin
  19185. pTDefRegMap(@Self)^.clr := $00000001;
  19186. end;
  19187. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  19188. begin
  19189. if thebits = 0 then
  19190. pTDefRegMap(@Self)^.clr := $00000001
  19191. else
  19192. pTDefRegMap(@Self)^.&set := $00000001;
  19193. end;
  19194. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  19195. begin
  19196. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19197. end;
  19198. procedure TNVM_NVMCON.setPROGOP1; inline;
  19199. begin
  19200. pTDefRegMap(@Self)^.&set := $00000002;
  19201. end;
  19202. procedure TNVM_NVMCON.clearPROGOP1; inline;
  19203. begin
  19204. pTDefRegMap(@Self)^.clr := $00000002;
  19205. end;
  19206. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  19207. begin
  19208. if thebits = 0 then
  19209. pTDefRegMap(@Self)^.clr := $00000002
  19210. else
  19211. pTDefRegMap(@Self)^.&set := $00000002;
  19212. end;
  19213. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  19214. begin
  19215. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19216. end;
  19217. procedure TNVM_NVMCON.setPROGOP2; inline;
  19218. begin
  19219. pTDefRegMap(@Self)^.&set := $00000004;
  19220. end;
  19221. procedure TNVM_NVMCON.clearPROGOP2; inline;
  19222. begin
  19223. pTDefRegMap(@Self)^.clr := $00000004;
  19224. end;
  19225. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  19226. begin
  19227. if thebits = 0 then
  19228. pTDefRegMap(@Self)^.clr := $00000004
  19229. else
  19230. pTDefRegMap(@Self)^.&set := $00000004;
  19231. end;
  19232. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  19233. begin
  19234. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19235. end;
  19236. procedure TNVM_NVMCON.setPROGOP3; inline;
  19237. begin
  19238. pTDefRegMap(@Self)^.&set := $00000008;
  19239. end;
  19240. procedure TNVM_NVMCON.clearPROGOP3; inline;
  19241. begin
  19242. pTDefRegMap(@Self)^.clr := $00000008;
  19243. end;
  19244. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  19245. begin
  19246. if thebits = 0 then
  19247. pTDefRegMap(@Self)^.clr := $00000008
  19248. else
  19249. pTDefRegMap(@Self)^.&set := $00000008;
  19250. end;
  19251. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  19252. begin
  19253. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19254. end;
  19255. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  19256. begin
  19257. pTDefRegMap(@Self)^.val := thebits;
  19258. end;
  19259. function TNVM_NVMCON.getw : TBits_32; inline;
  19260. begin
  19261. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19262. end;
  19263. procedure TRCON_RCON.setPOR; inline;
  19264. begin
  19265. pTDefRegMap(@Self)^.&set := $00000001;
  19266. end;
  19267. procedure TRCON_RCON.clearPOR; inline;
  19268. begin
  19269. pTDefRegMap(@Self)^.clr := $00000001;
  19270. end;
  19271. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  19272. begin
  19273. if thebits = 0 then
  19274. pTDefRegMap(@Self)^.clr := $00000001
  19275. else
  19276. pTDefRegMap(@Self)^.&set := $00000001;
  19277. end;
  19278. function TRCON_RCON.getPOR : TBits_1; inline;
  19279. begin
  19280. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19281. end;
  19282. procedure TRCON_RCON.setBOR; inline;
  19283. begin
  19284. pTDefRegMap(@Self)^.&set := $00000002;
  19285. end;
  19286. procedure TRCON_RCON.clearBOR; inline;
  19287. begin
  19288. pTDefRegMap(@Self)^.clr := $00000002;
  19289. end;
  19290. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  19291. begin
  19292. if thebits = 0 then
  19293. pTDefRegMap(@Self)^.clr := $00000002
  19294. else
  19295. pTDefRegMap(@Self)^.&set := $00000002;
  19296. end;
  19297. function TRCON_RCON.getBOR : TBits_1; inline;
  19298. begin
  19299. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19300. end;
  19301. procedure TRCON_RCON.setIDLE; inline;
  19302. begin
  19303. pTDefRegMap(@Self)^.&set := $00000004;
  19304. end;
  19305. procedure TRCON_RCON.clearIDLE; inline;
  19306. begin
  19307. pTDefRegMap(@Self)^.clr := $00000004;
  19308. end;
  19309. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  19310. begin
  19311. if thebits = 0 then
  19312. pTDefRegMap(@Self)^.clr := $00000004
  19313. else
  19314. pTDefRegMap(@Self)^.&set := $00000004;
  19315. end;
  19316. function TRCON_RCON.getIDLE : TBits_1; inline;
  19317. begin
  19318. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19319. end;
  19320. procedure TRCON_RCON.setSLEEP; inline;
  19321. begin
  19322. pTDefRegMap(@Self)^.&set := $00000008;
  19323. end;
  19324. procedure TRCON_RCON.clearSLEEP; inline;
  19325. begin
  19326. pTDefRegMap(@Self)^.clr := $00000008;
  19327. end;
  19328. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  19329. begin
  19330. if thebits = 0 then
  19331. pTDefRegMap(@Self)^.clr := $00000008
  19332. else
  19333. pTDefRegMap(@Self)^.&set := $00000008;
  19334. end;
  19335. function TRCON_RCON.getSLEEP : TBits_1; inline;
  19336. begin
  19337. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19338. end;
  19339. procedure TRCON_RCON.setWDTO; inline;
  19340. begin
  19341. pTDefRegMap(@Self)^.&set := $00000010;
  19342. end;
  19343. procedure TRCON_RCON.clearWDTO; inline;
  19344. begin
  19345. pTDefRegMap(@Self)^.clr := $00000010;
  19346. end;
  19347. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  19348. begin
  19349. if thebits = 0 then
  19350. pTDefRegMap(@Self)^.clr := $00000010
  19351. else
  19352. pTDefRegMap(@Self)^.&set := $00000010;
  19353. end;
  19354. function TRCON_RCON.getWDTO : TBits_1; inline;
  19355. begin
  19356. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19357. end;
  19358. procedure TRCON_RCON.setSWR; inline;
  19359. begin
  19360. pTDefRegMap(@Self)^.&set := $00000040;
  19361. end;
  19362. procedure TRCON_RCON.clearSWR; inline;
  19363. begin
  19364. pTDefRegMap(@Self)^.clr := $00000040;
  19365. end;
  19366. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  19367. begin
  19368. if thebits = 0 then
  19369. pTDefRegMap(@Self)^.clr := $00000040
  19370. else
  19371. pTDefRegMap(@Self)^.&set := $00000040;
  19372. end;
  19373. function TRCON_RCON.getSWR : TBits_1; inline;
  19374. begin
  19375. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19376. end;
  19377. procedure TRCON_RCON.setEXTR; inline;
  19378. begin
  19379. pTDefRegMap(@Self)^.&set := $00000080;
  19380. end;
  19381. procedure TRCON_RCON.clearEXTR; inline;
  19382. begin
  19383. pTDefRegMap(@Self)^.clr := $00000080;
  19384. end;
  19385. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  19386. begin
  19387. if thebits = 0 then
  19388. pTDefRegMap(@Self)^.clr := $00000080
  19389. else
  19390. pTDefRegMap(@Self)^.&set := $00000080;
  19391. end;
  19392. function TRCON_RCON.getEXTR : TBits_1; inline;
  19393. begin
  19394. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19395. end;
  19396. procedure TRCON_RCON.setVREGS; inline;
  19397. begin
  19398. pTDefRegMap(@Self)^.&set := $00000100;
  19399. end;
  19400. procedure TRCON_RCON.clearVREGS; inline;
  19401. begin
  19402. pTDefRegMap(@Self)^.clr := $00000100;
  19403. end;
  19404. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  19405. begin
  19406. if thebits = 0 then
  19407. pTDefRegMap(@Self)^.clr := $00000100
  19408. else
  19409. pTDefRegMap(@Self)^.&set := $00000100;
  19410. end;
  19411. function TRCON_RCON.getVREGS : TBits_1; inline;
  19412. begin
  19413. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19414. end;
  19415. procedure TRCON_RCON.setCMR; inline;
  19416. begin
  19417. pTDefRegMap(@Self)^.&set := $00000200;
  19418. end;
  19419. procedure TRCON_RCON.clearCMR; inline;
  19420. begin
  19421. pTDefRegMap(@Self)^.clr := $00000200;
  19422. end;
  19423. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  19424. begin
  19425. if thebits = 0 then
  19426. pTDefRegMap(@Self)^.clr := $00000200
  19427. else
  19428. pTDefRegMap(@Self)^.&set := $00000200;
  19429. end;
  19430. function TRCON_RCON.getCMR : TBits_1; inline;
  19431. begin
  19432. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19433. end;
  19434. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  19435. begin
  19436. pTDefRegMap(@Self)^.val := thebits;
  19437. end;
  19438. function TRCON_RCON.getw : TBits_32; inline;
  19439. begin
  19440. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19441. end;
  19442. procedure TRCON_RSWRST.setSWRST; inline;
  19443. begin
  19444. pTDefRegMap(@Self)^.&set := $00000001;
  19445. end;
  19446. procedure TRCON_RSWRST.clearSWRST; inline;
  19447. begin
  19448. pTDefRegMap(@Self)^.clr := $00000001;
  19449. end;
  19450. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  19451. begin
  19452. if thebits = 0 then
  19453. pTDefRegMap(@Self)^.clr := $00000001
  19454. else
  19455. pTDefRegMap(@Self)^.&set := $00000001;
  19456. end;
  19457. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  19458. begin
  19459. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19460. end;
  19461. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  19462. begin
  19463. pTDefRegMap(@Self)^.val := thebits;
  19464. end;
  19465. function TRCON_RSWRST.getw : TBits_32; inline;
  19466. begin
  19467. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19468. end;
  19469. procedure TINT_INTSTAT.setVEC(thebits : TBits_6); inline;
  19470. begin
  19471. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  19472. end;
  19473. function TINT_INTSTAT.getVEC : TBits_6; inline;
  19474. begin
  19475. getVEC := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  19476. end;
  19477. procedure TINT_INTSTAT.setRIPL(thebits : TBits_3); inline;
  19478. begin
  19479. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  19480. end;
  19481. function TINT_INTSTAT.getRIPL : TBits_3; inline;
  19482. begin
  19483. getRIPL := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  19484. end;
  19485. procedure TINT_INTSTAT.setSRIPL(thebits : TBits_3); inline;
  19486. begin
  19487. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  19488. end;
  19489. function TINT_INTSTAT.getSRIPL : TBits_3; inline;
  19490. begin
  19491. getSRIPL := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  19492. end;
  19493. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  19494. begin
  19495. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19496. end;
  19497. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  19498. begin
  19499. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19500. end;
  19501. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  19502. begin
  19503. pTDefRegMap(@Self)^.&set := $00000040;
  19504. end;
  19505. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  19506. begin
  19507. pTDefRegMap(@Self)^.clr := $00000040;
  19508. end;
  19509. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  19510. begin
  19511. if thebits = 0 then
  19512. pTDefRegMap(@Self)^.clr := $00000040
  19513. else
  19514. pTDefRegMap(@Self)^.&set := $00000040;
  19515. end;
  19516. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  19517. begin
  19518. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19519. end;
  19520. procedure TBMX_BMXCON.setBMXERRIS; inline;
  19521. begin
  19522. pTDefRegMap(@Self)^.&set := $00010000;
  19523. end;
  19524. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  19525. begin
  19526. pTDefRegMap(@Self)^.clr := $00010000;
  19527. end;
  19528. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  19529. begin
  19530. if thebits = 0 then
  19531. pTDefRegMap(@Self)^.clr := $00010000
  19532. else
  19533. pTDefRegMap(@Self)^.&set := $00010000;
  19534. end;
  19535. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  19536. begin
  19537. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  19538. end;
  19539. procedure TBMX_BMXCON.setBMXERRDS; inline;
  19540. begin
  19541. pTDefRegMap(@Self)^.&set := $00020000;
  19542. end;
  19543. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  19544. begin
  19545. pTDefRegMap(@Self)^.clr := $00020000;
  19546. end;
  19547. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  19548. begin
  19549. if thebits = 0 then
  19550. pTDefRegMap(@Self)^.clr := $00020000
  19551. else
  19552. pTDefRegMap(@Self)^.&set := $00020000;
  19553. end;
  19554. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  19555. begin
  19556. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  19557. end;
  19558. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  19559. begin
  19560. pTDefRegMap(@Self)^.&set := $00040000;
  19561. end;
  19562. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  19563. begin
  19564. pTDefRegMap(@Self)^.clr := $00040000;
  19565. end;
  19566. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  19567. begin
  19568. if thebits = 0 then
  19569. pTDefRegMap(@Self)^.clr := $00040000
  19570. else
  19571. pTDefRegMap(@Self)^.&set := $00040000;
  19572. end;
  19573. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  19574. begin
  19575. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  19576. end;
  19577. procedure TBMX_BMXCON.setBMXERRICD; inline;
  19578. begin
  19579. pTDefRegMap(@Self)^.&set := $00080000;
  19580. end;
  19581. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  19582. begin
  19583. pTDefRegMap(@Self)^.clr := $00080000;
  19584. end;
  19585. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  19586. begin
  19587. if thebits = 0 then
  19588. pTDefRegMap(@Self)^.clr := $00080000
  19589. else
  19590. pTDefRegMap(@Self)^.&set := $00080000;
  19591. end;
  19592. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  19593. begin
  19594. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  19595. end;
  19596. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  19597. begin
  19598. pTDefRegMap(@Self)^.&set := $00100000;
  19599. end;
  19600. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  19601. begin
  19602. pTDefRegMap(@Self)^.clr := $00100000;
  19603. end;
  19604. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  19605. begin
  19606. if thebits = 0 then
  19607. pTDefRegMap(@Self)^.clr := $00100000
  19608. else
  19609. pTDefRegMap(@Self)^.&set := $00100000;
  19610. end;
  19611. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  19612. begin
  19613. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  19614. end;
  19615. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  19616. begin
  19617. pTDefRegMap(@Self)^.&set := $04000000;
  19618. end;
  19619. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  19620. begin
  19621. pTDefRegMap(@Self)^.clr := $04000000;
  19622. end;
  19623. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  19624. begin
  19625. if thebits = 0 then
  19626. pTDefRegMap(@Self)^.clr := $04000000
  19627. else
  19628. pTDefRegMap(@Self)^.&set := $04000000;
  19629. end;
  19630. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  19631. begin
  19632. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  19633. end;
  19634. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  19635. begin
  19636. pTDefRegMap(@Self)^.val := thebits;
  19637. end;
  19638. function TBMX_BMXCON.getw : TBits_32; inline;
  19639. begin
  19640. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19641. end;
  19642. procedure TDMAC_DMACON.setSUSPEND; inline;
  19643. begin
  19644. pTDefRegMap(@Self)^.&set := $00001000;
  19645. end;
  19646. procedure TDMAC_DMACON.clearSUSPEND; inline;
  19647. begin
  19648. pTDefRegMap(@Self)^.clr := $00001000;
  19649. end;
  19650. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  19651. begin
  19652. if thebits = 0 then
  19653. pTDefRegMap(@Self)^.clr := $00001000
  19654. else
  19655. pTDefRegMap(@Self)^.&set := $00001000;
  19656. end;
  19657. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  19658. begin
  19659. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19660. end;
  19661. procedure TDMAC_DMACON.setSIDL; inline;
  19662. begin
  19663. pTDefRegMap(@Self)^.&set := $00002000;
  19664. end;
  19665. procedure TDMAC_DMACON.clearSIDL; inline;
  19666. begin
  19667. pTDefRegMap(@Self)^.clr := $00002000;
  19668. end;
  19669. procedure TDMAC_DMACON.setSIDL(thebits : TBits_1); inline;
  19670. begin
  19671. if thebits = 0 then
  19672. pTDefRegMap(@Self)^.clr := $00002000
  19673. else
  19674. pTDefRegMap(@Self)^.&set := $00002000;
  19675. end;
  19676. function TDMAC_DMACON.getSIDL : TBits_1; inline;
  19677. begin
  19678. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19679. end;
  19680. procedure TDMAC_DMACON.setON; inline;
  19681. begin
  19682. pTDefRegMap(@Self)^.&set := $00008000;
  19683. end;
  19684. procedure TDMAC_DMACON.clearON; inline;
  19685. begin
  19686. pTDefRegMap(@Self)^.clr := $00008000;
  19687. end;
  19688. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  19689. begin
  19690. if thebits = 0 then
  19691. pTDefRegMap(@Self)^.clr := $00008000
  19692. else
  19693. pTDefRegMap(@Self)^.&set := $00008000;
  19694. end;
  19695. function TDMAC_DMACON.getON : TBits_1; inline;
  19696. begin
  19697. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19698. end;
  19699. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  19700. begin
  19701. pTDefRegMap(@Self)^.val := thebits;
  19702. end;
  19703. function TDMAC_DMACON.getw : TBits_32; inline;
  19704. begin
  19705. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19706. end;
  19707. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_2); inline;
  19708. begin
  19709. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  19710. end;
  19711. function TDMAC_DMASTAT.getDMACH : TBits_2; inline;
  19712. begin
  19713. getDMACH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  19714. end;
  19715. procedure TDMAC_DMASTAT.setRDWR; inline;
  19716. begin
  19717. pTDefRegMap(@Self)^.&set := $00000008;
  19718. end;
  19719. procedure TDMAC_DMASTAT.clearRDWR; inline;
  19720. begin
  19721. pTDefRegMap(@Self)^.clr := $00000008;
  19722. end;
  19723. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  19724. begin
  19725. if thebits = 0 then
  19726. pTDefRegMap(@Self)^.clr := $00000008
  19727. else
  19728. pTDefRegMap(@Self)^.&set := $00000008;
  19729. end;
  19730. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  19731. begin
  19732. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19733. end;
  19734. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  19735. begin
  19736. pTDefRegMap(@Self)^.val := thebits;
  19737. end;
  19738. function TDMAC_DMASTAT.getw : TBits_32; inline;
  19739. begin
  19740. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19741. end;
  19742. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_2); inline;
  19743. begin
  19744. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  19745. end;
  19746. function TDMAC_DCRCCON.getCRCCH : TBits_2; inline;
  19747. begin
  19748. getCRCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  19749. end;
  19750. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  19751. begin
  19752. pTDefRegMap(@Self)^.&set := $00000020;
  19753. end;
  19754. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  19755. begin
  19756. pTDefRegMap(@Self)^.clr := $00000020;
  19757. end;
  19758. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  19759. begin
  19760. if thebits = 0 then
  19761. pTDefRegMap(@Self)^.clr := $00000020
  19762. else
  19763. pTDefRegMap(@Self)^.&set := $00000020;
  19764. end;
  19765. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  19766. begin
  19767. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19768. end;
  19769. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  19770. begin
  19771. pTDefRegMap(@Self)^.&set := $00000040;
  19772. end;
  19773. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  19774. begin
  19775. pTDefRegMap(@Self)^.clr := $00000040;
  19776. end;
  19777. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  19778. begin
  19779. if thebits = 0 then
  19780. pTDefRegMap(@Self)^.clr := $00000040
  19781. else
  19782. pTDefRegMap(@Self)^.&set := $00000040;
  19783. end;
  19784. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  19785. begin
  19786. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19787. end;
  19788. procedure TDMAC_DCRCCON.setCRCEN; inline;
  19789. begin
  19790. pTDefRegMap(@Self)^.&set := $00000080;
  19791. end;
  19792. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  19793. begin
  19794. pTDefRegMap(@Self)^.clr := $00000080;
  19795. end;
  19796. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  19797. begin
  19798. if thebits = 0 then
  19799. pTDefRegMap(@Self)^.clr := $00000080
  19800. else
  19801. pTDefRegMap(@Self)^.&set := $00000080;
  19802. end;
  19803. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  19804. begin
  19805. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19806. end;
  19807. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_4); inline;
  19808. begin
  19809. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  19810. end;
  19811. function TDMAC_DCRCCON.getPLEN : TBits_4; inline;
  19812. begin
  19813. getPLEN := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  19814. end;
  19815. procedure TDMAC_DCRCCON.setBITO; inline;
  19816. begin
  19817. pTDefRegMap(@Self)^.&set := $01000000;
  19818. end;
  19819. procedure TDMAC_DCRCCON.clearBITO; inline;
  19820. begin
  19821. pTDefRegMap(@Self)^.clr := $01000000;
  19822. end;
  19823. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  19824. begin
  19825. if thebits = 0 then
  19826. pTDefRegMap(@Self)^.clr := $01000000
  19827. else
  19828. pTDefRegMap(@Self)^.&set := $01000000;
  19829. end;
  19830. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  19831. begin
  19832. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19833. end;
  19834. procedure TDMAC_DCRCCON.setWBO; inline;
  19835. begin
  19836. pTDefRegMap(@Self)^.&set := $08000000;
  19837. end;
  19838. procedure TDMAC_DCRCCON.clearWBO; inline;
  19839. begin
  19840. pTDefRegMap(@Self)^.clr := $08000000;
  19841. end;
  19842. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  19843. begin
  19844. if thebits = 0 then
  19845. pTDefRegMap(@Self)^.clr := $08000000
  19846. else
  19847. pTDefRegMap(@Self)^.&set := $08000000;
  19848. end;
  19849. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  19850. begin
  19851. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  19852. end;
  19853. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  19854. begin
  19855. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  19856. end;
  19857. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  19858. begin
  19859. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  19860. end;
  19861. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  19862. begin
  19863. pTDefRegMap(@Self)^.val := thebits;
  19864. end;
  19865. function TDMAC_DCRCCON.getw : TBits_32; inline;
  19866. begin
  19867. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19868. end;
  19869. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  19870. begin
  19871. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  19872. end;
  19873. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  19874. begin
  19875. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  19876. end;
  19877. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  19878. begin
  19879. pTDefRegMap(@Self)^.&set := $00000004;
  19880. end;
  19881. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  19882. begin
  19883. pTDefRegMap(@Self)^.clr := $00000004;
  19884. end;
  19885. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  19886. begin
  19887. if thebits = 0 then
  19888. pTDefRegMap(@Self)^.clr := $00000004
  19889. else
  19890. pTDefRegMap(@Self)^.&set := $00000004;
  19891. end;
  19892. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  19893. begin
  19894. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19895. end;
  19896. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  19897. begin
  19898. pTDefRegMap(@Self)^.&set := $00000010;
  19899. end;
  19900. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  19901. begin
  19902. pTDefRegMap(@Self)^.clr := $00000010;
  19903. end;
  19904. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  19905. begin
  19906. if thebits = 0 then
  19907. pTDefRegMap(@Self)^.clr := $00000010
  19908. else
  19909. pTDefRegMap(@Self)^.&set := $00000010;
  19910. end;
  19911. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  19912. begin
  19913. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19914. end;
  19915. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  19916. begin
  19917. pTDefRegMap(@Self)^.&set := $00000020;
  19918. end;
  19919. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  19920. begin
  19921. pTDefRegMap(@Self)^.clr := $00000020;
  19922. end;
  19923. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  19924. begin
  19925. if thebits = 0 then
  19926. pTDefRegMap(@Self)^.clr := $00000020
  19927. else
  19928. pTDefRegMap(@Self)^.&set := $00000020;
  19929. end;
  19930. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  19931. begin
  19932. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19933. end;
  19934. procedure TDMAC0_DCH0CON.setCHAED; inline;
  19935. begin
  19936. pTDefRegMap(@Self)^.&set := $00000040;
  19937. end;
  19938. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  19939. begin
  19940. pTDefRegMap(@Self)^.clr := $00000040;
  19941. end;
  19942. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  19943. begin
  19944. if thebits = 0 then
  19945. pTDefRegMap(@Self)^.clr := $00000040
  19946. else
  19947. pTDefRegMap(@Self)^.&set := $00000040;
  19948. end;
  19949. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  19950. begin
  19951. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19952. end;
  19953. procedure TDMAC0_DCH0CON.setCHEN; inline;
  19954. begin
  19955. pTDefRegMap(@Self)^.&set := $00000080;
  19956. end;
  19957. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  19958. begin
  19959. pTDefRegMap(@Self)^.clr := $00000080;
  19960. end;
  19961. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  19962. begin
  19963. if thebits = 0 then
  19964. pTDefRegMap(@Self)^.clr := $00000080
  19965. else
  19966. pTDefRegMap(@Self)^.&set := $00000080;
  19967. end;
  19968. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  19969. begin
  19970. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19971. end;
  19972. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  19973. begin
  19974. pTDefRegMap(@Self)^.&set := $00000100;
  19975. end;
  19976. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  19977. begin
  19978. pTDefRegMap(@Self)^.clr := $00000100;
  19979. end;
  19980. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  19981. begin
  19982. if thebits = 0 then
  19983. pTDefRegMap(@Self)^.clr := $00000100
  19984. else
  19985. pTDefRegMap(@Self)^.&set := $00000100;
  19986. end;
  19987. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  19988. begin
  19989. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19990. end;
  19991. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  19992. begin
  19993. pTDefRegMap(@Self)^.val := thebits;
  19994. end;
  19995. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  19996. begin
  19997. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19998. end;
  19999. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  20000. begin
  20001. pTDefRegMap(@Self)^.&set := $00000008;
  20002. end;
  20003. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  20004. begin
  20005. pTDefRegMap(@Self)^.clr := $00000008;
  20006. end;
  20007. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  20008. begin
  20009. if thebits = 0 then
  20010. pTDefRegMap(@Self)^.clr := $00000008
  20011. else
  20012. pTDefRegMap(@Self)^.&set := $00000008;
  20013. end;
  20014. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  20015. begin
  20016. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20017. end;
  20018. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  20019. begin
  20020. pTDefRegMap(@Self)^.&set := $00000010;
  20021. end;
  20022. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  20023. begin
  20024. pTDefRegMap(@Self)^.clr := $00000010;
  20025. end;
  20026. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  20027. begin
  20028. if thebits = 0 then
  20029. pTDefRegMap(@Self)^.clr := $00000010
  20030. else
  20031. pTDefRegMap(@Self)^.&set := $00000010;
  20032. end;
  20033. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  20034. begin
  20035. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20036. end;
  20037. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  20038. begin
  20039. pTDefRegMap(@Self)^.&set := $00000020;
  20040. end;
  20041. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  20042. begin
  20043. pTDefRegMap(@Self)^.clr := $00000020;
  20044. end;
  20045. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  20046. begin
  20047. if thebits = 0 then
  20048. pTDefRegMap(@Self)^.clr := $00000020
  20049. else
  20050. pTDefRegMap(@Self)^.&set := $00000020;
  20051. end;
  20052. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  20053. begin
  20054. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20055. end;
  20056. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  20057. begin
  20058. pTDefRegMap(@Self)^.&set := $00000040;
  20059. end;
  20060. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  20061. begin
  20062. pTDefRegMap(@Self)^.clr := $00000040;
  20063. end;
  20064. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  20065. begin
  20066. if thebits = 0 then
  20067. pTDefRegMap(@Self)^.clr := $00000040
  20068. else
  20069. pTDefRegMap(@Self)^.&set := $00000040;
  20070. end;
  20071. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  20072. begin
  20073. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20074. end;
  20075. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  20076. begin
  20077. pTDefRegMap(@Self)^.&set := $00000080;
  20078. end;
  20079. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  20080. begin
  20081. pTDefRegMap(@Self)^.clr := $00000080;
  20082. end;
  20083. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  20084. begin
  20085. if thebits = 0 then
  20086. pTDefRegMap(@Self)^.clr := $00000080
  20087. else
  20088. pTDefRegMap(@Self)^.&set := $00000080;
  20089. end;
  20090. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  20091. begin
  20092. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20093. end;
  20094. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  20095. begin
  20096. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  20097. end;
  20098. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  20099. begin
  20100. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  20101. end;
  20102. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  20103. begin
  20104. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20105. end;
  20106. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  20107. begin
  20108. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20109. end;
  20110. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  20111. begin
  20112. pTDefRegMap(@Self)^.val := thebits;
  20113. end;
  20114. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  20115. begin
  20116. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20117. end;
  20118. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  20119. begin
  20120. pTDefRegMap(@Self)^.&set := $00000001;
  20121. end;
  20122. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  20123. begin
  20124. pTDefRegMap(@Self)^.clr := $00000001;
  20125. end;
  20126. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  20127. begin
  20128. if thebits = 0 then
  20129. pTDefRegMap(@Self)^.clr := $00000001
  20130. else
  20131. pTDefRegMap(@Self)^.&set := $00000001;
  20132. end;
  20133. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  20134. begin
  20135. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20136. end;
  20137. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  20138. begin
  20139. pTDefRegMap(@Self)^.&set := $00000002;
  20140. end;
  20141. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  20142. begin
  20143. pTDefRegMap(@Self)^.clr := $00000002;
  20144. end;
  20145. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  20146. begin
  20147. if thebits = 0 then
  20148. pTDefRegMap(@Self)^.clr := $00000002
  20149. else
  20150. pTDefRegMap(@Self)^.&set := $00000002;
  20151. end;
  20152. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  20153. begin
  20154. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20155. end;
  20156. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  20157. begin
  20158. pTDefRegMap(@Self)^.&set := $00000004;
  20159. end;
  20160. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  20161. begin
  20162. pTDefRegMap(@Self)^.clr := $00000004;
  20163. end;
  20164. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  20165. begin
  20166. if thebits = 0 then
  20167. pTDefRegMap(@Self)^.clr := $00000004
  20168. else
  20169. pTDefRegMap(@Self)^.&set := $00000004;
  20170. end;
  20171. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  20172. begin
  20173. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20174. end;
  20175. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  20176. begin
  20177. pTDefRegMap(@Self)^.&set := $00000008;
  20178. end;
  20179. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  20180. begin
  20181. pTDefRegMap(@Self)^.clr := $00000008;
  20182. end;
  20183. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  20184. begin
  20185. if thebits = 0 then
  20186. pTDefRegMap(@Self)^.clr := $00000008
  20187. else
  20188. pTDefRegMap(@Self)^.&set := $00000008;
  20189. end;
  20190. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  20191. begin
  20192. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20193. end;
  20194. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  20195. begin
  20196. pTDefRegMap(@Self)^.&set := $00000010;
  20197. end;
  20198. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  20199. begin
  20200. pTDefRegMap(@Self)^.clr := $00000010;
  20201. end;
  20202. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  20203. begin
  20204. if thebits = 0 then
  20205. pTDefRegMap(@Self)^.clr := $00000010
  20206. else
  20207. pTDefRegMap(@Self)^.&set := $00000010;
  20208. end;
  20209. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  20210. begin
  20211. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20212. end;
  20213. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  20214. begin
  20215. pTDefRegMap(@Self)^.&set := $00000020;
  20216. end;
  20217. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  20218. begin
  20219. pTDefRegMap(@Self)^.clr := $00000020;
  20220. end;
  20221. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  20222. begin
  20223. if thebits = 0 then
  20224. pTDefRegMap(@Self)^.clr := $00000020
  20225. else
  20226. pTDefRegMap(@Self)^.&set := $00000020;
  20227. end;
  20228. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  20229. begin
  20230. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20231. end;
  20232. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  20233. begin
  20234. pTDefRegMap(@Self)^.&set := $00000040;
  20235. end;
  20236. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  20237. begin
  20238. pTDefRegMap(@Self)^.clr := $00000040;
  20239. end;
  20240. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  20241. begin
  20242. if thebits = 0 then
  20243. pTDefRegMap(@Self)^.clr := $00000040
  20244. else
  20245. pTDefRegMap(@Self)^.&set := $00000040;
  20246. end;
  20247. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  20248. begin
  20249. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20250. end;
  20251. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  20252. begin
  20253. pTDefRegMap(@Self)^.&set := $00000080;
  20254. end;
  20255. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  20256. begin
  20257. pTDefRegMap(@Self)^.clr := $00000080;
  20258. end;
  20259. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  20260. begin
  20261. if thebits = 0 then
  20262. pTDefRegMap(@Self)^.clr := $00000080
  20263. else
  20264. pTDefRegMap(@Self)^.&set := $00000080;
  20265. end;
  20266. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  20267. begin
  20268. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20269. end;
  20270. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  20271. begin
  20272. pTDefRegMap(@Self)^.&set := $00010000;
  20273. end;
  20274. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  20275. begin
  20276. pTDefRegMap(@Self)^.clr := $00010000;
  20277. end;
  20278. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  20279. begin
  20280. if thebits = 0 then
  20281. pTDefRegMap(@Self)^.clr := $00010000
  20282. else
  20283. pTDefRegMap(@Self)^.&set := $00010000;
  20284. end;
  20285. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  20286. begin
  20287. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  20288. end;
  20289. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  20290. begin
  20291. pTDefRegMap(@Self)^.&set := $00020000;
  20292. end;
  20293. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  20294. begin
  20295. pTDefRegMap(@Self)^.clr := $00020000;
  20296. end;
  20297. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  20298. begin
  20299. if thebits = 0 then
  20300. pTDefRegMap(@Self)^.clr := $00020000
  20301. else
  20302. pTDefRegMap(@Self)^.&set := $00020000;
  20303. end;
  20304. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  20305. begin
  20306. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  20307. end;
  20308. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  20309. begin
  20310. pTDefRegMap(@Self)^.&set := $00040000;
  20311. end;
  20312. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  20313. begin
  20314. pTDefRegMap(@Self)^.clr := $00040000;
  20315. end;
  20316. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  20317. begin
  20318. if thebits = 0 then
  20319. pTDefRegMap(@Self)^.clr := $00040000
  20320. else
  20321. pTDefRegMap(@Self)^.&set := $00040000;
  20322. end;
  20323. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  20324. begin
  20325. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  20326. end;
  20327. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  20328. begin
  20329. pTDefRegMap(@Self)^.&set := $00080000;
  20330. end;
  20331. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  20332. begin
  20333. pTDefRegMap(@Self)^.clr := $00080000;
  20334. end;
  20335. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  20336. begin
  20337. if thebits = 0 then
  20338. pTDefRegMap(@Self)^.clr := $00080000
  20339. else
  20340. pTDefRegMap(@Self)^.&set := $00080000;
  20341. end;
  20342. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  20343. begin
  20344. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  20345. end;
  20346. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  20347. begin
  20348. pTDefRegMap(@Self)^.&set := $00100000;
  20349. end;
  20350. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  20351. begin
  20352. pTDefRegMap(@Self)^.clr := $00100000;
  20353. end;
  20354. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  20355. begin
  20356. if thebits = 0 then
  20357. pTDefRegMap(@Self)^.clr := $00100000
  20358. else
  20359. pTDefRegMap(@Self)^.&set := $00100000;
  20360. end;
  20361. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  20362. begin
  20363. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  20364. end;
  20365. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  20366. begin
  20367. pTDefRegMap(@Self)^.&set := $00200000;
  20368. end;
  20369. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  20370. begin
  20371. pTDefRegMap(@Self)^.clr := $00200000;
  20372. end;
  20373. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  20374. begin
  20375. if thebits = 0 then
  20376. pTDefRegMap(@Self)^.clr := $00200000
  20377. else
  20378. pTDefRegMap(@Self)^.&set := $00200000;
  20379. end;
  20380. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  20381. begin
  20382. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  20383. end;
  20384. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  20385. begin
  20386. pTDefRegMap(@Self)^.&set := $00400000;
  20387. end;
  20388. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  20389. begin
  20390. pTDefRegMap(@Self)^.clr := $00400000;
  20391. end;
  20392. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  20393. begin
  20394. if thebits = 0 then
  20395. pTDefRegMap(@Self)^.clr := $00400000
  20396. else
  20397. pTDefRegMap(@Self)^.&set := $00400000;
  20398. end;
  20399. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  20400. begin
  20401. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  20402. end;
  20403. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  20404. begin
  20405. pTDefRegMap(@Self)^.&set := $00800000;
  20406. end;
  20407. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  20408. begin
  20409. pTDefRegMap(@Self)^.clr := $00800000;
  20410. end;
  20411. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  20412. begin
  20413. if thebits = 0 then
  20414. pTDefRegMap(@Self)^.clr := $00800000
  20415. else
  20416. pTDefRegMap(@Self)^.&set := $00800000;
  20417. end;
  20418. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  20419. begin
  20420. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  20421. end;
  20422. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  20423. begin
  20424. pTDefRegMap(@Self)^.val := thebits;
  20425. end;
  20426. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  20427. begin
  20428. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20429. end;
  20430. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  20431. begin
  20432. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  20433. end;
  20434. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  20435. begin
  20436. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  20437. end;
  20438. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  20439. begin
  20440. pTDefRegMap(@Self)^.&set := $00000004;
  20441. end;
  20442. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  20443. begin
  20444. pTDefRegMap(@Self)^.clr := $00000004;
  20445. end;
  20446. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  20447. begin
  20448. if thebits = 0 then
  20449. pTDefRegMap(@Self)^.clr := $00000004
  20450. else
  20451. pTDefRegMap(@Self)^.&set := $00000004;
  20452. end;
  20453. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  20454. begin
  20455. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20456. end;
  20457. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  20458. begin
  20459. pTDefRegMap(@Self)^.&set := $00000010;
  20460. end;
  20461. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  20462. begin
  20463. pTDefRegMap(@Self)^.clr := $00000010;
  20464. end;
  20465. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  20466. begin
  20467. if thebits = 0 then
  20468. pTDefRegMap(@Self)^.clr := $00000010
  20469. else
  20470. pTDefRegMap(@Self)^.&set := $00000010;
  20471. end;
  20472. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  20473. begin
  20474. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20475. end;
  20476. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  20477. begin
  20478. pTDefRegMap(@Self)^.&set := $00000020;
  20479. end;
  20480. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  20481. begin
  20482. pTDefRegMap(@Self)^.clr := $00000020;
  20483. end;
  20484. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  20485. begin
  20486. if thebits = 0 then
  20487. pTDefRegMap(@Self)^.clr := $00000020
  20488. else
  20489. pTDefRegMap(@Self)^.&set := $00000020;
  20490. end;
  20491. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  20492. begin
  20493. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20494. end;
  20495. procedure TDMAC1_DCH1CON.setCHAED; inline;
  20496. begin
  20497. pTDefRegMap(@Self)^.&set := $00000040;
  20498. end;
  20499. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  20500. begin
  20501. pTDefRegMap(@Self)^.clr := $00000040;
  20502. end;
  20503. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  20504. begin
  20505. if thebits = 0 then
  20506. pTDefRegMap(@Self)^.clr := $00000040
  20507. else
  20508. pTDefRegMap(@Self)^.&set := $00000040;
  20509. end;
  20510. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  20511. begin
  20512. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20513. end;
  20514. procedure TDMAC1_DCH1CON.setCHEN; inline;
  20515. begin
  20516. pTDefRegMap(@Self)^.&set := $00000080;
  20517. end;
  20518. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  20519. begin
  20520. pTDefRegMap(@Self)^.clr := $00000080;
  20521. end;
  20522. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  20523. begin
  20524. if thebits = 0 then
  20525. pTDefRegMap(@Self)^.clr := $00000080
  20526. else
  20527. pTDefRegMap(@Self)^.&set := $00000080;
  20528. end;
  20529. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  20530. begin
  20531. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20532. end;
  20533. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  20534. begin
  20535. pTDefRegMap(@Self)^.&set := $00000100;
  20536. end;
  20537. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  20538. begin
  20539. pTDefRegMap(@Self)^.clr := $00000100;
  20540. end;
  20541. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  20542. begin
  20543. if thebits = 0 then
  20544. pTDefRegMap(@Self)^.clr := $00000100
  20545. else
  20546. pTDefRegMap(@Self)^.&set := $00000100;
  20547. end;
  20548. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  20549. begin
  20550. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20551. end;
  20552. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  20553. begin
  20554. pTDefRegMap(@Self)^.val := thebits;
  20555. end;
  20556. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  20557. begin
  20558. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20559. end;
  20560. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  20561. begin
  20562. pTDefRegMap(@Self)^.&set := $00000008;
  20563. end;
  20564. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  20565. begin
  20566. pTDefRegMap(@Self)^.clr := $00000008;
  20567. end;
  20568. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  20569. begin
  20570. if thebits = 0 then
  20571. pTDefRegMap(@Self)^.clr := $00000008
  20572. else
  20573. pTDefRegMap(@Self)^.&set := $00000008;
  20574. end;
  20575. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  20576. begin
  20577. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20578. end;
  20579. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  20580. begin
  20581. pTDefRegMap(@Self)^.&set := $00000010;
  20582. end;
  20583. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  20584. begin
  20585. pTDefRegMap(@Self)^.clr := $00000010;
  20586. end;
  20587. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  20588. begin
  20589. if thebits = 0 then
  20590. pTDefRegMap(@Self)^.clr := $00000010
  20591. else
  20592. pTDefRegMap(@Self)^.&set := $00000010;
  20593. end;
  20594. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  20595. begin
  20596. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20597. end;
  20598. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  20599. begin
  20600. pTDefRegMap(@Self)^.&set := $00000020;
  20601. end;
  20602. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  20603. begin
  20604. pTDefRegMap(@Self)^.clr := $00000020;
  20605. end;
  20606. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  20607. begin
  20608. if thebits = 0 then
  20609. pTDefRegMap(@Self)^.clr := $00000020
  20610. else
  20611. pTDefRegMap(@Self)^.&set := $00000020;
  20612. end;
  20613. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  20614. begin
  20615. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20616. end;
  20617. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  20618. begin
  20619. pTDefRegMap(@Self)^.&set := $00000040;
  20620. end;
  20621. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  20622. begin
  20623. pTDefRegMap(@Self)^.clr := $00000040;
  20624. end;
  20625. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  20626. begin
  20627. if thebits = 0 then
  20628. pTDefRegMap(@Self)^.clr := $00000040
  20629. else
  20630. pTDefRegMap(@Self)^.&set := $00000040;
  20631. end;
  20632. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  20633. begin
  20634. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20635. end;
  20636. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  20637. begin
  20638. pTDefRegMap(@Self)^.&set := $00000080;
  20639. end;
  20640. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  20641. begin
  20642. pTDefRegMap(@Self)^.clr := $00000080;
  20643. end;
  20644. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  20645. begin
  20646. if thebits = 0 then
  20647. pTDefRegMap(@Self)^.clr := $00000080
  20648. else
  20649. pTDefRegMap(@Self)^.&set := $00000080;
  20650. end;
  20651. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  20652. begin
  20653. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20654. end;
  20655. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  20656. begin
  20657. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  20658. end;
  20659. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  20660. begin
  20661. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  20662. end;
  20663. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  20664. begin
  20665. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20666. end;
  20667. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  20668. begin
  20669. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20670. end;
  20671. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  20672. begin
  20673. pTDefRegMap(@Self)^.val := thebits;
  20674. end;
  20675. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  20676. begin
  20677. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20678. end;
  20679. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  20680. begin
  20681. pTDefRegMap(@Self)^.&set := $00000001;
  20682. end;
  20683. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  20684. begin
  20685. pTDefRegMap(@Self)^.clr := $00000001;
  20686. end;
  20687. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  20688. begin
  20689. if thebits = 0 then
  20690. pTDefRegMap(@Self)^.clr := $00000001
  20691. else
  20692. pTDefRegMap(@Self)^.&set := $00000001;
  20693. end;
  20694. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  20695. begin
  20696. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20697. end;
  20698. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  20699. begin
  20700. pTDefRegMap(@Self)^.&set := $00000002;
  20701. end;
  20702. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  20703. begin
  20704. pTDefRegMap(@Self)^.clr := $00000002;
  20705. end;
  20706. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  20707. begin
  20708. if thebits = 0 then
  20709. pTDefRegMap(@Self)^.clr := $00000002
  20710. else
  20711. pTDefRegMap(@Self)^.&set := $00000002;
  20712. end;
  20713. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  20714. begin
  20715. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20716. end;
  20717. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  20718. begin
  20719. pTDefRegMap(@Self)^.&set := $00000004;
  20720. end;
  20721. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  20722. begin
  20723. pTDefRegMap(@Self)^.clr := $00000004;
  20724. end;
  20725. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  20726. begin
  20727. if thebits = 0 then
  20728. pTDefRegMap(@Self)^.clr := $00000004
  20729. else
  20730. pTDefRegMap(@Self)^.&set := $00000004;
  20731. end;
  20732. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  20733. begin
  20734. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20735. end;
  20736. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  20737. begin
  20738. pTDefRegMap(@Self)^.&set := $00000008;
  20739. end;
  20740. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  20741. begin
  20742. pTDefRegMap(@Self)^.clr := $00000008;
  20743. end;
  20744. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  20745. begin
  20746. if thebits = 0 then
  20747. pTDefRegMap(@Self)^.clr := $00000008
  20748. else
  20749. pTDefRegMap(@Self)^.&set := $00000008;
  20750. end;
  20751. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  20752. begin
  20753. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20754. end;
  20755. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  20756. begin
  20757. pTDefRegMap(@Self)^.&set := $00000010;
  20758. end;
  20759. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  20760. begin
  20761. pTDefRegMap(@Self)^.clr := $00000010;
  20762. end;
  20763. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  20764. begin
  20765. if thebits = 0 then
  20766. pTDefRegMap(@Self)^.clr := $00000010
  20767. else
  20768. pTDefRegMap(@Self)^.&set := $00000010;
  20769. end;
  20770. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  20771. begin
  20772. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20773. end;
  20774. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  20775. begin
  20776. pTDefRegMap(@Self)^.&set := $00000020;
  20777. end;
  20778. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  20779. begin
  20780. pTDefRegMap(@Self)^.clr := $00000020;
  20781. end;
  20782. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  20783. begin
  20784. if thebits = 0 then
  20785. pTDefRegMap(@Self)^.clr := $00000020
  20786. else
  20787. pTDefRegMap(@Self)^.&set := $00000020;
  20788. end;
  20789. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  20790. begin
  20791. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20792. end;
  20793. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  20794. begin
  20795. pTDefRegMap(@Self)^.&set := $00000040;
  20796. end;
  20797. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  20798. begin
  20799. pTDefRegMap(@Self)^.clr := $00000040;
  20800. end;
  20801. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  20802. begin
  20803. if thebits = 0 then
  20804. pTDefRegMap(@Self)^.clr := $00000040
  20805. else
  20806. pTDefRegMap(@Self)^.&set := $00000040;
  20807. end;
  20808. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  20809. begin
  20810. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20811. end;
  20812. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  20813. begin
  20814. pTDefRegMap(@Self)^.&set := $00000080;
  20815. end;
  20816. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  20817. begin
  20818. pTDefRegMap(@Self)^.clr := $00000080;
  20819. end;
  20820. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  20821. begin
  20822. if thebits = 0 then
  20823. pTDefRegMap(@Self)^.clr := $00000080
  20824. else
  20825. pTDefRegMap(@Self)^.&set := $00000080;
  20826. end;
  20827. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  20828. begin
  20829. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20830. end;
  20831. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  20832. begin
  20833. pTDefRegMap(@Self)^.&set := $00010000;
  20834. end;
  20835. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  20836. begin
  20837. pTDefRegMap(@Self)^.clr := $00010000;
  20838. end;
  20839. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  20840. begin
  20841. if thebits = 0 then
  20842. pTDefRegMap(@Self)^.clr := $00010000
  20843. else
  20844. pTDefRegMap(@Self)^.&set := $00010000;
  20845. end;
  20846. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  20847. begin
  20848. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  20849. end;
  20850. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  20851. begin
  20852. pTDefRegMap(@Self)^.&set := $00020000;
  20853. end;
  20854. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  20855. begin
  20856. pTDefRegMap(@Self)^.clr := $00020000;
  20857. end;
  20858. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  20859. begin
  20860. if thebits = 0 then
  20861. pTDefRegMap(@Self)^.clr := $00020000
  20862. else
  20863. pTDefRegMap(@Self)^.&set := $00020000;
  20864. end;
  20865. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  20866. begin
  20867. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  20868. end;
  20869. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  20870. begin
  20871. pTDefRegMap(@Self)^.&set := $00040000;
  20872. end;
  20873. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  20874. begin
  20875. pTDefRegMap(@Self)^.clr := $00040000;
  20876. end;
  20877. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  20878. begin
  20879. if thebits = 0 then
  20880. pTDefRegMap(@Self)^.clr := $00040000
  20881. else
  20882. pTDefRegMap(@Self)^.&set := $00040000;
  20883. end;
  20884. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  20885. begin
  20886. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  20887. end;
  20888. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  20889. begin
  20890. pTDefRegMap(@Self)^.&set := $00080000;
  20891. end;
  20892. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  20893. begin
  20894. pTDefRegMap(@Self)^.clr := $00080000;
  20895. end;
  20896. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  20897. begin
  20898. if thebits = 0 then
  20899. pTDefRegMap(@Self)^.clr := $00080000
  20900. else
  20901. pTDefRegMap(@Self)^.&set := $00080000;
  20902. end;
  20903. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  20904. begin
  20905. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  20906. end;
  20907. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  20908. begin
  20909. pTDefRegMap(@Self)^.&set := $00100000;
  20910. end;
  20911. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  20912. begin
  20913. pTDefRegMap(@Self)^.clr := $00100000;
  20914. end;
  20915. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  20916. begin
  20917. if thebits = 0 then
  20918. pTDefRegMap(@Self)^.clr := $00100000
  20919. else
  20920. pTDefRegMap(@Self)^.&set := $00100000;
  20921. end;
  20922. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  20923. begin
  20924. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  20925. end;
  20926. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  20927. begin
  20928. pTDefRegMap(@Self)^.&set := $00200000;
  20929. end;
  20930. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  20931. begin
  20932. pTDefRegMap(@Self)^.clr := $00200000;
  20933. end;
  20934. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  20935. begin
  20936. if thebits = 0 then
  20937. pTDefRegMap(@Self)^.clr := $00200000
  20938. else
  20939. pTDefRegMap(@Self)^.&set := $00200000;
  20940. end;
  20941. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  20942. begin
  20943. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  20944. end;
  20945. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  20946. begin
  20947. pTDefRegMap(@Self)^.&set := $00400000;
  20948. end;
  20949. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  20950. begin
  20951. pTDefRegMap(@Self)^.clr := $00400000;
  20952. end;
  20953. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  20954. begin
  20955. if thebits = 0 then
  20956. pTDefRegMap(@Self)^.clr := $00400000
  20957. else
  20958. pTDefRegMap(@Self)^.&set := $00400000;
  20959. end;
  20960. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  20961. begin
  20962. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  20963. end;
  20964. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  20965. begin
  20966. pTDefRegMap(@Self)^.&set := $00800000;
  20967. end;
  20968. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  20969. begin
  20970. pTDefRegMap(@Self)^.clr := $00800000;
  20971. end;
  20972. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  20973. begin
  20974. if thebits = 0 then
  20975. pTDefRegMap(@Self)^.clr := $00800000
  20976. else
  20977. pTDefRegMap(@Self)^.&set := $00800000;
  20978. end;
  20979. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  20980. begin
  20981. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  20982. end;
  20983. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  20984. begin
  20985. pTDefRegMap(@Self)^.val := thebits;
  20986. end;
  20987. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  20988. begin
  20989. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20990. end;
  20991. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  20992. begin
  20993. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  20994. end;
  20995. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  20996. begin
  20997. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  20998. end;
  20999. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  21000. begin
  21001. pTDefRegMap(@Self)^.&set := $00000004;
  21002. end;
  21003. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  21004. begin
  21005. pTDefRegMap(@Self)^.clr := $00000004;
  21006. end;
  21007. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  21008. begin
  21009. if thebits = 0 then
  21010. pTDefRegMap(@Self)^.clr := $00000004
  21011. else
  21012. pTDefRegMap(@Self)^.&set := $00000004;
  21013. end;
  21014. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  21015. begin
  21016. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21017. end;
  21018. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  21019. begin
  21020. pTDefRegMap(@Self)^.&set := $00000010;
  21021. end;
  21022. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  21023. begin
  21024. pTDefRegMap(@Self)^.clr := $00000010;
  21025. end;
  21026. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  21027. begin
  21028. if thebits = 0 then
  21029. pTDefRegMap(@Self)^.clr := $00000010
  21030. else
  21031. pTDefRegMap(@Self)^.&set := $00000010;
  21032. end;
  21033. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  21034. begin
  21035. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21036. end;
  21037. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  21038. begin
  21039. pTDefRegMap(@Self)^.&set := $00000020;
  21040. end;
  21041. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  21042. begin
  21043. pTDefRegMap(@Self)^.clr := $00000020;
  21044. end;
  21045. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  21046. begin
  21047. if thebits = 0 then
  21048. pTDefRegMap(@Self)^.clr := $00000020
  21049. else
  21050. pTDefRegMap(@Self)^.&set := $00000020;
  21051. end;
  21052. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  21053. begin
  21054. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21055. end;
  21056. procedure TDMAC2_DCH2CON.setCHAED; inline;
  21057. begin
  21058. pTDefRegMap(@Self)^.&set := $00000040;
  21059. end;
  21060. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  21061. begin
  21062. pTDefRegMap(@Self)^.clr := $00000040;
  21063. end;
  21064. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  21065. begin
  21066. if thebits = 0 then
  21067. pTDefRegMap(@Self)^.clr := $00000040
  21068. else
  21069. pTDefRegMap(@Self)^.&set := $00000040;
  21070. end;
  21071. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  21072. begin
  21073. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21074. end;
  21075. procedure TDMAC2_DCH2CON.setCHEN; inline;
  21076. begin
  21077. pTDefRegMap(@Self)^.&set := $00000080;
  21078. end;
  21079. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  21080. begin
  21081. pTDefRegMap(@Self)^.clr := $00000080;
  21082. end;
  21083. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  21084. begin
  21085. if thebits = 0 then
  21086. pTDefRegMap(@Self)^.clr := $00000080
  21087. else
  21088. pTDefRegMap(@Self)^.&set := $00000080;
  21089. end;
  21090. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  21091. begin
  21092. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21093. end;
  21094. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  21095. begin
  21096. pTDefRegMap(@Self)^.&set := $00000100;
  21097. end;
  21098. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  21099. begin
  21100. pTDefRegMap(@Self)^.clr := $00000100;
  21101. end;
  21102. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  21103. begin
  21104. if thebits = 0 then
  21105. pTDefRegMap(@Self)^.clr := $00000100
  21106. else
  21107. pTDefRegMap(@Self)^.&set := $00000100;
  21108. end;
  21109. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  21110. begin
  21111. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21112. end;
  21113. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  21114. begin
  21115. pTDefRegMap(@Self)^.val := thebits;
  21116. end;
  21117. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  21118. begin
  21119. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21120. end;
  21121. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  21122. begin
  21123. pTDefRegMap(@Self)^.&set := $00000008;
  21124. end;
  21125. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  21126. begin
  21127. pTDefRegMap(@Self)^.clr := $00000008;
  21128. end;
  21129. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  21130. begin
  21131. if thebits = 0 then
  21132. pTDefRegMap(@Self)^.clr := $00000008
  21133. else
  21134. pTDefRegMap(@Self)^.&set := $00000008;
  21135. end;
  21136. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  21137. begin
  21138. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21139. end;
  21140. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  21141. begin
  21142. pTDefRegMap(@Self)^.&set := $00000010;
  21143. end;
  21144. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  21145. begin
  21146. pTDefRegMap(@Self)^.clr := $00000010;
  21147. end;
  21148. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  21149. begin
  21150. if thebits = 0 then
  21151. pTDefRegMap(@Self)^.clr := $00000010
  21152. else
  21153. pTDefRegMap(@Self)^.&set := $00000010;
  21154. end;
  21155. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  21156. begin
  21157. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21158. end;
  21159. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  21160. begin
  21161. pTDefRegMap(@Self)^.&set := $00000020;
  21162. end;
  21163. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  21164. begin
  21165. pTDefRegMap(@Self)^.clr := $00000020;
  21166. end;
  21167. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  21168. begin
  21169. if thebits = 0 then
  21170. pTDefRegMap(@Self)^.clr := $00000020
  21171. else
  21172. pTDefRegMap(@Self)^.&set := $00000020;
  21173. end;
  21174. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  21175. begin
  21176. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21177. end;
  21178. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  21179. begin
  21180. pTDefRegMap(@Self)^.&set := $00000040;
  21181. end;
  21182. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  21183. begin
  21184. pTDefRegMap(@Self)^.clr := $00000040;
  21185. end;
  21186. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  21187. begin
  21188. if thebits = 0 then
  21189. pTDefRegMap(@Self)^.clr := $00000040
  21190. else
  21191. pTDefRegMap(@Self)^.&set := $00000040;
  21192. end;
  21193. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  21194. begin
  21195. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21196. end;
  21197. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  21198. begin
  21199. pTDefRegMap(@Self)^.&set := $00000080;
  21200. end;
  21201. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  21202. begin
  21203. pTDefRegMap(@Self)^.clr := $00000080;
  21204. end;
  21205. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  21206. begin
  21207. if thebits = 0 then
  21208. pTDefRegMap(@Self)^.clr := $00000080
  21209. else
  21210. pTDefRegMap(@Self)^.&set := $00000080;
  21211. end;
  21212. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  21213. begin
  21214. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21215. end;
  21216. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  21217. begin
  21218. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  21219. end;
  21220. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  21221. begin
  21222. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  21223. end;
  21224. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  21225. begin
  21226. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21227. end;
  21228. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  21229. begin
  21230. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21231. end;
  21232. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  21233. begin
  21234. pTDefRegMap(@Self)^.val := thebits;
  21235. end;
  21236. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  21237. begin
  21238. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21239. end;
  21240. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  21241. begin
  21242. pTDefRegMap(@Self)^.&set := $00000001;
  21243. end;
  21244. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  21245. begin
  21246. pTDefRegMap(@Self)^.clr := $00000001;
  21247. end;
  21248. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  21249. begin
  21250. if thebits = 0 then
  21251. pTDefRegMap(@Self)^.clr := $00000001
  21252. else
  21253. pTDefRegMap(@Self)^.&set := $00000001;
  21254. end;
  21255. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  21256. begin
  21257. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21258. end;
  21259. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  21260. begin
  21261. pTDefRegMap(@Self)^.&set := $00000002;
  21262. end;
  21263. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  21264. begin
  21265. pTDefRegMap(@Self)^.clr := $00000002;
  21266. end;
  21267. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  21268. begin
  21269. if thebits = 0 then
  21270. pTDefRegMap(@Self)^.clr := $00000002
  21271. else
  21272. pTDefRegMap(@Self)^.&set := $00000002;
  21273. end;
  21274. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  21275. begin
  21276. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21277. end;
  21278. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  21279. begin
  21280. pTDefRegMap(@Self)^.&set := $00000004;
  21281. end;
  21282. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  21283. begin
  21284. pTDefRegMap(@Self)^.clr := $00000004;
  21285. end;
  21286. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  21287. begin
  21288. if thebits = 0 then
  21289. pTDefRegMap(@Self)^.clr := $00000004
  21290. else
  21291. pTDefRegMap(@Self)^.&set := $00000004;
  21292. end;
  21293. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  21294. begin
  21295. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21296. end;
  21297. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  21298. begin
  21299. pTDefRegMap(@Self)^.&set := $00000008;
  21300. end;
  21301. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  21302. begin
  21303. pTDefRegMap(@Self)^.clr := $00000008;
  21304. end;
  21305. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  21306. begin
  21307. if thebits = 0 then
  21308. pTDefRegMap(@Self)^.clr := $00000008
  21309. else
  21310. pTDefRegMap(@Self)^.&set := $00000008;
  21311. end;
  21312. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  21313. begin
  21314. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21315. end;
  21316. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  21317. begin
  21318. pTDefRegMap(@Self)^.&set := $00000010;
  21319. end;
  21320. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  21321. begin
  21322. pTDefRegMap(@Self)^.clr := $00000010;
  21323. end;
  21324. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  21325. begin
  21326. if thebits = 0 then
  21327. pTDefRegMap(@Self)^.clr := $00000010
  21328. else
  21329. pTDefRegMap(@Self)^.&set := $00000010;
  21330. end;
  21331. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  21332. begin
  21333. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21334. end;
  21335. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  21336. begin
  21337. pTDefRegMap(@Self)^.&set := $00000020;
  21338. end;
  21339. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  21340. begin
  21341. pTDefRegMap(@Self)^.clr := $00000020;
  21342. end;
  21343. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  21344. begin
  21345. if thebits = 0 then
  21346. pTDefRegMap(@Self)^.clr := $00000020
  21347. else
  21348. pTDefRegMap(@Self)^.&set := $00000020;
  21349. end;
  21350. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  21351. begin
  21352. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21353. end;
  21354. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  21355. begin
  21356. pTDefRegMap(@Self)^.&set := $00000040;
  21357. end;
  21358. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  21359. begin
  21360. pTDefRegMap(@Self)^.clr := $00000040;
  21361. end;
  21362. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  21363. begin
  21364. if thebits = 0 then
  21365. pTDefRegMap(@Self)^.clr := $00000040
  21366. else
  21367. pTDefRegMap(@Self)^.&set := $00000040;
  21368. end;
  21369. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  21370. begin
  21371. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21372. end;
  21373. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  21374. begin
  21375. pTDefRegMap(@Self)^.&set := $00000080;
  21376. end;
  21377. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  21378. begin
  21379. pTDefRegMap(@Self)^.clr := $00000080;
  21380. end;
  21381. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  21382. begin
  21383. if thebits = 0 then
  21384. pTDefRegMap(@Self)^.clr := $00000080
  21385. else
  21386. pTDefRegMap(@Self)^.&set := $00000080;
  21387. end;
  21388. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  21389. begin
  21390. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21391. end;
  21392. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  21393. begin
  21394. pTDefRegMap(@Self)^.&set := $00010000;
  21395. end;
  21396. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  21397. begin
  21398. pTDefRegMap(@Self)^.clr := $00010000;
  21399. end;
  21400. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  21401. begin
  21402. if thebits = 0 then
  21403. pTDefRegMap(@Self)^.clr := $00010000
  21404. else
  21405. pTDefRegMap(@Self)^.&set := $00010000;
  21406. end;
  21407. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  21408. begin
  21409. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  21410. end;
  21411. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  21412. begin
  21413. pTDefRegMap(@Self)^.&set := $00020000;
  21414. end;
  21415. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  21416. begin
  21417. pTDefRegMap(@Self)^.clr := $00020000;
  21418. end;
  21419. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  21420. begin
  21421. if thebits = 0 then
  21422. pTDefRegMap(@Self)^.clr := $00020000
  21423. else
  21424. pTDefRegMap(@Self)^.&set := $00020000;
  21425. end;
  21426. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  21427. begin
  21428. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  21429. end;
  21430. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  21431. begin
  21432. pTDefRegMap(@Self)^.&set := $00040000;
  21433. end;
  21434. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  21435. begin
  21436. pTDefRegMap(@Self)^.clr := $00040000;
  21437. end;
  21438. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  21439. begin
  21440. if thebits = 0 then
  21441. pTDefRegMap(@Self)^.clr := $00040000
  21442. else
  21443. pTDefRegMap(@Self)^.&set := $00040000;
  21444. end;
  21445. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  21446. begin
  21447. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  21448. end;
  21449. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  21450. begin
  21451. pTDefRegMap(@Self)^.&set := $00080000;
  21452. end;
  21453. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  21454. begin
  21455. pTDefRegMap(@Self)^.clr := $00080000;
  21456. end;
  21457. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  21458. begin
  21459. if thebits = 0 then
  21460. pTDefRegMap(@Self)^.clr := $00080000
  21461. else
  21462. pTDefRegMap(@Self)^.&set := $00080000;
  21463. end;
  21464. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  21465. begin
  21466. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  21467. end;
  21468. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  21469. begin
  21470. pTDefRegMap(@Self)^.&set := $00100000;
  21471. end;
  21472. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  21473. begin
  21474. pTDefRegMap(@Self)^.clr := $00100000;
  21475. end;
  21476. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  21477. begin
  21478. if thebits = 0 then
  21479. pTDefRegMap(@Self)^.clr := $00100000
  21480. else
  21481. pTDefRegMap(@Self)^.&set := $00100000;
  21482. end;
  21483. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  21484. begin
  21485. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  21486. end;
  21487. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  21488. begin
  21489. pTDefRegMap(@Self)^.&set := $00200000;
  21490. end;
  21491. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  21492. begin
  21493. pTDefRegMap(@Self)^.clr := $00200000;
  21494. end;
  21495. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  21496. begin
  21497. if thebits = 0 then
  21498. pTDefRegMap(@Self)^.clr := $00200000
  21499. else
  21500. pTDefRegMap(@Self)^.&set := $00200000;
  21501. end;
  21502. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  21503. begin
  21504. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  21505. end;
  21506. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  21507. begin
  21508. pTDefRegMap(@Self)^.&set := $00400000;
  21509. end;
  21510. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  21511. begin
  21512. pTDefRegMap(@Self)^.clr := $00400000;
  21513. end;
  21514. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  21515. begin
  21516. if thebits = 0 then
  21517. pTDefRegMap(@Self)^.clr := $00400000
  21518. else
  21519. pTDefRegMap(@Self)^.&set := $00400000;
  21520. end;
  21521. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  21522. begin
  21523. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  21524. end;
  21525. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  21526. begin
  21527. pTDefRegMap(@Self)^.&set := $00800000;
  21528. end;
  21529. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  21530. begin
  21531. pTDefRegMap(@Self)^.clr := $00800000;
  21532. end;
  21533. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  21534. begin
  21535. if thebits = 0 then
  21536. pTDefRegMap(@Self)^.clr := $00800000
  21537. else
  21538. pTDefRegMap(@Self)^.&set := $00800000;
  21539. end;
  21540. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  21541. begin
  21542. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  21543. end;
  21544. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  21545. begin
  21546. pTDefRegMap(@Self)^.val := thebits;
  21547. end;
  21548. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  21549. begin
  21550. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21551. end;
  21552. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  21553. begin
  21554. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21555. end;
  21556. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  21557. begin
  21558. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21559. end;
  21560. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  21561. begin
  21562. pTDefRegMap(@Self)^.&set := $00000004;
  21563. end;
  21564. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  21565. begin
  21566. pTDefRegMap(@Self)^.clr := $00000004;
  21567. end;
  21568. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  21569. begin
  21570. if thebits = 0 then
  21571. pTDefRegMap(@Self)^.clr := $00000004
  21572. else
  21573. pTDefRegMap(@Self)^.&set := $00000004;
  21574. end;
  21575. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  21576. begin
  21577. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21578. end;
  21579. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  21580. begin
  21581. pTDefRegMap(@Self)^.&set := $00000010;
  21582. end;
  21583. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  21584. begin
  21585. pTDefRegMap(@Self)^.clr := $00000010;
  21586. end;
  21587. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  21588. begin
  21589. if thebits = 0 then
  21590. pTDefRegMap(@Self)^.clr := $00000010
  21591. else
  21592. pTDefRegMap(@Self)^.&set := $00000010;
  21593. end;
  21594. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  21595. begin
  21596. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21597. end;
  21598. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  21599. begin
  21600. pTDefRegMap(@Self)^.&set := $00000020;
  21601. end;
  21602. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  21603. begin
  21604. pTDefRegMap(@Self)^.clr := $00000020;
  21605. end;
  21606. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  21607. begin
  21608. if thebits = 0 then
  21609. pTDefRegMap(@Self)^.clr := $00000020
  21610. else
  21611. pTDefRegMap(@Self)^.&set := $00000020;
  21612. end;
  21613. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  21614. begin
  21615. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21616. end;
  21617. procedure TDMAC3_DCH3CON.setCHAED; inline;
  21618. begin
  21619. pTDefRegMap(@Self)^.&set := $00000040;
  21620. end;
  21621. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  21622. begin
  21623. pTDefRegMap(@Self)^.clr := $00000040;
  21624. end;
  21625. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  21626. begin
  21627. if thebits = 0 then
  21628. pTDefRegMap(@Self)^.clr := $00000040
  21629. else
  21630. pTDefRegMap(@Self)^.&set := $00000040;
  21631. end;
  21632. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  21633. begin
  21634. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21635. end;
  21636. procedure TDMAC3_DCH3CON.setCHEN; inline;
  21637. begin
  21638. pTDefRegMap(@Self)^.&set := $00000080;
  21639. end;
  21640. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  21641. begin
  21642. pTDefRegMap(@Self)^.clr := $00000080;
  21643. end;
  21644. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  21645. begin
  21646. if thebits = 0 then
  21647. pTDefRegMap(@Self)^.clr := $00000080
  21648. else
  21649. pTDefRegMap(@Self)^.&set := $00000080;
  21650. end;
  21651. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  21652. begin
  21653. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21654. end;
  21655. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  21656. begin
  21657. pTDefRegMap(@Self)^.&set := $00000100;
  21658. end;
  21659. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  21660. begin
  21661. pTDefRegMap(@Self)^.clr := $00000100;
  21662. end;
  21663. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  21664. begin
  21665. if thebits = 0 then
  21666. pTDefRegMap(@Self)^.clr := $00000100
  21667. else
  21668. pTDefRegMap(@Self)^.&set := $00000100;
  21669. end;
  21670. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  21671. begin
  21672. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21673. end;
  21674. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  21675. begin
  21676. pTDefRegMap(@Self)^.val := thebits;
  21677. end;
  21678. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  21679. begin
  21680. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21681. end;
  21682. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  21683. begin
  21684. pTDefRegMap(@Self)^.&set := $00000008;
  21685. end;
  21686. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  21687. begin
  21688. pTDefRegMap(@Self)^.clr := $00000008;
  21689. end;
  21690. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  21691. begin
  21692. if thebits = 0 then
  21693. pTDefRegMap(@Self)^.clr := $00000008
  21694. else
  21695. pTDefRegMap(@Self)^.&set := $00000008;
  21696. end;
  21697. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  21698. begin
  21699. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21700. end;
  21701. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  21702. begin
  21703. pTDefRegMap(@Self)^.&set := $00000010;
  21704. end;
  21705. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  21706. begin
  21707. pTDefRegMap(@Self)^.clr := $00000010;
  21708. end;
  21709. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  21710. begin
  21711. if thebits = 0 then
  21712. pTDefRegMap(@Self)^.clr := $00000010
  21713. else
  21714. pTDefRegMap(@Self)^.&set := $00000010;
  21715. end;
  21716. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  21717. begin
  21718. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21719. end;
  21720. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  21721. begin
  21722. pTDefRegMap(@Self)^.&set := $00000020;
  21723. end;
  21724. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  21725. begin
  21726. pTDefRegMap(@Self)^.clr := $00000020;
  21727. end;
  21728. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  21729. begin
  21730. if thebits = 0 then
  21731. pTDefRegMap(@Self)^.clr := $00000020
  21732. else
  21733. pTDefRegMap(@Self)^.&set := $00000020;
  21734. end;
  21735. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  21736. begin
  21737. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21738. end;
  21739. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  21740. begin
  21741. pTDefRegMap(@Self)^.&set := $00000040;
  21742. end;
  21743. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  21744. begin
  21745. pTDefRegMap(@Self)^.clr := $00000040;
  21746. end;
  21747. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  21748. begin
  21749. if thebits = 0 then
  21750. pTDefRegMap(@Self)^.clr := $00000040
  21751. else
  21752. pTDefRegMap(@Self)^.&set := $00000040;
  21753. end;
  21754. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  21755. begin
  21756. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21757. end;
  21758. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  21759. begin
  21760. pTDefRegMap(@Self)^.&set := $00000080;
  21761. end;
  21762. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  21763. begin
  21764. pTDefRegMap(@Self)^.clr := $00000080;
  21765. end;
  21766. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  21767. begin
  21768. if thebits = 0 then
  21769. pTDefRegMap(@Self)^.clr := $00000080
  21770. else
  21771. pTDefRegMap(@Self)^.&set := $00000080;
  21772. end;
  21773. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  21774. begin
  21775. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21776. end;
  21777. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  21778. begin
  21779. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  21780. end;
  21781. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  21782. begin
  21783. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  21784. end;
  21785. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  21786. begin
  21787. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21788. end;
  21789. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  21790. begin
  21791. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21792. end;
  21793. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  21794. begin
  21795. pTDefRegMap(@Self)^.val := thebits;
  21796. end;
  21797. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  21798. begin
  21799. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21800. end;
  21801. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  21802. begin
  21803. pTDefRegMap(@Self)^.&set := $00000001;
  21804. end;
  21805. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  21806. begin
  21807. pTDefRegMap(@Self)^.clr := $00000001;
  21808. end;
  21809. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  21810. begin
  21811. if thebits = 0 then
  21812. pTDefRegMap(@Self)^.clr := $00000001
  21813. else
  21814. pTDefRegMap(@Self)^.&set := $00000001;
  21815. end;
  21816. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  21817. begin
  21818. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21819. end;
  21820. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  21821. begin
  21822. pTDefRegMap(@Self)^.&set := $00000002;
  21823. end;
  21824. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  21825. begin
  21826. pTDefRegMap(@Self)^.clr := $00000002;
  21827. end;
  21828. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  21829. begin
  21830. if thebits = 0 then
  21831. pTDefRegMap(@Self)^.clr := $00000002
  21832. else
  21833. pTDefRegMap(@Self)^.&set := $00000002;
  21834. end;
  21835. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  21836. begin
  21837. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21838. end;
  21839. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  21840. begin
  21841. pTDefRegMap(@Self)^.&set := $00000004;
  21842. end;
  21843. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  21844. begin
  21845. pTDefRegMap(@Self)^.clr := $00000004;
  21846. end;
  21847. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  21848. begin
  21849. if thebits = 0 then
  21850. pTDefRegMap(@Self)^.clr := $00000004
  21851. else
  21852. pTDefRegMap(@Self)^.&set := $00000004;
  21853. end;
  21854. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  21855. begin
  21856. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21857. end;
  21858. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  21859. begin
  21860. pTDefRegMap(@Self)^.&set := $00000008;
  21861. end;
  21862. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  21863. begin
  21864. pTDefRegMap(@Self)^.clr := $00000008;
  21865. end;
  21866. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  21867. begin
  21868. if thebits = 0 then
  21869. pTDefRegMap(@Self)^.clr := $00000008
  21870. else
  21871. pTDefRegMap(@Self)^.&set := $00000008;
  21872. end;
  21873. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  21874. begin
  21875. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21876. end;
  21877. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  21878. begin
  21879. pTDefRegMap(@Self)^.&set := $00000010;
  21880. end;
  21881. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  21882. begin
  21883. pTDefRegMap(@Self)^.clr := $00000010;
  21884. end;
  21885. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  21886. begin
  21887. if thebits = 0 then
  21888. pTDefRegMap(@Self)^.clr := $00000010
  21889. else
  21890. pTDefRegMap(@Self)^.&set := $00000010;
  21891. end;
  21892. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  21893. begin
  21894. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21895. end;
  21896. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  21897. begin
  21898. pTDefRegMap(@Self)^.&set := $00000020;
  21899. end;
  21900. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  21901. begin
  21902. pTDefRegMap(@Self)^.clr := $00000020;
  21903. end;
  21904. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  21905. begin
  21906. if thebits = 0 then
  21907. pTDefRegMap(@Self)^.clr := $00000020
  21908. else
  21909. pTDefRegMap(@Self)^.&set := $00000020;
  21910. end;
  21911. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  21912. begin
  21913. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21914. end;
  21915. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  21916. begin
  21917. pTDefRegMap(@Self)^.&set := $00000040;
  21918. end;
  21919. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  21920. begin
  21921. pTDefRegMap(@Self)^.clr := $00000040;
  21922. end;
  21923. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  21924. begin
  21925. if thebits = 0 then
  21926. pTDefRegMap(@Self)^.clr := $00000040
  21927. else
  21928. pTDefRegMap(@Self)^.&set := $00000040;
  21929. end;
  21930. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  21931. begin
  21932. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21933. end;
  21934. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  21935. begin
  21936. pTDefRegMap(@Self)^.&set := $00000080;
  21937. end;
  21938. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  21939. begin
  21940. pTDefRegMap(@Self)^.clr := $00000080;
  21941. end;
  21942. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  21943. begin
  21944. if thebits = 0 then
  21945. pTDefRegMap(@Self)^.clr := $00000080
  21946. else
  21947. pTDefRegMap(@Self)^.&set := $00000080;
  21948. end;
  21949. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  21950. begin
  21951. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21952. end;
  21953. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  21954. begin
  21955. pTDefRegMap(@Self)^.&set := $00010000;
  21956. end;
  21957. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  21958. begin
  21959. pTDefRegMap(@Self)^.clr := $00010000;
  21960. end;
  21961. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  21962. begin
  21963. if thebits = 0 then
  21964. pTDefRegMap(@Self)^.clr := $00010000
  21965. else
  21966. pTDefRegMap(@Self)^.&set := $00010000;
  21967. end;
  21968. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  21969. begin
  21970. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  21971. end;
  21972. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  21973. begin
  21974. pTDefRegMap(@Self)^.&set := $00020000;
  21975. end;
  21976. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  21977. begin
  21978. pTDefRegMap(@Self)^.clr := $00020000;
  21979. end;
  21980. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  21981. begin
  21982. if thebits = 0 then
  21983. pTDefRegMap(@Self)^.clr := $00020000
  21984. else
  21985. pTDefRegMap(@Self)^.&set := $00020000;
  21986. end;
  21987. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  21988. begin
  21989. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  21990. end;
  21991. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  21992. begin
  21993. pTDefRegMap(@Self)^.&set := $00040000;
  21994. end;
  21995. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  21996. begin
  21997. pTDefRegMap(@Self)^.clr := $00040000;
  21998. end;
  21999. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  22000. begin
  22001. if thebits = 0 then
  22002. pTDefRegMap(@Self)^.clr := $00040000
  22003. else
  22004. pTDefRegMap(@Self)^.&set := $00040000;
  22005. end;
  22006. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  22007. begin
  22008. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  22009. end;
  22010. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  22011. begin
  22012. pTDefRegMap(@Self)^.&set := $00080000;
  22013. end;
  22014. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  22015. begin
  22016. pTDefRegMap(@Self)^.clr := $00080000;
  22017. end;
  22018. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  22019. begin
  22020. if thebits = 0 then
  22021. pTDefRegMap(@Self)^.clr := $00080000
  22022. else
  22023. pTDefRegMap(@Self)^.&set := $00080000;
  22024. end;
  22025. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  22026. begin
  22027. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  22028. end;
  22029. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  22030. begin
  22031. pTDefRegMap(@Self)^.&set := $00100000;
  22032. end;
  22033. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  22034. begin
  22035. pTDefRegMap(@Self)^.clr := $00100000;
  22036. end;
  22037. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  22038. begin
  22039. if thebits = 0 then
  22040. pTDefRegMap(@Self)^.clr := $00100000
  22041. else
  22042. pTDefRegMap(@Self)^.&set := $00100000;
  22043. end;
  22044. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  22045. begin
  22046. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  22047. end;
  22048. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  22049. begin
  22050. pTDefRegMap(@Self)^.&set := $00200000;
  22051. end;
  22052. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  22053. begin
  22054. pTDefRegMap(@Self)^.clr := $00200000;
  22055. end;
  22056. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  22057. begin
  22058. if thebits = 0 then
  22059. pTDefRegMap(@Self)^.clr := $00200000
  22060. else
  22061. pTDefRegMap(@Self)^.&set := $00200000;
  22062. end;
  22063. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  22064. begin
  22065. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  22066. end;
  22067. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  22068. begin
  22069. pTDefRegMap(@Self)^.&set := $00400000;
  22070. end;
  22071. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  22072. begin
  22073. pTDefRegMap(@Self)^.clr := $00400000;
  22074. end;
  22075. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  22076. begin
  22077. if thebits = 0 then
  22078. pTDefRegMap(@Self)^.clr := $00400000
  22079. else
  22080. pTDefRegMap(@Self)^.&set := $00400000;
  22081. end;
  22082. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  22083. begin
  22084. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  22085. end;
  22086. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  22087. begin
  22088. pTDefRegMap(@Self)^.&set := $00800000;
  22089. end;
  22090. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  22091. begin
  22092. pTDefRegMap(@Self)^.clr := $00800000;
  22093. end;
  22094. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  22095. begin
  22096. if thebits = 0 then
  22097. pTDefRegMap(@Self)^.clr := $00800000
  22098. else
  22099. pTDefRegMap(@Self)^.&set := $00800000;
  22100. end;
  22101. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  22102. begin
  22103. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  22104. end;
  22105. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  22106. begin
  22107. pTDefRegMap(@Self)^.val := thebits;
  22108. end;
  22109. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  22110. begin
  22111. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22112. end;
  22113. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  22114. begin
  22115. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  22116. end;
  22117. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  22118. begin
  22119. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  22120. end;
  22121. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  22122. begin
  22123. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  22124. end;
  22125. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  22126. begin
  22127. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  22128. end;
  22129. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  22130. begin
  22131. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  22132. end;
  22133. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  22134. begin
  22135. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  22136. end;
  22137. procedure TPCACHE_CHECON.setCHECOH; inline;
  22138. begin
  22139. pTDefRegMap(@Self)^.&set := $00010000;
  22140. end;
  22141. procedure TPCACHE_CHECON.clearCHECOH; inline;
  22142. begin
  22143. pTDefRegMap(@Self)^.clr := $00010000;
  22144. end;
  22145. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  22146. begin
  22147. if thebits = 0 then
  22148. pTDefRegMap(@Self)^.clr := $00010000
  22149. else
  22150. pTDefRegMap(@Self)^.&set := $00010000;
  22151. end;
  22152. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  22153. begin
  22154. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  22155. end;
  22156. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  22157. begin
  22158. pTDefRegMap(@Self)^.val := thebits;
  22159. end;
  22160. function TPCACHE_CHECON.getw : TBits_32; inline;
  22161. begin
  22162. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22163. end;
  22164. procedure TPCACHE_CHETAG.setLTYPE; inline;
  22165. begin
  22166. pTDefRegMap(@Self)^.&set := $00000002;
  22167. end;
  22168. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  22169. begin
  22170. pTDefRegMap(@Self)^.clr := $00000002;
  22171. end;
  22172. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  22173. begin
  22174. if thebits = 0 then
  22175. pTDefRegMap(@Self)^.clr := $00000002
  22176. else
  22177. pTDefRegMap(@Self)^.&set := $00000002;
  22178. end;
  22179. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  22180. begin
  22181. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22182. end;
  22183. procedure TPCACHE_CHETAG.setLLOCK; inline;
  22184. begin
  22185. pTDefRegMap(@Self)^.&set := $00000004;
  22186. end;
  22187. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  22188. begin
  22189. pTDefRegMap(@Self)^.clr := $00000004;
  22190. end;
  22191. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  22192. begin
  22193. if thebits = 0 then
  22194. pTDefRegMap(@Self)^.clr := $00000004
  22195. else
  22196. pTDefRegMap(@Self)^.&set := $00000004;
  22197. end;
  22198. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  22199. begin
  22200. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22201. end;
  22202. procedure TPCACHE_CHETAG.setLVALID; inline;
  22203. begin
  22204. pTDefRegMap(@Self)^.&set := $00000008;
  22205. end;
  22206. procedure TPCACHE_CHETAG.clearLVALID; inline;
  22207. begin
  22208. pTDefRegMap(@Self)^.clr := $00000008;
  22209. end;
  22210. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  22211. begin
  22212. if thebits = 0 then
  22213. pTDefRegMap(@Self)^.clr := $00000008
  22214. else
  22215. pTDefRegMap(@Self)^.&set := $00000008;
  22216. end;
  22217. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  22218. begin
  22219. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22220. end;
  22221. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  22222. begin
  22223. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  22224. end;
  22225. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  22226. begin
  22227. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  22228. end;
  22229. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  22230. begin
  22231. pTDefRegMap(@Self)^.&set := $80000000;
  22232. end;
  22233. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  22234. begin
  22235. pTDefRegMap(@Self)^.clr := $80000000;
  22236. end;
  22237. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  22238. begin
  22239. if thebits = 0 then
  22240. pTDefRegMap(@Self)^.clr := $80000000
  22241. else
  22242. pTDefRegMap(@Self)^.&set := $80000000;
  22243. end;
  22244. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  22245. begin
  22246. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  22247. end;
  22248. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  22249. begin
  22250. pTDefRegMap(@Self)^.val := thebits;
  22251. end;
  22252. function TPCACHE_CHETAG.getw : TBits_32; inline;
  22253. begin
  22254. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22255. end;
  22256. procedure TPORTB_TRISB.setTRISB0; inline;
  22257. begin
  22258. pTDefRegMap(@Self)^.&set := $00000001;
  22259. end;
  22260. procedure TPORTB_TRISB.clearTRISB0; inline;
  22261. begin
  22262. pTDefRegMap(@Self)^.clr := $00000001;
  22263. end;
  22264. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  22265. begin
  22266. if thebits = 0 then
  22267. pTDefRegMap(@Self)^.clr := $00000001
  22268. else
  22269. pTDefRegMap(@Self)^.&set := $00000001;
  22270. end;
  22271. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  22272. begin
  22273. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22274. end;
  22275. procedure TPORTB_TRISB.setTRISB1; inline;
  22276. begin
  22277. pTDefRegMap(@Self)^.&set := $00000002;
  22278. end;
  22279. procedure TPORTB_TRISB.clearTRISB1; inline;
  22280. begin
  22281. pTDefRegMap(@Self)^.clr := $00000002;
  22282. end;
  22283. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  22284. begin
  22285. if thebits = 0 then
  22286. pTDefRegMap(@Self)^.clr := $00000002
  22287. else
  22288. pTDefRegMap(@Self)^.&set := $00000002;
  22289. end;
  22290. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  22291. begin
  22292. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22293. end;
  22294. procedure TPORTB_TRISB.setTRISB2; inline;
  22295. begin
  22296. pTDefRegMap(@Self)^.&set := $00000004;
  22297. end;
  22298. procedure TPORTB_TRISB.clearTRISB2; inline;
  22299. begin
  22300. pTDefRegMap(@Self)^.clr := $00000004;
  22301. end;
  22302. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  22303. begin
  22304. if thebits = 0 then
  22305. pTDefRegMap(@Self)^.clr := $00000004
  22306. else
  22307. pTDefRegMap(@Self)^.&set := $00000004;
  22308. end;
  22309. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  22310. begin
  22311. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22312. end;
  22313. procedure TPORTB_TRISB.setTRISB3; inline;
  22314. begin
  22315. pTDefRegMap(@Self)^.&set := $00000008;
  22316. end;
  22317. procedure TPORTB_TRISB.clearTRISB3; inline;
  22318. begin
  22319. pTDefRegMap(@Self)^.clr := $00000008;
  22320. end;
  22321. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  22322. begin
  22323. if thebits = 0 then
  22324. pTDefRegMap(@Self)^.clr := $00000008
  22325. else
  22326. pTDefRegMap(@Self)^.&set := $00000008;
  22327. end;
  22328. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  22329. begin
  22330. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22331. end;
  22332. procedure TPORTB_TRISB.setTRISB4; inline;
  22333. begin
  22334. pTDefRegMap(@Self)^.&set := $00000010;
  22335. end;
  22336. procedure TPORTB_TRISB.clearTRISB4; inline;
  22337. begin
  22338. pTDefRegMap(@Self)^.clr := $00000010;
  22339. end;
  22340. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  22341. begin
  22342. if thebits = 0 then
  22343. pTDefRegMap(@Self)^.clr := $00000010
  22344. else
  22345. pTDefRegMap(@Self)^.&set := $00000010;
  22346. end;
  22347. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  22348. begin
  22349. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22350. end;
  22351. procedure TPORTB_TRISB.setTRISB5; inline;
  22352. begin
  22353. pTDefRegMap(@Self)^.&set := $00000020;
  22354. end;
  22355. procedure TPORTB_TRISB.clearTRISB5; inline;
  22356. begin
  22357. pTDefRegMap(@Self)^.clr := $00000020;
  22358. end;
  22359. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  22360. begin
  22361. if thebits = 0 then
  22362. pTDefRegMap(@Self)^.clr := $00000020
  22363. else
  22364. pTDefRegMap(@Self)^.&set := $00000020;
  22365. end;
  22366. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  22367. begin
  22368. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22369. end;
  22370. procedure TPORTB_TRISB.setTRISB6; inline;
  22371. begin
  22372. pTDefRegMap(@Self)^.&set := $00000040;
  22373. end;
  22374. procedure TPORTB_TRISB.clearTRISB6; inline;
  22375. begin
  22376. pTDefRegMap(@Self)^.clr := $00000040;
  22377. end;
  22378. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  22379. begin
  22380. if thebits = 0 then
  22381. pTDefRegMap(@Self)^.clr := $00000040
  22382. else
  22383. pTDefRegMap(@Self)^.&set := $00000040;
  22384. end;
  22385. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  22386. begin
  22387. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22388. end;
  22389. procedure TPORTB_TRISB.setTRISB7; inline;
  22390. begin
  22391. pTDefRegMap(@Self)^.&set := $00000080;
  22392. end;
  22393. procedure TPORTB_TRISB.clearTRISB7; inline;
  22394. begin
  22395. pTDefRegMap(@Self)^.clr := $00000080;
  22396. end;
  22397. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  22398. begin
  22399. if thebits = 0 then
  22400. pTDefRegMap(@Self)^.clr := $00000080
  22401. else
  22402. pTDefRegMap(@Self)^.&set := $00000080;
  22403. end;
  22404. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  22405. begin
  22406. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22407. end;
  22408. procedure TPORTB_TRISB.setTRISB8; inline;
  22409. begin
  22410. pTDefRegMap(@Self)^.&set := $00000100;
  22411. end;
  22412. procedure TPORTB_TRISB.clearTRISB8; inline;
  22413. begin
  22414. pTDefRegMap(@Self)^.clr := $00000100;
  22415. end;
  22416. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  22417. begin
  22418. if thebits = 0 then
  22419. pTDefRegMap(@Self)^.clr := $00000100
  22420. else
  22421. pTDefRegMap(@Self)^.&set := $00000100;
  22422. end;
  22423. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  22424. begin
  22425. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22426. end;
  22427. procedure TPORTB_TRISB.setTRISB9; inline;
  22428. begin
  22429. pTDefRegMap(@Self)^.&set := $00000200;
  22430. end;
  22431. procedure TPORTB_TRISB.clearTRISB9; inline;
  22432. begin
  22433. pTDefRegMap(@Self)^.clr := $00000200;
  22434. end;
  22435. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  22436. begin
  22437. if thebits = 0 then
  22438. pTDefRegMap(@Self)^.clr := $00000200
  22439. else
  22440. pTDefRegMap(@Self)^.&set := $00000200;
  22441. end;
  22442. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  22443. begin
  22444. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22445. end;
  22446. procedure TPORTB_TRISB.setTRISB10; inline;
  22447. begin
  22448. pTDefRegMap(@Self)^.&set := $00000400;
  22449. end;
  22450. procedure TPORTB_TRISB.clearTRISB10; inline;
  22451. begin
  22452. pTDefRegMap(@Self)^.clr := $00000400;
  22453. end;
  22454. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  22455. begin
  22456. if thebits = 0 then
  22457. pTDefRegMap(@Self)^.clr := $00000400
  22458. else
  22459. pTDefRegMap(@Self)^.&set := $00000400;
  22460. end;
  22461. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  22462. begin
  22463. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22464. end;
  22465. procedure TPORTB_TRISB.setTRISB11; inline;
  22466. begin
  22467. pTDefRegMap(@Self)^.&set := $00000800;
  22468. end;
  22469. procedure TPORTB_TRISB.clearTRISB11; inline;
  22470. begin
  22471. pTDefRegMap(@Self)^.clr := $00000800;
  22472. end;
  22473. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  22474. begin
  22475. if thebits = 0 then
  22476. pTDefRegMap(@Self)^.clr := $00000800
  22477. else
  22478. pTDefRegMap(@Self)^.&set := $00000800;
  22479. end;
  22480. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  22481. begin
  22482. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22483. end;
  22484. procedure TPORTB_TRISB.setTRISB12; inline;
  22485. begin
  22486. pTDefRegMap(@Self)^.&set := $00001000;
  22487. end;
  22488. procedure TPORTB_TRISB.clearTRISB12; inline;
  22489. begin
  22490. pTDefRegMap(@Self)^.clr := $00001000;
  22491. end;
  22492. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  22493. begin
  22494. if thebits = 0 then
  22495. pTDefRegMap(@Self)^.clr := $00001000
  22496. else
  22497. pTDefRegMap(@Self)^.&set := $00001000;
  22498. end;
  22499. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  22500. begin
  22501. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22502. end;
  22503. procedure TPORTB_TRISB.setTRISB13; inline;
  22504. begin
  22505. pTDefRegMap(@Self)^.&set := $00002000;
  22506. end;
  22507. procedure TPORTB_TRISB.clearTRISB13; inline;
  22508. begin
  22509. pTDefRegMap(@Self)^.clr := $00002000;
  22510. end;
  22511. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  22512. begin
  22513. if thebits = 0 then
  22514. pTDefRegMap(@Self)^.clr := $00002000
  22515. else
  22516. pTDefRegMap(@Self)^.&set := $00002000;
  22517. end;
  22518. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  22519. begin
  22520. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22521. end;
  22522. procedure TPORTB_TRISB.setTRISB14; inline;
  22523. begin
  22524. pTDefRegMap(@Self)^.&set := $00004000;
  22525. end;
  22526. procedure TPORTB_TRISB.clearTRISB14; inline;
  22527. begin
  22528. pTDefRegMap(@Self)^.clr := $00004000;
  22529. end;
  22530. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  22531. begin
  22532. if thebits = 0 then
  22533. pTDefRegMap(@Self)^.clr := $00004000
  22534. else
  22535. pTDefRegMap(@Self)^.&set := $00004000;
  22536. end;
  22537. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  22538. begin
  22539. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22540. end;
  22541. procedure TPORTB_TRISB.setTRISB15; inline;
  22542. begin
  22543. pTDefRegMap(@Self)^.&set := $00008000;
  22544. end;
  22545. procedure TPORTB_TRISB.clearTRISB15; inline;
  22546. begin
  22547. pTDefRegMap(@Self)^.clr := $00008000;
  22548. end;
  22549. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  22550. begin
  22551. if thebits = 0 then
  22552. pTDefRegMap(@Self)^.clr := $00008000
  22553. else
  22554. pTDefRegMap(@Self)^.&set := $00008000;
  22555. end;
  22556. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  22557. begin
  22558. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22559. end;
  22560. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  22561. begin
  22562. pTDefRegMap(@Self)^.val := thebits;
  22563. end;
  22564. function TPORTB_TRISB.getw : TBits_32; inline;
  22565. begin
  22566. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22567. end;
  22568. procedure TPORTB_PORTB.setRB0; inline;
  22569. begin
  22570. pTDefRegMap(@Self)^.&set := $00000001;
  22571. end;
  22572. procedure TPORTB_PORTB.clearRB0; inline;
  22573. begin
  22574. pTDefRegMap(@Self)^.clr := $00000001;
  22575. end;
  22576. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  22577. begin
  22578. if thebits = 0 then
  22579. pTDefRegMap(@Self)^.clr := $00000001
  22580. else
  22581. pTDefRegMap(@Self)^.&set := $00000001;
  22582. end;
  22583. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  22584. begin
  22585. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22586. end;
  22587. procedure TPORTB_PORTB.setRB1; inline;
  22588. begin
  22589. pTDefRegMap(@Self)^.&set := $00000002;
  22590. end;
  22591. procedure TPORTB_PORTB.clearRB1; inline;
  22592. begin
  22593. pTDefRegMap(@Self)^.clr := $00000002;
  22594. end;
  22595. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  22596. begin
  22597. if thebits = 0 then
  22598. pTDefRegMap(@Self)^.clr := $00000002
  22599. else
  22600. pTDefRegMap(@Self)^.&set := $00000002;
  22601. end;
  22602. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  22603. begin
  22604. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22605. end;
  22606. procedure TPORTB_PORTB.setRB2; inline;
  22607. begin
  22608. pTDefRegMap(@Self)^.&set := $00000004;
  22609. end;
  22610. procedure TPORTB_PORTB.clearRB2; inline;
  22611. begin
  22612. pTDefRegMap(@Self)^.clr := $00000004;
  22613. end;
  22614. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  22615. begin
  22616. if thebits = 0 then
  22617. pTDefRegMap(@Self)^.clr := $00000004
  22618. else
  22619. pTDefRegMap(@Self)^.&set := $00000004;
  22620. end;
  22621. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  22622. begin
  22623. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22624. end;
  22625. procedure TPORTB_PORTB.setRB3; inline;
  22626. begin
  22627. pTDefRegMap(@Self)^.&set := $00000008;
  22628. end;
  22629. procedure TPORTB_PORTB.clearRB3; inline;
  22630. begin
  22631. pTDefRegMap(@Self)^.clr := $00000008;
  22632. end;
  22633. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  22634. begin
  22635. if thebits = 0 then
  22636. pTDefRegMap(@Self)^.clr := $00000008
  22637. else
  22638. pTDefRegMap(@Self)^.&set := $00000008;
  22639. end;
  22640. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  22641. begin
  22642. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22643. end;
  22644. procedure TPORTB_PORTB.setRB4; inline;
  22645. begin
  22646. pTDefRegMap(@Self)^.&set := $00000010;
  22647. end;
  22648. procedure TPORTB_PORTB.clearRB4; inline;
  22649. begin
  22650. pTDefRegMap(@Self)^.clr := $00000010;
  22651. end;
  22652. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  22653. begin
  22654. if thebits = 0 then
  22655. pTDefRegMap(@Self)^.clr := $00000010
  22656. else
  22657. pTDefRegMap(@Self)^.&set := $00000010;
  22658. end;
  22659. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  22660. begin
  22661. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22662. end;
  22663. procedure TPORTB_PORTB.setRB5; inline;
  22664. begin
  22665. pTDefRegMap(@Self)^.&set := $00000020;
  22666. end;
  22667. procedure TPORTB_PORTB.clearRB5; inline;
  22668. begin
  22669. pTDefRegMap(@Self)^.clr := $00000020;
  22670. end;
  22671. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  22672. begin
  22673. if thebits = 0 then
  22674. pTDefRegMap(@Self)^.clr := $00000020
  22675. else
  22676. pTDefRegMap(@Self)^.&set := $00000020;
  22677. end;
  22678. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  22679. begin
  22680. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22681. end;
  22682. procedure TPORTB_PORTB.setRB6; inline;
  22683. begin
  22684. pTDefRegMap(@Self)^.&set := $00000040;
  22685. end;
  22686. procedure TPORTB_PORTB.clearRB6; inline;
  22687. begin
  22688. pTDefRegMap(@Self)^.clr := $00000040;
  22689. end;
  22690. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  22691. begin
  22692. if thebits = 0 then
  22693. pTDefRegMap(@Self)^.clr := $00000040
  22694. else
  22695. pTDefRegMap(@Self)^.&set := $00000040;
  22696. end;
  22697. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  22698. begin
  22699. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22700. end;
  22701. procedure TPORTB_PORTB.setRB7; inline;
  22702. begin
  22703. pTDefRegMap(@Self)^.&set := $00000080;
  22704. end;
  22705. procedure TPORTB_PORTB.clearRB7; inline;
  22706. begin
  22707. pTDefRegMap(@Self)^.clr := $00000080;
  22708. end;
  22709. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  22710. begin
  22711. if thebits = 0 then
  22712. pTDefRegMap(@Self)^.clr := $00000080
  22713. else
  22714. pTDefRegMap(@Self)^.&set := $00000080;
  22715. end;
  22716. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  22717. begin
  22718. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22719. end;
  22720. procedure TPORTB_PORTB.setRB8; inline;
  22721. begin
  22722. pTDefRegMap(@Self)^.&set := $00000100;
  22723. end;
  22724. procedure TPORTB_PORTB.clearRB8; inline;
  22725. begin
  22726. pTDefRegMap(@Self)^.clr := $00000100;
  22727. end;
  22728. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  22729. begin
  22730. if thebits = 0 then
  22731. pTDefRegMap(@Self)^.clr := $00000100
  22732. else
  22733. pTDefRegMap(@Self)^.&set := $00000100;
  22734. end;
  22735. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  22736. begin
  22737. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22738. end;
  22739. procedure TPORTB_PORTB.setRB9; inline;
  22740. begin
  22741. pTDefRegMap(@Self)^.&set := $00000200;
  22742. end;
  22743. procedure TPORTB_PORTB.clearRB9; inline;
  22744. begin
  22745. pTDefRegMap(@Self)^.clr := $00000200;
  22746. end;
  22747. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  22748. begin
  22749. if thebits = 0 then
  22750. pTDefRegMap(@Self)^.clr := $00000200
  22751. else
  22752. pTDefRegMap(@Self)^.&set := $00000200;
  22753. end;
  22754. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  22755. begin
  22756. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22757. end;
  22758. procedure TPORTB_PORTB.setRB10; inline;
  22759. begin
  22760. pTDefRegMap(@Self)^.&set := $00000400;
  22761. end;
  22762. procedure TPORTB_PORTB.clearRB10; inline;
  22763. begin
  22764. pTDefRegMap(@Self)^.clr := $00000400;
  22765. end;
  22766. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  22767. begin
  22768. if thebits = 0 then
  22769. pTDefRegMap(@Self)^.clr := $00000400
  22770. else
  22771. pTDefRegMap(@Self)^.&set := $00000400;
  22772. end;
  22773. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  22774. begin
  22775. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22776. end;
  22777. procedure TPORTB_PORTB.setRB11; inline;
  22778. begin
  22779. pTDefRegMap(@Self)^.&set := $00000800;
  22780. end;
  22781. procedure TPORTB_PORTB.clearRB11; inline;
  22782. begin
  22783. pTDefRegMap(@Self)^.clr := $00000800;
  22784. end;
  22785. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  22786. begin
  22787. if thebits = 0 then
  22788. pTDefRegMap(@Self)^.clr := $00000800
  22789. else
  22790. pTDefRegMap(@Self)^.&set := $00000800;
  22791. end;
  22792. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  22793. begin
  22794. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22795. end;
  22796. procedure TPORTB_PORTB.setRB12; inline;
  22797. begin
  22798. pTDefRegMap(@Self)^.&set := $00001000;
  22799. end;
  22800. procedure TPORTB_PORTB.clearRB12; inline;
  22801. begin
  22802. pTDefRegMap(@Self)^.clr := $00001000;
  22803. end;
  22804. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  22805. begin
  22806. if thebits = 0 then
  22807. pTDefRegMap(@Self)^.clr := $00001000
  22808. else
  22809. pTDefRegMap(@Self)^.&set := $00001000;
  22810. end;
  22811. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  22812. begin
  22813. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22814. end;
  22815. procedure TPORTB_PORTB.setRB13; inline;
  22816. begin
  22817. pTDefRegMap(@Self)^.&set := $00002000;
  22818. end;
  22819. procedure TPORTB_PORTB.clearRB13; inline;
  22820. begin
  22821. pTDefRegMap(@Self)^.clr := $00002000;
  22822. end;
  22823. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  22824. begin
  22825. if thebits = 0 then
  22826. pTDefRegMap(@Self)^.clr := $00002000
  22827. else
  22828. pTDefRegMap(@Self)^.&set := $00002000;
  22829. end;
  22830. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  22831. begin
  22832. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22833. end;
  22834. procedure TPORTB_PORTB.setRB14; inline;
  22835. begin
  22836. pTDefRegMap(@Self)^.&set := $00004000;
  22837. end;
  22838. procedure TPORTB_PORTB.clearRB14; inline;
  22839. begin
  22840. pTDefRegMap(@Self)^.clr := $00004000;
  22841. end;
  22842. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  22843. begin
  22844. if thebits = 0 then
  22845. pTDefRegMap(@Self)^.clr := $00004000
  22846. else
  22847. pTDefRegMap(@Self)^.&set := $00004000;
  22848. end;
  22849. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  22850. begin
  22851. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22852. end;
  22853. procedure TPORTB_PORTB.setRB15; inline;
  22854. begin
  22855. pTDefRegMap(@Self)^.&set := $00008000;
  22856. end;
  22857. procedure TPORTB_PORTB.clearRB15; inline;
  22858. begin
  22859. pTDefRegMap(@Self)^.clr := $00008000;
  22860. end;
  22861. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  22862. begin
  22863. if thebits = 0 then
  22864. pTDefRegMap(@Self)^.clr := $00008000
  22865. else
  22866. pTDefRegMap(@Self)^.&set := $00008000;
  22867. end;
  22868. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  22869. begin
  22870. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22871. end;
  22872. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  22873. begin
  22874. pTDefRegMap(@Self)^.val := thebits;
  22875. end;
  22876. function TPORTB_PORTB.getw : TBits_32; inline;
  22877. begin
  22878. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22879. end;
  22880. procedure TPORTB_LATB.setLATB0; inline;
  22881. begin
  22882. pTDefRegMap(@Self)^.&set := $00000001;
  22883. end;
  22884. procedure TPORTB_LATB.clearLATB0; inline;
  22885. begin
  22886. pTDefRegMap(@Self)^.clr := $00000001;
  22887. end;
  22888. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  22889. begin
  22890. if thebits = 0 then
  22891. pTDefRegMap(@Self)^.clr := $00000001
  22892. else
  22893. pTDefRegMap(@Self)^.&set := $00000001;
  22894. end;
  22895. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  22896. begin
  22897. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22898. end;
  22899. procedure TPORTB_LATB.setLATB1; inline;
  22900. begin
  22901. pTDefRegMap(@Self)^.&set := $00000002;
  22902. end;
  22903. procedure TPORTB_LATB.clearLATB1; inline;
  22904. begin
  22905. pTDefRegMap(@Self)^.clr := $00000002;
  22906. end;
  22907. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  22908. begin
  22909. if thebits = 0 then
  22910. pTDefRegMap(@Self)^.clr := $00000002
  22911. else
  22912. pTDefRegMap(@Self)^.&set := $00000002;
  22913. end;
  22914. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  22915. begin
  22916. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22917. end;
  22918. procedure TPORTB_LATB.setLATB2; inline;
  22919. begin
  22920. pTDefRegMap(@Self)^.&set := $00000004;
  22921. end;
  22922. procedure TPORTB_LATB.clearLATB2; inline;
  22923. begin
  22924. pTDefRegMap(@Self)^.clr := $00000004;
  22925. end;
  22926. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  22927. begin
  22928. if thebits = 0 then
  22929. pTDefRegMap(@Self)^.clr := $00000004
  22930. else
  22931. pTDefRegMap(@Self)^.&set := $00000004;
  22932. end;
  22933. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  22934. begin
  22935. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22936. end;
  22937. procedure TPORTB_LATB.setLATB3; inline;
  22938. begin
  22939. pTDefRegMap(@Self)^.&set := $00000008;
  22940. end;
  22941. procedure TPORTB_LATB.clearLATB3; inline;
  22942. begin
  22943. pTDefRegMap(@Self)^.clr := $00000008;
  22944. end;
  22945. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  22946. begin
  22947. if thebits = 0 then
  22948. pTDefRegMap(@Self)^.clr := $00000008
  22949. else
  22950. pTDefRegMap(@Self)^.&set := $00000008;
  22951. end;
  22952. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  22953. begin
  22954. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22955. end;
  22956. procedure TPORTB_LATB.setLATB4; inline;
  22957. begin
  22958. pTDefRegMap(@Self)^.&set := $00000010;
  22959. end;
  22960. procedure TPORTB_LATB.clearLATB4; inline;
  22961. begin
  22962. pTDefRegMap(@Self)^.clr := $00000010;
  22963. end;
  22964. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  22965. begin
  22966. if thebits = 0 then
  22967. pTDefRegMap(@Self)^.clr := $00000010
  22968. else
  22969. pTDefRegMap(@Self)^.&set := $00000010;
  22970. end;
  22971. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  22972. begin
  22973. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22974. end;
  22975. procedure TPORTB_LATB.setLATB5; inline;
  22976. begin
  22977. pTDefRegMap(@Self)^.&set := $00000020;
  22978. end;
  22979. procedure TPORTB_LATB.clearLATB5; inline;
  22980. begin
  22981. pTDefRegMap(@Self)^.clr := $00000020;
  22982. end;
  22983. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  22984. begin
  22985. if thebits = 0 then
  22986. pTDefRegMap(@Self)^.clr := $00000020
  22987. else
  22988. pTDefRegMap(@Self)^.&set := $00000020;
  22989. end;
  22990. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  22991. begin
  22992. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22993. end;
  22994. procedure TPORTB_LATB.setLATB6; inline;
  22995. begin
  22996. pTDefRegMap(@Self)^.&set := $00000040;
  22997. end;
  22998. procedure TPORTB_LATB.clearLATB6; inline;
  22999. begin
  23000. pTDefRegMap(@Self)^.clr := $00000040;
  23001. end;
  23002. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  23003. begin
  23004. if thebits = 0 then
  23005. pTDefRegMap(@Self)^.clr := $00000040
  23006. else
  23007. pTDefRegMap(@Self)^.&set := $00000040;
  23008. end;
  23009. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  23010. begin
  23011. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23012. end;
  23013. procedure TPORTB_LATB.setLATB7; inline;
  23014. begin
  23015. pTDefRegMap(@Self)^.&set := $00000080;
  23016. end;
  23017. procedure TPORTB_LATB.clearLATB7; inline;
  23018. begin
  23019. pTDefRegMap(@Self)^.clr := $00000080;
  23020. end;
  23021. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  23022. begin
  23023. if thebits = 0 then
  23024. pTDefRegMap(@Self)^.clr := $00000080
  23025. else
  23026. pTDefRegMap(@Self)^.&set := $00000080;
  23027. end;
  23028. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  23029. begin
  23030. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23031. end;
  23032. procedure TPORTB_LATB.setLATB8; inline;
  23033. begin
  23034. pTDefRegMap(@Self)^.&set := $00000100;
  23035. end;
  23036. procedure TPORTB_LATB.clearLATB8; inline;
  23037. begin
  23038. pTDefRegMap(@Self)^.clr := $00000100;
  23039. end;
  23040. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  23041. begin
  23042. if thebits = 0 then
  23043. pTDefRegMap(@Self)^.clr := $00000100
  23044. else
  23045. pTDefRegMap(@Self)^.&set := $00000100;
  23046. end;
  23047. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  23048. begin
  23049. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23050. end;
  23051. procedure TPORTB_LATB.setLATB9; inline;
  23052. begin
  23053. pTDefRegMap(@Self)^.&set := $00000200;
  23054. end;
  23055. procedure TPORTB_LATB.clearLATB9; inline;
  23056. begin
  23057. pTDefRegMap(@Self)^.clr := $00000200;
  23058. end;
  23059. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  23060. begin
  23061. if thebits = 0 then
  23062. pTDefRegMap(@Self)^.clr := $00000200
  23063. else
  23064. pTDefRegMap(@Self)^.&set := $00000200;
  23065. end;
  23066. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  23067. begin
  23068. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23069. end;
  23070. procedure TPORTB_LATB.setLATB10; inline;
  23071. begin
  23072. pTDefRegMap(@Self)^.&set := $00000400;
  23073. end;
  23074. procedure TPORTB_LATB.clearLATB10; inline;
  23075. begin
  23076. pTDefRegMap(@Self)^.clr := $00000400;
  23077. end;
  23078. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  23079. begin
  23080. if thebits = 0 then
  23081. pTDefRegMap(@Self)^.clr := $00000400
  23082. else
  23083. pTDefRegMap(@Self)^.&set := $00000400;
  23084. end;
  23085. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  23086. begin
  23087. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23088. end;
  23089. procedure TPORTB_LATB.setLATB11; inline;
  23090. begin
  23091. pTDefRegMap(@Self)^.&set := $00000800;
  23092. end;
  23093. procedure TPORTB_LATB.clearLATB11; inline;
  23094. begin
  23095. pTDefRegMap(@Self)^.clr := $00000800;
  23096. end;
  23097. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  23098. begin
  23099. if thebits = 0 then
  23100. pTDefRegMap(@Self)^.clr := $00000800
  23101. else
  23102. pTDefRegMap(@Self)^.&set := $00000800;
  23103. end;
  23104. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  23105. begin
  23106. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23107. end;
  23108. procedure TPORTB_LATB.setLATB12; inline;
  23109. begin
  23110. pTDefRegMap(@Self)^.&set := $00001000;
  23111. end;
  23112. procedure TPORTB_LATB.clearLATB12; inline;
  23113. begin
  23114. pTDefRegMap(@Self)^.clr := $00001000;
  23115. end;
  23116. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  23117. begin
  23118. if thebits = 0 then
  23119. pTDefRegMap(@Self)^.clr := $00001000
  23120. else
  23121. pTDefRegMap(@Self)^.&set := $00001000;
  23122. end;
  23123. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  23124. begin
  23125. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23126. end;
  23127. procedure TPORTB_LATB.setLATB13; inline;
  23128. begin
  23129. pTDefRegMap(@Self)^.&set := $00002000;
  23130. end;
  23131. procedure TPORTB_LATB.clearLATB13; inline;
  23132. begin
  23133. pTDefRegMap(@Self)^.clr := $00002000;
  23134. end;
  23135. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  23136. begin
  23137. if thebits = 0 then
  23138. pTDefRegMap(@Self)^.clr := $00002000
  23139. else
  23140. pTDefRegMap(@Self)^.&set := $00002000;
  23141. end;
  23142. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  23143. begin
  23144. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23145. end;
  23146. procedure TPORTB_LATB.setLATB14; inline;
  23147. begin
  23148. pTDefRegMap(@Self)^.&set := $00004000;
  23149. end;
  23150. procedure TPORTB_LATB.clearLATB14; inline;
  23151. begin
  23152. pTDefRegMap(@Self)^.clr := $00004000;
  23153. end;
  23154. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  23155. begin
  23156. if thebits = 0 then
  23157. pTDefRegMap(@Self)^.clr := $00004000
  23158. else
  23159. pTDefRegMap(@Self)^.&set := $00004000;
  23160. end;
  23161. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  23162. begin
  23163. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23164. end;
  23165. procedure TPORTB_LATB.setLATB15; inline;
  23166. begin
  23167. pTDefRegMap(@Self)^.&set := $00008000;
  23168. end;
  23169. procedure TPORTB_LATB.clearLATB15; inline;
  23170. begin
  23171. pTDefRegMap(@Self)^.clr := $00008000;
  23172. end;
  23173. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  23174. begin
  23175. if thebits = 0 then
  23176. pTDefRegMap(@Self)^.clr := $00008000
  23177. else
  23178. pTDefRegMap(@Self)^.&set := $00008000;
  23179. end;
  23180. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  23181. begin
  23182. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23183. end;
  23184. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  23185. begin
  23186. pTDefRegMap(@Self)^.val := thebits;
  23187. end;
  23188. function TPORTB_LATB.getw : TBits_32; inline;
  23189. begin
  23190. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23191. end;
  23192. procedure TPORTB_ODCB.setODCB0; inline;
  23193. begin
  23194. pTDefRegMap(@Self)^.&set := $00000001;
  23195. end;
  23196. procedure TPORTB_ODCB.clearODCB0; inline;
  23197. begin
  23198. pTDefRegMap(@Self)^.clr := $00000001;
  23199. end;
  23200. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  23201. begin
  23202. if thebits = 0 then
  23203. pTDefRegMap(@Self)^.clr := $00000001
  23204. else
  23205. pTDefRegMap(@Self)^.&set := $00000001;
  23206. end;
  23207. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  23208. begin
  23209. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23210. end;
  23211. procedure TPORTB_ODCB.setODCB1; inline;
  23212. begin
  23213. pTDefRegMap(@Self)^.&set := $00000002;
  23214. end;
  23215. procedure TPORTB_ODCB.clearODCB1; inline;
  23216. begin
  23217. pTDefRegMap(@Self)^.clr := $00000002;
  23218. end;
  23219. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  23220. begin
  23221. if thebits = 0 then
  23222. pTDefRegMap(@Self)^.clr := $00000002
  23223. else
  23224. pTDefRegMap(@Self)^.&set := $00000002;
  23225. end;
  23226. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  23227. begin
  23228. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23229. end;
  23230. procedure TPORTB_ODCB.setODCB2; inline;
  23231. begin
  23232. pTDefRegMap(@Self)^.&set := $00000004;
  23233. end;
  23234. procedure TPORTB_ODCB.clearODCB2; inline;
  23235. begin
  23236. pTDefRegMap(@Self)^.clr := $00000004;
  23237. end;
  23238. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  23239. begin
  23240. if thebits = 0 then
  23241. pTDefRegMap(@Self)^.clr := $00000004
  23242. else
  23243. pTDefRegMap(@Self)^.&set := $00000004;
  23244. end;
  23245. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  23246. begin
  23247. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23248. end;
  23249. procedure TPORTB_ODCB.setODCB3; inline;
  23250. begin
  23251. pTDefRegMap(@Self)^.&set := $00000008;
  23252. end;
  23253. procedure TPORTB_ODCB.clearODCB3; inline;
  23254. begin
  23255. pTDefRegMap(@Self)^.clr := $00000008;
  23256. end;
  23257. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  23258. begin
  23259. if thebits = 0 then
  23260. pTDefRegMap(@Self)^.clr := $00000008
  23261. else
  23262. pTDefRegMap(@Self)^.&set := $00000008;
  23263. end;
  23264. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  23265. begin
  23266. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23267. end;
  23268. procedure TPORTB_ODCB.setODCB4; inline;
  23269. begin
  23270. pTDefRegMap(@Self)^.&set := $00000010;
  23271. end;
  23272. procedure TPORTB_ODCB.clearODCB4; inline;
  23273. begin
  23274. pTDefRegMap(@Self)^.clr := $00000010;
  23275. end;
  23276. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  23277. begin
  23278. if thebits = 0 then
  23279. pTDefRegMap(@Self)^.clr := $00000010
  23280. else
  23281. pTDefRegMap(@Self)^.&set := $00000010;
  23282. end;
  23283. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  23284. begin
  23285. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23286. end;
  23287. procedure TPORTB_ODCB.setODCB5; inline;
  23288. begin
  23289. pTDefRegMap(@Self)^.&set := $00000020;
  23290. end;
  23291. procedure TPORTB_ODCB.clearODCB5; inline;
  23292. begin
  23293. pTDefRegMap(@Self)^.clr := $00000020;
  23294. end;
  23295. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  23296. begin
  23297. if thebits = 0 then
  23298. pTDefRegMap(@Self)^.clr := $00000020
  23299. else
  23300. pTDefRegMap(@Self)^.&set := $00000020;
  23301. end;
  23302. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  23303. begin
  23304. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23305. end;
  23306. procedure TPORTB_ODCB.setODCB6; inline;
  23307. begin
  23308. pTDefRegMap(@Self)^.&set := $00000040;
  23309. end;
  23310. procedure TPORTB_ODCB.clearODCB6; inline;
  23311. begin
  23312. pTDefRegMap(@Self)^.clr := $00000040;
  23313. end;
  23314. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  23315. begin
  23316. if thebits = 0 then
  23317. pTDefRegMap(@Self)^.clr := $00000040
  23318. else
  23319. pTDefRegMap(@Self)^.&set := $00000040;
  23320. end;
  23321. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  23322. begin
  23323. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23324. end;
  23325. procedure TPORTB_ODCB.setODCB7; inline;
  23326. begin
  23327. pTDefRegMap(@Self)^.&set := $00000080;
  23328. end;
  23329. procedure TPORTB_ODCB.clearODCB7; inline;
  23330. begin
  23331. pTDefRegMap(@Self)^.clr := $00000080;
  23332. end;
  23333. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  23334. begin
  23335. if thebits = 0 then
  23336. pTDefRegMap(@Self)^.clr := $00000080
  23337. else
  23338. pTDefRegMap(@Self)^.&set := $00000080;
  23339. end;
  23340. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  23341. begin
  23342. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23343. end;
  23344. procedure TPORTB_ODCB.setODCB8; inline;
  23345. begin
  23346. pTDefRegMap(@Self)^.&set := $00000100;
  23347. end;
  23348. procedure TPORTB_ODCB.clearODCB8; inline;
  23349. begin
  23350. pTDefRegMap(@Self)^.clr := $00000100;
  23351. end;
  23352. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  23353. begin
  23354. if thebits = 0 then
  23355. pTDefRegMap(@Self)^.clr := $00000100
  23356. else
  23357. pTDefRegMap(@Self)^.&set := $00000100;
  23358. end;
  23359. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  23360. begin
  23361. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23362. end;
  23363. procedure TPORTB_ODCB.setODCB9; inline;
  23364. begin
  23365. pTDefRegMap(@Self)^.&set := $00000200;
  23366. end;
  23367. procedure TPORTB_ODCB.clearODCB9; inline;
  23368. begin
  23369. pTDefRegMap(@Self)^.clr := $00000200;
  23370. end;
  23371. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  23372. begin
  23373. if thebits = 0 then
  23374. pTDefRegMap(@Self)^.clr := $00000200
  23375. else
  23376. pTDefRegMap(@Self)^.&set := $00000200;
  23377. end;
  23378. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  23379. begin
  23380. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23381. end;
  23382. procedure TPORTB_ODCB.setODCB10; inline;
  23383. begin
  23384. pTDefRegMap(@Self)^.&set := $00000400;
  23385. end;
  23386. procedure TPORTB_ODCB.clearODCB10; inline;
  23387. begin
  23388. pTDefRegMap(@Self)^.clr := $00000400;
  23389. end;
  23390. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  23391. begin
  23392. if thebits = 0 then
  23393. pTDefRegMap(@Self)^.clr := $00000400
  23394. else
  23395. pTDefRegMap(@Self)^.&set := $00000400;
  23396. end;
  23397. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  23398. begin
  23399. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23400. end;
  23401. procedure TPORTB_ODCB.setODCB11; inline;
  23402. begin
  23403. pTDefRegMap(@Self)^.&set := $00000800;
  23404. end;
  23405. procedure TPORTB_ODCB.clearODCB11; inline;
  23406. begin
  23407. pTDefRegMap(@Self)^.clr := $00000800;
  23408. end;
  23409. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  23410. begin
  23411. if thebits = 0 then
  23412. pTDefRegMap(@Self)^.clr := $00000800
  23413. else
  23414. pTDefRegMap(@Self)^.&set := $00000800;
  23415. end;
  23416. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  23417. begin
  23418. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23419. end;
  23420. procedure TPORTB_ODCB.setODCB12; inline;
  23421. begin
  23422. pTDefRegMap(@Self)^.&set := $00001000;
  23423. end;
  23424. procedure TPORTB_ODCB.clearODCB12; inline;
  23425. begin
  23426. pTDefRegMap(@Self)^.clr := $00001000;
  23427. end;
  23428. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  23429. begin
  23430. if thebits = 0 then
  23431. pTDefRegMap(@Self)^.clr := $00001000
  23432. else
  23433. pTDefRegMap(@Self)^.&set := $00001000;
  23434. end;
  23435. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  23436. begin
  23437. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23438. end;
  23439. procedure TPORTB_ODCB.setODCB13; inline;
  23440. begin
  23441. pTDefRegMap(@Self)^.&set := $00002000;
  23442. end;
  23443. procedure TPORTB_ODCB.clearODCB13; inline;
  23444. begin
  23445. pTDefRegMap(@Self)^.clr := $00002000;
  23446. end;
  23447. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  23448. begin
  23449. if thebits = 0 then
  23450. pTDefRegMap(@Self)^.clr := $00002000
  23451. else
  23452. pTDefRegMap(@Self)^.&set := $00002000;
  23453. end;
  23454. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  23455. begin
  23456. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23457. end;
  23458. procedure TPORTB_ODCB.setODCB14; inline;
  23459. begin
  23460. pTDefRegMap(@Self)^.&set := $00004000;
  23461. end;
  23462. procedure TPORTB_ODCB.clearODCB14; inline;
  23463. begin
  23464. pTDefRegMap(@Self)^.clr := $00004000;
  23465. end;
  23466. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  23467. begin
  23468. if thebits = 0 then
  23469. pTDefRegMap(@Self)^.clr := $00004000
  23470. else
  23471. pTDefRegMap(@Self)^.&set := $00004000;
  23472. end;
  23473. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  23474. begin
  23475. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23476. end;
  23477. procedure TPORTB_ODCB.setODCB15; inline;
  23478. begin
  23479. pTDefRegMap(@Self)^.&set := $00008000;
  23480. end;
  23481. procedure TPORTB_ODCB.clearODCB15; inline;
  23482. begin
  23483. pTDefRegMap(@Self)^.clr := $00008000;
  23484. end;
  23485. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  23486. begin
  23487. if thebits = 0 then
  23488. pTDefRegMap(@Self)^.clr := $00008000
  23489. else
  23490. pTDefRegMap(@Self)^.&set := $00008000;
  23491. end;
  23492. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  23493. begin
  23494. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23495. end;
  23496. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  23497. begin
  23498. pTDefRegMap(@Self)^.val := thebits;
  23499. end;
  23500. function TPORTB_ODCB.getw : TBits_32; inline;
  23501. begin
  23502. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23503. end;
  23504. procedure TPORTC_TRISC.setTRISC12; inline;
  23505. begin
  23506. pTDefRegMap(@Self)^.&set := $00001000;
  23507. end;
  23508. procedure TPORTC_TRISC.clearTRISC12; inline;
  23509. begin
  23510. pTDefRegMap(@Self)^.clr := $00001000;
  23511. end;
  23512. procedure TPORTC_TRISC.setTRISC12(thebits : TBits_1); inline;
  23513. begin
  23514. if thebits = 0 then
  23515. pTDefRegMap(@Self)^.clr := $00001000
  23516. else
  23517. pTDefRegMap(@Self)^.&set := $00001000;
  23518. end;
  23519. function TPORTC_TRISC.getTRISC12 : TBits_1; inline;
  23520. begin
  23521. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23522. end;
  23523. procedure TPORTC_TRISC.setTRISC13; inline;
  23524. begin
  23525. pTDefRegMap(@Self)^.&set := $00002000;
  23526. end;
  23527. procedure TPORTC_TRISC.clearTRISC13; inline;
  23528. begin
  23529. pTDefRegMap(@Self)^.clr := $00002000;
  23530. end;
  23531. procedure TPORTC_TRISC.setTRISC13(thebits : TBits_1); inline;
  23532. begin
  23533. if thebits = 0 then
  23534. pTDefRegMap(@Self)^.clr := $00002000
  23535. else
  23536. pTDefRegMap(@Self)^.&set := $00002000;
  23537. end;
  23538. function TPORTC_TRISC.getTRISC13 : TBits_1; inline;
  23539. begin
  23540. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23541. end;
  23542. procedure TPORTC_TRISC.setTRISC14; inline;
  23543. begin
  23544. pTDefRegMap(@Self)^.&set := $00004000;
  23545. end;
  23546. procedure TPORTC_TRISC.clearTRISC14; inline;
  23547. begin
  23548. pTDefRegMap(@Self)^.clr := $00004000;
  23549. end;
  23550. procedure TPORTC_TRISC.setTRISC14(thebits : TBits_1); inline;
  23551. begin
  23552. if thebits = 0 then
  23553. pTDefRegMap(@Self)^.clr := $00004000
  23554. else
  23555. pTDefRegMap(@Self)^.&set := $00004000;
  23556. end;
  23557. function TPORTC_TRISC.getTRISC14 : TBits_1; inline;
  23558. begin
  23559. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23560. end;
  23561. procedure TPORTC_TRISC.setTRISC15; inline;
  23562. begin
  23563. pTDefRegMap(@Self)^.&set := $00008000;
  23564. end;
  23565. procedure TPORTC_TRISC.clearTRISC15; inline;
  23566. begin
  23567. pTDefRegMap(@Self)^.clr := $00008000;
  23568. end;
  23569. procedure TPORTC_TRISC.setTRISC15(thebits : TBits_1); inline;
  23570. begin
  23571. if thebits = 0 then
  23572. pTDefRegMap(@Self)^.clr := $00008000
  23573. else
  23574. pTDefRegMap(@Self)^.&set := $00008000;
  23575. end;
  23576. function TPORTC_TRISC.getTRISC15 : TBits_1; inline;
  23577. begin
  23578. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23579. end;
  23580. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  23581. begin
  23582. pTDefRegMap(@Self)^.val := thebits;
  23583. end;
  23584. function TPORTC_TRISC.getw : TBits_32; inline;
  23585. begin
  23586. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23587. end;
  23588. procedure TPORTC_PORTC.setRC12; inline;
  23589. begin
  23590. pTDefRegMap(@Self)^.&set := $00001000;
  23591. end;
  23592. procedure TPORTC_PORTC.clearRC12; inline;
  23593. begin
  23594. pTDefRegMap(@Self)^.clr := $00001000;
  23595. end;
  23596. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  23597. begin
  23598. if thebits = 0 then
  23599. pTDefRegMap(@Self)^.clr := $00001000
  23600. else
  23601. pTDefRegMap(@Self)^.&set := $00001000;
  23602. end;
  23603. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  23604. begin
  23605. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23606. end;
  23607. procedure TPORTC_PORTC.setRC13; inline;
  23608. begin
  23609. pTDefRegMap(@Self)^.&set := $00002000;
  23610. end;
  23611. procedure TPORTC_PORTC.clearRC13; inline;
  23612. begin
  23613. pTDefRegMap(@Self)^.clr := $00002000;
  23614. end;
  23615. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  23616. begin
  23617. if thebits = 0 then
  23618. pTDefRegMap(@Self)^.clr := $00002000
  23619. else
  23620. pTDefRegMap(@Self)^.&set := $00002000;
  23621. end;
  23622. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  23623. begin
  23624. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23625. end;
  23626. procedure TPORTC_PORTC.setRC14; inline;
  23627. begin
  23628. pTDefRegMap(@Self)^.&set := $00004000;
  23629. end;
  23630. procedure TPORTC_PORTC.clearRC14; inline;
  23631. begin
  23632. pTDefRegMap(@Self)^.clr := $00004000;
  23633. end;
  23634. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  23635. begin
  23636. if thebits = 0 then
  23637. pTDefRegMap(@Self)^.clr := $00004000
  23638. else
  23639. pTDefRegMap(@Self)^.&set := $00004000;
  23640. end;
  23641. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  23642. begin
  23643. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23644. end;
  23645. procedure TPORTC_PORTC.setRC15; inline;
  23646. begin
  23647. pTDefRegMap(@Self)^.&set := $00008000;
  23648. end;
  23649. procedure TPORTC_PORTC.clearRC15; inline;
  23650. begin
  23651. pTDefRegMap(@Self)^.clr := $00008000;
  23652. end;
  23653. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  23654. begin
  23655. if thebits = 0 then
  23656. pTDefRegMap(@Self)^.clr := $00008000
  23657. else
  23658. pTDefRegMap(@Self)^.&set := $00008000;
  23659. end;
  23660. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  23661. begin
  23662. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23663. end;
  23664. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  23665. begin
  23666. pTDefRegMap(@Self)^.val := thebits;
  23667. end;
  23668. function TPORTC_PORTC.getw : TBits_32; inline;
  23669. begin
  23670. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23671. end;
  23672. procedure TPORTC_LATC.setLATC12; inline;
  23673. begin
  23674. pTDefRegMap(@Self)^.&set := $00001000;
  23675. end;
  23676. procedure TPORTC_LATC.clearLATC12; inline;
  23677. begin
  23678. pTDefRegMap(@Self)^.clr := $00001000;
  23679. end;
  23680. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  23681. begin
  23682. if thebits = 0 then
  23683. pTDefRegMap(@Self)^.clr := $00001000
  23684. else
  23685. pTDefRegMap(@Self)^.&set := $00001000;
  23686. end;
  23687. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  23688. begin
  23689. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23690. end;
  23691. procedure TPORTC_LATC.setLATC13; inline;
  23692. begin
  23693. pTDefRegMap(@Self)^.&set := $00002000;
  23694. end;
  23695. procedure TPORTC_LATC.clearLATC13; inline;
  23696. begin
  23697. pTDefRegMap(@Self)^.clr := $00002000;
  23698. end;
  23699. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  23700. begin
  23701. if thebits = 0 then
  23702. pTDefRegMap(@Self)^.clr := $00002000
  23703. else
  23704. pTDefRegMap(@Self)^.&set := $00002000;
  23705. end;
  23706. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  23707. begin
  23708. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23709. end;
  23710. procedure TPORTC_LATC.setLATC14; inline;
  23711. begin
  23712. pTDefRegMap(@Self)^.&set := $00004000;
  23713. end;
  23714. procedure TPORTC_LATC.clearLATC14; inline;
  23715. begin
  23716. pTDefRegMap(@Self)^.clr := $00004000;
  23717. end;
  23718. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  23719. begin
  23720. if thebits = 0 then
  23721. pTDefRegMap(@Self)^.clr := $00004000
  23722. else
  23723. pTDefRegMap(@Self)^.&set := $00004000;
  23724. end;
  23725. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  23726. begin
  23727. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23728. end;
  23729. procedure TPORTC_LATC.setLATC15; inline;
  23730. begin
  23731. pTDefRegMap(@Self)^.&set := $00008000;
  23732. end;
  23733. procedure TPORTC_LATC.clearLATC15; inline;
  23734. begin
  23735. pTDefRegMap(@Self)^.clr := $00008000;
  23736. end;
  23737. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  23738. begin
  23739. if thebits = 0 then
  23740. pTDefRegMap(@Self)^.clr := $00008000
  23741. else
  23742. pTDefRegMap(@Self)^.&set := $00008000;
  23743. end;
  23744. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  23745. begin
  23746. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23747. end;
  23748. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  23749. begin
  23750. pTDefRegMap(@Self)^.val := thebits;
  23751. end;
  23752. function TPORTC_LATC.getw : TBits_32; inline;
  23753. begin
  23754. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23755. end;
  23756. procedure TPORTC_ODCC.setODCC12; inline;
  23757. begin
  23758. pTDefRegMap(@Self)^.&set := $00001000;
  23759. end;
  23760. procedure TPORTC_ODCC.clearODCC12; inline;
  23761. begin
  23762. pTDefRegMap(@Self)^.clr := $00001000;
  23763. end;
  23764. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  23765. begin
  23766. if thebits = 0 then
  23767. pTDefRegMap(@Self)^.clr := $00001000
  23768. else
  23769. pTDefRegMap(@Self)^.&set := $00001000;
  23770. end;
  23771. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  23772. begin
  23773. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23774. end;
  23775. procedure TPORTC_ODCC.setODCC13; inline;
  23776. begin
  23777. pTDefRegMap(@Self)^.&set := $00002000;
  23778. end;
  23779. procedure TPORTC_ODCC.clearODCC13; inline;
  23780. begin
  23781. pTDefRegMap(@Self)^.clr := $00002000;
  23782. end;
  23783. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  23784. begin
  23785. if thebits = 0 then
  23786. pTDefRegMap(@Self)^.clr := $00002000
  23787. else
  23788. pTDefRegMap(@Self)^.&set := $00002000;
  23789. end;
  23790. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  23791. begin
  23792. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23793. end;
  23794. procedure TPORTC_ODCC.setODCC14; inline;
  23795. begin
  23796. pTDefRegMap(@Self)^.&set := $00004000;
  23797. end;
  23798. procedure TPORTC_ODCC.clearODCC14; inline;
  23799. begin
  23800. pTDefRegMap(@Self)^.clr := $00004000;
  23801. end;
  23802. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  23803. begin
  23804. if thebits = 0 then
  23805. pTDefRegMap(@Self)^.clr := $00004000
  23806. else
  23807. pTDefRegMap(@Self)^.&set := $00004000;
  23808. end;
  23809. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  23810. begin
  23811. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23812. end;
  23813. procedure TPORTC_ODCC.setODCC15; inline;
  23814. begin
  23815. pTDefRegMap(@Self)^.&set := $00008000;
  23816. end;
  23817. procedure TPORTC_ODCC.clearODCC15; inline;
  23818. begin
  23819. pTDefRegMap(@Self)^.clr := $00008000;
  23820. end;
  23821. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  23822. begin
  23823. if thebits = 0 then
  23824. pTDefRegMap(@Self)^.clr := $00008000
  23825. else
  23826. pTDefRegMap(@Self)^.&set := $00008000;
  23827. end;
  23828. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  23829. begin
  23830. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23831. end;
  23832. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  23833. begin
  23834. pTDefRegMap(@Self)^.val := thebits;
  23835. end;
  23836. function TPORTC_ODCC.getw : TBits_32; inline;
  23837. begin
  23838. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23839. end;
  23840. procedure TPORTD_TRISD.setTRISD0; inline;
  23841. begin
  23842. pTDefRegMap(@Self)^.&set := $00000001;
  23843. end;
  23844. procedure TPORTD_TRISD.clearTRISD0; inline;
  23845. begin
  23846. pTDefRegMap(@Self)^.clr := $00000001;
  23847. end;
  23848. procedure TPORTD_TRISD.setTRISD0(thebits : TBits_1); inline;
  23849. begin
  23850. if thebits = 0 then
  23851. pTDefRegMap(@Self)^.clr := $00000001
  23852. else
  23853. pTDefRegMap(@Self)^.&set := $00000001;
  23854. end;
  23855. function TPORTD_TRISD.getTRISD0 : TBits_1; inline;
  23856. begin
  23857. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23858. end;
  23859. procedure TPORTD_TRISD.setTRISD1; inline;
  23860. begin
  23861. pTDefRegMap(@Self)^.&set := $00000002;
  23862. end;
  23863. procedure TPORTD_TRISD.clearTRISD1; inline;
  23864. begin
  23865. pTDefRegMap(@Self)^.clr := $00000002;
  23866. end;
  23867. procedure TPORTD_TRISD.setTRISD1(thebits : TBits_1); inline;
  23868. begin
  23869. if thebits = 0 then
  23870. pTDefRegMap(@Self)^.clr := $00000002
  23871. else
  23872. pTDefRegMap(@Self)^.&set := $00000002;
  23873. end;
  23874. function TPORTD_TRISD.getTRISD1 : TBits_1; inline;
  23875. begin
  23876. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23877. end;
  23878. procedure TPORTD_TRISD.setTRISD2; inline;
  23879. begin
  23880. pTDefRegMap(@Self)^.&set := $00000004;
  23881. end;
  23882. procedure TPORTD_TRISD.clearTRISD2; inline;
  23883. begin
  23884. pTDefRegMap(@Self)^.clr := $00000004;
  23885. end;
  23886. procedure TPORTD_TRISD.setTRISD2(thebits : TBits_1); inline;
  23887. begin
  23888. if thebits = 0 then
  23889. pTDefRegMap(@Self)^.clr := $00000004
  23890. else
  23891. pTDefRegMap(@Self)^.&set := $00000004;
  23892. end;
  23893. function TPORTD_TRISD.getTRISD2 : TBits_1; inline;
  23894. begin
  23895. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23896. end;
  23897. procedure TPORTD_TRISD.setTRISD3; inline;
  23898. begin
  23899. pTDefRegMap(@Self)^.&set := $00000008;
  23900. end;
  23901. procedure TPORTD_TRISD.clearTRISD3; inline;
  23902. begin
  23903. pTDefRegMap(@Self)^.clr := $00000008;
  23904. end;
  23905. procedure TPORTD_TRISD.setTRISD3(thebits : TBits_1); inline;
  23906. begin
  23907. if thebits = 0 then
  23908. pTDefRegMap(@Self)^.clr := $00000008
  23909. else
  23910. pTDefRegMap(@Self)^.&set := $00000008;
  23911. end;
  23912. function TPORTD_TRISD.getTRISD3 : TBits_1; inline;
  23913. begin
  23914. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23915. end;
  23916. procedure TPORTD_TRISD.setTRISD4; inline;
  23917. begin
  23918. pTDefRegMap(@Self)^.&set := $00000010;
  23919. end;
  23920. procedure TPORTD_TRISD.clearTRISD4; inline;
  23921. begin
  23922. pTDefRegMap(@Self)^.clr := $00000010;
  23923. end;
  23924. procedure TPORTD_TRISD.setTRISD4(thebits : TBits_1); inline;
  23925. begin
  23926. if thebits = 0 then
  23927. pTDefRegMap(@Self)^.clr := $00000010
  23928. else
  23929. pTDefRegMap(@Self)^.&set := $00000010;
  23930. end;
  23931. function TPORTD_TRISD.getTRISD4 : TBits_1; inline;
  23932. begin
  23933. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23934. end;
  23935. procedure TPORTD_TRISD.setTRISD5; inline;
  23936. begin
  23937. pTDefRegMap(@Self)^.&set := $00000020;
  23938. end;
  23939. procedure TPORTD_TRISD.clearTRISD5; inline;
  23940. begin
  23941. pTDefRegMap(@Self)^.clr := $00000020;
  23942. end;
  23943. procedure TPORTD_TRISD.setTRISD5(thebits : TBits_1); inline;
  23944. begin
  23945. if thebits = 0 then
  23946. pTDefRegMap(@Self)^.clr := $00000020
  23947. else
  23948. pTDefRegMap(@Self)^.&set := $00000020;
  23949. end;
  23950. function TPORTD_TRISD.getTRISD5 : TBits_1; inline;
  23951. begin
  23952. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23953. end;
  23954. procedure TPORTD_TRISD.setTRISD6; inline;
  23955. begin
  23956. pTDefRegMap(@Self)^.&set := $00000040;
  23957. end;
  23958. procedure TPORTD_TRISD.clearTRISD6; inline;
  23959. begin
  23960. pTDefRegMap(@Self)^.clr := $00000040;
  23961. end;
  23962. procedure TPORTD_TRISD.setTRISD6(thebits : TBits_1); inline;
  23963. begin
  23964. if thebits = 0 then
  23965. pTDefRegMap(@Self)^.clr := $00000040
  23966. else
  23967. pTDefRegMap(@Self)^.&set := $00000040;
  23968. end;
  23969. function TPORTD_TRISD.getTRISD6 : TBits_1; inline;
  23970. begin
  23971. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23972. end;
  23973. procedure TPORTD_TRISD.setTRISD7; inline;
  23974. begin
  23975. pTDefRegMap(@Self)^.&set := $00000080;
  23976. end;
  23977. procedure TPORTD_TRISD.clearTRISD7; inline;
  23978. begin
  23979. pTDefRegMap(@Self)^.clr := $00000080;
  23980. end;
  23981. procedure TPORTD_TRISD.setTRISD7(thebits : TBits_1); inline;
  23982. begin
  23983. if thebits = 0 then
  23984. pTDefRegMap(@Self)^.clr := $00000080
  23985. else
  23986. pTDefRegMap(@Self)^.&set := $00000080;
  23987. end;
  23988. function TPORTD_TRISD.getTRISD7 : TBits_1; inline;
  23989. begin
  23990. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23991. end;
  23992. procedure TPORTD_TRISD.setTRISD8; inline;
  23993. begin
  23994. pTDefRegMap(@Self)^.&set := $00000100;
  23995. end;
  23996. procedure TPORTD_TRISD.clearTRISD8; inline;
  23997. begin
  23998. pTDefRegMap(@Self)^.clr := $00000100;
  23999. end;
  24000. procedure TPORTD_TRISD.setTRISD8(thebits : TBits_1); inline;
  24001. begin
  24002. if thebits = 0 then
  24003. pTDefRegMap(@Self)^.clr := $00000100
  24004. else
  24005. pTDefRegMap(@Self)^.&set := $00000100;
  24006. end;
  24007. function TPORTD_TRISD.getTRISD8 : TBits_1; inline;
  24008. begin
  24009. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24010. end;
  24011. procedure TPORTD_TRISD.setTRISD9; inline;
  24012. begin
  24013. pTDefRegMap(@Self)^.&set := $00000200;
  24014. end;
  24015. procedure TPORTD_TRISD.clearTRISD9; inline;
  24016. begin
  24017. pTDefRegMap(@Self)^.clr := $00000200;
  24018. end;
  24019. procedure TPORTD_TRISD.setTRISD9(thebits : TBits_1); inline;
  24020. begin
  24021. if thebits = 0 then
  24022. pTDefRegMap(@Self)^.clr := $00000200
  24023. else
  24024. pTDefRegMap(@Self)^.&set := $00000200;
  24025. end;
  24026. function TPORTD_TRISD.getTRISD9 : TBits_1; inline;
  24027. begin
  24028. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24029. end;
  24030. procedure TPORTD_TRISD.setTRISD10; inline;
  24031. begin
  24032. pTDefRegMap(@Self)^.&set := $00000400;
  24033. end;
  24034. procedure TPORTD_TRISD.clearTRISD10; inline;
  24035. begin
  24036. pTDefRegMap(@Self)^.clr := $00000400;
  24037. end;
  24038. procedure TPORTD_TRISD.setTRISD10(thebits : TBits_1); inline;
  24039. begin
  24040. if thebits = 0 then
  24041. pTDefRegMap(@Self)^.clr := $00000400
  24042. else
  24043. pTDefRegMap(@Self)^.&set := $00000400;
  24044. end;
  24045. function TPORTD_TRISD.getTRISD10 : TBits_1; inline;
  24046. begin
  24047. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24048. end;
  24049. procedure TPORTD_TRISD.setTRISD11; inline;
  24050. begin
  24051. pTDefRegMap(@Self)^.&set := $00000800;
  24052. end;
  24053. procedure TPORTD_TRISD.clearTRISD11; inline;
  24054. begin
  24055. pTDefRegMap(@Self)^.clr := $00000800;
  24056. end;
  24057. procedure TPORTD_TRISD.setTRISD11(thebits : TBits_1); inline;
  24058. begin
  24059. if thebits = 0 then
  24060. pTDefRegMap(@Self)^.clr := $00000800
  24061. else
  24062. pTDefRegMap(@Self)^.&set := $00000800;
  24063. end;
  24064. function TPORTD_TRISD.getTRISD11 : TBits_1; inline;
  24065. begin
  24066. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24067. end;
  24068. procedure TPORTD_TRISD.setw(thebits : TBits_32); inline;
  24069. begin
  24070. pTDefRegMap(@Self)^.val := thebits;
  24071. end;
  24072. function TPORTD_TRISD.getw : TBits_32; inline;
  24073. begin
  24074. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24075. end;
  24076. procedure TPORTD_PORTD.setRD0; inline;
  24077. begin
  24078. pTDefRegMap(@Self)^.&set := $00000001;
  24079. end;
  24080. procedure TPORTD_PORTD.clearRD0; inline;
  24081. begin
  24082. pTDefRegMap(@Self)^.clr := $00000001;
  24083. end;
  24084. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  24085. begin
  24086. if thebits = 0 then
  24087. pTDefRegMap(@Self)^.clr := $00000001
  24088. else
  24089. pTDefRegMap(@Self)^.&set := $00000001;
  24090. end;
  24091. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  24092. begin
  24093. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24094. end;
  24095. procedure TPORTD_PORTD.setRD1; inline;
  24096. begin
  24097. pTDefRegMap(@Self)^.&set := $00000002;
  24098. end;
  24099. procedure TPORTD_PORTD.clearRD1; inline;
  24100. begin
  24101. pTDefRegMap(@Self)^.clr := $00000002;
  24102. end;
  24103. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  24104. begin
  24105. if thebits = 0 then
  24106. pTDefRegMap(@Self)^.clr := $00000002
  24107. else
  24108. pTDefRegMap(@Self)^.&set := $00000002;
  24109. end;
  24110. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  24111. begin
  24112. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24113. end;
  24114. procedure TPORTD_PORTD.setRD2; inline;
  24115. begin
  24116. pTDefRegMap(@Self)^.&set := $00000004;
  24117. end;
  24118. procedure TPORTD_PORTD.clearRD2; inline;
  24119. begin
  24120. pTDefRegMap(@Self)^.clr := $00000004;
  24121. end;
  24122. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  24123. begin
  24124. if thebits = 0 then
  24125. pTDefRegMap(@Self)^.clr := $00000004
  24126. else
  24127. pTDefRegMap(@Self)^.&set := $00000004;
  24128. end;
  24129. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  24130. begin
  24131. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24132. end;
  24133. procedure TPORTD_PORTD.setRD3; inline;
  24134. begin
  24135. pTDefRegMap(@Self)^.&set := $00000008;
  24136. end;
  24137. procedure TPORTD_PORTD.clearRD3; inline;
  24138. begin
  24139. pTDefRegMap(@Self)^.clr := $00000008;
  24140. end;
  24141. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  24142. begin
  24143. if thebits = 0 then
  24144. pTDefRegMap(@Self)^.clr := $00000008
  24145. else
  24146. pTDefRegMap(@Self)^.&set := $00000008;
  24147. end;
  24148. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  24149. begin
  24150. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24151. end;
  24152. procedure TPORTD_PORTD.setRD4; inline;
  24153. begin
  24154. pTDefRegMap(@Self)^.&set := $00000010;
  24155. end;
  24156. procedure TPORTD_PORTD.clearRD4; inline;
  24157. begin
  24158. pTDefRegMap(@Self)^.clr := $00000010;
  24159. end;
  24160. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  24161. begin
  24162. if thebits = 0 then
  24163. pTDefRegMap(@Self)^.clr := $00000010
  24164. else
  24165. pTDefRegMap(@Self)^.&set := $00000010;
  24166. end;
  24167. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  24168. begin
  24169. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24170. end;
  24171. procedure TPORTD_PORTD.setRD5; inline;
  24172. begin
  24173. pTDefRegMap(@Self)^.&set := $00000020;
  24174. end;
  24175. procedure TPORTD_PORTD.clearRD5; inline;
  24176. begin
  24177. pTDefRegMap(@Self)^.clr := $00000020;
  24178. end;
  24179. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  24180. begin
  24181. if thebits = 0 then
  24182. pTDefRegMap(@Self)^.clr := $00000020
  24183. else
  24184. pTDefRegMap(@Self)^.&set := $00000020;
  24185. end;
  24186. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  24187. begin
  24188. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24189. end;
  24190. procedure TPORTD_PORTD.setRD6; inline;
  24191. begin
  24192. pTDefRegMap(@Self)^.&set := $00000040;
  24193. end;
  24194. procedure TPORTD_PORTD.clearRD6; inline;
  24195. begin
  24196. pTDefRegMap(@Self)^.clr := $00000040;
  24197. end;
  24198. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  24199. begin
  24200. if thebits = 0 then
  24201. pTDefRegMap(@Self)^.clr := $00000040
  24202. else
  24203. pTDefRegMap(@Self)^.&set := $00000040;
  24204. end;
  24205. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  24206. begin
  24207. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24208. end;
  24209. procedure TPORTD_PORTD.setRD7; inline;
  24210. begin
  24211. pTDefRegMap(@Self)^.&set := $00000080;
  24212. end;
  24213. procedure TPORTD_PORTD.clearRD7; inline;
  24214. begin
  24215. pTDefRegMap(@Self)^.clr := $00000080;
  24216. end;
  24217. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  24218. begin
  24219. if thebits = 0 then
  24220. pTDefRegMap(@Self)^.clr := $00000080
  24221. else
  24222. pTDefRegMap(@Self)^.&set := $00000080;
  24223. end;
  24224. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  24225. begin
  24226. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24227. end;
  24228. procedure TPORTD_PORTD.setRD8; inline;
  24229. begin
  24230. pTDefRegMap(@Self)^.&set := $00000100;
  24231. end;
  24232. procedure TPORTD_PORTD.clearRD8; inline;
  24233. begin
  24234. pTDefRegMap(@Self)^.clr := $00000100;
  24235. end;
  24236. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  24237. begin
  24238. if thebits = 0 then
  24239. pTDefRegMap(@Self)^.clr := $00000100
  24240. else
  24241. pTDefRegMap(@Self)^.&set := $00000100;
  24242. end;
  24243. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  24244. begin
  24245. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24246. end;
  24247. procedure TPORTD_PORTD.setRD9; inline;
  24248. begin
  24249. pTDefRegMap(@Self)^.&set := $00000200;
  24250. end;
  24251. procedure TPORTD_PORTD.clearRD9; inline;
  24252. begin
  24253. pTDefRegMap(@Self)^.clr := $00000200;
  24254. end;
  24255. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  24256. begin
  24257. if thebits = 0 then
  24258. pTDefRegMap(@Self)^.clr := $00000200
  24259. else
  24260. pTDefRegMap(@Self)^.&set := $00000200;
  24261. end;
  24262. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  24263. begin
  24264. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24265. end;
  24266. procedure TPORTD_PORTD.setRD10; inline;
  24267. begin
  24268. pTDefRegMap(@Self)^.&set := $00000400;
  24269. end;
  24270. procedure TPORTD_PORTD.clearRD10; inline;
  24271. begin
  24272. pTDefRegMap(@Self)^.clr := $00000400;
  24273. end;
  24274. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  24275. begin
  24276. if thebits = 0 then
  24277. pTDefRegMap(@Self)^.clr := $00000400
  24278. else
  24279. pTDefRegMap(@Self)^.&set := $00000400;
  24280. end;
  24281. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  24282. begin
  24283. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24284. end;
  24285. procedure TPORTD_PORTD.setRD11; inline;
  24286. begin
  24287. pTDefRegMap(@Self)^.&set := $00000800;
  24288. end;
  24289. procedure TPORTD_PORTD.clearRD11; inline;
  24290. begin
  24291. pTDefRegMap(@Self)^.clr := $00000800;
  24292. end;
  24293. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  24294. begin
  24295. if thebits = 0 then
  24296. pTDefRegMap(@Self)^.clr := $00000800
  24297. else
  24298. pTDefRegMap(@Self)^.&set := $00000800;
  24299. end;
  24300. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  24301. begin
  24302. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24303. end;
  24304. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  24305. begin
  24306. pTDefRegMap(@Self)^.val := thebits;
  24307. end;
  24308. function TPORTD_PORTD.getw : TBits_32; inline;
  24309. begin
  24310. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24311. end;
  24312. procedure TPORTD_LATD.setLATD0; inline;
  24313. begin
  24314. pTDefRegMap(@Self)^.&set := $00000001;
  24315. end;
  24316. procedure TPORTD_LATD.clearLATD0; inline;
  24317. begin
  24318. pTDefRegMap(@Self)^.clr := $00000001;
  24319. end;
  24320. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  24321. begin
  24322. if thebits = 0 then
  24323. pTDefRegMap(@Self)^.clr := $00000001
  24324. else
  24325. pTDefRegMap(@Self)^.&set := $00000001;
  24326. end;
  24327. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  24328. begin
  24329. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24330. end;
  24331. procedure TPORTD_LATD.setLATD1; inline;
  24332. begin
  24333. pTDefRegMap(@Self)^.&set := $00000002;
  24334. end;
  24335. procedure TPORTD_LATD.clearLATD1; inline;
  24336. begin
  24337. pTDefRegMap(@Self)^.clr := $00000002;
  24338. end;
  24339. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  24340. begin
  24341. if thebits = 0 then
  24342. pTDefRegMap(@Self)^.clr := $00000002
  24343. else
  24344. pTDefRegMap(@Self)^.&set := $00000002;
  24345. end;
  24346. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  24347. begin
  24348. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24349. end;
  24350. procedure TPORTD_LATD.setLATD2; inline;
  24351. begin
  24352. pTDefRegMap(@Self)^.&set := $00000004;
  24353. end;
  24354. procedure TPORTD_LATD.clearLATD2; inline;
  24355. begin
  24356. pTDefRegMap(@Self)^.clr := $00000004;
  24357. end;
  24358. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  24359. begin
  24360. if thebits = 0 then
  24361. pTDefRegMap(@Self)^.clr := $00000004
  24362. else
  24363. pTDefRegMap(@Self)^.&set := $00000004;
  24364. end;
  24365. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  24366. begin
  24367. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24368. end;
  24369. procedure TPORTD_LATD.setLATD3; inline;
  24370. begin
  24371. pTDefRegMap(@Self)^.&set := $00000008;
  24372. end;
  24373. procedure TPORTD_LATD.clearLATD3; inline;
  24374. begin
  24375. pTDefRegMap(@Self)^.clr := $00000008;
  24376. end;
  24377. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  24378. begin
  24379. if thebits = 0 then
  24380. pTDefRegMap(@Self)^.clr := $00000008
  24381. else
  24382. pTDefRegMap(@Self)^.&set := $00000008;
  24383. end;
  24384. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  24385. begin
  24386. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24387. end;
  24388. procedure TPORTD_LATD.setLATD4; inline;
  24389. begin
  24390. pTDefRegMap(@Self)^.&set := $00000010;
  24391. end;
  24392. procedure TPORTD_LATD.clearLATD4; inline;
  24393. begin
  24394. pTDefRegMap(@Self)^.clr := $00000010;
  24395. end;
  24396. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  24397. begin
  24398. if thebits = 0 then
  24399. pTDefRegMap(@Self)^.clr := $00000010
  24400. else
  24401. pTDefRegMap(@Self)^.&set := $00000010;
  24402. end;
  24403. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  24404. begin
  24405. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24406. end;
  24407. procedure TPORTD_LATD.setLATD5; inline;
  24408. begin
  24409. pTDefRegMap(@Self)^.&set := $00000020;
  24410. end;
  24411. procedure TPORTD_LATD.clearLATD5; inline;
  24412. begin
  24413. pTDefRegMap(@Self)^.clr := $00000020;
  24414. end;
  24415. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  24416. begin
  24417. if thebits = 0 then
  24418. pTDefRegMap(@Self)^.clr := $00000020
  24419. else
  24420. pTDefRegMap(@Self)^.&set := $00000020;
  24421. end;
  24422. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  24423. begin
  24424. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24425. end;
  24426. procedure TPORTD_LATD.setLATD6; inline;
  24427. begin
  24428. pTDefRegMap(@Self)^.&set := $00000040;
  24429. end;
  24430. procedure TPORTD_LATD.clearLATD6; inline;
  24431. begin
  24432. pTDefRegMap(@Self)^.clr := $00000040;
  24433. end;
  24434. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  24435. begin
  24436. if thebits = 0 then
  24437. pTDefRegMap(@Self)^.clr := $00000040
  24438. else
  24439. pTDefRegMap(@Self)^.&set := $00000040;
  24440. end;
  24441. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  24442. begin
  24443. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24444. end;
  24445. procedure TPORTD_LATD.setLATD7; inline;
  24446. begin
  24447. pTDefRegMap(@Self)^.&set := $00000080;
  24448. end;
  24449. procedure TPORTD_LATD.clearLATD7; inline;
  24450. begin
  24451. pTDefRegMap(@Self)^.clr := $00000080;
  24452. end;
  24453. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  24454. begin
  24455. if thebits = 0 then
  24456. pTDefRegMap(@Self)^.clr := $00000080
  24457. else
  24458. pTDefRegMap(@Self)^.&set := $00000080;
  24459. end;
  24460. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  24461. begin
  24462. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24463. end;
  24464. procedure TPORTD_LATD.setLATD8; inline;
  24465. begin
  24466. pTDefRegMap(@Self)^.&set := $00000100;
  24467. end;
  24468. procedure TPORTD_LATD.clearLATD8; inline;
  24469. begin
  24470. pTDefRegMap(@Self)^.clr := $00000100;
  24471. end;
  24472. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  24473. begin
  24474. if thebits = 0 then
  24475. pTDefRegMap(@Self)^.clr := $00000100
  24476. else
  24477. pTDefRegMap(@Self)^.&set := $00000100;
  24478. end;
  24479. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  24480. begin
  24481. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24482. end;
  24483. procedure TPORTD_LATD.setLATD9; inline;
  24484. begin
  24485. pTDefRegMap(@Self)^.&set := $00000200;
  24486. end;
  24487. procedure TPORTD_LATD.clearLATD9; inline;
  24488. begin
  24489. pTDefRegMap(@Self)^.clr := $00000200;
  24490. end;
  24491. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  24492. begin
  24493. if thebits = 0 then
  24494. pTDefRegMap(@Self)^.clr := $00000200
  24495. else
  24496. pTDefRegMap(@Self)^.&set := $00000200;
  24497. end;
  24498. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  24499. begin
  24500. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24501. end;
  24502. procedure TPORTD_LATD.setLATD10; inline;
  24503. begin
  24504. pTDefRegMap(@Self)^.&set := $00000400;
  24505. end;
  24506. procedure TPORTD_LATD.clearLATD10; inline;
  24507. begin
  24508. pTDefRegMap(@Self)^.clr := $00000400;
  24509. end;
  24510. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  24511. begin
  24512. if thebits = 0 then
  24513. pTDefRegMap(@Self)^.clr := $00000400
  24514. else
  24515. pTDefRegMap(@Self)^.&set := $00000400;
  24516. end;
  24517. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  24518. begin
  24519. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24520. end;
  24521. procedure TPORTD_LATD.setLATD11; inline;
  24522. begin
  24523. pTDefRegMap(@Self)^.&set := $00000800;
  24524. end;
  24525. procedure TPORTD_LATD.clearLATD11; inline;
  24526. begin
  24527. pTDefRegMap(@Self)^.clr := $00000800;
  24528. end;
  24529. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  24530. begin
  24531. if thebits = 0 then
  24532. pTDefRegMap(@Self)^.clr := $00000800
  24533. else
  24534. pTDefRegMap(@Self)^.&set := $00000800;
  24535. end;
  24536. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  24537. begin
  24538. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24539. end;
  24540. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  24541. begin
  24542. pTDefRegMap(@Self)^.val := thebits;
  24543. end;
  24544. function TPORTD_LATD.getw : TBits_32; inline;
  24545. begin
  24546. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24547. end;
  24548. procedure TPORTD_ODCD.setODCD0; inline;
  24549. begin
  24550. pTDefRegMap(@Self)^.&set := $00000001;
  24551. end;
  24552. procedure TPORTD_ODCD.clearODCD0; inline;
  24553. begin
  24554. pTDefRegMap(@Self)^.clr := $00000001;
  24555. end;
  24556. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  24557. begin
  24558. if thebits = 0 then
  24559. pTDefRegMap(@Self)^.clr := $00000001
  24560. else
  24561. pTDefRegMap(@Self)^.&set := $00000001;
  24562. end;
  24563. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  24564. begin
  24565. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24566. end;
  24567. procedure TPORTD_ODCD.setODCD1; inline;
  24568. begin
  24569. pTDefRegMap(@Self)^.&set := $00000002;
  24570. end;
  24571. procedure TPORTD_ODCD.clearODCD1; inline;
  24572. begin
  24573. pTDefRegMap(@Self)^.clr := $00000002;
  24574. end;
  24575. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  24576. begin
  24577. if thebits = 0 then
  24578. pTDefRegMap(@Self)^.clr := $00000002
  24579. else
  24580. pTDefRegMap(@Self)^.&set := $00000002;
  24581. end;
  24582. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  24583. begin
  24584. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24585. end;
  24586. procedure TPORTD_ODCD.setODCD2; inline;
  24587. begin
  24588. pTDefRegMap(@Self)^.&set := $00000004;
  24589. end;
  24590. procedure TPORTD_ODCD.clearODCD2; inline;
  24591. begin
  24592. pTDefRegMap(@Self)^.clr := $00000004;
  24593. end;
  24594. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  24595. begin
  24596. if thebits = 0 then
  24597. pTDefRegMap(@Self)^.clr := $00000004
  24598. else
  24599. pTDefRegMap(@Self)^.&set := $00000004;
  24600. end;
  24601. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  24602. begin
  24603. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24604. end;
  24605. procedure TPORTD_ODCD.setODCD3; inline;
  24606. begin
  24607. pTDefRegMap(@Self)^.&set := $00000008;
  24608. end;
  24609. procedure TPORTD_ODCD.clearODCD3; inline;
  24610. begin
  24611. pTDefRegMap(@Self)^.clr := $00000008;
  24612. end;
  24613. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  24614. begin
  24615. if thebits = 0 then
  24616. pTDefRegMap(@Self)^.clr := $00000008
  24617. else
  24618. pTDefRegMap(@Self)^.&set := $00000008;
  24619. end;
  24620. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  24621. begin
  24622. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24623. end;
  24624. procedure TPORTD_ODCD.setODCD4; inline;
  24625. begin
  24626. pTDefRegMap(@Self)^.&set := $00000010;
  24627. end;
  24628. procedure TPORTD_ODCD.clearODCD4; inline;
  24629. begin
  24630. pTDefRegMap(@Self)^.clr := $00000010;
  24631. end;
  24632. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  24633. begin
  24634. if thebits = 0 then
  24635. pTDefRegMap(@Self)^.clr := $00000010
  24636. else
  24637. pTDefRegMap(@Self)^.&set := $00000010;
  24638. end;
  24639. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  24640. begin
  24641. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24642. end;
  24643. procedure TPORTD_ODCD.setODCD5; inline;
  24644. begin
  24645. pTDefRegMap(@Self)^.&set := $00000020;
  24646. end;
  24647. procedure TPORTD_ODCD.clearODCD5; inline;
  24648. begin
  24649. pTDefRegMap(@Self)^.clr := $00000020;
  24650. end;
  24651. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  24652. begin
  24653. if thebits = 0 then
  24654. pTDefRegMap(@Self)^.clr := $00000020
  24655. else
  24656. pTDefRegMap(@Self)^.&set := $00000020;
  24657. end;
  24658. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  24659. begin
  24660. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24661. end;
  24662. procedure TPORTD_ODCD.setODCD6; inline;
  24663. begin
  24664. pTDefRegMap(@Self)^.&set := $00000040;
  24665. end;
  24666. procedure TPORTD_ODCD.clearODCD6; inline;
  24667. begin
  24668. pTDefRegMap(@Self)^.clr := $00000040;
  24669. end;
  24670. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  24671. begin
  24672. if thebits = 0 then
  24673. pTDefRegMap(@Self)^.clr := $00000040
  24674. else
  24675. pTDefRegMap(@Self)^.&set := $00000040;
  24676. end;
  24677. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  24678. begin
  24679. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24680. end;
  24681. procedure TPORTD_ODCD.setODCD7; inline;
  24682. begin
  24683. pTDefRegMap(@Self)^.&set := $00000080;
  24684. end;
  24685. procedure TPORTD_ODCD.clearODCD7; inline;
  24686. begin
  24687. pTDefRegMap(@Self)^.clr := $00000080;
  24688. end;
  24689. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  24690. begin
  24691. if thebits = 0 then
  24692. pTDefRegMap(@Self)^.clr := $00000080
  24693. else
  24694. pTDefRegMap(@Self)^.&set := $00000080;
  24695. end;
  24696. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  24697. begin
  24698. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24699. end;
  24700. procedure TPORTD_ODCD.setODCD8; inline;
  24701. begin
  24702. pTDefRegMap(@Self)^.&set := $00000100;
  24703. end;
  24704. procedure TPORTD_ODCD.clearODCD8; inline;
  24705. begin
  24706. pTDefRegMap(@Self)^.clr := $00000100;
  24707. end;
  24708. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  24709. begin
  24710. if thebits = 0 then
  24711. pTDefRegMap(@Self)^.clr := $00000100
  24712. else
  24713. pTDefRegMap(@Self)^.&set := $00000100;
  24714. end;
  24715. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  24716. begin
  24717. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24718. end;
  24719. procedure TPORTD_ODCD.setODCD9; inline;
  24720. begin
  24721. pTDefRegMap(@Self)^.&set := $00000200;
  24722. end;
  24723. procedure TPORTD_ODCD.clearODCD9; inline;
  24724. begin
  24725. pTDefRegMap(@Self)^.clr := $00000200;
  24726. end;
  24727. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  24728. begin
  24729. if thebits = 0 then
  24730. pTDefRegMap(@Self)^.clr := $00000200
  24731. else
  24732. pTDefRegMap(@Self)^.&set := $00000200;
  24733. end;
  24734. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  24735. begin
  24736. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24737. end;
  24738. procedure TPORTD_ODCD.setODCD10; inline;
  24739. begin
  24740. pTDefRegMap(@Self)^.&set := $00000400;
  24741. end;
  24742. procedure TPORTD_ODCD.clearODCD10; inline;
  24743. begin
  24744. pTDefRegMap(@Self)^.clr := $00000400;
  24745. end;
  24746. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  24747. begin
  24748. if thebits = 0 then
  24749. pTDefRegMap(@Self)^.clr := $00000400
  24750. else
  24751. pTDefRegMap(@Self)^.&set := $00000400;
  24752. end;
  24753. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  24754. begin
  24755. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24756. end;
  24757. procedure TPORTD_ODCD.setODCD11; inline;
  24758. begin
  24759. pTDefRegMap(@Self)^.&set := $00000800;
  24760. end;
  24761. procedure TPORTD_ODCD.clearODCD11; inline;
  24762. begin
  24763. pTDefRegMap(@Self)^.clr := $00000800;
  24764. end;
  24765. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  24766. begin
  24767. if thebits = 0 then
  24768. pTDefRegMap(@Self)^.clr := $00000800
  24769. else
  24770. pTDefRegMap(@Self)^.&set := $00000800;
  24771. end;
  24772. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  24773. begin
  24774. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24775. end;
  24776. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  24777. begin
  24778. pTDefRegMap(@Self)^.val := thebits;
  24779. end;
  24780. function TPORTD_ODCD.getw : TBits_32; inline;
  24781. begin
  24782. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24783. end;
  24784. procedure TPORTE_TRISE.setTRISE0; inline;
  24785. begin
  24786. pTDefRegMap(@Self)^.&set := $00000001;
  24787. end;
  24788. procedure TPORTE_TRISE.clearTRISE0; inline;
  24789. begin
  24790. pTDefRegMap(@Self)^.clr := $00000001;
  24791. end;
  24792. procedure TPORTE_TRISE.setTRISE0(thebits : TBits_1); inline;
  24793. begin
  24794. if thebits = 0 then
  24795. pTDefRegMap(@Self)^.clr := $00000001
  24796. else
  24797. pTDefRegMap(@Self)^.&set := $00000001;
  24798. end;
  24799. function TPORTE_TRISE.getTRISE0 : TBits_1; inline;
  24800. begin
  24801. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24802. end;
  24803. procedure TPORTE_TRISE.setTRISE1; inline;
  24804. begin
  24805. pTDefRegMap(@Self)^.&set := $00000002;
  24806. end;
  24807. procedure TPORTE_TRISE.clearTRISE1; inline;
  24808. begin
  24809. pTDefRegMap(@Self)^.clr := $00000002;
  24810. end;
  24811. procedure TPORTE_TRISE.setTRISE1(thebits : TBits_1); inline;
  24812. begin
  24813. if thebits = 0 then
  24814. pTDefRegMap(@Self)^.clr := $00000002
  24815. else
  24816. pTDefRegMap(@Self)^.&set := $00000002;
  24817. end;
  24818. function TPORTE_TRISE.getTRISE1 : TBits_1; inline;
  24819. begin
  24820. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24821. end;
  24822. procedure TPORTE_TRISE.setTRISE2; inline;
  24823. begin
  24824. pTDefRegMap(@Self)^.&set := $00000004;
  24825. end;
  24826. procedure TPORTE_TRISE.clearTRISE2; inline;
  24827. begin
  24828. pTDefRegMap(@Self)^.clr := $00000004;
  24829. end;
  24830. procedure TPORTE_TRISE.setTRISE2(thebits : TBits_1); inline;
  24831. begin
  24832. if thebits = 0 then
  24833. pTDefRegMap(@Self)^.clr := $00000004
  24834. else
  24835. pTDefRegMap(@Self)^.&set := $00000004;
  24836. end;
  24837. function TPORTE_TRISE.getTRISE2 : TBits_1; inline;
  24838. begin
  24839. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24840. end;
  24841. procedure TPORTE_TRISE.setTRISE3; inline;
  24842. begin
  24843. pTDefRegMap(@Self)^.&set := $00000008;
  24844. end;
  24845. procedure TPORTE_TRISE.clearTRISE3; inline;
  24846. begin
  24847. pTDefRegMap(@Self)^.clr := $00000008;
  24848. end;
  24849. procedure TPORTE_TRISE.setTRISE3(thebits : TBits_1); inline;
  24850. begin
  24851. if thebits = 0 then
  24852. pTDefRegMap(@Self)^.clr := $00000008
  24853. else
  24854. pTDefRegMap(@Self)^.&set := $00000008;
  24855. end;
  24856. function TPORTE_TRISE.getTRISE3 : TBits_1; inline;
  24857. begin
  24858. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24859. end;
  24860. procedure TPORTE_TRISE.setTRISE4; inline;
  24861. begin
  24862. pTDefRegMap(@Self)^.&set := $00000010;
  24863. end;
  24864. procedure TPORTE_TRISE.clearTRISE4; inline;
  24865. begin
  24866. pTDefRegMap(@Self)^.clr := $00000010;
  24867. end;
  24868. procedure TPORTE_TRISE.setTRISE4(thebits : TBits_1); inline;
  24869. begin
  24870. if thebits = 0 then
  24871. pTDefRegMap(@Self)^.clr := $00000010
  24872. else
  24873. pTDefRegMap(@Self)^.&set := $00000010;
  24874. end;
  24875. function TPORTE_TRISE.getTRISE4 : TBits_1; inline;
  24876. begin
  24877. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24878. end;
  24879. procedure TPORTE_TRISE.setTRISE5; inline;
  24880. begin
  24881. pTDefRegMap(@Self)^.&set := $00000020;
  24882. end;
  24883. procedure TPORTE_TRISE.clearTRISE5; inline;
  24884. begin
  24885. pTDefRegMap(@Self)^.clr := $00000020;
  24886. end;
  24887. procedure TPORTE_TRISE.setTRISE5(thebits : TBits_1); inline;
  24888. begin
  24889. if thebits = 0 then
  24890. pTDefRegMap(@Self)^.clr := $00000020
  24891. else
  24892. pTDefRegMap(@Self)^.&set := $00000020;
  24893. end;
  24894. function TPORTE_TRISE.getTRISE5 : TBits_1; inline;
  24895. begin
  24896. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24897. end;
  24898. procedure TPORTE_TRISE.setTRISE6; inline;
  24899. begin
  24900. pTDefRegMap(@Self)^.&set := $00000040;
  24901. end;
  24902. procedure TPORTE_TRISE.clearTRISE6; inline;
  24903. begin
  24904. pTDefRegMap(@Self)^.clr := $00000040;
  24905. end;
  24906. procedure TPORTE_TRISE.setTRISE6(thebits : TBits_1); inline;
  24907. begin
  24908. if thebits = 0 then
  24909. pTDefRegMap(@Self)^.clr := $00000040
  24910. else
  24911. pTDefRegMap(@Self)^.&set := $00000040;
  24912. end;
  24913. function TPORTE_TRISE.getTRISE6 : TBits_1; inline;
  24914. begin
  24915. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24916. end;
  24917. procedure TPORTE_TRISE.setTRISE7; inline;
  24918. begin
  24919. pTDefRegMap(@Self)^.&set := $00000080;
  24920. end;
  24921. procedure TPORTE_TRISE.clearTRISE7; inline;
  24922. begin
  24923. pTDefRegMap(@Self)^.clr := $00000080;
  24924. end;
  24925. procedure TPORTE_TRISE.setTRISE7(thebits : TBits_1); inline;
  24926. begin
  24927. if thebits = 0 then
  24928. pTDefRegMap(@Self)^.clr := $00000080
  24929. else
  24930. pTDefRegMap(@Self)^.&set := $00000080;
  24931. end;
  24932. function TPORTE_TRISE.getTRISE7 : TBits_1; inline;
  24933. begin
  24934. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24935. end;
  24936. procedure TPORTE_TRISE.setw(thebits : TBits_32); inline;
  24937. begin
  24938. pTDefRegMap(@Self)^.val := thebits;
  24939. end;
  24940. function TPORTE_TRISE.getw : TBits_32; inline;
  24941. begin
  24942. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24943. end;
  24944. procedure TPORTE_PORTE.setRE0; inline;
  24945. begin
  24946. pTDefRegMap(@Self)^.&set := $00000001;
  24947. end;
  24948. procedure TPORTE_PORTE.clearRE0; inline;
  24949. begin
  24950. pTDefRegMap(@Self)^.clr := $00000001;
  24951. end;
  24952. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  24953. begin
  24954. if thebits = 0 then
  24955. pTDefRegMap(@Self)^.clr := $00000001
  24956. else
  24957. pTDefRegMap(@Self)^.&set := $00000001;
  24958. end;
  24959. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  24960. begin
  24961. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24962. end;
  24963. procedure TPORTE_PORTE.setRE1; inline;
  24964. begin
  24965. pTDefRegMap(@Self)^.&set := $00000002;
  24966. end;
  24967. procedure TPORTE_PORTE.clearRE1; inline;
  24968. begin
  24969. pTDefRegMap(@Self)^.clr := $00000002;
  24970. end;
  24971. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  24972. begin
  24973. if thebits = 0 then
  24974. pTDefRegMap(@Self)^.clr := $00000002
  24975. else
  24976. pTDefRegMap(@Self)^.&set := $00000002;
  24977. end;
  24978. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  24979. begin
  24980. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24981. end;
  24982. procedure TPORTE_PORTE.setRE2; inline;
  24983. begin
  24984. pTDefRegMap(@Self)^.&set := $00000004;
  24985. end;
  24986. procedure TPORTE_PORTE.clearRE2; inline;
  24987. begin
  24988. pTDefRegMap(@Self)^.clr := $00000004;
  24989. end;
  24990. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  24991. begin
  24992. if thebits = 0 then
  24993. pTDefRegMap(@Self)^.clr := $00000004
  24994. else
  24995. pTDefRegMap(@Self)^.&set := $00000004;
  24996. end;
  24997. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  24998. begin
  24999. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25000. end;
  25001. procedure TPORTE_PORTE.setRE3; inline;
  25002. begin
  25003. pTDefRegMap(@Self)^.&set := $00000008;
  25004. end;
  25005. procedure TPORTE_PORTE.clearRE3; inline;
  25006. begin
  25007. pTDefRegMap(@Self)^.clr := $00000008;
  25008. end;
  25009. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  25010. begin
  25011. if thebits = 0 then
  25012. pTDefRegMap(@Self)^.clr := $00000008
  25013. else
  25014. pTDefRegMap(@Self)^.&set := $00000008;
  25015. end;
  25016. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  25017. begin
  25018. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25019. end;
  25020. procedure TPORTE_PORTE.setRE4; inline;
  25021. begin
  25022. pTDefRegMap(@Self)^.&set := $00000010;
  25023. end;
  25024. procedure TPORTE_PORTE.clearRE4; inline;
  25025. begin
  25026. pTDefRegMap(@Self)^.clr := $00000010;
  25027. end;
  25028. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  25029. begin
  25030. if thebits = 0 then
  25031. pTDefRegMap(@Self)^.clr := $00000010
  25032. else
  25033. pTDefRegMap(@Self)^.&set := $00000010;
  25034. end;
  25035. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  25036. begin
  25037. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25038. end;
  25039. procedure TPORTE_PORTE.setRE5; inline;
  25040. begin
  25041. pTDefRegMap(@Self)^.&set := $00000020;
  25042. end;
  25043. procedure TPORTE_PORTE.clearRE5; inline;
  25044. begin
  25045. pTDefRegMap(@Self)^.clr := $00000020;
  25046. end;
  25047. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  25048. begin
  25049. if thebits = 0 then
  25050. pTDefRegMap(@Self)^.clr := $00000020
  25051. else
  25052. pTDefRegMap(@Self)^.&set := $00000020;
  25053. end;
  25054. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  25055. begin
  25056. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25057. end;
  25058. procedure TPORTE_PORTE.setRE6; inline;
  25059. begin
  25060. pTDefRegMap(@Self)^.&set := $00000040;
  25061. end;
  25062. procedure TPORTE_PORTE.clearRE6; inline;
  25063. begin
  25064. pTDefRegMap(@Self)^.clr := $00000040;
  25065. end;
  25066. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  25067. begin
  25068. if thebits = 0 then
  25069. pTDefRegMap(@Self)^.clr := $00000040
  25070. else
  25071. pTDefRegMap(@Self)^.&set := $00000040;
  25072. end;
  25073. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  25074. begin
  25075. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25076. end;
  25077. procedure TPORTE_PORTE.setRE7; inline;
  25078. begin
  25079. pTDefRegMap(@Self)^.&set := $00000080;
  25080. end;
  25081. procedure TPORTE_PORTE.clearRE7; inline;
  25082. begin
  25083. pTDefRegMap(@Self)^.clr := $00000080;
  25084. end;
  25085. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  25086. begin
  25087. if thebits = 0 then
  25088. pTDefRegMap(@Self)^.clr := $00000080
  25089. else
  25090. pTDefRegMap(@Self)^.&set := $00000080;
  25091. end;
  25092. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  25093. begin
  25094. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25095. end;
  25096. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  25097. begin
  25098. pTDefRegMap(@Self)^.val := thebits;
  25099. end;
  25100. function TPORTE_PORTE.getw : TBits_32; inline;
  25101. begin
  25102. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25103. end;
  25104. procedure TPORTE_LATE.setLATE0; inline;
  25105. begin
  25106. pTDefRegMap(@Self)^.&set := $00000001;
  25107. end;
  25108. procedure TPORTE_LATE.clearLATE0; inline;
  25109. begin
  25110. pTDefRegMap(@Self)^.clr := $00000001;
  25111. end;
  25112. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  25113. begin
  25114. if thebits = 0 then
  25115. pTDefRegMap(@Self)^.clr := $00000001
  25116. else
  25117. pTDefRegMap(@Self)^.&set := $00000001;
  25118. end;
  25119. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  25120. begin
  25121. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25122. end;
  25123. procedure TPORTE_LATE.setLATE1; inline;
  25124. begin
  25125. pTDefRegMap(@Self)^.&set := $00000002;
  25126. end;
  25127. procedure TPORTE_LATE.clearLATE1; inline;
  25128. begin
  25129. pTDefRegMap(@Self)^.clr := $00000002;
  25130. end;
  25131. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  25132. begin
  25133. if thebits = 0 then
  25134. pTDefRegMap(@Self)^.clr := $00000002
  25135. else
  25136. pTDefRegMap(@Self)^.&set := $00000002;
  25137. end;
  25138. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  25139. begin
  25140. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25141. end;
  25142. procedure TPORTE_LATE.setLATE2; inline;
  25143. begin
  25144. pTDefRegMap(@Self)^.&set := $00000004;
  25145. end;
  25146. procedure TPORTE_LATE.clearLATE2; inline;
  25147. begin
  25148. pTDefRegMap(@Self)^.clr := $00000004;
  25149. end;
  25150. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  25151. begin
  25152. if thebits = 0 then
  25153. pTDefRegMap(@Self)^.clr := $00000004
  25154. else
  25155. pTDefRegMap(@Self)^.&set := $00000004;
  25156. end;
  25157. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  25158. begin
  25159. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25160. end;
  25161. procedure TPORTE_LATE.setLATE3; inline;
  25162. begin
  25163. pTDefRegMap(@Self)^.&set := $00000008;
  25164. end;
  25165. procedure TPORTE_LATE.clearLATE3; inline;
  25166. begin
  25167. pTDefRegMap(@Self)^.clr := $00000008;
  25168. end;
  25169. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  25170. begin
  25171. if thebits = 0 then
  25172. pTDefRegMap(@Self)^.clr := $00000008
  25173. else
  25174. pTDefRegMap(@Self)^.&set := $00000008;
  25175. end;
  25176. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  25177. begin
  25178. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25179. end;
  25180. procedure TPORTE_LATE.setLATE4; inline;
  25181. begin
  25182. pTDefRegMap(@Self)^.&set := $00000010;
  25183. end;
  25184. procedure TPORTE_LATE.clearLATE4; inline;
  25185. begin
  25186. pTDefRegMap(@Self)^.clr := $00000010;
  25187. end;
  25188. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  25189. begin
  25190. if thebits = 0 then
  25191. pTDefRegMap(@Self)^.clr := $00000010
  25192. else
  25193. pTDefRegMap(@Self)^.&set := $00000010;
  25194. end;
  25195. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  25196. begin
  25197. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25198. end;
  25199. procedure TPORTE_LATE.setLATE5; inline;
  25200. begin
  25201. pTDefRegMap(@Self)^.&set := $00000020;
  25202. end;
  25203. procedure TPORTE_LATE.clearLATE5; inline;
  25204. begin
  25205. pTDefRegMap(@Self)^.clr := $00000020;
  25206. end;
  25207. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  25208. begin
  25209. if thebits = 0 then
  25210. pTDefRegMap(@Self)^.clr := $00000020
  25211. else
  25212. pTDefRegMap(@Self)^.&set := $00000020;
  25213. end;
  25214. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  25215. begin
  25216. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25217. end;
  25218. procedure TPORTE_LATE.setLATE6; inline;
  25219. begin
  25220. pTDefRegMap(@Self)^.&set := $00000040;
  25221. end;
  25222. procedure TPORTE_LATE.clearLATE6; inline;
  25223. begin
  25224. pTDefRegMap(@Self)^.clr := $00000040;
  25225. end;
  25226. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  25227. begin
  25228. if thebits = 0 then
  25229. pTDefRegMap(@Self)^.clr := $00000040
  25230. else
  25231. pTDefRegMap(@Self)^.&set := $00000040;
  25232. end;
  25233. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  25234. begin
  25235. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25236. end;
  25237. procedure TPORTE_LATE.setLATE7; inline;
  25238. begin
  25239. pTDefRegMap(@Self)^.&set := $00000080;
  25240. end;
  25241. procedure TPORTE_LATE.clearLATE7; inline;
  25242. begin
  25243. pTDefRegMap(@Self)^.clr := $00000080;
  25244. end;
  25245. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  25246. begin
  25247. if thebits = 0 then
  25248. pTDefRegMap(@Self)^.clr := $00000080
  25249. else
  25250. pTDefRegMap(@Self)^.&set := $00000080;
  25251. end;
  25252. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  25253. begin
  25254. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25255. end;
  25256. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  25257. begin
  25258. pTDefRegMap(@Self)^.val := thebits;
  25259. end;
  25260. function TPORTE_LATE.getw : TBits_32; inline;
  25261. begin
  25262. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25263. end;
  25264. procedure TPORTE_ODCE.setODCE0; inline;
  25265. begin
  25266. pTDefRegMap(@Self)^.&set := $00000001;
  25267. end;
  25268. procedure TPORTE_ODCE.clearODCE0; inline;
  25269. begin
  25270. pTDefRegMap(@Self)^.clr := $00000001;
  25271. end;
  25272. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  25273. begin
  25274. if thebits = 0 then
  25275. pTDefRegMap(@Self)^.clr := $00000001
  25276. else
  25277. pTDefRegMap(@Self)^.&set := $00000001;
  25278. end;
  25279. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  25280. begin
  25281. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25282. end;
  25283. procedure TPORTE_ODCE.setODCE1; inline;
  25284. begin
  25285. pTDefRegMap(@Self)^.&set := $00000002;
  25286. end;
  25287. procedure TPORTE_ODCE.clearODCE1; inline;
  25288. begin
  25289. pTDefRegMap(@Self)^.clr := $00000002;
  25290. end;
  25291. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  25292. begin
  25293. if thebits = 0 then
  25294. pTDefRegMap(@Self)^.clr := $00000002
  25295. else
  25296. pTDefRegMap(@Self)^.&set := $00000002;
  25297. end;
  25298. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  25299. begin
  25300. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25301. end;
  25302. procedure TPORTE_ODCE.setODCE2; inline;
  25303. begin
  25304. pTDefRegMap(@Self)^.&set := $00000004;
  25305. end;
  25306. procedure TPORTE_ODCE.clearODCE2; inline;
  25307. begin
  25308. pTDefRegMap(@Self)^.clr := $00000004;
  25309. end;
  25310. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  25311. begin
  25312. if thebits = 0 then
  25313. pTDefRegMap(@Self)^.clr := $00000004
  25314. else
  25315. pTDefRegMap(@Self)^.&set := $00000004;
  25316. end;
  25317. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  25318. begin
  25319. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25320. end;
  25321. procedure TPORTE_ODCE.setODCE3; inline;
  25322. begin
  25323. pTDefRegMap(@Self)^.&set := $00000008;
  25324. end;
  25325. procedure TPORTE_ODCE.clearODCE3; inline;
  25326. begin
  25327. pTDefRegMap(@Self)^.clr := $00000008;
  25328. end;
  25329. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  25330. begin
  25331. if thebits = 0 then
  25332. pTDefRegMap(@Self)^.clr := $00000008
  25333. else
  25334. pTDefRegMap(@Self)^.&set := $00000008;
  25335. end;
  25336. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  25337. begin
  25338. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25339. end;
  25340. procedure TPORTE_ODCE.setODCE4; inline;
  25341. begin
  25342. pTDefRegMap(@Self)^.&set := $00000010;
  25343. end;
  25344. procedure TPORTE_ODCE.clearODCE4; inline;
  25345. begin
  25346. pTDefRegMap(@Self)^.clr := $00000010;
  25347. end;
  25348. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  25349. begin
  25350. if thebits = 0 then
  25351. pTDefRegMap(@Self)^.clr := $00000010
  25352. else
  25353. pTDefRegMap(@Self)^.&set := $00000010;
  25354. end;
  25355. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  25356. begin
  25357. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25358. end;
  25359. procedure TPORTE_ODCE.setODCE5; inline;
  25360. begin
  25361. pTDefRegMap(@Self)^.&set := $00000020;
  25362. end;
  25363. procedure TPORTE_ODCE.clearODCE5; inline;
  25364. begin
  25365. pTDefRegMap(@Self)^.clr := $00000020;
  25366. end;
  25367. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  25368. begin
  25369. if thebits = 0 then
  25370. pTDefRegMap(@Self)^.clr := $00000020
  25371. else
  25372. pTDefRegMap(@Self)^.&set := $00000020;
  25373. end;
  25374. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  25375. begin
  25376. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25377. end;
  25378. procedure TPORTE_ODCE.setODCE6; inline;
  25379. begin
  25380. pTDefRegMap(@Self)^.&set := $00000040;
  25381. end;
  25382. procedure TPORTE_ODCE.clearODCE6; inline;
  25383. begin
  25384. pTDefRegMap(@Self)^.clr := $00000040;
  25385. end;
  25386. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  25387. begin
  25388. if thebits = 0 then
  25389. pTDefRegMap(@Self)^.clr := $00000040
  25390. else
  25391. pTDefRegMap(@Self)^.&set := $00000040;
  25392. end;
  25393. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  25394. begin
  25395. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25396. end;
  25397. procedure TPORTE_ODCE.setODCE7; inline;
  25398. begin
  25399. pTDefRegMap(@Self)^.&set := $00000080;
  25400. end;
  25401. procedure TPORTE_ODCE.clearODCE7; inline;
  25402. begin
  25403. pTDefRegMap(@Self)^.clr := $00000080;
  25404. end;
  25405. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  25406. begin
  25407. if thebits = 0 then
  25408. pTDefRegMap(@Self)^.clr := $00000080
  25409. else
  25410. pTDefRegMap(@Self)^.&set := $00000080;
  25411. end;
  25412. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  25413. begin
  25414. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25415. end;
  25416. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  25417. begin
  25418. pTDefRegMap(@Self)^.val := thebits;
  25419. end;
  25420. function TPORTE_ODCE.getw : TBits_32; inline;
  25421. begin
  25422. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25423. end;
  25424. procedure TPORTF_TRISF.setTRISF0; inline;
  25425. begin
  25426. pTDefRegMap(@Self)^.&set := $00000001;
  25427. end;
  25428. procedure TPORTF_TRISF.clearTRISF0; inline;
  25429. begin
  25430. pTDefRegMap(@Self)^.clr := $00000001;
  25431. end;
  25432. procedure TPORTF_TRISF.setTRISF0(thebits : TBits_1); inline;
  25433. begin
  25434. if thebits = 0 then
  25435. pTDefRegMap(@Self)^.clr := $00000001
  25436. else
  25437. pTDefRegMap(@Self)^.&set := $00000001;
  25438. end;
  25439. function TPORTF_TRISF.getTRISF0 : TBits_1; inline;
  25440. begin
  25441. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25442. end;
  25443. procedure TPORTF_TRISF.setTRISF1; inline;
  25444. begin
  25445. pTDefRegMap(@Self)^.&set := $00000002;
  25446. end;
  25447. procedure TPORTF_TRISF.clearTRISF1; inline;
  25448. begin
  25449. pTDefRegMap(@Self)^.clr := $00000002;
  25450. end;
  25451. procedure TPORTF_TRISF.setTRISF1(thebits : TBits_1); inline;
  25452. begin
  25453. if thebits = 0 then
  25454. pTDefRegMap(@Self)^.clr := $00000002
  25455. else
  25456. pTDefRegMap(@Self)^.&set := $00000002;
  25457. end;
  25458. function TPORTF_TRISF.getTRISF1 : TBits_1; inline;
  25459. begin
  25460. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25461. end;
  25462. procedure TPORTF_TRISF.setTRISF2; inline;
  25463. begin
  25464. pTDefRegMap(@Self)^.&set := $00000004;
  25465. end;
  25466. procedure TPORTF_TRISF.clearTRISF2; inline;
  25467. begin
  25468. pTDefRegMap(@Self)^.clr := $00000004;
  25469. end;
  25470. procedure TPORTF_TRISF.setTRISF2(thebits : TBits_1); inline;
  25471. begin
  25472. if thebits = 0 then
  25473. pTDefRegMap(@Self)^.clr := $00000004
  25474. else
  25475. pTDefRegMap(@Self)^.&set := $00000004;
  25476. end;
  25477. function TPORTF_TRISF.getTRISF2 : TBits_1; inline;
  25478. begin
  25479. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25480. end;
  25481. procedure TPORTF_TRISF.setTRISF3; inline;
  25482. begin
  25483. pTDefRegMap(@Self)^.&set := $00000008;
  25484. end;
  25485. procedure TPORTF_TRISF.clearTRISF3; inline;
  25486. begin
  25487. pTDefRegMap(@Self)^.clr := $00000008;
  25488. end;
  25489. procedure TPORTF_TRISF.setTRISF3(thebits : TBits_1); inline;
  25490. begin
  25491. if thebits = 0 then
  25492. pTDefRegMap(@Self)^.clr := $00000008
  25493. else
  25494. pTDefRegMap(@Self)^.&set := $00000008;
  25495. end;
  25496. function TPORTF_TRISF.getTRISF3 : TBits_1; inline;
  25497. begin
  25498. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25499. end;
  25500. procedure TPORTF_TRISF.setTRISF4; inline;
  25501. begin
  25502. pTDefRegMap(@Self)^.&set := $00000010;
  25503. end;
  25504. procedure TPORTF_TRISF.clearTRISF4; inline;
  25505. begin
  25506. pTDefRegMap(@Self)^.clr := $00000010;
  25507. end;
  25508. procedure TPORTF_TRISF.setTRISF4(thebits : TBits_1); inline;
  25509. begin
  25510. if thebits = 0 then
  25511. pTDefRegMap(@Self)^.clr := $00000010
  25512. else
  25513. pTDefRegMap(@Self)^.&set := $00000010;
  25514. end;
  25515. function TPORTF_TRISF.getTRISF4 : TBits_1; inline;
  25516. begin
  25517. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25518. end;
  25519. procedure TPORTF_TRISF.setTRISF5; inline;
  25520. begin
  25521. pTDefRegMap(@Self)^.&set := $00000020;
  25522. end;
  25523. procedure TPORTF_TRISF.clearTRISF5; inline;
  25524. begin
  25525. pTDefRegMap(@Self)^.clr := $00000020;
  25526. end;
  25527. procedure TPORTF_TRISF.setTRISF5(thebits : TBits_1); inline;
  25528. begin
  25529. if thebits = 0 then
  25530. pTDefRegMap(@Self)^.clr := $00000020
  25531. else
  25532. pTDefRegMap(@Self)^.&set := $00000020;
  25533. end;
  25534. function TPORTF_TRISF.getTRISF5 : TBits_1; inline;
  25535. begin
  25536. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25537. end;
  25538. procedure TPORTF_TRISF.setTRISF6; inline;
  25539. begin
  25540. pTDefRegMap(@Self)^.&set := $00000040;
  25541. end;
  25542. procedure TPORTF_TRISF.clearTRISF6; inline;
  25543. begin
  25544. pTDefRegMap(@Self)^.clr := $00000040;
  25545. end;
  25546. procedure TPORTF_TRISF.setTRISF6(thebits : TBits_1); inline;
  25547. begin
  25548. if thebits = 0 then
  25549. pTDefRegMap(@Self)^.clr := $00000040
  25550. else
  25551. pTDefRegMap(@Self)^.&set := $00000040;
  25552. end;
  25553. function TPORTF_TRISF.getTRISF6 : TBits_1; inline;
  25554. begin
  25555. getTRISF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25556. end;
  25557. procedure TPORTF_TRISF.setw(thebits : TBits_32); inline;
  25558. begin
  25559. pTDefRegMap(@Self)^.val := thebits;
  25560. end;
  25561. function TPORTF_TRISF.getw : TBits_32; inline;
  25562. begin
  25563. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25564. end;
  25565. procedure TPORTF_PORTF.setRF0; inline;
  25566. begin
  25567. pTDefRegMap(@Self)^.&set := $00000001;
  25568. end;
  25569. procedure TPORTF_PORTF.clearRF0; inline;
  25570. begin
  25571. pTDefRegMap(@Self)^.clr := $00000001;
  25572. end;
  25573. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  25574. begin
  25575. if thebits = 0 then
  25576. pTDefRegMap(@Self)^.clr := $00000001
  25577. else
  25578. pTDefRegMap(@Self)^.&set := $00000001;
  25579. end;
  25580. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  25581. begin
  25582. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25583. end;
  25584. procedure TPORTF_PORTF.setRF1; inline;
  25585. begin
  25586. pTDefRegMap(@Self)^.&set := $00000002;
  25587. end;
  25588. procedure TPORTF_PORTF.clearRF1; inline;
  25589. begin
  25590. pTDefRegMap(@Self)^.clr := $00000002;
  25591. end;
  25592. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  25593. begin
  25594. if thebits = 0 then
  25595. pTDefRegMap(@Self)^.clr := $00000002
  25596. else
  25597. pTDefRegMap(@Self)^.&set := $00000002;
  25598. end;
  25599. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  25600. begin
  25601. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25602. end;
  25603. procedure TPORTF_PORTF.setRF2; inline;
  25604. begin
  25605. pTDefRegMap(@Self)^.&set := $00000004;
  25606. end;
  25607. procedure TPORTF_PORTF.clearRF2; inline;
  25608. begin
  25609. pTDefRegMap(@Self)^.clr := $00000004;
  25610. end;
  25611. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  25612. begin
  25613. if thebits = 0 then
  25614. pTDefRegMap(@Self)^.clr := $00000004
  25615. else
  25616. pTDefRegMap(@Self)^.&set := $00000004;
  25617. end;
  25618. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  25619. begin
  25620. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25621. end;
  25622. procedure TPORTF_PORTF.setRF3; inline;
  25623. begin
  25624. pTDefRegMap(@Self)^.&set := $00000008;
  25625. end;
  25626. procedure TPORTF_PORTF.clearRF3; inline;
  25627. begin
  25628. pTDefRegMap(@Self)^.clr := $00000008;
  25629. end;
  25630. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  25631. begin
  25632. if thebits = 0 then
  25633. pTDefRegMap(@Self)^.clr := $00000008
  25634. else
  25635. pTDefRegMap(@Self)^.&set := $00000008;
  25636. end;
  25637. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  25638. begin
  25639. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25640. end;
  25641. procedure TPORTF_PORTF.setRF4; inline;
  25642. begin
  25643. pTDefRegMap(@Self)^.&set := $00000010;
  25644. end;
  25645. procedure TPORTF_PORTF.clearRF4; inline;
  25646. begin
  25647. pTDefRegMap(@Self)^.clr := $00000010;
  25648. end;
  25649. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  25650. begin
  25651. if thebits = 0 then
  25652. pTDefRegMap(@Self)^.clr := $00000010
  25653. else
  25654. pTDefRegMap(@Self)^.&set := $00000010;
  25655. end;
  25656. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  25657. begin
  25658. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25659. end;
  25660. procedure TPORTF_PORTF.setRF5; inline;
  25661. begin
  25662. pTDefRegMap(@Self)^.&set := $00000020;
  25663. end;
  25664. procedure TPORTF_PORTF.clearRF5; inline;
  25665. begin
  25666. pTDefRegMap(@Self)^.clr := $00000020;
  25667. end;
  25668. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  25669. begin
  25670. if thebits = 0 then
  25671. pTDefRegMap(@Self)^.clr := $00000020
  25672. else
  25673. pTDefRegMap(@Self)^.&set := $00000020;
  25674. end;
  25675. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  25676. begin
  25677. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25678. end;
  25679. procedure TPORTF_PORTF.setRF6; inline;
  25680. begin
  25681. pTDefRegMap(@Self)^.&set := $00000040;
  25682. end;
  25683. procedure TPORTF_PORTF.clearRF6; inline;
  25684. begin
  25685. pTDefRegMap(@Self)^.clr := $00000040;
  25686. end;
  25687. procedure TPORTF_PORTF.setRF6(thebits : TBits_1); inline;
  25688. begin
  25689. if thebits = 0 then
  25690. pTDefRegMap(@Self)^.clr := $00000040
  25691. else
  25692. pTDefRegMap(@Self)^.&set := $00000040;
  25693. end;
  25694. function TPORTF_PORTF.getRF6 : TBits_1; inline;
  25695. begin
  25696. getRF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25697. end;
  25698. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  25699. begin
  25700. pTDefRegMap(@Self)^.val := thebits;
  25701. end;
  25702. function TPORTF_PORTF.getw : TBits_32; inline;
  25703. begin
  25704. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25705. end;
  25706. procedure TPORTF_LATF.setLATF0; inline;
  25707. begin
  25708. pTDefRegMap(@Self)^.&set := $00000001;
  25709. end;
  25710. procedure TPORTF_LATF.clearLATF0; inline;
  25711. begin
  25712. pTDefRegMap(@Self)^.clr := $00000001;
  25713. end;
  25714. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  25715. begin
  25716. if thebits = 0 then
  25717. pTDefRegMap(@Self)^.clr := $00000001
  25718. else
  25719. pTDefRegMap(@Self)^.&set := $00000001;
  25720. end;
  25721. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  25722. begin
  25723. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25724. end;
  25725. procedure TPORTF_LATF.setLATF1; inline;
  25726. begin
  25727. pTDefRegMap(@Self)^.&set := $00000002;
  25728. end;
  25729. procedure TPORTF_LATF.clearLATF1; inline;
  25730. begin
  25731. pTDefRegMap(@Self)^.clr := $00000002;
  25732. end;
  25733. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  25734. begin
  25735. if thebits = 0 then
  25736. pTDefRegMap(@Self)^.clr := $00000002
  25737. else
  25738. pTDefRegMap(@Self)^.&set := $00000002;
  25739. end;
  25740. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  25741. begin
  25742. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25743. end;
  25744. procedure TPORTF_LATF.setLATF2; inline;
  25745. begin
  25746. pTDefRegMap(@Self)^.&set := $00000004;
  25747. end;
  25748. procedure TPORTF_LATF.clearLATF2; inline;
  25749. begin
  25750. pTDefRegMap(@Self)^.clr := $00000004;
  25751. end;
  25752. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  25753. begin
  25754. if thebits = 0 then
  25755. pTDefRegMap(@Self)^.clr := $00000004
  25756. else
  25757. pTDefRegMap(@Self)^.&set := $00000004;
  25758. end;
  25759. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  25760. begin
  25761. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25762. end;
  25763. procedure TPORTF_LATF.setLATF3; inline;
  25764. begin
  25765. pTDefRegMap(@Self)^.&set := $00000008;
  25766. end;
  25767. procedure TPORTF_LATF.clearLATF3; inline;
  25768. begin
  25769. pTDefRegMap(@Self)^.clr := $00000008;
  25770. end;
  25771. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  25772. begin
  25773. if thebits = 0 then
  25774. pTDefRegMap(@Self)^.clr := $00000008
  25775. else
  25776. pTDefRegMap(@Self)^.&set := $00000008;
  25777. end;
  25778. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  25779. begin
  25780. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25781. end;
  25782. procedure TPORTF_LATF.setLATF4; inline;
  25783. begin
  25784. pTDefRegMap(@Self)^.&set := $00000010;
  25785. end;
  25786. procedure TPORTF_LATF.clearLATF4; inline;
  25787. begin
  25788. pTDefRegMap(@Self)^.clr := $00000010;
  25789. end;
  25790. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  25791. begin
  25792. if thebits = 0 then
  25793. pTDefRegMap(@Self)^.clr := $00000010
  25794. else
  25795. pTDefRegMap(@Self)^.&set := $00000010;
  25796. end;
  25797. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  25798. begin
  25799. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25800. end;
  25801. procedure TPORTF_LATF.setLATF5; inline;
  25802. begin
  25803. pTDefRegMap(@Self)^.&set := $00000020;
  25804. end;
  25805. procedure TPORTF_LATF.clearLATF5; inline;
  25806. begin
  25807. pTDefRegMap(@Self)^.clr := $00000020;
  25808. end;
  25809. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  25810. begin
  25811. if thebits = 0 then
  25812. pTDefRegMap(@Self)^.clr := $00000020
  25813. else
  25814. pTDefRegMap(@Self)^.&set := $00000020;
  25815. end;
  25816. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  25817. begin
  25818. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25819. end;
  25820. procedure TPORTF_LATF.setLATF6; inline;
  25821. begin
  25822. pTDefRegMap(@Self)^.&set := $00000040;
  25823. end;
  25824. procedure TPORTF_LATF.clearLATF6; inline;
  25825. begin
  25826. pTDefRegMap(@Self)^.clr := $00000040;
  25827. end;
  25828. procedure TPORTF_LATF.setLATF6(thebits : TBits_1); inline;
  25829. begin
  25830. if thebits = 0 then
  25831. pTDefRegMap(@Self)^.clr := $00000040
  25832. else
  25833. pTDefRegMap(@Self)^.&set := $00000040;
  25834. end;
  25835. function TPORTF_LATF.getLATF6 : TBits_1; inline;
  25836. begin
  25837. getLATF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25838. end;
  25839. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  25840. begin
  25841. pTDefRegMap(@Self)^.val := thebits;
  25842. end;
  25843. function TPORTF_LATF.getw : TBits_32; inline;
  25844. begin
  25845. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25846. end;
  25847. procedure TPORTF_ODCF.setODCF0; inline;
  25848. begin
  25849. pTDefRegMap(@Self)^.&set := $00000001;
  25850. end;
  25851. procedure TPORTF_ODCF.clearODCF0; inline;
  25852. begin
  25853. pTDefRegMap(@Self)^.clr := $00000001;
  25854. end;
  25855. procedure TPORTF_ODCF.setODCF0(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 TPORTF_ODCF.getODCF0 : TBits_1; inline;
  25863. begin
  25864. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25865. end;
  25866. procedure TPORTF_ODCF.setODCF1; inline;
  25867. begin
  25868. pTDefRegMap(@Self)^.&set := $00000002;
  25869. end;
  25870. procedure TPORTF_ODCF.clearODCF1; inline;
  25871. begin
  25872. pTDefRegMap(@Self)^.clr := $00000002;
  25873. end;
  25874. procedure TPORTF_ODCF.setODCF1(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 TPORTF_ODCF.getODCF1 : TBits_1; inline;
  25882. begin
  25883. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25884. end;
  25885. procedure TPORTF_ODCF.setODCF2; inline;
  25886. begin
  25887. pTDefRegMap(@Self)^.&set := $00000004;
  25888. end;
  25889. procedure TPORTF_ODCF.clearODCF2; inline;
  25890. begin
  25891. pTDefRegMap(@Self)^.clr := $00000004;
  25892. end;
  25893. procedure TPORTF_ODCF.setODCF2(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 TPORTF_ODCF.getODCF2 : TBits_1; inline;
  25901. begin
  25902. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25903. end;
  25904. procedure TPORTF_ODCF.setODCF3; inline;
  25905. begin
  25906. pTDefRegMap(@Self)^.&set := $00000008;
  25907. end;
  25908. procedure TPORTF_ODCF.clearODCF3; inline;
  25909. begin
  25910. pTDefRegMap(@Self)^.clr := $00000008;
  25911. end;
  25912. procedure TPORTF_ODCF.setODCF3(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 TPORTF_ODCF.getODCF3 : TBits_1; inline;
  25920. begin
  25921. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25922. end;
  25923. procedure TPORTF_ODCF.setODCF4; inline;
  25924. begin
  25925. pTDefRegMap(@Self)^.&set := $00000010;
  25926. end;
  25927. procedure TPORTF_ODCF.clearODCF4; inline;
  25928. begin
  25929. pTDefRegMap(@Self)^.clr := $00000010;
  25930. end;
  25931. procedure TPORTF_ODCF.setODCF4(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 TPORTF_ODCF.getODCF4 : TBits_1; inline;
  25939. begin
  25940. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25941. end;
  25942. procedure TPORTF_ODCF.setODCF5; inline;
  25943. begin
  25944. pTDefRegMap(@Self)^.&set := $00000020;
  25945. end;
  25946. procedure TPORTF_ODCF.clearODCF5; inline;
  25947. begin
  25948. pTDefRegMap(@Self)^.clr := $00000020;
  25949. end;
  25950. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  25951. begin
  25952. if thebits = 0 then
  25953. pTDefRegMap(@Self)^.clr := $00000020
  25954. else
  25955. pTDefRegMap(@Self)^.&set := $00000020;
  25956. end;
  25957. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  25958. begin
  25959. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25960. end;
  25961. procedure TPORTF_ODCF.setODCF6; inline;
  25962. begin
  25963. pTDefRegMap(@Self)^.&set := $00000040;
  25964. end;
  25965. procedure TPORTF_ODCF.clearODCF6; inline;
  25966. begin
  25967. pTDefRegMap(@Self)^.clr := $00000040;
  25968. end;
  25969. procedure TPORTF_ODCF.setODCF6(thebits : TBits_1); inline;
  25970. begin
  25971. if thebits = 0 then
  25972. pTDefRegMap(@Self)^.clr := $00000040
  25973. else
  25974. pTDefRegMap(@Self)^.&set := $00000040;
  25975. end;
  25976. function TPORTF_ODCF.getODCF6 : TBits_1; inline;
  25977. begin
  25978. getODCF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25979. end;
  25980. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  25981. begin
  25982. pTDefRegMap(@Self)^.val := thebits;
  25983. end;
  25984. function TPORTF_ODCF.getw : TBits_32; inline;
  25985. begin
  25986. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25987. end;
  25988. procedure TPORTG_TRISG.setTRISG2; inline;
  25989. begin
  25990. pTDefRegMap(@Self)^.&set := $00000004;
  25991. end;
  25992. procedure TPORTG_TRISG.clearTRISG2; inline;
  25993. begin
  25994. pTDefRegMap(@Self)^.clr := $00000004;
  25995. end;
  25996. procedure TPORTG_TRISG.setTRISG2(thebits : TBits_1); inline;
  25997. begin
  25998. if thebits = 0 then
  25999. pTDefRegMap(@Self)^.clr := $00000004
  26000. else
  26001. pTDefRegMap(@Self)^.&set := $00000004;
  26002. end;
  26003. function TPORTG_TRISG.getTRISG2 : TBits_1; inline;
  26004. begin
  26005. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26006. end;
  26007. procedure TPORTG_TRISG.setTRISG3; inline;
  26008. begin
  26009. pTDefRegMap(@Self)^.&set := $00000008;
  26010. end;
  26011. procedure TPORTG_TRISG.clearTRISG3; inline;
  26012. begin
  26013. pTDefRegMap(@Self)^.clr := $00000008;
  26014. end;
  26015. procedure TPORTG_TRISG.setTRISG3(thebits : TBits_1); inline;
  26016. begin
  26017. if thebits = 0 then
  26018. pTDefRegMap(@Self)^.clr := $00000008
  26019. else
  26020. pTDefRegMap(@Self)^.&set := $00000008;
  26021. end;
  26022. function TPORTG_TRISG.getTRISG3 : TBits_1; inline;
  26023. begin
  26024. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26025. end;
  26026. procedure TPORTG_TRISG.setTRISG6; inline;
  26027. begin
  26028. pTDefRegMap(@Self)^.&set := $00000040;
  26029. end;
  26030. procedure TPORTG_TRISG.clearTRISG6; inline;
  26031. begin
  26032. pTDefRegMap(@Self)^.clr := $00000040;
  26033. end;
  26034. procedure TPORTG_TRISG.setTRISG6(thebits : TBits_1); inline;
  26035. begin
  26036. if thebits = 0 then
  26037. pTDefRegMap(@Self)^.clr := $00000040
  26038. else
  26039. pTDefRegMap(@Self)^.&set := $00000040;
  26040. end;
  26041. function TPORTG_TRISG.getTRISG6 : TBits_1; inline;
  26042. begin
  26043. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26044. end;
  26045. procedure TPORTG_TRISG.setTRISG7; inline;
  26046. begin
  26047. pTDefRegMap(@Self)^.&set := $00000080;
  26048. end;
  26049. procedure TPORTG_TRISG.clearTRISG7; inline;
  26050. begin
  26051. pTDefRegMap(@Self)^.clr := $00000080;
  26052. end;
  26053. procedure TPORTG_TRISG.setTRISG7(thebits : TBits_1); inline;
  26054. begin
  26055. if thebits = 0 then
  26056. pTDefRegMap(@Self)^.clr := $00000080
  26057. else
  26058. pTDefRegMap(@Self)^.&set := $00000080;
  26059. end;
  26060. function TPORTG_TRISG.getTRISG7 : TBits_1; inline;
  26061. begin
  26062. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26063. end;
  26064. procedure TPORTG_TRISG.setTRISG8; inline;
  26065. begin
  26066. pTDefRegMap(@Self)^.&set := $00000100;
  26067. end;
  26068. procedure TPORTG_TRISG.clearTRISG8; inline;
  26069. begin
  26070. pTDefRegMap(@Self)^.clr := $00000100;
  26071. end;
  26072. procedure TPORTG_TRISG.setTRISG8(thebits : TBits_1); inline;
  26073. begin
  26074. if thebits = 0 then
  26075. pTDefRegMap(@Self)^.clr := $00000100
  26076. else
  26077. pTDefRegMap(@Self)^.&set := $00000100;
  26078. end;
  26079. function TPORTG_TRISG.getTRISG8 : TBits_1; inline;
  26080. begin
  26081. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26082. end;
  26083. procedure TPORTG_TRISG.setTRISG9; inline;
  26084. begin
  26085. pTDefRegMap(@Self)^.&set := $00000200;
  26086. end;
  26087. procedure TPORTG_TRISG.clearTRISG9; inline;
  26088. begin
  26089. pTDefRegMap(@Self)^.clr := $00000200;
  26090. end;
  26091. procedure TPORTG_TRISG.setTRISG9(thebits : TBits_1); inline;
  26092. begin
  26093. if thebits = 0 then
  26094. pTDefRegMap(@Self)^.clr := $00000200
  26095. else
  26096. pTDefRegMap(@Self)^.&set := $00000200;
  26097. end;
  26098. function TPORTG_TRISG.getTRISG9 : TBits_1; inline;
  26099. begin
  26100. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26101. end;
  26102. procedure TPORTG_TRISG.setw(thebits : TBits_32); inline;
  26103. begin
  26104. pTDefRegMap(@Self)^.val := thebits;
  26105. end;
  26106. function TPORTG_TRISG.getw : TBits_32; inline;
  26107. begin
  26108. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26109. end;
  26110. procedure TPORTG_PORTG.setRG2; inline;
  26111. begin
  26112. pTDefRegMap(@Self)^.&set := $00000004;
  26113. end;
  26114. procedure TPORTG_PORTG.clearRG2; inline;
  26115. begin
  26116. pTDefRegMap(@Self)^.clr := $00000004;
  26117. end;
  26118. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  26119. begin
  26120. if thebits = 0 then
  26121. pTDefRegMap(@Self)^.clr := $00000004
  26122. else
  26123. pTDefRegMap(@Self)^.&set := $00000004;
  26124. end;
  26125. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  26126. begin
  26127. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26128. end;
  26129. procedure TPORTG_PORTG.setRG3; inline;
  26130. begin
  26131. pTDefRegMap(@Self)^.&set := $00000008;
  26132. end;
  26133. procedure TPORTG_PORTG.clearRG3; inline;
  26134. begin
  26135. pTDefRegMap(@Self)^.clr := $00000008;
  26136. end;
  26137. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  26138. begin
  26139. if thebits = 0 then
  26140. pTDefRegMap(@Self)^.clr := $00000008
  26141. else
  26142. pTDefRegMap(@Self)^.&set := $00000008;
  26143. end;
  26144. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  26145. begin
  26146. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26147. end;
  26148. procedure TPORTG_PORTG.setRG6; inline;
  26149. begin
  26150. pTDefRegMap(@Self)^.&set := $00000040;
  26151. end;
  26152. procedure TPORTG_PORTG.clearRG6; inline;
  26153. begin
  26154. pTDefRegMap(@Self)^.clr := $00000040;
  26155. end;
  26156. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  26157. begin
  26158. if thebits = 0 then
  26159. pTDefRegMap(@Self)^.clr := $00000040
  26160. else
  26161. pTDefRegMap(@Self)^.&set := $00000040;
  26162. end;
  26163. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  26164. begin
  26165. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26166. end;
  26167. procedure TPORTG_PORTG.setRG7; inline;
  26168. begin
  26169. pTDefRegMap(@Self)^.&set := $00000080;
  26170. end;
  26171. procedure TPORTG_PORTG.clearRG7; inline;
  26172. begin
  26173. pTDefRegMap(@Self)^.clr := $00000080;
  26174. end;
  26175. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  26176. begin
  26177. if thebits = 0 then
  26178. pTDefRegMap(@Self)^.clr := $00000080
  26179. else
  26180. pTDefRegMap(@Self)^.&set := $00000080;
  26181. end;
  26182. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  26183. begin
  26184. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26185. end;
  26186. procedure TPORTG_PORTG.setRG8; inline;
  26187. begin
  26188. pTDefRegMap(@Self)^.&set := $00000100;
  26189. end;
  26190. procedure TPORTG_PORTG.clearRG8; inline;
  26191. begin
  26192. pTDefRegMap(@Self)^.clr := $00000100;
  26193. end;
  26194. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  26195. begin
  26196. if thebits = 0 then
  26197. pTDefRegMap(@Self)^.clr := $00000100
  26198. else
  26199. pTDefRegMap(@Self)^.&set := $00000100;
  26200. end;
  26201. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  26202. begin
  26203. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26204. end;
  26205. procedure TPORTG_PORTG.setRG9; inline;
  26206. begin
  26207. pTDefRegMap(@Self)^.&set := $00000200;
  26208. end;
  26209. procedure TPORTG_PORTG.clearRG9; inline;
  26210. begin
  26211. pTDefRegMap(@Self)^.clr := $00000200;
  26212. end;
  26213. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  26214. begin
  26215. if thebits = 0 then
  26216. pTDefRegMap(@Self)^.clr := $00000200
  26217. else
  26218. pTDefRegMap(@Self)^.&set := $00000200;
  26219. end;
  26220. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  26221. begin
  26222. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26223. end;
  26224. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  26225. begin
  26226. pTDefRegMap(@Self)^.val := thebits;
  26227. end;
  26228. function TPORTG_PORTG.getw : TBits_32; inline;
  26229. begin
  26230. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26231. end;
  26232. procedure TPORTG_LATG.setLATG2; inline;
  26233. begin
  26234. pTDefRegMap(@Self)^.&set := $00000004;
  26235. end;
  26236. procedure TPORTG_LATG.clearLATG2; inline;
  26237. begin
  26238. pTDefRegMap(@Self)^.clr := $00000004;
  26239. end;
  26240. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  26241. begin
  26242. if thebits = 0 then
  26243. pTDefRegMap(@Self)^.clr := $00000004
  26244. else
  26245. pTDefRegMap(@Self)^.&set := $00000004;
  26246. end;
  26247. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  26248. begin
  26249. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26250. end;
  26251. procedure TPORTG_LATG.setLATG3; inline;
  26252. begin
  26253. pTDefRegMap(@Self)^.&set := $00000008;
  26254. end;
  26255. procedure TPORTG_LATG.clearLATG3; inline;
  26256. begin
  26257. pTDefRegMap(@Self)^.clr := $00000008;
  26258. end;
  26259. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  26260. begin
  26261. if thebits = 0 then
  26262. pTDefRegMap(@Self)^.clr := $00000008
  26263. else
  26264. pTDefRegMap(@Self)^.&set := $00000008;
  26265. end;
  26266. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  26267. begin
  26268. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26269. end;
  26270. procedure TPORTG_LATG.setLATG6; inline;
  26271. begin
  26272. pTDefRegMap(@Self)^.&set := $00000040;
  26273. end;
  26274. procedure TPORTG_LATG.clearLATG6; inline;
  26275. begin
  26276. pTDefRegMap(@Self)^.clr := $00000040;
  26277. end;
  26278. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  26279. begin
  26280. if thebits = 0 then
  26281. pTDefRegMap(@Self)^.clr := $00000040
  26282. else
  26283. pTDefRegMap(@Self)^.&set := $00000040;
  26284. end;
  26285. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  26286. begin
  26287. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26288. end;
  26289. procedure TPORTG_LATG.setLATG7; inline;
  26290. begin
  26291. pTDefRegMap(@Self)^.&set := $00000080;
  26292. end;
  26293. procedure TPORTG_LATG.clearLATG7; inline;
  26294. begin
  26295. pTDefRegMap(@Self)^.clr := $00000080;
  26296. end;
  26297. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  26298. begin
  26299. if thebits = 0 then
  26300. pTDefRegMap(@Self)^.clr := $00000080
  26301. else
  26302. pTDefRegMap(@Self)^.&set := $00000080;
  26303. end;
  26304. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  26305. begin
  26306. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26307. end;
  26308. procedure TPORTG_LATG.setLATG8; inline;
  26309. begin
  26310. pTDefRegMap(@Self)^.&set := $00000100;
  26311. end;
  26312. procedure TPORTG_LATG.clearLATG8; inline;
  26313. begin
  26314. pTDefRegMap(@Self)^.clr := $00000100;
  26315. end;
  26316. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  26317. begin
  26318. if thebits = 0 then
  26319. pTDefRegMap(@Self)^.clr := $00000100
  26320. else
  26321. pTDefRegMap(@Self)^.&set := $00000100;
  26322. end;
  26323. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  26324. begin
  26325. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26326. end;
  26327. procedure TPORTG_LATG.setLATG9; inline;
  26328. begin
  26329. pTDefRegMap(@Self)^.&set := $00000200;
  26330. end;
  26331. procedure TPORTG_LATG.clearLATG9; inline;
  26332. begin
  26333. pTDefRegMap(@Self)^.clr := $00000200;
  26334. end;
  26335. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  26336. begin
  26337. if thebits = 0 then
  26338. pTDefRegMap(@Self)^.clr := $00000200
  26339. else
  26340. pTDefRegMap(@Self)^.&set := $00000200;
  26341. end;
  26342. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  26343. begin
  26344. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26345. end;
  26346. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  26347. begin
  26348. pTDefRegMap(@Self)^.val := thebits;
  26349. end;
  26350. function TPORTG_LATG.getw : TBits_32; inline;
  26351. begin
  26352. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26353. end;
  26354. procedure TPORTG_ODCG.setODCG2; inline;
  26355. begin
  26356. pTDefRegMap(@Self)^.&set := $00000004;
  26357. end;
  26358. procedure TPORTG_ODCG.clearODCG2; inline;
  26359. begin
  26360. pTDefRegMap(@Self)^.clr := $00000004;
  26361. end;
  26362. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  26363. begin
  26364. if thebits = 0 then
  26365. pTDefRegMap(@Self)^.clr := $00000004
  26366. else
  26367. pTDefRegMap(@Self)^.&set := $00000004;
  26368. end;
  26369. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  26370. begin
  26371. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26372. end;
  26373. procedure TPORTG_ODCG.setODCG3; inline;
  26374. begin
  26375. pTDefRegMap(@Self)^.&set := $00000008;
  26376. end;
  26377. procedure TPORTG_ODCG.clearODCG3; inline;
  26378. begin
  26379. pTDefRegMap(@Self)^.clr := $00000008;
  26380. end;
  26381. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  26382. begin
  26383. if thebits = 0 then
  26384. pTDefRegMap(@Self)^.clr := $00000008
  26385. else
  26386. pTDefRegMap(@Self)^.&set := $00000008;
  26387. end;
  26388. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  26389. begin
  26390. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26391. end;
  26392. procedure TPORTG_ODCG.setODCG6; inline;
  26393. begin
  26394. pTDefRegMap(@Self)^.&set := $00000040;
  26395. end;
  26396. procedure TPORTG_ODCG.clearODCG6; inline;
  26397. begin
  26398. pTDefRegMap(@Self)^.clr := $00000040;
  26399. end;
  26400. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  26401. begin
  26402. if thebits = 0 then
  26403. pTDefRegMap(@Self)^.clr := $00000040
  26404. else
  26405. pTDefRegMap(@Self)^.&set := $00000040;
  26406. end;
  26407. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  26408. begin
  26409. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26410. end;
  26411. procedure TPORTG_ODCG.setODCG7; inline;
  26412. begin
  26413. pTDefRegMap(@Self)^.&set := $00000080;
  26414. end;
  26415. procedure TPORTG_ODCG.clearODCG7; inline;
  26416. begin
  26417. pTDefRegMap(@Self)^.clr := $00000080;
  26418. end;
  26419. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  26420. begin
  26421. if thebits = 0 then
  26422. pTDefRegMap(@Self)^.clr := $00000080
  26423. else
  26424. pTDefRegMap(@Self)^.&set := $00000080;
  26425. end;
  26426. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  26427. begin
  26428. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26429. end;
  26430. procedure TPORTG_ODCG.setODCG8; inline;
  26431. begin
  26432. pTDefRegMap(@Self)^.&set := $00000100;
  26433. end;
  26434. procedure TPORTG_ODCG.clearODCG8; inline;
  26435. begin
  26436. pTDefRegMap(@Self)^.clr := $00000100;
  26437. end;
  26438. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  26439. begin
  26440. if thebits = 0 then
  26441. pTDefRegMap(@Self)^.clr := $00000100
  26442. else
  26443. pTDefRegMap(@Self)^.&set := $00000100;
  26444. end;
  26445. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  26446. begin
  26447. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26448. end;
  26449. procedure TPORTG_ODCG.setODCG9; inline;
  26450. begin
  26451. pTDefRegMap(@Self)^.&set := $00000200;
  26452. end;
  26453. procedure TPORTG_ODCG.clearODCG9; inline;
  26454. begin
  26455. pTDefRegMap(@Self)^.clr := $00000200;
  26456. end;
  26457. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  26458. begin
  26459. if thebits = 0 then
  26460. pTDefRegMap(@Self)^.clr := $00000200
  26461. else
  26462. pTDefRegMap(@Self)^.&set := $00000200;
  26463. end;
  26464. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  26465. begin
  26466. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26467. end;
  26468. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  26469. begin
  26470. pTDefRegMap(@Self)^.val := thebits;
  26471. end;
  26472. function TPORTG_ODCG.getw : TBits_32; inline;
  26473. begin
  26474. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26475. end;
  26476. procedure TPORTG_CNCON.setSIDL; inline;
  26477. begin
  26478. pTDefRegMap(@Self)^.&set := $00002000;
  26479. end;
  26480. procedure TPORTG_CNCON.clearSIDL; inline;
  26481. begin
  26482. pTDefRegMap(@Self)^.clr := $00002000;
  26483. end;
  26484. procedure TPORTG_CNCON.setSIDL(thebits : TBits_1); inline;
  26485. begin
  26486. if thebits = 0 then
  26487. pTDefRegMap(@Self)^.clr := $00002000
  26488. else
  26489. pTDefRegMap(@Self)^.&set := $00002000;
  26490. end;
  26491. function TPORTG_CNCON.getSIDL : TBits_1; inline;
  26492. begin
  26493. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26494. end;
  26495. procedure TPORTG_CNCON.setON; inline;
  26496. begin
  26497. pTDefRegMap(@Self)^.&set := $00008000;
  26498. end;
  26499. procedure TPORTG_CNCON.clearON; inline;
  26500. begin
  26501. pTDefRegMap(@Self)^.clr := $00008000;
  26502. end;
  26503. procedure TPORTG_CNCON.setON(thebits : TBits_1); inline;
  26504. begin
  26505. if thebits = 0 then
  26506. pTDefRegMap(@Self)^.clr := $00008000
  26507. else
  26508. pTDefRegMap(@Self)^.&set := $00008000;
  26509. end;
  26510. function TPORTG_CNCON.getON : TBits_1; inline;
  26511. begin
  26512. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26513. end;
  26514. procedure TPORTG_CNCON.setw(thebits : TBits_32); inline;
  26515. begin
  26516. pTDefRegMap(@Self)^.val := thebits;
  26517. end;
  26518. function TPORTG_CNCON.getw : TBits_32; inline;
  26519. begin
  26520. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26521. end;
  26522. procedure TPORTG_CNEN.setCNEN0; inline;
  26523. begin
  26524. pTDefRegMap(@Self)^.&set := $00000001;
  26525. end;
  26526. procedure TPORTG_CNEN.clearCNEN0; inline;
  26527. begin
  26528. pTDefRegMap(@Self)^.clr := $00000001;
  26529. end;
  26530. procedure TPORTG_CNEN.setCNEN0(thebits : TBits_1); inline;
  26531. begin
  26532. if thebits = 0 then
  26533. pTDefRegMap(@Self)^.clr := $00000001
  26534. else
  26535. pTDefRegMap(@Self)^.&set := $00000001;
  26536. end;
  26537. function TPORTG_CNEN.getCNEN0 : TBits_1; inline;
  26538. begin
  26539. getCNEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26540. end;
  26541. procedure TPORTG_CNEN.setCNEN1; inline;
  26542. begin
  26543. pTDefRegMap(@Self)^.&set := $00000002;
  26544. end;
  26545. procedure TPORTG_CNEN.clearCNEN1; inline;
  26546. begin
  26547. pTDefRegMap(@Self)^.clr := $00000002;
  26548. end;
  26549. procedure TPORTG_CNEN.setCNEN1(thebits : TBits_1); inline;
  26550. begin
  26551. if thebits = 0 then
  26552. pTDefRegMap(@Self)^.clr := $00000002
  26553. else
  26554. pTDefRegMap(@Self)^.&set := $00000002;
  26555. end;
  26556. function TPORTG_CNEN.getCNEN1 : TBits_1; inline;
  26557. begin
  26558. getCNEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26559. end;
  26560. procedure TPORTG_CNEN.setCNEN2; inline;
  26561. begin
  26562. pTDefRegMap(@Self)^.&set := $00000004;
  26563. end;
  26564. procedure TPORTG_CNEN.clearCNEN2; inline;
  26565. begin
  26566. pTDefRegMap(@Self)^.clr := $00000004;
  26567. end;
  26568. procedure TPORTG_CNEN.setCNEN2(thebits : TBits_1); inline;
  26569. begin
  26570. if thebits = 0 then
  26571. pTDefRegMap(@Self)^.clr := $00000004
  26572. else
  26573. pTDefRegMap(@Self)^.&set := $00000004;
  26574. end;
  26575. function TPORTG_CNEN.getCNEN2 : TBits_1; inline;
  26576. begin
  26577. getCNEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26578. end;
  26579. procedure TPORTG_CNEN.setCNEN3; inline;
  26580. begin
  26581. pTDefRegMap(@Self)^.&set := $00000008;
  26582. end;
  26583. procedure TPORTG_CNEN.clearCNEN3; inline;
  26584. begin
  26585. pTDefRegMap(@Self)^.clr := $00000008;
  26586. end;
  26587. procedure TPORTG_CNEN.setCNEN3(thebits : TBits_1); inline;
  26588. begin
  26589. if thebits = 0 then
  26590. pTDefRegMap(@Self)^.clr := $00000008
  26591. else
  26592. pTDefRegMap(@Self)^.&set := $00000008;
  26593. end;
  26594. function TPORTG_CNEN.getCNEN3 : TBits_1; inline;
  26595. begin
  26596. getCNEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26597. end;
  26598. procedure TPORTG_CNEN.setCNEN4; inline;
  26599. begin
  26600. pTDefRegMap(@Self)^.&set := $00000010;
  26601. end;
  26602. procedure TPORTG_CNEN.clearCNEN4; inline;
  26603. begin
  26604. pTDefRegMap(@Self)^.clr := $00000010;
  26605. end;
  26606. procedure TPORTG_CNEN.setCNEN4(thebits : TBits_1); inline;
  26607. begin
  26608. if thebits = 0 then
  26609. pTDefRegMap(@Self)^.clr := $00000010
  26610. else
  26611. pTDefRegMap(@Self)^.&set := $00000010;
  26612. end;
  26613. function TPORTG_CNEN.getCNEN4 : TBits_1; inline;
  26614. begin
  26615. getCNEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26616. end;
  26617. procedure TPORTG_CNEN.setCNEN5; inline;
  26618. begin
  26619. pTDefRegMap(@Self)^.&set := $00000020;
  26620. end;
  26621. procedure TPORTG_CNEN.clearCNEN5; inline;
  26622. begin
  26623. pTDefRegMap(@Self)^.clr := $00000020;
  26624. end;
  26625. procedure TPORTG_CNEN.setCNEN5(thebits : TBits_1); inline;
  26626. begin
  26627. if thebits = 0 then
  26628. pTDefRegMap(@Self)^.clr := $00000020
  26629. else
  26630. pTDefRegMap(@Self)^.&set := $00000020;
  26631. end;
  26632. function TPORTG_CNEN.getCNEN5 : TBits_1; inline;
  26633. begin
  26634. getCNEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26635. end;
  26636. procedure TPORTG_CNEN.setCNEN6; inline;
  26637. begin
  26638. pTDefRegMap(@Self)^.&set := $00000040;
  26639. end;
  26640. procedure TPORTG_CNEN.clearCNEN6; inline;
  26641. begin
  26642. pTDefRegMap(@Self)^.clr := $00000040;
  26643. end;
  26644. procedure TPORTG_CNEN.setCNEN6(thebits : TBits_1); inline;
  26645. begin
  26646. if thebits = 0 then
  26647. pTDefRegMap(@Self)^.clr := $00000040
  26648. else
  26649. pTDefRegMap(@Self)^.&set := $00000040;
  26650. end;
  26651. function TPORTG_CNEN.getCNEN6 : TBits_1; inline;
  26652. begin
  26653. getCNEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26654. end;
  26655. procedure TPORTG_CNEN.setCNEN7; inline;
  26656. begin
  26657. pTDefRegMap(@Self)^.&set := $00000080;
  26658. end;
  26659. procedure TPORTG_CNEN.clearCNEN7; inline;
  26660. begin
  26661. pTDefRegMap(@Self)^.clr := $00000080;
  26662. end;
  26663. procedure TPORTG_CNEN.setCNEN7(thebits : TBits_1); inline;
  26664. begin
  26665. if thebits = 0 then
  26666. pTDefRegMap(@Self)^.clr := $00000080
  26667. else
  26668. pTDefRegMap(@Self)^.&set := $00000080;
  26669. end;
  26670. function TPORTG_CNEN.getCNEN7 : TBits_1; inline;
  26671. begin
  26672. getCNEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26673. end;
  26674. procedure TPORTG_CNEN.setCNEN8; inline;
  26675. begin
  26676. pTDefRegMap(@Self)^.&set := $00000100;
  26677. end;
  26678. procedure TPORTG_CNEN.clearCNEN8; inline;
  26679. begin
  26680. pTDefRegMap(@Self)^.clr := $00000100;
  26681. end;
  26682. procedure TPORTG_CNEN.setCNEN8(thebits : TBits_1); inline;
  26683. begin
  26684. if thebits = 0 then
  26685. pTDefRegMap(@Self)^.clr := $00000100
  26686. else
  26687. pTDefRegMap(@Self)^.&set := $00000100;
  26688. end;
  26689. function TPORTG_CNEN.getCNEN8 : TBits_1; inline;
  26690. begin
  26691. getCNEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26692. end;
  26693. procedure TPORTG_CNEN.setCNEN9; inline;
  26694. begin
  26695. pTDefRegMap(@Self)^.&set := $00000200;
  26696. end;
  26697. procedure TPORTG_CNEN.clearCNEN9; inline;
  26698. begin
  26699. pTDefRegMap(@Self)^.clr := $00000200;
  26700. end;
  26701. procedure TPORTG_CNEN.setCNEN9(thebits : TBits_1); inline;
  26702. begin
  26703. if thebits = 0 then
  26704. pTDefRegMap(@Self)^.clr := $00000200
  26705. else
  26706. pTDefRegMap(@Self)^.&set := $00000200;
  26707. end;
  26708. function TPORTG_CNEN.getCNEN9 : TBits_1; inline;
  26709. begin
  26710. getCNEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26711. end;
  26712. procedure TPORTG_CNEN.setCNEN10; inline;
  26713. begin
  26714. pTDefRegMap(@Self)^.&set := $00000400;
  26715. end;
  26716. procedure TPORTG_CNEN.clearCNEN10; inline;
  26717. begin
  26718. pTDefRegMap(@Self)^.clr := $00000400;
  26719. end;
  26720. procedure TPORTG_CNEN.setCNEN10(thebits : TBits_1); inline;
  26721. begin
  26722. if thebits = 0 then
  26723. pTDefRegMap(@Self)^.clr := $00000400
  26724. else
  26725. pTDefRegMap(@Self)^.&set := $00000400;
  26726. end;
  26727. function TPORTG_CNEN.getCNEN10 : TBits_1; inline;
  26728. begin
  26729. getCNEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26730. end;
  26731. procedure TPORTG_CNEN.setCNEN11; inline;
  26732. begin
  26733. pTDefRegMap(@Self)^.&set := $00000800;
  26734. end;
  26735. procedure TPORTG_CNEN.clearCNEN11; inline;
  26736. begin
  26737. pTDefRegMap(@Self)^.clr := $00000800;
  26738. end;
  26739. procedure TPORTG_CNEN.setCNEN11(thebits : TBits_1); inline;
  26740. begin
  26741. if thebits = 0 then
  26742. pTDefRegMap(@Self)^.clr := $00000800
  26743. else
  26744. pTDefRegMap(@Self)^.&set := $00000800;
  26745. end;
  26746. function TPORTG_CNEN.getCNEN11 : TBits_1; inline;
  26747. begin
  26748. getCNEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26749. end;
  26750. procedure TPORTG_CNEN.setCNEN12; inline;
  26751. begin
  26752. pTDefRegMap(@Self)^.&set := $00001000;
  26753. end;
  26754. procedure TPORTG_CNEN.clearCNEN12; inline;
  26755. begin
  26756. pTDefRegMap(@Self)^.clr := $00001000;
  26757. end;
  26758. procedure TPORTG_CNEN.setCNEN12(thebits : TBits_1); inline;
  26759. begin
  26760. if thebits = 0 then
  26761. pTDefRegMap(@Self)^.clr := $00001000
  26762. else
  26763. pTDefRegMap(@Self)^.&set := $00001000;
  26764. end;
  26765. function TPORTG_CNEN.getCNEN12 : TBits_1; inline;
  26766. begin
  26767. getCNEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26768. end;
  26769. procedure TPORTG_CNEN.setCNEN13; inline;
  26770. begin
  26771. pTDefRegMap(@Self)^.&set := $00002000;
  26772. end;
  26773. procedure TPORTG_CNEN.clearCNEN13; inline;
  26774. begin
  26775. pTDefRegMap(@Self)^.clr := $00002000;
  26776. end;
  26777. procedure TPORTG_CNEN.setCNEN13(thebits : TBits_1); inline;
  26778. begin
  26779. if thebits = 0 then
  26780. pTDefRegMap(@Self)^.clr := $00002000
  26781. else
  26782. pTDefRegMap(@Self)^.&set := $00002000;
  26783. end;
  26784. function TPORTG_CNEN.getCNEN13 : TBits_1; inline;
  26785. begin
  26786. getCNEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26787. end;
  26788. procedure TPORTG_CNEN.setCNEN14; inline;
  26789. begin
  26790. pTDefRegMap(@Self)^.&set := $00004000;
  26791. end;
  26792. procedure TPORTG_CNEN.clearCNEN14; inline;
  26793. begin
  26794. pTDefRegMap(@Self)^.clr := $00004000;
  26795. end;
  26796. procedure TPORTG_CNEN.setCNEN14(thebits : TBits_1); inline;
  26797. begin
  26798. if thebits = 0 then
  26799. pTDefRegMap(@Self)^.clr := $00004000
  26800. else
  26801. pTDefRegMap(@Self)^.&set := $00004000;
  26802. end;
  26803. function TPORTG_CNEN.getCNEN14 : TBits_1; inline;
  26804. begin
  26805. getCNEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26806. end;
  26807. procedure TPORTG_CNEN.setCNEN15; inline;
  26808. begin
  26809. pTDefRegMap(@Self)^.&set := $00008000;
  26810. end;
  26811. procedure TPORTG_CNEN.clearCNEN15; inline;
  26812. begin
  26813. pTDefRegMap(@Self)^.clr := $00008000;
  26814. end;
  26815. procedure TPORTG_CNEN.setCNEN15(thebits : TBits_1); inline;
  26816. begin
  26817. if thebits = 0 then
  26818. pTDefRegMap(@Self)^.clr := $00008000
  26819. else
  26820. pTDefRegMap(@Self)^.&set := $00008000;
  26821. end;
  26822. function TPORTG_CNEN.getCNEN15 : TBits_1; inline;
  26823. begin
  26824. getCNEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26825. end;
  26826. procedure TPORTG_CNEN.setCNEN16; inline;
  26827. begin
  26828. pTDefRegMap(@Self)^.&set := $00010000;
  26829. end;
  26830. procedure TPORTG_CNEN.clearCNEN16; inline;
  26831. begin
  26832. pTDefRegMap(@Self)^.clr := $00010000;
  26833. end;
  26834. procedure TPORTG_CNEN.setCNEN16(thebits : TBits_1); inline;
  26835. begin
  26836. if thebits = 0 then
  26837. pTDefRegMap(@Self)^.clr := $00010000
  26838. else
  26839. pTDefRegMap(@Self)^.&set := $00010000;
  26840. end;
  26841. function TPORTG_CNEN.getCNEN16 : TBits_1; inline;
  26842. begin
  26843. getCNEN16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26844. end;
  26845. procedure TPORTG_CNEN.setCNEN17; inline;
  26846. begin
  26847. pTDefRegMap(@Self)^.&set := $00020000;
  26848. end;
  26849. procedure TPORTG_CNEN.clearCNEN17; inline;
  26850. begin
  26851. pTDefRegMap(@Self)^.clr := $00020000;
  26852. end;
  26853. procedure TPORTG_CNEN.setCNEN17(thebits : TBits_1); inline;
  26854. begin
  26855. if thebits = 0 then
  26856. pTDefRegMap(@Self)^.clr := $00020000
  26857. else
  26858. pTDefRegMap(@Self)^.&set := $00020000;
  26859. end;
  26860. function TPORTG_CNEN.getCNEN17 : TBits_1; inline;
  26861. begin
  26862. getCNEN17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26863. end;
  26864. procedure TPORTG_CNEN.setCNEN18; inline;
  26865. begin
  26866. pTDefRegMap(@Self)^.&set := $00040000;
  26867. end;
  26868. procedure TPORTG_CNEN.clearCNEN18; inline;
  26869. begin
  26870. pTDefRegMap(@Self)^.clr := $00040000;
  26871. end;
  26872. procedure TPORTG_CNEN.setCNEN18(thebits : TBits_1); inline;
  26873. begin
  26874. if thebits = 0 then
  26875. pTDefRegMap(@Self)^.clr := $00040000
  26876. else
  26877. pTDefRegMap(@Self)^.&set := $00040000;
  26878. end;
  26879. function TPORTG_CNEN.getCNEN18 : TBits_1; inline;
  26880. begin
  26881. getCNEN18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26882. end;
  26883. procedure TPORTG_CNEN.setw(thebits : TBits_32); inline;
  26884. begin
  26885. pTDefRegMap(@Self)^.val := thebits;
  26886. end;
  26887. function TPORTG_CNEN.getw : TBits_32; inline;
  26888. begin
  26889. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26890. end;
  26891. procedure TPORTG_CNPUE.setCNPUE0; inline;
  26892. begin
  26893. pTDefRegMap(@Self)^.&set := $00000001;
  26894. end;
  26895. procedure TPORTG_CNPUE.clearCNPUE0; inline;
  26896. begin
  26897. pTDefRegMap(@Self)^.clr := $00000001;
  26898. end;
  26899. procedure TPORTG_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  26900. begin
  26901. if thebits = 0 then
  26902. pTDefRegMap(@Self)^.clr := $00000001
  26903. else
  26904. pTDefRegMap(@Self)^.&set := $00000001;
  26905. end;
  26906. function TPORTG_CNPUE.getCNPUE0 : TBits_1; inline;
  26907. begin
  26908. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26909. end;
  26910. procedure TPORTG_CNPUE.setCNPUE1; inline;
  26911. begin
  26912. pTDefRegMap(@Self)^.&set := $00000002;
  26913. end;
  26914. procedure TPORTG_CNPUE.clearCNPUE1; inline;
  26915. begin
  26916. pTDefRegMap(@Self)^.clr := $00000002;
  26917. end;
  26918. procedure TPORTG_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  26919. begin
  26920. if thebits = 0 then
  26921. pTDefRegMap(@Self)^.clr := $00000002
  26922. else
  26923. pTDefRegMap(@Self)^.&set := $00000002;
  26924. end;
  26925. function TPORTG_CNPUE.getCNPUE1 : TBits_1; inline;
  26926. begin
  26927. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26928. end;
  26929. procedure TPORTG_CNPUE.setCNPUE2; inline;
  26930. begin
  26931. pTDefRegMap(@Self)^.&set := $00000004;
  26932. end;
  26933. procedure TPORTG_CNPUE.clearCNPUE2; inline;
  26934. begin
  26935. pTDefRegMap(@Self)^.clr := $00000004;
  26936. end;
  26937. procedure TPORTG_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  26938. begin
  26939. if thebits = 0 then
  26940. pTDefRegMap(@Self)^.clr := $00000004
  26941. else
  26942. pTDefRegMap(@Self)^.&set := $00000004;
  26943. end;
  26944. function TPORTG_CNPUE.getCNPUE2 : TBits_1; inline;
  26945. begin
  26946. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26947. end;
  26948. procedure TPORTG_CNPUE.setCNPUE3; inline;
  26949. begin
  26950. pTDefRegMap(@Self)^.&set := $00000008;
  26951. end;
  26952. procedure TPORTG_CNPUE.clearCNPUE3; inline;
  26953. begin
  26954. pTDefRegMap(@Self)^.clr := $00000008;
  26955. end;
  26956. procedure TPORTG_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  26957. begin
  26958. if thebits = 0 then
  26959. pTDefRegMap(@Self)^.clr := $00000008
  26960. else
  26961. pTDefRegMap(@Self)^.&set := $00000008;
  26962. end;
  26963. function TPORTG_CNPUE.getCNPUE3 : TBits_1; inline;
  26964. begin
  26965. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26966. end;
  26967. procedure TPORTG_CNPUE.setCNPUE4; inline;
  26968. begin
  26969. pTDefRegMap(@Self)^.&set := $00000010;
  26970. end;
  26971. procedure TPORTG_CNPUE.clearCNPUE4; inline;
  26972. begin
  26973. pTDefRegMap(@Self)^.clr := $00000010;
  26974. end;
  26975. procedure TPORTG_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  26976. begin
  26977. if thebits = 0 then
  26978. pTDefRegMap(@Self)^.clr := $00000010
  26979. else
  26980. pTDefRegMap(@Self)^.&set := $00000010;
  26981. end;
  26982. function TPORTG_CNPUE.getCNPUE4 : TBits_1; inline;
  26983. begin
  26984. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26985. end;
  26986. procedure TPORTG_CNPUE.setCNPUE5; inline;
  26987. begin
  26988. pTDefRegMap(@Self)^.&set := $00000020;
  26989. end;
  26990. procedure TPORTG_CNPUE.clearCNPUE5; inline;
  26991. begin
  26992. pTDefRegMap(@Self)^.clr := $00000020;
  26993. end;
  26994. procedure TPORTG_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  26995. begin
  26996. if thebits = 0 then
  26997. pTDefRegMap(@Self)^.clr := $00000020
  26998. else
  26999. pTDefRegMap(@Self)^.&set := $00000020;
  27000. end;
  27001. function TPORTG_CNPUE.getCNPUE5 : TBits_1; inline;
  27002. begin
  27003. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27004. end;
  27005. procedure TPORTG_CNPUE.setCNPUE6; inline;
  27006. begin
  27007. pTDefRegMap(@Self)^.&set := $00000040;
  27008. end;
  27009. procedure TPORTG_CNPUE.clearCNPUE6; inline;
  27010. begin
  27011. pTDefRegMap(@Self)^.clr := $00000040;
  27012. end;
  27013. procedure TPORTG_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  27014. begin
  27015. if thebits = 0 then
  27016. pTDefRegMap(@Self)^.clr := $00000040
  27017. else
  27018. pTDefRegMap(@Self)^.&set := $00000040;
  27019. end;
  27020. function TPORTG_CNPUE.getCNPUE6 : TBits_1; inline;
  27021. begin
  27022. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27023. end;
  27024. procedure TPORTG_CNPUE.setCNPUE7; inline;
  27025. begin
  27026. pTDefRegMap(@Self)^.&set := $00000080;
  27027. end;
  27028. procedure TPORTG_CNPUE.clearCNPUE7; inline;
  27029. begin
  27030. pTDefRegMap(@Self)^.clr := $00000080;
  27031. end;
  27032. procedure TPORTG_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  27033. begin
  27034. if thebits = 0 then
  27035. pTDefRegMap(@Self)^.clr := $00000080
  27036. else
  27037. pTDefRegMap(@Self)^.&set := $00000080;
  27038. end;
  27039. function TPORTG_CNPUE.getCNPUE7 : TBits_1; inline;
  27040. begin
  27041. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27042. end;
  27043. procedure TPORTG_CNPUE.setCNPUE8; inline;
  27044. begin
  27045. pTDefRegMap(@Self)^.&set := $00000100;
  27046. end;
  27047. procedure TPORTG_CNPUE.clearCNPUE8; inline;
  27048. begin
  27049. pTDefRegMap(@Self)^.clr := $00000100;
  27050. end;
  27051. procedure TPORTG_CNPUE.setCNPUE8(thebits : TBits_1); inline;
  27052. begin
  27053. if thebits = 0 then
  27054. pTDefRegMap(@Self)^.clr := $00000100
  27055. else
  27056. pTDefRegMap(@Self)^.&set := $00000100;
  27057. end;
  27058. function TPORTG_CNPUE.getCNPUE8 : TBits_1; inline;
  27059. begin
  27060. getCNPUE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27061. end;
  27062. procedure TPORTG_CNPUE.setCNPUE9; inline;
  27063. begin
  27064. pTDefRegMap(@Self)^.&set := $00000200;
  27065. end;
  27066. procedure TPORTG_CNPUE.clearCNPUE9; inline;
  27067. begin
  27068. pTDefRegMap(@Self)^.clr := $00000200;
  27069. end;
  27070. procedure TPORTG_CNPUE.setCNPUE9(thebits : TBits_1); inline;
  27071. begin
  27072. if thebits = 0 then
  27073. pTDefRegMap(@Self)^.clr := $00000200
  27074. else
  27075. pTDefRegMap(@Self)^.&set := $00000200;
  27076. end;
  27077. function TPORTG_CNPUE.getCNPUE9 : TBits_1; inline;
  27078. begin
  27079. getCNPUE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27080. end;
  27081. procedure TPORTG_CNPUE.setCNPUE10; inline;
  27082. begin
  27083. pTDefRegMap(@Self)^.&set := $00000400;
  27084. end;
  27085. procedure TPORTG_CNPUE.clearCNPUE10; inline;
  27086. begin
  27087. pTDefRegMap(@Self)^.clr := $00000400;
  27088. end;
  27089. procedure TPORTG_CNPUE.setCNPUE10(thebits : TBits_1); inline;
  27090. begin
  27091. if thebits = 0 then
  27092. pTDefRegMap(@Self)^.clr := $00000400
  27093. else
  27094. pTDefRegMap(@Self)^.&set := $00000400;
  27095. end;
  27096. function TPORTG_CNPUE.getCNPUE10 : TBits_1; inline;
  27097. begin
  27098. getCNPUE10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27099. end;
  27100. procedure TPORTG_CNPUE.setCNPUE11; inline;
  27101. begin
  27102. pTDefRegMap(@Self)^.&set := $00000800;
  27103. end;
  27104. procedure TPORTG_CNPUE.clearCNPUE11; inline;
  27105. begin
  27106. pTDefRegMap(@Self)^.clr := $00000800;
  27107. end;
  27108. procedure TPORTG_CNPUE.setCNPUE11(thebits : TBits_1); inline;
  27109. begin
  27110. if thebits = 0 then
  27111. pTDefRegMap(@Self)^.clr := $00000800
  27112. else
  27113. pTDefRegMap(@Self)^.&set := $00000800;
  27114. end;
  27115. function TPORTG_CNPUE.getCNPUE11 : TBits_1; inline;
  27116. begin
  27117. getCNPUE11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27118. end;
  27119. procedure TPORTG_CNPUE.setCNPUE12; inline;
  27120. begin
  27121. pTDefRegMap(@Self)^.&set := $00001000;
  27122. end;
  27123. procedure TPORTG_CNPUE.clearCNPUE12; inline;
  27124. begin
  27125. pTDefRegMap(@Self)^.clr := $00001000;
  27126. end;
  27127. procedure TPORTG_CNPUE.setCNPUE12(thebits : TBits_1); inline;
  27128. begin
  27129. if thebits = 0 then
  27130. pTDefRegMap(@Self)^.clr := $00001000
  27131. else
  27132. pTDefRegMap(@Self)^.&set := $00001000;
  27133. end;
  27134. function TPORTG_CNPUE.getCNPUE12 : TBits_1; inline;
  27135. begin
  27136. getCNPUE12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27137. end;
  27138. procedure TPORTG_CNPUE.setCNPUE13; inline;
  27139. begin
  27140. pTDefRegMap(@Self)^.&set := $00002000;
  27141. end;
  27142. procedure TPORTG_CNPUE.clearCNPUE13; inline;
  27143. begin
  27144. pTDefRegMap(@Self)^.clr := $00002000;
  27145. end;
  27146. procedure TPORTG_CNPUE.setCNPUE13(thebits : TBits_1); inline;
  27147. begin
  27148. if thebits = 0 then
  27149. pTDefRegMap(@Self)^.clr := $00002000
  27150. else
  27151. pTDefRegMap(@Self)^.&set := $00002000;
  27152. end;
  27153. function TPORTG_CNPUE.getCNPUE13 : TBits_1; inline;
  27154. begin
  27155. getCNPUE13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27156. end;
  27157. procedure TPORTG_CNPUE.setCNPUE14; inline;
  27158. begin
  27159. pTDefRegMap(@Self)^.&set := $00004000;
  27160. end;
  27161. procedure TPORTG_CNPUE.clearCNPUE14; inline;
  27162. begin
  27163. pTDefRegMap(@Self)^.clr := $00004000;
  27164. end;
  27165. procedure TPORTG_CNPUE.setCNPUE14(thebits : TBits_1); inline;
  27166. begin
  27167. if thebits = 0 then
  27168. pTDefRegMap(@Self)^.clr := $00004000
  27169. else
  27170. pTDefRegMap(@Self)^.&set := $00004000;
  27171. end;
  27172. function TPORTG_CNPUE.getCNPUE14 : TBits_1; inline;
  27173. begin
  27174. getCNPUE14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27175. end;
  27176. procedure TPORTG_CNPUE.setCNPUE15; inline;
  27177. begin
  27178. pTDefRegMap(@Self)^.&set := $00008000;
  27179. end;
  27180. procedure TPORTG_CNPUE.clearCNPUE15; inline;
  27181. begin
  27182. pTDefRegMap(@Self)^.clr := $00008000;
  27183. end;
  27184. procedure TPORTG_CNPUE.setCNPUE15(thebits : TBits_1); inline;
  27185. begin
  27186. if thebits = 0 then
  27187. pTDefRegMap(@Self)^.clr := $00008000
  27188. else
  27189. pTDefRegMap(@Self)^.&set := $00008000;
  27190. end;
  27191. function TPORTG_CNPUE.getCNPUE15 : TBits_1; inline;
  27192. begin
  27193. getCNPUE15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27194. end;
  27195. procedure TPORTG_CNPUE.setCNPUE16; inline;
  27196. begin
  27197. pTDefRegMap(@Self)^.&set := $00010000;
  27198. end;
  27199. procedure TPORTG_CNPUE.clearCNPUE16; inline;
  27200. begin
  27201. pTDefRegMap(@Self)^.clr := $00010000;
  27202. end;
  27203. procedure TPORTG_CNPUE.setCNPUE16(thebits : TBits_1); inline;
  27204. begin
  27205. if thebits = 0 then
  27206. pTDefRegMap(@Self)^.clr := $00010000
  27207. else
  27208. pTDefRegMap(@Self)^.&set := $00010000;
  27209. end;
  27210. function TPORTG_CNPUE.getCNPUE16 : TBits_1; inline;
  27211. begin
  27212. getCNPUE16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27213. end;
  27214. procedure TPORTG_CNPUE.setCNPUE17; inline;
  27215. begin
  27216. pTDefRegMap(@Self)^.&set := $00020000;
  27217. end;
  27218. procedure TPORTG_CNPUE.clearCNPUE17; inline;
  27219. begin
  27220. pTDefRegMap(@Self)^.clr := $00020000;
  27221. end;
  27222. procedure TPORTG_CNPUE.setCNPUE17(thebits : TBits_1); inline;
  27223. begin
  27224. if thebits = 0 then
  27225. pTDefRegMap(@Self)^.clr := $00020000
  27226. else
  27227. pTDefRegMap(@Self)^.&set := $00020000;
  27228. end;
  27229. function TPORTG_CNPUE.getCNPUE17 : TBits_1; inline;
  27230. begin
  27231. getCNPUE17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27232. end;
  27233. procedure TPORTG_CNPUE.setCNPUE18; inline;
  27234. begin
  27235. pTDefRegMap(@Self)^.&set := $00040000;
  27236. end;
  27237. procedure TPORTG_CNPUE.clearCNPUE18; inline;
  27238. begin
  27239. pTDefRegMap(@Self)^.clr := $00040000;
  27240. end;
  27241. procedure TPORTG_CNPUE.setCNPUE18(thebits : TBits_1); inline;
  27242. begin
  27243. if thebits = 0 then
  27244. pTDefRegMap(@Self)^.clr := $00040000
  27245. else
  27246. pTDefRegMap(@Self)^.&set := $00040000;
  27247. end;
  27248. function TPORTG_CNPUE.getCNPUE18 : TBits_1; inline;
  27249. begin
  27250. getCNPUE18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27251. end;
  27252. procedure TPORTG_CNPUE.setw(thebits : TBits_32); inline;
  27253. begin
  27254. pTDefRegMap(@Self)^.val := thebits;
  27255. end;
  27256. function TPORTG_CNPUE.getw : TBits_32; inline;
  27257. begin
  27258. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27259. end;
  27260. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  27261. begin
  27262. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  27263. end;
  27264. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  27265. begin
  27266. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  27267. end;
  27268. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  27269. begin
  27270. pTDefRegMap(@Self)^.val := thebits;
  27271. end;
  27272. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  27273. begin
  27274. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27275. end;
  27276. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  27277. begin
  27278. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  27279. end;
  27280. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  27281. begin
  27282. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  27283. end;
  27284. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  27285. begin
  27286. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  27287. end;
  27288. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  27289. begin
  27290. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  27291. end;
  27292. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  27293. begin
  27294. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  27295. end;
  27296. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  27297. begin
  27298. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  27299. end;
  27300. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  27301. begin
  27302. pTDefRegMap(@Self)^.val := thebits;
  27303. end;
  27304. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  27305. begin
  27306. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27307. end;
  27308. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  27309. begin
  27310. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  27311. end;
  27312. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  27313. begin
  27314. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  27315. end;
  27316. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  27317. begin
  27318. pTDefRegMap(@Self)^.&set := $00000020;
  27319. end;
  27320. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  27321. begin
  27322. pTDefRegMap(@Self)^.clr := $00000020;
  27323. end;
  27324. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  27325. begin
  27326. if thebits = 0 then
  27327. pTDefRegMap(@Self)^.clr := $00000020
  27328. else
  27329. pTDefRegMap(@Self)^.&set := $00000020;
  27330. end;
  27331. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  27332. begin
  27333. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27334. end;
  27335. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  27336. begin
  27337. pTDefRegMap(@Self)^.&set := $00000080;
  27338. end;
  27339. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  27340. begin
  27341. pTDefRegMap(@Self)^.clr := $00000080;
  27342. end;
  27343. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  27344. begin
  27345. if thebits = 0 then
  27346. pTDefRegMap(@Self)^.clr := $00000080
  27347. else
  27348. pTDefRegMap(@Self)^.&set := $00000080;
  27349. end;
  27350. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  27351. begin
  27352. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27353. end;
  27354. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  27355. begin
  27356. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  27357. end;
  27358. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  27359. begin
  27360. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  27361. end;
  27362. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  27363. begin
  27364. pTDefRegMap(@Self)^.&set := $00000400;
  27365. end;
  27366. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  27367. begin
  27368. pTDefRegMap(@Self)^.clr := $00000400;
  27369. end;
  27370. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  27371. begin
  27372. if thebits = 0 then
  27373. pTDefRegMap(@Self)^.clr := $00000400
  27374. else
  27375. pTDefRegMap(@Self)^.&set := $00000400;
  27376. end;
  27377. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  27378. begin
  27379. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27380. end;
  27381. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  27382. begin
  27383. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  27384. end;
  27385. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  27386. begin
  27387. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  27388. end;
  27389. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  27390. begin
  27391. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  27392. end;
  27393. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  27394. begin
  27395. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  27396. end;
  27397. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  27398. begin
  27399. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  27400. end;
  27401. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  27402. begin
  27403. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  27404. end;
  27405. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  27406. begin
  27407. pTDefRegMap(@Self)^.&set := $00800000;
  27408. end;
  27409. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  27410. begin
  27411. pTDefRegMap(@Self)^.clr := $00800000;
  27412. end;
  27413. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  27414. begin
  27415. if thebits = 0 then
  27416. pTDefRegMap(@Self)^.clr := $00800000
  27417. else
  27418. pTDefRegMap(@Self)^.&set := $00800000;
  27419. end;
  27420. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  27421. begin
  27422. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27423. end;
  27424. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  27425. begin
  27426. pTDefRegMap(@Self)^.val := thebits;
  27427. end;
  27428. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  27429. begin
  27430. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27431. end;
  27432. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  27433. begin
  27434. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  27435. end;
  27436. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  27437. begin
  27438. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  27439. end;
  27440. procedure TDEVCFG_DEVCFG0.setICESEL; inline;
  27441. begin
  27442. pTDefRegMap(@Self)^.&set := $00000008;
  27443. end;
  27444. procedure TDEVCFG_DEVCFG0.clearICESEL; inline;
  27445. begin
  27446. pTDefRegMap(@Self)^.clr := $00000008;
  27447. end;
  27448. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_1); inline;
  27449. begin
  27450. if thebits = 0 then
  27451. pTDefRegMap(@Self)^.clr := $00000008
  27452. else
  27453. pTDefRegMap(@Self)^.&set := $00000008;
  27454. end;
  27455. function TDEVCFG_DEVCFG0.getICESEL : TBits_1; inline;
  27456. begin
  27457. getICESEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27458. end;
  27459. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  27460. begin
  27461. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  27462. end;
  27463. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  27464. begin
  27465. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  27466. end;
  27467. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  27468. begin
  27469. pTDefRegMap(@Self)^.&set := $01000000;
  27470. end;
  27471. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  27472. begin
  27473. pTDefRegMap(@Self)^.clr := $01000000;
  27474. end;
  27475. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  27476. begin
  27477. if thebits = 0 then
  27478. pTDefRegMap(@Self)^.clr := $01000000
  27479. else
  27480. pTDefRegMap(@Self)^.&set := $01000000;
  27481. end;
  27482. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  27483. begin
  27484. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27485. end;
  27486. procedure TDEVCFG_DEVCFG0.setCP; inline;
  27487. begin
  27488. pTDefRegMap(@Self)^.&set := $10000000;
  27489. end;
  27490. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  27491. begin
  27492. pTDefRegMap(@Self)^.clr := $10000000;
  27493. end;
  27494. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  27495. begin
  27496. if thebits = 0 then
  27497. pTDefRegMap(@Self)^.clr := $10000000
  27498. else
  27499. pTDefRegMap(@Self)^.&set := $10000000;
  27500. end;
  27501. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  27502. begin
  27503. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27504. end;
  27505. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  27506. begin
  27507. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  27508. end;
  27509. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  27510. begin
  27511. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  27512. end;
  27513. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  27514. begin
  27515. pTDefRegMap(@Self)^.val := thebits;
  27516. end;
  27517. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  27518. begin
  27519. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27520. end;
  27521. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  27522. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  27523. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  27524. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  27525. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  27526. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  27527. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  27528. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  27529. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  27530. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  27531. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  27532. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  27533. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  27534. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  27535. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  27536. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  27537. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  27538. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  27539. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  27540. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  27541. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  27542. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  27543. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  27544. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  27545. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  27546. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  27547. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  27548. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  27549. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  27550. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  27551. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  27552. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  27553. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  27554. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  27555. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  27556. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  27557. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  27558. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  27559. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  27560. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  27561. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  27562. procedure Vectors; assembler; nostackframe;
  27563. label interrupt_vectors;
  27564. asm
  27565. .section ".init.interrupt_vectors,\"ax\",@progbits"
  27566. interrupt_vectors:
  27567. j _CORE_TIMER_VECTOR_interrupt
  27568. nop
  27569. nop
  27570. nop
  27571. nop
  27572. nop
  27573. nop
  27574. nop
  27575. j _CORE_SOFTWARE_0_VECTOR_interrupt
  27576. nop
  27577. nop
  27578. nop
  27579. nop
  27580. nop
  27581. nop
  27582. nop
  27583. j _CORE_SOFTWARE_1_VECTOR_interrupt
  27584. nop
  27585. nop
  27586. nop
  27587. nop
  27588. nop
  27589. nop
  27590. nop
  27591. j _EXTERNAL_0_VECTOR_interrupt
  27592. nop
  27593. nop
  27594. nop
  27595. nop
  27596. nop
  27597. nop
  27598. nop
  27599. j _TIMER_1_VECTOR_interrupt
  27600. nop
  27601. nop
  27602. nop
  27603. nop
  27604. nop
  27605. nop
  27606. nop
  27607. j _INPUT_CAPTURE_1_VECTOR_interrupt
  27608. nop
  27609. nop
  27610. nop
  27611. nop
  27612. nop
  27613. nop
  27614. nop
  27615. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  27616. nop
  27617. nop
  27618. nop
  27619. nop
  27620. nop
  27621. nop
  27622. nop
  27623. j _EXTERNAL_1_VECTOR_interrupt
  27624. nop
  27625. nop
  27626. nop
  27627. nop
  27628. nop
  27629. nop
  27630. nop
  27631. j _TIMER_2_VECTOR_interrupt
  27632. nop
  27633. nop
  27634. nop
  27635. nop
  27636. nop
  27637. nop
  27638. nop
  27639. j _INPUT_CAPTURE_2_VECTOR_interrupt
  27640. nop
  27641. nop
  27642. nop
  27643. nop
  27644. nop
  27645. nop
  27646. nop
  27647. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  27648. nop
  27649. nop
  27650. nop
  27651. nop
  27652. nop
  27653. nop
  27654. nop
  27655. j _EXTERNAL_2_VECTOR_interrupt
  27656. nop
  27657. nop
  27658. nop
  27659. nop
  27660. nop
  27661. nop
  27662. nop
  27663. j _TIMER_3_VECTOR_interrupt
  27664. nop
  27665. nop
  27666. nop
  27667. nop
  27668. nop
  27669. nop
  27670. nop
  27671. j _INPUT_CAPTURE_3_VECTOR_interrupt
  27672. nop
  27673. nop
  27674. nop
  27675. nop
  27676. nop
  27677. nop
  27678. nop
  27679. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  27680. nop
  27681. nop
  27682. nop
  27683. nop
  27684. nop
  27685. nop
  27686. nop
  27687. j _EXTERNAL_3_VECTOR_interrupt
  27688. nop
  27689. nop
  27690. nop
  27691. nop
  27692. nop
  27693. nop
  27694. nop
  27695. j _TIMER_4_VECTOR_interrupt
  27696. nop
  27697. nop
  27698. nop
  27699. nop
  27700. nop
  27701. nop
  27702. nop
  27703. j _INPUT_CAPTURE_4_VECTOR_interrupt
  27704. nop
  27705. nop
  27706. nop
  27707. nop
  27708. nop
  27709. nop
  27710. nop
  27711. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  27712. nop
  27713. nop
  27714. nop
  27715. nop
  27716. nop
  27717. nop
  27718. nop
  27719. j _EXTERNAL_4_VECTOR_interrupt
  27720. nop
  27721. nop
  27722. nop
  27723. nop
  27724. nop
  27725. nop
  27726. nop
  27727. j _TIMER_5_VECTOR_interrupt
  27728. nop
  27729. nop
  27730. nop
  27731. nop
  27732. nop
  27733. nop
  27734. nop
  27735. j _INPUT_CAPTURE_5_VECTOR_interrupt
  27736. nop
  27737. nop
  27738. nop
  27739. nop
  27740. nop
  27741. nop
  27742. nop
  27743. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  27744. nop
  27745. nop
  27746. nop
  27747. nop
  27748. nop
  27749. nop
  27750. nop
  27751. j _SPI_1_VECTOR_interrupt
  27752. nop
  27753. nop
  27754. nop
  27755. nop
  27756. nop
  27757. nop
  27758. nop
  27759. j _UART_1_VECTOR_interrupt
  27760. nop
  27761. nop
  27762. nop
  27763. nop
  27764. nop
  27765. nop
  27766. nop
  27767. j _I2C_1_VECTOR_interrupt
  27768. nop
  27769. nop
  27770. nop
  27771. nop
  27772. nop
  27773. nop
  27774. nop
  27775. j _CHANGE_NOTICE_VECTOR_interrupt
  27776. nop
  27777. nop
  27778. nop
  27779. nop
  27780. nop
  27781. nop
  27782. nop
  27783. j _ADC_VECTOR_interrupt
  27784. nop
  27785. nop
  27786. nop
  27787. nop
  27788. nop
  27789. nop
  27790. nop
  27791. j _PMP_VECTOR_interrupt
  27792. nop
  27793. nop
  27794. nop
  27795. nop
  27796. nop
  27797. nop
  27798. nop
  27799. j _COMPARATOR_1_VECTOR_interrupt
  27800. nop
  27801. nop
  27802. nop
  27803. nop
  27804. nop
  27805. nop
  27806. nop
  27807. j _COMPARATOR_2_VECTOR_interrupt
  27808. nop
  27809. nop
  27810. nop
  27811. nop
  27812. nop
  27813. nop
  27814. nop
  27815. j _SPI_2_VECTOR_interrupt
  27816. nop
  27817. nop
  27818. nop
  27819. nop
  27820. nop
  27821. nop
  27822. nop
  27823. j _UART_2_VECTOR_interrupt
  27824. nop
  27825. nop
  27826. nop
  27827. nop
  27828. nop
  27829. nop
  27830. nop
  27831. j _I2C_2_VECTOR_interrupt
  27832. nop
  27833. nop
  27834. nop
  27835. nop
  27836. nop
  27837. nop
  27838. nop
  27839. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  27840. nop
  27841. nop
  27842. nop
  27843. nop
  27844. nop
  27845. nop
  27846. nop
  27847. j _RTCC_VECTOR_interrupt
  27848. nop
  27849. nop
  27850. nop
  27851. nop
  27852. nop
  27853. nop
  27854. nop
  27855. j _DMA_0_VECTOR_interrupt
  27856. nop
  27857. nop
  27858. nop
  27859. nop
  27860. nop
  27861. nop
  27862. nop
  27863. j _DMA_1_VECTOR_interrupt
  27864. nop
  27865. nop
  27866. nop
  27867. nop
  27868. nop
  27869. nop
  27870. nop
  27871. j _DMA_2_VECTOR_interrupt
  27872. nop
  27873. nop
  27874. nop
  27875. nop
  27876. nop
  27877. nop
  27878. nop
  27879. j _DMA_3_VECTOR_interrupt
  27880. nop
  27881. nop
  27882. nop
  27883. nop
  27884. nop
  27885. nop
  27886. nop
  27887. nop
  27888. nop
  27889. nop
  27890. nop
  27891. nop
  27892. nop
  27893. nop
  27894. nop
  27895. nop
  27896. nop
  27897. nop
  27898. nop
  27899. nop
  27900. nop
  27901. nop
  27902. nop
  27903. nop
  27904. nop
  27905. nop
  27906. nop
  27907. nop
  27908. nop
  27909. nop
  27910. nop
  27911. nop
  27912. nop
  27913. nop
  27914. nop
  27915. nop
  27916. nop
  27917. nop
  27918. nop
  27919. j _FCE_VECTOR_interrupt
  27920. nop
  27921. nop
  27922. nop
  27923. nop
  27924. nop
  27925. nop
  27926. nop
  27927. .weak _CORE_TIMER_VECTOR_interrupt
  27928. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  27929. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  27930. .weak _EXTERNAL_0_VECTOR_interrupt
  27931. .weak _TIMER_1_VECTOR_interrupt
  27932. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  27933. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  27934. .weak _EXTERNAL_1_VECTOR_interrupt
  27935. .weak _TIMER_2_VECTOR_interrupt
  27936. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  27937. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  27938. .weak _EXTERNAL_2_VECTOR_interrupt
  27939. .weak _TIMER_3_VECTOR_interrupt
  27940. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  27941. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  27942. .weak _EXTERNAL_3_VECTOR_interrupt
  27943. .weak _TIMER_4_VECTOR_interrupt
  27944. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  27945. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  27946. .weak _EXTERNAL_4_VECTOR_interrupt
  27947. .weak _TIMER_5_VECTOR_interrupt
  27948. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  27949. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  27950. .weak _SPI_1_VECTOR_interrupt
  27951. .weak _UART_1_VECTOR_interrupt
  27952. .weak _I2C_1_VECTOR_interrupt
  27953. .weak _CHANGE_NOTICE_VECTOR_interrupt
  27954. .weak _ADC_VECTOR_interrupt
  27955. .weak _PMP_VECTOR_interrupt
  27956. .weak _COMPARATOR_1_VECTOR_interrupt
  27957. .weak _COMPARATOR_2_VECTOR_interrupt
  27958. .weak _SPI_2_VECTOR_interrupt
  27959. .weak _UART_2_VECTOR_interrupt
  27960. .weak _I2C_2_VECTOR_interrupt
  27961. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  27962. .weak _RTCC_VECTOR_interrupt
  27963. .weak _DMA_0_VECTOR_interrupt
  27964. .weak _DMA_1_VECTOR_interrupt
  27965. .weak _DMA_2_VECTOR_interrupt
  27966. .weak _DMA_3_VECTOR_interrupt
  27967. .weak _FCE_VECTOR_interrupt
  27968. .text
  27969. end;
  27970. end.