pic32mx320f128h.pp 708 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484
  1. unit pic32mx320f128h;
  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. IPC11 : longWord;
  4237. IPC11CLR : longWord;
  4238. IPC11SET : longWord;
  4239. IPC11INV : longWord;
  4240. end;
  4241. TBMX_BMXCON = record
  4242. private
  4243. function getBMXARB : TBits_3; inline;
  4244. function getBMXCHEDMA : TBits_1; inline;
  4245. function getBMXERRDMA : TBits_1; inline;
  4246. function getBMXERRDS : TBits_1; inline;
  4247. function getBMXERRICD : TBits_1; inline;
  4248. function getBMXERRIS : TBits_1; inline;
  4249. function getBMXERRIXI : TBits_1; inline;
  4250. function getBMXWSDRM : TBits_1; inline;
  4251. function getw : TBits_32; inline;
  4252. procedure setBMXARB(thebits : TBits_3); inline;
  4253. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  4254. procedure setBMXERRDMA(thebits : TBits_1); inline;
  4255. procedure setBMXERRDS(thebits : TBits_1); inline;
  4256. procedure setBMXERRICD(thebits : TBits_1); inline;
  4257. procedure setBMXERRIS(thebits : TBits_1); inline;
  4258. procedure setBMXERRIXI(thebits : TBits_1); inline;
  4259. procedure setBMXWSDRM(thebits : TBits_1); inline;
  4260. procedure setw(thebits : TBits_32); inline;
  4261. public
  4262. procedure clearBMXCHEDMA; inline;
  4263. procedure clearBMXERRDMA; inline;
  4264. procedure clearBMXERRDS; inline;
  4265. procedure clearBMXERRICD; inline;
  4266. procedure clearBMXERRIS; inline;
  4267. procedure clearBMXERRIXI; inline;
  4268. procedure clearBMXWSDRM; inline;
  4269. procedure setBMXCHEDMA; inline;
  4270. procedure setBMXERRDMA; inline;
  4271. procedure setBMXERRDS; inline;
  4272. procedure setBMXERRICD; inline;
  4273. procedure setBMXERRIS; inline;
  4274. procedure setBMXERRIXI; inline;
  4275. procedure setBMXWSDRM; inline;
  4276. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  4277. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  4278. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  4279. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  4280. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  4281. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  4282. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  4283. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  4284. property w : TBits_32 read getw write setw;
  4285. end;
  4286. type
  4287. TBMXRegisters = record
  4288. BMXCONbits : TBMX_BMXCON;
  4289. BMXCON : longWord;
  4290. BMXCONCLR : longWord;
  4291. BMXCONSET : longWord;
  4292. BMXCONINV : longWord;
  4293. BMXDKPBA : longWord;
  4294. BMXDKPBACLR : longWord;
  4295. BMXDKPBASET : longWord;
  4296. BMXDKPBAINV : longWord;
  4297. BMXDUDBA : longWord;
  4298. BMXDUDBACLR : longWord;
  4299. BMXDUDBASET : longWord;
  4300. BMXDUDBAINV : longWord;
  4301. BMXDUPBA : longWord;
  4302. BMXDUPBACLR : longWord;
  4303. BMXDUPBASET : longWord;
  4304. BMXDUPBAINV : longWord;
  4305. BMXDRMSZ : longWord;
  4306. BMXPUPBA : longWord;
  4307. BMXPUPBACLR : longWord;
  4308. BMXPUPBASET : longWord;
  4309. BMXPUPBAINV : longWord;
  4310. BMXPFMSZ : longWord;
  4311. BMXBOOTSZ : longWord;
  4312. end;
  4313. TPCACHE_CHECON = record
  4314. private
  4315. function getCHECOH : TBits_1; inline;
  4316. function getDCSZ : TBits_2; inline;
  4317. function getPFMWS : TBits_3; inline;
  4318. function getPREFEN : TBits_2; inline;
  4319. function getw : TBits_32; inline;
  4320. procedure setCHECOH(thebits : TBits_1); inline;
  4321. procedure setDCSZ(thebits : TBits_2); inline;
  4322. procedure setPFMWS(thebits : TBits_3); inline;
  4323. procedure setPREFEN(thebits : TBits_2); inline;
  4324. procedure setw(thebits : TBits_32); inline;
  4325. public
  4326. procedure clearCHECOH; inline;
  4327. procedure setCHECOH; inline;
  4328. property CHECOH : TBits_1 read getCHECOH write setCHECOH;
  4329. property DCSZ : TBits_2 read getDCSZ write setDCSZ;
  4330. property PFMWS : TBits_3 read getPFMWS write setPFMWS;
  4331. property PREFEN : TBits_2 read getPREFEN write setPREFEN;
  4332. property w : TBits_32 read getw write setw;
  4333. end;
  4334. TPCACHE_CHETAG = record
  4335. private
  4336. function getLLOCK : TBits_1; inline;
  4337. function getLTAG : TBits_20; inline;
  4338. function getLTAGBOOT : TBits_1; inline;
  4339. function getLTYPE : TBits_1; inline;
  4340. function getLVALID : TBits_1; inline;
  4341. function getw : TBits_32; inline;
  4342. procedure setLLOCK(thebits : TBits_1); inline;
  4343. procedure setLTAG(thebits : TBits_20); inline;
  4344. procedure setLTAGBOOT(thebits : TBits_1); inline;
  4345. procedure setLTYPE(thebits : TBits_1); inline;
  4346. procedure setLVALID(thebits : TBits_1); inline;
  4347. procedure setw(thebits : TBits_32); inline;
  4348. public
  4349. procedure clearLLOCK; inline;
  4350. procedure clearLTAGBOOT; inline;
  4351. procedure clearLTYPE; inline;
  4352. procedure clearLVALID; inline;
  4353. procedure setLLOCK; inline;
  4354. procedure setLTAGBOOT; inline;
  4355. procedure setLTYPE; inline;
  4356. procedure setLVALID; inline;
  4357. property LLOCK : TBits_1 read getLLOCK write setLLOCK;
  4358. property LTAG : TBits_20 read getLTAG write setLTAG;
  4359. property LTAGBOOT : TBits_1 read getLTAGBOOT write setLTAGBOOT;
  4360. property LTYPE : TBits_1 read getLTYPE write setLTYPE;
  4361. property LVALID : TBits_1 read getLVALID write setLVALID;
  4362. property w : TBits_32 read getw write setw;
  4363. end;
  4364. type
  4365. TPCACHERegisters = record
  4366. CHECONbits : TPCACHE_CHECON;
  4367. CHECON : longWord;
  4368. CHECONCLR : longWord;
  4369. CHECONSET : longWord;
  4370. CHECONINV : longWord;
  4371. CHEACC : longWord;
  4372. CHEACCCLR : longWord;
  4373. CHEACCSET : longWord;
  4374. CHEACCINV : longWord;
  4375. CHETAGbits : TPCACHE_CHETAG;
  4376. CHETAG : longWord;
  4377. CHETAGCLR : longWord;
  4378. CHETAGSET : longWord;
  4379. CHETAGINV : longWord;
  4380. CHEMSK : longWord;
  4381. CHEMSKCLR : longWord;
  4382. CHEMSKSET : longWord;
  4383. CHEMSKINV : longWord;
  4384. CHEW0 : longWord;
  4385. CHEW1 : longWord;
  4386. CHEW2 : longWord;
  4387. CHEW3 : longWord;
  4388. CHELRU : longWord;
  4389. CHEHIT : longWord;
  4390. CHEMIS : longWord;
  4391. CHEPFABT : longWord;
  4392. end;
  4393. TPORTB_TRISB = record
  4394. private
  4395. function getTRISB0 : TBits_1; inline;
  4396. function getTRISB1 : TBits_1; inline;
  4397. function getTRISB10 : TBits_1; inline;
  4398. function getTRISB11 : TBits_1; inline;
  4399. function getTRISB12 : TBits_1; inline;
  4400. function getTRISB13 : TBits_1; inline;
  4401. function getTRISB14 : TBits_1; inline;
  4402. function getTRISB15 : TBits_1; inline;
  4403. function getTRISB2 : TBits_1; inline;
  4404. function getTRISB3 : TBits_1; inline;
  4405. function getTRISB4 : TBits_1; inline;
  4406. function getTRISB5 : TBits_1; inline;
  4407. function getTRISB6 : TBits_1; inline;
  4408. function getTRISB7 : TBits_1; inline;
  4409. function getTRISB8 : TBits_1; inline;
  4410. function getTRISB9 : TBits_1; inline;
  4411. function getw : TBits_32; inline;
  4412. procedure setTRISB0(thebits : TBits_1); inline;
  4413. procedure setTRISB1(thebits : TBits_1); inline;
  4414. procedure setTRISB10(thebits : TBits_1); inline;
  4415. procedure setTRISB11(thebits : TBits_1); inline;
  4416. procedure setTRISB12(thebits : TBits_1); inline;
  4417. procedure setTRISB13(thebits : TBits_1); inline;
  4418. procedure setTRISB14(thebits : TBits_1); inline;
  4419. procedure setTRISB15(thebits : TBits_1); inline;
  4420. procedure setTRISB2(thebits : TBits_1); inline;
  4421. procedure setTRISB3(thebits : TBits_1); inline;
  4422. procedure setTRISB4(thebits : TBits_1); inline;
  4423. procedure setTRISB5(thebits : TBits_1); inline;
  4424. procedure setTRISB6(thebits : TBits_1); inline;
  4425. procedure setTRISB7(thebits : TBits_1); inline;
  4426. procedure setTRISB8(thebits : TBits_1); inline;
  4427. procedure setTRISB9(thebits : TBits_1); inline;
  4428. procedure setw(thebits : TBits_32); inline;
  4429. public
  4430. procedure clearTRISB0; inline;
  4431. procedure clearTRISB10; inline;
  4432. procedure clearTRISB11; inline;
  4433. procedure clearTRISB12; inline;
  4434. procedure clearTRISB13; inline;
  4435. procedure clearTRISB14; inline;
  4436. procedure clearTRISB15; inline;
  4437. procedure clearTRISB1; inline;
  4438. procedure clearTRISB2; inline;
  4439. procedure clearTRISB3; inline;
  4440. procedure clearTRISB4; inline;
  4441. procedure clearTRISB5; inline;
  4442. procedure clearTRISB6; inline;
  4443. procedure clearTRISB7; inline;
  4444. procedure clearTRISB8; inline;
  4445. procedure clearTRISB9; inline;
  4446. procedure setTRISB0; inline;
  4447. procedure setTRISB10; inline;
  4448. procedure setTRISB11; inline;
  4449. procedure setTRISB12; inline;
  4450. procedure setTRISB13; inline;
  4451. procedure setTRISB14; inline;
  4452. procedure setTRISB15; inline;
  4453. procedure setTRISB1; inline;
  4454. procedure setTRISB2; inline;
  4455. procedure setTRISB3; inline;
  4456. procedure setTRISB4; inline;
  4457. procedure setTRISB5; inline;
  4458. procedure setTRISB6; inline;
  4459. procedure setTRISB7; inline;
  4460. procedure setTRISB8; inline;
  4461. procedure setTRISB9; inline;
  4462. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  4463. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  4464. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  4465. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  4466. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  4467. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  4468. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  4469. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  4470. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  4471. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  4472. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  4473. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  4474. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  4475. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  4476. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  4477. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  4478. property w : TBits_32 read getw write setw;
  4479. end;
  4480. TPORTB_PORTB = record
  4481. private
  4482. function getRB0 : TBits_1; inline;
  4483. function getRB1 : TBits_1; inline;
  4484. function getRB10 : TBits_1; inline;
  4485. function getRB11 : TBits_1; inline;
  4486. function getRB12 : TBits_1; inline;
  4487. function getRB13 : TBits_1; inline;
  4488. function getRB14 : TBits_1; inline;
  4489. function getRB15 : TBits_1; inline;
  4490. function getRB2 : TBits_1; inline;
  4491. function getRB3 : TBits_1; inline;
  4492. function getRB4 : TBits_1; inline;
  4493. function getRB5 : TBits_1; inline;
  4494. function getRB6 : TBits_1; inline;
  4495. function getRB7 : TBits_1; inline;
  4496. function getRB8 : TBits_1; inline;
  4497. function getRB9 : TBits_1; inline;
  4498. function getw : TBits_32; inline;
  4499. procedure setRB0(thebits : TBits_1); inline;
  4500. procedure setRB1(thebits : TBits_1); inline;
  4501. procedure setRB10(thebits : TBits_1); inline;
  4502. procedure setRB11(thebits : TBits_1); inline;
  4503. procedure setRB12(thebits : TBits_1); inline;
  4504. procedure setRB13(thebits : TBits_1); inline;
  4505. procedure setRB14(thebits : TBits_1); inline;
  4506. procedure setRB15(thebits : TBits_1); inline;
  4507. procedure setRB2(thebits : TBits_1); inline;
  4508. procedure setRB3(thebits : TBits_1); inline;
  4509. procedure setRB4(thebits : TBits_1); inline;
  4510. procedure setRB5(thebits : TBits_1); inline;
  4511. procedure setRB6(thebits : TBits_1); inline;
  4512. procedure setRB7(thebits : TBits_1); inline;
  4513. procedure setRB8(thebits : TBits_1); inline;
  4514. procedure setRB9(thebits : TBits_1); inline;
  4515. procedure setw(thebits : TBits_32); inline;
  4516. public
  4517. procedure clearRB0; inline;
  4518. procedure clearRB10; inline;
  4519. procedure clearRB11; inline;
  4520. procedure clearRB12; inline;
  4521. procedure clearRB13; inline;
  4522. procedure clearRB14; inline;
  4523. procedure clearRB15; inline;
  4524. procedure clearRB1; inline;
  4525. procedure clearRB2; inline;
  4526. procedure clearRB3; inline;
  4527. procedure clearRB4; inline;
  4528. procedure clearRB5; inline;
  4529. procedure clearRB6; inline;
  4530. procedure clearRB7; inline;
  4531. procedure clearRB8; inline;
  4532. procedure clearRB9; inline;
  4533. procedure setRB0; inline;
  4534. procedure setRB10; inline;
  4535. procedure setRB11; inline;
  4536. procedure setRB12; inline;
  4537. procedure setRB13; inline;
  4538. procedure setRB14; inline;
  4539. procedure setRB15; inline;
  4540. procedure setRB1; inline;
  4541. procedure setRB2; inline;
  4542. procedure setRB3; inline;
  4543. procedure setRB4; inline;
  4544. procedure setRB5; inline;
  4545. procedure setRB6; inline;
  4546. procedure setRB7; inline;
  4547. procedure setRB8; inline;
  4548. procedure setRB9; inline;
  4549. property RB0 : TBits_1 read getRB0 write setRB0;
  4550. property RB1 : TBits_1 read getRB1 write setRB1;
  4551. property RB10 : TBits_1 read getRB10 write setRB10;
  4552. property RB11 : TBits_1 read getRB11 write setRB11;
  4553. property RB12 : TBits_1 read getRB12 write setRB12;
  4554. property RB13 : TBits_1 read getRB13 write setRB13;
  4555. property RB14 : TBits_1 read getRB14 write setRB14;
  4556. property RB15 : TBits_1 read getRB15 write setRB15;
  4557. property RB2 : TBits_1 read getRB2 write setRB2;
  4558. property RB3 : TBits_1 read getRB3 write setRB3;
  4559. property RB4 : TBits_1 read getRB4 write setRB4;
  4560. property RB5 : TBits_1 read getRB5 write setRB5;
  4561. property RB6 : TBits_1 read getRB6 write setRB6;
  4562. property RB7 : TBits_1 read getRB7 write setRB7;
  4563. property RB8 : TBits_1 read getRB8 write setRB8;
  4564. property RB9 : TBits_1 read getRB9 write setRB9;
  4565. property w : TBits_32 read getw write setw;
  4566. end;
  4567. 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);
  4568. TPortB_bitset = set of TPortB_bits;
  4569. TPORTB_LATB = record
  4570. private
  4571. function getLATB0 : TBits_1; inline;
  4572. function getLATB1 : TBits_1; inline;
  4573. function getLATB10 : TBits_1; inline;
  4574. function getLATB11 : TBits_1; inline;
  4575. function getLATB12 : TBits_1; inline;
  4576. function getLATB13 : TBits_1; inline;
  4577. function getLATB14 : TBits_1; inline;
  4578. function getLATB15 : TBits_1; inline;
  4579. function getLATB2 : TBits_1; inline;
  4580. function getLATB3 : TBits_1; inline;
  4581. function getLATB4 : TBits_1; inline;
  4582. function getLATB5 : TBits_1; inline;
  4583. function getLATB6 : TBits_1; inline;
  4584. function getLATB7 : TBits_1; inline;
  4585. function getLATB8 : TBits_1; inline;
  4586. function getLATB9 : TBits_1; inline;
  4587. function getw : TBits_32; inline;
  4588. procedure setLATB0(thebits : TBits_1); inline;
  4589. procedure setLATB1(thebits : TBits_1); inline;
  4590. procedure setLATB10(thebits : TBits_1); inline;
  4591. procedure setLATB11(thebits : TBits_1); inline;
  4592. procedure setLATB12(thebits : TBits_1); inline;
  4593. procedure setLATB13(thebits : TBits_1); inline;
  4594. procedure setLATB14(thebits : TBits_1); inline;
  4595. procedure setLATB15(thebits : TBits_1); inline;
  4596. procedure setLATB2(thebits : TBits_1); inline;
  4597. procedure setLATB3(thebits : TBits_1); inline;
  4598. procedure setLATB4(thebits : TBits_1); inline;
  4599. procedure setLATB5(thebits : TBits_1); inline;
  4600. procedure setLATB6(thebits : TBits_1); inline;
  4601. procedure setLATB7(thebits : TBits_1); inline;
  4602. procedure setLATB8(thebits : TBits_1); inline;
  4603. procedure setLATB9(thebits : TBits_1); inline;
  4604. procedure setw(thebits : TBits_32); inline;
  4605. public
  4606. procedure clearLATB0; inline;
  4607. procedure clearLATB10; inline;
  4608. procedure clearLATB11; inline;
  4609. procedure clearLATB12; inline;
  4610. procedure clearLATB13; inline;
  4611. procedure clearLATB14; inline;
  4612. procedure clearLATB15; inline;
  4613. procedure clearLATB1; inline;
  4614. procedure clearLATB2; inline;
  4615. procedure clearLATB3; inline;
  4616. procedure clearLATB4; inline;
  4617. procedure clearLATB5; inline;
  4618. procedure clearLATB6; inline;
  4619. procedure clearLATB7; inline;
  4620. procedure clearLATB8; inline;
  4621. procedure clearLATB9; inline;
  4622. procedure setLATB0; inline;
  4623. procedure setLATB10; inline;
  4624. procedure setLATB11; inline;
  4625. procedure setLATB12; inline;
  4626. procedure setLATB13; inline;
  4627. procedure setLATB14; inline;
  4628. procedure setLATB15; inline;
  4629. procedure setLATB1; inline;
  4630. procedure setLATB2; inline;
  4631. procedure setLATB3; inline;
  4632. procedure setLATB4; inline;
  4633. procedure setLATB5; inline;
  4634. procedure setLATB6; inline;
  4635. procedure setLATB7; inline;
  4636. procedure setLATB8; inline;
  4637. procedure setLATB9; inline;
  4638. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  4639. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  4640. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  4641. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  4642. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  4643. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  4644. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  4645. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  4646. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  4647. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  4648. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  4649. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  4650. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  4651. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  4652. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  4653. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  4654. property w : TBits_32 read getw write setw;
  4655. end;
  4656. TPORTB_ODCB = record
  4657. private
  4658. function getODCB0 : TBits_1; inline;
  4659. function getODCB1 : TBits_1; inline;
  4660. function getODCB10 : TBits_1; inline;
  4661. function getODCB11 : TBits_1; inline;
  4662. function getODCB12 : TBits_1; inline;
  4663. function getODCB13 : TBits_1; inline;
  4664. function getODCB14 : TBits_1; inline;
  4665. function getODCB15 : TBits_1; inline;
  4666. function getODCB2 : TBits_1; inline;
  4667. function getODCB3 : TBits_1; inline;
  4668. function getODCB4 : TBits_1; inline;
  4669. function getODCB5 : TBits_1; inline;
  4670. function getODCB6 : TBits_1; inline;
  4671. function getODCB7 : TBits_1; inline;
  4672. function getODCB8 : TBits_1; inline;
  4673. function getODCB9 : TBits_1; inline;
  4674. function getw : TBits_32; inline;
  4675. procedure setODCB0(thebits : TBits_1); inline;
  4676. procedure setODCB1(thebits : TBits_1); inline;
  4677. procedure setODCB10(thebits : TBits_1); inline;
  4678. procedure setODCB11(thebits : TBits_1); inline;
  4679. procedure setODCB12(thebits : TBits_1); inline;
  4680. procedure setODCB13(thebits : TBits_1); inline;
  4681. procedure setODCB14(thebits : TBits_1); inline;
  4682. procedure setODCB15(thebits : TBits_1); inline;
  4683. procedure setODCB2(thebits : TBits_1); inline;
  4684. procedure setODCB3(thebits : TBits_1); inline;
  4685. procedure setODCB4(thebits : TBits_1); inline;
  4686. procedure setODCB5(thebits : TBits_1); inline;
  4687. procedure setODCB6(thebits : TBits_1); inline;
  4688. procedure setODCB7(thebits : TBits_1); inline;
  4689. procedure setODCB8(thebits : TBits_1); inline;
  4690. procedure setODCB9(thebits : TBits_1); inline;
  4691. procedure setw(thebits : TBits_32); inline;
  4692. public
  4693. procedure clearODCB0; inline;
  4694. procedure clearODCB10; inline;
  4695. procedure clearODCB11; inline;
  4696. procedure clearODCB12; inline;
  4697. procedure clearODCB13; inline;
  4698. procedure clearODCB14; inline;
  4699. procedure clearODCB15; inline;
  4700. procedure clearODCB1; inline;
  4701. procedure clearODCB2; inline;
  4702. procedure clearODCB3; inline;
  4703. procedure clearODCB4; inline;
  4704. procedure clearODCB5; inline;
  4705. procedure clearODCB6; inline;
  4706. procedure clearODCB7; inline;
  4707. procedure clearODCB8; inline;
  4708. procedure clearODCB9; inline;
  4709. procedure setODCB0; inline;
  4710. procedure setODCB10; inline;
  4711. procedure setODCB11; inline;
  4712. procedure setODCB12; inline;
  4713. procedure setODCB13; inline;
  4714. procedure setODCB14; inline;
  4715. procedure setODCB15; inline;
  4716. procedure setODCB1; inline;
  4717. procedure setODCB2; inline;
  4718. procedure setODCB3; inline;
  4719. procedure setODCB4; inline;
  4720. procedure setODCB5; inline;
  4721. procedure setODCB6; inline;
  4722. procedure setODCB7; inline;
  4723. procedure setODCB8; inline;
  4724. procedure setODCB9; inline;
  4725. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  4726. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  4727. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  4728. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  4729. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  4730. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  4731. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  4732. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  4733. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  4734. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  4735. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  4736. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  4737. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  4738. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  4739. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  4740. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  4741. property w : TBits_32 read getw write setw;
  4742. end;
  4743. type
  4744. TPORTBRegisters = record
  4745. TRISBbits : TPORTB_TRISB;
  4746. TRISB : longWord;
  4747. TRISBCLR : longWord;
  4748. TRISBSET : longWord;
  4749. TRISBINV : longWord;
  4750. PORTBbits : TPORTB_PORTB;
  4751. PORTB : longWord;
  4752. PORTBCLR : longWord;
  4753. PORTBSET : longWord;
  4754. PORTBINV : longWord;
  4755. LATBbits : TPORTB_LATB;
  4756. LATB : longWord;
  4757. LATBCLR : longWord;
  4758. LATBSET : longWord;
  4759. LATBINV : longWord;
  4760. ODCBbits : TPORTB_ODCB;
  4761. ODCB : longWord;
  4762. ODCBCLR : longWord;
  4763. ODCBSET : longWord;
  4764. ODCBINV : longWord;
  4765. end;
  4766. TPORTC_TRISC = record
  4767. private
  4768. function getTRISC12 : TBits_1; inline;
  4769. function getTRISC13 : TBits_1; inline;
  4770. function getTRISC14 : TBits_1; inline;
  4771. function getTRISC15 : TBits_1; inline;
  4772. function getw : TBits_32; inline;
  4773. procedure setTRISC12(thebits : TBits_1); inline;
  4774. procedure setTRISC13(thebits : TBits_1); inline;
  4775. procedure setTRISC14(thebits : TBits_1); inline;
  4776. procedure setTRISC15(thebits : TBits_1); inline;
  4777. procedure setw(thebits : TBits_32); inline;
  4778. public
  4779. procedure clearTRISC12; inline;
  4780. procedure clearTRISC13; inline;
  4781. procedure clearTRISC14; inline;
  4782. procedure clearTRISC15; inline;
  4783. procedure setTRISC12; inline;
  4784. procedure setTRISC13; inline;
  4785. procedure setTRISC14; inline;
  4786. procedure setTRISC15; inline;
  4787. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  4788. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  4789. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  4790. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  4791. property w : TBits_32 read getw write setw;
  4792. end;
  4793. TPORTC_PORTC = record
  4794. private
  4795. function getRC12 : TBits_1; inline;
  4796. function getRC13 : TBits_1; inline;
  4797. function getRC14 : TBits_1; inline;
  4798. function getRC15 : TBits_1; inline;
  4799. function getw : TBits_32; inline;
  4800. procedure setRC12(thebits : TBits_1); inline;
  4801. procedure setRC13(thebits : TBits_1); inline;
  4802. procedure setRC14(thebits : TBits_1); inline;
  4803. procedure setRC15(thebits : TBits_1); inline;
  4804. procedure setw(thebits : TBits_32); inline;
  4805. public
  4806. procedure clearRC12; inline;
  4807. procedure clearRC13; inline;
  4808. procedure clearRC14; inline;
  4809. procedure clearRC15; inline;
  4810. procedure setRC12; inline;
  4811. procedure setRC13; inline;
  4812. procedure setRC14; inline;
  4813. procedure setRC15; inline;
  4814. property RC12 : TBits_1 read getRC12 write setRC12;
  4815. property RC13 : TBits_1 read getRC13 write setRC13;
  4816. property RC14 : TBits_1 read getRC14 write setRC14;
  4817. property RC15 : TBits_1 read getRC15 write setRC15;
  4818. property w : TBits_32 read getw write setw;
  4819. end;
  4820. TPortC_bits=(RC12=12,RC13=13,RC14=14,RC15=15);
  4821. TPortC_bitset = set of TPortC_bits;
  4822. TPORTC_LATC = record
  4823. private
  4824. function getLATC12 : TBits_1; inline;
  4825. function getLATC13 : TBits_1; inline;
  4826. function getLATC14 : TBits_1; inline;
  4827. function getLATC15 : TBits_1; inline;
  4828. function getw : TBits_32; inline;
  4829. procedure setLATC12(thebits : TBits_1); inline;
  4830. procedure setLATC13(thebits : TBits_1); inline;
  4831. procedure setLATC14(thebits : TBits_1); inline;
  4832. procedure setLATC15(thebits : TBits_1); inline;
  4833. procedure setw(thebits : TBits_32); inline;
  4834. public
  4835. procedure clearLATC12; inline;
  4836. procedure clearLATC13; inline;
  4837. procedure clearLATC14; inline;
  4838. procedure clearLATC15; inline;
  4839. procedure setLATC12; inline;
  4840. procedure setLATC13; inline;
  4841. procedure setLATC14; inline;
  4842. procedure setLATC15; inline;
  4843. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  4844. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  4845. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  4846. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  4847. property w : TBits_32 read getw write setw;
  4848. end;
  4849. TPORTC_ODCC = record
  4850. private
  4851. function getODCC12 : TBits_1; inline;
  4852. function getODCC13 : TBits_1; inline;
  4853. function getODCC14 : TBits_1; inline;
  4854. function getODCC15 : TBits_1; inline;
  4855. function getw : TBits_32; inline;
  4856. procedure setODCC12(thebits : TBits_1); inline;
  4857. procedure setODCC13(thebits : TBits_1); inline;
  4858. procedure setODCC14(thebits : TBits_1); inline;
  4859. procedure setODCC15(thebits : TBits_1); inline;
  4860. procedure setw(thebits : TBits_32); inline;
  4861. public
  4862. procedure clearODCC12; inline;
  4863. procedure clearODCC13; inline;
  4864. procedure clearODCC14; inline;
  4865. procedure clearODCC15; inline;
  4866. procedure setODCC12; inline;
  4867. procedure setODCC13; inline;
  4868. procedure setODCC14; inline;
  4869. procedure setODCC15; inline;
  4870. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  4871. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  4872. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  4873. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  4874. property w : TBits_32 read getw write setw;
  4875. end;
  4876. type
  4877. TPORTCRegisters = record
  4878. TRISCbits : TPORTC_TRISC;
  4879. TRISC : longWord;
  4880. TRISCCLR : longWord;
  4881. TRISCSET : longWord;
  4882. TRISCINV : longWord;
  4883. PORTCbits : TPORTC_PORTC;
  4884. PORTC : longWord;
  4885. PORTCCLR : longWord;
  4886. PORTCSET : longWord;
  4887. PORTCINV : longWord;
  4888. LATCbits : TPORTC_LATC;
  4889. LATC : longWord;
  4890. LATCCLR : longWord;
  4891. LATCSET : longWord;
  4892. LATCINV : longWord;
  4893. ODCCbits : TPORTC_ODCC;
  4894. ODCC : longWord;
  4895. ODCCCLR : longWord;
  4896. ODCCSET : longWord;
  4897. ODCCINV : longWord;
  4898. end;
  4899. TPORTD_TRISD = record
  4900. private
  4901. function getTRISD0 : TBits_1; inline;
  4902. function getTRISD1 : TBits_1; inline;
  4903. function getTRISD10 : TBits_1; inline;
  4904. function getTRISD11 : TBits_1; inline;
  4905. function getTRISD2 : TBits_1; inline;
  4906. function getTRISD3 : TBits_1; inline;
  4907. function getTRISD4 : TBits_1; inline;
  4908. function getTRISD5 : TBits_1; inline;
  4909. function getTRISD6 : TBits_1; inline;
  4910. function getTRISD7 : TBits_1; inline;
  4911. function getTRISD8 : TBits_1; inline;
  4912. function getTRISD9 : TBits_1; inline;
  4913. function getw : TBits_32; inline;
  4914. procedure setTRISD0(thebits : TBits_1); inline;
  4915. procedure setTRISD1(thebits : TBits_1); inline;
  4916. procedure setTRISD10(thebits : TBits_1); inline;
  4917. procedure setTRISD11(thebits : TBits_1); inline;
  4918. procedure setTRISD2(thebits : TBits_1); inline;
  4919. procedure setTRISD3(thebits : TBits_1); inline;
  4920. procedure setTRISD4(thebits : TBits_1); inline;
  4921. procedure setTRISD5(thebits : TBits_1); inline;
  4922. procedure setTRISD6(thebits : TBits_1); inline;
  4923. procedure setTRISD7(thebits : TBits_1); inline;
  4924. procedure setTRISD8(thebits : TBits_1); inline;
  4925. procedure setTRISD9(thebits : TBits_1); inline;
  4926. procedure setw(thebits : TBits_32); inline;
  4927. public
  4928. procedure clearTRISD0; inline;
  4929. procedure clearTRISD10; inline;
  4930. procedure clearTRISD11; inline;
  4931. procedure clearTRISD1; inline;
  4932. procedure clearTRISD2; inline;
  4933. procedure clearTRISD3; inline;
  4934. procedure clearTRISD4; inline;
  4935. procedure clearTRISD5; inline;
  4936. procedure clearTRISD6; inline;
  4937. procedure clearTRISD7; inline;
  4938. procedure clearTRISD8; inline;
  4939. procedure clearTRISD9; inline;
  4940. procedure setTRISD0; inline;
  4941. procedure setTRISD10; inline;
  4942. procedure setTRISD11; inline;
  4943. procedure setTRISD1; inline;
  4944. procedure setTRISD2; inline;
  4945. procedure setTRISD3; inline;
  4946. procedure setTRISD4; inline;
  4947. procedure setTRISD5; inline;
  4948. procedure setTRISD6; inline;
  4949. procedure setTRISD7; inline;
  4950. procedure setTRISD8; inline;
  4951. procedure setTRISD9; inline;
  4952. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  4953. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  4954. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  4955. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  4956. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  4957. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  4958. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  4959. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  4960. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  4961. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  4962. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  4963. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  4964. property w : TBits_32 read getw write setw;
  4965. end;
  4966. TPORTD_PORTD = record
  4967. private
  4968. function getRD0 : TBits_1; inline;
  4969. function getRD1 : TBits_1; inline;
  4970. function getRD10 : TBits_1; inline;
  4971. function getRD11 : TBits_1; inline;
  4972. function getRD2 : TBits_1; inline;
  4973. function getRD3 : TBits_1; inline;
  4974. function getRD4 : TBits_1; inline;
  4975. function getRD5 : TBits_1; inline;
  4976. function getRD6 : TBits_1; inline;
  4977. function getRD7 : TBits_1; inline;
  4978. function getRD8 : TBits_1; inline;
  4979. function getRD9 : TBits_1; inline;
  4980. function getw : TBits_32; inline;
  4981. procedure setRD0(thebits : TBits_1); inline;
  4982. procedure setRD1(thebits : TBits_1); inline;
  4983. procedure setRD10(thebits : TBits_1); inline;
  4984. procedure setRD11(thebits : TBits_1); inline;
  4985. procedure setRD2(thebits : TBits_1); inline;
  4986. procedure setRD3(thebits : TBits_1); inline;
  4987. procedure setRD4(thebits : TBits_1); inline;
  4988. procedure setRD5(thebits : TBits_1); inline;
  4989. procedure setRD6(thebits : TBits_1); inline;
  4990. procedure setRD7(thebits : TBits_1); inline;
  4991. procedure setRD8(thebits : TBits_1); inline;
  4992. procedure setRD9(thebits : TBits_1); inline;
  4993. procedure setw(thebits : TBits_32); inline;
  4994. public
  4995. procedure clearRD0; inline;
  4996. procedure clearRD10; inline;
  4997. procedure clearRD11; inline;
  4998. procedure clearRD1; inline;
  4999. procedure clearRD2; inline;
  5000. procedure clearRD3; inline;
  5001. procedure clearRD4; inline;
  5002. procedure clearRD5; inline;
  5003. procedure clearRD6; inline;
  5004. procedure clearRD7; inline;
  5005. procedure clearRD8; inline;
  5006. procedure clearRD9; inline;
  5007. procedure setRD0; inline;
  5008. procedure setRD10; inline;
  5009. procedure setRD11; inline;
  5010. procedure setRD1; inline;
  5011. procedure setRD2; inline;
  5012. procedure setRD3; inline;
  5013. procedure setRD4; inline;
  5014. procedure setRD5; inline;
  5015. procedure setRD6; inline;
  5016. procedure setRD7; inline;
  5017. procedure setRD8; inline;
  5018. procedure setRD9; inline;
  5019. property RD0 : TBits_1 read getRD0 write setRD0;
  5020. property RD1 : TBits_1 read getRD1 write setRD1;
  5021. property RD10 : TBits_1 read getRD10 write setRD10;
  5022. property RD11 : TBits_1 read getRD11 write setRD11;
  5023. property RD2 : TBits_1 read getRD2 write setRD2;
  5024. property RD3 : TBits_1 read getRD3 write setRD3;
  5025. property RD4 : TBits_1 read getRD4 write setRD4;
  5026. property RD5 : TBits_1 read getRD5 write setRD5;
  5027. property RD6 : TBits_1 read getRD6 write setRD6;
  5028. property RD7 : TBits_1 read getRD7 write setRD7;
  5029. property RD8 : TBits_1 read getRD8 write setRD8;
  5030. property RD9 : TBits_1 read getRD9 write setRD9;
  5031. property w : TBits_32 read getw write setw;
  5032. end;
  5033. 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);
  5034. TPortD_bitset = set of TPortD_bits;
  5035. TPORTD_LATD = record
  5036. private
  5037. function getLATD0 : TBits_1; inline;
  5038. function getLATD1 : TBits_1; inline;
  5039. function getLATD10 : TBits_1; inline;
  5040. function getLATD11 : TBits_1; inline;
  5041. function getLATD2 : TBits_1; inline;
  5042. function getLATD3 : TBits_1; inline;
  5043. function getLATD4 : TBits_1; inline;
  5044. function getLATD5 : TBits_1; inline;
  5045. function getLATD6 : TBits_1; inline;
  5046. function getLATD7 : TBits_1; inline;
  5047. function getLATD8 : TBits_1; inline;
  5048. function getLATD9 : TBits_1; inline;
  5049. function getw : TBits_32; inline;
  5050. procedure setLATD0(thebits : TBits_1); inline;
  5051. procedure setLATD1(thebits : TBits_1); inline;
  5052. procedure setLATD10(thebits : TBits_1); inline;
  5053. procedure setLATD11(thebits : TBits_1); inline;
  5054. procedure setLATD2(thebits : TBits_1); inline;
  5055. procedure setLATD3(thebits : TBits_1); inline;
  5056. procedure setLATD4(thebits : TBits_1); inline;
  5057. procedure setLATD5(thebits : TBits_1); inline;
  5058. procedure setLATD6(thebits : TBits_1); inline;
  5059. procedure setLATD7(thebits : TBits_1); inline;
  5060. procedure setLATD8(thebits : TBits_1); inline;
  5061. procedure setLATD9(thebits : TBits_1); inline;
  5062. procedure setw(thebits : TBits_32); inline;
  5063. public
  5064. procedure clearLATD0; inline;
  5065. procedure clearLATD10; inline;
  5066. procedure clearLATD11; inline;
  5067. procedure clearLATD1; inline;
  5068. procedure clearLATD2; inline;
  5069. procedure clearLATD3; inline;
  5070. procedure clearLATD4; inline;
  5071. procedure clearLATD5; inline;
  5072. procedure clearLATD6; inline;
  5073. procedure clearLATD7; inline;
  5074. procedure clearLATD8; inline;
  5075. procedure clearLATD9; inline;
  5076. procedure setLATD0; inline;
  5077. procedure setLATD10; inline;
  5078. procedure setLATD11; inline;
  5079. procedure setLATD1; inline;
  5080. procedure setLATD2; inline;
  5081. procedure setLATD3; inline;
  5082. procedure setLATD4; inline;
  5083. procedure setLATD5; inline;
  5084. procedure setLATD6; inline;
  5085. procedure setLATD7; inline;
  5086. procedure setLATD8; inline;
  5087. procedure setLATD9; inline;
  5088. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  5089. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  5090. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  5091. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  5092. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  5093. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  5094. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  5095. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  5096. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  5097. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  5098. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  5099. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  5100. property w : TBits_32 read getw write setw;
  5101. end;
  5102. TPORTD_ODCD = record
  5103. private
  5104. function getODCD0 : TBits_1; inline;
  5105. function getODCD1 : TBits_1; inline;
  5106. function getODCD10 : TBits_1; inline;
  5107. function getODCD11 : TBits_1; inline;
  5108. function getODCD2 : TBits_1; inline;
  5109. function getODCD3 : TBits_1; inline;
  5110. function getODCD4 : TBits_1; inline;
  5111. function getODCD5 : TBits_1; inline;
  5112. function getODCD6 : TBits_1; inline;
  5113. function getODCD7 : TBits_1; inline;
  5114. function getODCD8 : TBits_1; inline;
  5115. function getODCD9 : TBits_1; inline;
  5116. function getw : TBits_32; inline;
  5117. procedure setODCD0(thebits : TBits_1); inline;
  5118. procedure setODCD1(thebits : TBits_1); inline;
  5119. procedure setODCD10(thebits : TBits_1); inline;
  5120. procedure setODCD11(thebits : TBits_1); inline;
  5121. procedure setODCD2(thebits : TBits_1); inline;
  5122. procedure setODCD3(thebits : TBits_1); inline;
  5123. procedure setODCD4(thebits : TBits_1); inline;
  5124. procedure setODCD5(thebits : TBits_1); inline;
  5125. procedure setODCD6(thebits : TBits_1); inline;
  5126. procedure setODCD7(thebits : TBits_1); inline;
  5127. procedure setODCD8(thebits : TBits_1); inline;
  5128. procedure setODCD9(thebits : TBits_1); inline;
  5129. procedure setw(thebits : TBits_32); inline;
  5130. public
  5131. procedure clearODCD0; inline;
  5132. procedure clearODCD10; inline;
  5133. procedure clearODCD11; inline;
  5134. procedure clearODCD1; inline;
  5135. procedure clearODCD2; inline;
  5136. procedure clearODCD3; inline;
  5137. procedure clearODCD4; inline;
  5138. procedure clearODCD5; inline;
  5139. procedure clearODCD6; inline;
  5140. procedure clearODCD7; inline;
  5141. procedure clearODCD8; inline;
  5142. procedure clearODCD9; inline;
  5143. procedure setODCD0; inline;
  5144. procedure setODCD10; inline;
  5145. procedure setODCD11; inline;
  5146. procedure setODCD1; inline;
  5147. procedure setODCD2; inline;
  5148. procedure setODCD3; inline;
  5149. procedure setODCD4; inline;
  5150. procedure setODCD5; inline;
  5151. procedure setODCD6; inline;
  5152. procedure setODCD7; inline;
  5153. procedure setODCD8; inline;
  5154. procedure setODCD9; inline;
  5155. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  5156. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  5157. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  5158. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  5159. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  5160. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  5161. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  5162. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  5163. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  5164. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  5165. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  5166. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  5167. property w : TBits_32 read getw write setw;
  5168. end;
  5169. type
  5170. TPORTDRegisters = record
  5171. TRISDbits : TPORTD_TRISD;
  5172. TRISD : longWord;
  5173. TRISDCLR : longWord;
  5174. TRISDSET : longWord;
  5175. TRISDINV : longWord;
  5176. PORTDbits : TPORTD_PORTD;
  5177. PORTD : longWord;
  5178. PORTDCLR : longWord;
  5179. PORTDSET : longWord;
  5180. PORTDINV : longWord;
  5181. LATDbits : TPORTD_LATD;
  5182. LATD : longWord;
  5183. LATDCLR : longWord;
  5184. LATDSET : longWord;
  5185. LATDINV : longWord;
  5186. ODCDbits : TPORTD_ODCD;
  5187. ODCD : longWord;
  5188. ODCDCLR : longWord;
  5189. ODCDSET : longWord;
  5190. ODCDINV : longWord;
  5191. end;
  5192. TPORTE_TRISE = record
  5193. private
  5194. function getTRISE0 : TBits_1; inline;
  5195. function getTRISE1 : TBits_1; inline;
  5196. function getTRISE2 : TBits_1; inline;
  5197. function getTRISE3 : TBits_1; inline;
  5198. function getTRISE4 : TBits_1; inline;
  5199. function getTRISE5 : TBits_1; inline;
  5200. function getTRISE6 : TBits_1; inline;
  5201. function getTRISE7 : TBits_1; inline;
  5202. function getw : TBits_32; inline;
  5203. procedure setTRISE0(thebits : TBits_1); inline;
  5204. procedure setTRISE1(thebits : TBits_1); inline;
  5205. procedure setTRISE2(thebits : TBits_1); inline;
  5206. procedure setTRISE3(thebits : TBits_1); inline;
  5207. procedure setTRISE4(thebits : TBits_1); inline;
  5208. procedure setTRISE5(thebits : TBits_1); inline;
  5209. procedure setTRISE6(thebits : TBits_1); inline;
  5210. procedure setTRISE7(thebits : TBits_1); inline;
  5211. procedure setw(thebits : TBits_32); inline;
  5212. public
  5213. procedure clearTRISE0; inline;
  5214. procedure clearTRISE1; inline;
  5215. procedure clearTRISE2; inline;
  5216. procedure clearTRISE3; inline;
  5217. procedure clearTRISE4; inline;
  5218. procedure clearTRISE5; inline;
  5219. procedure clearTRISE6; inline;
  5220. procedure clearTRISE7; inline;
  5221. procedure setTRISE0; inline;
  5222. procedure setTRISE1; inline;
  5223. procedure setTRISE2; inline;
  5224. procedure setTRISE3; inline;
  5225. procedure setTRISE4; inline;
  5226. procedure setTRISE5; inline;
  5227. procedure setTRISE6; inline;
  5228. procedure setTRISE7; inline;
  5229. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  5230. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  5231. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  5232. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  5233. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  5234. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  5235. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  5236. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  5237. property w : TBits_32 read getw write setw;
  5238. end;
  5239. TPORTE_PORTE = record
  5240. private
  5241. function getRE0 : TBits_1; inline;
  5242. function getRE1 : TBits_1; inline;
  5243. function getRE2 : TBits_1; inline;
  5244. function getRE3 : TBits_1; inline;
  5245. function getRE4 : TBits_1; inline;
  5246. function getRE5 : TBits_1; inline;
  5247. function getRE6 : TBits_1; inline;
  5248. function getRE7 : TBits_1; inline;
  5249. function getw : TBits_32; inline;
  5250. procedure setRE0(thebits : TBits_1); inline;
  5251. procedure setRE1(thebits : TBits_1); inline;
  5252. procedure setRE2(thebits : TBits_1); inline;
  5253. procedure setRE3(thebits : TBits_1); inline;
  5254. procedure setRE4(thebits : TBits_1); inline;
  5255. procedure setRE5(thebits : TBits_1); inline;
  5256. procedure setRE6(thebits : TBits_1); inline;
  5257. procedure setRE7(thebits : TBits_1); inline;
  5258. procedure setw(thebits : TBits_32); inline;
  5259. public
  5260. procedure clearRE0; inline;
  5261. procedure clearRE1; inline;
  5262. procedure clearRE2; inline;
  5263. procedure clearRE3; inline;
  5264. procedure clearRE4; inline;
  5265. procedure clearRE5; inline;
  5266. procedure clearRE6; inline;
  5267. procedure clearRE7; inline;
  5268. procedure setRE0; inline;
  5269. procedure setRE1; inline;
  5270. procedure setRE2; inline;
  5271. procedure setRE3; inline;
  5272. procedure setRE4; inline;
  5273. procedure setRE5; inline;
  5274. procedure setRE6; inline;
  5275. procedure setRE7; inline;
  5276. property RE0 : TBits_1 read getRE0 write setRE0;
  5277. property RE1 : TBits_1 read getRE1 write setRE1;
  5278. property RE2 : TBits_1 read getRE2 write setRE2;
  5279. property RE3 : TBits_1 read getRE3 write setRE3;
  5280. property RE4 : TBits_1 read getRE4 write setRE4;
  5281. property RE5 : TBits_1 read getRE5 write setRE5;
  5282. property RE6 : TBits_1 read getRE6 write setRE6;
  5283. property RE7 : TBits_1 read getRE7 write setRE7;
  5284. property w : TBits_32 read getw write setw;
  5285. end;
  5286. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7);
  5287. TPortE_bitset = set of TPortE_bits;
  5288. TPORTE_LATE = record
  5289. private
  5290. function getLATE0 : TBits_1; inline;
  5291. function getLATE1 : TBits_1; inline;
  5292. function getLATE2 : TBits_1; inline;
  5293. function getLATE3 : TBits_1; inline;
  5294. function getLATE4 : TBits_1; inline;
  5295. function getLATE5 : TBits_1; inline;
  5296. function getLATE6 : TBits_1; inline;
  5297. function getLATE7 : TBits_1; inline;
  5298. function getw : TBits_32; inline;
  5299. procedure setLATE0(thebits : TBits_1); inline;
  5300. procedure setLATE1(thebits : TBits_1); inline;
  5301. procedure setLATE2(thebits : TBits_1); inline;
  5302. procedure setLATE3(thebits : TBits_1); inline;
  5303. procedure setLATE4(thebits : TBits_1); inline;
  5304. procedure setLATE5(thebits : TBits_1); inline;
  5305. procedure setLATE6(thebits : TBits_1); inline;
  5306. procedure setLATE7(thebits : TBits_1); inline;
  5307. procedure setw(thebits : TBits_32); inline;
  5308. public
  5309. procedure clearLATE0; inline;
  5310. procedure clearLATE1; inline;
  5311. procedure clearLATE2; inline;
  5312. procedure clearLATE3; inline;
  5313. procedure clearLATE4; inline;
  5314. procedure clearLATE5; inline;
  5315. procedure clearLATE6; inline;
  5316. procedure clearLATE7; inline;
  5317. procedure setLATE0; inline;
  5318. procedure setLATE1; inline;
  5319. procedure setLATE2; inline;
  5320. procedure setLATE3; inline;
  5321. procedure setLATE4; inline;
  5322. procedure setLATE5; inline;
  5323. procedure setLATE6; inline;
  5324. procedure setLATE7; inline;
  5325. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  5326. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  5327. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  5328. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  5329. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  5330. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  5331. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  5332. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  5333. property w : TBits_32 read getw write setw;
  5334. end;
  5335. TPORTE_ODCE = record
  5336. private
  5337. function getODCE0 : TBits_1; inline;
  5338. function getODCE1 : TBits_1; inline;
  5339. function getODCE2 : TBits_1; inline;
  5340. function getODCE3 : TBits_1; inline;
  5341. function getODCE4 : TBits_1; inline;
  5342. function getODCE5 : TBits_1; inline;
  5343. function getODCE6 : TBits_1; inline;
  5344. function getODCE7 : TBits_1; inline;
  5345. function getw : TBits_32; inline;
  5346. procedure setODCE0(thebits : TBits_1); inline;
  5347. procedure setODCE1(thebits : TBits_1); inline;
  5348. procedure setODCE2(thebits : TBits_1); inline;
  5349. procedure setODCE3(thebits : TBits_1); inline;
  5350. procedure setODCE4(thebits : TBits_1); inline;
  5351. procedure setODCE5(thebits : TBits_1); inline;
  5352. procedure setODCE6(thebits : TBits_1); inline;
  5353. procedure setODCE7(thebits : TBits_1); inline;
  5354. procedure setw(thebits : TBits_32); inline;
  5355. public
  5356. procedure clearODCE0; inline;
  5357. procedure clearODCE1; inline;
  5358. procedure clearODCE2; inline;
  5359. procedure clearODCE3; inline;
  5360. procedure clearODCE4; inline;
  5361. procedure clearODCE5; inline;
  5362. procedure clearODCE6; inline;
  5363. procedure clearODCE7; inline;
  5364. procedure setODCE0; inline;
  5365. procedure setODCE1; inline;
  5366. procedure setODCE2; inline;
  5367. procedure setODCE3; inline;
  5368. procedure setODCE4; inline;
  5369. procedure setODCE5; inline;
  5370. procedure setODCE6; inline;
  5371. procedure setODCE7; inline;
  5372. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  5373. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  5374. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  5375. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  5376. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  5377. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  5378. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  5379. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  5380. property w : TBits_32 read getw write setw;
  5381. end;
  5382. type
  5383. TPORTERegisters = record
  5384. TRISEbits : TPORTE_TRISE;
  5385. TRISE : longWord;
  5386. TRISECLR : longWord;
  5387. TRISESET : longWord;
  5388. TRISEINV : longWord;
  5389. PORTEbits : TPORTE_PORTE;
  5390. PORTE : longWord;
  5391. PORTECLR : longWord;
  5392. PORTESET : longWord;
  5393. PORTEINV : longWord;
  5394. LATEbits : TPORTE_LATE;
  5395. LATE : longWord;
  5396. LATECLR : longWord;
  5397. LATESET : longWord;
  5398. LATEINV : longWord;
  5399. ODCEbits : TPORTE_ODCE;
  5400. ODCE : longWord;
  5401. ODCECLR : longWord;
  5402. ODCESET : longWord;
  5403. ODCEINV : longWord;
  5404. end;
  5405. TPORTF_TRISF = record
  5406. private
  5407. function getTRISF0 : TBits_1; inline;
  5408. function getTRISF1 : TBits_1; inline;
  5409. function getTRISF2 : TBits_1; inline;
  5410. function getTRISF3 : TBits_1; inline;
  5411. function getTRISF4 : TBits_1; inline;
  5412. function getTRISF5 : TBits_1; inline;
  5413. function getTRISF6 : TBits_1; inline;
  5414. function getw : TBits_32; inline;
  5415. procedure setTRISF0(thebits : TBits_1); inline;
  5416. procedure setTRISF1(thebits : TBits_1); inline;
  5417. procedure setTRISF2(thebits : TBits_1); inline;
  5418. procedure setTRISF3(thebits : TBits_1); inline;
  5419. procedure setTRISF4(thebits : TBits_1); inline;
  5420. procedure setTRISF5(thebits : TBits_1); inline;
  5421. procedure setTRISF6(thebits : TBits_1); inline;
  5422. procedure setw(thebits : TBits_32); inline;
  5423. public
  5424. procedure clearTRISF0; inline;
  5425. procedure clearTRISF1; inline;
  5426. procedure clearTRISF2; inline;
  5427. procedure clearTRISF3; inline;
  5428. procedure clearTRISF4; inline;
  5429. procedure clearTRISF5; inline;
  5430. procedure clearTRISF6; inline;
  5431. procedure setTRISF0; inline;
  5432. procedure setTRISF1; inline;
  5433. procedure setTRISF2; inline;
  5434. procedure setTRISF3; inline;
  5435. procedure setTRISF4; inline;
  5436. procedure setTRISF5; inline;
  5437. procedure setTRISF6; inline;
  5438. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  5439. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  5440. property TRISF2 : TBits_1 read getTRISF2 write setTRISF2;
  5441. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  5442. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  5443. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  5444. property TRISF6 : TBits_1 read getTRISF6 write setTRISF6;
  5445. property w : TBits_32 read getw write setw;
  5446. end;
  5447. TPORTF_PORTF = record
  5448. private
  5449. function getRF0 : TBits_1; inline;
  5450. function getRF1 : TBits_1; inline;
  5451. function getRF2 : TBits_1; inline;
  5452. function getRF3 : TBits_1; inline;
  5453. function getRF4 : TBits_1; inline;
  5454. function getRF5 : TBits_1; inline;
  5455. function getRF6 : TBits_1; inline;
  5456. function getw : TBits_32; inline;
  5457. procedure setRF0(thebits : TBits_1); inline;
  5458. procedure setRF1(thebits : TBits_1); inline;
  5459. procedure setRF2(thebits : TBits_1); inline;
  5460. procedure setRF3(thebits : TBits_1); inline;
  5461. procedure setRF4(thebits : TBits_1); inline;
  5462. procedure setRF5(thebits : TBits_1); inline;
  5463. procedure setRF6(thebits : TBits_1); inline;
  5464. procedure setw(thebits : TBits_32); inline;
  5465. public
  5466. procedure clearRF0; inline;
  5467. procedure clearRF1; inline;
  5468. procedure clearRF2; inline;
  5469. procedure clearRF3; inline;
  5470. procedure clearRF4; inline;
  5471. procedure clearRF5; inline;
  5472. procedure clearRF6; inline;
  5473. procedure setRF0; inline;
  5474. procedure setRF1; inline;
  5475. procedure setRF2; inline;
  5476. procedure setRF3; inline;
  5477. procedure setRF4; inline;
  5478. procedure setRF5; inline;
  5479. procedure setRF6; inline;
  5480. property RF0 : TBits_1 read getRF0 write setRF0;
  5481. property RF1 : TBits_1 read getRF1 write setRF1;
  5482. property RF2 : TBits_1 read getRF2 write setRF2;
  5483. property RF3 : TBits_1 read getRF3 write setRF3;
  5484. property RF4 : TBits_1 read getRF4 write setRF4;
  5485. property RF5 : TBits_1 read getRF5 write setRF5;
  5486. property RF6 : TBits_1 read getRF6 write setRF6;
  5487. property w : TBits_32 read getw write setw;
  5488. end;
  5489. TPortF_bits=(RF0=0,RF1=1,RF2=2,RF3=3,RF4=4,RF5=5,RF6=6);
  5490. TPortF_bitset = set of TPortF_bits;
  5491. TPORTF_LATF = record
  5492. private
  5493. function getLATF0 : TBits_1; inline;
  5494. function getLATF1 : TBits_1; inline;
  5495. function getLATF2 : TBits_1; inline;
  5496. function getLATF3 : TBits_1; inline;
  5497. function getLATF4 : TBits_1; inline;
  5498. function getLATF5 : TBits_1; inline;
  5499. function getLATF6 : TBits_1; inline;
  5500. function getw : TBits_32; inline;
  5501. procedure setLATF0(thebits : TBits_1); inline;
  5502. procedure setLATF1(thebits : TBits_1); inline;
  5503. procedure setLATF2(thebits : TBits_1); inline;
  5504. procedure setLATF3(thebits : TBits_1); inline;
  5505. procedure setLATF4(thebits : TBits_1); inline;
  5506. procedure setLATF5(thebits : TBits_1); inline;
  5507. procedure setLATF6(thebits : TBits_1); inline;
  5508. procedure setw(thebits : TBits_32); inline;
  5509. public
  5510. procedure clearLATF0; inline;
  5511. procedure clearLATF1; inline;
  5512. procedure clearLATF2; inline;
  5513. procedure clearLATF3; inline;
  5514. procedure clearLATF4; inline;
  5515. procedure clearLATF5; inline;
  5516. procedure clearLATF6; inline;
  5517. procedure setLATF0; inline;
  5518. procedure setLATF1; inline;
  5519. procedure setLATF2; inline;
  5520. procedure setLATF3; inline;
  5521. procedure setLATF4; inline;
  5522. procedure setLATF5; inline;
  5523. procedure setLATF6; inline;
  5524. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  5525. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  5526. property LATF2 : TBits_1 read getLATF2 write setLATF2;
  5527. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  5528. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  5529. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  5530. property LATF6 : TBits_1 read getLATF6 write setLATF6;
  5531. property w : TBits_32 read getw write setw;
  5532. end;
  5533. TPORTF_ODCF = record
  5534. private
  5535. function getODCF0 : TBits_1; inline;
  5536. function getODCF1 : TBits_1; inline;
  5537. function getODCF2 : TBits_1; inline;
  5538. function getODCF3 : TBits_1; inline;
  5539. function getODCF4 : TBits_1; inline;
  5540. function getODCF5 : TBits_1; inline;
  5541. function getODCF6 : TBits_1; inline;
  5542. function getw : TBits_32; inline;
  5543. procedure setODCF0(thebits : TBits_1); inline;
  5544. procedure setODCF1(thebits : TBits_1); inline;
  5545. procedure setODCF2(thebits : TBits_1); inline;
  5546. procedure setODCF3(thebits : TBits_1); inline;
  5547. procedure setODCF4(thebits : TBits_1); inline;
  5548. procedure setODCF5(thebits : TBits_1); inline;
  5549. procedure setODCF6(thebits : TBits_1); inline;
  5550. procedure setw(thebits : TBits_32); inline;
  5551. public
  5552. procedure clearODCF0; inline;
  5553. procedure clearODCF1; inline;
  5554. procedure clearODCF2; inline;
  5555. procedure clearODCF3; inline;
  5556. procedure clearODCF4; inline;
  5557. procedure clearODCF5; inline;
  5558. procedure clearODCF6; inline;
  5559. procedure setODCF0; inline;
  5560. procedure setODCF1; inline;
  5561. procedure setODCF2; inline;
  5562. procedure setODCF3; inline;
  5563. procedure setODCF4; inline;
  5564. procedure setODCF5; inline;
  5565. procedure setODCF6; inline;
  5566. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  5567. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  5568. property ODCF2 : TBits_1 read getODCF2 write setODCF2;
  5569. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  5570. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  5571. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  5572. property ODCF6 : TBits_1 read getODCF6 write setODCF6;
  5573. property w : TBits_32 read getw write setw;
  5574. end;
  5575. type
  5576. TPORTFRegisters = record
  5577. TRISFbits : TPORTF_TRISF;
  5578. TRISF : longWord;
  5579. TRISFCLR : longWord;
  5580. TRISFSET : longWord;
  5581. TRISFINV : longWord;
  5582. PORTFbits : TPORTF_PORTF;
  5583. PORTF : longWord;
  5584. PORTFCLR : longWord;
  5585. PORTFSET : longWord;
  5586. PORTFINV : longWord;
  5587. LATFbits : TPORTF_LATF;
  5588. LATF : longWord;
  5589. LATFCLR : longWord;
  5590. LATFSET : longWord;
  5591. LATFINV : longWord;
  5592. ODCFbits : TPORTF_ODCF;
  5593. ODCF : longWord;
  5594. ODCFCLR : longWord;
  5595. ODCFSET : longWord;
  5596. ODCFINV : longWord;
  5597. end;
  5598. TPORTG_TRISG = record
  5599. private
  5600. function getTRISG2 : TBits_1; inline;
  5601. function getTRISG3 : TBits_1; inline;
  5602. function getTRISG6 : TBits_1; inline;
  5603. function getTRISG7 : TBits_1; inline;
  5604. function getTRISG8 : TBits_1; inline;
  5605. function getTRISG9 : TBits_1; inline;
  5606. function getw : TBits_32; inline;
  5607. procedure setTRISG2(thebits : TBits_1); inline;
  5608. procedure setTRISG3(thebits : TBits_1); inline;
  5609. procedure setTRISG6(thebits : TBits_1); inline;
  5610. procedure setTRISG7(thebits : TBits_1); inline;
  5611. procedure setTRISG8(thebits : TBits_1); inline;
  5612. procedure setTRISG9(thebits : TBits_1); inline;
  5613. procedure setw(thebits : TBits_32); inline;
  5614. public
  5615. procedure clearTRISG2; inline;
  5616. procedure clearTRISG3; inline;
  5617. procedure clearTRISG6; inline;
  5618. procedure clearTRISG7; inline;
  5619. procedure clearTRISG8; inline;
  5620. procedure clearTRISG9; inline;
  5621. procedure setTRISG2; inline;
  5622. procedure setTRISG3; inline;
  5623. procedure setTRISG6; inline;
  5624. procedure setTRISG7; inline;
  5625. procedure setTRISG8; inline;
  5626. procedure setTRISG9; inline;
  5627. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  5628. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  5629. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  5630. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  5631. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  5632. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  5633. property w : TBits_32 read getw write setw;
  5634. end;
  5635. TPORTG_PORTG = record
  5636. private
  5637. function getRG2 : TBits_1; inline;
  5638. function getRG3 : TBits_1; inline;
  5639. function getRG6 : TBits_1; inline;
  5640. function getRG7 : TBits_1; inline;
  5641. function getRG8 : TBits_1; inline;
  5642. function getRG9 : TBits_1; inline;
  5643. function getw : TBits_32; inline;
  5644. procedure setRG2(thebits : TBits_1); inline;
  5645. procedure setRG3(thebits : TBits_1); inline;
  5646. procedure setRG6(thebits : TBits_1); inline;
  5647. procedure setRG7(thebits : TBits_1); inline;
  5648. procedure setRG8(thebits : TBits_1); inline;
  5649. procedure setRG9(thebits : TBits_1); inline;
  5650. procedure setw(thebits : TBits_32); inline;
  5651. public
  5652. procedure clearRG2; inline;
  5653. procedure clearRG3; inline;
  5654. procedure clearRG6; inline;
  5655. procedure clearRG7; inline;
  5656. procedure clearRG8; inline;
  5657. procedure clearRG9; inline;
  5658. procedure setRG2; inline;
  5659. procedure setRG3; inline;
  5660. procedure setRG6; inline;
  5661. procedure setRG7; inline;
  5662. procedure setRG8; inline;
  5663. procedure setRG9; inline;
  5664. property RG2 : TBits_1 read getRG2 write setRG2;
  5665. property RG3 : TBits_1 read getRG3 write setRG3;
  5666. property RG6 : TBits_1 read getRG6 write setRG6;
  5667. property RG7 : TBits_1 read getRG7 write setRG7;
  5668. property RG8 : TBits_1 read getRG8 write setRG8;
  5669. property RG9 : TBits_1 read getRG9 write setRG9;
  5670. property w : TBits_32 read getw write setw;
  5671. end;
  5672. TPortG_bits=(RG2=2,RG3=3,RG6=6,RG7=7,RG8=8,RG9=9);
  5673. TPortG_bitset = set of TPortG_bits;
  5674. TPORTG_LATG = record
  5675. private
  5676. function getLATG2 : TBits_1; inline;
  5677. function getLATG3 : TBits_1; inline;
  5678. function getLATG6 : TBits_1; inline;
  5679. function getLATG7 : TBits_1; inline;
  5680. function getLATG8 : TBits_1; inline;
  5681. function getLATG9 : TBits_1; inline;
  5682. function getw : TBits_32; inline;
  5683. procedure setLATG2(thebits : TBits_1); inline;
  5684. procedure setLATG3(thebits : TBits_1); inline;
  5685. procedure setLATG6(thebits : TBits_1); inline;
  5686. procedure setLATG7(thebits : TBits_1); inline;
  5687. procedure setLATG8(thebits : TBits_1); inline;
  5688. procedure setLATG9(thebits : TBits_1); inline;
  5689. procedure setw(thebits : TBits_32); inline;
  5690. public
  5691. procedure clearLATG2; inline;
  5692. procedure clearLATG3; inline;
  5693. procedure clearLATG6; inline;
  5694. procedure clearLATG7; inline;
  5695. procedure clearLATG8; inline;
  5696. procedure clearLATG9; inline;
  5697. procedure setLATG2; inline;
  5698. procedure setLATG3; inline;
  5699. procedure setLATG6; inline;
  5700. procedure setLATG7; inline;
  5701. procedure setLATG8; inline;
  5702. procedure setLATG9; inline;
  5703. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  5704. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  5705. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  5706. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  5707. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  5708. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  5709. property w : TBits_32 read getw write setw;
  5710. end;
  5711. TPORTG_ODCG = record
  5712. private
  5713. function getODCG2 : TBits_1; inline;
  5714. function getODCG3 : TBits_1; inline;
  5715. function getODCG6 : TBits_1; inline;
  5716. function getODCG7 : TBits_1; inline;
  5717. function getODCG8 : TBits_1; inline;
  5718. function getODCG9 : TBits_1; inline;
  5719. function getw : TBits_32; inline;
  5720. procedure setODCG2(thebits : TBits_1); inline;
  5721. procedure setODCG3(thebits : TBits_1); inline;
  5722. procedure setODCG6(thebits : TBits_1); inline;
  5723. procedure setODCG7(thebits : TBits_1); inline;
  5724. procedure setODCG8(thebits : TBits_1); inline;
  5725. procedure setODCG9(thebits : TBits_1); inline;
  5726. procedure setw(thebits : TBits_32); inline;
  5727. public
  5728. procedure clearODCG2; inline;
  5729. procedure clearODCG3; inline;
  5730. procedure clearODCG6; inline;
  5731. procedure clearODCG7; inline;
  5732. procedure clearODCG8; inline;
  5733. procedure clearODCG9; inline;
  5734. procedure setODCG2; inline;
  5735. procedure setODCG3; inline;
  5736. procedure setODCG6; inline;
  5737. procedure setODCG7; inline;
  5738. procedure setODCG8; inline;
  5739. procedure setODCG9; inline;
  5740. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  5741. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  5742. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  5743. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  5744. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  5745. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  5746. property w : TBits_32 read getw write setw;
  5747. end;
  5748. TPORTG_CNCON = record
  5749. private
  5750. function getON : TBits_1; inline;
  5751. function getSIDL : TBits_1; inline;
  5752. function getw : TBits_32; inline;
  5753. procedure setON(thebits : TBits_1); inline;
  5754. procedure setSIDL(thebits : TBits_1); inline;
  5755. procedure setw(thebits : TBits_32); inline;
  5756. public
  5757. procedure clearON; inline;
  5758. procedure clearSIDL; inline;
  5759. procedure setON; inline;
  5760. procedure setSIDL; inline;
  5761. property ON : TBits_1 read getON write setON;
  5762. property SIDL : TBits_1 read getSIDL write setSIDL;
  5763. property w : TBits_32 read getw write setw;
  5764. end;
  5765. TPORTG_CNEN = record
  5766. private
  5767. function getCNEN0 : TBits_1; inline;
  5768. function getCNEN1 : TBits_1; inline;
  5769. function getCNEN10 : TBits_1; inline;
  5770. function getCNEN11 : TBits_1; inline;
  5771. function getCNEN12 : TBits_1; inline;
  5772. function getCNEN13 : TBits_1; inline;
  5773. function getCNEN14 : TBits_1; inline;
  5774. function getCNEN15 : TBits_1; inline;
  5775. function getCNEN16 : TBits_1; inline;
  5776. function getCNEN17 : TBits_1; inline;
  5777. function getCNEN18 : TBits_1; inline;
  5778. function getCNEN2 : TBits_1; inline;
  5779. function getCNEN3 : TBits_1; inline;
  5780. function getCNEN4 : TBits_1; inline;
  5781. function getCNEN5 : TBits_1; inline;
  5782. function getCNEN6 : TBits_1; inline;
  5783. function getCNEN7 : TBits_1; inline;
  5784. function getCNEN8 : TBits_1; inline;
  5785. function getCNEN9 : TBits_1; inline;
  5786. function getw : TBits_32; inline;
  5787. procedure setCNEN0(thebits : TBits_1); inline;
  5788. procedure setCNEN1(thebits : TBits_1); inline;
  5789. procedure setCNEN10(thebits : TBits_1); inline;
  5790. procedure setCNEN11(thebits : TBits_1); inline;
  5791. procedure setCNEN12(thebits : TBits_1); inline;
  5792. procedure setCNEN13(thebits : TBits_1); inline;
  5793. procedure setCNEN14(thebits : TBits_1); inline;
  5794. procedure setCNEN15(thebits : TBits_1); inline;
  5795. procedure setCNEN16(thebits : TBits_1); inline;
  5796. procedure setCNEN17(thebits : TBits_1); inline;
  5797. procedure setCNEN18(thebits : TBits_1); inline;
  5798. procedure setCNEN2(thebits : TBits_1); inline;
  5799. procedure setCNEN3(thebits : TBits_1); inline;
  5800. procedure setCNEN4(thebits : TBits_1); inline;
  5801. procedure setCNEN5(thebits : TBits_1); inline;
  5802. procedure setCNEN6(thebits : TBits_1); inline;
  5803. procedure setCNEN7(thebits : TBits_1); inline;
  5804. procedure setCNEN8(thebits : TBits_1); inline;
  5805. procedure setCNEN9(thebits : TBits_1); inline;
  5806. procedure setw(thebits : TBits_32); inline;
  5807. public
  5808. procedure clearCNEN0; inline;
  5809. procedure clearCNEN10; inline;
  5810. procedure clearCNEN11; inline;
  5811. procedure clearCNEN12; inline;
  5812. procedure clearCNEN13; inline;
  5813. procedure clearCNEN14; inline;
  5814. procedure clearCNEN15; inline;
  5815. procedure clearCNEN16; inline;
  5816. procedure clearCNEN17; inline;
  5817. procedure clearCNEN18; inline;
  5818. procedure clearCNEN1; inline;
  5819. procedure clearCNEN2; inline;
  5820. procedure clearCNEN3; inline;
  5821. procedure clearCNEN4; inline;
  5822. procedure clearCNEN5; inline;
  5823. procedure clearCNEN6; inline;
  5824. procedure clearCNEN7; inline;
  5825. procedure clearCNEN8; inline;
  5826. procedure clearCNEN9; inline;
  5827. procedure setCNEN0; inline;
  5828. procedure setCNEN10; inline;
  5829. procedure setCNEN11; inline;
  5830. procedure setCNEN12; inline;
  5831. procedure setCNEN13; inline;
  5832. procedure setCNEN14; inline;
  5833. procedure setCNEN15; inline;
  5834. procedure setCNEN16; inline;
  5835. procedure setCNEN17; inline;
  5836. procedure setCNEN18; inline;
  5837. procedure setCNEN1; inline;
  5838. procedure setCNEN2; inline;
  5839. procedure setCNEN3; inline;
  5840. procedure setCNEN4; inline;
  5841. procedure setCNEN5; inline;
  5842. procedure setCNEN6; inline;
  5843. procedure setCNEN7; inline;
  5844. procedure setCNEN8; inline;
  5845. procedure setCNEN9; inline;
  5846. property CNEN0 : TBits_1 read getCNEN0 write setCNEN0;
  5847. property CNEN1 : TBits_1 read getCNEN1 write setCNEN1;
  5848. property CNEN10 : TBits_1 read getCNEN10 write setCNEN10;
  5849. property CNEN11 : TBits_1 read getCNEN11 write setCNEN11;
  5850. property CNEN12 : TBits_1 read getCNEN12 write setCNEN12;
  5851. property CNEN13 : TBits_1 read getCNEN13 write setCNEN13;
  5852. property CNEN14 : TBits_1 read getCNEN14 write setCNEN14;
  5853. property CNEN15 : TBits_1 read getCNEN15 write setCNEN15;
  5854. property CNEN16 : TBits_1 read getCNEN16 write setCNEN16;
  5855. property CNEN17 : TBits_1 read getCNEN17 write setCNEN17;
  5856. property CNEN18 : TBits_1 read getCNEN18 write setCNEN18;
  5857. property CNEN2 : TBits_1 read getCNEN2 write setCNEN2;
  5858. property CNEN3 : TBits_1 read getCNEN3 write setCNEN3;
  5859. property CNEN4 : TBits_1 read getCNEN4 write setCNEN4;
  5860. property CNEN5 : TBits_1 read getCNEN5 write setCNEN5;
  5861. property CNEN6 : TBits_1 read getCNEN6 write setCNEN6;
  5862. property CNEN7 : TBits_1 read getCNEN7 write setCNEN7;
  5863. property CNEN8 : TBits_1 read getCNEN8 write setCNEN8;
  5864. property CNEN9 : TBits_1 read getCNEN9 write setCNEN9;
  5865. property w : TBits_32 read getw write setw;
  5866. end;
  5867. TPORTG_CNPUE = record
  5868. private
  5869. function getCNPUE0 : TBits_1; inline;
  5870. function getCNPUE1 : TBits_1; inline;
  5871. function getCNPUE10 : TBits_1; inline;
  5872. function getCNPUE11 : TBits_1; inline;
  5873. function getCNPUE12 : TBits_1; inline;
  5874. function getCNPUE13 : TBits_1; inline;
  5875. function getCNPUE14 : TBits_1; inline;
  5876. function getCNPUE15 : TBits_1; inline;
  5877. function getCNPUE16 : TBits_1; inline;
  5878. function getCNPUE17 : TBits_1; inline;
  5879. function getCNPUE18 : TBits_1; inline;
  5880. function getCNPUE2 : TBits_1; inline;
  5881. function getCNPUE3 : TBits_1; inline;
  5882. function getCNPUE4 : TBits_1; inline;
  5883. function getCNPUE5 : TBits_1; inline;
  5884. function getCNPUE6 : TBits_1; inline;
  5885. function getCNPUE7 : TBits_1; inline;
  5886. function getCNPUE8 : TBits_1; inline;
  5887. function getCNPUE9 : TBits_1; inline;
  5888. function getw : TBits_32; inline;
  5889. procedure setCNPUE0(thebits : TBits_1); inline;
  5890. procedure setCNPUE1(thebits : TBits_1); inline;
  5891. procedure setCNPUE10(thebits : TBits_1); inline;
  5892. procedure setCNPUE11(thebits : TBits_1); inline;
  5893. procedure setCNPUE12(thebits : TBits_1); inline;
  5894. procedure setCNPUE13(thebits : TBits_1); inline;
  5895. procedure setCNPUE14(thebits : TBits_1); inline;
  5896. procedure setCNPUE15(thebits : TBits_1); inline;
  5897. procedure setCNPUE16(thebits : TBits_1); inline;
  5898. procedure setCNPUE17(thebits : TBits_1); inline;
  5899. procedure setCNPUE18(thebits : TBits_1); inline;
  5900. procedure setCNPUE2(thebits : TBits_1); inline;
  5901. procedure setCNPUE3(thebits : TBits_1); inline;
  5902. procedure setCNPUE4(thebits : TBits_1); inline;
  5903. procedure setCNPUE5(thebits : TBits_1); inline;
  5904. procedure setCNPUE6(thebits : TBits_1); inline;
  5905. procedure setCNPUE7(thebits : TBits_1); inline;
  5906. procedure setCNPUE8(thebits : TBits_1); inline;
  5907. procedure setCNPUE9(thebits : TBits_1); inline;
  5908. procedure setw(thebits : TBits_32); inline;
  5909. public
  5910. procedure clearCNPUE0; inline;
  5911. procedure clearCNPUE10; inline;
  5912. procedure clearCNPUE11; inline;
  5913. procedure clearCNPUE12; inline;
  5914. procedure clearCNPUE13; inline;
  5915. procedure clearCNPUE14; inline;
  5916. procedure clearCNPUE15; inline;
  5917. procedure clearCNPUE16; inline;
  5918. procedure clearCNPUE17; inline;
  5919. procedure clearCNPUE18; inline;
  5920. procedure clearCNPUE1; inline;
  5921. procedure clearCNPUE2; inline;
  5922. procedure clearCNPUE3; inline;
  5923. procedure clearCNPUE4; inline;
  5924. procedure clearCNPUE5; inline;
  5925. procedure clearCNPUE6; inline;
  5926. procedure clearCNPUE7; inline;
  5927. procedure clearCNPUE8; inline;
  5928. procedure clearCNPUE9; inline;
  5929. procedure setCNPUE0; inline;
  5930. procedure setCNPUE10; inline;
  5931. procedure setCNPUE11; inline;
  5932. procedure setCNPUE12; inline;
  5933. procedure setCNPUE13; inline;
  5934. procedure setCNPUE14; inline;
  5935. procedure setCNPUE15; inline;
  5936. procedure setCNPUE16; inline;
  5937. procedure setCNPUE17; inline;
  5938. procedure setCNPUE18; inline;
  5939. procedure setCNPUE1; inline;
  5940. procedure setCNPUE2; inline;
  5941. procedure setCNPUE3; inline;
  5942. procedure setCNPUE4; inline;
  5943. procedure setCNPUE5; inline;
  5944. procedure setCNPUE6; inline;
  5945. procedure setCNPUE7; inline;
  5946. procedure setCNPUE8; inline;
  5947. procedure setCNPUE9; inline;
  5948. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  5949. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  5950. property CNPUE10 : TBits_1 read getCNPUE10 write setCNPUE10;
  5951. property CNPUE11 : TBits_1 read getCNPUE11 write setCNPUE11;
  5952. property CNPUE12 : TBits_1 read getCNPUE12 write setCNPUE12;
  5953. property CNPUE13 : TBits_1 read getCNPUE13 write setCNPUE13;
  5954. property CNPUE14 : TBits_1 read getCNPUE14 write setCNPUE14;
  5955. property CNPUE15 : TBits_1 read getCNPUE15 write setCNPUE15;
  5956. property CNPUE16 : TBits_1 read getCNPUE16 write setCNPUE16;
  5957. property CNPUE17 : TBits_1 read getCNPUE17 write setCNPUE17;
  5958. property CNPUE18 : TBits_1 read getCNPUE18 write setCNPUE18;
  5959. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  5960. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  5961. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  5962. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  5963. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  5964. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  5965. property CNPUE8 : TBits_1 read getCNPUE8 write setCNPUE8;
  5966. property CNPUE9 : TBits_1 read getCNPUE9 write setCNPUE9;
  5967. property w : TBits_32 read getw write setw;
  5968. end;
  5969. type
  5970. TPORTGRegisters = record
  5971. TRISGbits : TPORTG_TRISG;
  5972. TRISG : longWord;
  5973. TRISGCLR : longWord;
  5974. TRISGSET : longWord;
  5975. TRISGINV : longWord;
  5976. PORTGbits : TPORTG_PORTG;
  5977. PORTG : longWord;
  5978. PORTGCLR : longWord;
  5979. PORTGSET : longWord;
  5980. PORTGINV : longWord;
  5981. LATGbits : TPORTG_LATG;
  5982. LATG : longWord;
  5983. LATGCLR : longWord;
  5984. LATGSET : longWord;
  5985. LATGINV : longWord;
  5986. ODCGbits : TPORTG_ODCG;
  5987. ODCG : longWord;
  5988. ODCGCLR : longWord;
  5989. ODCGSET : longWord;
  5990. ODCGINV : longWord;
  5991. CNCONbits : TPORTG_CNCON;
  5992. CNCON : longWord;
  5993. CNCONCLR : longWord;
  5994. CNCONSET : longWord;
  5995. CNCONINV : longWord;
  5996. CNENbits : TPORTG_CNEN;
  5997. CNEN : longWord;
  5998. CNENCLR : longWord;
  5999. CNENSET : longWord;
  6000. CNENINV : longWord;
  6001. CNPUEbits : TPORTG_CNPUE;
  6002. CNPUE : longWord;
  6003. CNPUECLR : longWord;
  6004. CNPUESET : longWord;
  6005. CNPUEINV : longWord;
  6006. end;
  6007. TDEVCFG_DEVCFG3 = record
  6008. private
  6009. function getUSERID : TBits_16; inline;
  6010. function getw : TBits_32; inline;
  6011. procedure setUSERID(thebits : TBits_16); inline;
  6012. procedure setw(thebits : TBits_32); inline;
  6013. public
  6014. property USERID : TBits_16 read getUSERID write setUSERID;
  6015. property w : TBits_32 read getw write setw;
  6016. end;
  6017. TDEVCFG_DEVCFG2 = record
  6018. private
  6019. function getFPLLIDIV : TBits_3; inline;
  6020. function getFPLLMUL : TBits_3; inline;
  6021. function getFPLLODIV : TBits_3; inline;
  6022. function getw : TBits_32; inline;
  6023. procedure setFPLLIDIV(thebits : TBits_3); inline;
  6024. procedure setFPLLMUL(thebits : TBits_3); inline;
  6025. procedure setFPLLODIV(thebits : TBits_3); inline;
  6026. procedure setw(thebits : TBits_32); inline;
  6027. public
  6028. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  6029. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  6030. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  6031. property w : TBits_32 read getw write setw;
  6032. end;
  6033. TDEVCFG_DEVCFG1 = record
  6034. private
  6035. function getFCKSM : TBits_2; inline;
  6036. function getFNOSC : TBits_3; inline;
  6037. function getFPBDIV : TBits_2; inline;
  6038. function getFSOSCEN : TBits_1; inline;
  6039. function getFWDTEN : TBits_1; inline;
  6040. function getIESO : TBits_1; inline;
  6041. function getOSCIOFNC : TBits_1; inline;
  6042. function getPOSCMOD : TBits_2; inline;
  6043. function getWDTPS : TBits_5; inline;
  6044. function getw : TBits_32; inline;
  6045. procedure setFCKSM(thebits : TBits_2); inline;
  6046. procedure setFNOSC(thebits : TBits_3); inline;
  6047. procedure setFPBDIV(thebits : TBits_2); inline;
  6048. procedure setFSOSCEN(thebits : TBits_1); inline;
  6049. procedure setFWDTEN(thebits : TBits_1); inline;
  6050. procedure setIESO(thebits : TBits_1); inline;
  6051. procedure setOSCIOFNC(thebits : TBits_1); inline;
  6052. procedure setPOSCMOD(thebits : TBits_2); inline;
  6053. procedure setWDTPS(thebits : TBits_5); inline;
  6054. procedure setw(thebits : TBits_32); inline;
  6055. public
  6056. procedure clearFSOSCEN; inline;
  6057. procedure clearFWDTEN; inline;
  6058. procedure clearIESO; inline;
  6059. procedure clearOSCIOFNC; inline;
  6060. procedure setFSOSCEN; inline;
  6061. procedure setFWDTEN; inline;
  6062. procedure setIESO; inline;
  6063. procedure setOSCIOFNC; inline;
  6064. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  6065. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  6066. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  6067. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  6068. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  6069. property IESO : TBits_1 read getIESO write setIESO;
  6070. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  6071. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  6072. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  6073. property w : TBits_32 read getw write setw;
  6074. end;
  6075. TDEVCFG_DEVCFG0 = record
  6076. private
  6077. function getBWP : TBits_1; inline;
  6078. function getCP : TBits_1; inline;
  6079. function getDEBUG : TBits_2; inline;
  6080. function getFDEBUG : TBits_2; inline;
  6081. function getICESEL : TBits_1; inline;
  6082. function getPWP : TBits_8; inline;
  6083. function getw : TBits_32; inline;
  6084. procedure setBWP(thebits : TBits_1); inline;
  6085. procedure setCP(thebits : TBits_1); inline;
  6086. procedure setDEBUG(thebits : TBits_2); inline;
  6087. procedure setFDEBUG(thebits : TBits_2); inline;
  6088. procedure setICESEL(thebits : TBits_1); inline;
  6089. procedure setPWP(thebits : TBits_8); inline;
  6090. procedure setw(thebits : TBits_32); inline;
  6091. public
  6092. procedure clearBWP; inline;
  6093. procedure clearCP; inline;
  6094. procedure clearICESEL; inline;
  6095. procedure setBWP; inline;
  6096. procedure setCP; inline;
  6097. procedure setICESEL; inline;
  6098. property BWP : TBits_1 read getBWP write setBWP;
  6099. property CP : TBits_1 read getCP write setCP;
  6100. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  6101. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  6102. property ICESEL : TBits_1 read getICESEL write setICESEL;
  6103. property PWP : TBits_8 read getPWP write setPWP;
  6104. property w : TBits_32 read getw write setw;
  6105. end;
  6106. const
  6107. _CORE_TIMER_IRQ = 0;
  6108. _CORE_SOFTWARE_0_IRQ = 1;
  6109. _CORE_SOFTWARE_1_IRQ = 2;
  6110. _EXTERNAL_0_IRQ = 3;
  6111. _TIMER_1_IRQ = 4;
  6112. _INPUT_CAPTURE_1_IRQ = 5;
  6113. _OUTPUT_COMPARE_1_IRQ = 6;
  6114. _EXTERNAL_1_IRQ = 7;
  6115. _TIMER_2_IRQ = 8;
  6116. _INPUT_CAPTURE_2_IRQ = 9;
  6117. _OUTPUT_COMPARE_2_IRQ = 10;
  6118. _EXTERNAL_2_IRQ = 11;
  6119. _TIMER_3_IRQ = 12;
  6120. _INPUT_CAPTURE_3_IRQ = 13;
  6121. _OUTPUT_COMPARE_3_IRQ = 14;
  6122. _EXTERNAL_3_IRQ = 15;
  6123. _TIMER_4_IRQ = 16;
  6124. _INPUT_CAPTURE_4_IRQ = 17;
  6125. _OUTPUT_COMPARE_4_IRQ = 18;
  6126. _EXTERNAL_4_IRQ = 19;
  6127. _TIMER_5_IRQ = 20;
  6128. _INPUT_CAPTURE_5_IRQ = 21;
  6129. _OUTPUT_COMPARE_5_IRQ = 22;
  6130. _SPI1_ERR_IRQ = 23;
  6131. _SPI1_TX_IRQ = 24;
  6132. _SPI1_RX_IRQ = 25;
  6133. _UART1_ERR_IRQ = 26;
  6134. _UART1_RX_IRQ = 27;
  6135. _UART1_TX_IRQ = 28;
  6136. _I2C1_BUS_IRQ = 29;
  6137. _I2C1_SLAVE_IRQ = 30;
  6138. _I2C1_MASTER_IRQ = 31;
  6139. _CHANGE_NOTICE_IRQ = 32;
  6140. _ADC_IRQ = 33;
  6141. _PMP_IRQ = 34;
  6142. _COMPARATOR_1_IRQ = 35;
  6143. _COMPARATOR_2_IRQ = 36;
  6144. _SPI2_ERR_IRQ = 37;
  6145. _SPI2_TX_IRQ = 38;
  6146. _SPI2_RX_IRQ = 39;
  6147. _UART2_ERR_IRQ = 40;
  6148. _UART2_RX_IRQ = 41;
  6149. _UART2_TX_IRQ = 42;
  6150. _I2C2_BUS_IRQ = 43;
  6151. _I2C2_SLAVE_IRQ = 44;
  6152. _I2C2_MASTER_IRQ = 45;
  6153. _FAIL_SAFE_MONITOR_IRQ = 46;
  6154. _RTCC_IRQ = 47;
  6155. _FLASH_CONTROL_IRQ = 56;
  6156. const
  6157. ADC10_BASE_ADDRESS = $BF809000;
  6158. var
  6159. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  6160. const
  6161. BMX_BASE_ADDRESS = $BF882000;
  6162. var
  6163. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  6164. const
  6165. CFG_BASE_ADDRESS = $BF80F200;
  6166. var
  6167. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  6168. const
  6169. CMP_BASE_ADDRESS = $BF80A000;
  6170. var
  6171. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  6172. const
  6173. CVR_BASE_ADDRESS = $BF809800;
  6174. var
  6175. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  6176. const
  6177. I2C1_BASE_ADDRESS = $BF805000;
  6178. var
  6179. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  6180. const
  6181. I2C2_BASE_ADDRESS = $BF805200;
  6182. var
  6183. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  6184. const
  6185. ICAP1_BASE_ADDRESS = $BF802000;
  6186. var
  6187. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  6188. const
  6189. ICAP2_BASE_ADDRESS = $BF802200;
  6190. var
  6191. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  6192. const
  6193. ICAP3_BASE_ADDRESS = $BF802400;
  6194. var
  6195. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  6196. const
  6197. ICAP4_BASE_ADDRESS = $BF802600;
  6198. var
  6199. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  6200. const
  6201. ICAP5_BASE_ADDRESS = $BF802800;
  6202. var
  6203. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  6204. const
  6205. INT_BASE_ADDRESS = $BF881000;
  6206. var
  6207. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  6208. const
  6209. NVM_BASE_ADDRESS = $BF80F400;
  6210. var
  6211. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  6212. const
  6213. OCMP1_BASE_ADDRESS = $BF803000;
  6214. var
  6215. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  6216. const
  6217. OCMP2_BASE_ADDRESS = $BF803200;
  6218. var
  6219. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  6220. const
  6221. OCMP3_BASE_ADDRESS = $BF803400;
  6222. var
  6223. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  6224. const
  6225. OCMP4_BASE_ADDRESS = $BF803600;
  6226. var
  6227. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  6228. const
  6229. OCMP5_BASE_ADDRESS = $BF803800;
  6230. var
  6231. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  6232. const
  6233. OSC_BASE_ADDRESS = $BF80F000;
  6234. var
  6235. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  6236. const
  6237. PCACHE_BASE_ADDRESS = $BF884000;
  6238. var
  6239. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  6240. const
  6241. PMP_BASE_ADDRESS = $BF807000;
  6242. var
  6243. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  6244. const
  6245. PORTB_BASE_ADDRESS = $BF886040;
  6246. var
  6247. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  6248. const
  6249. PORTC_BASE_ADDRESS = $BF886080;
  6250. var
  6251. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  6252. const
  6253. PORTD_BASE_ADDRESS = $BF8860C0;
  6254. var
  6255. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  6256. const
  6257. PORTE_BASE_ADDRESS = $BF886100;
  6258. var
  6259. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  6260. const
  6261. PORTF_BASE_ADDRESS = $BF886140;
  6262. var
  6263. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  6264. const
  6265. PORTG_BASE_ADDRESS = $BF886180;
  6266. var
  6267. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  6268. const
  6269. RCON_BASE_ADDRESS = $BF80F600;
  6270. var
  6271. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  6272. const
  6273. RTCC_BASE_ADDRESS = $BF800200;
  6274. var
  6275. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  6276. const
  6277. SPI1_BASE_ADDRESS = $BF805800;
  6278. var
  6279. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  6280. const
  6281. SPI2_BASE_ADDRESS = $BF805A00;
  6282. var
  6283. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  6284. const
  6285. TMR1_BASE_ADDRESS = $BF800600;
  6286. var
  6287. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  6288. const
  6289. TMR23_BASE_ADDRESS = $BF800800;
  6290. var
  6291. TMR23 : TTMR23Registers absolute TMR23_BASE_ADDRESS;
  6292. const
  6293. TMR3_BASE_ADDRESS = $BF800A00;
  6294. var
  6295. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  6296. const
  6297. TMR4_BASE_ADDRESS = $BF800C00;
  6298. var
  6299. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  6300. const
  6301. TMR5_BASE_ADDRESS = $BF800E00;
  6302. var
  6303. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  6304. const
  6305. UART1_BASE_ADDRESS = $BF806000;
  6306. var
  6307. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  6308. const
  6309. UART2_BASE_ADDRESS = $BF806200;
  6310. var
  6311. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  6312. const
  6313. WDT_BASE_ADDRESS = $BF800000;
  6314. var
  6315. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  6316. const
  6317. _APPI_BASE_ADDRESS = $BF880190;
  6318. var
  6319. _APPI : T_APPIRegisters absolute _APPI_BASE_ADDRESS;
  6320. const
  6321. _APPO_BASE_ADDRESS = $BF880180;
  6322. var
  6323. _APPO : T_APPORegisters absolute _APPO_BASE_ADDRESS;
  6324. const
  6325. _DDPSTAT_BASE_ADDRESS = $BF880140;
  6326. var
  6327. _DDPSTAT : T_DDPSTATRegisters absolute _DDPSTAT_BASE_ADDRESS;
  6328. const
  6329. _STRO_BASE_ADDRESS = $BF880170;
  6330. var
  6331. _STRO : T_STRORegisters absolute _STRO_BASE_ADDRESS;
  6332. implementation
  6333. type
  6334. TDefRegMap = record
  6335. val : longWord;
  6336. clr : longWord;
  6337. &set : longWord;
  6338. inv : longWord;
  6339. end;
  6340. pTDefRegMap = ^TDefRegMap;
  6341. procedure TWDT_WDTCON.setWDTCLR; inline;
  6342. begin
  6343. pTDefRegMap(@Self)^.&set := $00000001;
  6344. end;
  6345. procedure TWDT_WDTCON.clearWDTCLR; inline;
  6346. begin
  6347. pTDefRegMap(@Self)^.clr := $00000001;
  6348. end;
  6349. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  6350. begin
  6351. if thebits = 0 then
  6352. pTDefRegMap(@Self)^.clr := $00000001
  6353. else
  6354. pTDefRegMap(@Self)^.&set := $00000001;
  6355. end;
  6356. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  6357. begin
  6358. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  6359. end;
  6360. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  6361. begin
  6362. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  6363. end;
  6364. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  6365. begin
  6366. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  6367. end;
  6368. procedure TWDT_WDTCON.setON; inline;
  6369. begin
  6370. pTDefRegMap(@Self)^.&set := $00008000;
  6371. end;
  6372. procedure TWDT_WDTCON.clearON; inline;
  6373. begin
  6374. pTDefRegMap(@Self)^.clr := $00008000;
  6375. end;
  6376. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  6377. begin
  6378. if thebits = 0 then
  6379. pTDefRegMap(@Self)^.clr := $00008000
  6380. else
  6381. pTDefRegMap(@Self)^.&set := $00008000;
  6382. end;
  6383. function TWDT_WDTCON.getON : TBits_1; inline;
  6384. begin
  6385. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  6386. end;
  6387. procedure TWDT_WDTCON.setSWDTPS0; inline;
  6388. begin
  6389. pTDefRegMap(@Self)^.&set := $00000004;
  6390. end;
  6391. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  6392. begin
  6393. pTDefRegMap(@Self)^.clr := $00000004;
  6394. end;
  6395. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  6396. begin
  6397. if thebits = 0 then
  6398. pTDefRegMap(@Self)^.clr := $00000004
  6399. else
  6400. pTDefRegMap(@Self)^.&set := $00000004;
  6401. end;
  6402. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  6403. begin
  6404. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  6405. end;
  6406. procedure TWDT_WDTCON.setSWDTPS1; inline;
  6407. begin
  6408. pTDefRegMap(@Self)^.&set := $00000008;
  6409. end;
  6410. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  6411. begin
  6412. pTDefRegMap(@Self)^.clr := $00000008;
  6413. end;
  6414. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  6415. begin
  6416. if thebits = 0 then
  6417. pTDefRegMap(@Self)^.clr := $00000008
  6418. else
  6419. pTDefRegMap(@Self)^.&set := $00000008;
  6420. end;
  6421. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  6422. begin
  6423. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  6424. end;
  6425. procedure TWDT_WDTCON.setSWDTPS2; inline;
  6426. begin
  6427. pTDefRegMap(@Self)^.&set := $00000010;
  6428. end;
  6429. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  6430. begin
  6431. pTDefRegMap(@Self)^.clr := $00000010;
  6432. end;
  6433. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  6434. begin
  6435. if thebits = 0 then
  6436. pTDefRegMap(@Self)^.clr := $00000010
  6437. else
  6438. pTDefRegMap(@Self)^.&set := $00000010;
  6439. end;
  6440. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  6441. begin
  6442. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  6443. end;
  6444. procedure TWDT_WDTCON.setSWDTPS3; inline;
  6445. begin
  6446. pTDefRegMap(@Self)^.&set := $00000020;
  6447. end;
  6448. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  6449. begin
  6450. pTDefRegMap(@Self)^.clr := $00000020;
  6451. end;
  6452. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  6453. begin
  6454. if thebits = 0 then
  6455. pTDefRegMap(@Self)^.clr := $00000020
  6456. else
  6457. pTDefRegMap(@Self)^.&set := $00000020;
  6458. end;
  6459. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  6460. begin
  6461. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  6462. end;
  6463. procedure TWDT_WDTCON.setSWDTPS4; inline;
  6464. begin
  6465. pTDefRegMap(@Self)^.&set := $00000040;
  6466. end;
  6467. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  6468. begin
  6469. pTDefRegMap(@Self)^.clr := $00000040;
  6470. end;
  6471. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  6472. begin
  6473. if thebits = 0 then
  6474. pTDefRegMap(@Self)^.clr := $00000040
  6475. else
  6476. pTDefRegMap(@Self)^.&set := $00000040;
  6477. end;
  6478. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  6479. begin
  6480. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  6481. end;
  6482. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  6483. begin
  6484. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  6485. end;
  6486. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  6487. begin
  6488. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  6489. end;
  6490. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  6491. begin
  6492. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  6493. end;
  6494. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  6495. begin
  6496. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  6497. end;
  6498. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  6499. begin
  6500. pTDefRegMap(@Self)^.val := thebits;
  6501. end;
  6502. function TWDT_WDTCON.getw : TBits_32; inline;
  6503. begin
  6504. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  6505. end;
  6506. procedure TRTCC_RTCCON.setRTCOE; inline;
  6507. begin
  6508. pTDefRegMap(@Self)^.&set := $00000001;
  6509. end;
  6510. procedure TRTCC_RTCCON.clearRTCOE; inline;
  6511. begin
  6512. pTDefRegMap(@Self)^.clr := $00000001;
  6513. end;
  6514. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  6515. begin
  6516. if thebits = 0 then
  6517. pTDefRegMap(@Self)^.clr := $00000001
  6518. else
  6519. pTDefRegMap(@Self)^.&set := $00000001;
  6520. end;
  6521. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  6522. begin
  6523. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  6524. end;
  6525. procedure TRTCC_RTCCON.setHALFSEC; inline;
  6526. begin
  6527. pTDefRegMap(@Self)^.&set := $00000002;
  6528. end;
  6529. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  6530. begin
  6531. pTDefRegMap(@Self)^.clr := $00000002;
  6532. end;
  6533. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  6534. begin
  6535. if thebits = 0 then
  6536. pTDefRegMap(@Self)^.clr := $00000002
  6537. else
  6538. pTDefRegMap(@Self)^.&set := $00000002;
  6539. end;
  6540. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  6541. begin
  6542. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  6543. end;
  6544. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  6545. begin
  6546. pTDefRegMap(@Self)^.&set := $00000004;
  6547. end;
  6548. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  6549. begin
  6550. pTDefRegMap(@Self)^.clr := $00000004;
  6551. end;
  6552. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  6553. begin
  6554. if thebits = 0 then
  6555. pTDefRegMap(@Self)^.clr := $00000004
  6556. else
  6557. pTDefRegMap(@Self)^.&set := $00000004;
  6558. end;
  6559. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  6560. begin
  6561. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  6562. end;
  6563. procedure TRTCC_RTCCON.setRTCWREN; inline;
  6564. begin
  6565. pTDefRegMap(@Self)^.&set := $00000008;
  6566. end;
  6567. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  6568. begin
  6569. pTDefRegMap(@Self)^.clr := $00000008;
  6570. end;
  6571. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  6572. begin
  6573. if thebits = 0 then
  6574. pTDefRegMap(@Self)^.clr := $00000008
  6575. else
  6576. pTDefRegMap(@Self)^.&set := $00000008;
  6577. end;
  6578. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  6579. begin
  6580. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  6581. end;
  6582. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  6583. begin
  6584. pTDefRegMap(@Self)^.&set := $00000040;
  6585. end;
  6586. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  6587. begin
  6588. pTDefRegMap(@Self)^.clr := $00000040;
  6589. end;
  6590. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  6591. begin
  6592. if thebits = 0 then
  6593. pTDefRegMap(@Self)^.clr := $00000040
  6594. else
  6595. pTDefRegMap(@Self)^.&set := $00000040;
  6596. end;
  6597. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  6598. begin
  6599. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  6600. end;
  6601. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  6602. begin
  6603. pTDefRegMap(@Self)^.&set := $00000080;
  6604. end;
  6605. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  6606. begin
  6607. pTDefRegMap(@Self)^.clr := $00000080;
  6608. end;
  6609. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  6610. begin
  6611. if thebits = 0 then
  6612. pTDefRegMap(@Self)^.clr := $00000080
  6613. else
  6614. pTDefRegMap(@Self)^.&set := $00000080;
  6615. end;
  6616. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  6617. begin
  6618. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  6619. end;
  6620. procedure TRTCC_RTCCON.setSIDL; inline;
  6621. begin
  6622. pTDefRegMap(@Self)^.&set := $00002000;
  6623. end;
  6624. procedure TRTCC_RTCCON.clearSIDL; inline;
  6625. begin
  6626. pTDefRegMap(@Self)^.clr := $00002000;
  6627. end;
  6628. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  6629. begin
  6630. if thebits = 0 then
  6631. pTDefRegMap(@Self)^.clr := $00002000
  6632. else
  6633. pTDefRegMap(@Self)^.&set := $00002000;
  6634. end;
  6635. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  6636. begin
  6637. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  6638. end;
  6639. procedure TRTCC_RTCCON.setON; inline;
  6640. begin
  6641. pTDefRegMap(@Self)^.&set := $00008000;
  6642. end;
  6643. procedure TRTCC_RTCCON.clearON; inline;
  6644. begin
  6645. pTDefRegMap(@Self)^.clr := $00008000;
  6646. end;
  6647. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  6648. begin
  6649. if thebits = 0 then
  6650. pTDefRegMap(@Self)^.clr := $00008000
  6651. else
  6652. pTDefRegMap(@Self)^.&set := $00008000;
  6653. end;
  6654. function TRTCC_RTCCON.getON : TBits_1; inline;
  6655. begin
  6656. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  6657. end;
  6658. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  6659. begin
  6660. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  6661. end;
  6662. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  6663. begin
  6664. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  6665. end;
  6666. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  6667. begin
  6668. pTDefRegMap(@Self)^.val := thebits;
  6669. end;
  6670. function TRTCC_RTCCON.getw : TBits_32; inline;
  6671. begin
  6672. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  6673. end;
  6674. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  6675. begin
  6676. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  6677. end;
  6678. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  6679. begin
  6680. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  6681. end;
  6682. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  6683. begin
  6684. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  6685. end;
  6686. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  6687. begin
  6688. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  6689. end;
  6690. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  6691. begin
  6692. pTDefRegMap(@Self)^.&set := $00001000;
  6693. end;
  6694. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  6695. begin
  6696. pTDefRegMap(@Self)^.clr := $00001000;
  6697. end;
  6698. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  6699. begin
  6700. if thebits = 0 then
  6701. pTDefRegMap(@Self)^.clr := $00001000
  6702. else
  6703. pTDefRegMap(@Self)^.&set := $00001000;
  6704. end;
  6705. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  6706. begin
  6707. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  6708. end;
  6709. procedure TRTCC_RTCALRM.setPIV; inline;
  6710. begin
  6711. pTDefRegMap(@Self)^.&set := $00002000;
  6712. end;
  6713. procedure TRTCC_RTCALRM.clearPIV; inline;
  6714. begin
  6715. pTDefRegMap(@Self)^.clr := $00002000;
  6716. end;
  6717. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  6718. begin
  6719. if thebits = 0 then
  6720. pTDefRegMap(@Self)^.clr := $00002000
  6721. else
  6722. pTDefRegMap(@Self)^.&set := $00002000;
  6723. end;
  6724. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  6725. begin
  6726. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  6727. end;
  6728. procedure TRTCC_RTCALRM.setCHIME; inline;
  6729. begin
  6730. pTDefRegMap(@Self)^.&set := $00004000;
  6731. end;
  6732. procedure TRTCC_RTCALRM.clearCHIME; inline;
  6733. begin
  6734. pTDefRegMap(@Self)^.clr := $00004000;
  6735. end;
  6736. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  6737. begin
  6738. if thebits = 0 then
  6739. pTDefRegMap(@Self)^.clr := $00004000
  6740. else
  6741. pTDefRegMap(@Self)^.&set := $00004000;
  6742. end;
  6743. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  6744. begin
  6745. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  6746. end;
  6747. procedure TRTCC_RTCALRM.setALRMEN; inline;
  6748. begin
  6749. pTDefRegMap(@Self)^.&set := $00008000;
  6750. end;
  6751. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  6752. begin
  6753. pTDefRegMap(@Self)^.clr := $00008000;
  6754. end;
  6755. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  6756. begin
  6757. if thebits = 0 then
  6758. pTDefRegMap(@Self)^.clr := $00008000
  6759. else
  6760. pTDefRegMap(@Self)^.&set := $00008000;
  6761. end;
  6762. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  6763. begin
  6764. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  6765. end;
  6766. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  6767. begin
  6768. pTDefRegMap(@Self)^.val := thebits;
  6769. end;
  6770. function TRTCC_RTCALRM.getw : TBits_32; inline;
  6771. begin
  6772. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  6773. end;
  6774. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  6775. begin
  6776. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  6777. end;
  6778. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  6779. begin
  6780. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  6781. end;
  6782. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  6783. begin
  6784. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  6785. end;
  6786. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  6787. begin
  6788. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  6789. end;
  6790. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  6791. begin
  6792. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  6793. end;
  6794. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  6795. begin
  6796. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  6797. end;
  6798. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  6799. begin
  6800. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  6801. end;
  6802. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  6803. begin
  6804. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  6805. end;
  6806. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  6807. begin
  6808. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  6809. end;
  6810. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  6811. begin
  6812. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  6813. end;
  6814. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  6815. begin
  6816. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  6817. end;
  6818. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  6819. begin
  6820. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  6821. end;
  6822. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  6823. begin
  6824. pTDefRegMap(@Self)^.val := thebits;
  6825. end;
  6826. function TRTCC_RTCTIME.getw : TBits_32; inline;
  6827. begin
  6828. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  6829. end;
  6830. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  6831. begin
  6832. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  6833. end;
  6834. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  6835. begin
  6836. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  6837. end;
  6838. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  6839. begin
  6840. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  6841. end;
  6842. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  6843. begin
  6844. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  6845. end;
  6846. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  6847. begin
  6848. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  6849. end;
  6850. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  6851. begin
  6852. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  6853. end;
  6854. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  6855. begin
  6856. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  6857. end;
  6858. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  6859. begin
  6860. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  6861. end;
  6862. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  6863. begin
  6864. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  6865. end;
  6866. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  6867. begin
  6868. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  6869. end;
  6870. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  6871. begin
  6872. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  6873. end;
  6874. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  6875. begin
  6876. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  6877. end;
  6878. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  6879. begin
  6880. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  6881. end;
  6882. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  6883. begin
  6884. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  6885. end;
  6886. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  6887. begin
  6888. pTDefRegMap(@Self)^.val := thebits;
  6889. end;
  6890. function TRTCC_RTCDATE.getw : TBits_32; inline;
  6891. begin
  6892. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  6893. end;
  6894. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  6895. begin
  6896. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  6897. end;
  6898. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  6899. begin
  6900. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  6901. end;
  6902. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  6903. begin
  6904. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  6905. end;
  6906. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  6907. begin
  6908. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  6909. end;
  6910. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  6911. begin
  6912. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  6913. end;
  6914. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  6915. begin
  6916. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  6917. end;
  6918. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  6919. begin
  6920. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  6921. end;
  6922. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  6923. begin
  6924. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  6925. end;
  6926. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  6927. begin
  6928. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  6929. end;
  6930. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  6931. begin
  6932. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  6933. end;
  6934. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  6935. begin
  6936. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  6937. end;
  6938. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  6939. begin
  6940. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  6941. end;
  6942. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  6943. begin
  6944. pTDefRegMap(@Self)^.val := thebits;
  6945. end;
  6946. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  6947. begin
  6948. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  6949. end;
  6950. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  6951. begin
  6952. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  6953. end;
  6954. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  6955. begin
  6956. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  6957. end;
  6958. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  6959. begin
  6960. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  6961. end;
  6962. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  6963. begin
  6964. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  6965. end;
  6966. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  6967. begin
  6968. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  6969. end;
  6970. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  6971. begin
  6972. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  6973. end;
  6974. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  6975. begin
  6976. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  6977. end;
  6978. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  6979. begin
  6980. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  6981. end;
  6982. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  6983. begin
  6984. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  6985. end;
  6986. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  6987. begin
  6988. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  6989. end;
  6990. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  6991. begin
  6992. pTDefRegMap(@Self)^.val := thebits;
  6993. end;
  6994. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  6995. begin
  6996. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  6997. end;
  6998. procedure TTMR1_T1CON.setTCS; inline;
  6999. begin
  7000. pTDefRegMap(@Self)^.&set := $00000002;
  7001. end;
  7002. procedure TTMR1_T1CON.clearTCS; inline;
  7003. begin
  7004. pTDefRegMap(@Self)^.clr := $00000002;
  7005. end;
  7006. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  7007. begin
  7008. if thebits = 0 then
  7009. pTDefRegMap(@Self)^.clr := $00000002
  7010. else
  7011. pTDefRegMap(@Self)^.&set := $00000002;
  7012. end;
  7013. function TTMR1_T1CON.getTCS : TBits_1; inline;
  7014. begin
  7015. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  7016. end;
  7017. procedure TTMR1_T1CON.setTSYNC; inline;
  7018. begin
  7019. pTDefRegMap(@Self)^.&set := $00000004;
  7020. end;
  7021. procedure TTMR1_T1CON.clearTSYNC; inline;
  7022. begin
  7023. pTDefRegMap(@Self)^.clr := $00000004;
  7024. end;
  7025. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  7026. begin
  7027. if thebits = 0 then
  7028. pTDefRegMap(@Self)^.clr := $00000004
  7029. else
  7030. pTDefRegMap(@Self)^.&set := $00000004;
  7031. end;
  7032. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  7033. begin
  7034. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  7035. end;
  7036. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  7037. begin
  7038. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  7039. end;
  7040. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  7041. begin
  7042. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  7043. end;
  7044. procedure TTMR1_T1CON.setTGATE; inline;
  7045. begin
  7046. pTDefRegMap(@Self)^.&set := $00000080;
  7047. end;
  7048. procedure TTMR1_T1CON.clearTGATE; inline;
  7049. begin
  7050. pTDefRegMap(@Self)^.clr := $00000080;
  7051. end;
  7052. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  7053. begin
  7054. if thebits = 0 then
  7055. pTDefRegMap(@Self)^.clr := $00000080
  7056. else
  7057. pTDefRegMap(@Self)^.&set := $00000080;
  7058. end;
  7059. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  7060. begin
  7061. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  7062. end;
  7063. procedure TTMR1_T1CON.setTWIP; inline;
  7064. begin
  7065. pTDefRegMap(@Self)^.&set := $00000800;
  7066. end;
  7067. procedure TTMR1_T1CON.clearTWIP; inline;
  7068. begin
  7069. pTDefRegMap(@Self)^.clr := $00000800;
  7070. end;
  7071. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  7072. begin
  7073. if thebits = 0 then
  7074. pTDefRegMap(@Self)^.clr := $00000800
  7075. else
  7076. pTDefRegMap(@Self)^.&set := $00000800;
  7077. end;
  7078. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  7079. begin
  7080. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  7081. end;
  7082. procedure TTMR1_T1CON.setTWDIS; inline;
  7083. begin
  7084. pTDefRegMap(@Self)^.&set := $00001000;
  7085. end;
  7086. procedure TTMR1_T1CON.clearTWDIS; inline;
  7087. begin
  7088. pTDefRegMap(@Self)^.clr := $00001000;
  7089. end;
  7090. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  7091. begin
  7092. if thebits = 0 then
  7093. pTDefRegMap(@Self)^.clr := $00001000
  7094. else
  7095. pTDefRegMap(@Self)^.&set := $00001000;
  7096. end;
  7097. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  7098. begin
  7099. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  7100. end;
  7101. procedure TTMR1_T1CON.setSIDL; inline;
  7102. begin
  7103. pTDefRegMap(@Self)^.&set := $00002000;
  7104. end;
  7105. procedure TTMR1_T1CON.clearSIDL; inline;
  7106. begin
  7107. pTDefRegMap(@Self)^.clr := $00002000;
  7108. end;
  7109. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  7110. begin
  7111. if thebits = 0 then
  7112. pTDefRegMap(@Self)^.clr := $00002000
  7113. else
  7114. pTDefRegMap(@Self)^.&set := $00002000;
  7115. end;
  7116. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  7117. begin
  7118. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7119. end;
  7120. procedure TTMR1_T1CON.setON; inline;
  7121. begin
  7122. pTDefRegMap(@Self)^.&set := $00008000;
  7123. end;
  7124. procedure TTMR1_T1CON.clearON; inline;
  7125. begin
  7126. pTDefRegMap(@Self)^.clr := $00008000;
  7127. end;
  7128. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  7129. begin
  7130. if thebits = 0 then
  7131. pTDefRegMap(@Self)^.clr := $00008000
  7132. else
  7133. pTDefRegMap(@Self)^.&set := $00008000;
  7134. end;
  7135. function TTMR1_T1CON.getON : TBits_1; inline;
  7136. begin
  7137. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7138. end;
  7139. procedure TTMR1_T1CON.setTCKPS0; inline;
  7140. begin
  7141. pTDefRegMap(@Self)^.&set := $00000010;
  7142. end;
  7143. procedure TTMR1_T1CON.clearTCKPS0; inline;
  7144. begin
  7145. pTDefRegMap(@Self)^.clr := $00000010;
  7146. end;
  7147. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  7148. begin
  7149. if thebits = 0 then
  7150. pTDefRegMap(@Self)^.clr := $00000010
  7151. else
  7152. pTDefRegMap(@Self)^.&set := $00000010;
  7153. end;
  7154. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  7155. begin
  7156. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  7157. end;
  7158. procedure TTMR1_T1CON.setTCKPS1; inline;
  7159. begin
  7160. pTDefRegMap(@Self)^.&set := $00000020;
  7161. end;
  7162. procedure TTMR1_T1CON.clearTCKPS1; inline;
  7163. begin
  7164. pTDefRegMap(@Self)^.clr := $00000020;
  7165. end;
  7166. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  7167. begin
  7168. if thebits = 0 then
  7169. pTDefRegMap(@Self)^.clr := $00000020
  7170. else
  7171. pTDefRegMap(@Self)^.&set := $00000020;
  7172. end;
  7173. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  7174. begin
  7175. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  7176. end;
  7177. procedure TTMR1_T1CON.setTSIDL; inline;
  7178. begin
  7179. pTDefRegMap(@Self)^.&set := $00002000;
  7180. end;
  7181. procedure TTMR1_T1CON.clearTSIDL; inline;
  7182. begin
  7183. pTDefRegMap(@Self)^.clr := $00002000;
  7184. end;
  7185. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  7186. begin
  7187. if thebits = 0 then
  7188. pTDefRegMap(@Self)^.clr := $00002000
  7189. else
  7190. pTDefRegMap(@Self)^.&set := $00002000;
  7191. end;
  7192. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  7193. begin
  7194. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7195. end;
  7196. procedure TTMR1_T1CON.setTON; inline;
  7197. begin
  7198. pTDefRegMap(@Self)^.&set := $00008000;
  7199. end;
  7200. procedure TTMR1_T1CON.clearTON; inline;
  7201. begin
  7202. pTDefRegMap(@Self)^.clr := $00008000;
  7203. end;
  7204. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  7205. begin
  7206. if thebits = 0 then
  7207. pTDefRegMap(@Self)^.clr := $00008000
  7208. else
  7209. pTDefRegMap(@Self)^.&set := $00008000;
  7210. end;
  7211. function TTMR1_T1CON.getTON : TBits_1; inline;
  7212. begin
  7213. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7214. end;
  7215. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  7216. begin
  7217. pTDefRegMap(@Self)^.val := thebits;
  7218. end;
  7219. function TTMR1_T1CON.getw : TBits_32; inline;
  7220. begin
  7221. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7222. end;
  7223. procedure TTMR23_T2CON.setTCS; inline;
  7224. begin
  7225. pTDefRegMap(@Self)^.&set := $00000002;
  7226. end;
  7227. procedure TTMR23_T2CON.clearTCS; inline;
  7228. begin
  7229. pTDefRegMap(@Self)^.clr := $00000002;
  7230. end;
  7231. procedure TTMR23_T2CON.setTCS(thebits : TBits_1); inline;
  7232. begin
  7233. if thebits = 0 then
  7234. pTDefRegMap(@Self)^.clr := $00000002
  7235. else
  7236. pTDefRegMap(@Self)^.&set := $00000002;
  7237. end;
  7238. function TTMR23_T2CON.getTCS : TBits_1; inline;
  7239. begin
  7240. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  7241. end;
  7242. procedure TTMR23_T2CON.setT32; inline;
  7243. begin
  7244. pTDefRegMap(@Self)^.&set := $00000008;
  7245. end;
  7246. procedure TTMR23_T2CON.clearT32; inline;
  7247. begin
  7248. pTDefRegMap(@Self)^.clr := $00000008;
  7249. end;
  7250. procedure TTMR23_T2CON.setT32(thebits : TBits_1); inline;
  7251. begin
  7252. if thebits = 0 then
  7253. pTDefRegMap(@Self)^.clr := $00000008
  7254. else
  7255. pTDefRegMap(@Self)^.&set := $00000008;
  7256. end;
  7257. function TTMR23_T2CON.getT32 : TBits_1; inline;
  7258. begin
  7259. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  7260. end;
  7261. procedure TTMR23_T2CON.setTCKPS(thebits : TBits_3); inline;
  7262. begin
  7263. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  7264. end;
  7265. function TTMR23_T2CON.getTCKPS : TBits_3; inline;
  7266. begin
  7267. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  7268. end;
  7269. procedure TTMR23_T2CON.setTGATE; inline;
  7270. begin
  7271. pTDefRegMap(@Self)^.&set := $00000080;
  7272. end;
  7273. procedure TTMR23_T2CON.clearTGATE; inline;
  7274. begin
  7275. pTDefRegMap(@Self)^.clr := $00000080;
  7276. end;
  7277. procedure TTMR23_T2CON.setTGATE(thebits : TBits_1); inline;
  7278. begin
  7279. if thebits = 0 then
  7280. pTDefRegMap(@Self)^.clr := $00000080
  7281. else
  7282. pTDefRegMap(@Self)^.&set := $00000080;
  7283. end;
  7284. function TTMR23_T2CON.getTGATE : TBits_1; inline;
  7285. begin
  7286. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  7287. end;
  7288. procedure TTMR23_T2CON.setSIDL; inline;
  7289. begin
  7290. pTDefRegMap(@Self)^.&set := $00002000;
  7291. end;
  7292. procedure TTMR23_T2CON.clearSIDL; inline;
  7293. begin
  7294. pTDefRegMap(@Self)^.clr := $00002000;
  7295. end;
  7296. procedure TTMR23_T2CON.setSIDL(thebits : TBits_1); inline;
  7297. begin
  7298. if thebits = 0 then
  7299. pTDefRegMap(@Self)^.clr := $00002000
  7300. else
  7301. pTDefRegMap(@Self)^.&set := $00002000;
  7302. end;
  7303. function TTMR23_T2CON.getSIDL : TBits_1; inline;
  7304. begin
  7305. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7306. end;
  7307. procedure TTMR23_T2CON.setON; inline;
  7308. begin
  7309. pTDefRegMap(@Self)^.&set := $00008000;
  7310. end;
  7311. procedure TTMR23_T2CON.clearON; inline;
  7312. begin
  7313. pTDefRegMap(@Self)^.clr := $00008000;
  7314. end;
  7315. procedure TTMR23_T2CON.setON(thebits : TBits_1); inline;
  7316. begin
  7317. if thebits = 0 then
  7318. pTDefRegMap(@Self)^.clr := $00008000
  7319. else
  7320. pTDefRegMap(@Self)^.&set := $00008000;
  7321. end;
  7322. function TTMR23_T2CON.getON : TBits_1; inline;
  7323. begin
  7324. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7325. end;
  7326. procedure TTMR23_T2CON.setTCKPS0; inline;
  7327. begin
  7328. pTDefRegMap(@Self)^.&set := $00000010;
  7329. end;
  7330. procedure TTMR23_T2CON.clearTCKPS0; inline;
  7331. begin
  7332. pTDefRegMap(@Self)^.clr := $00000010;
  7333. end;
  7334. procedure TTMR23_T2CON.setTCKPS0(thebits : TBits_1); inline;
  7335. begin
  7336. if thebits = 0 then
  7337. pTDefRegMap(@Self)^.clr := $00000010
  7338. else
  7339. pTDefRegMap(@Self)^.&set := $00000010;
  7340. end;
  7341. function TTMR23_T2CON.getTCKPS0 : TBits_1; inline;
  7342. begin
  7343. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  7344. end;
  7345. procedure TTMR23_T2CON.setTCKPS1; inline;
  7346. begin
  7347. pTDefRegMap(@Self)^.&set := $00000020;
  7348. end;
  7349. procedure TTMR23_T2CON.clearTCKPS1; inline;
  7350. begin
  7351. pTDefRegMap(@Self)^.clr := $00000020;
  7352. end;
  7353. procedure TTMR23_T2CON.setTCKPS1(thebits : TBits_1); inline;
  7354. begin
  7355. if thebits = 0 then
  7356. pTDefRegMap(@Self)^.clr := $00000020
  7357. else
  7358. pTDefRegMap(@Self)^.&set := $00000020;
  7359. end;
  7360. function TTMR23_T2CON.getTCKPS1 : TBits_1; inline;
  7361. begin
  7362. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  7363. end;
  7364. procedure TTMR23_T2CON.setTCKPS2; inline;
  7365. begin
  7366. pTDefRegMap(@Self)^.&set := $00000040;
  7367. end;
  7368. procedure TTMR23_T2CON.clearTCKPS2; inline;
  7369. begin
  7370. pTDefRegMap(@Self)^.clr := $00000040;
  7371. end;
  7372. procedure TTMR23_T2CON.setTCKPS2(thebits : TBits_1); inline;
  7373. begin
  7374. if thebits = 0 then
  7375. pTDefRegMap(@Self)^.clr := $00000040
  7376. else
  7377. pTDefRegMap(@Self)^.&set := $00000040;
  7378. end;
  7379. function TTMR23_T2CON.getTCKPS2 : TBits_1; inline;
  7380. begin
  7381. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  7382. end;
  7383. procedure TTMR23_T2CON.setTSIDL; inline;
  7384. begin
  7385. pTDefRegMap(@Self)^.&set := $00002000;
  7386. end;
  7387. procedure TTMR23_T2CON.clearTSIDL; inline;
  7388. begin
  7389. pTDefRegMap(@Self)^.clr := $00002000;
  7390. end;
  7391. procedure TTMR23_T2CON.setTSIDL(thebits : TBits_1); inline;
  7392. begin
  7393. if thebits = 0 then
  7394. pTDefRegMap(@Self)^.clr := $00002000
  7395. else
  7396. pTDefRegMap(@Self)^.&set := $00002000;
  7397. end;
  7398. function TTMR23_T2CON.getTSIDL : TBits_1; inline;
  7399. begin
  7400. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7401. end;
  7402. procedure TTMR23_T2CON.setTON; inline;
  7403. begin
  7404. pTDefRegMap(@Self)^.&set := $00008000;
  7405. end;
  7406. procedure TTMR23_T2CON.clearTON; inline;
  7407. begin
  7408. pTDefRegMap(@Self)^.clr := $00008000;
  7409. end;
  7410. procedure TTMR23_T2CON.setTON(thebits : TBits_1); inline;
  7411. begin
  7412. if thebits = 0 then
  7413. pTDefRegMap(@Self)^.clr := $00008000
  7414. else
  7415. pTDefRegMap(@Self)^.&set := $00008000;
  7416. end;
  7417. function TTMR23_T2CON.getTON : TBits_1; inline;
  7418. begin
  7419. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7420. end;
  7421. procedure TTMR23_T2CON.setw(thebits : TBits_32); inline;
  7422. begin
  7423. pTDefRegMap(@Self)^.val := thebits;
  7424. end;
  7425. function TTMR23_T2CON.getw : TBits_32; inline;
  7426. begin
  7427. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7428. end;
  7429. procedure TTMR3_T3CON.setTCS; inline;
  7430. begin
  7431. pTDefRegMap(@Self)^.&set := $00000002;
  7432. end;
  7433. procedure TTMR3_T3CON.clearTCS; inline;
  7434. begin
  7435. pTDefRegMap(@Self)^.clr := $00000002;
  7436. end;
  7437. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  7438. begin
  7439. if thebits = 0 then
  7440. pTDefRegMap(@Self)^.clr := $00000002
  7441. else
  7442. pTDefRegMap(@Self)^.&set := $00000002;
  7443. end;
  7444. function TTMR3_T3CON.getTCS : TBits_1; inline;
  7445. begin
  7446. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  7447. end;
  7448. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  7449. begin
  7450. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  7451. end;
  7452. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  7453. begin
  7454. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  7455. end;
  7456. procedure TTMR3_T3CON.setTGATE; inline;
  7457. begin
  7458. pTDefRegMap(@Self)^.&set := $00000080;
  7459. end;
  7460. procedure TTMR3_T3CON.clearTGATE; inline;
  7461. begin
  7462. pTDefRegMap(@Self)^.clr := $00000080;
  7463. end;
  7464. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  7465. begin
  7466. if thebits = 0 then
  7467. pTDefRegMap(@Self)^.clr := $00000080
  7468. else
  7469. pTDefRegMap(@Self)^.&set := $00000080;
  7470. end;
  7471. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  7472. begin
  7473. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  7474. end;
  7475. procedure TTMR3_T3CON.setSIDL; inline;
  7476. begin
  7477. pTDefRegMap(@Self)^.&set := $00002000;
  7478. end;
  7479. procedure TTMR3_T3CON.clearSIDL; inline;
  7480. begin
  7481. pTDefRegMap(@Self)^.clr := $00002000;
  7482. end;
  7483. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  7484. begin
  7485. if thebits = 0 then
  7486. pTDefRegMap(@Self)^.clr := $00002000
  7487. else
  7488. pTDefRegMap(@Self)^.&set := $00002000;
  7489. end;
  7490. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  7491. begin
  7492. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7493. end;
  7494. procedure TTMR3_T3CON.setON; inline;
  7495. begin
  7496. pTDefRegMap(@Self)^.&set := $00008000;
  7497. end;
  7498. procedure TTMR3_T3CON.clearON; inline;
  7499. begin
  7500. pTDefRegMap(@Self)^.clr := $00008000;
  7501. end;
  7502. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  7503. begin
  7504. if thebits = 0 then
  7505. pTDefRegMap(@Self)^.clr := $00008000
  7506. else
  7507. pTDefRegMap(@Self)^.&set := $00008000;
  7508. end;
  7509. function TTMR3_T3CON.getON : TBits_1; inline;
  7510. begin
  7511. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7512. end;
  7513. procedure TTMR3_T3CON.setTCKPS0; inline;
  7514. begin
  7515. pTDefRegMap(@Self)^.&set := $00000010;
  7516. end;
  7517. procedure TTMR3_T3CON.clearTCKPS0; inline;
  7518. begin
  7519. pTDefRegMap(@Self)^.clr := $00000010;
  7520. end;
  7521. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  7522. begin
  7523. if thebits = 0 then
  7524. pTDefRegMap(@Self)^.clr := $00000010
  7525. else
  7526. pTDefRegMap(@Self)^.&set := $00000010;
  7527. end;
  7528. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  7529. begin
  7530. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  7531. end;
  7532. procedure TTMR3_T3CON.setTCKPS1; inline;
  7533. begin
  7534. pTDefRegMap(@Self)^.&set := $00000020;
  7535. end;
  7536. procedure TTMR3_T3CON.clearTCKPS1; inline;
  7537. begin
  7538. pTDefRegMap(@Self)^.clr := $00000020;
  7539. end;
  7540. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  7541. begin
  7542. if thebits = 0 then
  7543. pTDefRegMap(@Self)^.clr := $00000020
  7544. else
  7545. pTDefRegMap(@Self)^.&set := $00000020;
  7546. end;
  7547. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  7548. begin
  7549. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  7550. end;
  7551. procedure TTMR3_T3CON.setTCKPS2; inline;
  7552. begin
  7553. pTDefRegMap(@Self)^.&set := $00000040;
  7554. end;
  7555. procedure TTMR3_T3CON.clearTCKPS2; inline;
  7556. begin
  7557. pTDefRegMap(@Self)^.clr := $00000040;
  7558. end;
  7559. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  7560. begin
  7561. if thebits = 0 then
  7562. pTDefRegMap(@Self)^.clr := $00000040
  7563. else
  7564. pTDefRegMap(@Self)^.&set := $00000040;
  7565. end;
  7566. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  7567. begin
  7568. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  7569. end;
  7570. procedure TTMR3_T3CON.setTSIDL; inline;
  7571. begin
  7572. pTDefRegMap(@Self)^.&set := $00002000;
  7573. end;
  7574. procedure TTMR3_T3CON.clearTSIDL; inline;
  7575. begin
  7576. pTDefRegMap(@Self)^.clr := $00002000;
  7577. end;
  7578. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  7579. begin
  7580. if thebits = 0 then
  7581. pTDefRegMap(@Self)^.clr := $00002000
  7582. else
  7583. pTDefRegMap(@Self)^.&set := $00002000;
  7584. end;
  7585. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  7586. begin
  7587. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7588. end;
  7589. procedure TTMR3_T3CON.setTON; inline;
  7590. begin
  7591. pTDefRegMap(@Self)^.&set := $00008000;
  7592. end;
  7593. procedure TTMR3_T3CON.clearTON; inline;
  7594. begin
  7595. pTDefRegMap(@Self)^.clr := $00008000;
  7596. end;
  7597. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  7598. begin
  7599. if thebits = 0 then
  7600. pTDefRegMap(@Self)^.clr := $00008000
  7601. else
  7602. pTDefRegMap(@Self)^.&set := $00008000;
  7603. end;
  7604. function TTMR3_T3CON.getTON : TBits_1; inline;
  7605. begin
  7606. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7607. end;
  7608. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  7609. begin
  7610. pTDefRegMap(@Self)^.val := thebits;
  7611. end;
  7612. function TTMR3_T3CON.getw : TBits_32; inline;
  7613. begin
  7614. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7615. end;
  7616. procedure TTMR4_T4CON.setTCS; inline;
  7617. begin
  7618. pTDefRegMap(@Self)^.&set := $00000002;
  7619. end;
  7620. procedure TTMR4_T4CON.clearTCS; inline;
  7621. begin
  7622. pTDefRegMap(@Self)^.clr := $00000002;
  7623. end;
  7624. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  7625. begin
  7626. if thebits = 0 then
  7627. pTDefRegMap(@Self)^.clr := $00000002
  7628. else
  7629. pTDefRegMap(@Self)^.&set := $00000002;
  7630. end;
  7631. function TTMR4_T4CON.getTCS : TBits_1; inline;
  7632. begin
  7633. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  7634. end;
  7635. procedure TTMR4_T4CON.setT32; inline;
  7636. begin
  7637. pTDefRegMap(@Self)^.&set := $00000008;
  7638. end;
  7639. procedure TTMR4_T4CON.clearT32; inline;
  7640. begin
  7641. pTDefRegMap(@Self)^.clr := $00000008;
  7642. end;
  7643. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  7644. begin
  7645. if thebits = 0 then
  7646. pTDefRegMap(@Self)^.clr := $00000008
  7647. else
  7648. pTDefRegMap(@Self)^.&set := $00000008;
  7649. end;
  7650. function TTMR4_T4CON.getT32 : TBits_1; inline;
  7651. begin
  7652. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  7653. end;
  7654. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  7655. begin
  7656. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  7657. end;
  7658. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  7659. begin
  7660. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  7661. end;
  7662. procedure TTMR4_T4CON.setTGATE; inline;
  7663. begin
  7664. pTDefRegMap(@Self)^.&set := $00000080;
  7665. end;
  7666. procedure TTMR4_T4CON.clearTGATE; inline;
  7667. begin
  7668. pTDefRegMap(@Self)^.clr := $00000080;
  7669. end;
  7670. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  7671. begin
  7672. if thebits = 0 then
  7673. pTDefRegMap(@Self)^.clr := $00000080
  7674. else
  7675. pTDefRegMap(@Self)^.&set := $00000080;
  7676. end;
  7677. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  7678. begin
  7679. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  7680. end;
  7681. procedure TTMR4_T4CON.setSIDL; inline;
  7682. begin
  7683. pTDefRegMap(@Self)^.&set := $00002000;
  7684. end;
  7685. procedure TTMR4_T4CON.clearSIDL; inline;
  7686. begin
  7687. pTDefRegMap(@Self)^.clr := $00002000;
  7688. end;
  7689. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  7690. begin
  7691. if thebits = 0 then
  7692. pTDefRegMap(@Self)^.clr := $00002000
  7693. else
  7694. pTDefRegMap(@Self)^.&set := $00002000;
  7695. end;
  7696. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  7697. begin
  7698. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7699. end;
  7700. procedure TTMR4_T4CON.setON; inline;
  7701. begin
  7702. pTDefRegMap(@Self)^.&set := $00008000;
  7703. end;
  7704. procedure TTMR4_T4CON.clearON; inline;
  7705. begin
  7706. pTDefRegMap(@Self)^.clr := $00008000;
  7707. end;
  7708. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  7709. begin
  7710. if thebits = 0 then
  7711. pTDefRegMap(@Self)^.clr := $00008000
  7712. else
  7713. pTDefRegMap(@Self)^.&set := $00008000;
  7714. end;
  7715. function TTMR4_T4CON.getON : TBits_1; inline;
  7716. begin
  7717. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7718. end;
  7719. procedure TTMR4_T4CON.setTCKPS0; inline;
  7720. begin
  7721. pTDefRegMap(@Self)^.&set := $00000010;
  7722. end;
  7723. procedure TTMR4_T4CON.clearTCKPS0; inline;
  7724. begin
  7725. pTDefRegMap(@Self)^.clr := $00000010;
  7726. end;
  7727. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  7728. begin
  7729. if thebits = 0 then
  7730. pTDefRegMap(@Self)^.clr := $00000010
  7731. else
  7732. pTDefRegMap(@Self)^.&set := $00000010;
  7733. end;
  7734. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  7735. begin
  7736. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  7737. end;
  7738. procedure TTMR4_T4CON.setTCKPS1; inline;
  7739. begin
  7740. pTDefRegMap(@Self)^.&set := $00000020;
  7741. end;
  7742. procedure TTMR4_T4CON.clearTCKPS1; inline;
  7743. begin
  7744. pTDefRegMap(@Self)^.clr := $00000020;
  7745. end;
  7746. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  7747. begin
  7748. if thebits = 0 then
  7749. pTDefRegMap(@Self)^.clr := $00000020
  7750. else
  7751. pTDefRegMap(@Self)^.&set := $00000020;
  7752. end;
  7753. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  7754. begin
  7755. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  7756. end;
  7757. procedure TTMR4_T4CON.setTCKPS2; inline;
  7758. begin
  7759. pTDefRegMap(@Self)^.&set := $00000040;
  7760. end;
  7761. procedure TTMR4_T4CON.clearTCKPS2; inline;
  7762. begin
  7763. pTDefRegMap(@Self)^.clr := $00000040;
  7764. end;
  7765. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  7766. begin
  7767. if thebits = 0 then
  7768. pTDefRegMap(@Self)^.clr := $00000040
  7769. else
  7770. pTDefRegMap(@Self)^.&set := $00000040;
  7771. end;
  7772. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  7773. begin
  7774. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  7775. end;
  7776. procedure TTMR4_T4CON.setTSIDL; inline;
  7777. begin
  7778. pTDefRegMap(@Self)^.&set := $00002000;
  7779. end;
  7780. procedure TTMR4_T4CON.clearTSIDL; inline;
  7781. begin
  7782. pTDefRegMap(@Self)^.clr := $00002000;
  7783. end;
  7784. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  7785. begin
  7786. if thebits = 0 then
  7787. pTDefRegMap(@Self)^.clr := $00002000
  7788. else
  7789. pTDefRegMap(@Self)^.&set := $00002000;
  7790. end;
  7791. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  7792. begin
  7793. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7794. end;
  7795. procedure TTMR4_T4CON.setTON; inline;
  7796. begin
  7797. pTDefRegMap(@Self)^.&set := $00008000;
  7798. end;
  7799. procedure TTMR4_T4CON.clearTON; inline;
  7800. begin
  7801. pTDefRegMap(@Self)^.clr := $00008000;
  7802. end;
  7803. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  7804. begin
  7805. if thebits = 0 then
  7806. pTDefRegMap(@Self)^.clr := $00008000
  7807. else
  7808. pTDefRegMap(@Self)^.&set := $00008000;
  7809. end;
  7810. function TTMR4_T4CON.getTON : TBits_1; inline;
  7811. begin
  7812. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7813. end;
  7814. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  7815. begin
  7816. pTDefRegMap(@Self)^.val := thebits;
  7817. end;
  7818. function TTMR4_T4CON.getw : TBits_32; inline;
  7819. begin
  7820. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7821. end;
  7822. procedure TTMR5_T5CON.setTCS; inline;
  7823. begin
  7824. pTDefRegMap(@Self)^.&set := $00000002;
  7825. end;
  7826. procedure TTMR5_T5CON.clearTCS; inline;
  7827. begin
  7828. pTDefRegMap(@Self)^.clr := $00000002;
  7829. end;
  7830. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  7831. begin
  7832. if thebits = 0 then
  7833. pTDefRegMap(@Self)^.clr := $00000002
  7834. else
  7835. pTDefRegMap(@Self)^.&set := $00000002;
  7836. end;
  7837. function TTMR5_T5CON.getTCS : TBits_1; inline;
  7838. begin
  7839. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  7840. end;
  7841. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  7842. begin
  7843. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  7844. end;
  7845. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  7846. begin
  7847. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  7848. end;
  7849. procedure TTMR5_T5CON.setTGATE; inline;
  7850. begin
  7851. pTDefRegMap(@Self)^.&set := $00000080;
  7852. end;
  7853. procedure TTMR5_T5CON.clearTGATE; inline;
  7854. begin
  7855. pTDefRegMap(@Self)^.clr := $00000080;
  7856. end;
  7857. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  7858. begin
  7859. if thebits = 0 then
  7860. pTDefRegMap(@Self)^.clr := $00000080
  7861. else
  7862. pTDefRegMap(@Self)^.&set := $00000080;
  7863. end;
  7864. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  7865. begin
  7866. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  7867. end;
  7868. procedure TTMR5_T5CON.setSIDL; inline;
  7869. begin
  7870. pTDefRegMap(@Self)^.&set := $00002000;
  7871. end;
  7872. procedure TTMR5_T5CON.clearSIDL; inline;
  7873. begin
  7874. pTDefRegMap(@Self)^.clr := $00002000;
  7875. end;
  7876. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  7877. begin
  7878. if thebits = 0 then
  7879. pTDefRegMap(@Self)^.clr := $00002000
  7880. else
  7881. pTDefRegMap(@Self)^.&set := $00002000;
  7882. end;
  7883. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  7884. begin
  7885. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7886. end;
  7887. procedure TTMR5_T5CON.setON; inline;
  7888. begin
  7889. pTDefRegMap(@Self)^.&set := $00008000;
  7890. end;
  7891. procedure TTMR5_T5CON.clearON; inline;
  7892. begin
  7893. pTDefRegMap(@Self)^.clr := $00008000;
  7894. end;
  7895. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  7896. begin
  7897. if thebits = 0 then
  7898. pTDefRegMap(@Self)^.clr := $00008000
  7899. else
  7900. pTDefRegMap(@Self)^.&set := $00008000;
  7901. end;
  7902. function TTMR5_T5CON.getON : TBits_1; inline;
  7903. begin
  7904. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7905. end;
  7906. procedure TTMR5_T5CON.setTCKPS0; inline;
  7907. begin
  7908. pTDefRegMap(@Self)^.&set := $00000010;
  7909. end;
  7910. procedure TTMR5_T5CON.clearTCKPS0; inline;
  7911. begin
  7912. pTDefRegMap(@Self)^.clr := $00000010;
  7913. end;
  7914. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  7915. begin
  7916. if thebits = 0 then
  7917. pTDefRegMap(@Self)^.clr := $00000010
  7918. else
  7919. pTDefRegMap(@Self)^.&set := $00000010;
  7920. end;
  7921. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  7922. begin
  7923. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  7924. end;
  7925. procedure TTMR5_T5CON.setTCKPS1; inline;
  7926. begin
  7927. pTDefRegMap(@Self)^.&set := $00000020;
  7928. end;
  7929. procedure TTMR5_T5CON.clearTCKPS1; inline;
  7930. begin
  7931. pTDefRegMap(@Self)^.clr := $00000020;
  7932. end;
  7933. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  7934. begin
  7935. if thebits = 0 then
  7936. pTDefRegMap(@Self)^.clr := $00000020
  7937. else
  7938. pTDefRegMap(@Self)^.&set := $00000020;
  7939. end;
  7940. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  7941. begin
  7942. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  7943. end;
  7944. procedure TTMR5_T5CON.setTCKPS2; inline;
  7945. begin
  7946. pTDefRegMap(@Self)^.&set := $00000040;
  7947. end;
  7948. procedure TTMR5_T5CON.clearTCKPS2; inline;
  7949. begin
  7950. pTDefRegMap(@Self)^.clr := $00000040;
  7951. end;
  7952. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  7953. begin
  7954. if thebits = 0 then
  7955. pTDefRegMap(@Self)^.clr := $00000040
  7956. else
  7957. pTDefRegMap(@Self)^.&set := $00000040;
  7958. end;
  7959. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  7960. begin
  7961. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  7962. end;
  7963. procedure TTMR5_T5CON.setTSIDL; inline;
  7964. begin
  7965. pTDefRegMap(@Self)^.&set := $00002000;
  7966. end;
  7967. procedure TTMR5_T5CON.clearTSIDL; inline;
  7968. begin
  7969. pTDefRegMap(@Self)^.clr := $00002000;
  7970. end;
  7971. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  7972. begin
  7973. if thebits = 0 then
  7974. pTDefRegMap(@Self)^.clr := $00002000
  7975. else
  7976. pTDefRegMap(@Self)^.&set := $00002000;
  7977. end;
  7978. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  7979. begin
  7980. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7981. end;
  7982. procedure TTMR5_T5CON.setTON; inline;
  7983. begin
  7984. pTDefRegMap(@Self)^.&set := $00008000;
  7985. end;
  7986. procedure TTMR5_T5CON.clearTON; inline;
  7987. begin
  7988. pTDefRegMap(@Self)^.clr := $00008000;
  7989. end;
  7990. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  7991. begin
  7992. if thebits = 0 then
  7993. pTDefRegMap(@Self)^.clr := $00008000
  7994. else
  7995. pTDefRegMap(@Self)^.&set := $00008000;
  7996. end;
  7997. function TTMR5_T5CON.getTON : TBits_1; inline;
  7998. begin
  7999. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8000. end;
  8001. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  8002. begin
  8003. pTDefRegMap(@Self)^.val := thebits;
  8004. end;
  8005. function TTMR5_T5CON.getw : TBits_32; inline;
  8006. begin
  8007. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8008. end;
  8009. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  8010. begin
  8011. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  8012. end;
  8013. function TICAP1_IC1CON.getICM : TBits_3; inline;
  8014. begin
  8015. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  8016. end;
  8017. procedure TICAP1_IC1CON.setICBNE; inline;
  8018. begin
  8019. pTDefRegMap(@Self)^.&set := $00000008;
  8020. end;
  8021. procedure TICAP1_IC1CON.clearICBNE; inline;
  8022. begin
  8023. pTDefRegMap(@Self)^.clr := $00000008;
  8024. end;
  8025. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  8026. begin
  8027. if thebits = 0 then
  8028. pTDefRegMap(@Self)^.clr := $00000008
  8029. else
  8030. pTDefRegMap(@Self)^.&set := $00000008;
  8031. end;
  8032. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  8033. begin
  8034. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8035. end;
  8036. procedure TICAP1_IC1CON.setICOV; inline;
  8037. begin
  8038. pTDefRegMap(@Self)^.&set := $00000010;
  8039. end;
  8040. procedure TICAP1_IC1CON.clearICOV; inline;
  8041. begin
  8042. pTDefRegMap(@Self)^.clr := $00000010;
  8043. end;
  8044. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  8045. begin
  8046. if thebits = 0 then
  8047. pTDefRegMap(@Self)^.clr := $00000010
  8048. else
  8049. pTDefRegMap(@Self)^.&set := $00000010;
  8050. end;
  8051. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  8052. begin
  8053. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8054. end;
  8055. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  8056. begin
  8057. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  8058. end;
  8059. function TICAP1_IC1CON.getICI : TBits_2; inline;
  8060. begin
  8061. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  8062. end;
  8063. procedure TICAP1_IC1CON.setICTMR; inline;
  8064. begin
  8065. pTDefRegMap(@Self)^.&set := $00000080;
  8066. end;
  8067. procedure TICAP1_IC1CON.clearICTMR; inline;
  8068. begin
  8069. pTDefRegMap(@Self)^.clr := $00000080;
  8070. end;
  8071. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  8072. begin
  8073. if thebits = 0 then
  8074. pTDefRegMap(@Self)^.clr := $00000080
  8075. else
  8076. pTDefRegMap(@Self)^.&set := $00000080;
  8077. end;
  8078. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  8079. begin
  8080. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8081. end;
  8082. procedure TICAP1_IC1CON.setC32; inline;
  8083. begin
  8084. pTDefRegMap(@Self)^.&set := $00000100;
  8085. end;
  8086. procedure TICAP1_IC1CON.clearC32; inline;
  8087. begin
  8088. pTDefRegMap(@Self)^.clr := $00000100;
  8089. end;
  8090. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  8091. begin
  8092. if thebits = 0 then
  8093. pTDefRegMap(@Self)^.clr := $00000100
  8094. else
  8095. pTDefRegMap(@Self)^.&set := $00000100;
  8096. end;
  8097. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  8098. begin
  8099. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  8100. end;
  8101. procedure TICAP1_IC1CON.setFEDGE; inline;
  8102. begin
  8103. pTDefRegMap(@Self)^.&set := $00000200;
  8104. end;
  8105. procedure TICAP1_IC1CON.clearFEDGE; inline;
  8106. begin
  8107. pTDefRegMap(@Self)^.clr := $00000200;
  8108. end;
  8109. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  8110. begin
  8111. if thebits = 0 then
  8112. pTDefRegMap(@Self)^.clr := $00000200
  8113. else
  8114. pTDefRegMap(@Self)^.&set := $00000200;
  8115. end;
  8116. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  8117. begin
  8118. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  8119. end;
  8120. procedure TICAP1_IC1CON.setSIDL; inline;
  8121. begin
  8122. pTDefRegMap(@Self)^.&set := $00002000;
  8123. end;
  8124. procedure TICAP1_IC1CON.clearSIDL; inline;
  8125. begin
  8126. pTDefRegMap(@Self)^.clr := $00002000;
  8127. end;
  8128. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  8129. begin
  8130. if thebits = 0 then
  8131. pTDefRegMap(@Self)^.clr := $00002000
  8132. else
  8133. pTDefRegMap(@Self)^.&set := $00002000;
  8134. end;
  8135. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  8136. begin
  8137. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8138. end;
  8139. procedure TICAP1_IC1CON.setON; inline;
  8140. begin
  8141. pTDefRegMap(@Self)^.&set := $00008000;
  8142. end;
  8143. procedure TICAP1_IC1CON.clearON; inline;
  8144. begin
  8145. pTDefRegMap(@Self)^.clr := $00008000;
  8146. end;
  8147. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  8148. begin
  8149. if thebits = 0 then
  8150. pTDefRegMap(@Self)^.clr := $00008000
  8151. else
  8152. pTDefRegMap(@Self)^.&set := $00008000;
  8153. end;
  8154. function TICAP1_IC1CON.getON : TBits_1; inline;
  8155. begin
  8156. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8157. end;
  8158. procedure TICAP1_IC1CON.setICM0; inline;
  8159. begin
  8160. pTDefRegMap(@Self)^.&set := $00000001;
  8161. end;
  8162. procedure TICAP1_IC1CON.clearICM0; inline;
  8163. begin
  8164. pTDefRegMap(@Self)^.clr := $00000001;
  8165. end;
  8166. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  8167. begin
  8168. if thebits = 0 then
  8169. pTDefRegMap(@Self)^.clr := $00000001
  8170. else
  8171. pTDefRegMap(@Self)^.&set := $00000001;
  8172. end;
  8173. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  8174. begin
  8175. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  8176. end;
  8177. procedure TICAP1_IC1CON.setICM1; inline;
  8178. begin
  8179. pTDefRegMap(@Self)^.&set := $00000002;
  8180. end;
  8181. procedure TICAP1_IC1CON.clearICM1; inline;
  8182. begin
  8183. pTDefRegMap(@Self)^.clr := $00000002;
  8184. end;
  8185. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  8186. begin
  8187. if thebits = 0 then
  8188. pTDefRegMap(@Self)^.clr := $00000002
  8189. else
  8190. pTDefRegMap(@Self)^.&set := $00000002;
  8191. end;
  8192. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  8193. begin
  8194. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8195. end;
  8196. procedure TICAP1_IC1CON.setICM2; inline;
  8197. begin
  8198. pTDefRegMap(@Self)^.&set := $00000004;
  8199. end;
  8200. procedure TICAP1_IC1CON.clearICM2; inline;
  8201. begin
  8202. pTDefRegMap(@Self)^.clr := $00000004;
  8203. end;
  8204. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  8205. begin
  8206. if thebits = 0 then
  8207. pTDefRegMap(@Self)^.clr := $00000004
  8208. else
  8209. pTDefRegMap(@Self)^.&set := $00000004;
  8210. end;
  8211. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  8212. begin
  8213. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  8214. end;
  8215. procedure TICAP1_IC1CON.setICI0; inline;
  8216. begin
  8217. pTDefRegMap(@Self)^.&set := $00000020;
  8218. end;
  8219. procedure TICAP1_IC1CON.clearICI0; inline;
  8220. begin
  8221. pTDefRegMap(@Self)^.clr := $00000020;
  8222. end;
  8223. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  8224. begin
  8225. if thebits = 0 then
  8226. pTDefRegMap(@Self)^.clr := $00000020
  8227. else
  8228. pTDefRegMap(@Self)^.&set := $00000020;
  8229. end;
  8230. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  8231. begin
  8232. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8233. end;
  8234. procedure TICAP1_IC1CON.setICI1; inline;
  8235. begin
  8236. pTDefRegMap(@Self)^.&set := $00000040;
  8237. end;
  8238. procedure TICAP1_IC1CON.clearICI1; inline;
  8239. begin
  8240. pTDefRegMap(@Self)^.clr := $00000040;
  8241. end;
  8242. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  8243. begin
  8244. if thebits = 0 then
  8245. pTDefRegMap(@Self)^.clr := $00000040
  8246. else
  8247. pTDefRegMap(@Self)^.&set := $00000040;
  8248. end;
  8249. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  8250. begin
  8251. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8252. end;
  8253. procedure TICAP1_IC1CON.setICSIDL; inline;
  8254. begin
  8255. pTDefRegMap(@Self)^.&set := $00002000;
  8256. end;
  8257. procedure TICAP1_IC1CON.clearICSIDL; inline;
  8258. begin
  8259. pTDefRegMap(@Self)^.clr := $00002000;
  8260. end;
  8261. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  8262. begin
  8263. if thebits = 0 then
  8264. pTDefRegMap(@Self)^.clr := $00002000
  8265. else
  8266. pTDefRegMap(@Self)^.&set := $00002000;
  8267. end;
  8268. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  8269. begin
  8270. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8271. end;
  8272. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  8273. begin
  8274. pTDefRegMap(@Self)^.val := thebits;
  8275. end;
  8276. function TICAP1_IC1CON.getw : TBits_32; inline;
  8277. begin
  8278. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8279. end;
  8280. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  8281. begin
  8282. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  8283. end;
  8284. function TICAP2_IC2CON.getICM : TBits_3; inline;
  8285. begin
  8286. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  8287. end;
  8288. procedure TICAP2_IC2CON.setICBNE; inline;
  8289. begin
  8290. pTDefRegMap(@Self)^.&set := $00000008;
  8291. end;
  8292. procedure TICAP2_IC2CON.clearICBNE; inline;
  8293. begin
  8294. pTDefRegMap(@Self)^.clr := $00000008;
  8295. end;
  8296. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  8297. begin
  8298. if thebits = 0 then
  8299. pTDefRegMap(@Self)^.clr := $00000008
  8300. else
  8301. pTDefRegMap(@Self)^.&set := $00000008;
  8302. end;
  8303. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  8304. begin
  8305. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8306. end;
  8307. procedure TICAP2_IC2CON.setICOV; inline;
  8308. begin
  8309. pTDefRegMap(@Self)^.&set := $00000010;
  8310. end;
  8311. procedure TICAP2_IC2CON.clearICOV; inline;
  8312. begin
  8313. pTDefRegMap(@Self)^.clr := $00000010;
  8314. end;
  8315. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  8316. begin
  8317. if thebits = 0 then
  8318. pTDefRegMap(@Self)^.clr := $00000010
  8319. else
  8320. pTDefRegMap(@Self)^.&set := $00000010;
  8321. end;
  8322. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  8323. begin
  8324. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8325. end;
  8326. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  8327. begin
  8328. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  8329. end;
  8330. function TICAP2_IC2CON.getICI : TBits_2; inline;
  8331. begin
  8332. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  8333. end;
  8334. procedure TICAP2_IC2CON.setICTMR; inline;
  8335. begin
  8336. pTDefRegMap(@Self)^.&set := $00000080;
  8337. end;
  8338. procedure TICAP2_IC2CON.clearICTMR; inline;
  8339. begin
  8340. pTDefRegMap(@Self)^.clr := $00000080;
  8341. end;
  8342. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  8343. begin
  8344. if thebits = 0 then
  8345. pTDefRegMap(@Self)^.clr := $00000080
  8346. else
  8347. pTDefRegMap(@Self)^.&set := $00000080;
  8348. end;
  8349. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  8350. begin
  8351. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8352. end;
  8353. procedure TICAP2_IC2CON.setC32; inline;
  8354. begin
  8355. pTDefRegMap(@Self)^.&set := $00000100;
  8356. end;
  8357. procedure TICAP2_IC2CON.clearC32; inline;
  8358. begin
  8359. pTDefRegMap(@Self)^.clr := $00000100;
  8360. end;
  8361. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  8362. begin
  8363. if thebits = 0 then
  8364. pTDefRegMap(@Self)^.clr := $00000100
  8365. else
  8366. pTDefRegMap(@Self)^.&set := $00000100;
  8367. end;
  8368. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  8369. begin
  8370. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  8371. end;
  8372. procedure TICAP2_IC2CON.setFEDGE; inline;
  8373. begin
  8374. pTDefRegMap(@Self)^.&set := $00000200;
  8375. end;
  8376. procedure TICAP2_IC2CON.clearFEDGE; inline;
  8377. begin
  8378. pTDefRegMap(@Self)^.clr := $00000200;
  8379. end;
  8380. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  8381. begin
  8382. if thebits = 0 then
  8383. pTDefRegMap(@Self)^.clr := $00000200
  8384. else
  8385. pTDefRegMap(@Self)^.&set := $00000200;
  8386. end;
  8387. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  8388. begin
  8389. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  8390. end;
  8391. procedure TICAP2_IC2CON.setSIDL; inline;
  8392. begin
  8393. pTDefRegMap(@Self)^.&set := $00002000;
  8394. end;
  8395. procedure TICAP2_IC2CON.clearSIDL; inline;
  8396. begin
  8397. pTDefRegMap(@Self)^.clr := $00002000;
  8398. end;
  8399. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  8400. begin
  8401. if thebits = 0 then
  8402. pTDefRegMap(@Self)^.clr := $00002000
  8403. else
  8404. pTDefRegMap(@Self)^.&set := $00002000;
  8405. end;
  8406. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  8407. begin
  8408. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8409. end;
  8410. procedure TICAP2_IC2CON.setON; inline;
  8411. begin
  8412. pTDefRegMap(@Self)^.&set := $00008000;
  8413. end;
  8414. procedure TICAP2_IC2CON.clearON; inline;
  8415. begin
  8416. pTDefRegMap(@Self)^.clr := $00008000;
  8417. end;
  8418. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  8419. begin
  8420. if thebits = 0 then
  8421. pTDefRegMap(@Self)^.clr := $00008000
  8422. else
  8423. pTDefRegMap(@Self)^.&set := $00008000;
  8424. end;
  8425. function TICAP2_IC2CON.getON : TBits_1; inline;
  8426. begin
  8427. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8428. end;
  8429. procedure TICAP2_IC2CON.setICM0; inline;
  8430. begin
  8431. pTDefRegMap(@Self)^.&set := $00000001;
  8432. end;
  8433. procedure TICAP2_IC2CON.clearICM0; inline;
  8434. begin
  8435. pTDefRegMap(@Self)^.clr := $00000001;
  8436. end;
  8437. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  8438. begin
  8439. if thebits = 0 then
  8440. pTDefRegMap(@Self)^.clr := $00000001
  8441. else
  8442. pTDefRegMap(@Self)^.&set := $00000001;
  8443. end;
  8444. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  8445. begin
  8446. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  8447. end;
  8448. procedure TICAP2_IC2CON.setICM1; inline;
  8449. begin
  8450. pTDefRegMap(@Self)^.&set := $00000002;
  8451. end;
  8452. procedure TICAP2_IC2CON.clearICM1; inline;
  8453. begin
  8454. pTDefRegMap(@Self)^.clr := $00000002;
  8455. end;
  8456. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  8457. begin
  8458. if thebits = 0 then
  8459. pTDefRegMap(@Self)^.clr := $00000002
  8460. else
  8461. pTDefRegMap(@Self)^.&set := $00000002;
  8462. end;
  8463. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  8464. begin
  8465. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8466. end;
  8467. procedure TICAP2_IC2CON.setICM2; inline;
  8468. begin
  8469. pTDefRegMap(@Self)^.&set := $00000004;
  8470. end;
  8471. procedure TICAP2_IC2CON.clearICM2; inline;
  8472. begin
  8473. pTDefRegMap(@Self)^.clr := $00000004;
  8474. end;
  8475. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  8476. begin
  8477. if thebits = 0 then
  8478. pTDefRegMap(@Self)^.clr := $00000004
  8479. else
  8480. pTDefRegMap(@Self)^.&set := $00000004;
  8481. end;
  8482. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  8483. begin
  8484. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  8485. end;
  8486. procedure TICAP2_IC2CON.setICI0; inline;
  8487. begin
  8488. pTDefRegMap(@Self)^.&set := $00000020;
  8489. end;
  8490. procedure TICAP2_IC2CON.clearICI0; inline;
  8491. begin
  8492. pTDefRegMap(@Self)^.clr := $00000020;
  8493. end;
  8494. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  8495. begin
  8496. if thebits = 0 then
  8497. pTDefRegMap(@Self)^.clr := $00000020
  8498. else
  8499. pTDefRegMap(@Self)^.&set := $00000020;
  8500. end;
  8501. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  8502. begin
  8503. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8504. end;
  8505. procedure TICAP2_IC2CON.setICI1; inline;
  8506. begin
  8507. pTDefRegMap(@Self)^.&set := $00000040;
  8508. end;
  8509. procedure TICAP2_IC2CON.clearICI1; inline;
  8510. begin
  8511. pTDefRegMap(@Self)^.clr := $00000040;
  8512. end;
  8513. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  8514. begin
  8515. if thebits = 0 then
  8516. pTDefRegMap(@Self)^.clr := $00000040
  8517. else
  8518. pTDefRegMap(@Self)^.&set := $00000040;
  8519. end;
  8520. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  8521. begin
  8522. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8523. end;
  8524. procedure TICAP2_IC2CON.setICSIDL; inline;
  8525. begin
  8526. pTDefRegMap(@Self)^.&set := $00002000;
  8527. end;
  8528. procedure TICAP2_IC2CON.clearICSIDL; inline;
  8529. begin
  8530. pTDefRegMap(@Self)^.clr := $00002000;
  8531. end;
  8532. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  8533. begin
  8534. if thebits = 0 then
  8535. pTDefRegMap(@Self)^.clr := $00002000
  8536. else
  8537. pTDefRegMap(@Self)^.&set := $00002000;
  8538. end;
  8539. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  8540. begin
  8541. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8542. end;
  8543. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  8544. begin
  8545. pTDefRegMap(@Self)^.val := thebits;
  8546. end;
  8547. function TICAP2_IC2CON.getw : TBits_32; inline;
  8548. begin
  8549. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8550. end;
  8551. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  8552. begin
  8553. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  8554. end;
  8555. function TICAP3_IC3CON.getICM : TBits_3; inline;
  8556. begin
  8557. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  8558. end;
  8559. procedure TICAP3_IC3CON.setICBNE; inline;
  8560. begin
  8561. pTDefRegMap(@Self)^.&set := $00000008;
  8562. end;
  8563. procedure TICAP3_IC3CON.clearICBNE; inline;
  8564. begin
  8565. pTDefRegMap(@Self)^.clr := $00000008;
  8566. end;
  8567. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  8568. begin
  8569. if thebits = 0 then
  8570. pTDefRegMap(@Self)^.clr := $00000008
  8571. else
  8572. pTDefRegMap(@Self)^.&set := $00000008;
  8573. end;
  8574. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  8575. begin
  8576. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8577. end;
  8578. procedure TICAP3_IC3CON.setICOV; inline;
  8579. begin
  8580. pTDefRegMap(@Self)^.&set := $00000010;
  8581. end;
  8582. procedure TICAP3_IC3CON.clearICOV; inline;
  8583. begin
  8584. pTDefRegMap(@Self)^.clr := $00000010;
  8585. end;
  8586. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  8587. begin
  8588. if thebits = 0 then
  8589. pTDefRegMap(@Self)^.clr := $00000010
  8590. else
  8591. pTDefRegMap(@Self)^.&set := $00000010;
  8592. end;
  8593. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  8594. begin
  8595. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8596. end;
  8597. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  8598. begin
  8599. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  8600. end;
  8601. function TICAP3_IC3CON.getICI : TBits_2; inline;
  8602. begin
  8603. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  8604. end;
  8605. procedure TICAP3_IC3CON.setICTMR; inline;
  8606. begin
  8607. pTDefRegMap(@Self)^.&set := $00000080;
  8608. end;
  8609. procedure TICAP3_IC3CON.clearICTMR; inline;
  8610. begin
  8611. pTDefRegMap(@Self)^.clr := $00000080;
  8612. end;
  8613. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  8614. begin
  8615. if thebits = 0 then
  8616. pTDefRegMap(@Self)^.clr := $00000080
  8617. else
  8618. pTDefRegMap(@Self)^.&set := $00000080;
  8619. end;
  8620. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  8621. begin
  8622. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8623. end;
  8624. procedure TICAP3_IC3CON.setC32; inline;
  8625. begin
  8626. pTDefRegMap(@Self)^.&set := $00000100;
  8627. end;
  8628. procedure TICAP3_IC3CON.clearC32; inline;
  8629. begin
  8630. pTDefRegMap(@Self)^.clr := $00000100;
  8631. end;
  8632. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  8633. begin
  8634. if thebits = 0 then
  8635. pTDefRegMap(@Self)^.clr := $00000100
  8636. else
  8637. pTDefRegMap(@Self)^.&set := $00000100;
  8638. end;
  8639. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  8640. begin
  8641. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  8642. end;
  8643. procedure TICAP3_IC3CON.setFEDGE; inline;
  8644. begin
  8645. pTDefRegMap(@Self)^.&set := $00000200;
  8646. end;
  8647. procedure TICAP3_IC3CON.clearFEDGE; inline;
  8648. begin
  8649. pTDefRegMap(@Self)^.clr := $00000200;
  8650. end;
  8651. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  8652. begin
  8653. if thebits = 0 then
  8654. pTDefRegMap(@Self)^.clr := $00000200
  8655. else
  8656. pTDefRegMap(@Self)^.&set := $00000200;
  8657. end;
  8658. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  8659. begin
  8660. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  8661. end;
  8662. procedure TICAP3_IC3CON.setSIDL; inline;
  8663. begin
  8664. pTDefRegMap(@Self)^.&set := $00002000;
  8665. end;
  8666. procedure TICAP3_IC3CON.clearSIDL; inline;
  8667. begin
  8668. pTDefRegMap(@Self)^.clr := $00002000;
  8669. end;
  8670. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  8671. begin
  8672. if thebits = 0 then
  8673. pTDefRegMap(@Self)^.clr := $00002000
  8674. else
  8675. pTDefRegMap(@Self)^.&set := $00002000;
  8676. end;
  8677. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  8678. begin
  8679. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8680. end;
  8681. procedure TICAP3_IC3CON.setON; inline;
  8682. begin
  8683. pTDefRegMap(@Self)^.&set := $00008000;
  8684. end;
  8685. procedure TICAP3_IC3CON.clearON; inline;
  8686. begin
  8687. pTDefRegMap(@Self)^.clr := $00008000;
  8688. end;
  8689. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  8690. begin
  8691. if thebits = 0 then
  8692. pTDefRegMap(@Self)^.clr := $00008000
  8693. else
  8694. pTDefRegMap(@Self)^.&set := $00008000;
  8695. end;
  8696. function TICAP3_IC3CON.getON : TBits_1; inline;
  8697. begin
  8698. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8699. end;
  8700. procedure TICAP3_IC3CON.setICM0; inline;
  8701. begin
  8702. pTDefRegMap(@Self)^.&set := $00000001;
  8703. end;
  8704. procedure TICAP3_IC3CON.clearICM0; inline;
  8705. begin
  8706. pTDefRegMap(@Self)^.clr := $00000001;
  8707. end;
  8708. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  8709. begin
  8710. if thebits = 0 then
  8711. pTDefRegMap(@Self)^.clr := $00000001
  8712. else
  8713. pTDefRegMap(@Self)^.&set := $00000001;
  8714. end;
  8715. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  8716. begin
  8717. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  8718. end;
  8719. procedure TICAP3_IC3CON.setICM1; inline;
  8720. begin
  8721. pTDefRegMap(@Self)^.&set := $00000002;
  8722. end;
  8723. procedure TICAP3_IC3CON.clearICM1; inline;
  8724. begin
  8725. pTDefRegMap(@Self)^.clr := $00000002;
  8726. end;
  8727. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  8728. begin
  8729. if thebits = 0 then
  8730. pTDefRegMap(@Self)^.clr := $00000002
  8731. else
  8732. pTDefRegMap(@Self)^.&set := $00000002;
  8733. end;
  8734. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  8735. begin
  8736. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8737. end;
  8738. procedure TICAP3_IC3CON.setICM2; inline;
  8739. begin
  8740. pTDefRegMap(@Self)^.&set := $00000004;
  8741. end;
  8742. procedure TICAP3_IC3CON.clearICM2; inline;
  8743. begin
  8744. pTDefRegMap(@Self)^.clr := $00000004;
  8745. end;
  8746. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  8747. begin
  8748. if thebits = 0 then
  8749. pTDefRegMap(@Self)^.clr := $00000004
  8750. else
  8751. pTDefRegMap(@Self)^.&set := $00000004;
  8752. end;
  8753. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  8754. begin
  8755. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  8756. end;
  8757. procedure TICAP3_IC3CON.setICI0; inline;
  8758. begin
  8759. pTDefRegMap(@Self)^.&set := $00000020;
  8760. end;
  8761. procedure TICAP3_IC3CON.clearICI0; inline;
  8762. begin
  8763. pTDefRegMap(@Self)^.clr := $00000020;
  8764. end;
  8765. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  8766. begin
  8767. if thebits = 0 then
  8768. pTDefRegMap(@Self)^.clr := $00000020
  8769. else
  8770. pTDefRegMap(@Self)^.&set := $00000020;
  8771. end;
  8772. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  8773. begin
  8774. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8775. end;
  8776. procedure TICAP3_IC3CON.setICI1; inline;
  8777. begin
  8778. pTDefRegMap(@Self)^.&set := $00000040;
  8779. end;
  8780. procedure TICAP3_IC3CON.clearICI1; inline;
  8781. begin
  8782. pTDefRegMap(@Self)^.clr := $00000040;
  8783. end;
  8784. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  8785. begin
  8786. if thebits = 0 then
  8787. pTDefRegMap(@Self)^.clr := $00000040
  8788. else
  8789. pTDefRegMap(@Self)^.&set := $00000040;
  8790. end;
  8791. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  8792. begin
  8793. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8794. end;
  8795. procedure TICAP3_IC3CON.setICSIDL; inline;
  8796. begin
  8797. pTDefRegMap(@Self)^.&set := $00002000;
  8798. end;
  8799. procedure TICAP3_IC3CON.clearICSIDL; inline;
  8800. begin
  8801. pTDefRegMap(@Self)^.clr := $00002000;
  8802. end;
  8803. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  8804. begin
  8805. if thebits = 0 then
  8806. pTDefRegMap(@Self)^.clr := $00002000
  8807. else
  8808. pTDefRegMap(@Self)^.&set := $00002000;
  8809. end;
  8810. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  8811. begin
  8812. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8813. end;
  8814. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  8815. begin
  8816. pTDefRegMap(@Self)^.val := thebits;
  8817. end;
  8818. function TICAP3_IC3CON.getw : TBits_32; inline;
  8819. begin
  8820. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8821. end;
  8822. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  8823. begin
  8824. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  8825. end;
  8826. function TICAP4_IC4CON.getICM : TBits_3; inline;
  8827. begin
  8828. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  8829. end;
  8830. procedure TICAP4_IC4CON.setICBNE; inline;
  8831. begin
  8832. pTDefRegMap(@Self)^.&set := $00000008;
  8833. end;
  8834. procedure TICAP4_IC4CON.clearICBNE; inline;
  8835. begin
  8836. pTDefRegMap(@Self)^.clr := $00000008;
  8837. end;
  8838. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  8839. begin
  8840. if thebits = 0 then
  8841. pTDefRegMap(@Self)^.clr := $00000008
  8842. else
  8843. pTDefRegMap(@Self)^.&set := $00000008;
  8844. end;
  8845. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  8846. begin
  8847. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8848. end;
  8849. procedure TICAP4_IC4CON.setICOV; inline;
  8850. begin
  8851. pTDefRegMap(@Self)^.&set := $00000010;
  8852. end;
  8853. procedure TICAP4_IC4CON.clearICOV; inline;
  8854. begin
  8855. pTDefRegMap(@Self)^.clr := $00000010;
  8856. end;
  8857. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  8858. begin
  8859. if thebits = 0 then
  8860. pTDefRegMap(@Self)^.clr := $00000010
  8861. else
  8862. pTDefRegMap(@Self)^.&set := $00000010;
  8863. end;
  8864. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  8865. begin
  8866. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8867. end;
  8868. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  8869. begin
  8870. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  8871. end;
  8872. function TICAP4_IC4CON.getICI : TBits_2; inline;
  8873. begin
  8874. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  8875. end;
  8876. procedure TICAP4_IC4CON.setICTMR; inline;
  8877. begin
  8878. pTDefRegMap(@Self)^.&set := $00000080;
  8879. end;
  8880. procedure TICAP4_IC4CON.clearICTMR; inline;
  8881. begin
  8882. pTDefRegMap(@Self)^.clr := $00000080;
  8883. end;
  8884. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  8885. begin
  8886. if thebits = 0 then
  8887. pTDefRegMap(@Self)^.clr := $00000080
  8888. else
  8889. pTDefRegMap(@Self)^.&set := $00000080;
  8890. end;
  8891. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  8892. begin
  8893. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8894. end;
  8895. procedure TICAP4_IC4CON.setC32; inline;
  8896. begin
  8897. pTDefRegMap(@Self)^.&set := $00000100;
  8898. end;
  8899. procedure TICAP4_IC4CON.clearC32; inline;
  8900. begin
  8901. pTDefRegMap(@Self)^.clr := $00000100;
  8902. end;
  8903. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  8904. begin
  8905. if thebits = 0 then
  8906. pTDefRegMap(@Self)^.clr := $00000100
  8907. else
  8908. pTDefRegMap(@Self)^.&set := $00000100;
  8909. end;
  8910. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  8911. begin
  8912. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  8913. end;
  8914. procedure TICAP4_IC4CON.setFEDGE; inline;
  8915. begin
  8916. pTDefRegMap(@Self)^.&set := $00000200;
  8917. end;
  8918. procedure TICAP4_IC4CON.clearFEDGE; inline;
  8919. begin
  8920. pTDefRegMap(@Self)^.clr := $00000200;
  8921. end;
  8922. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  8923. begin
  8924. if thebits = 0 then
  8925. pTDefRegMap(@Self)^.clr := $00000200
  8926. else
  8927. pTDefRegMap(@Self)^.&set := $00000200;
  8928. end;
  8929. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  8930. begin
  8931. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  8932. end;
  8933. procedure TICAP4_IC4CON.setSIDL; inline;
  8934. begin
  8935. pTDefRegMap(@Self)^.&set := $00002000;
  8936. end;
  8937. procedure TICAP4_IC4CON.clearSIDL; inline;
  8938. begin
  8939. pTDefRegMap(@Self)^.clr := $00002000;
  8940. end;
  8941. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  8942. begin
  8943. if thebits = 0 then
  8944. pTDefRegMap(@Self)^.clr := $00002000
  8945. else
  8946. pTDefRegMap(@Self)^.&set := $00002000;
  8947. end;
  8948. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  8949. begin
  8950. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8951. end;
  8952. procedure TICAP4_IC4CON.setON; inline;
  8953. begin
  8954. pTDefRegMap(@Self)^.&set := $00008000;
  8955. end;
  8956. procedure TICAP4_IC4CON.clearON; inline;
  8957. begin
  8958. pTDefRegMap(@Self)^.clr := $00008000;
  8959. end;
  8960. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  8961. begin
  8962. if thebits = 0 then
  8963. pTDefRegMap(@Self)^.clr := $00008000
  8964. else
  8965. pTDefRegMap(@Self)^.&set := $00008000;
  8966. end;
  8967. function TICAP4_IC4CON.getON : TBits_1; inline;
  8968. begin
  8969. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8970. end;
  8971. procedure TICAP4_IC4CON.setICM0; inline;
  8972. begin
  8973. pTDefRegMap(@Self)^.&set := $00000001;
  8974. end;
  8975. procedure TICAP4_IC4CON.clearICM0; inline;
  8976. begin
  8977. pTDefRegMap(@Self)^.clr := $00000001;
  8978. end;
  8979. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  8980. begin
  8981. if thebits = 0 then
  8982. pTDefRegMap(@Self)^.clr := $00000001
  8983. else
  8984. pTDefRegMap(@Self)^.&set := $00000001;
  8985. end;
  8986. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  8987. begin
  8988. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  8989. end;
  8990. procedure TICAP4_IC4CON.setICM1; inline;
  8991. begin
  8992. pTDefRegMap(@Self)^.&set := $00000002;
  8993. end;
  8994. procedure TICAP4_IC4CON.clearICM1; inline;
  8995. begin
  8996. pTDefRegMap(@Self)^.clr := $00000002;
  8997. end;
  8998. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  8999. begin
  9000. if thebits = 0 then
  9001. pTDefRegMap(@Self)^.clr := $00000002
  9002. else
  9003. pTDefRegMap(@Self)^.&set := $00000002;
  9004. end;
  9005. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  9006. begin
  9007. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9008. end;
  9009. procedure TICAP4_IC4CON.setICM2; inline;
  9010. begin
  9011. pTDefRegMap(@Self)^.&set := $00000004;
  9012. end;
  9013. procedure TICAP4_IC4CON.clearICM2; inline;
  9014. begin
  9015. pTDefRegMap(@Self)^.clr := $00000004;
  9016. end;
  9017. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  9018. begin
  9019. if thebits = 0 then
  9020. pTDefRegMap(@Self)^.clr := $00000004
  9021. else
  9022. pTDefRegMap(@Self)^.&set := $00000004;
  9023. end;
  9024. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  9025. begin
  9026. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9027. end;
  9028. procedure TICAP4_IC4CON.setICI0; inline;
  9029. begin
  9030. pTDefRegMap(@Self)^.&set := $00000020;
  9031. end;
  9032. procedure TICAP4_IC4CON.clearICI0; inline;
  9033. begin
  9034. pTDefRegMap(@Self)^.clr := $00000020;
  9035. end;
  9036. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  9037. begin
  9038. if thebits = 0 then
  9039. pTDefRegMap(@Self)^.clr := $00000020
  9040. else
  9041. pTDefRegMap(@Self)^.&set := $00000020;
  9042. end;
  9043. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  9044. begin
  9045. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9046. end;
  9047. procedure TICAP4_IC4CON.setICI1; inline;
  9048. begin
  9049. pTDefRegMap(@Self)^.&set := $00000040;
  9050. end;
  9051. procedure TICAP4_IC4CON.clearICI1; inline;
  9052. begin
  9053. pTDefRegMap(@Self)^.clr := $00000040;
  9054. end;
  9055. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  9056. begin
  9057. if thebits = 0 then
  9058. pTDefRegMap(@Self)^.clr := $00000040
  9059. else
  9060. pTDefRegMap(@Self)^.&set := $00000040;
  9061. end;
  9062. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  9063. begin
  9064. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9065. end;
  9066. procedure TICAP4_IC4CON.setICSIDL; inline;
  9067. begin
  9068. pTDefRegMap(@Self)^.&set := $00002000;
  9069. end;
  9070. procedure TICAP4_IC4CON.clearICSIDL; inline;
  9071. begin
  9072. pTDefRegMap(@Self)^.clr := $00002000;
  9073. end;
  9074. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  9075. begin
  9076. if thebits = 0 then
  9077. pTDefRegMap(@Self)^.clr := $00002000
  9078. else
  9079. pTDefRegMap(@Self)^.&set := $00002000;
  9080. end;
  9081. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  9082. begin
  9083. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9084. end;
  9085. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  9086. begin
  9087. pTDefRegMap(@Self)^.val := thebits;
  9088. end;
  9089. function TICAP4_IC4CON.getw : TBits_32; inline;
  9090. begin
  9091. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9092. end;
  9093. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  9094. begin
  9095. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9096. end;
  9097. function TICAP5_IC5CON.getICM : TBits_3; inline;
  9098. begin
  9099. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9100. end;
  9101. procedure TICAP5_IC5CON.setICBNE; inline;
  9102. begin
  9103. pTDefRegMap(@Self)^.&set := $00000008;
  9104. end;
  9105. procedure TICAP5_IC5CON.clearICBNE; inline;
  9106. begin
  9107. pTDefRegMap(@Self)^.clr := $00000008;
  9108. end;
  9109. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  9110. begin
  9111. if thebits = 0 then
  9112. pTDefRegMap(@Self)^.clr := $00000008
  9113. else
  9114. pTDefRegMap(@Self)^.&set := $00000008;
  9115. end;
  9116. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  9117. begin
  9118. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9119. end;
  9120. procedure TICAP5_IC5CON.setICOV; inline;
  9121. begin
  9122. pTDefRegMap(@Self)^.&set := $00000010;
  9123. end;
  9124. procedure TICAP5_IC5CON.clearICOV; inline;
  9125. begin
  9126. pTDefRegMap(@Self)^.clr := $00000010;
  9127. end;
  9128. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  9129. begin
  9130. if thebits = 0 then
  9131. pTDefRegMap(@Self)^.clr := $00000010
  9132. else
  9133. pTDefRegMap(@Self)^.&set := $00000010;
  9134. end;
  9135. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  9136. begin
  9137. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9138. end;
  9139. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  9140. begin
  9141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  9142. end;
  9143. function TICAP5_IC5CON.getICI : TBits_2; inline;
  9144. begin
  9145. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  9146. end;
  9147. procedure TICAP5_IC5CON.setICTMR; inline;
  9148. begin
  9149. pTDefRegMap(@Self)^.&set := $00000080;
  9150. end;
  9151. procedure TICAP5_IC5CON.clearICTMR; inline;
  9152. begin
  9153. pTDefRegMap(@Self)^.clr := $00000080;
  9154. end;
  9155. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  9156. begin
  9157. if thebits = 0 then
  9158. pTDefRegMap(@Self)^.clr := $00000080
  9159. else
  9160. pTDefRegMap(@Self)^.&set := $00000080;
  9161. end;
  9162. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  9163. begin
  9164. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9165. end;
  9166. procedure TICAP5_IC5CON.setC32; inline;
  9167. begin
  9168. pTDefRegMap(@Self)^.&set := $00000100;
  9169. end;
  9170. procedure TICAP5_IC5CON.clearC32; inline;
  9171. begin
  9172. pTDefRegMap(@Self)^.clr := $00000100;
  9173. end;
  9174. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  9175. begin
  9176. if thebits = 0 then
  9177. pTDefRegMap(@Self)^.clr := $00000100
  9178. else
  9179. pTDefRegMap(@Self)^.&set := $00000100;
  9180. end;
  9181. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  9182. begin
  9183. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  9184. end;
  9185. procedure TICAP5_IC5CON.setFEDGE; inline;
  9186. begin
  9187. pTDefRegMap(@Self)^.&set := $00000200;
  9188. end;
  9189. procedure TICAP5_IC5CON.clearFEDGE; inline;
  9190. begin
  9191. pTDefRegMap(@Self)^.clr := $00000200;
  9192. end;
  9193. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  9194. begin
  9195. if thebits = 0 then
  9196. pTDefRegMap(@Self)^.clr := $00000200
  9197. else
  9198. pTDefRegMap(@Self)^.&set := $00000200;
  9199. end;
  9200. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  9201. begin
  9202. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  9203. end;
  9204. procedure TICAP5_IC5CON.setSIDL; inline;
  9205. begin
  9206. pTDefRegMap(@Self)^.&set := $00002000;
  9207. end;
  9208. procedure TICAP5_IC5CON.clearSIDL; inline;
  9209. begin
  9210. pTDefRegMap(@Self)^.clr := $00002000;
  9211. end;
  9212. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  9213. begin
  9214. if thebits = 0 then
  9215. pTDefRegMap(@Self)^.clr := $00002000
  9216. else
  9217. pTDefRegMap(@Self)^.&set := $00002000;
  9218. end;
  9219. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  9220. begin
  9221. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9222. end;
  9223. procedure TICAP5_IC5CON.setON; inline;
  9224. begin
  9225. pTDefRegMap(@Self)^.&set := $00008000;
  9226. end;
  9227. procedure TICAP5_IC5CON.clearON; inline;
  9228. begin
  9229. pTDefRegMap(@Self)^.clr := $00008000;
  9230. end;
  9231. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  9232. begin
  9233. if thebits = 0 then
  9234. pTDefRegMap(@Self)^.clr := $00008000
  9235. else
  9236. pTDefRegMap(@Self)^.&set := $00008000;
  9237. end;
  9238. function TICAP5_IC5CON.getON : TBits_1; inline;
  9239. begin
  9240. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9241. end;
  9242. procedure TICAP5_IC5CON.setICM0; inline;
  9243. begin
  9244. pTDefRegMap(@Self)^.&set := $00000001;
  9245. end;
  9246. procedure TICAP5_IC5CON.clearICM0; inline;
  9247. begin
  9248. pTDefRegMap(@Self)^.clr := $00000001;
  9249. end;
  9250. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  9251. begin
  9252. if thebits = 0 then
  9253. pTDefRegMap(@Self)^.clr := $00000001
  9254. else
  9255. pTDefRegMap(@Self)^.&set := $00000001;
  9256. end;
  9257. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  9258. begin
  9259. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9260. end;
  9261. procedure TICAP5_IC5CON.setICM1; inline;
  9262. begin
  9263. pTDefRegMap(@Self)^.&set := $00000002;
  9264. end;
  9265. procedure TICAP5_IC5CON.clearICM1; inline;
  9266. begin
  9267. pTDefRegMap(@Self)^.clr := $00000002;
  9268. end;
  9269. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  9270. begin
  9271. if thebits = 0 then
  9272. pTDefRegMap(@Self)^.clr := $00000002
  9273. else
  9274. pTDefRegMap(@Self)^.&set := $00000002;
  9275. end;
  9276. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  9277. begin
  9278. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9279. end;
  9280. procedure TICAP5_IC5CON.setICM2; inline;
  9281. begin
  9282. pTDefRegMap(@Self)^.&set := $00000004;
  9283. end;
  9284. procedure TICAP5_IC5CON.clearICM2; inline;
  9285. begin
  9286. pTDefRegMap(@Self)^.clr := $00000004;
  9287. end;
  9288. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  9289. begin
  9290. if thebits = 0 then
  9291. pTDefRegMap(@Self)^.clr := $00000004
  9292. else
  9293. pTDefRegMap(@Self)^.&set := $00000004;
  9294. end;
  9295. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  9296. begin
  9297. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9298. end;
  9299. procedure TICAP5_IC5CON.setICI0; inline;
  9300. begin
  9301. pTDefRegMap(@Self)^.&set := $00000020;
  9302. end;
  9303. procedure TICAP5_IC5CON.clearICI0; inline;
  9304. begin
  9305. pTDefRegMap(@Self)^.clr := $00000020;
  9306. end;
  9307. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  9308. begin
  9309. if thebits = 0 then
  9310. pTDefRegMap(@Self)^.clr := $00000020
  9311. else
  9312. pTDefRegMap(@Self)^.&set := $00000020;
  9313. end;
  9314. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  9315. begin
  9316. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9317. end;
  9318. procedure TICAP5_IC5CON.setICI1; inline;
  9319. begin
  9320. pTDefRegMap(@Self)^.&set := $00000040;
  9321. end;
  9322. procedure TICAP5_IC5CON.clearICI1; inline;
  9323. begin
  9324. pTDefRegMap(@Self)^.clr := $00000040;
  9325. end;
  9326. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  9327. begin
  9328. if thebits = 0 then
  9329. pTDefRegMap(@Self)^.clr := $00000040
  9330. else
  9331. pTDefRegMap(@Self)^.&set := $00000040;
  9332. end;
  9333. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  9334. begin
  9335. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9336. end;
  9337. procedure TICAP5_IC5CON.setICSIDL; inline;
  9338. begin
  9339. pTDefRegMap(@Self)^.&set := $00002000;
  9340. end;
  9341. procedure TICAP5_IC5CON.clearICSIDL; inline;
  9342. begin
  9343. pTDefRegMap(@Self)^.clr := $00002000;
  9344. end;
  9345. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  9346. begin
  9347. if thebits = 0 then
  9348. pTDefRegMap(@Self)^.clr := $00002000
  9349. else
  9350. pTDefRegMap(@Self)^.&set := $00002000;
  9351. end;
  9352. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  9353. begin
  9354. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9355. end;
  9356. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  9357. begin
  9358. pTDefRegMap(@Self)^.val := thebits;
  9359. end;
  9360. function TICAP5_IC5CON.getw : TBits_32; inline;
  9361. begin
  9362. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9363. end;
  9364. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  9365. begin
  9366. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9367. end;
  9368. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  9369. begin
  9370. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9371. end;
  9372. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  9373. begin
  9374. pTDefRegMap(@Self)^.&set := $00000008;
  9375. end;
  9376. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  9377. begin
  9378. pTDefRegMap(@Self)^.clr := $00000008;
  9379. end;
  9380. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  9381. begin
  9382. if thebits = 0 then
  9383. pTDefRegMap(@Self)^.clr := $00000008
  9384. else
  9385. pTDefRegMap(@Self)^.&set := $00000008;
  9386. end;
  9387. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  9388. begin
  9389. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9390. end;
  9391. procedure TOCMP1_OC1CON.setOCFLT; inline;
  9392. begin
  9393. pTDefRegMap(@Self)^.&set := $00000010;
  9394. end;
  9395. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  9396. begin
  9397. pTDefRegMap(@Self)^.clr := $00000010;
  9398. end;
  9399. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  9400. begin
  9401. if thebits = 0 then
  9402. pTDefRegMap(@Self)^.clr := $00000010
  9403. else
  9404. pTDefRegMap(@Self)^.&set := $00000010;
  9405. end;
  9406. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  9407. begin
  9408. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9409. end;
  9410. procedure TOCMP1_OC1CON.setOC32; inline;
  9411. begin
  9412. pTDefRegMap(@Self)^.&set := $00000020;
  9413. end;
  9414. procedure TOCMP1_OC1CON.clearOC32; inline;
  9415. begin
  9416. pTDefRegMap(@Self)^.clr := $00000020;
  9417. end;
  9418. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  9419. begin
  9420. if thebits = 0 then
  9421. pTDefRegMap(@Self)^.clr := $00000020
  9422. else
  9423. pTDefRegMap(@Self)^.&set := $00000020;
  9424. end;
  9425. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  9426. begin
  9427. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9428. end;
  9429. procedure TOCMP1_OC1CON.setSIDL; inline;
  9430. begin
  9431. pTDefRegMap(@Self)^.&set := $00002000;
  9432. end;
  9433. procedure TOCMP1_OC1CON.clearSIDL; inline;
  9434. begin
  9435. pTDefRegMap(@Self)^.clr := $00002000;
  9436. end;
  9437. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  9438. begin
  9439. if thebits = 0 then
  9440. pTDefRegMap(@Self)^.clr := $00002000
  9441. else
  9442. pTDefRegMap(@Self)^.&set := $00002000;
  9443. end;
  9444. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  9445. begin
  9446. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9447. end;
  9448. procedure TOCMP1_OC1CON.setON; inline;
  9449. begin
  9450. pTDefRegMap(@Self)^.&set := $00008000;
  9451. end;
  9452. procedure TOCMP1_OC1CON.clearON; inline;
  9453. begin
  9454. pTDefRegMap(@Self)^.clr := $00008000;
  9455. end;
  9456. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  9457. begin
  9458. if thebits = 0 then
  9459. pTDefRegMap(@Self)^.clr := $00008000
  9460. else
  9461. pTDefRegMap(@Self)^.&set := $00008000;
  9462. end;
  9463. function TOCMP1_OC1CON.getON : TBits_1; inline;
  9464. begin
  9465. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9466. end;
  9467. procedure TOCMP1_OC1CON.setOCM0; inline;
  9468. begin
  9469. pTDefRegMap(@Self)^.&set := $00000001;
  9470. end;
  9471. procedure TOCMP1_OC1CON.clearOCM0; inline;
  9472. begin
  9473. pTDefRegMap(@Self)^.clr := $00000001;
  9474. end;
  9475. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  9476. begin
  9477. if thebits = 0 then
  9478. pTDefRegMap(@Self)^.clr := $00000001
  9479. else
  9480. pTDefRegMap(@Self)^.&set := $00000001;
  9481. end;
  9482. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  9483. begin
  9484. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9485. end;
  9486. procedure TOCMP1_OC1CON.setOCM1; inline;
  9487. begin
  9488. pTDefRegMap(@Self)^.&set := $00000002;
  9489. end;
  9490. procedure TOCMP1_OC1CON.clearOCM1; inline;
  9491. begin
  9492. pTDefRegMap(@Self)^.clr := $00000002;
  9493. end;
  9494. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  9495. begin
  9496. if thebits = 0 then
  9497. pTDefRegMap(@Self)^.clr := $00000002
  9498. else
  9499. pTDefRegMap(@Self)^.&set := $00000002;
  9500. end;
  9501. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  9502. begin
  9503. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9504. end;
  9505. procedure TOCMP1_OC1CON.setOCM2; inline;
  9506. begin
  9507. pTDefRegMap(@Self)^.&set := $00000004;
  9508. end;
  9509. procedure TOCMP1_OC1CON.clearOCM2; inline;
  9510. begin
  9511. pTDefRegMap(@Self)^.clr := $00000004;
  9512. end;
  9513. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  9514. begin
  9515. if thebits = 0 then
  9516. pTDefRegMap(@Self)^.clr := $00000004
  9517. else
  9518. pTDefRegMap(@Self)^.&set := $00000004;
  9519. end;
  9520. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  9521. begin
  9522. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9523. end;
  9524. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  9525. begin
  9526. pTDefRegMap(@Self)^.&set := $00002000;
  9527. end;
  9528. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  9529. begin
  9530. pTDefRegMap(@Self)^.clr := $00002000;
  9531. end;
  9532. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  9533. begin
  9534. if thebits = 0 then
  9535. pTDefRegMap(@Self)^.clr := $00002000
  9536. else
  9537. pTDefRegMap(@Self)^.&set := $00002000;
  9538. end;
  9539. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  9540. begin
  9541. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9542. end;
  9543. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  9544. begin
  9545. pTDefRegMap(@Self)^.val := thebits;
  9546. end;
  9547. function TOCMP1_OC1CON.getw : TBits_32; inline;
  9548. begin
  9549. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9550. end;
  9551. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  9552. begin
  9553. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9554. end;
  9555. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  9556. begin
  9557. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9558. end;
  9559. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  9560. begin
  9561. pTDefRegMap(@Self)^.&set := $00000008;
  9562. end;
  9563. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  9564. begin
  9565. pTDefRegMap(@Self)^.clr := $00000008;
  9566. end;
  9567. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  9568. begin
  9569. if thebits = 0 then
  9570. pTDefRegMap(@Self)^.clr := $00000008
  9571. else
  9572. pTDefRegMap(@Self)^.&set := $00000008;
  9573. end;
  9574. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  9575. begin
  9576. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9577. end;
  9578. procedure TOCMP2_OC2CON.setOCFLT; inline;
  9579. begin
  9580. pTDefRegMap(@Self)^.&set := $00000010;
  9581. end;
  9582. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  9583. begin
  9584. pTDefRegMap(@Self)^.clr := $00000010;
  9585. end;
  9586. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  9587. begin
  9588. if thebits = 0 then
  9589. pTDefRegMap(@Self)^.clr := $00000010
  9590. else
  9591. pTDefRegMap(@Self)^.&set := $00000010;
  9592. end;
  9593. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  9594. begin
  9595. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9596. end;
  9597. procedure TOCMP2_OC2CON.setOC32; inline;
  9598. begin
  9599. pTDefRegMap(@Self)^.&set := $00000020;
  9600. end;
  9601. procedure TOCMP2_OC2CON.clearOC32; inline;
  9602. begin
  9603. pTDefRegMap(@Self)^.clr := $00000020;
  9604. end;
  9605. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  9606. begin
  9607. if thebits = 0 then
  9608. pTDefRegMap(@Self)^.clr := $00000020
  9609. else
  9610. pTDefRegMap(@Self)^.&set := $00000020;
  9611. end;
  9612. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  9613. begin
  9614. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9615. end;
  9616. procedure TOCMP2_OC2CON.setSIDL; inline;
  9617. begin
  9618. pTDefRegMap(@Self)^.&set := $00002000;
  9619. end;
  9620. procedure TOCMP2_OC2CON.clearSIDL; inline;
  9621. begin
  9622. pTDefRegMap(@Self)^.clr := $00002000;
  9623. end;
  9624. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  9625. begin
  9626. if thebits = 0 then
  9627. pTDefRegMap(@Self)^.clr := $00002000
  9628. else
  9629. pTDefRegMap(@Self)^.&set := $00002000;
  9630. end;
  9631. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  9632. begin
  9633. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9634. end;
  9635. procedure TOCMP2_OC2CON.setON; inline;
  9636. begin
  9637. pTDefRegMap(@Self)^.&set := $00008000;
  9638. end;
  9639. procedure TOCMP2_OC2CON.clearON; inline;
  9640. begin
  9641. pTDefRegMap(@Self)^.clr := $00008000;
  9642. end;
  9643. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  9644. begin
  9645. if thebits = 0 then
  9646. pTDefRegMap(@Self)^.clr := $00008000
  9647. else
  9648. pTDefRegMap(@Self)^.&set := $00008000;
  9649. end;
  9650. function TOCMP2_OC2CON.getON : TBits_1; inline;
  9651. begin
  9652. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9653. end;
  9654. procedure TOCMP2_OC2CON.setOCM0; inline;
  9655. begin
  9656. pTDefRegMap(@Self)^.&set := $00000001;
  9657. end;
  9658. procedure TOCMP2_OC2CON.clearOCM0; inline;
  9659. begin
  9660. pTDefRegMap(@Self)^.clr := $00000001;
  9661. end;
  9662. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  9663. begin
  9664. if thebits = 0 then
  9665. pTDefRegMap(@Self)^.clr := $00000001
  9666. else
  9667. pTDefRegMap(@Self)^.&set := $00000001;
  9668. end;
  9669. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  9670. begin
  9671. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9672. end;
  9673. procedure TOCMP2_OC2CON.setOCM1; inline;
  9674. begin
  9675. pTDefRegMap(@Self)^.&set := $00000002;
  9676. end;
  9677. procedure TOCMP2_OC2CON.clearOCM1; inline;
  9678. begin
  9679. pTDefRegMap(@Self)^.clr := $00000002;
  9680. end;
  9681. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  9682. begin
  9683. if thebits = 0 then
  9684. pTDefRegMap(@Self)^.clr := $00000002
  9685. else
  9686. pTDefRegMap(@Self)^.&set := $00000002;
  9687. end;
  9688. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  9689. begin
  9690. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9691. end;
  9692. procedure TOCMP2_OC2CON.setOCM2; inline;
  9693. begin
  9694. pTDefRegMap(@Self)^.&set := $00000004;
  9695. end;
  9696. procedure TOCMP2_OC2CON.clearOCM2; inline;
  9697. begin
  9698. pTDefRegMap(@Self)^.clr := $00000004;
  9699. end;
  9700. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  9701. begin
  9702. if thebits = 0 then
  9703. pTDefRegMap(@Self)^.clr := $00000004
  9704. else
  9705. pTDefRegMap(@Self)^.&set := $00000004;
  9706. end;
  9707. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  9708. begin
  9709. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9710. end;
  9711. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  9712. begin
  9713. pTDefRegMap(@Self)^.&set := $00002000;
  9714. end;
  9715. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  9716. begin
  9717. pTDefRegMap(@Self)^.clr := $00002000;
  9718. end;
  9719. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  9720. begin
  9721. if thebits = 0 then
  9722. pTDefRegMap(@Self)^.clr := $00002000
  9723. else
  9724. pTDefRegMap(@Self)^.&set := $00002000;
  9725. end;
  9726. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  9727. begin
  9728. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9729. end;
  9730. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  9731. begin
  9732. pTDefRegMap(@Self)^.val := thebits;
  9733. end;
  9734. function TOCMP2_OC2CON.getw : TBits_32; inline;
  9735. begin
  9736. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9737. end;
  9738. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  9739. begin
  9740. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9741. end;
  9742. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  9743. begin
  9744. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9745. end;
  9746. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  9747. begin
  9748. pTDefRegMap(@Self)^.&set := $00000008;
  9749. end;
  9750. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  9751. begin
  9752. pTDefRegMap(@Self)^.clr := $00000008;
  9753. end;
  9754. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  9755. begin
  9756. if thebits = 0 then
  9757. pTDefRegMap(@Self)^.clr := $00000008
  9758. else
  9759. pTDefRegMap(@Self)^.&set := $00000008;
  9760. end;
  9761. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  9762. begin
  9763. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9764. end;
  9765. procedure TOCMP3_OC3CON.setOCFLT; inline;
  9766. begin
  9767. pTDefRegMap(@Self)^.&set := $00000010;
  9768. end;
  9769. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  9770. begin
  9771. pTDefRegMap(@Self)^.clr := $00000010;
  9772. end;
  9773. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  9774. begin
  9775. if thebits = 0 then
  9776. pTDefRegMap(@Self)^.clr := $00000010
  9777. else
  9778. pTDefRegMap(@Self)^.&set := $00000010;
  9779. end;
  9780. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  9781. begin
  9782. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9783. end;
  9784. procedure TOCMP3_OC3CON.setOC32; inline;
  9785. begin
  9786. pTDefRegMap(@Self)^.&set := $00000020;
  9787. end;
  9788. procedure TOCMP3_OC3CON.clearOC32; inline;
  9789. begin
  9790. pTDefRegMap(@Self)^.clr := $00000020;
  9791. end;
  9792. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  9793. begin
  9794. if thebits = 0 then
  9795. pTDefRegMap(@Self)^.clr := $00000020
  9796. else
  9797. pTDefRegMap(@Self)^.&set := $00000020;
  9798. end;
  9799. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  9800. begin
  9801. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9802. end;
  9803. procedure TOCMP3_OC3CON.setSIDL; inline;
  9804. begin
  9805. pTDefRegMap(@Self)^.&set := $00002000;
  9806. end;
  9807. procedure TOCMP3_OC3CON.clearSIDL; inline;
  9808. begin
  9809. pTDefRegMap(@Self)^.clr := $00002000;
  9810. end;
  9811. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  9812. begin
  9813. if thebits = 0 then
  9814. pTDefRegMap(@Self)^.clr := $00002000
  9815. else
  9816. pTDefRegMap(@Self)^.&set := $00002000;
  9817. end;
  9818. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  9819. begin
  9820. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9821. end;
  9822. procedure TOCMP3_OC3CON.setON; inline;
  9823. begin
  9824. pTDefRegMap(@Self)^.&set := $00008000;
  9825. end;
  9826. procedure TOCMP3_OC3CON.clearON; inline;
  9827. begin
  9828. pTDefRegMap(@Self)^.clr := $00008000;
  9829. end;
  9830. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  9831. begin
  9832. if thebits = 0 then
  9833. pTDefRegMap(@Self)^.clr := $00008000
  9834. else
  9835. pTDefRegMap(@Self)^.&set := $00008000;
  9836. end;
  9837. function TOCMP3_OC3CON.getON : TBits_1; inline;
  9838. begin
  9839. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9840. end;
  9841. procedure TOCMP3_OC3CON.setOCM0; inline;
  9842. begin
  9843. pTDefRegMap(@Self)^.&set := $00000001;
  9844. end;
  9845. procedure TOCMP3_OC3CON.clearOCM0; inline;
  9846. begin
  9847. pTDefRegMap(@Self)^.clr := $00000001;
  9848. end;
  9849. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  9850. begin
  9851. if thebits = 0 then
  9852. pTDefRegMap(@Self)^.clr := $00000001
  9853. else
  9854. pTDefRegMap(@Self)^.&set := $00000001;
  9855. end;
  9856. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  9857. begin
  9858. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9859. end;
  9860. procedure TOCMP3_OC3CON.setOCM1; inline;
  9861. begin
  9862. pTDefRegMap(@Self)^.&set := $00000002;
  9863. end;
  9864. procedure TOCMP3_OC3CON.clearOCM1; inline;
  9865. begin
  9866. pTDefRegMap(@Self)^.clr := $00000002;
  9867. end;
  9868. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  9869. begin
  9870. if thebits = 0 then
  9871. pTDefRegMap(@Self)^.clr := $00000002
  9872. else
  9873. pTDefRegMap(@Self)^.&set := $00000002;
  9874. end;
  9875. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  9876. begin
  9877. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9878. end;
  9879. procedure TOCMP3_OC3CON.setOCM2; inline;
  9880. begin
  9881. pTDefRegMap(@Self)^.&set := $00000004;
  9882. end;
  9883. procedure TOCMP3_OC3CON.clearOCM2; inline;
  9884. begin
  9885. pTDefRegMap(@Self)^.clr := $00000004;
  9886. end;
  9887. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  9888. begin
  9889. if thebits = 0 then
  9890. pTDefRegMap(@Self)^.clr := $00000004
  9891. else
  9892. pTDefRegMap(@Self)^.&set := $00000004;
  9893. end;
  9894. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  9895. begin
  9896. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9897. end;
  9898. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  9899. begin
  9900. pTDefRegMap(@Self)^.&set := $00002000;
  9901. end;
  9902. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  9903. begin
  9904. pTDefRegMap(@Self)^.clr := $00002000;
  9905. end;
  9906. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  9907. begin
  9908. if thebits = 0 then
  9909. pTDefRegMap(@Self)^.clr := $00002000
  9910. else
  9911. pTDefRegMap(@Self)^.&set := $00002000;
  9912. end;
  9913. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  9914. begin
  9915. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9916. end;
  9917. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  9918. begin
  9919. pTDefRegMap(@Self)^.val := thebits;
  9920. end;
  9921. function TOCMP3_OC3CON.getw : TBits_32; inline;
  9922. begin
  9923. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9924. end;
  9925. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  9926. begin
  9927. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9928. end;
  9929. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  9930. begin
  9931. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9932. end;
  9933. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  9934. begin
  9935. pTDefRegMap(@Self)^.&set := $00000008;
  9936. end;
  9937. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  9938. begin
  9939. pTDefRegMap(@Self)^.clr := $00000008;
  9940. end;
  9941. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  9942. begin
  9943. if thebits = 0 then
  9944. pTDefRegMap(@Self)^.clr := $00000008
  9945. else
  9946. pTDefRegMap(@Self)^.&set := $00000008;
  9947. end;
  9948. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  9949. begin
  9950. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9951. end;
  9952. procedure TOCMP4_OC4CON.setOCFLT; inline;
  9953. begin
  9954. pTDefRegMap(@Self)^.&set := $00000010;
  9955. end;
  9956. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  9957. begin
  9958. pTDefRegMap(@Self)^.clr := $00000010;
  9959. end;
  9960. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  9961. begin
  9962. if thebits = 0 then
  9963. pTDefRegMap(@Self)^.clr := $00000010
  9964. else
  9965. pTDefRegMap(@Self)^.&set := $00000010;
  9966. end;
  9967. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  9968. begin
  9969. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9970. end;
  9971. procedure TOCMP4_OC4CON.setOC32; inline;
  9972. begin
  9973. pTDefRegMap(@Self)^.&set := $00000020;
  9974. end;
  9975. procedure TOCMP4_OC4CON.clearOC32; inline;
  9976. begin
  9977. pTDefRegMap(@Self)^.clr := $00000020;
  9978. end;
  9979. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  9980. begin
  9981. if thebits = 0 then
  9982. pTDefRegMap(@Self)^.clr := $00000020
  9983. else
  9984. pTDefRegMap(@Self)^.&set := $00000020;
  9985. end;
  9986. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  9987. begin
  9988. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9989. end;
  9990. procedure TOCMP4_OC4CON.setSIDL; inline;
  9991. begin
  9992. pTDefRegMap(@Self)^.&set := $00002000;
  9993. end;
  9994. procedure TOCMP4_OC4CON.clearSIDL; inline;
  9995. begin
  9996. pTDefRegMap(@Self)^.clr := $00002000;
  9997. end;
  9998. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  9999. begin
  10000. if thebits = 0 then
  10001. pTDefRegMap(@Self)^.clr := $00002000
  10002. else
  10003. pTDefRegMap(@Self)^.&set := $00002000;
  10004. end;
  10005. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  10006. begin
  10007. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10008. end;
  10009. procedure TOCMP4_OC4CON.setON; inline;
  10010. begin
  10011. pTDefRegMap(@Self)^.&set := $00008000;
  10012. end;
  10013. procedure TOCMP4_OC4CON.clearON; inline;
  10014. begin
  10015. pTDefRegMap(@Self)^.clr := $00008000;
  10016. end;
  10017. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  10018. begin
  10019. if thebits = 0 then
  10020. pTDefRegMap(@Self)^.clr := $00008000
  10021. else
  10022. pTDefRegMap(@Self)^.&set := $00008000;
  10023. end;
  10024. function TOCMP4_OC4CON.getON : TBits_1; inline;
  10025. begin
  10026. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10027. end;
  10028. procedure TOCMP4_OC4CON.setOCM0; inline;
  10029. begin
  10030. pTDefRegMap(@Self)^.&set := $00000001;
  10031. end;
  10032. procedure TOCMP4_OC4CON.clearOCM0; inline;
  10033. begin
  10034. pTDefRegMap(@Self)^.clr := $00000001;
  10035. end;
  10036. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  10037. begin
  10038. if thebits = 0 then
  10039. pTDefRegMap(@Self)^.clr := $00000001
  10040. else
  10041. pTDefRegMap(@Self)^.&set := $00000001;
  10042. end;
  10043. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  10044. begin
  10045. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10046. end;
  10047. procedure TOCMP4_OC4CON.setOCM1; inline;
  10048. begin
  10049. pTDefRegMap(@Self)^.&set := $00000002;
  10050. end;
  10051. procedure TOCMP4_OC4CON.clearOCM1; inline;
  10052. begin
  10053. pTDefRegMap(@Self)^.clr := $00000002;
  10054. end;
  10055. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  10056. begin
  10057. if thebits = 0 then
  10058. pTDefRegMap(@Self)^.clr := $00000002
  10059. else
  10060. pTDefRegMap(@Self)^.&set := $00000002;
  10061. end;
  10062. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  10063. begin
  10064. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10065. end;
  10066. procedure TOCMP4_OC4CON.setOCM2; inline;
  10067. begin
  10068. pTDefRegMap(@Self)^.&set := $00000004;
  10069. end;
  10070. procedure TOCMP4_OC4CON.clearOCM2; inline;
  10071. begin
  10072. pTDefRegMap(@Self)^.clr := $00000004;
  10073. end;
  10074. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  10075. begin
  10076. if thebits = 0 then
  10077. pTDefRegMap(@Self)^.clr := $00000004
  10078. else
  10079. pTDefRegMap(@Self)^.&set := $00000004;
  10080. end;
  10081. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  10082. begin
  10083. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10084. end;
  10085. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  10086. begin
  10087. pTDefRegMap(@Self)^.&set := $00002000;
  10088. end;
  10089. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  10090. begin
  10091. pTDefRegMap(@Self)^.clr := $00002000;
  10092. end;
  10093. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  10094. begin
  10095. if thebits = 0 then
  10096. pTDefRegMap(@Self)^.clr := $00002000
  10097. else
  10098. pTDefRegMap(@Self)^.&set := $00002000;
  10099. end;
  10100. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  10101. begin
  10102. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10103. end;
  10104. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  10105. begin
  10106. pTDefRegMap(@Self)^.val := thebits;
  10107. end;
  10108. function TOCMP4_OC4CON.getw : TBits_32; inline;
  10109. begin
  10110. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10111. end;
  10112. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  10113. begin
  10114. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10115. end;
  10116. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  10117. begin
  10118. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10119. end;
  10120. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  10121. begin
  10122. pTDefRegMap(@Self)^.&set := $00000008;
  10123. end;
  10124. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  10125. begin
  10126. pTDefRegMap(@Self)^.clr := $00000008;
  10127. end;
  10128. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  10129. begin
  10130. if thebits = 0 then
  10131. pTDefRegMap(@Self)^.clr := $00000008
  10132. else
  10133. pTDefRegMap(@Self)^.&set := $00000008;
  10134. end;
  10135. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  10136. begin
  10137. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10138. end;
  10139. procedure TOCMP5_OC5CON.setOCFLT; inline;
  10140. begin
  10141. pTDefRegMap(@Self)^.&set := $00000010;
  10142. end;
  10143. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  10144. begin
  10145. pTDefRegMap(@Self)^.clr := $00000010;
  10146. end;
  10147. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  10148. begin
  10149. if thebits = 0 then
  10150. pTDefRegMap(@Self)^.clr := $00000010
  10151. else
  10152. pTDefRegMap(@Self)^.&set := $00000010;
  10153. end;
  10154. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  10155. begin
  10156. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10157. end;
  10158. procedure TOCMP5_OC5CON.setOC32; inline;
  10159. begin
  10160. pTDefRegMap(@Self)^.&set := $00000020;
  10161. end;
  10162. procedure TOCMP5_OC5CON.clearOC32; inline;
  10163. begin
  10164. pTDefRegMap(@Self)^.clr := $00000020;
  10165. end;
  10166. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  10167. begin
  10168. if thebits = 0 then
  10169. pTDefRegMap(@Self)^.clr := $00000020
  10170. else
  10171. pTDefRegMap(@Self)^.&set := $00000020;
  10172. end;
  10173. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  10174. begin
  10175. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10176. end;
  10177. procedure TOCMP5_OC5CON.setSIDL; inline;
  10178. begin
  10179. pTDefRegMap(@Self)^.&set := $00002000;
  10180. end;
  10181. procedure TOCMP5_OC5CON.clearSIDL; inline;
  10182. begin
  10183. pTDefRegMap(@Self)^.clr := $00002000;
  10184. end;
  10185. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  10186. begin
  10187. if thebits = 0 then
  10188. pTDefRegMap(@Self)^.clr := $00002000
  10189. else
  10190. pTDefRegMap(@Self)^.&set := $00002000;
  10191. end;
  10192. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  10193. begin
  10194. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10195. end;
  10196. procedure TOCMP5_OC5CON.setON; inline;
  10197. begin
  10198. pTDefRegMap(@Self)^.&set := $00008000;
  10199. end;
  10200. procedure TOCMP5_OC5CON.clearON; inline;
  10201. begin
  10202. pTDefRegMap(@Self)^.clr := $00008000;
  10203. end;
  10204. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  10205. begin
  10206. if thebits = 0 then
  10207. pTDefRegMap(@Self)^.clr := $00008000
  10208. else
  10209. pTDefRegMap(@Self)^.&set := $00008000;
  10210. end;
  10211. function TOCMP5_OC5CON.getON : TBits_1; inline;
  10212. begin
  10213. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10214. end;
  10215. procedure TOCMP5_OC5CON.setOCM0; inline;
  10216. begin
  10217. pTDefRegMap(@Self)^.&set := $00000001;
  10218. end;
  10219. procedure TOCMP5_OC5CON.clearOCM0; inline;
  10220. begin
  10221. pTDefRegMap(@Self)^.clr := $00000001;
  10222. end;
  10223. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  10224. begin
  10225. if thebits = 0 then
  10226. pTDefRegMap(@Self)^.clr := $00000001
  10227. else
  10228. pTDefRegMap(@Self)^.&set := $00000001;
  10229. end;
  10230. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  10231. begin
  10232. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10233. end;
  10234. procedure TOCMP5_OC5CON.setOCM1; inline;
  10235. begin
  10236. pTDefRegMap(@Self)^.&set := $00000002;
  10237. end;
  10238. procedure TOCMP5_OC5CON.clearOCM1; inline;
  10239. begin
  10240. pTDefRegMap(@Self)^.clr := $00000002;
  10241. end;
  10242. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  10243. begin
  10244. if thebits = 0 then
  10245. pTDefRegMap(@Self)^.clr := $00000002
  10246. else
  10247. pTDefRegMap(@Self)^.&set := $00000002;
  10248. end;
  10249. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  10250. begin
  10251. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10252. end;
  10253. procedure TOCMP5_OC5CON.setOCM2; inline;
  10254. begin
  10255. pTDefRegMap(@Self)^.&set := $00000004;
  10256. end;
  10257. procedure TOCMP5_OC5CON.clearOCM2; inline;
  10258. begin
  10259. pTDefRegMap(@Self)^.clr := $00000004;
  10260. end;
  10261. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  10262. begin
  10263. if thebits = 0 then
  10264. pTDefRegMap(@Self)^.clr := $00000004
  10265. else
  10266. pTDefRegMap(@Self)^.&set := $00000004;
  10267. end;
  10268. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  10269. begin
  10270. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10271. end;
  10272. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  10273. begin
  10274. pTDefRegMap(@Self)^.&set := $00002000;
  10275. end;
  10276. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  10277. begin
  10278. pTDefRegMap(@Self)^.clr := $00002000;
  10279. end;
  10280. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  10281. begin
  10282. if thebits = 0 then
  10283. pTDefRegMap(@Self)^.clr := $00002000
  10284. else
  10285. pTDefRegMap(@Self)^.&set := $00002000;
  10286. end;
  10287. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  10288. begin
  10289. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10290. end;
  10291. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  10292. begin
  10293. pTDefRegMap(@Self)^.val := thebits;
  10294. end;
  10295. function TOCMP5_OC5CON.getw : TBits_32; inline;
  10296. begin
  10297. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10298. end;
  10299. procedure TI2C1_I2C1CON.setSEN; inline;
  10300. begin
  10301. pTDefRegMap(@Self)^.&set := $00000001;
  10302. end;
  10303. procedure TI2C1_I2C1CON.clearSEN; inline;
  10304. begin
  10305. pTDefRegMap(@Self)^.clr := $00000001;
  10306. end;
  10307. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  10308. begin
  10309. if thebits = 0 then
  10310. pTDefRegMap(@Self)^.clr := $00000001
  10311. else
  10312. pTDefRegMap(@Self)^.&set := $00000001;
  10313. end;
  10314. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  10315. begin
  10316. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10317. end;
  10318. procedure TI2C1_I2C1CON.setRSEN; inline;
  10319. begin
  10320. pTDefRegMap(@Self)^.&set := $00000002;
  10321. end;
  10322. procedure TI2C1_I2C1CON.clearRSEN; inline;
  10323. begin
  10324. pTDefRegMap(@Self)^.clr := $00000002;
  10325. end;
  10326. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  10327. begin
  10328. if thebits = 0 then
  10329. pTDefRegMap(@Self)^.clr := $00000002
  10330. else
  10331. pTDefRegMap(@Self)^.&set := $00000002;
  10332. end;
  10333. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  10334. begin
  10335. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10336. end;
  10337. procedure TI2C1_I2C1CON.setPEN; inline;
  10338. begin
  10339. pTDefRegMap(@Self)^.&set := $00000004;
  10340. end;
  10341. procedure TI2C1_I2C1CON.clearPEN; inline;
  10342. begin
  10343. pTDefRegMap(@Self)^.clr := $00000004;
  10344. end;
  10345. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  10346. begin
  10347. if thebits = 0 then
  10348. pTDefRegMap(@Self)^.clr := $00000004
  10349. else
  10350. pTDefRegMap(@Self)^.&set := $00000004;
  10351. end;
  10352. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  10353. begin
  10354. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10355. end;
  10356. procedure TI2C1_I2C1CON.setRCEN; inline;
  10357. begin
  10358. pTDefRegMap(@Self)^.&set := $00000008;
  10359. end;
  10360. procedure TI2C1_I2C1CON.clearRCEN; inline;
  10361. begin
  10362. pTDefRegMap(@Self)^.clr := $00000008;
  10363. end;
  10364. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  10365. begin
  10366. if thebits = 0 then
  10367. pTDefRegMap(@Self)^.clr := $00000008
  10368. else
  10369. pTDefRegMap(@Self)^.&set := $00000008;
  10370. end;
  10371. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  10372. begin
  10373. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10374. end;
  10375. procedure TI2C1_I2C1CON.setACKEN; inline;
  10376. begin
  10377. pTDefRegMap(@Self)^.&set := $00000010;
  10378. end;
  10379. procedure TI2C1_I2C1CON.clearACKEN; inline;
  10380. begin
  10381. pTDefRegMap(@Self)^.clr := $00000010;
  10382. end;
  10383. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  10384. begin
  10385. if thebits = 0 then
  10386. pTDefRegMap(@Self)^.clr := $00000010
  10387. else
  10388. pTDefRegMap(@Self)^.&set := $00000010;
  10389. end;
  10390. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  10391. begin
  10392. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10393. end;
  10394. procedure TI2C1_I2C1CON.setACKDT; inline;
  10395. begin
  10396. pTDefRegMap(@Self)^.&set := $00000020;
  10397. end;
  10398. procedure TI2C1_I2C1CON.clearACKDT; inline;
  10399. begin
  10400. pTDefRegMap(@Self)^.clr := $00000020;
  10401. end;
  10402. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  10403. begin
  10404. if thebits = 0 then
  10405. pTDefRegMap(@Self)^.clr := $00000020
  10406. else
  10407. pTDefRegMap(@Self)^.&set := $00000020;
  10408. end;
  10409. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  10410. begin
  10411. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10412. end;
  10413. procedure TI2C1_I2C1CON.setSTREN; inline;
  10414. begin
  10415. pTDefRegMap(@Self)^.&set := $00000040;
  10416. end;
  10417. procedure TI2C1_I2C1CON.clearSTREN; inline;
  10418. begin
  10419. pTDefRegMap(@Self)^.clr := $00000040;
  10420. end;
  10421. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  10422. begin
  10423. if thebits = 0 then
  10424. pTDefRegMap(@Self)^.clr := $00000040
  10425. else
  10426. pTDefRegMap(@Self)^.&set := $00000040;
  10427. end;
  10428. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  10429. begin
  10430. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10431. end;
  10432. procedure TI2C1_I2C1CON.setGCEN; inline;
  10433. begin
  10434. pTDefRegMap(@Self)^.&set := $00000080;
  10435. end;
  10436. procedure TI2C1_I2C1CON.clearGCEN; inline;
  10437. begin
  10438. pTDefRegMap(@Self)^.clr := $00000080;
  10439. end;
  10440. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  10441. begin
  10442. if thebits = 0 then
  10443. pTDefRegMap(@Self)^.clr := $00000080
  10444. else
  10445. pTDefRegMap(@Self)^.&set := $00000080;
  10446. end;
  10447. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  10448. begin
  10449. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10450. end;
  10451. procedure TI2C1_I2C1CON.setSMEN; inline;
  10452. begin
  10453. pTDefRegMap(@Self)^.&set := $00000100;
  10454. end;
  10455. procedure TI2C1_I2C1CON.clearSMEN; inline;
  10456. begin
  10457. pTDefRegMap(@Self)^.clr := $00000100;
  10458. end;
  10459. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  10460. begin
  10461. if thebits = 0 then
  10462. pTDefRegMap(@Self)^.clr := $00000100
  10463. else
  10464. pTDefRegMap(@Self)^.&set := $00000100;
  10465. end;
  10466. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  10467. begin
  10468. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  10469. end;
  10470. procedure TI2C1_I2C1CON.setDISSLW; inline;
  10471. begin
  10472. pTDefRegMap(@Self)^.&set := $00000200;
  10473. end;
  10474. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  10475. begin
  10476. pTDefRegMap(@Self)^.clr := $00000200;
  10477. end;
  10478. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  10479. begin
  10480. if thebits = 0 then
  10481. pTDefRegMap(@Self)^.clr := $00000200
  10482. else
  10483. pTDefRegMap(@Self)^.&set := $00000200;
  10484. end;
  10485. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  10486. begin
  10487. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  10488. end;
  10489. procedure TI2C1_I2C1CON.setA10M; inline;
  10490. begin
  10491. pTDefRegMap(@Self)^.&set := $00000400;
  10492. end;
  10493. procedure TI2C1_I2C1CON.clearA10M; inline;
  10494. begin
  10495. pTDefRegMap(@Self)^.clr := $00000400;
  10496. end;
  10497. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  10498. begin
  10499. if thebits = 0 then
  10500. pTDefRegMap(@Self)^.clr := $00000400
  10501. else
  10502. pTDefRegMap(@Self)^.&set := $00000400;
  10503. end;
  10504. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  10505. begin
  10506. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  10507. end;
  10508. procedure TI2C1_I2C1CON.setSTRICT; inline;
  10509. begin
  10510. pTDefRegMap(@Self)^.&set := $00000800;
  10511. end;
  10512. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  10513. begin
  10514. pTDefRegMap(@Self)^.clr := $00000800;
  10515. end;
  10516. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  10517. begin
  10518. if thebits = 0 then
  10519. pTDefRegMap(@Self)^.clr := $00000800
  10520. else
  10521. pTDefRegMap(@Self)^.&set := $00000800;
  10522. end;
  10523. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  10524. begin
  10525. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  10526. end;
  10527. procedure TI2C1_I2C1CON.setSCLREL; inline;
  10528. begin
  10529. pTDefRegMap(@Self)^.&set := $00001000;
  10530. end;
  10531. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  10532. begin
  10533. pTDefRegMap(@Self)^.clr := $00001000;
  10534. end;
  10535. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  10536. begin
  10537. if thebits = 0 then
  10538. pTDefRegMap(@Self)^.clr := $00001000
  10539. else
  10540. pTDefRegMap(@Self)^.&set := $00001000;
  10541. end;
  10542. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  10543. begin
  10544. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10545. end;
  10546. procedure TI2C1_I2C1CON.setSIDL; inline;
  10547. begin
  10548. pTDefRegMap(@Self)^.&set := $00002000;
  10549. end;
  10550. procedure TI2C1_I2C1CON.clearSIDL; inline;
  10551. begin
  10552. pTDefRegMap(@Self)^.clr := $00002000;
  10553. end;
  10554. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  10555. begin
  10556. if thebits = 0 then
  10557. pTDefRegMap(@Self)^.clr := $00002000
  10558. else
  10559. pTDefRegMap(@Self)^.&set := $00002000;
  10560. end;
  10561. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  10562. begin
  10563. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10564. end;
  10565. procedure TI2C1_I2C1CON.setON; inline;
  10566. begin
  10567. pTDefRegMap(@Self)^.&set := $00008000;
  10568. end;
  10569. procedure TI2C1_I2C1CON.clearON; inline;
  10570. begin
  10571. pTDefRegMap(@Self)^.clr := $00008000;
  10572. end;
  10573. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  10574. begin
  10575. if thebits = 0 then
  10576. pTDefRegMap(@Self)^.clr := $00008000
  10577. else
  10578. pTDefRegMap(@Self)^.&set := $00008000;
  10579. end;
  10580. function TI2C1_I2C1CON.getON : TBits_1; inline;
  10581. begin
  10582. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10583. end;
  10584. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  10585. begin
  10586. pTDefRegMap(@Self)^.&set := $00000800;
  10587. end;
  10588. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  10589. begin
  10590. pTDefRegMap(@Self)^.clr := $00000800;
  10591. end;
  10592. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  10593. begin
  10594. if thebits = 0 then
  10595. pTDefRegMap(@Self)^.clr := $00000800
  10596. else
  10597. pTDefRegMap(@Self)^.&set := $00000800;
  10598. end;
  10599. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  10600. begin
  10601. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  10602. end;
  10603. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  10604. begin
  10605. pTDefRegMap(@Self)^.&set := $00002000;
  10606. end;
  10607. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  10608. begin
  10609. pTDefRegMap(@Self)^.clr := $00002000;
  10610. end;
  10611. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  10612. begin
  10613. if thebits = 0 then
  10614. pTDefRegMap(@Self)^.clr := $00002000
  10615. else
  10616. pTDefRegMap(@Self)^.&set := $00002000;
  10617. end;
  10618. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  10619. begin
  10620. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10621. end;
  10622. procedure TI2C1_I2C1CON.setI2CEN; inline;
  10623. begin
  10624. pTDefRegMap(@Self)^.&set := $00008000;
  10625. end;
  10626. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  10627. begin
  10628. pTDefRegMap(@Self)^.clr := $00008000;
  10629. end;
  10630. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  10631. begin
  10632. if thebits = 0 then
  10633. pTDefRegMap(@Self)^.clr := $00008000
  10634. else
  10635. pTDefRegMap(@Self)^.&set := $00008000;
  10636. end;
  10637. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  10638. begin
  10639. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10640. end;
  10641. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  10642. begin
  10643. pTDefRegMap(@Self)^.val := thebits;
  10644. end;
  10645. function TI2C1_I2C1CON.getw : TBits_32; inline;
  10646. begin
  10647. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10648. end;
  10649. procedure TI2C1_I2C1STAT.setTBF; inline;
  10650. begin
  10651. pTDefRegMap(@Self)^.&set := $00000001;
  10652. end;
  10653. procedure TI2C1_I2C1STAT.clearTBF; inline;
  10654. begin
  10655. pTDefRegMap(@Self)^.clr := $00000001;
  10656. end;
  10657. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  10658. begin
  10659. if thebits = 0 then
  10660. pTDefRegMap(@Self)^.clr := $00000001
  10661. else
  10662. pTDefRegMap(@Self)^.&set := $00000001;
  10663. end;
  10664. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  10665. begin
  10666. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10667. end;
  10668. procedure TI2C1_I2C1STAT.setRBF; inline;
  10669. begin
  10670. pTDefRegMap(@Self)^.&set := $00000002;
  10671. end;
  10672. procedure TI2C1_I2C1STAT.clearRBF; inline;
  10673. begin
  10674. pTDefRegMap(@Self)^.clr := $00000002;
  10675. end;
  10676. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  10677. begin
  10678. if thebits = 0 then
  10679. pTDefRegMap(@Self)^.clr := $00000002
  10680. else
  10681. pTDefRegMap(@Self)^.&set := $00000002;
  10682. end;
  10683. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  10684. begin
  10685. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10686. end;
  10687. procedure TI2C1_I2C1STAT.setR_W; inline;
  10688. begin
  10689. pTDefRegMap(@Self)^.&set := $00000004;
  10690. end;
  10691. procedure TI2C1_I2C1STAT.clearR_W; inline;
  10692. begin
  10693. pTDefRegMap(@Self)^.clr := $00000004;
  10694. end;
  10695. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  10696. begin
  10697. if thebits = 0 then
  10698. pTDefRegMap(@Self)^.clr := $00000004
  10699. else
  10700. pTDefRegMap(@Self)^.&set := $00000004;
  10701. end;
  10702. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  10703. begin
  10704. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10705. end;
  10706. procedure TI2C1_I2C1STAT.setS; inline;
  10707. begin
  10708. pTDefRegMap(@Self)^.&set := $00000008;
  10709. end;
  10710. procedure TI2C1_I2C1STAT.clearS; inline;
  10711. begin
  10712. pTDefRegMap(@Self)^.clr := $00000008;
  10713. end;
  10714. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  10715. begin
  10716. if thebits = 0 then
  10717. pTDefRegMap(@Self)^.clr := $00000008
  10718. else
  10719. pTDefRegMap(@Self)^.&set := $00000008;
  10720. end;
  10721. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  10722. begin
  10723. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10724. end;
  10725. procedure TI2C1_I2C1STAT.setP; inline;
  10726. begin
  10727. pTDefRegMap(@Self)^.&set := $00000010;
  10728. end;
  10729. procedure TI2C1_I2C1STAT.clearP; inline;
  10730. begin
  10731. pTDefRegMap(@Self)^.clr := $00000010;
  10732. end;
  10733. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  10734. begin
  10735. if thebits = 0 then
  10736. pTDefRegMap(@Self)^.clr := $00000010
  10737. else
  10738. pTDefRegMap(@Self)^.&set := $00000010;
  10739. end;
  10740. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  10741. begin
  10742. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10743. end;
  10744. procedure TI2C1_I2C1STAT.setD_A; inline;
  10745. begin
  10746. pTDefRegMap(@Self)^.&set := $00000020;
  10747. end;
  10748. procedure TI2C1_I2C1STAT.clearD_A; inline;
  10749. begin
  10750. pTDefRegMap(@Self)^.clr := $00000020;
  10751. end;
  10752. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  10753. begin
  10754. if thebits = 0 then
  10755. pTDefRegMap(@Self)^.clr := $00000020
  10756. else
  10757. pTDefRegMap(@Self)^.&set := $00000020;
  10758. end;
  10759. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  10760. begin
  10761. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10762. end;
  10763. procedure TI2C1_I2C1STAT.setI2COV; inline;
  10764. begin
  10765. pTDefRegMap(@Self)^.&set := $00000040;
  10766. end;
  10767. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  10768. begin
  10769. pTDefRegMap(@Self)^.clr := $00000040;
  10770. end;
  10771. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  10772. begin
  10773. if thebits = 0 then
  10774. pTDefRegMap(@Self)^.clr := $00000040
  10775. else
  10776. pTDefRegMap(@Self)^.&set := $00000040;
  10777. end;
  10778. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  10779. begin
  10780. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10781. end;
  10782. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  10783. begin
  10784. pTDefRegMap(@Self)^.&set := $00000080;
  10785. end;
  10786. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  10787. begin
  10788. pTDefRegMap(@Self)^.clr := $00000080;
  10789. end;
  10790. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  10791. begin
  10792. if thebits = 0 then
  10793. pTDefRegMap(@Self)^.clr := $00000080
  10794. else
  10795. pTDefRegMap(@Self)^.&set := $00000080;
  10796. end;
  10797. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  10798. begin
  10799. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10800. end;
  10801. procedure TI2C1_I2C1STAT.setADD10; inline;
  10802. begin
  10803. pTDefRegMap(@Self)^.&set := $00000100;
  10804. end;
  10805. procedure TI2C1_I2C1STAT.clearADD10; inline;
  10806. begin
  10807. pTDefRegMap(@Self)^.clr := $00000100;
  10808. end;
  10809. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  10810. begin
  10811. if thebits = 0 then
  10812. pTDefRegMap(@Self)^.clr := $00000100
  10813. else
  10814. pTDefRegMap(@Self)^.&set := $00000100;
  10815. end;
  10816. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  10817. begin
  10818. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  10819. end;
  10820. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  10821. begin
  10822. pTDefRegMap(@Self)^.&set := $00000200;
  10823. end;
  10824. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  10825. begin
  10826. pTDefRegMap(@Self)^.clr := $00000200;
  10827. end;
  10828. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  10829. begin
  10830. if thebits = 0 then
  10831. pTDefRegMap(@Self)^.clr := $00000200
  10832. else
  10833. pTDefRegMap(@Self)^.&set := $00000200;
  10834. end;
  10835. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  10836. begin
  10837. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  10838. end;
  10839. procedure TI2C1_I2C1STAT.setBCL; inline;
  10840. begin
  10841. pTDefRegMap(@Self)^.&set := $00000400;
  10842. end;
  10843. procedure TI2C1_I2C1STAT.clearBCL; inline;
  10844. begin
  10845. pTDefRegMap(@Self)^.clr := $00000400;
  10846. end;
  10847. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  10848. begin
  10849. if thebits = 0 then
  10850. pTDefRegMap(@Self)^.clr := $00000400
  10851. else
  10852. pTDefRegMap(@Self)^.&set := $00000400;
  10853. end;
  10854. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  10855. begin
  10856. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  10857. end;
  10858. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  10859. begin
  10860. pTDefRegMap(@Self)^.&set := $00004000;
  10861. end;
  10862. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  10863. begin
  10864. pTDefRegMap(@Self)^.clr := $00004000;
  10865. end;
  10866. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  10867. begin
  10868. if thebits = 0 then
  10869. pTDefRegMap(@Self)^.clr := $00004000
  10870. else
  10871. pTDefRegMap(@Self)^.&set := $00004000;
  10872. end;
  10873. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  10874. begin
  10875. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  10876. end;
  10877. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  10878. begin
  10879. pTDefRegMap(@Self)^.&set := $00008000;
  10880. end;
  10881. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  10882. begin
  10883. pTDefRegMap(@Self)^.clr := $00008000;
  10884. end;
  10885. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  10886. begin
  10887. if thebits = 0 then
  10888. pTDefRegMap(@Self)^.clr := $00008000
  10889. else
  10890. pTDefRegMap(@Self)^.&set := $00008000;
  10891. end;
  10892. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  10893. begin
  10894. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10895. end;
  10896. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  10897. begin
  10898. pTDefRegMap(@Self)^.&set := $00000040;
  10899. end;
  10900. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  10901. begin
  10902. pTDefRegMap(@Self)^.clr := $00000040;
  10903. end;
  10904. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  10905. begin
  10906. if thebits = 0 then
  10907. pTDefRegMap(@Self)^.clr := $00000040
  10908. else
  10909. pTDefRegMap(@Self)^.&set := $00000040;
  10910. end;
  10911. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  10912. begin
  10913. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10914. end;
  10915. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  10916. begin
  10917. pTDefRegMap(@Self)^.val := thebits;
  10918. end;
  10919. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  10920. begin
  10921. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10922. end;
  10923. procedure TI2C2_I2C2CON.setSEN; inline;
  10924. begin
  10925. pTDefRegMap(@Self)^.&set := $00000001;
  10926. end;
  10927. procedure TI2C2_I2C2CON.clearSEN; inline;
  10928. begin
  10929. pTDefRegMap(@Self)^.clr := $00000001;
  10930. end;
  10931. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  10932. begin
  10933. if thebits = 0 then
  10934. pTDefRegMap(@Self)^.clr := $00000001
  10935. else
  10936. pTDefRegMap(@Self)^.&set := $00000001;
  10937. end;
  10938. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  10939. begin
  10940. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10941. end;
  10942. procedure TI2C2_I2C2CON.setRSEN; inline;
  10943. begin
  10944. pTDefRegMap(@Self)^.&set := $00000002;
  10945. end;
  10946. procedure TI2C2_I2C2CON.clearRSEN; inline;
  10947. begin
  10948. pTDefRegMap(@Self)^.clr := $00000002;
  10949. end;
  10950. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  10951. begin
  10952. if thebits = 0 then
  10953. pTDefRegMap(@Self)^.clr := $00000002
  10954. else
  10955. pTDefRegMap(@Self)^.&set := $00000002;
  10956. end;
  10957. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  10958. begin
  10959. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10960. end;
  10961. procedure TI2C2_I2C2CON.setPEN; inline;
  10962. begin
  10963. pTDefRegMap(@Self)^.&set := $00000004;
  10964. end;
  10965. procedure TI2C2_I2C2CON.clearPEN; inline;
  10966. begin
  10967. pTDefRegMap(@Self)^.clr := $00000004;
  10968. end;
  10969. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  10970. begin
  10971. if thebits = 0 then
  10972. pTDefRegMap(@Self)^.clr := $00000004
  10973. else
  10974. pTDefRegMap(@Self)^.&set := $00000004;
  10975. end;
  10976. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  10977. begin
  10978. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10979. end;
  10980. procedure TI2C2_I2C2CON.setRCEN; inline;
  10981. begin
  10982. pTDefRegMap(@Self)^.&set := $00000008;
  10983. end;
  10984. procedure TI2C2_I2C2CON.clearRCEN; inline;
  10985. begin
  10986. pTDefRegMap(@Self)^.clr := $00000008;
  10987. end;
  10988. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  10989. begin
  10990. if thebits = 0 then
  10991. pTDefRegMap(@Self)^.clr := $00000008
  10992. else
  10993. pTDefRegMap(@Self)^.&set := $00000008;
  10994. end;
  10995. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  10996. begin
  10997. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10998. end;
  10999. procedure TI2C2_I2C2CON.setACKEN; inline;
  11000. begin
  11001. pTDefRegMap(@Self)^.&set := $00000010;
  11002. end;
  11003. procedure TI2C2_I2C2CON.clearACKEN; inline;
  11004. begin
  11005. pTDefRegMap(@Self)^.clr := $00000010;
  11006. end;
  11007. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  11008. begin
  11009. if thebits = 0 then
  11010. pTDefRegMap(@Self)^.clr := $00000010
  11011. else
  11012. pTDefRegMap(@Self)^.&set := $00000010;
  11013. end;
  11014. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  11015. begin
  11016. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11017. end;
  11018. procedure TI2C2_I2C2CON.setACKDT; inline;
  11019. begin
  11020. pTDefRegMap(@Self)^.&set := $00000020;
  11021. end;
  11022. procedure TI2C2_I2C2CON.clearACKDT; inline;
  11023. begin
  11024. pTDefRegMap(@Self)^.clr := $00000020;
  11025. end;
  11026. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  11027. begin
  11028. if thebits = 0 then
  11029. pTDefRegMap(@Self)^.clr := $00000020
  11030. else
  11031. pTDefRegMap(@Self)^.&set := $00000020;
  11032. end;
  11033. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  11034. begin
  11035. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11036. end;
  11037. procedure TI2C2_I2C2CON.setSTREN; inline;
  11038. begin
  11039. pTDefRegMap(@Self)^.&set := $00000040;
  11040. end;
  11041. procedure TI2C2_I2C2CON.clearSTREN; inline;
  11042. begin
  11043. pTDefRegMap(@Self)^.clr := $00000040;
  11044. end;
  11045. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  11046. begin
  11047. if thebits = 0 then
  11048. pTDefRegMap(@Self)^.clr := $00000040
  11049. else
  11050. pTDefRegMap(@Self)^.&set := $00000040;
  11051. end;
  11052. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  11053. begin
  11054. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11055. end;
  11056. procedure TI2C2_I2C2CON.setGCEN; inline;
  11057. begin
  11058. pTDefRegMap(@Self)^.&set := $00000080;
  11059. end;
  11060. procedure TI2C2_I2C2CON.clearGCEN; inline;
  11061. begin
  11062. pTDefRegMap(@Self)^.clr := $00000080;
  11063. end;
  11064. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  11065. begin
  11066. if thebits = 0 then
  11067. pTDefRegMap(@Self)^.clr := $00000080
  11068. else
  11069. pTDefRegMap(@Self)^.&set := $00000080;
  11070. end;
  11071. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  11072. begin
  11073. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11074. end;
  11075. procedure TI2C2_I2C2CON.setSMEN; inline;
  11076. begin
  11077. pTDefRegMap(@Self)^.&set := $00000100;
  11078. end;
  11079. procedure TI2C2_I2C2CON.clearSMEN; inline;
  11080. begin
  11081. pTDefRegMap(@Self)^.clr := $00000100;
  11082. end;
  11083. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  11084. begin
  11085. if thebits = 0 then
  11086. pTDefRegMap(@Self)^.clr := $00000100
  11087. else
  11088. pTDefRegMap(@Self)^.&set := $00000100;
  11089. end;
  11090. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  11091. begin
  11092. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11093. end;
  11094. procedure TI2C2_I2C2CON.setDISSLW; inline;
  11095. begin
  11096. pTDefRegMap(@Self)^.&set := $00000200;
  11097. end;
  11098. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  11099. begin
  11100. pTDefRegMap(@Self)^.clr := $00000200;
  11101. end;
  11102. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  11103. begin
  11104. if thebits = 0 then
  11105. pTDefRegMap(@Self)^.clr := $00000200
  11106. else
  11107. pTDefRegMap(@Self)^.&set := $00000200;
  11108. end;
  11109. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  11110. begin
  11111. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11112. end;
  11113. procedure TI2C2_I2C2CON.setA10M; inline;
  11114. begin
  11115. pTDefRegMap(@Self)^.&set := $00000400;
  11116. end;
  11117. procedure TI2C2_I2C2CON.clearA10M; inline;
  11118. begin
  11119. pTDefRegMap(@Self)^.clr := $00000400;
  11120. end;
  11121. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  11122. begin
  11123. if thebits = 0 then
  11124. pTDefRegMap(@Self)^.clr := $00000400
  11125. else
  11126. pTDefRegMap(@Self)^.&set := $00000400;
  11127. end;
  11128. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  11129. begin
  11130. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  11131. end;
  11132. procedure TI2C2_I2C2CON.setSTRICT; inline;
  11133. begin
  11134. pTDefRegMap(@Self)^.&set := $00000800;
  11135. end;
  11136. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  11137. begin
  11138. pTDefRegMap(@Self)^.clr := $00000800;
  11139. end;
  11140. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  11141. begin
  11142. if thebits = 0 then
  11143. pTDefRegMap(@Self)^.clr := $00000800
  11144. else
  11145. pTDefRegMap(@Self)^.&set := $00000800;
  11146. end;
  11147. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  11148. begin
  11149. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11150. end;
  11151. procedure TI2C2_I2C2CON.setSCLREL; inline;
  11152. begin
  11153. pTDefRegMap(@Self)^.&set := $00001000;
  11154. end;
  11155. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  11156. begin
  11157. pTDefRegMap(@Self)^.clr := $00001000;
  11158. end;
  11159. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  11160. begin
  11161. if thebits = 0 then
  11162. pTDefRegMap(@Self)^.clr := $00001000
  11163. else
  11164. pTDefRegMap(@Self)^.&set := $00001000;
  11165. end;
  11166. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  11167. begin
  11168. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  11169. end;
  11170. procedure TI2C2_I2C2CON.setSIDL; inline;
  11171. begin
  11172. pTDefRegMap(@Self)^.&set := $00002000;
  11173. end;
  11174. procedure TI2C2_I2C2CON.clearSIDL; inline;
  11175. begin
  11176. pTDefRegMap(@Self)^.clr := $00002000;
  11177. end;
  11178. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  11179. begin
  11180. if thebits = 0 then
  11181. pTDefRegMap(@Self)^.clr := $00002000
  11182. else
  11183. pTDefRegMap(@Self)^.&set := $00002000;
  11184. end;
  11185. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  11186. begin
  11187. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11188. end;
  11189. procedure TI2C2_I2C2CON.setON; inline;
  11190. begin
  11191. pTDefRegMap(@Self)^.&set := $00008000;
  11192. end;
  11193. procedure TI2C2_I2C2CON.clearON; inline;
  11194. begin
  11195. pTDefRegMap(@Self)^.clr := $00008000;
  11196. end;
  11197. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  11198. begin
  11199. if thebits = 0 then
  11200. pTDefRegMap(@Self)^.clr := $00008000
  11201. else
  11202. pTDefRegMap(@Self)^.&set := $00008000;
  11203. end;
  11204. function TI2C2_I2C2CON.getON : TBits_1; inline;
  11205. begin
  11206. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11207. end;
  11208. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  11209. begin
  11210. pTDefRegMap(@Self)^.&set := $00000800;
  11211. end;
  11212. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  11213. begin
  11214. pTDefRegMap(@Self)^.clr := $00000800;
  11215. end;
  11216. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  11217. begin
  11218. if thebits = 0 then
  11219. pTDefRegMap(@Self)^.clr := $00000800
  11220. else
  11221. pTDefRegMap(@Self)^.&set := $00000800;
  11222. end;
  11223. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  11224. begin
  11225. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11226. end;
  11227. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  11228. begin
  11229. pTDefRegMap(@Self)^.&set := $00002000;
  11230. end;
  11231. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  11232. begin
  11233. pTDefRegMap(@Self)^.clr := $00002000;
  11234. end;
  11235. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  11236. begin
  11237. if thebits = 0 then
  11238. pTDefRegMap(@Self)^.clr := $00002000
  11239. else
  11240. pTDefRegMap(@Self)^.&set := $00002000;
  11241. end;
  11242. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  11243. begin
  11244. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11245. end;
  11246. procedure TI2C2_I2C2CON.setI2CEN; inline;
  11247. begin
  11248. pTDefRegMap(@Self)^.&set := $00008000;
  11249. end;
  11250. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  11251. begin
  11252. pTDefRegMap(@Self)^.clr := $00008000;
  11253. end;
  11254. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  11255. begin
  11256. if thebits = 0 then
  11257. pTDefRegMap(@Self)^.clr := $00008000
  11258. else
  11259. pTDefRegMap(@Self)^.&set := $00008000;
  11260. end;
  11261. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  11262. begin
  11263. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11264. end;
  11265. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  11266. begin
  11267. pTDefRegMap(@Self)^.val := thebits;
  11268. end;
  11269. function TI2C2_I2C2CON.getw : TBits_32; inline;
  11270. begin
  11271. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11272. end;
  11273. procedure TI2C2_I2C2STAT.setTBF; inline;
  11274. begin
  11275. pTDefRegMap(@Self)^.&set := $00000001;
  11276. end;
  11277. procedure TI2C2_I2C2STAT.clearTBF; inline;
  11278. begin
  11279. pTDefRegMap(@Self)^.clr := $00000001;
  11280. end;
  11281. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  11282. begin
  11283. if thebits = 0 then
  11284. pTDefRegMap(@Self)^.clr := $00000001
  11285. else
  11286. pTDefRegMap(@Self)^.&set := $00000001;
  11287. end;
  11288. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  11289. begin
  11290. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11291. end;
  11292. procedure TI2C2_I2C2STAT.setRBF; inline;
  11293. begin
  11294. pTDefRegMap(@Self)^.&set := $00000002;
  11295. end;
  11296. procedure TI2C2_I2C2STAT.clearRBF; inline;
  11297. begin
  11298. pTDefRegMap(@Self)^.clr := $00000002;
  11299. end;
  11300. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  11301. begin
  11302. if thebits = 0 then
  11303. pTDefRegMap(@Self)^.clr := $00000002
  11304. else
  11305. pTDefRegMap(@Self)^.&set := $00000002;
  11306. end;
  11307. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  11308. begin
  11309. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11310. end;
  11311. procedure TI2C2_I2C2STAT.setR_W; inline;
  11312. begin
  11313. pTDefRegMap(@Self)^.&set := $00000004;
  11314. end;
  11315. procedure TI2C2_I2C2STAT.clearR_W; inline;
  11316. begin
  11317. pTDefRegMap(@Self)^.clr := $00000004;
  11318. end;
  11319. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  11320. begin
  11321. if thebits = 0 then
  11322. pTDefRegMap(@Self)^.clr := $00000004
  11323. else
  11324. pTDefRegMap(@Self)^.&set := $00000004;
  11325. end;
  11326. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  11327. begin
  11328. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11329. end;
  11330. procedure TI2C2_I2C2STAT.setS; inline;
  11331. begin
  11332. pTDefRegMap(@Self)^.&set := $00000008;
  11333. end;
  11334. procedure TI2C2_I2C2STAT.clearS; inline;
  11335. begin
  11336. pTDefRegMap(@Self)^.clr := $00000008;
  11337. end;
  11338. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  11339. begin
  11340. if thebits = 0 then
  11341. pTDefRegMap(@Self)^.clr := $00000008
  11342. else
  11343. pTDefRegMap(@Self)^.&set := $00000008;
  11344. end;
  11345. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  11346. begin
  11347. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11348. end;
  11349. procedure TI2C2_I2C2STAT.setP; inline;
  11350. begin
  11351. pTDefRegMap(@Self)^.&set := $00000010;
  11352. end;
  11353. procedure TI2C2_I2C2STAT.clearP; inline;
  11354. begin
  11355. pTDefRegMap(@Self)^.clr := $00000010;
  11356. end;
  11357. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  11358. begin
  11359. if thebits = 0 then
  11360. pTDefRegMap(@Self)^.clr := $00000010
  11361. else
  11362. pTDefRegMap(@Self)^.&set := $00000010;
  11363. end;
  11364. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  11365. begin
  11366. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11367. end;
  11368. procedure TI2C2_I2C2STAT.setD_A; inline;
  11369. begin
  11370. pTDefRegMap(@Self)^.&set := $00000020;
  11371. end;
  11372. procedure TI2C2_I2C2STAT.clearD_A; inline;
  11373. begin
  11374. pTDefRegMap(@Self)^.clr := $00000020;
  11375. end;
  11376. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  11377. begin
  11378. if thebits = 0 then
  11379. pTDefRegMap(@Self)^.clr := $00000020
  11380. else
  11381. pTDefRegMap(@Self)^.&set := $00000020;
  11382. end;
  11383. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  11384. begin
  11385. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11386. end;
  11387. procedure TI2C2_I2C2STAT.setI2COV; inline;
  11388. begin
  11389. pTDefRegMap(@Self)^.&set := $00000040;
  11390. end;
  11391. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  11392. begin
  11393. pTDefRegMap(@Self)^.clr := $00000040;
  11394. end;
  11395. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  11396. begin
  11397. if thebits = 0 then
  11398. pTDefRegMap(@Self)^.clr := $00000040
  11399. else
  11400. pTDefRegMap(@Self)^.&set := $00000040;
  11401. end;
  11402. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  11403. begin
  11404. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11405. end;
  11406. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  11407. begin
  11408. pTDefRegMap(@Self)^.&set := $00000080;
  11409. end;
  11410. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  11411. begin
  11412. pTDefRegMap(@Self)^.clr := $00000080;
  11413. end;
  11414. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  11415. begin
  11416. if thebits = 0 then
  11417. pTDefRegMap(@Self)^.clr := $00000080
  11418. else
  11419. pTDefRegMap(@Self)^.&set := $00000080;
  11420. end;
  11421. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  11422. begin
  11423. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11424. end;
  11425. procedure TI2C2_I2C2STAT.setADD10; inline;
  11426. begin
  11427. pTDefRegMap(@Self)^.&set := $00000100;
  11428. end;
  11429. procedure TI2C2_I2C2STAT.clearADD10; inline;
  11430. begin
  11431. pTDefRegMap(@Self)^.clr := $00000100;
  11432. end;
  11433. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  11434. begin
  11435. if thebits = 0 then
  11436. pTDefRegMap(@Self)^.clr := $00000100
  11437. else
  11438. pTDefRegMap(@Self)^.&set := $00000100;
  11439. end;
  11440. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  11441. begin
  11442. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11443. end;
  11444. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  11445. begin
  11446. pTDefRegMap(@Self)^.&set := $00000200;
  11447. end;
  11448. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  11449. begin
  11450. pTDefRegMap(@Self)^.clr := $00000200;
  11451. end;
  11452. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  11453. begin
  11454. if thebits = 0 then
  11455. pTDefRegMap(@Self)^.clr := $00000200
  11456. else
  11457. pTDefRegMap(@Self)^.&set := $00000200;
  11458. end;
  11459. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  11460. begin
  11461. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11462. end;
  11463. procedure TI2C2_I2C2STAT.setBCL; inline;
  11464. begin
  11465. pTDefRegMap(@Self)^.&set := $00000400;
  11466. end;
  11467. procedure TI2C2_I2C2STAT.clearBCL; inline;
  11468. begin
  11469. pTDefRegMap(@Self)^.clr := $00000400;
  11470. end;
  11471. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  11472. begin
  11473. if thebits = 0 then
  11474. pTDefRegMap(@Self)^.clr := $00000400
  11475. else
  11476. pTDefRegMap(@Self)^.&set := $00000400;
  11477. end;
  11478. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  11479. begin
  11480. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  11481. end;
  11482. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  11483. begin
  11484. pTDefRegMap(@Self)^.&set := $00004000;
  11485. end;
  11486. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  11487. begin
  11488. pTDefRegMap(@Self)^.clr := $00004000;
  11489. end;
  11490. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  11491. begin
  11492. if thebits = 0 then
  11493. pTDefRegMap(@Self)^.clr := $00004000
  11494. else
  11495. pTDefRegMap(@Self)^.&set := $00004000;
  11496. end;
  11497. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  11498. begin
  11499. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  11500. end;
  11501. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  11502. begin
  11503. pTDefRegMap(@Self)^.&set := $00008000;
  11504. end;
  11505. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  11506. begin
  11507. pTDefRegMap(@Self)^.clr := $00008000;
  11508. end;
  11509. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  11510. begin
  11511. if thebits = 0 then
  11512. pTDefRegMap(@Self)^.clr := $00008000
  11513. else
  11514. pTDefRegMap(@Self)^.&set := $00008000;
  11515. end;
  11516. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  11517. begin
  11518. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11519. end;
  11520. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  11521. begin
  11522. pTDefRegMap(@Self)^.&set := $00000040;
  11523. end;
  11524. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  11525. begin
  11526. pTDefRegMap(@Self)^.clr := $00000040;
  11527. end;
  11528. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  11529. begin
  11530. if thebits = 0 then
  11531. pTDefRegMap(@Self)^.clr := $00000040
  11532. else
  11533. pTDefRegMap(@Self)^.&set := $00000040;
  11534. end;
  11535. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  11536. begin
  11537. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11538. end;
  11539. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  11540. begin
  11541. pTDefRegMap(@Self)^.val := thebits;
  11542. end;
  11543. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  11544. begin
  11545. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11546. end;
  11547. procedure TSPI1_SPI1CON.setMSTEN; inline;
  11548. begin
  11549. pTDefRegMap(@Self)^.&set := $00000020;
  11550. end;
  11551. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  11552. begin
  11553. pTDefRegMap(@Self)^.clr := $00000020;
  11554. end;
  11555. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  11556. begin
  11557. if thebits = 0 then
  11558. pTDefRegMap(@Self)^.clr := $00000020
  11559. else
  11560. pTDefRegMap(@Self)^.&set := $00000020;
  11561. end;
  11562. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  11563. begin
  11564. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11565. end;
  11566. procedure TSPI1_SPI1CON.setCKP; inline;
  11567. begin
  11568. pTDefRegMap(@Self)^.&set := $00000040;
  11569. end;
  11570. procedure TSPI1_SPI1CON.clearCKP; inline;
  11571. begin
  11572. pTDefRegMap(@Self)^.clr := $00000040;
  11573. end;
  11574. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  11575. begin
  11576. if thebits = 0 then
  11577. pTDefRegMap(@Self)^.clr := $00000040
  11578. else
  11579. pTDefRegMap(@Self)^.&set := $00000040;
  11580. end;
  11581. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  11582. begin
  11583. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11584. end;
  11585. procedure TSPI1_SPI1CON.setSSEN; inline;
  11586. begin
  11587. pTDefRegMap(@Self)^.&set := $00000080;
  11588. end;
  11589. procedure TSPI1_SPI1CON.clearSSEN; inline;
  11590. begin
  11591. pTDefRegMap(@Self)^.clr := $00000080;
  11592. end;
  11593. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  11594. begin
  11595. if thebits = 0 then
  11596. pTDefRegMap(@Self)^.clr := $00000080
  11597. else
  11598. pTDefRegMap(@Self)^.&set := $00000080;
  11599. end;
  11600. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  11601. begin
  11602. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11603. end;
  11604. procedure TSPI1_SPI1CON.setCKE; inline;
  11605. begin
  11606. pTDefRegMap(@Self)^.&set := $00000100;
  11607. end;
  11608. procedure TSPI1_SPI1CON.clearCKE; inline;
  11609. begin
  11610. pTDefRegMap(@Self)^.clr := $00000100;
  11611. end;
  11612. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  11613. begin
  11614. if thebits = 0 then
  11615. pTDefRegMap(@Self)^.clr := $00000100
  11616. else
  11617. pTDefRegMap(@Self)^.&set := $00000100;
  11618. end;
  11619. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  11620. begin
  11621. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11622. end;
  11623. procedure TSPI1_SPI1CON.setSMP; inline;
  11624. begin
  11625. pTDefRegMap(@Self)^.&set := $00000200;
  11626. end;
  11627. procedure TSPI1_SPI1CON.clearSMP; inline;
  11628. begin
  11629. pTDefRegMap(@Self)^.clr := $00000200;
  11630. end;
  11631. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  11632. begin
  11633. if thebits = 0 then
  11634. pTDefRegMap(@Self)^.clr := $00000200
  11635. else
  11636. pTDefRegMap(@Self)^.&set := $00000200;
  11637. end;
  11638. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  11639. begin
  11640. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11641. end;
  11642. procedure TSPI1_SPI1CON.setMODE16; inline;
  11643. begin
  11644. pTDefRegMap(@Self)^.&set := $00000400;
  11645. end;
  11646. procedure TSPI1_SPI1CON.clearMODE16; inline;
  11647. begin
  11648. pTDefRegMap(@Self)^.clr := $00000400;
  11649. end;
  11650. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  11651. begin
  11652. if thebits = 0 then
  11653. pTDefRegMap(@Self)^.clr := $00000400
  11654. else
  11655. pTDefRegMap(@Self)^.&set := $00000400;
  11656. end;
  11657. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  11658. begin
  11659. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  11660. end;
  11661. procedure TSPI1_SPI1CON.setMODE32; inline;
  11662. begin
  11663. pTDefRegMap(@Self)^.&set := $00000800;
  11664. end;
  11665. procedure TSPI1_SPI1CON.clearMODE32; inline;
  11666. begin
  11667. pTDefRegMap(@Self)^.clr := $00000800;
  11668. end;
  11669. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  11670. begin
  11671. if thebits = 0 then
  11672. pTDefRegMap(@Self)^.clr := $00000800
  11673. else
  11674. pTDefRegMap(@Self)^.&set := $00000800;
  11675. end;
  11676. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  11677. begin
  11678. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11679. end;
  11680. procedure TSPI1_SPI1CON.setDISSDO; inline;
  11681. begin
  11682. pTDefRegMap(@Self)^.&set := $00001000;
  11683. end;
  11684. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  11685. begin
  11686. pTDefRegMap(@Self)^.clr := $00001000;
  11687. end;
  11688. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  11689. begin
  11690. if thebits = 0 then
  11691. pTDefRegMap(@Self)^.clr := $00001000
  11692. else
  11693. pTDefRegMap(@Self)^.&set := $00001000;
  11694. end;
  11695. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  11696. begin
  11697. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  11698. end;
  11699. procedure TSPI1_SPI1CON.setSIDL; inline;
  11700. begin
  11701. pTDefRegMap(@Self)^.&set := $00002000;
  11702. end;
  11703. procedure TSPI1_SPI1CON.clearSIDL; inline;
  11704. begin
  11705. pTDefRegMap(@Self)^.clr := $00002000;
  11706. end;
  11707. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  11708. begin
  11709. if thebits = 0 then
  11710. pTDefRegMap(@Self)^.clr := $00002000
  11711. else
  11712. pTDefRegMap(@Self)^.&set := $00002000;
  11713. end;
  11714. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  11715. begin
  11716. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11717. end;
  11718. procedure TSPI1_SPI1CON.setON; inline;
  11719. begin
  11720. pTDefRegMap(@Self)^.&set := $00008000;
  11721. end;
  11722. procedure TSPI1_SPI1CON.clearON; inline;
  11723. begin
  11724. pTDefRegMap(@Self)^.clr := $00008000;
  11725. end;
  11726. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  11727. begin
  11728. if thebits = 0 then
  11729. pTDefRegMap(@Self)^.clr := $00008000
  11730. else
  11731. pTDefRegMap(@Self)^.&set := $00008000;
  11732. end;
  11733. function TSPI1_SPI1CON.getON : TBits_1; inline;
  11734. begin
  11735. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11736. end;
  11737. procedure TSPI1_SPI1CON.setSPIFE; inline;
  11738. begin
  11739. pTDefRegMap(@Self)^.&set := $00020000;
  11740. end;
  11741. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  11742. begin
  11743. pTDefRegMap(@Self)^.clr := $00020000;
  11744. end;
  11745. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  11746. begin
  11747. if thebits = 0 then
  11748. pTDefRegMap(@Self)^.clr := $00020000
  11749. else
  11750. pTDefRegMap(@Self)^.&set := $00020000;
  11751. end;
  11752. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  11753. begin
  11754. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  11755. end;
  11756. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  11757. begin
  11758. pTDefRegMap(@Self)^.&set := $20000000;
  11759. end;
  11760. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  11761. begin
  11762. pTDefRegMap(@Self)^.clr := $20000000;
  11763. end;
  11764. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  11765. begin
  11766. if thebits = 0 then
  11767. pTDefRegMap(@Self)^.clr := $20000000
  11768. else
  11769. pTDefRegMap(@Self)^.&set := $20000000;
  11770. end;
  11771. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  11772. begin
  11773. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  11774. end;
  11775. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  11776. begin
  11777. pTDefRegMap(@Self)^.&set := $40000000;
  11778. end;
  11779. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  11780. begin
  11781. pTDefRegMap(@Self)^.clr := $40000000;
  11782. end;
  11783. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  11784. begin
  11785. if thebits = 0 then
  11786. pTDefRegMap(@Self)^.clr := $40000000
  11787. else
  11788. pTDefRegMap(@Self)^.&set := $40000000;
  11789. end;
  11790. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  11791. begin
  11792. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  11793. end;
  11794. procedure TSPI1_SPI1CON.setFRMEN; inline;
  11795. begin
  11796. pTDefRegMap(@Self)^.&set := $80000000;
  11797. end;
  11798. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  11799. begin
  11800. pTDefRegMap(@Self)^.clr := $80000000;
  11801. end;
  11802. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  11803. begin
  11804. if thebits = 0 then
  11805. pTDefRegMap(@Self)^.clr := $80000000
  11806. else
  11807. pTDefRegMap(@Self)^.&set := $80000000;
  11808. end;
  11809. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  11810. begin
  11811. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  11812. end;
  11813. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  11814. begin
  11815. pTDefRegMap(@Self)^.val := thebits;
  11816. end;
  11817. function TSPI1_SPI1CON.getw : TBits_32; inline;
  11818. begin
  11819. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11820. end;
  11821. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  11822. begin
  11823. pTDefRegMap(@Self)^.&set := $00000001;
  11824. end;
  11825. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  11826. begin
  11827. pTDefRegMap(@Self)^.clr := $00000001;
  11828. end;
  11829. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  11830. begin
  11831. if thebits = 0 then
  11832. pTDefRegMap(@Self)^.clr := $00000001
  11833. else
  11834. pTDefRegMap(@Self)^.&set := $00000001;
  11835. end;
  11836. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  11837. begin
  11838. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11839. end;
  11840. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  11841. begin
  11842. pTDefRegMap(@Self)^.&set := $00000008;
  11843. end;
  11844. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  11845. begin
  11846. pTDefRegMap(@Self)^.clr := $00000008;
  11847. end;
  11848. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  11849. begin
  11850. if thebits = 0 then
  11851. pTDefRegMap(@Self)^.clr := $00000008
  11852. else
  11853. pTDefRegMap(@Self)^.&set := $00000008;
  11854. end;
  11855. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  11856. begin
  11857. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11858. end;
  11859. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  11860. begin
  11861. pTDefRegMap(@Self)^.&set := $00000040;
  11862. end;
  11863. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  11864. begin
  11865. pTDefRegMap(@Self)^.clr := $00000040;
  11866. end;
  11867. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  11868. begin
  11869. if thebits = 0 then
  11870. pTDefRegMap(@Self)^.clr := $00000040
  11871. else
  11872. pTDefRegMap(@Self)^.&set := $00000040;
  11873. end;
  11874. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  11875. begin
  11876. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11877. end;
  11878. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  11879. begin
  11880. pTDefRegMap(@Self)^.&set := $00000800;
  11881. end;
  11882. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  11883. begin
  11884. pTDefRegMap(@Self)^.clr := $00000800;
  11885. end;
  11886. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  11887. begin
  11888. if thebits = 0 then
  11889. pTDefRegMap(@Self)^.clr := $00000800
  11890. else
  11891. pTDefRegMap(@Self)^.&set := $00000800;
  11892. end;
  11893. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  11894. begin
  11895. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11896. end;
  11897. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  11898. begin
  11899. pTDefRegMap(@Self)^.val := thebits;
  11900. end;
  11901. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  11902. begin
  11903. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11904. end;
  11905. procedure TSPI2_SPI2CON.setMSTEN; inline;
  11906. begin
  11907. pTDefRegMap(@Self)^.&set := $00000020;
  11908. end;
  11909. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  11910. begin
  11911. pTDefRegMap(@Self)^.clr := $00000020;
  11912. end;
  11913. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  11914. begin
  11915. if thebits = 0 then
  11916. pTDefRegMap(@Self)^.clr := $00000020
  11917. else
  11918. pTDefRegMap(@Self)^.&set := $00000020;
  11919. end;
  11920. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  11921. begin
  11922. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11923. end;
  11924. procedure TSPI2_SPI2CON.setCKP; inline;
  11925. begin
  11926. pTDefRegMap(@Self)^.&set := $00000040;
  11927. end;
  11928. procedure TSPI2_SPI2CON.clearCKP; inline;
  11929. begin
  11930. pTDefRegMap(@Self)^.clr := $00000040;
  11931. end;
  11932. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  11933. begin
  11934. if thebits = 0 then
  11935. pTDefRegMap(@Self)^.clr := $00000040
  11936. else
  11937. pTDefRegMap(@Self)^.&set := $00000040;
  11938. end;
  11939. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  11940. begin
  11941. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11942. end;
  11943. procedure TSPI2_SPI2CON.setSSEN; inline;
  11944. begin
  11945. pTDefRegMap(@Self)^.&set := $00000080;
  11946. end;
  11947. procedure TSPI2_SPI2CON.clearSSEN; inline;
  11948. begin
  11949. pTDefRegMap(@Self)^.clr := $00000080;
  11950. end;
  11951. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  11952. begin
  11953. if thebits = 0 then
  11954. pTDefRegMap(@Self)^.clr := $00000080
  11955. else
  11956. pTDefRegMap(@Self)^.&set := $00000080;
  11957. end;
  11958. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  11959. begin
  11960. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11961. end;
  11962. procedure TSPI2_SPI2CON.setCKE; inline;
  11963. begin
  11964. pTDefRegMap(@Self)^.&set := $00000100;
  11965. end;
  11966. procedure TSPI2_SPI2CON.clearCKE; inline;
  11967. begin
  11968. pTDefRegMap(@Self)^.clr := $00000100;
  11969. end;
  11970. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  11971. begin
  11972. if thebits = 0 then
  11973. pTDefRegMap(@Self)^.clr := $00000100
  11974. else
  11975. pTDefRegMap(@Self)^.&set := $00000100;
  11976. end;
  11977. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  11978. begin
  11979. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11980. end;
  11981. procedure TSPI2_SPI2CON.setSMP; inline;
  11982. begin
  11983. pTDefRegMap(@Self)^.&set := $00000200;
  11984. end;
  11985. procedure TSPI2_SPI2CON.clearSMP; inline;
  11986. begin
  11987. pTDefRegMap(@Self)^.clr := $00000200;
  11988. end;
  11989. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  11990. begin
  11991. if thebits = 0 then
  11992. pTDefRegMap(@Self)^.clr := $00000200
  11993. else
  11994. pTDefRegMap(@Self)^.&set := $00000200;
  11995. end;
  11996. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  11997. begin
  11998. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11999. end;
  12000. procedure TSPI2_SPI2CON.setMODE16; inline;
  12001. begin
  12002. pTDefRegMap(@Self)^.&set := $00000400;
  12003. end;
  12004. procedure TSPI2_SPI2CON.clearMODE16; inline;
  12005. begin
  12006. pTDefRegMap(@Self)^.clr := $00000400;
  12007. end;
  12008. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  12009. begin
  12010. if thebits = 0 then
  12011. pTDefRegMap(@Self)^.clr := $00000400
  12012. else
  12013. pTDefRegMap(@Self)^.&set := $00000400;
  12014. end;
  12015. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  12016. begin
  12017. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12018. end;
  12019. procedure TSPI2_SPI2CON.setMODE32; inline;
  12020. begin
  12021. pTDefRegMap(@Self)^.&set := $00000800;
  12022. end;
  12023. procedure TSPI2_SPI2CON.clearMODE32; inline;
  12024. begin
  12025. pTDefRegMap(@Self)^.clr := $00000800;
  12026. end;
  12027. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  12028. begin
  12029. if thebits = 0 then
  12030. pTDefRegMap(@Self)^.clr := $00000800
  12031. else
  12032. pTDefRegMap(@Self)^.&set := $00000800;
  12033. end;
  12034. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  12035. begin
  12036. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12037. end;
  12038. procedure TSPI2_SPI2CON.setDISSDO; inline;
  12039. begin
  12040. pTDefRegMap(@Self)^.&set := $00001000;
  12041. end;
  12042. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  12043. begin
  12044. pTDefRegMap(@Self)^.clr := $00001000;
  12045. end;
  12046. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  12047. begin
  12048. if thebits = 0 then
  12049. pTDefRegMap(@Self)^.clr := $00001000
  12050. else
  12051. pTDefRegMap(@Self)^.&set := $00001000;
  12052. end;
  12053. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  12054. begin
  12055. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12056. end;
  12057. procedure TSPI2_SPI2CON.setSIDL; inline;
  12058. begin
  12059. pTDefRegMap(@Self)^.&set := $00002000;
  12060. end;
  12061. procedure TSPI2_SPI2CON.clearSIDL; inline;
  12062. begin
  12063. pTDefRegMap(@Self)^.clr := $00002000;
  12064. end;
  12065. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  12066. begin
  12067. if thebits = 0 then
  12068. pTDefRegMap(@Self)^.clr := $00002000
  12069. else
  12070. pTDefRegMap(@Self)^.&set := $00002000;
  12071. end;
  12072. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  12073. begin
  12074. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12075. end;
  12076. procedure TSPI2_SPI2CON.setON; inline;
  12077. begin
  12078. pTDefRegMap(@Self)^.&set := $00008000;
  12079. end;
  12080. procedure TSPI2_SPI2CON.clearON; inline;
  12081. begin
  12082. pTDefRegMap(@Self)^.clr := $00008000;
  12083. end;
  12084. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  12085. begin
  12086. if thebits = 0 then
  12087. pTDefRegMap(@Self)^.clr := $00008000
  12088. else
  12089. pTDefRegMap(@Self)^.&set := $00008000;
  12090. end;
  12091. function TSPI2_SPI2CON.getON : TBits_1; inline;
  12092. begin
  12093. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12094. end;
  12095. procedure TSPI2_SPI2CON.setSPIFE; inline;
  12096. begin
  12097. pTDefRegMap(@Self)^.&set := $00020000;
  12098. end;
  12099. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  12100. begin
  12101. pTDefRegMap(@Self)^.clr := $00020000;
  12102. end;
  12103. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  12104. begin
  12105. if thebits = 0 then
  12106. pTDefRegMap(@Self)^.clr := $00020000
  12107. else
  12108. pTDefRegMap(@Self)^.&set := $00020000;
  12109. end;
  12110. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  12111. begin
  12112. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  12113. end;
  12114. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  12115. begin
  12116. pTDefRegMap(@Self)^.&set := $20000000;
  12117. end;
  12118. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  12119. begin
  12120. pTDefRegMap(@Self)^.clr := $20000000;
  12121. end;
  12122. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  12123. begin
  12124. if thebits = 0 then
  12125. pTDefRegMap(@Self)^.clr := $20000000
  12126. else
  12127. pTDefRegMap(@Self)^.&set := $20000000;
  12128. end;
  12129. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  12130. begin
  12131. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  12132. end;
  12133. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  12134. begin
  12135. pTDefRegMap(@Self)^.&set := $40000000;
  12136. end;
  12137. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  12138. begin
  12139. pTDefRegMap(@Self)^.clr := $40000000;
  12140. end;
  12141. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  12142. begin
  12143. if thebits = 0 then
  12144. pTDefRegMap(@Self)^.clr := $40000000
  12145. else
  12146. pTDefRegMap(@Self)^.&set := $40000000;
  12147. end;
  12148. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  12149. begin
  12150. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  12151. end;
  12152. procedure TSPI2_SPI2CON.setFRMEN; inline;
  12153. begin
  12154. pTDefRegMap(@Self)^.&set := $80000000;
  12155. end;
  12156. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  12157. begin
  12158. pTDefRegMap(@Self)^.clr := $80000000;
  12159. end;
  12160. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  12161. begin
  12162. if thebits = 0 then
  12163. pTDefRegMap(@Self)^.clr := $80000000
  12164. else
  12165. pTDefRegMap(@Self)^.&set := $80000000;
  12166. end;
  12167. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  12168. begin
  12169. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  12170. end;
  12171. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  12172. begin
  12173. pTDefRegMap(@Self)^.val := thebits;
  12174. end;
  12175. function TSPI2_SPI2CON.getw : TBits_32; inline;
  12176. begin
  12177. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12178. end;
  12179. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  12180. begin
  12181. pTDefRegMap(@Self)^.&set := $00000001;
  12182. end;
  12183. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  12184. begin
  12185. pTDefRegMap(@Self)^.clr := $00000001;
  12186. end;
  12187. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  12188. begin
  12189. if thebits = 0 then
  12190. pTDefRegMap(@Self)^.clr := $00000001
  12191. else
  12192. pTDefRegMap(@Self)^.&set := $00000001;
  12193. end;
  12194. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  12195. begin
  12196. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12197. end;
  12198. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  12199. begin
  12200. pTDefRegMap(@Self)^.&set := $00000008;
  12201. end;
  12202. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  12203. begin
  12204. pTDefRegMap(@Self)^.clr := $00000008;
  12205. end;
  12206. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  12207. begin
  12208. if thebits = 0 then
  12209. pTDefRegMap(@Self)^.clr := $00000008
  12210. else
  12211. pTDefRegMap(@Self)^.&set := $00000008;
  12212. end;
  12213. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  12214. begin
  12215. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12216. end;
  12217. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  12218. begin
  12219. pTDefRegMap(@Self)^.&set := $00000040;
  12220. end;
  12221. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  12222. begin
  12223. pTDefRegMap(@Self)^.clr := $00000040;
  12224. end;
  12225. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  12226. begin
  12227. if thebits = 0 then
  12228. pTDefRegMap(@Self)^.clr := $00000040
  12229. else
  12230. pTDefRegMap(@Self)^.&set := $00000040;
  12231. end;
  12232. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  12233. begin
  12234. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12235. end;
  12236. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  12237. begin
  12238. pTDefRegMap(@Self)^.&set := $00000800;
  12239. end;
  12240. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  12241. begin
  12242. pTDefRegMap(@Self)^.clr := $00000800;
  12243. end;
  12244. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  12245. begin
  12246. if thebits = 0 then
  12247. pTDefRegMap(@Self)^.clr := $00000800
  12248. else
  12249. pTDefRegMap(@Self)^.&set := $00000800;
  12250. end;
  12251. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  12252. begin
  12253. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12254. end;
  12255. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  12256. begin
  12257. pTDefRegMap(@Self)^.val := thebits;
  12258. end;
  12259. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  12260. begin
  12261. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12262. end;
  12263. procedure TUART1_U1MODE.setSTSEL; inline;
  12264. begin
  12265. pTDefRegMap(@Self)^.&set := $00000001;
  12266. end;
  12267. procedure TUART1_U1MODE.clearSTSEL; inline;
  12268. begin
  12269. pTDefRegMap(@Self)^.clr := $00000001;
  12270. end;
  12271. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  12272. begin
  12273. if thebits = 0 then
  12274. pTDefRegMap(@Self)^.clr := $00000001
  12275. else
  12276. pTDefRegMap(@Self)^.&set := $00000001;
  12277. end;
  12278. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  12279. begin
  12280. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12281. end;
  12282. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  12283. begin
  12284. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  12285. end;
  12286. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  12287. begin
  12288. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  12289. end;
  12290. procedure TUART1_U1MODE.setBRGH; inline;
  12291. begin
  12292. pTDefRegMap(@Self)^.&set := $00000008;
  12293. end;
  12294. procedure TUART1_U1MODE.clearBRGH; inline;
  12295. begin
  12296. pTDefRegMap(@Self)^.clr := $00000008;
  12297. end;
  12298. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  12299. begin
  12300. if thebits = 0 then
  12301. pTDefRegMap(@Self)^.clr := $00000008
  12302. else
  12303. pTDefRegMap(@Self)^.&set := $00000008;
  12304. end;
  12305. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  12306. begin
  12307. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12308. end;
  12309. procedure TUART1_U1MODE.setRXINV; inline;
  12310. begin
  12311. pTDefRegMap(@Self)^.&set := $00000010;
  12312. end;
  12313. procedure TUART1_U1MODE.clearRXINV; inline;
  12314. begin
  12315. pTDefRegMap(@Self)^.clr := $00000010;
  12316. end;
  12317. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  12318. begin
  12319. if thebits = 0 then
  12320. pTDefRegMap(@Self)^.clr := $00000010
  12321. else
  12322. pTDefRegMap(@Self)^.&set := $00000010;
  12323. end;
  12324. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  12325. begin
  12326. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12327. end;
  12328. procedure TUART1_U1MODE.setABAUD; inline;
  12329. begin
  12330. pTDefRegMap(@Self)^.&set := $00000020;
  12331. end;
  12332. procedure TUART1_U1MODE.clearABAUD; inline;
  12333. begin
  12334. pTDefRegMap(@Self)^.clr := $00000020;
  12335. end;
  12336. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  12337. begin
  12338. if thebits = 0 then
  12339. pTDefRegMap(@Self)^.clr := $00000020
  12340. else
  12341. pTDefRegMap(@Self)^.&set := $00000020;
  12342. end;
  12343. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  12344. begin
  12345. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12346. end;
  12347. procedure TUART1_U1MODE.setLPBACK; inline;
  12348. begin
  12349. pTDefRegMap(@Self)^.&set := $00000040;
  12350. end;
  12351. procedure TUART1_U1MODE.clearLPBACK; inline;
  12352. begin
  12353. pTDefRegMap(@Self)^.clr := $00000040;
  12354. end;
  12355. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  12356. begin
  12357. if thebits = 0 then
  12358. pTDefRegMap(@Self)^.clr := $00000040
  12359. else
  12360. pTDefRegMap(@Self)^.&set := $00000040;
  12361. end;
  12362. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  12363. begin
  12364. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12365. end;
  12366. procedure TUART1_U1MODE.setWAKE; inline;
  12367. begin
  12368. pTDefRegMap(@Self)^.&set := $00000080;
  12369. end;
  12370. procedure TUART1_U1MODE.clearWAKE; inline;
  12371. begin
  12372. pTDefRegMap(@Self)^.clr := $00000080;
  12373. end;
  12374. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  12375. begin
  12376. if thebits = 0 then
  12377. pTDefRegMap(@Self)^.clr := $00000080
  12378. else
  12379. pTDefRegMap(@Self)^.&set := $00000080;
  12380. end;
  12381. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  12382. begin
  12383. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12384. end;
  12385. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  12386. begin
  12387. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  12388. end;
  12389. function TUART1_U1MODE.getUEN : TBits_2; inline;
  12390. begin
  12391. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  12392. end;
  12393. procedure TUART1_U1MODE.setRTSMD; inline;
  12394. begin
  12395. pTDefRegMap(@Self)^.&set := $00000800;
  12396. end;
  12397. procedure TUART1_U1MODE.clearRTSMD; inline;
  12398. begin
  12399. pTDefRegMap(@Self)^.clr := $00000800;
  12400. end;
  12401. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  12402. begin
  12403. if thebits = 0 then
  12404. pTDefRegMap(@Self)^.clr := $00000800
  12405. else
  12406. pTDefRegMap(@Self)^.&set := $00000800;
  12407. end;
  12408. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  12409. begin
  12410. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12411. end;
  12412. procedure TUART1_U1MODE.setIREN; inline;
  12413. begin
  12414. pTDefRegMap(@Self)^.&set := $00001000;
  12415. end;
  12416. procedure TUART1_U1MODE.clearIREN; inline;
  12417. begin
  12418. pTDefRegMap(@Self)^.clr := $00001000;
  12419. end;
  12420. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  12421. begin
  12422. if thebits = 0 then
  12423. pTDefRegMap(@Self)^.clr := $00001000
  12424. else
  12425. pTDefRegMap(@Self)^.&set := $00001000;
  12426. end;
  12427. function TUART1_U1MODE.getIREN : TBits_1; inline;
  12428. begin
  12429. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12430. end;
  12431. procedure TUART1_U1MODE.setSIDL; inline;
  12432. begin
  12433. pTDefRegMap(@Self)^.&set := $00002000;
  12434. end;
  12435. procedure TUART1_U1MODE.clearSIDL; inline;
  12436. begin
  12437. pTDefRegMap(@Self)^.clr := $00002000;
  12438. end;
  12439. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  12440. begin
  12441. if thebits = 0 then
  12442. pTDefRegMap(@Self)^.clr := $00002000
  12443. else
  12444. pTDefRegMap(@Self)^.&set := $00002000;
  12445. end;
  12446. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  12447. begin
  12448. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12449. end;
  12450. procedure TUART1_U1MODE.setON; inline;
  12451. begin
  12452. pTDefRegMap(@Self)^.&set := $00008000;
  12453. end;
  12454. procedure TUART1_U1MODE.clearON; inline;
  12455. begin
  12456. pTDefRegMap(@Self)^.clr := $00008000;
  12457. end;
  12458. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  12459. begin
  12460. if thebits = 0 then
  12461. pTDefRegMap(@Self)^.clr := $00008000
  12462. else
  12463. pTDefRegMap(@Self)^.&set := $00008000;
  12464. end;
  12465. function TUART1_U1MODE.getON : TBits_1; inline;
  12466. begin
  12467. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12468. end;
  12469. procedure TUART1_U1MODE.setPDSEL0; inline;
  12470. begin
  12471. pTDefRegMap(@Self)^.&set := $00000002;
  12472. end;
  12473. procedure TUART1_U1MODE.clearPDSEL0; inline;
  12474. begin
  12475. pTDefRegMap(@Self)^.clr := $00000002;
  12476. end;
  12477. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  12478. begin
  12479. if thebits = 0 then
  12480. pTDefRegMap(@Self)^.clr := $00000002
  12481. else
  12482. pTDefRegMap(@Self)^.&set := $00000002;
  12483. end;
  12484. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  12485. begin
  12486. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12487. end;
  12488. procedure TUART1_U1MODE.setPDSEL1; inline;
  12489. begin
  12490. pTDefRegMap(@Self)^.&set := $00000004;
  12491. end;
  12492. procedure TUART1_U1MODE.clearPDSEL1; inline;
  12493. begin
  12494. pTDefRegMap(@Self)^.clr := $00000004;
  12495. end;
  12496. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  12497. begin
  12498. if thebits = 0 then
  12499. pTDefRegMap(@Self)^.clr := $00000004
  12500. else
  12501. pTDefRegMap(@Self)^.&set := $00000004;
  12502. end;
  12503. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  12504. begin
  12505. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12506. end;
  12507. procedure TUART1_U1MODE.setUEN0; inline;
  12508. begin
  12509. pTDefRegMap(@Self)^.&set := $00000100;
  12510. end;
  12511. procedure TUART1_U1MODE.clearUEN0; inline;
  12512. begin
  12513. pTDefRegMap(@Self)^.clr := $00000100;
  12514. end;
  12515. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  12516. begin
  12517. if thebits = 0 then
  12518. pTDefRegMap(@Self)^.clr := $00000100
  12519. else
  12520. pTDefRegMap(@Self)^.&set := $00000100;
  12521. end;
  12522. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  12523. begin
  12524. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12525. end;
  12526. procedure TUART1_U1MODE.setUEN1; inline;
  12527. begin
  12528. pTDefRegMap(@Self)^.&set := $00000200;
  12529. end;
  12530. procedure TUART1_U1MODE.clearUEN1; inline;
  12531. begin
  12532. pTDefRegMap(@Self)^.clr := $00000200;
  12533. end;
  12534. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  12535. begin
  12536. if thebits = 0 then
  12537. pTDefRegMap(@Self)^.clr := $00000200
  12538. else
  12539. pTDefRegMap(@Self)^.&set := $00000200;
  12540. end;
  12541. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  12542. begin
  12543. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12544. end;
  12545. procedure TUART1_U1MODE.setUSIDL; inline;
  12546. begin
  12547. pTDefRegMap(@Self)^.&set := $00002000;
  12548. end;
  12549. procedure TUART1_U1MODE.clearUSIDL; inline;
  12550. begin
  12551. pTDefRegMap(@Self)^.clr := $00002000;
  12552. end;
  12553. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  12554. begin
  12555. if thebits = 0 then
  12556. pTDefRegMap(@Self)^.clr := $00002000
  12557. else
  12558. pTDefRegMap(@Self)^.&set := $00002000;
  12559. end;
  12560. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  12561. begin
  12562. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12563. end;
  12564. procedure TUART1_U1MODE.setUARTEN; inline;
  12565. begin
  12566. pTDefRegMap(@Self)^.&set := $00008000;
  12567. end;
  12568. procedure TUART1_U1MODE.clearUARTEN; inline;
  12569. begin
  12570. pTDefRegMap(@Self)^.clr := $00008000;
  12571. end;
  12572. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  12573. begin
  12574. if thebits = 0 then
  12575. pTDefRegMap(@Self)^.clr := $00008000
  12576. else
  12577. pTDefRegMap(@Self)^.&set := $00008000;
  12578. end;
  12579. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  12580. begin
  12581. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12582. end;
  12583. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  12584. begin
  12585. pTDefRegMap(@Self)^.val := thebits;
  12586. end;
  12587. function TUART1_U1MODE.getw : TBits_32; inline;
  12588. begin
  12589. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12590. end;
  12591. procedure TUART1_U1STA.setURXDA; inline;
  12592. begin
  12593. pTDefRegMap(@Self)^.&set := $00000001;
  12594. end;
  12595. procedure TUART1_U1STA.clearURXDA; inline;
  12596. begin
  12597. pTDefRegMap(@Self)^.clr := $00000001;
  12598. end;
  12599. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  12600. begin
  12601. if thebits = 0 then
  12602. pTDefRegMap(@Self)^.clr := $00000001
  12603. else
  12604. pTDefRegMap(@Self)^.&set := $00000001;
  12605. end;
  12606. function TUART1_U1STA.getURXDA : TBits_1; inline;
  12607. begin
  12608. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12609. end;
  12610. procedure TUART1_U1STA.setOERR; inline;
  12611. begin
  12612. pTDefRegMap(@Self)^.&set := $00000002;
  12613. end;
  12614. procedure TUART1_U1STA.clearOERR; inline;
  12615. begin
  12616. pTDefRegMap(@Self)^.clr := $00000002;
  12617. end;
  12618. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  12619. begin
  12620. if thebits = 0 then
  12621. pTDefRegMap(@Self)^.clr := $00000002
  12622. else
  12623. pTDefRegMap(@Self)^.&set := $00000002;
  12624. end;
  12625. function TUART1_U1STA.getOERR : TBits_1; inline;
  12626. begin
  12627. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12628. end;
  12629. procedure TUART1_U1STA.setFERR; inline;
  12630. begin
  12631. pTDefRegMap(@Self)^.&set := $00000004;
  12632. end;
  12633. procedure TUART1_U1STA.clearFERR; inline;
  12634. begin
  12635. pTDefRegMap(@Self)^.clr := $00000004;
  12636. end;
  12637. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  12638. begin
  12639. if thebits = 0 then
  12640. pTDefRegMap(@Self)^.clr := $00000004
  12641. else
  12642. pTDefRegMap(@Self)^.&set := $00000004;
  12643. end;
  12644. function TUART1_U1STA.getFERR : TBits_1; inline;
  12645. begin
  12646. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12647. end;
  12648. procedure TUART1_U1STA.setPERR; inline;
  12649. begin
  12650. pTDefRegMap(@Self)^.&set := $00000008;
  12651. end;
  12652. procedure TUART1_U1STA.clearPERR; inline;
  12653. begin
  12654. pTDefRegMap(@Self)^.clr := $00000008;
  12655. end;
  12656. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  12657. begin
  12658. if thebits = 0 then
  12659. pTDefRegMap(@Self)^.clr := $00000008
  12660. else
  12661. pTDefRegMap(@Self)^.&set := $00000008;
  12662. end;
  12663. function TUART1_U1STA.getPERR : TBits_1; inline;
  12664. begin
  12665. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12666. end;
  12667. procedure TUART1_U1STA.setRIDLE; inline;
  12668. begin
  12669. pTDefRegMap(@Self)^.&set := $00000010;
  12670. end;
  12671. procedure TUART1_U1STA.clearRIDLE; inline;
  12672. begin
  12673. pTDefRegMap(@Self)^.clr := $00000010;
  12674. end;
  12675. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  12676. begin
  12677. if thebits = 0 then
  12678. pTDefRegMap(@Self)^.clr := $00000010
  12679. else
  12680. pTDefRegMap(@Self)^.&set := $00000010;
  12681. end;
  12682. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  12683. begin
  12684. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12685. end;
  12686. procedure TUART1_U1STA.setADDEN; inline;
  12687. begin
  12688. pTDefRegMap(@Self)^.&set := $00000020;
  12689. end;
  12690. procedure TUART1_U1STA.clearADDEN; inline;
  12691. begin
  12692. pTDefRegMap(@Self)^.clr := $00000020;
  12693. end;
  12694. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  12695. begin
  12696. if thebits = 0 then
  12697. pTDefRegMap(@Self)^.clr := $00000020
  12698. else
  12699. pTDefRegMap(@Self)^.&set := $00000020;
  12700. end;
  12701. function TUART1_U1STA.getADDEN : TBits_1; inline;
  12702. begin
  12703. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12704. end;
  12705. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  12706. begin
  12707. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  12708. end;
  12709. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  12710. begin
  12711. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  12712. end;
  12713. procedure TUART1_U1STA.setTRMT; inline;
  12714. begin
  12715. pTDefRegMap(@Self)^.&set := $00000100;
  12716. end;
  12717. procedure TUART1_U1STA.clearTRMT; inline;
  12718. begin
  12719. pTDefRegMap(@Self)^.clr := $00000100;
  12720. end;
  12721. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  12722. begin
  12723. if thebits = 0 then
  12724. pTDefRegMap(@Self)^.clr := $00000100
  12725. else
  12726. pTDefRegMap(@Self)^.&set := $00000100;
  12727. end;
  12728. function TUART1_U1STA.getTRMT : TBits_1; inline;
  12729. begin
  12730. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12731. end;
  12732. procedure TUART1_U1STA.setUTXBF; inline;
  12733. begin
  12734. pTDefRegMap(@Self)^.&set := $00000200;
  12735. end;
  12736. procedure TUART1_U1STA.clearUTXBF; inline;
  12737. begin
  12738. pTDefRegMap(@Self)^.clr := $00000200;
  12739. end;
  12740. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  12741. begin
  12742. if thebits = 0 then
  12743. pTDefRegMap(@Self)^.clr := $00000200
  12744. else
  12745. pTDefRegMap(@Self)^.&set := $00000200;
  12746. end;
  12747. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  12748. begin
  12749. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12750. end;
  12751. procedure TUART1_U1STA.setUTXEN; inline;
  12752. begin
  12753. pTDefRegMap(@Self)^.&set := $00000400;
  12754. end;
  12755. procedure TUART1_U1STA.clearUTXEN; inline;
  12756. begin
  12757. pTDefRegMap(@Self)^.clr := $00000400;
  12758. end;
  12759. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  12760. begin
  12761. if thebits = 0 then
  12762. pTDefRegMap(@Self)^.clr := $00000400
  12763. else
  12764. pTDefRegMap(@Self)^.&set := $00000400;
  12765. end;
  12766. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  12767. begin
  12768. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12769. end;
  12770. procedure TUART1_U1STA.setUTXBRK; inline;
  12771. begin
  12772. pTDefRegMap(@Self)^.&set := $00000800;
  12773. end;
  12774. procedure TUART1_U1STA.clearUTXBRK; inline;
  12775. begin
  12776. pTDefRegMap(@Self)^.clr := $00000800;
  12777. end;
  12778. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  12779. begin
  12780. if thebits = 0 then
  12781. pTDefRegMap(@Self)^.clr := $00000800
  12782. else
  12783. pTDefRegMap(@Self)^.&set := $00000800;
  12784. end;
  12785. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  12786. begin
  12787. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12788. end;
  12789. procedure TUART1_U1STA.setURXEN; inline;
  12790. begin
  12791. pTDefRegMap(@Self)^.&set := $00001000;
  12792. end;
  12793. procedure TUART1_U1STA.clearURXEN; inline;
  12794. begin
  12795. pTDefRegMap(@Self)^.clr := $00001000;
  12796. end;
  12797. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  12798. begin
  12799. if thebits = 0 then
  12800. pTDefRegMap(@Self)^.clr := $00001000
  12801. else
  12802. pTDefRegMap(@Self)^.&set := $00001000;
  12803. end;
  12804. function TUART1_U1STA.getURXEN : TBits_1; inline;
  12805. begin
  12806. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12807. end;
  12808. procedure TUART1_U1STA.setUTXINV; inline;
  12809. begin
  12810. pTDefRegMap(@Self)^.&set := $00002000;
  12811. end;
  12812. procedure TUART1_U1STA.clearUTXINV; inline;
  12813. begin
  12814. pTDefRegMap(@Self)^.clr := $00002000;
  12815. end;
  12816. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  12817. begin
  12818. if thebits = 0 then
  12819. pTDefRegMap(@Self)^.clr := $00002000
  12820. else
  12821. pTDefRegMap(@Self)^.&set := $00002000;
  12822. end;
  12823. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  12824. begin
  12825. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12826. end;
  12827. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  12828. begin
  12829. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  12830. end;
  12831. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  12832. begin
  12833. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  12834. end;
  12835. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  12836. begin
  12837. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  12838. end;
  12839. function TUART1_U1STA.getADDR : TBits_8; inline;
  12840. begin
  12841. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  12842. end;
  12843. procedure TUART1_U1STA.setADM_EN; inline;
  12844. begin
  12845. pTDefRegMap(@Self)^.&set := $01000000;
  12846. end;
  12847. procedure TUART1_U1STA.clearADM_EN; inline;
  12848. begin
  12849. pTDefRegMap(@Self)^.clr := $01000000;
  12850. end;
  12851. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  12852. begin
  12853. if thebits = 0 then
  12854. pTDefRegMap(@Self)^.clr := $01000000
  12855. else
  12856. pTDefRegMap(@Self)^.&set := $01000000;
  12857. end;
  12858. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  12859. begin
  12860. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  12861. end;
  12862. procedure TUART1_U1STA.setURXISEL0; inline;
  12863. begin
  12864. pTDefRegMap(@Self)^.&set := $00000040;
  12865. end;
  12866. procedure TUART1_U1STA.clearURXISEL0; inline;
  12867. begin
  12868. pTDefRegMap(@Self)^.clr := $00000040;
  12869. end;
  12870. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  12871. begin
  12872. if thebits = 0 then
  12873. pTDefRegMap(@Self)^.clr := $00000040
  12874. else
  12875. pTDefRegMap(@Self)^.&set := $00000040;
  12876. end;
  12877. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  12878. begin
  12879. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12880. end;
  12881. procedure TUART1_U1STA.setURXISEL1; inline;
  12882. begin
  12883. pTDefRegMap(@Self)^.&set := $00000080;
  12884. end;
  12885. procedure TUART1_U1STA.clearURXISEL1; inline;
  12886. begin
  12887. pTDefRegMap(@Self)^.clr := $00000080;
  12888. end;
  12889. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  12890. begin
  12891. if thebits = 0 then
  12892. pTDefRegMap(@Self)^.clr := $00000080
  12893. else
  12894. pTDefRegMap(@Self)^.&set := $00000080;
  12895. end;
  12896. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  12897. begin
  12898. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12899. end;
  12900. procedure TUART1_U1STA.setUTXISEL0; inline;
  12901. begin
  12902. pTDefRegMap(@Self)^.&set := $00004000;
  12903. end;
  12904. procedure TUART1_U1STA.clearUTXISEL0; inline;
  12905. begin
  12906. pTDefRegMap(@Self)^.clr := $00004000;
  12907. end;
  12908. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  12909. begin
  12910. if thebits = 0 then
  12911. pTDefRegMap(@Self)^.clr := $00004000
  12912. else
  12913. pTDefRegMap(@Self)^.&set := $00004000;
  12914. end;
  12915. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  12916. begin
  12917. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  12918. end;
  12919. procedure TUART1_U1STA.setUTXISEL1; inline;
  12920. begin
  12921. pTDefRegMap(@Self)^.&set := $00008000;
  12922. end;
  12923. procedure TUART1_U1STA.clearUTXISEL1; inline;
  12924. begin
  12925. pTDefRegMap(@Self)^.clr := $00008000;
  12926. end;
  12927. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  12928. begin
  12929. if thebits = 0 then
  12930. pTDefRegMap(@Self)^.clr := $00008000
  12931. else
  12932. pTDefRegMap(@Self)^.&set := $00008000;
  12933. end;
  12934. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  12935. begin
  12936. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12937. end;
  12938. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  12939. begin
  12940. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  12941. end;
  12942. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  12943. begin
  12944. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  12945. end;
  12946. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  12947. begin
  12948. pTDefRegMap(@Self)^.val := thebits;
  12949. end;
  12950. function TUART1_U1STA.getw : TBits_32; inline;
  12951. begin
  12952. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12953. end;
  12954. procedure TUART2_U2MODE.setSTSEL; inline;
  12955. begin
  12956. pTDefRegMap(@Self)^.&set := $00000001;
  12957. end;
  12958. procedure TUART2_U2MODE.clearSTSEL; inline;
  12959. begin
  12960. pTDefRegMap(@Self)^.clr := $00000001;
  12961. end;
  12962. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  12963. begin
  12964. if thebits = 0 then
  12965. pTDefRegMap(@Self)^.clr := $00000001
  12966. else
  12967. pTDefRegMap(@Self)^.&set := $00000001;
  12968. end;
  12969. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  12970. begin
  12971. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12972. end;
  12973. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  12974. begin
  12975. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  12976. end;
  12977. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  12978. begin
  12979. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  12980. end;
  12981. procedure TUART2_U2MODE.setBRGH; inline;
  12982. begin
  12983. pTDefRegMap(@Self)^.&set := $00000008;
  12984. end;
  12985. procedure TUART2_U2MODE.clearBRGH; inline;
  12986. begin
  12987. pTDefRegMap(@Self)^.clr := $00000008;
  12988. end;
  12989. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  12990. begin
  12991. if thebits = 0 then
  12992. pTDefRegMap(@Self)^.clr := $00000008
  12993. else
  12994. pTDefRegMap(@Self)^.&set := $00000008;
  12995. end;
  12996. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  12997. begin
  12998. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12999. end;
  13000. procedure TUART2_U2MODE.setRXINV; inline;
  13001. begin
  13002. pTDefRegMap(@Self)^.&set := $00000010;
  13003. end;
  13004. procedure TUART2_U2MODE.clearRXINV; inline;
  13005. begin
  13006. pTDefRegMap(@Self)^.clr := $00000010;
  13007. end;
  13008. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  13009. begin
  13010. if thebits = 0 then
  13011. pTDefRegMap(@Self)^.clr := $00000010
  13012. else
  13013. pTDefRegMap(@Self)^.&set := $00000010;
  13014. end;
  13015. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  13016. begin
  13017. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13018. end;
  13019. procedure TUART2_U2MODE.setABAUD; inline;
  13020. begin
  13021. pTDefRegMap(@Self)^.&set := $00000020;
  13022. end;
  13023. procedure TUART2_U2MODE.clearABAUD; inline;
  13024. begin
  13025. pTDefRegMap(@Self)^.clr := $00000020;
  13026. end;
  13027. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  13028. begin
  13029. if thebits = 0 then
  13030. pTDefRegMap(@Self)^.clr := $00000020
  13031. else
  13032. pTDefRegMap(@Self)^.&set := $00000020;
  13033. end;
  13034. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  13035. begin
  13036. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13037. end;
  13038. procedure TUART2_U2MODE.setLPBACK; inline;
  13039. begin
  13040. pTDefRegMap(@Self)^.&set := $00000040;
  13041. end;
  13042. procedure TUART2_U2MODE.clearLPBACK; inline;
  13043. begin
  13044. pTDefRegMap(@Self)^.clr := $00000040;
  13045. end;
  13046. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  13047. begin
  13048. if thebits = 0 then
  13049. pTDefRegMap(@Self)^.clr := $00000040
  13050. else
  13051. pTDefRegMap(@Self)^.&set := $00000040;
  13052. end;
  13053. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  13054. begin
  13055. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13056. end;
  13057. procedure TUART2_U2MODE.setWAKE; inline;
  13058. begin
  13059. pTDefRegMap(@Self)^.&set := $00000080;
  13060. end;
  13061. procedure TUART2_U2MODE.clearWAKE; inline;
  13062. begin
  13063. pTDefRegMap(@Self)^.clr := $00000080;
  13064. end;
  13065. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  13066. begin
  13067. if thebits = 0 then
  13068. pTDefRegMap(@Self)^.clr := $00000080
  13069. else
  13070. pTDefRegMap(@Self)^.&set := $00000080;
  13071. end;
  13072. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  13073. begin
  13074. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13075. end;
  13076. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  13077. begin
  13078. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  13079. end;
  13080. function TUART2_U2MODE.getUEN : TBits_2; inline;
  13081. begin
  13082. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  13083. end;
  13084. procedure TUART2_U2MODE.setRTSMD; inline;
  13085. begin
  13086. pTDefRegMap(@Self)^.&set := $00000800;
  13087. end;
  13088. procedure TUART2_U2MODE.clearRTSMD; inline;
  13089. begin
  13090. pTDefRegMap(@Self)^.clr := $00000800;
  13091. end;
  13092. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  13093. begin
  13094. if thebits = 0 then
  13095. pTDefRegMap(@Self)^.clr := $00000800
  13096. else
  13097. pTDefRegMap(@Self)^.&set := $00000800;
  13098. end;
  13099. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  13100. begin
  13101. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13102. end;
  13103. procedure TUART2_U2MODE.setIREN; inline;
  13104. begin
  13105. pTDefRegMap(@Self)^.&set := $00001000;
  13106. end;
  13107. procedure TUART2_U2MODE.clearIREN; inline;
  13108. begin
  13109. pTDefRegMap(@Self)^.clr := $00001000;
  13110. end;
  13111. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  13112. begin
  13113. if thebits = 0 then
  13114. pTDefRegMap(@Self)^.clr := $00001000
  13115. else
  13116. pTDefRegMap(@Self)^.&set := $00001000;
  13117. end;
  13118. function TUART2_U2MODE.getIREN : TBits_1; inline;
  13119. begin
  13120. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13121. end;
  13122. procedure TUART2_U2MODE.setSIDL; inline;
  13123. begin
  13124. pTDefRegMap(@Self)^.&set := $00002000;
  13125. end;
  13126. procedure TUART2_U2MODE.clearSIDL; inline;
  13127. begin
  13128. pTDefRegMap(@Self)^.clr := $00002000;
  13129. end;
  13130. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  13131. begin
  13132. if thebits = 0 then
  13133. pTDefRegMap(@Self)^.clr := $00002000
  13134. else
  13135. pTDefRegMap(@Self)^.&set := $00002000;
  13136. end;
  13137. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  13138. begin
  13139. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13140. end;
  13141. procedure TUART2_U2MODE.setON; inline;
  13142. begin
  13143. pTDefRegMap(@Self)^.&set := $00008000;
  13144. end;
  13145. procedure TUART2_U2MODE.clearON; inline;
  13146. begin
  13147. pTDefRegMap(@Self)^.clr := $00008000;
  13148. end;
  13149. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  13150. begin
  13151. if thebits = 0 then
  13152. pTDefRegMap(@Self)^.clr := $00008000
  13153. else
  13154. pTDefRegMap(@Self)^.&set := $00008000;
  13155. end;
  13156. function TUART2_U2MODE.getON : TBits_1; inline;
  13157. begin
  13158. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13159. end;
  13160. procedure TUART2_U2MODE.setPDSEL0; inline;
  13161. begin
  13162. pTDefRegMap(@Self)^.&set := $00000002;
  13163. end;
  13164. procedure TUART2_U2MODE.clearPDSEL0; inline;
  13165. begin
  13166. pTDefRegMap(@Self)^.clr := $00000002;
  13167. end;
  13168. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  13169. begin
  13170. if thebits = 0 then
  13171. pTDefRegMap(@Self)^.clr := $00000002
  13172. else
  13173. pTDefRegMap(@Self)^.&set := $00000002;
  13174. end;
  13175. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  13176. begin
  13177. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13178. end;
  13179. procedure TUART2_U2MODE.setPDSEL1; inline;
  13180. begin
  13181. pTDefRegMap(@Self)^.&set := $00000004;
  13182. end;
  13183. procedure TUART2_U2MODE.clearPDSEL1; inline;
  13184. begin
  13185. pTDefRegMap(@Self)^.clr := $00000004;
  13186. end;
  13187. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  13188. begin
  13189. if thebits = 0 then
  13190. pTDefRegMap(@Self)^.clr := $00000004
  13191. else
  13192. pTDefRegMap(@Self)^.&set := $00000004;
  13193. end;
  13194. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  13195. begin
  13196. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13197. end;
  13198. procedure TUART2_U2MODE.setUEN0; inline;
  13199. begin
  13200. pTDefRegMap(@Self)^.&set := $00000100;
  13201. end;
  13202. procedure TUART2_U2MODE.clearUEN0; inline;
  13203. begin
  13204. pTDefRegMap(@Self)^.clr := $00000100;
  13205. end;
  13206. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  13207. begin
  13208. if thebits = 0 then
  13209. pTDefRegMap(@Self)^.clr := $00000100
  13210. else
  13211. pTDefRegMap(@Self)^.&set := $00000100;
  13212. end;
  13213. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  13214. begin
  13215. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13216. end;
  13217. procedure TUART2_U2MODE.setUEN1; inline;
  13218. begin
  13219. pTDefRegMap(@Self)^.&set := $00000200;
  13220. end;
  13221. procedure TUART2_U2MODE.clearUEN1; inline;
  13222. begin
  13223. pTDefRegMap(@Self)^.clr := $00000200;
  13224. end;
  13225. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  13226. begin
  13227. if thebits = 0 then
  13228. pTDefRegMap(@Self)^.clr := $00000200
  13229. else
  13230. pTDefRegMap(@Self)^.&set := $00000200;
  13231. end;
  13232. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  13233. begin
  13234. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13235. end;
  13236. procedure TUART2_U2MODE.setUSIDL; inline;
  13237. begin
  13238. pTDefRegMap(@Self)^.&set := $00002000;
  13239. end;
  13240. procedure TUART2_U2MODE.clearUSIDL; inline;
  13241. begin
  13242. pTDefRegMap(@Self)^.clr := $00002000;
  13243. end;
  13244. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  13245. begin
  13246. if thebits = 0 then
  13247. pTDefRegMap(@Self)^.clr := $00002000
  13248. else
  13249. pTDefRegMap(@Self)^.&set := $00002000;
  13250. end;
  13251. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  13252. begin
  13253. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13254. end;
  13255. procedure TUART2_U2MODE.setUARTEN; inline;
  13256. begin
  13257. pTDefRegMap(@Self)^.&set := $00008000;
  13258. end;
  13259. procedure TUART2_U2MODE.clearUARTEN; inline;
  13260. begin
  13261. pTDefRegMap(@Self)^.clr := $00008000;
  13262. end;
  13263. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  13264. begin
  13265. if thebits = 0 then
  13266. pTDefRegMap(@Self)^.clr := $00008000
  13267. else
  13268. pTDefRegMap(@Self)^.&set := $00008000;
  13269. end;
  13270. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  13271. begin
  13272. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13273. end;
  13274. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  13275. begin
  13276. pTDefRegMap(@Self)^.val := thebits;
  13277. end;
  13278. function TUART2_U2MODE.getw : TBits_32; inline;
  13279. begin
  13280. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13281. end;
  13282. procedure TUART2_U2STA.setURXDA; inline;
  13283. begin
  13284. pTDefRegMap(@Self)^.&set := $00000001;
  13285. end;
  13286. procedure TUART2_U2STA.clearURXDA; inline;
  13287. begin
  13288. pTDefRegMap(@Self)^.clr := $00000001;
  13289. end;
  13290. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  13291. begin
  13292. if thebits = 0 then
  13293. pTDefRegMap(@Self)^.clr := $00000001
  13294. else
  13295. pTDefRegMap(@Self)^.&set := $00000001;
  13296. end;
  13297. function TUART2_U2STA.getURXDA : TBits_1; inline;
  13298. begin
  13299. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13300. end;
  13301. procedure TUART2_U2STA.setOERR; inline;
  13302. begin
  13303. pTDefRegMap(@Self)^.&set := $00000002;
  13304. end;
  13305. procedure TUART2_U2STA.clearOERR; inline;
  13306. begin
  13307. pTDefRegMap(@Self)^.clr := $00000002;
  13308. end;
  13309. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  13310. begin
  13311. if thebits = 0 then
  13312. pTDefRegMap(@Self)^.clr := $00000002
  13313. else
  13314. pTDefRegMap(@Self)^.&set := $00000002;
  13315. end;
  13316. function TUART2_U2STA.getOERR : TBits_1; inline;
  13317. begin
  13318. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13319. end;
  13320. procedure TUART2_U2STA.setFERR; inline;
  13321. begin
  13322. pTDefRegMap(@Self)^.&set := $00000004;
  13323. end;
  13324. procedure TUART2_U2STA.clearFERR; inline;
  13325. begin
  13326. pTDefRegMap(@Self)^.clr := $00000004;
  13327. end;
  13328. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  13329. begin
  13330. if thebits = 0 then
  13331. pTDefRegMap(@Self)^.clr := $00000004
  13332. else
  13333. pTDefRegMap(@Self)^.&set := $00000004;
  13334. end;
  13335. function TUART2_U2STA.getFERR : TBits_1; inline;
  13336. begin
  13337. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13338. end;
  13339. procedure TUART2_U2STA.setPERR; inline;
  13340. begin
  13341. pTDefRegMap(@Self)^.&set := $00000008;
  13342. end;
  13343. procedure TUART2_U2STA.clearPERR; inline;
  13344. begin
  13345. pTDefRegMap(@Self)^.clr := $00000008;
  13346. end;
  13347. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  13348. begin
  13349. if thebits = 0 then
  13350. pTDefRegMap(@Self)^.clr := $00000008
  13351. else
  13352. pTDefRegMap(@Self)^.&set := $00000008;
  13353. end;
  13354. function TUART2_U2STA.getPERR : TBits_1; inline;
  13355. begin
  13356. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13357. end;
  13358. procedure TUART2_U2STA.setRIDLE; inline;
  13359. begin
  13360. pTDefRegMap(@Self)^.&set := $00000010;
  13361. end;
  13362. procedure TUART2_U2STA.clearRIDLE; inline;
  13363. begin
  13364. pTDefRegMap(@Self)^.clr := $00000010;
  13365. end;
  13366. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  13367. begin
  13368. if thebits = 0 then
  13369. pTDefRegMap(@Self)^.clr := $00000010
  13370. else
  13371. pTDefRegMap(@Self)^.&set := $00000010;
  13372. end;
  13373. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  13374. begin
  13375. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13376. end;
  13377. procedure TUART2_U2STA.setADDEN; inline;
  13378. begin
  13379. pTDefRegMap(@Self)^.&set := $00000020;
  13380. end;
  13381. procedure TUART2_U2STA.clearADDEN; inline;
  13382. begin
  13383. pTDefRegMap(@Self)^.clr := $00000020;
  13384. end;
  13385. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  13386. begin
  13387. if thebits = 0 then
  13388. pTDefRegMap(@Self)^.clr := $00000020
  13389. else
  13390. pTDefRegMap(@Self)^.&set := $00000020;
  13391. end;
  13392. function TUART2_U2STA.getADDEN : TBits_1; inline;
  13393. begin
  13394. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13395. end;
  13396. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  13397. begin
  13398. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  13399. end;
  13400. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  13401. begin
  13402. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  13403. end;
  13404. procedure TUART2_U2STA.setTRMT; inline;
  13405. begin
  13406. pTDefRegMap(@Self)^.&set := $00000100;
  13407. end;
  13408. procedure TUART2_U2STA.clearTRMT; inline;
  13409. begin
  13410. pTDefRegMap(@Self)^.clr := $00000100;
  13411. end;
  13412. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  13413. begin
  13414. if thebits = 0 then
  13415. pTDefRegMap(@Self)^.clr := $00000100
  13416. else
  13417. pTDefRegMap(@Self)^.&set := $00000100;
  13418. end;
  13419. function TUART2_U2STA.getTRMT : TBits_1; inline;
  13420. begin
  13421. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13422. end;
  13423. procedure TUART2_U2STA.setUTXBF; inline;
  13424. begin
  13425. pTDefRegMap(@Self)^.&set := $00000200;
  13426. end;
  13427. procedure TUART2_U2STA.clearUTXBF; inline;
  13428. begin
  13429. pTDefRegMap(@Self)^.clr := $00000200;
  13430. end;
  13431. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  13432. begin
  13433. if thebits = 0 then
  13434. pTDefRegMap(@Self)^.clr := $00000200
  13435. else
  13436. pTDefRegMap(@Self)^.&set := $00000200;
  13437. end;
  13438. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  13439. begin
  13440. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13441. end;
  13442. procedure TUART2_U2STA.setUTXEN; inline;
  13443. begin
  13444. pTDefRegMap(@Self)^.&set := $00000400;
  13445. end;
  13446. procedure TUART2_U2STA.clearUTXEN; inline;
  13447. begin
  13448. pTDefRegMap(@Self)^.clr := $00000400;
  13449. end;
  13450. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  13451. begin
  13452. if thebits = 0 then
  13453. pTDefRegMap(@Self)^.clr := $00000400
  13454. else
  13455. pTDefRegMap(@Self)^.&set := $00000400;
  13456. end;
  13457. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  13458. begin
  13459. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13460. end;
  13461. procedure TUART2_U2STA.setUTXBRK; inline;
  13462. begin
  13463. pTDefRegMap(@Self)^.&set := $00000800;
  13464. end;
  13465. procedure TUART2_U2STA.clearUTXBRK; inline;
  13466. begin
  13467. pTDefRegMap(@Self)^.clr := $00000800;
  13468. end;
  13469. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  13470. begin
  13471. if thebits = 0 then
  13472. pTDefRegMap(@Self)^.clr := $00000800
  13473. else
  13474. pTDefRegMap(@Self)^.&set := $00000800;
  13475. end;
  13476. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  13477. begin
  13478. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13479. end;
  13480. procedure TUART2_U2STA.setURXEN; inline;
  13481. begin
  13482. pTDefRegMap(@Self)^.&set := $00001000;
  13483. end;
  13484. procedure TUART2_U2STA.clearURXEN; inline;
  13485. begin
  13486. pTDefRegMap(@Self)^.clr := $00001000;
  13487. end;
  13488. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  13489. begin
  13490. if thebits = 0 then
  13491. pTDefRegMap(@Self)^.clr := $00001000
  13492. else
  13493. pTDefRegMap(@Self)^.&set := $00001000;
  13494. end;
  13495. function TUART2_U2STA.getURXEN : TBits_1; inline;
  13496. begin
  13497. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13498. end;
  13499. procedure TUART2_U2STA.setUTXINV; inline;
  13500. begin
  13501. pTDefRegMap(@Self)^.&set := $00002000;
  13502. end;
  13503. procedure TUART2_U2STA.clearUTXINV; inline;
  13504. begin
  13505. pTDefRegMap(@Self)^.clr := $00002000;
  13506. end;
  13507. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  13508. begin
  13509. if thebits = 0 then
  13510. pTDefRegMap(@Self)^.clr := $00002000
  13511. else
  13512. pTDefRegMap(@Self)^.&set := $00002000;
  13513. end;
  13514. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  13515. begin
  13516. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13517. end;
  13518. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  13519. begin
  13520. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  13521. end;
  13522. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  13523. begin
  13524. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  13525. end;
  13526. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  13527. begin
  13528. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  13529. end;
  13530. function TUART2_U2STA.getADDR : TBits_8; inline;
  13531. begin
  13532. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  13533. end;
  13534. procedure TUART2_U2STA.setADM_EN; inline;
  13535. begin
  13536. pTDefRegMap(@Self)^.&set := $01000000;
  13537. end;
  13538. procedure TUART2_U2STA.clearADM_EN; inline;
  13539. begin
  13540. pTDefRegMap(@Self)^.clr := $01000000;
  13541. end;
  13542. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  13543. begin
  13544. if thebits = 0 then
  13545. pTDefRegMap(@Self)^.clr := $01000000
  13546. else
  13547. pTDefRegMap(@Self)^.&set := $01000000;
  13548. end;
  13549. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  13550. begin
  13551. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  13552. end;
  13553. procedure TUART2_U2STA.setURXISEL0; inline;
  13554. begin
  13555. pTDefRegMap(@Self)^.&set := $00000040;
  13556. end;
  13557. procedure TUART2_U2STA.clearURXISEL0; inline;
  13558. begin
  13559. pTDefRegMap(@Self)^.clr := $00000040;
  13560. end;
  13561. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  13562. begin
  13563. if thebits = 0 then
  13564. pTDefRegMap(@Self)^.clr := $00000040
  13565. else
  13566. pTDefRegMap(@Self)^.&set := $00000040;
  13567. end;
  13568. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  13569. begin
  13570. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13571. end;
  13572. procedure TUART2_U2STA.setURXISEL1; inline;
  13573. begin
  13574. pTDefRegMap(@Self)^.&set := $00000080;
  13575. end;
  13576. procedure TUART2_U2STA.clearURXISEL1; inline;
  13577. begin
  13578. pTDefRegMap(@Self)^.clr := $00000080;
  13579. end;
  13580. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  13581. begin
  13582. if thebits = 0 then
  13583. pTDefRegMap(@Self)^.clr := $00000080
  13584. else
  13585. pTDefRegMap(@Self)^.&set := $00000080;
  13586. end;
  13587. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  13588. begin
  13589. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13590. end;
  13591. procedure TUART2_U2STA.setUTXISEL0; inline;
  13592. begin
  13593. pTDefRegMap(@Self)^.&set := $00004000;
  13594. end;
  13595. procedure TUART2_U2STA.clearUTXISEL0; inline;
  13596. begin
  13597. pTDefRegMap(@Self)^.clr := $00004000;
  13598. end;
  13599. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  13600. begin
  13601. if thebits = 0 then
  13602. pTDefRegMap(@Self)^.clr := $00004000
  13603. else
  13604. pTDefRegMap(@Self)^.&set := $00004000;
  13605. end;
  13606. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  13607. begin
  13608. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  13609. end;
  13610. procedure TUART2_U2STA.setUTXISEL1; inline;
  13611. begin
  13612. pTDefRegMap(@Self)^.&set := $00008000;
  13613. end;
  13614. procedure TUART2_U2STA.clearUTXISEL1; inline;
  13615. begin
  13616. pTDefRegMap(@Self)^.clr := $00008000;
  13617. end;
  13618. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  13619. begin
  13620. if thebits = 0 then
  13621. pTDefRegMap(@Self)^.clr := $00008000
  13622. else
  13623. pTDefRegMap(@Self)^.&set := $00008000;
  13624. end;
  13625. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  13626. begin
  13627. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13628. end;
  13629. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  13630. begin
  13631. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  13632. end;
  13633. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  13634. begin
  13635. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  13636. end;
  13637. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  13638. begin
  13639. pTDefRegMap(@Self)^.val := thebits;
  13640. end;
  13641. function TUART2_U2STA.getw : TBits_32; inline;
  13642. begin
  13643. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13644. end;
  13645. procedure TPMP_PMCON.setRDSP; inline;
  13646. begin
  13647. pTDefRegMap(@Self)^.&set := $00000001;
  13648. end;
  13649. procedure TPMP_PMCON.clearRDSP; inline;
  13650. begin
  13651. pTDefRegMap(@Self)^.clr := $00000001;
  13652. end;
  13653. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  13654. begin
  13655. if thebits = 0 then
  13656. pTDefRegMap(@Self)^.clr := $00000001
  13657. else
  13658. pTDefRegMap(@Self)^.&set := $00000001;
  13659. end;
  13660. function TPMP_PMCON.getRDSP : TBits_1; inline;
  13661. begin
  13662. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13663. end;
  13664. procedure TPMP_PMCON.setWRSP; inline;
  13665. begin
  13666. pTDefRegMap(@Self)^.&set := $00000002;
  13667. end;
  13668. procedure TPMP_PMCON.clearWRSP; inline;
  13669. begin
  13670. pTDefRegMap(@Self)^.clr := $00000002;
  13671. end;
  13672. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  13673. begin
  13674. if thebits = 0 then
  13675. pTDefRegMap(@Self)^.clr := $00000002
  13676. else
  13677. pTDefRegMap(@Self)^.&set := $00000002;
  13678. end;
  13679. function TPMP_PMCON.getWRSP : TBits_1; inline;
  13680. begin
  13681. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13682. end;
  13683. procedure TPMP_PMCON.setCS1P; inline;
  13684. begin
  13685. pTDefRegMap(@Self)^.&set := $00000008;
  13686. end;
  13687. procedure TPMP_PMCON.clearCS1P; inline;
  13688. begin
  13689. pTDefRegMap(@Self)^.clr := $00000008;
  13690. end;
  13691. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  13692. begin
  13693. if thebits = 0 then
  13694. pTDefRegMap(@Self)^.clr := $00000008
  13695. else
  13696. pTDefRegMap(@Self)^.&set := $00000008;
  13697. end;
  13698. function TPMP_PMCON.getCS1P : TBits_1; inline;
  13699. begin
  13700. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13701. end;
  13702. procedure TPMP_PMCON.setCS2P; inline;
  13703. begin
  13704. pTDefRegMap(@Self)^.&set := $00000010;
  13705. end;
  13706. procedure TPMP_PMCON.clearCS2P; inline;
  13707. begin
  13708. pTDefRegMap(@Self)^.clr := $00000010;
  13709. end;
  13710. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  13711. begin
  13712. if thebits = 0 then
  13713. pTDefRegMap(@Self)^.clr := $00000010
  13714. else
  13715. pTDefRegMap(@Self)^.&set := $00000010;
  13716. end;
  13717. function TPMP_PMCON.getCS2P : TBits_1; inline;
  13718. begin
  13719. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13720. end;
  13721. procedure TPMP_PMCON.setALP; inline;
  13722. begin
  13723. pTDefRegMap(@Self)^.&set := $00000020;
  13724. end;
  13725. procedure TPMP_PMCON.clearALP; inline;
  13726. begin
  13727. pTDefRegMap(@Self)^.clr := $00000020;
  13728. end;
  13729. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  13730. begin
  13731. if thebits = 0 then
  13732. pTDefRegMap(@Self)^.clr := $00000020
  13733. else
  13734. pTDefRegMap(@Self)^.&set := $00000020;
  13735. end;
  13736. function TPMP_PMCON.getALP : TBits_1; inline;
  13737. begin
  13738. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13739. end;
  13740. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  13741. begin
  13742. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  13743. end;
  13744. function TPMP_PMCON.getCSF : TBits_2; inline;
  13745. begin
  13746. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  13747. end;
  13748. procedure TPMP_PMCON.setPTRDEN; inline;
  13749. begin
  13750. pTDefRegMap(@Self)^.&set := $00000100;
  13751. end;
  13752. procedure TPMP_PMCON.clearPTRDEN; inline;
  13753. begin
  13754. pTDefRegMap(@Self)^.clr := $00000100;
  13755. end;
  13756. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  13757. begin
  13758. if thebits = 0 then
  13759. pTDefRegMap(@Self)^.clr := $00000100
  13760. else
  13761. pTDefRegMap(@Self)^.&set := $00000100;
  13762. end;
  13763. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  13764. begin
  13765. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13766. end;
  13767. procedure TPMP_PMCON.setPTWREN; inline;
  13768. begin
  13769. pTDefRegMap(@Self)^.&set := $00000200;
  13770. end;
  13771. procedure TPMP_PMCON.clearPTWREN; inline;
  13772. begin
  13773. pTDefRegMap(@Self)^.clr := $00000200;
  13774. end;
  13775. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  13776. begin
  13777. if thebits = 0 then
  13778. pTDefRegMap(@Self)^.clr := $00000200
  13779. else
  13780. pTDefRegMap(@Self)^.&set := $00000200;
  13781. end;
  13782. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  13783. begin
  13784. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13785. end;
  13786. procedure TPMP_PMCON.setPMPTTL; inline;
  13787. begin
  13788. pTDefRegMap(@Self)^.&set := $00000400;
  13789. end;
  13790. procedure TPMP_PMCON.clearPMPTTL; inline;
  13791. begin
  13792. pTDefRegMap(@Self)^.clr := $00000400;
  13793. end;
  13794. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  13795. begin
  13796. if thebits = 0 then
  13797. pTDefRegMap(@Self)^.clr := $00000400
  13798. else
  13799. pTDefRegMap(@Self)^.&set := $00000400;
  13800. end;
  13801. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  13802. begin
  13803. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13804. end;
  13805. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  13806. begin
  13807. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  13808. end;
  13809. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  13810. begin
  13811. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  13812. end;
  13813. procedure TPMP_PMCON.setSIDL; inline;
  13814. begin
  13815. pTDefRegMap(@Self)^.&set := $00002000;
  13816. end;
  13817. procedure TPMP_PMCON.clearSIDL; inline;
  13818. begin
  13819. pTDefRegMap(@Self)^.clr := $00002000;
  13820. end;
  13821. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  13822. begin
  13823. if thebits = 0 then
  13824. pTDefRegMap(@Self)^.clr := $00002000
  13825. else
  13826. pTDefRegMap(@Self)^.&set := $00002000;
  13827. end;
  13828. function TPMP_PMCON.getSIDL : TBits_1; inline;
  13829. begin
  13830. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13831. end;
  13832. procedure TPMP_PMCON.setON; inline;
  13833. begin
  13834. pTDefRegMap(@Self)^.&set := $00008000;
  13835. end;
  13836. procedure TPMP_PMCON.clearON; inline;
  13837. begin
  13838. pTDefRegMap(@Self)^.clr := $00008000;
  13839. end;
  13840. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  13841. begin
  13842. if thebits = 0 then
  13843. pTDefRegMap(@Self)^.clr := $00008000
  13844. else
  13845. pTDefRegMap(@Self)^.&set := $00008000;
  13846. end;
  13847. function TPMP_PMCON.getON : TBits_1; inline;
  13848. begin
  13849. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13850. end;
  13851. procedure TPMP_PMCON.setCSF0; inline;
  13852. begin
  13853. pTDefRegMap(@Self)^.&set := $00000040;
  13854. end;
  13855. procedure TPMP_PMCON.clearCSF0; inline;
  13856. begin
  13857. pTDefRegMap(@Self)^.clr := $00000040;
  13858. end;
  13859. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  13860. begin
  13861. if thebits = 0 then
  13862. pTDefRegMap(@Self)^.clr := $00000040
  13863. else
  13864. pTDefRegMap(@Self)^.&set := $00000040;
  13865. end;
  13866. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  13867. begin
  13868. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13869. end;
  13870. procedure TPMP_PMCON.setCSF1; inline;
  13871. begin
  13872. pTDefRegMap(@Self)^.&set := $00000080;
  13873. end;
  13874. procedure TPMP_PMCON.clearCSF1; inline;
  13875. begin
  13876. pTDefRegMap(@Self)^.clr := $00000080;
  13877. end;
  13878. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  13879. begin
  13880. if thebits = 0 then
  13881. pTDefRegMap(@Self)^.clr := $00000080
  13882. else
  13883. pTDefRegMap(@Self)^.&set := $00000080;
  13884. end;
  13885. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  13886. begin
  13887. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13888. end;
  13889. procedure TPMP_PMCON.setADRMUX0; inline;
  13890. begin
  13891. pTDefRegMap(@Self)^.&set := $00000800;
  13892. end;
  13893. procedure TPMP_PMCON.clearADRMUX0; inline;
  13894. begin
  13895. pTDefRegMap(@Self)^.clr := $00000800;
  13896. end;
  13897. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  13898. begin
  13899. if thebits = 0 then
  13900. pTDefRegMap(@Self)^.clr := $00000800
  13901. else
  13902. pTDefRegMap(@Self)^.&set := $00000800;
  13903. end;
  13904. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  13905. begin
  13906. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13907. end;
  13908. procedure TPMP_PMCON.setADRMUX1; inline;
  13909. begin
  13910. pTDefRegMap(@Self)^.&set := $00001000;
  13911. end;
  13912. procedure TPMP_PMCON.clearADRMUX1; inline;
  13913. begin
  13914. pTDefRegMap(@Self)^.clr := $00001000;
  13915. end;
  13916. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  13917. begin
  13918. if thebits = 0 then
  13919. pTDefRegMap(@Self)^.clr := $00001000
  13920. else
  13921. pTDefRegMap(@Self)^.&set := $00001000;
  13922. end;
  13923. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  13924. begin
  13925. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13926. end;
  13927. procedure TPMP_PMCON.setPSIDL; inline;
  13928. begin
  13929. pTDefRegMap(@Self)^.&set := $00002000;
  13930. end;
  13931. procedure TPMP_PMCON.clearPSIDL; inline;
  13932. begin
  13933. pTDefRegMap(@Self)^.clr := $00002000;
  13934. end;
  13935. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  13936. begin
  13937. if thebits = 0 then
  13938. pTDefRegMap(@Self)^.clr := $00002000
  13939. else
  13940. pTDefRegMap(@Self)^.&set := $00002000;
  13941. end;
  13942. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  13943. begin
  13944. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13945. end;
  13946. procedure TPMP_PMCON.setPMPEN; inline;
  13947. begin
  13948. pTDefRegMap(@Self)^.&set := $00008000;
  13949. end;
  13950. procedure TPMP_PMCON.clearPMPEN; inline;
  13951. begin
  13952. pTDefRegMap(@Self)^.clr := $00008000;
  13953. end;
  13954. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  13955. begin
  13956. if thebits = 0 then
  13957. pTDefRegMap(@Self)^.clr := $00008000
  13958. else
  13959. pTDefRegMap(@Self)^.&set := $00008000;
  13960. end;
  13961. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  13962. begin
  13963. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13964. end;
  13965. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  13966. begin
  13967. pTDefRegMap(@Self)^.val := thebits;
  13968. end;
  13969. function TPMP_PMCON.getw : TBits_32; inline;
  13970. begin
  13971. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13972. end;
  13973. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  13974. begin
  13975. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  13976. end;
  13977. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  13978. begin
  13979. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  13980. end;
  13981. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  13982. begin
  13983. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  13984. end;
  13985. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  13986. begin
  13987. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  13988. end;
  13989. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  13990. begin
  13991. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  13992. end;
  13993. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  13994. begin
  13995. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  13996. end;
  13997. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  13998. begin
  13999. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  14000. end;
  14001. function TPMP_PMMODE.getMODE : TBits_2; inline;
  14002. begin
  14003. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  14004. end;
  14005. procedure TPMP_PMMODE.setMODE16; inline;
  14006. begin
  14007. pTDefRegMap(@Self)^.&set := $00000400;
  14008. end;
  14009. procedure TPMP_PMMODE.clearMODE16; inline;
  14010. begin
  14011. pTDefRegMap(@Self)^.clr := $00000400;
  14012. end;
  14013. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  14014. begin
  14015. if thebits = 0 then
  14016. pTDefRegMap(@Self)^.clr := $00000400
  14017. else
  14018. pTDefRegMap(@Self)^.&set := $00000400;
  14019. end;
  14020. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  14021. begin
  14022. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14023. end;
  14024. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  14025. begin
  14026. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  14027. end;
  14028. function TPMP_PMMODE.getINCM : TBits_2; inline;
  14029. begin
  14030. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  14031. end;
  14032. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  14033. begin
  14034. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  14035. end;
  14036. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  14037. begin
  14038. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  14039. end;
  14040. procedure TPMP_PMMODE.setBUSY; inline;
  14041. begin
  14042. pTDefRegMap(@Self)^.&set := $00008000;
  14043. end;
  14044. procedure TPMP_PMMODE.clearBUSY; inline;
  14045. begin
  14046. pTDefRegMap(@Self)^.clr := $00008000;
  14047. end;
  14048. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  14049. begin
  14050. if thebits = 0 then
  14051. pTDefRegMap(@Self)^.clr := $00008000
  14052. else
  14053. pTDefRegMap(@Self)^.&set := $00008000;
  14054. end;
  14055. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  14056. begin
  14057. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14058. end;
  14059. procedure TPMP_PMMODE.setWAITE0; inline;
  14060. begin
  14061. pTDefRegMap(@Self)^.&set := $00000001;
  14062. end;
  14063. procedure TPMP_PMMODE.clearWAITE0; inline;
  14064. begin
  14065. pTDefRegMap(@Self)^.clr := $00000001;
  14066. end;
  14067. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  14068. begin
  14069. if thebits = 0 then
  14070. pTDefRegMap(@Self)^.clr := $00000001
  14071. else
  14072. pTDefRegMap(@Self)^.&set := $00000001;
  14073. end;
  14074. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  14075. begin
  14076. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14077. end;
  14078. procedure TPMP_PMMODE.setWAITE1; inline;
  14079. begin
  14080. pTDefRegMap(@Self)^.&set := $00000002;
  14081. end;
  14082. procedure TPMP_PMMODE.clearWAITE1; inline;
  14083. begin
  14084. pTDefRegMap(@Self)^.clr := $00000002;
  14085. end;
  14086. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  14087. begin
  14088. if thebits = 0 then
  14089. pTDefRegMap(@Self)^.clr := $00000002
  14090. else
  14091. pTDefRegMap(@Self)^.&set := $00000002;
  14092. end;
  14093. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  14094. begin
  14095. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14096. end;
  14097. procedure TPMP_PMMODE.setWAITM0; inline;
  14098. begin
  14099. pTDefRegMap(@Self)^.&set := $00000004;
  14100. end;
  14101. procedure TPMP_PMMODE.clearWAITM0; inline;
  14102. begin
  14103. pTDefRegMap(@Self)^.clr := $00000004;
  14104. end;
  14105. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  14106. begin
  14107. if thebits = 0 then
  14108. pTDefRegMap(@Self)^.clr := $00000004
  14109. else
  14110. pTDefRegMap(@Self)^.&set := $00000004;
  14111. end;
  14112. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  14113. begin
  14114. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14115. end;
  14116. procedure TPMP_PMMODE.setWAITM1; inline;
  14117. begin
  14118. pTDefRegMap(@Self)^.&set := $00000008;
  14119. end;
  14120. procedure TPMP_PMMODE.clearWAITM1; inline;
  14121. begin
  14122. pTDefRegMap(@Self)^.clr := $00000008;
  14123. end;
  14124. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  14125. begin
  14126. if thebits = 0 then
  14127. pTDefRegMap(@Self)^.clr := $00000008
  14128. else
  14129. pTDefRegMap(@Self)^.&set := $00000008;
  14130. end;
  14131. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  14132. begin
  14133. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14134. end;
  14135. procedure TPMP_PMMODE.setWAITM2; inline;
  14136. begin
  14137. pTDefRegMap(@Self)^.&set := $00000010;
  14138. end;
  14139. procedure TPMP_PMMODE.clearWAITM2; inline;
  14140. begin
  14141. pTDefRegMap(@Self)^.clr := $00000010;
  14142. end;
  14143. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  14144. begin
  14145. if thebits = 0 then
  14146. pTDefRegMap(@Self)^.clr := $00000010
  14147. else
  14148. pTDefRegMap(@Self)^.&set := $00000010;
  14149. end;
  14150. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  14151. begin
  14152. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14153. end;
  14154. procedure TPMP_PMMODE.setWAITM3; inline;
  14155. begin
  14156. pTDefRegMap(@Self)^.&set := $00000020;
  14157. end;
  14158. procedure TPMP_PMMODE.clearWAITM3; inline;
  14159. begin
  14160. pTDefRegMap(@Self)^.clr := $00000020;
  14161. end;
  14162. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  14163. begin
  14164. if thebits = 0 then
  14165. pTDefRegMap(@Self)^.clr := $00000020
  14166. else
  14167. pTDefRegMap(@Self)^.&set := $00000020;
  14168. end;
  14169. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  14170. begin
  14171. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14172. end;
  14173. procedure TPMP_PMMODE.setWAITB0; inline;
  14174. begin
  14175. pTDefRegMap(@Self)^.&set := $00000040;
  14176. end;
  14177. procedure TPMP_PMMODE.clearWAITB0; inline;
  14178. begin
  14179. pTDefRegMap(@Self)^.clr := $00000040;
  14180. end;
  14181. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  14182. begin
  14183. if thebits = 0 then
  14184. pTDefRegMap(@Self)^.clr := $00000040
  14185. else
  14186. pTDefRegMap(@Self)^.&set := $00000040;
  14187. end;
  14188. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  14189. begin
  14190. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14191. end;
  14192. procedure TPMP_PMMODE.setWAITB1; inline;
  14193. begin
  14194. pTDefRegMap(@Self)^.&set := $00000080;
  14195. end;
  14196. procedure TPMP_PMMODE.clearWAITB1; inline;
  14197. begin
  14198. pTDefRegMap(@Self)^.clr := $00000080;
  14199. end;
  14200. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  14201. begin
  14202. if thebits = 0 then
  14203. pTDefRegMap(@Self)^.clr := $00000080
  14204. else
  14205. pTDefRegMap(@Self)^.&set := $00000080;
  14206. end;
  14207. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  14208. begin
  14209. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14210. end;
  14211. procedure TPMP_PMMODE.setMODE0; inline;
  14212. begin
  14213. pTDefRegMap(@Self)^.&set := $00000100;
  14214. end;
  14215. procedure TPMP_PMMODE.clearMODE0; inline;
  14216. begin
  14217. pTDefRegMap(@Self)^.clr := $00000100;
  14218. end;
  14219. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  14220. begin
  14221. if thebits = 0 then
  14222. pTDefRegMap(@Self)^.clr := $00000100
  14223. else
  14224. pTDefRegMap(@Self)^.&set := $00000100;
  14225. end;
  14226. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  14227. begin
  14228. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14229. end;
  14230. procedure TPMP_PMMODE.setMODE1; inline;
  14231. begin
  14232. pTDefRegMap(@Self)^.&set := $00000200;
  14233. end;
  14234. procedure TPMP_PMMODE.clearMODE1; inline;
  14235. begin
  14236. pTDefRegMap(@Self)^.clr := $00000200;
  14237. end;
  14238. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  14239. begin
  14240. if thebits = 0 then
  14241. pTDefRegMap(@Self)^.clr := $00000200
  14242. else
  14243. pTDefRegMap(@Self)^.&set := $00000200;
  14244. end;
  14245. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  14246. begin
  14247. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14248. end;
  14249. procedure TPMP_PMMODE.setINCM0; inline;
  14250. begin
  14251. pTDefRegMap(@Self)^.&set := $00000800;
  14252. end;
  14253. procedure TPMP_PMMODE.clearINCM0; inline;
  14254. begin
  14255. pTDefRegMap(@Self)^.clr := $00000800;
  14256. end;
  14257. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  14258. begin
  14259. if thebits = 0 then
  14260. pTDefRegMap(@Self)^.clr := $00000800
  14261. else
  14262. pTDefRegMap(@Self)^.&set := $00000800;
  14263. end;
  14264. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  14265. begin
  14266. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14267. end;
  14268. procedure TPMP_PMMODE.setINCM1; inline;
  14269. begin
  14270. pTDefRegMap(@Self)^.&set := $00001000;
  14271. end;
  14272. procedure TPMP_PMMODE.clearINCM1; inline;
  14273. begin
  14274. pTDefRegMap(@Self)^.clr := $00001000;
  14275. end;
  14276. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  14277. begin
  14278. if thebits = 0 then
  14279. pTDefRegMap(@Self)^.clr := $00001000
  14280. else
  14281. pTDefRegMap(@Self)^.&set := $00001000;
  14282. end;
  14283. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  14284. begin
  14285. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14286. end;
  14287. procedure TPMP_PMMODE.setIRQM0; inline;
  14288. begin
  14289. pTDefRegMap(@Self)^.&set := $00002000;
  14290. end;
  14291. procedure TPMP_PMMODE.clearIRQM0; inline;
  14292. begin
  14293. pTDefRegMap(@Self)^.clr := $00002000;
  14294. end;
  14295. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  14296. begin
  14297. if thebits = 0 then
  14298. pTDefRegMap(@Self)^.clr := $00002000
  14299. else
  14300. pTDefRegMap(@Self)^.&set := $00002000;
  14301. end;
  14302. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  14303. begin
  14304. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14305. end;
  14306. procedure TPMP_PMMODE.setIRQM1; inline;
  14307. begin
  14308. pTDefRegMap(@Self)^.&set := $00004000;
  14309. end;
  14310. procedure TPMP_PMMODE.clearIRQM1; inline;
  14311. begin
  14312. pTDefRegMap(@Self)^.clr := $00004000;
  14313. end;
  14314. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  14315. begin
  14316. if thebits = 0 then
  14317. pTDefRegMap(@Self)^.clr := $00004000
  14318. else
  14319. pTDefRegMap(@Self)^.&set := $00004000;
  14320. end;
  14321. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  14322. begin
  14323. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14324. end;
  14325. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  14326. begin
  14327. pTDefRegMap(@Self)^.val := thebits;
  14328. end;
  14329. function TPMP_PMMODE.getw : TBits_32; inline;
  14330. begin
  14331. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14332. end;
  14333. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  14334. begin
  14335. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  14336. end;
  14337. function TPMP_PMADDR.getADDR : TBits_14; inline;
  14338. begin
  14339. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  14340. end;
  14341. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  14342. begin
  14343. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  14344. end;
  14345. function TPMP_PMADDR.getCS : TBits_2; inline;
  14346. begin
  14347. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  14348. end;
  14349. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  14350. begin
  14351. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  14352. end;
  14353. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  14354. begin
  14355. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  14356. end;
  14357. procedure TPMP_PMADDR.setCS1; inline;
  14358. begin
  14359. pTDefRegMap(@Self)^.&set := $00004000;
  14360. end;
  14361. procedure TPMP_PMADDR.clearCS1; inline;
  14362. begin
  14363. pTDefRegMap(@Self)^.clr := $00004000;
  14364. end;
  14365. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  14366. begin
  14367. if thebits = 0 then
  14368. pTDefRegMap(@Self)^.clr := $00004000
  14369. else
  14370. pTDefRegMap(@Self)^.&set := $00004000;
  14371. end;
  14372. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  14373. begin
  14374. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14375. end;
  14376. procedure TPMP_PMADDR.setCS2; inline;
  14377. begin
  14378. pTDefRegMap(@Self)^.&set := $00008000;
  14379. end;
  14380. procedure TPMP_PMADDR.clearCS2; inline;
  14381. begin
  14382. pTDefRegMap(@Self)^.clr := $00008000;
  14383. end;
  14384. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  14385. begin
  14386. if thebits = 0 then
  14387. pTDefRegMap(@Self)^.clr := $00008000
  14388. else
  14389. pTDefRegMap(@Self)^.&set := $00008000;
  14390. end;
  14391. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  14392. begin
  14393. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14394. end;
  14395. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  14396. begin
  14397. pTDefRegMap(@Self)^.val := thebits;
  14398. end;
  14399. function TPMP_PMADDR.getw : TBits_32; inline;
  14400. begin
  14401. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14402. end;
  14403. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  14404. begin
  14405. pTDefRegMap(@Self)^.val := thebits;
  14406. end;
  14407. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  14408. begin
  14409. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14410. end;
  14411. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  14412. begin
  14413. pTDefRegMap(@Self)^.val := thebits;
  14414. end;
  14415. function TPMP_PMDOUT.getw : TBits_32; inline;
  14416. begin
  14417. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14418. end;
  14419. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  14420. begin
  14421. pTDefRegMap(@Self)^.val := thebits;
  14422. end;
  14423. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  14424. begin
  14425. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14426. end;
  14427. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  14428. begin
  14429. pTDefRegMap(@Self)^.val := thebits;
  14430. end;
  14431. function TPMP_PMDIN.getw : TBits_32; inline;
  14432. begin
  14433. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14434. end;
  14435. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  14436. begin
  14437. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  14438. end;
  14439. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  14440. begin
  14441. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  14442. end;
  14443. procedure TPMP_PMAEN.setPTEN0; inline;
  14444. begin
  14445. pTDefRegMap(@Self)^.&set := $00000001;
  14446. end;
  14447. procedure TPMP_PMAEN.clearPTEN0; inline;
  14448. begin
  14449. pTDefRegMap(@Self)^.clr := $00000001;
  14450. end;
  14451. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  14452. begin
  14453. if thebits = 0 then
  14454. pTDefRegMap(@Self)^.clr := $00000001
  14455. else
  14456. pTDefRegMap(@Self)^.&set := $00000001;
  14457. end;
  14458. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  14459. begin
  14460. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14461. end;
  14462. procedure TPMP_PMAEN.setPTEN1; inline;
  14463. begin
  14464. pTDefRegMap(@Self)^.&set := $00000002;
  14465. end;
  14466. procedure TPMP_PMAEN.clearPTEN1; inline;
  14467. begin
  14468. pTDefRegMap(@Self)^.clr := $00000002;
  14469. end;
  14470. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  14471. begin
  14472. if thebits = 0 then
  14473. pTDefRegMap(@Self)^.clr := $00000002
  14474. else
  14475. pTDefRegMap(@Self)^.&set := $00000002;
  14476. end;
  14477. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  14478. begin
  14479. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14480. end;
  14481. procedure TPMP_PMAEN.setPTEN2; inline;
  14482. begin
  14483. pTDefRegMap(@Self)^.&set := $00000004;
  14484. end;
  14485. procedure TPMP_PMAEN.clearPTEN2; inline;
  14486. begin
  14487. pTDefRegMap(@Self)^.clr := $00000004;
  14488. end;
  14489. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  14490. begin
  14491. if thebits = 0 then
  14492. pTDefRegMap(@Self)^.clr := $00000004
  14493. else
  14494. pTDefRegMap(@Self)^.&set := $00000004;
  14495. end;
  14496. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  14497. begin
  14498. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14499. end;
  14500. procedure TPMP_PMAEN.setPTEN3; inline;
  14501. begin
  14502. pTDefRegMap(@Self)^.&set := $00000008;
  14503. end;
  14504. procedure TPMP_PMAEN.clearPTEN3; inline;
  14505. begin
  14506. pTDefRegMap(@Self)^.clr := $00000008;
  14507. end;
  14508. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  14509. begin
  14510. if thebits = 0 then
  14511. pTDefRegMap(@Self)^.clr := $00000008
  14512. else
  14513. pTDefRegMap(@Self)^.&set := $00000008;
  14514. end;
  14515. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  14516. begin
  14517. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14518. end;
  14519. procedure TPMP_PMAEN.setPTEN4; inline;
  14520. begin
  14521. pTDefRegMap(@Self)^.&set := $00000010;
  14522. end;
  14523. procedure TPMP_PMAEN.clearPTEN4; inline;
  14524. begin
  14525. pTDefRegMap(@Self)^.clr := $00000010;
  14526. end;
  14527. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  14528. begin
  14529. if thebits = 0 then
  14530. pTDefRegMap(@Self)^.clr := $00000010
  14531. else
  14532. pTDefRegMap(@Self)^.&set := $00000010;
  14533. end;
  14534. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  14535. begin
  14536. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14537. end;
  14538. procedure TPMP_PMAEN.setPTEN5; inline;
  14539. begin
  14540. pTDefRegMap(@Self)^.&set := $00000020;
  14541. end;
  14542. procedure TPMP_PMAEN.clearPTEN5; inline;
  14543. begin
  14544. pTDefRegMap(@Self)^.clr := $00000020;
  14545. end;
  14546. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  14547. begin
  14548. if thebits = 0 then
  14549. pTDefRegMap(@Self)^.clr := $00000020
  14550. else
  14551. pTDefRegMap(@Self)^.&set := $00000020;
  14552. end;
  14553. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  14554. begin
  14555. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14556. end;
  14557. procedure TPMP_PMAEN.setPTEN6; inline;
  14558. begin
  14559. pTDefRegMap(@Self)^.&set := $00000040;
  14560. end;
  14561. procedure TPMP_PMAEN.clearPTEN6; inline;
  14562. begin
  14563. pTDefRegMap(@Self)^.clr := $00000040;
  14564. end;
  14565. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  14566. begin
  14567. if thebits = 0 then
  14568. pTDefRegMap(@Self)^.clr := $00000040
  14569. else
  14570. pTDefRegMap(@Self)^.&set := $00000040;
  14571. end;
  14572. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  14573. begin
  14574. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14575. end;
  14576. procedure TPMP_PMAEN.setPTEN7; inline;
  14577. begin
  14578. pTDefRegMap(@Self)^.&set := $00000080;
  14579. end;
  14580. procedure TPMP_PMAEN.clearPTEN7; inline;
  14581. begin
  14582. pTDefRegMap(@Self)^.clr := $00000080;
  14583. end;
  14584. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  14585. begin
  14586. if thebits = 0 then
  14587. pTDefRegMap(@Self)^.clr := $00000080
  14588. else
  14589. pTDefRegMap(@Self)^.&set := $00000080;
  14590. end;
  14591. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  14592. begin
  14593. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14594. end;
  14595. procedure TPMP_PMAEN.setPTEN8; inline;
  14596. begin
  14597. pTDefRegMap(@Self)^.&set := $00000100;
  14598. end;
  14599. procedure TPMP_PMAEN.clearPTEN8; inline;
  14600. begin
  14601. pTDefRegMap(@Self)^.clr := $00000100;
  14602. end;
  14603. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  14604. begin
  14605. if thebits = 0 then
  14606. pTDefRegMap(@Self)^.clr := $00000100
  14607. else
  14608. pTDefRegMap(@Self)^.&set := $00000100;
  14609. end;
  14610. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  14611. begin
  14612. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14613. end;
  14614. procedure TPMP_PMAEN.setPTEN9; inline;
  14615. begin
  14616. pTDefRegMap(@Self)^.&set := $00000200;
  14617. end;
  14618. procedure TPMP_PMAEN.clearPTEN9; inline;
  14619. begin
  14620. pTDefRegMap(@Self)^.clr := $00000200;
  14621. end;
  14622. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  14623. begin
  14624. if thebits = 0 then
  14625. pTDefRegMap(@Self)^.clr := $00000200
  14626. else
  14627. pTDefRegMap(@Self)^.&set := $00000200;
  14628. end;
  14629. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  14630. begin
  14631. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14632. end;
  14633. procedure TPMP_PMAEN.setPTEN10; inline;
  14634. begin
  14635. pTDefRegMap(@Self)^.&set := $00000400;
  14636. end;
  14637. procedure TPMP_PMAEN.clearPTEN10; inline;
  14638. begin
  14639. pTDefRegMap(@Self)^.clr := $00000400;
  14640. end;
  14641. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  14642. begin
  14643. if thebits = 0 then
  14644. pTDefRegMap(@Self)^.clr := $00000400
  14645. else
  14646. pTDefRegMap(@Self)^.&set := $00000400;
  14647. end;
  14648. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  14649. begin
  14650. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14651. end;
  14652. procedure TPMP_PMAEN.setPTEN11; inline;
  14653. begin
  14654. pTDefRegMap(@Self)^.&set := $00000800;
  14655. end;
  14656. procedure TPMP_PMAEN.clearPTEN11; inline;
  14657. begin
  14658. pTDefRegMap(@Self)^.clr := $00000800;
  14659. end;
  14660. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  14661. begin
  14662. if thebits = 0 then
  14663. pTDefRegMap(@Self)^.clr := $00000800
  14664. else
  14665. pTDefRegMap(@Self)^.&set := $00000800;
  14666. end;
  14667. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  14668. begin
  14669. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14670. end;
  14671. procedure TPMP_PMAEN.setPTEN12; inline;
  14672. begin
  14673. pTDefRegMap(@Self)^.&set := $00001000;
  14674. end;
  14675. procedure TPMP_PMAEN.clearPTEN12; inline;
  14676. begin
  14677. pTDefRegMap(@Self)^.clr := $00001000;
  14678. end;
  14679. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  14680. begin
  14681. if thebits = 0 then
  14682. pTDefRegMap(@Self)^.clr := $00001000
  14683. else
  14684. pTDefRegMap(@Self)^.&set := $00001000;
  14685. end;
  14686. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  14687. begin
  14688. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14689. end;
  14690. procedure TPMP_PMAEN.setPTEN13; inline;
  14691. begin
  14692. pTDefRegMap(@Self)^.&set := $00002000;
  14693. end;
  14694. procedure TPMP_PMAEN.clearPTEN13; inline;
  14695. begin
  14696. pTDefRegMap(@Self)^.clr := $00002000;
  14697. end;
  14698. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  14699. begin
  14700. if thebits = 0 then
  14701. pTDefRegMap(@Self)^.clr := $00002000
  14702. else
  14703. pTDefRegMap(@Self)^.&set := $00002000;
  14704. end;
  14705. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  14706. begin
  14707. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14708. end;
  14709. procedure TPMP_PMAEN.setPTEN14; inline;
  14710. begin
  14711. pTDefRegMap(@Self)^.&set := $00004000;
  14712. end;
  14713. procedure TPMP_PMAEN.clearPTEN14; inline;
  14714. begin
  14715. pTDefRegMap(@Self)^.clr := $00004000;
  14716. end;
  14717. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  14718. begin
  14719. if thebits = 0 then
  14720. pTDefRegMap(@Self)^.clr := $00004000
  14721. else
  14722. pTDefRegMap(@Self)^.&set := $00004000;
  14723. end;
  14724. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  14725. begin
  14726. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14727. end;
  14728. procedure TPMP_PMAEN.setPTEN15; inline;
  14729. begin
  14730. pTDefRegMap(@Self)^.&set := $00008000;
  14731. end;
  14732. procedure TPMP_PMAEN.clearPTEN15; inline;
  14733. begin
  14734. pTDefRegMap(@Self)^.clr := $00008000;
  14735. end;
  14736. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  14737. begin
  14738. if thebits = 0 then
  14739. pTDefRegMap(@Self)^.clr := $00008000
  14740. else
  14741. pTDefRegMap(@Self)^.&set := $00008000;
  14742. end;
  14743. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  14744. begin
  14745. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14746. end;
  14747. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  14748. begin
  14749. pTDefRegMap(@Self)^.val := thebits;
  14750. end;
  14751. function TPMP_PMAEN.getw : TBits_32; inline;
  14752. begin
  14753. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14754. end;
  14755. procedure TPMP_PMSTAT.setOB0E; inline;
  14756. begin
  14757. pTDefRegMap(@Self)^.&set := $00000001;
  14758. end;
  14759. procedure TPMP_PMSTAT.clearOB0E; inline;
  14760. begin
  14761. pTDefRegMap(@Self)^.clr := $00000001;
  14762. end;
  14763. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  14764. begin
  14765. if thebits = 0 then
  14766. pTDefRegMap(@Self)^.clr := $00000001
  14767. else
  14768. pTDefRegMap(@Self)^.&set := $00000001;
  14769. end;
  14770. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  14771. begin
  14772. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14773. end;
  14774. procedure TPMP_PMSTAT.setOB1E; inline;
  14775. begin
  14776. pTDefRegMap(@Self)^.&set := $00000002;
  14777. end;
  14778. procedure TPMP_PMSTAT.clearOB1E; inline;
  14779. begin
  14780. pTDefRegMap(@Self)^.clr := $00000002;
  14781. end;
  14782. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  14783. begin
  14784. if thebits = 0 then
  14785. pTDefRegMap(@Self)^.clr := $00000002
  14786. else
  14787. pTDefRegMap(@Self)^.&set := $00000002;
  14788. end;
  14789. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  14790. begin
  14791. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14792. end;
  14793. procedure TPMP_PMSTAT.setOB2E; inline;
  14794. begin
  14795. pTDefRegMap(@Self)^.&set := $00000004;
  14796. end;
  14797. procedure TPMP_PMSTAT.clearOB2E; inline;
  14798. begin
  14799. pTDefRegMap(@Self)^.clr := $00000004;
  14800. end;
  14801. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  14802. begin
  14803. if thebits = 0 then
  14804. pTDefRegMap(@Self)^.clr := $00000004
  14805. else
  14806. pTDefRegMap(@Self)^.&set := $00000004;
  14807. end;
  14808. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  14809. begin
  14810. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14811. end;
  14812. procedure TPMP_PMSTAT.setOB3E; inline;
  14813. begin
  14814. pTDefRegMap(@Self)^.&set := $00000008;
  14815. end;
  14816. procedure TPMP_PMSTAT.clearOB3E; inline;
  14817. begin
  14818. pTDefRegMap(@Self)^.clr := $00000008;
  14819. end;
  14820. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  14821. begin
  14822. if thebits = 0 then
  14823. pTDefRegMap(@Self)^.clr := $00000008
  14824. else
  14825. pTDefRegMap(@Self)^.&set := $00000008;
  14826. end;
  14827. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  14828. begin
  14829. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14830. end;
  14831. procedure TPMP_PMSTAT.setOBUF; inline;
  14832. begin
  14833. pTDefRegMap(@Self)^.&set := $00000040;
  14834. end;
  14835. procedure TPMP_PMSTAT.clearOBUF; inline;
  14836. begin
  14837. pTDefRegMap(@Self)^.clr := $00000040;
  14838. end;
  14839. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  14840. begin
  14841. if thebits = 0 then
  14842. pTDefRegMap(@Self)^.clr := $00000040
  14843. else
  14844. pTDefRegMap(@Self)^.&set := $00000040;
  14845. end;
  14846. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  14847. begin
  14848. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14849. end;
  14850. procedure TPMP_PMSTAT.setOBE; inline;
  14851. begin
  14852. pTDefRegMap(@Self)^.&set := $00000080;
  14853. end;
  14854. procedure TPMP_PMSTAT.clearOBE; inline;
  14855. begin
  14856. pTDefRegMap(@Self)^.clr := $00000080;
  14857. end;
  14858. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  14859. begin
  14860. if thebits = 0 then
  14861. pTDefRegMap(@Self)^.clr := $00000080
  14862. else
  14863. pTDefRegMap(@Self)^.&set := $00000080;
  14864. end;
  14865. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  14866. begin
  14867. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14868. end;
  14869. procedure TPMP_PMSTAT.setIB0F; inline;
  14870. begin
  14871. pTDefRegMap(@Self)^.&set := $00000100;
  14872. end;
  14873. procedure TPMP_PMSTAT.clearIB0F; inline;
  14874. begin
  14875. pTDefRegMap(@Self)^.clr := $00000100;
  14876. end;
  14877. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  14878. begin
  14879. if thebits = 0 then
  14880. pTDefRegMap(@Self)^.clr := $00000100
  14881. else
  14882. pTDefRegMap(@Self)^.&set := $00000100;
  14883. end;
  14884. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  14885. begin
  14886. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14887. end;
  14888. procedure TPMP_PMSTAT.setIB1F; inline;
  14889. begin
  14890. pTDefRegMap(@Self)^.&set := $00000200;
  14891. end;
  14892. procedure TPMP_PMSTAT.clearIB1F; inline;
  14893. begin
  14894. pTDefRegMap(@Self)^.clr := $00000200;
  14895. end;
  14896. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  14897. begin
  14898. if thebits = 0 then
  14899. pTDefRegMap(@Self)^.clr := $00000200
  14900. else
  14901. pTDefRegMap(@Self)^.&set := $00000200;
  14902. end;
  14903. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  14904. begin
  14905. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14906. end;
  14907. procedure TPMP_PMSTAT.setIB2F; inline;
  14908. begin
  14909. pTDefRegMap(@Self)^.&set := $00000400;
  14910. end;
  14911. procedure TPMP_PMSTAT.clearIB2F; inline;
  14912. begin
  14913. pTDefRegMap(@Self)^.clr := $00000400;
  14914. end;
  14915. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  14916. begin
  14917. if thebits = 0 then
  14918. pTDefRegMap(@Self)^.clr := $00000400
  14919. else
  14920. pTDefRegMap(@Self)^.&set := $00000400;
  14921. end;
  14922. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  14923. begin
  14924. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14925. end;
  14926. procedure TPMP_PMSTAT.setIB3F; inline;
  14927. begin
  14928. pTDefRegMap(@Self)^.&set := $00000800;
  14929. end;
  14930. procedure TPMP_PMSTAT.clearIB3F; inline;
  14931. begin
  14932. pTDefRegMap(@Self)^.clr := $00000800;
  14933. end;
  14934. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  14935. begin
  14936. if thebits = 0 then
  14937. pTDefRegMap(@Self)^.clr := $00000800
  14938. else
  14939. pTDefRegMap(@Self)^.&set := $00000800;
  14940. end;
  14941. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  14942. begin
  14943. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14944. end;
  14945. procedure TPMP_PMSTAT.setIBOV; inline;
  14946. begin
  14947. pTDefRegMap(@Self)^.&set := $00004000;
  14948. end;
  14949. procedure TPMP_PMSTAT.clearIBOV; inline;
  14950. begin
  14951. pTDefRegMap(@Self)^.clr := $00004000;
  14952. end;
  14953. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  14954. begin
  14955. if thebits = 0 then
  14956. pTDefRegMap(@Self)^.clr := $00004000
  14957. else
  14958. pTDefRegMap(@Self)^.&set := $00004000;
  14959. end;
  14960. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  14961. begin
  14962. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14963. end;
  14964. procedure TPMP_PMSTAT.setIBF; inline;
  14965. begin
  14966. pTDefRegMap(@Self)^.&set := $00008000;
  14967. end;
  14968. procedure TPMP_PMSTAT.clearIBF; inline;
  14969. begin
  14970. pTDefRegMap(@Self)^.clr := $00008000;
  14971. end;
  14972. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  14973. begin
  14974. if thebits = 0 then
  14975. pTDefRegMap(@Self)^.clr := $00008000
  14976. else
  14977. pTDefRegMap(@Self)^.&set := $00008000;
  14978. end;
  14979. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  14980. begin
  14981. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14982. end;
  14983. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  14984. begin
  14985. pTDefRegMap(@Self)^.val := thebits;
  14986. end;
  14987. function TPMP_PMSTAT.getw : TBits_32; inline;
  14988. begin
  14989. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14990. end;
  14991. procedure TADC10_AD1CON1.setDONE; inline;
  14992. begin
  14993. pTDefRegMap(@Self)^.&set := $00000001;
  14994. end;
  14995. procedure TADC10_AD1CON1.clearDONE; inline;
  14996. begin
  14997. pTDefRegMap(@Self)^.clr := $00000001;
  14998. end;
  14999. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  15000. begin
  15001. if thebits = 0 then
  15002. pTDefRegMap(@Self)^.clr := $00000001
  15003. else
  15004. pTDefRegMap(@Self)^.&set := $00000001;
  15005. end;
  15006. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  15007. begin
  15008. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15009. end;
  15010. procedure TADC10_AD1CON1.setSAMP; inline;
  15011. begin
  15012. pTDefRegMap(@Self)^.&set := $00000002;
  15013. end;
  15014. procedure TADC10_AD1CON1.clearSAMP; inline;
  15015. begin
  15016. pTDefRegMap(@Self)^.clr := $00000002;
  15017. end;
  15018. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  15019. begin
  15020. if thebits = 0 then
  15021. pTDefRegMap(@Self)^.clr := $00000002
  15022. else
  15023. pTDefRegMap(@Self)^.&set := $00000002;
  15024. end;
  15025. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  15026. begin
  15027. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15028. end;
  15029. procedure TADC10_AD1CON1.setASAM; inline;
  15030. begin
  15031. pTDefRegMap(@Self)^.&set := $00000004;
  15032. end;
  15033. procedure TADC10_AD1CON1.clearASAM; inline;
  15034. begin
  15035. pTDefRegMap(@Self)^.clr := $00000004;
  15036. end;
  15037. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  15038. begin
  15039. if thebits = 0 then
  15040. pTDefRegMap(@Self)^.clr := $00000004
  15041. else
  15042. pTDefRegMap(@Self)^.&set := $00000004;
  15043. end;
  15044. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  15045. begin
  15046. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15047. end;
  15048. procedure TADC10_AD1CON1.setCLRASAM; inline;
  15049. begin
  15050. pTDefRegMap(@Self)^.&set := $00000010;
  15051. end;
  15052. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  15053. begin
  15054. pTDefRegMap(@Self)^.clr := $00000010;
  15055. end;
  15056. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  15057. begin
  15058. if thebits = 0 then
  15059. pTDefRegMap(@Self)^.clr := $00000010
  15060. else
  15061. pTDefRegMap(@Self)^.&set := $00000010;
  15062. end;
  15063. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  15064. begin
  15065. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15066. end;
  15067. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  15068. begin
  15069. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  15070. end;
  15071. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  15072. begin
  15073. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  15074. end;
  15075. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  15076. begin
  15077. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  15078. end;
  15079. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  15080. begin
  15081. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  15082. end;
  15083. procedure TADC10_AD1CON1.setSIDL; inline;
  15084. begin
  15085. pTDefRegMap(@Self)^.&set := $00002000;
  15086. end;
  15087. procedure TADC10_AD1CON1.clearSIDL; inline;
  15088. begin
  15089. pTDefRegMap(@Self)^.clr := $00002000;
  15090. end;
  15091. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  15092. begin
  15093. if thebits = 0 then
  15094. pTDefRegMap(@Self)^.clr := $00002000
  15095. else
  15096. pTDefRegMap(@Self)^.&set := $00002000;
  15097. end;
  15098. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  15099. begin
  15100. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15101. end;
  15102. procedure TADC10_AD1CON1.setON; inline;
  15103. begin
  15104. pTDefRegMap(@Self)^.&set := $00008000;
  15105. end;
  15106. procedure TADC10_AD1CON1.clearON; inline;
  15107. begin
  15108. pTDefRegMap(@Self)^.clr := $00008000;
  15109. end;
  15110. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  15111. begin
  15112. if thebits = 0 then
  15113. pTDefRegMap(@Self)^.clr := $00008000
  15114. else
  15115. pTDefRegMap(@Self)^.&set := $00008000;
  15116. end;
  15117. function TADC10_AD1CON1.getON : TBits_1; inline;
  15118. begin
  15119. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15120. end;
  15121. procedure TADC10_AD1CON1.setSSRC0; inline;
  15122. begin
  15123. pTDefRegMap(@Self)^.&set := $00000020;
  15124. end;
  15125. procedure TADC10_AD1CON1.clearSSRC0; inline;
  15126. begin
  15127. pTDefRegMap(@Self)^.clr := $00000020;
  15128. end;
  15129. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  15130. begin
  15131. if thebits = 0 then
  15132. pTDefRegMap(@Self)^.clr := $00000020
  15133. else
  15134. pTDefRegMap(@Self)^.&set := $00000020;
  15135. end;
  15136. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  15137. begin
  15138. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15139. end;
  15140. procedure TADC10_AD1CON1.setSSRC1; inline;
  15141. begin
  15142. pTDefRegMap(@Self)^.&set := $00000040;
  15143. end;
  15144. procedure TADC10_AD1CON1.clearSSRC1; inline;
  15145. begin
  15146. pTDefRegMap(@Self)^.clr := $00000040;
  15147. end;
  15148. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  15149. begin
  15150. if thebits = 0 then
  15151. pTDefRegMap(@Self)^.clr := $00000040
  15152. else
  15153. pTDefRegMap(@Self)^.&set := $00000040;
  15154. end;
  15155. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  15156. begin
  15157. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15158. end;
  15159. procedure TADC10_AD1CON1.setSSRC2; inline;
  15160. begin
  15161. pTDefRegMap(@Self)^.&set := $00000080;
  15162. end;
  15163. procedure TADC10_AD1CON1.clearSSRC2; inline;
  15164. begin
  15165. pTDefRegMap(@Self)^.clr := $00000080;
  15166. end;
  15167. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  15168. begin
  15169. if thebits = 0 then
  15170. pTDefRegMap(@Self)^.clr := $00000080
  15171. else
  15172. pTDefRegMap(@Self)^.&set := $00000080;
  15173. end;
  15174. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  15175. begin
  15176. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15177. end;
  15178. procedure TADC10_AD1CON1.setFORM0; inline;
  15179. begin
  15180. pTDefRegMap(@Self)^.&set := $00000100;
  15181. end;
  15182. procedure TADC10_AD1CON1.clearFORM0; inline;
  15183. begin
  15184. pTDefRegMap(@Self)^.clr := $00000100;
  15185. end;
  15186. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  15187. begin
  15188. if thebits = 0 then
  15189. pTDefRegMap(@Self)^.clr := $00000100
  15190. else
  15191. pTDefRegMap(@Self)^.&set := $00000100;
  15192. end;
  15193. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  15194. begin
  15195. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15196. end;
  15197. procedure TADC10_AD1CON1.setFORM1; inline;
  15198. begin
  15199. pTDefRegMap(@Self)^.&set := $00000200;
  15200. end;
  15201. procedure TADC10_AD1CON1.clearFORM1; inline;
  15202. begin
  15203. pTDefRegMap(@Self)^.clr := $00000200;
  15204. end;
  15205. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  15206. begin
  15207. if thebits = 0 then
  15208. pTDefRegMap(@Self)^.clr := $00000200
  15209. else
  15210. pTDefRegMap(@Self)^.&set := $00000200;
  15211. end;
  15212. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  15213. begin
  15214. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15215. end;
  15216. procedure TADC10_AD1CON1.setFORM2; inline;
  15217. begin
  15218. pTDefRegMap(@Self)^.&set := $00000400;
  15219. end;
  15220. procedure TADC10_AD1CON1.clearFORM2; inline;
  15221. begin
  15222. pTDefRegMap(@Self)^.clr := $00000400;
  15223. end;
  15224. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  15225. begin
  15226. if thebits = 0 then
  15227. pTDefRegMap(@Self)^.clr := $00000400
  15228. else
  15229. pTDefRegMap(@Self)^.&set := $00000400;
  15230. end;
  15231. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  15232. begin
  15233. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15234. end;
  15235. procedure TADC10_AD1CON1.setADSIDL; inline;
  15236. begin
  15237. pTDefRegMap(@Self)^.&set := $00002000;
  15238. end;
  15239. procedure TADC10_AD1CON1.clearADSIDL; inline;
  15240. begin
  15241. pTDefRegMap(@Self)^.clr := $00002000;
  15242. end;
  15243. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  15244. begin
  15245. if thebits = 0 then
  15246. pTDefRegMap(@Self)^.clr := $00002000
  15247. else
  15248. pTDefRegMap(@Self)^.&set := $00002000;
  15249. end;
  15250. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  15251. begin
  15252. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15253. end;
  15254. procedure TADC10_AD1CON1.setADON; inline;
  15255. begin
  15256. pTDefRegMap(@Self)^.&set := $00008000;
  15257. end;
  15258. procedure TADC10_AD1CON1.clearADON; inline;
  15259. begin
  15260. pTDefRegMap(@Self)^.clr := $00008000;
  15261. end;
  15262. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  15263. begin
  15264. if thebits = 0 then
  15265. pTDefRegMap(@Self)^.clr := $00008000
  15266. else
  15267. pTDefRegMap(@Self)^.&set := $00008000;
  15268. end;
  15269. function TADC10_AD1CON1.getADON : TBits_1; inline;
  15270. begin
  15271. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15272. end;
  15273. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  15274. begin
  15275. pTDefRegMap(@Self)^.val := thebits;
  15276. end;
  15277. function TADC10_AD1CON1.getw : TBits_32; inline;
  15278. begin
  15279. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15280. end;
  15281. procedure TADC10_AD1CON2.setALTS; inline;
  15282. begin
  15283. pTDefRegMap(@Self)^.&set := $00000001;
  15284. end;
  15285. procedure TADC10_AD1CON2.clearALTS; inline;
  15286. begin
  15287. pTDefRegMap(@Self)^.clr := $00000001;
  15288. end;
  15289. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  15290. begin
  15291. if thebits = 0 then
  15292. pTDefRegMap(@Self)^.clr := $00000001
  15293. else
  15294. pTDefRegMap(@Self)^.&set := $00000001;
  15295. end;
  15296. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  15297. begin
  15298. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15299. end;
  15300. procedure TADC10_AD1CON2.setBUFM; inline;
  15301. begin
  15302. pTDefRegMap(@Self)^.&set := $00000002;
  15303. end;
  15304. procedure TADC10_AD1CON2.clearBUFM; inline;
  15305. begin
  15306. pTDefRegMap(@Self)^.clr := $00000002;
  15307. end;
  15308. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  15309. begin
  15310. if thebits = 0 then
  15311. pTDefRegMap(@Self)^.clr := $00000002
  15312. else
  15313. pTDefRegMap(@Self)^.&set := $00000002;
  15314. end;
  15315. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  15316. begin
  15317. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15318. end;
  15319. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  15320. begin
  15321. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  15322. end;
  15323. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  15324. begin
  15325. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  15326. end;
  15327. procedure TADC10_AD1CON2.setBUFS; inline;
  15328. begin
  15329. pTDefRegMap(@Self)^.&set := $00000080;
  15330. end;
  15331. procedure TADC10_AD1CON2.clearBUFS; inline;
  15332. begin
  15333. pTDefRegMap(@Self)^.clr := $00000080;
  15334. end;
  15335. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  15336. begin
  15337. if thebits = 0 then
  15338. pTDefRegMap(@Self)^.clr := $00000080
  15339. else
  15340. pTDefRegMap(@Self)^.&set := $00000080;
  15341. end;
  15342. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  15343. begin
  15344. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15345. end;
  15346. procedure TADC10_AD1CON2.setCSCNA; inline;
  15347. begin
  15348. pTDefRegMap(@Self)^.&set := $00000400;
  15349. end;
  15350. procedure TADC10_AD1CON2.clearCSCNA; inline;
  15351. begin
  15352. pTDefRegMap(@Self)^.clr := $00000400;
  15353. end;
  15354. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  15355. begin
  15356. if thebits = 0 then
  15357. pTDefRegMap(@Self)^.clr := $00000400
  15358. else
  15359. pTDefRegMap(@Self)^.&set := $00000400;
  15360. end;
  15361. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  15362. begin
  15363. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15364. end;
  15365. procedure TADC10_AD1CON2.setOFFCAL; inline;
  15366. begin
  15367. pTDefRegMap(@Self)^.&set := $00001000;
  15368. end;
  15369. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  15370. begin
  15371. pTDefRegMap(@Self)^.clr := $00001000;
  15372. end;
  15373. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  15374. begin
  15375. if thebits = 0 then
  15376. pTDefRegMap(@Self)^.clr := $00001000
  15377. else
  15378. pTDefRegMap(@Self)^.&set := $00001000;
  15379. end;
  15380. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  15381. begin
  15382. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15383. end;
  15384. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  15385. begin
  15386. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  15387. end;
  15388. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  15389. begin
  15390. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  15391. end;
  15392. procedure TADC10_AD1CON2.setSMPI0; inline;
  15393. begin
  15394. pTDefRegMap(@Self)^.&set := $00000004;
  15395. end;
  15396. procedure TADC10_AD1CON2.clearSMPI0; inline;
  15397. begin
  15398. pTDefRegMap(@Self)^.clr := $00000004;
  15399. end;
  15400. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  15401. begin
  15402. if thebits = 0 then
  15403. pTDefRegMap(@Self)^.clr := $00000004
  15404. else
  15405. pTDefRegMap(@Self)^.&set := $00000004;
  15406. end;
  15407. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  15408. begin
  15409. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15410. end;
  15411. procedure TADC10_AD1CON2.setSMPI1; inline;
  15412. begin
  15413. pTDefRegMap(@Self)^.&set := $00000008;
  15414. end;
  15415. procedure TADC10_AD1CON2.clearSMPI1; inline;
  15416. begin
  15417. pTDefRegMap(@Self)^.clr := $00000008;
  15418. end;
  15419. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  15420. begin
  15421. if thebits = 0 then
  15422. pTDefRegMap(@Self)^.clr := $00000008
  15423. else
  15424. pTDefRegMap(@Self)^.&set := $00000008;
  15425. end;
  15426. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  15427. begin
  15428. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15429. end;
  15430. procedure TADC10_AD1CON2.setSMPI2; inline;
  15431. begin
  15432. pTDefRegMap(@Self)^.&set := $00000010;
  15433. end;
  15434. procedure TADC10_AD1CON2.clearSMPI2; inline;
  15435. begin
  15436. pTDefRegMap(@Self)^.clr := $00000010;
  15437. end;
  15438. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  15439. begin
  15440. if thebits = 0 then
  15441. pTDefRegMap(@Self)^.clr := $00000010
  15442. else
  15443. pTDefRegMap(@Self)^.&set := $00000010;
  15444. end;
  15445. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  15446. begin
  15447. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15448. end;
  15449. procedure TADC10_AD1CON2.setSMPI3; inline;
  15450. begin
  15451. pTDefRegMap(@Self)^.&set := $00000020;
  15452. end;
  15453. procedure TADC10_AD1CON2.clearSMPI3; inline;
  15454. begin
  15455. pTDefRegMap(@Self)^.clr := $00000020;
  15456. end;
  15457. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  15458. begin
  15459. if thebits = 0 then
  15460. pTDefRegMap(@Self)^.clr := $00000020
  15461. else
  15462. pTDefRegMap(@Self)^.&set := $00000020;
  15463. end;
  15464. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  15465. begin
  15466. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15467. end;
  15468. procedure TADC10_AD1CON2.setVCFG0; inline;
  15469. begin
  15470. pTDefRegMap(@Self)^.&set := $00002000;
  15471. end;
  15472. procedure TADC10_AD1CON2.clearVCFG0; inline;
  15473. begin
  15474. pTDefRegMap(@Self)^.clr := $00002000;
  15475. end;
  15476. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  15477. begin
  15478. if thebits = 0 then
  15479. pTDefRegMap(@Self)^.clr := $00002000
  15480. else
  15481. pTDefRegMap(@Self)^.&set := $00002000;
  15482. end;
  15483. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  15484. begin
  15485. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15486. end;
  15487. procedure TADC10_AD1CON2.setVCFG1; inline;
  15488. begin
  15489. pTDefRegMap(@Self)^.&set := $00004000;
  15490. end;
  15491. procedure TADC10_AD1CON2.clearVCFG1; inline;
  15492. begin
  15493. pTDefRegMap(@Self)^.clr := $00004000;
  15494. end;
  15495. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  15496. begin
  15497. if thebits = 0 then
  15498. pTDefRegMap(@Self)^.clr := $00004000
  15499. else
  15500. pTDefRegMap(@Self)^.&set := $00004000;
  15501. end;
  15502. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  15503. begin
  15504. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15505. end;
  15506. procedure TADC10_AD1CON2.setVCFG2; inline;
  15507. begin
  15508. pTDefRegMap(@Self)^.&set := $00008000;
  15509. end;
  15510. procedure TADC10_AD1CON2.clearVCFG2; inline;
  15511. begin
  15512. pTDefRegMap(@Self)^.clr := $00008000;
  15513. end;
  15514. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  15515. begin
  15516. if thebits = 0 then
  15517. pTDefRegMap(@Self)^.clr := $00008000
  15518. else
  15519. pTDefRegMap(@Self)^.&set := $00008000;
  15520. end;
  15521. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  15522. begin
  15523. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15524. end;
  15525. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  15526. begin
  15527. pTDefRegMap(@Self)^.val := thebits;
  15528. end;
  15529. function TADC10_AD1CON2.getw : TBits_32; inline;
  15530. begin
  15531. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15532. end;
  15533. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  15534. begin
  15535. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  15536. end;
  15537. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  15538. begin
  15539. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  15540. end;
  15541. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  15542. begin
  15543. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  15544. end;
  15545. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  15546. begin
  15547. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  15548. end;
  15549. procedure TADC10_AD1CON3.setADRC; inline;
  15550. begin
  15551. pTDefRegMap(@Self)^.&set := $00008000;
  15552. end;
  15553. procedure TADC10_AD1CON3.clearADRC; inline;
  15554. begin
  15555. pTDefRegMap(@Self)^.clr := $00008000;
  15556. end;
  15557. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  15558. begin
  15559. if thebits = 0 then
  15560. pTDefRegMap(@Self)^.clr := $00008000
  15561. else
  15562. pTDefRegMap(@Self)^.&set := $00008000;
  15563. end;
  15564. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  15565. begin
  15566. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15567. end;
  15568. procedure TADC10_AD1CON3.setADCS0; inline;
  15569. begin
  15570. pTDefRegMap(@Self)^.&set := $00000001;
  15571. end;
  15572. procedure TADC10_AD1CON3.clearADCS0; inline;
  15573. begin
  15574. pTDefRegMap(@Self)^.clr := $00000001;
  15575. end;
  15576. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  15577. begin
  15578. if thebits = 0 then
  15579. pTDefRegMap(@Self)^.clr := $00000001
  15580. else
  15581. pTDefRegMap(@Self)^.&set := $00000001;
  15582. end;
  15583. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  15584. begin
  15585. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15586. end;
  15587. procedure TADC10_AD1CON3.setADCS1; inline;
  15588. begin
  15589. pTDefRegMap(@Self)^.&set := $00000002;
  15590. end;
  15591. procedure TADC10_AD1CON3.clearADCS1; inline;
  15592. begin
  15593. pTDefRegMap(@Self)^.clr := $00000002;
  15594. end;
  15595. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  15596. begin
  15597. if thebits = 0 then
  15598. pTDefRegMap(@Self)^.clr := $00000002
  15599. else
  15600. pTDefRegMap(@Self)^.&set := $00000002;
  15601. end;
  15602. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  15603. begin
  15604. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15605. end;
  15606. procedure TADC10_AD1CON3.setADCS2; inline;
  15607. begin
  15608. pTDefRegMap(@Self)^.&set := $00000004;
  15609. end;
  15610. procedure TADC10_AD1CON3.clearADCS2; inline;
  15611. begin
  15612. pTDefRegMap(@Self)^.clr := $00000004;
  15613. end;
  15614. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  15615. begin
  15616. if thebits = 0 then
  15617. pTDefRegMap(@Self)^.clr := $00000004
  15618. else
  15619. pTDefRegMap(@Self)^.&set := $00000004;
  15620. end;
  15621. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  15622. begin
  15623. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15624. end;
  15625. procedure TADC10_AD1CON3.setADCS3; inline;
  15626. begin
  15627. pTDefRegMap(@Self)^.&set := $00000008;
  15628. end;
  15629. procedure TADC10_AD1CON3.clearADCS3; inline;
  15630. begin
  15631. pTDefRegMap(@Self)^.clr := $00000008;
  15632. end;
  15633. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  15634. begin
  15635. if thebits = 0 then
  15636. pTDefRegMap(@Self)^.clr := $00000008
  15637. else
  15638. pTDefRegMap(@Self)^.&set := $00000008;
  15639. end;
  15640. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  15641. begin
  15642. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15643. end;
  15644. procedure TADC10_AD1CON3.setADCS4; inline;
  15645. begin
  15646. pTDefRegMap(@Self)^.&set := $00000010;
  15647. end;
  15648. procedure TADC10_AD1CON3.clearADCS4; inline;
  15649. begin
  15650. pTDefRegMap(@Self)^.clr := $00000010;
  15651. end;
  15652. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  15653. begin
  15654. if thebits = 0 then
  15655. pTDefRegMap(@Self)^.clr := $00000010
  15656. else
  15657. pTDefRegMap(@Self)^.&set := $00000010;
  15658. end;
  15659. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  15660. begin
  15661. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15662. end;
  15663. procedure TADC10_AD1CON3.setADCS5; inline;
  15664. begin
  15665. pTDefRegMap(@Self)^.&set := $00000020;
  15666. end;
  15667. procedure TADC10_AD1CON3.clearADCS5; inline;
  15668. begin
  15669. pTDefRegMap(@Self)^.clr := $00000020;
  15670. end;
  15671. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  15672. begin
  15673. if thebits = 0 then
  15674. pTDefRegMap(@Self)^.clr := $00000020
  15675. else
  15676. pTDefRegMap(@Self)^.&set := $00000020;
  15677. end;
  15678. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  15679. begin
  15680. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15681. end;
  15682. procedure TADC10_AD1CON3.setADCS6; inline;
  15683. begin
  15684. pTDefRegMap(@Self)^.&set := $00000040;
  15685. end;
  15686. procedure TADC10_AD1CON3.clearADCS6; inline;
  15687. begin
  15688. pTDefRegMap(@Self)^.clr := $00000040;
  15689. end;
  15690. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  15691. begin
  15692. if thebits = 0 then
  15693. pTDefRegMap(@Self)^.clr := $00000040
  15694. else
  15695. pTDefRegMap(@Self)^.&set := $00000040;
  15696. end;
  15697. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  15698. begin
  15699. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15700. end;
  15701. procedure TADC10_AD1CON3.setADCS7; inline;
  15702. begin
  15703. pTDefRegMap(@Self)^.&set := $00000080;
  15704. end;
  15705. procedure TADC10_AD1CON3.clearADCS7; inline;
  15706. begin
  15707. pTDefRegMap(@Self)^.clr := $00000080;
  15708. end;
  15709. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  15710. begin
  15711. if thebits = 0 then
  15712. pTDefRegMap(@Self)^.clr := $00000080
  15713. else
  15714. pTDefRegMap(@Self)^.&set := $00000080;
  15715. end;
  15716. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  15717. begin
  15718. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15719. end;
  15720. procedure TADC10_AD1CON3.setSAMC0; inline;
  15721. begin
  15722. pTDefRegMap(@Self)^.&set := $00000100;
  15723. end;
  15724. procedure TADC10_AD1CON3.clearSAMC0; inline;
  15725. begin
  15726. pTDefRegMap(@Self)^.clr := $00000100;
  15727. end;
  15728. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  15729. begin
  15730. if thebits = 0 then
  15731. pTDefRegMap(@Self)^.clr := $00000100
  15732. else
  15733. pTDefRegMap(@Self)^.&set := $00000100;
  15734. end;
  15735. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  15736. begin
  15737. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15738. end;
  15739. procedure TADC10_AD1CON3.setSAMC1; inline;
  15740. begin
  15741. pTDefRegMap(@Self)^.&set := $00000200;
  15742. end;
  15743. procedure TADC10_AD1CON3.clearSAMC1; inline;
  15744. begin
  15745. pTDefRegMap(@Self)^.clr := $00000200;
  15746. end;
  15747. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  15748. begin
  15749. if thebits = 0 then
  15750. pTDefRegMap(@Self)^.clr := $00000200
  15751. else
  15752. pTDefRegMap(@Self)^.&set := $00000200;
  15753. end;
  15754. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  15755. begin
  15756. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15757. end;
  15758. procedure TADC10_AD1CON3.setSAMC2; inline;
  15759. begin
  15760. pTDefRegMap(@Self)^.&set := $00000400;
  15761. end;
  15762. procedure TADC10_AD1CON3.clearSAMC2; inline;
  15763. begin
  15764. pTDefRegMap(@Self)^.clr := $00000400;
  15765. end;
  15766. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  15767. begin
  15768. if thebits = 0 then
  15769. pTDefRegMap(@Self)^.clr := $00000400
  15770. else
  15771. pTDefRegMap(@Self)^.&set := $00000400;
  15772. end;
  15773. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  15774. begin
  15775. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15776. end;
  15777. procedure TADC10_AD1CON3.setSAMC3; inline;
  15778. begin
  15779. pTDefRegMap(@Self)^.&set := $00000800;
  15780. end;
  15781. procedure TADC10_AD1CON3.clearSAMC3; inline;
  15782. begin
  15783. pTDefRegMap(@Self)^.clr := $00000800;
  15784. end;
  15785. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  15786. begin
  15787. if thebits = 0 then
  15788. pTDefRegMap(@Self)^.clr := $00000800
  15789. else
  15790. pTDefRegMap(@Self)^.&set := $00000800;
  15791. end;
  15792. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  15793. begin
  15794. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15795. end;
  15796. procedure TADC10_AD1CON3.setSAMC4; inline;
  15797. begin
  15798. pTDefRegMap(@Self)^.&set := $00001000;
  15799. end;
  15800. procedure TADC10_AD1CON3.clearSAMC4; inline;
  15801. begin
  15802. pTDefRegMap(@Self)^.clr := $00001000;
  15803. end;
  15804. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  15805. begin
  15806. if thebits = 0 then
  15807. pTDefRegMap(@Self)^.clr := $00001000
  15808. else
  15809. pTDefRegMap(@Self)^.&set := $00001000;
  15810. end;
  15811. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  15812. begin
  15813. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15814. end;
  15815. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  15816. begin
  15817. pTDefRegMap(@Self)^.val := thebits;
  15818. end;
  15819. function TADC10_AD1CON3.getw : TBits_32; inline;
  15820. begin
  15821. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15822. end;
  15823. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  15824. begin
  15825. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  15826. end;
  15827. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  15828. begin
  15829. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  15830. end;
  15831. procedure TADC10_AD1CHS.setCH0NA; inline;
  15832. begin
  15833. pTDefRegMap(@Self)^.&set := $00800000;
  15834. end;
  15835. procedure TADC10_AD1CHS.clearCH0NA; inline;
  15836. begin
  15837. pTDefRegMap(@Self)^.clr := $00800000;
  15838. end;
  15839. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  15840. begin
  15841. if thebits = 0 then
  15842. pTDefRegMap(@Self)^.clr := $00800000
  15843. else
  15844. pTDefRegMap(@Self)^.&set := $00800000;
  15845. end;
  15846. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  15847. begin
  15848. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  15849. end;
  15850. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  15851. begin
  15852. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  15853. end;
  15854. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  15855. begin
  15856. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  15857. end;
  15858. procedure TADC10_AD1CHS.setCH0NB; inline;
  15859. begin
  15860. pTDefRegMap(@Self)^.&set := $80000000;
  15861. end;
  15862. procedure TADC10_AD1CHS.clearCH0NB; inline;
  15863. begin
  15864. pTDefRegMap(@Self)^.clr := $80000000;
  15865. end;
  15866. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  15867. begin
  15868. if thebits = 0 then
  15869. pTDefRegMap(@Self)^.clr := $80000000
  15870. else
  15871. pTDefRegMap(@Self)^.&set := $80000000;
  15872. end;
  15873. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  15874. begin
  15875. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  15876. end;
  15877. procedure TADC10_AD1CHS.setCH0SA0; inline;
  15878. begin
  15879. pTDefRegMap(@Self)^.&set := $00010000;
  15880. end;
  15881. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  15882. begin
  15883. pTDefRegMap(@Self)^.clr := $00010000;
  15884. end;
  15885. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  15886. begin
  15887. if thebits = 0 then
  15888. pTDefRegMap(@Self)^.clr := $00010000
  15889. else
  15890. pTDefRegMap(@Self)^.&set := $00010000;
  15891. end;
  15892. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  15893. begin
  15894. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  15895. end;
  15896. procedure TADC10_AD1CHS.setCH0SA1; inline;
  15897. begin
  15898. pTDefRegMap(@Self)^.&set := $00020000;
  15899. end;
  15900. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  15901. begin
  15902. pTDefRegMap(@Self)^.clr := $00020000;
  15903. end;
  15904. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  15905. begin
  15906. if thebits = 0 then
  15907. pTDefRegMap(@Self)^.clr := $00020000
  15908. else
  15909. pTDefRegMap(@Self)^.&set := $00020000;
  15910. end;
  15911. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  15912. begin
  15913. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  15914. end;
  15915. procedure TADC10_AD1CHS.setCH0SA2; inline;
  15916. begin
  15917. pTDefRegMap(@Self)^.&set := $00040000;
  15918. end;
  15919. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  15920. begin
  15921. pTDefRegMap(@Self)^.clr := $00040000;
  15922. end;
  15923. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  15924. begin
  15925. if thebits = 0 then
  15926. pTDefRegMap(@Self)^.clr := $00040000
  15927. else
  15928. pTDefRegMap(@Self)^.&set := $00040000;
  15929. end;
  15930. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  15931. begin
  15932. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  15933. end;
  15934. procedure TADC10_AD1CHS.setCH0SA3; inline;
  15935. begin
  15936. pTDefRegMap(@Self)^.&set := $00080000;
  15937. end;
  15938. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  15939. begin
  15940. pTDefRegMap(@Self)^.clr := $00080000;
  15941. end;
  15942. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  15943. begin
  15944. if thebits = 0 then
  15945. pTDefRegMap(@Self)^.clr := $00080000
  15946. else
  15947. pTDefRegMap(@Self)^.&set := $00080000;
  15948. end;
  15949. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  15950. begin
  15951. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  15952. end;
  15953. procedure TADC10_AD1CHS.setCH0SB0; inline;
  15954. begin
  15955. pTDefRegMap(@Self)^.&set := $01000000;
  15956. end;
  15957. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  15958. begin
  15959. pTDefRegMap(@Self)^.clr := $01000000;
  15960. end;
  15961. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  15962. begin
  15963. if thebits = 0 then
  15964. pTDefRegMap(@Self)^.clr := $01000000
  15965. else
  15966. pTDefRegMap(@Self)^.&set := $01000000;
  15967. end;
  15968. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  15969. begin
  15970. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  15971. end;
  15972. procedure TADC10_AD1CHS.setCH0SB1; inline;
  15973. begin
  15974. pTDefRegMap(@Self)^.&set := $02000000;
  15975. end;
  15976. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  15977. begin
  15978. pTDefRegMap(@Self)^.clr := $02000000;
  15979. end;
  15980. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  15981. begin
  15982. if thebits = 0 then
  15983. pTDefRegMap(@Self)^.clr := $02000000
  15984. else
  15985. pTDefRegMap(@Self)^.&set := $02000000;
  15986. end;
  15987. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  15988. begin
  15989. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  15990. end;
  15991. procedure TADC10_AD1CHS.setCH0SB2; inline;
  15992. begin
  15993. pTDefRegMap(@Self)^.&set := $04000000;
  15994. end;
  15995. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  15996. begin
  15997. pTDefRegMap(@Self)^.clr := $04000000;
  15998. end;
  15999. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  16000. begin
  16001. if thebits = 0 then
  16002. pTDefRegMap(@Self)^.clr := $04000000
  16003. else
  16004. pTDefRegMap(@Self)^.&set := $04000000;
  16005. end;
  16006. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  16007. begin
  16008. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  16009. end;
  16010. procedure TADC10_AD1CHS.setCH0SB3; inline;
  16011. begin
  16012. pTDefRegMap(@Self)^.&set := $08000000;
  16013. end;
  16014. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  16015. begin
  16016. pTDefRegMap(@Self)^.clr := $08000000;
  16017. end;
  16018. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  16019. begin
  16020. if thebits = 0 then
  16021. pTDefRegMap(@Self)^.clr := $08000000
  16022. else
  16023. pTDefRegMap(@Self)^.&set := $08000000;
  16024. end;
  16025. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  16026. begin
  16027. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  16028. end;
  16029. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  16030. begin
  16031. pTDefRegMap(@Self)^.val := thebits;
  16032. end;
  16033. function TADC10_AD1CHS.getw : TBits_32; inline;
  16034. begin
  16035. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16036. end;
  16037. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  16038. begin
  16039. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  16040. end;
  16041. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  16042. begin
  16043. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  16044. end;
  16045. procedure TADC10_AD1CSSL.setCSSL0; inline;
  16046. begin
  16047. pTDefRegMap(@Self)^.&set := $00000001;
  16048. end;
  16049. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  16050. begin
  16051. pTDefRegMap(@Self)^.clr := $00000001;
  16052. end;
  16053. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  16054. begin
  16055. if thebits = 0 then
  16056. pTDefRegMap(@Self)^.clr := $00000001
  16057. else
  16058. pTDefRegMap(@Self)^.&set := $00000001;
  16059. end;
  16060. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  16061. begin
  16062. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16063. end;
  16064. procedure TADC10_AD1CSSL.setCSSL1; inline;
  16065. begin
  16066. pTDefRegMap(@Self)^.&set := $00000002;
  16067. end;
  16068. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  16069. begin
  16070. pTDefRegMap(@Self)^.clr := $00000002;
  16071. end;
  16072. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  16073. begin
  16074. if thebits = 0 then
  16075. pTDefRegMap(@Self)^.clr := $00000002
  16076. else
  16077. pTDefRegMap(@Self)^.&set := $00000002;
  16078. end;
  16079. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  16080. begin
  16081. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16082. end;
  16083. procedure TADC10_AD1CSSL.setCSSL2; inline;
  16084. begin
  16085. pTDefRegMap(@Self)^.&set := $00000004;
  16086. end;
  16087. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  16088. begin
  16089. pTDefRegMap(@Self)^.clr := $00000004;
  16090. end;
  16091. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  16092. begin
  16093. if thebits = 0 then
  16094. pTDefRegMap(@Self)^.clr := $00000004
  16095. else
  16096. pTDefRegMap(@Self)^.&set := $00000004;
  16097. end;
  16098. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  16099. begin
  16100. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16101. end;
  16102. procedure TADC10_AD1CSSL.setCSSL3; inline;
  16103. begin
  16104. pTDefRegMap(@Self)^.&set := $00000008;
  16105. end;
  16106. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  16107. begin
  16108. pTDefRegMap(@Self)^.clr := $00000008;
  16109. end;
  16110. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  16111. begin
  16112. if thebits = 0 then
  16113. pTDefRegMap(@Self)^.clr := $00000008
  16114. else
  16115. pTDefRegMap(@Self)^.&set := $00000008;
  16116. end;
  16117. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  16118. begin
  16119. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16120. end;
  16121. procedure TADC10_AD1CSSL.setCSSL4; inline;
  16122. begin
  16123. pTDefRegMap(@Self)^.&set := $00000010;
  16124. end;
  16125. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  16126. begin
  16127. pTDefRegMap(@Self)^.clr := $00000010;
  16128. end;
  16129. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  16130. begin
  16131. if thebits = 0 then
  16132. pTDefRegMap(@Self)^.clr := $00000010
  16133. else
  16134. pTDefRegMap(@Self)^.&set := $00000010;
  16135. end;
  16136. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  16137. begin
  16138. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16139. end;
  16140. procedure TADC10_AD1CSSL.setCSSL5; inline;
  16141. begin
  16142. pTDefRegMap(@Self)^.&set := $00000020;
  16143. end;
  16144. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  16145. begin
  16146. pTDefRegMap(@Self)^.clr := $00000020;
  16147. end;
  16148. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  16149. begin
  16150. if thebits = 0 then
  16151. pTDefRegMap(@Self)^.clr := $00000020
  16152. else
  16153. pTDefRegMap(@Self)^.&set := $00000020;
  16154. end;
  16155. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  16156. begin
  16157. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16158. end;
  16159. procedure TADC10_AD1CSSL.setCSSL6; inline;
  16160. begin
  16161. pTDefRegMap(@Self)^.&set := $00000040;
  16162. end;
  16163. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  16164. begin
  16165. pTDefRegMap(@Self)^.clr := $00000040;
  16166. end;
  16167. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  16168. begin
  16169. if thebits = 0 then
  16170. pTDefRegMap(@Self)^.clr := $00000040
  16171. else
  16172. pTDefRegMap(@Self)^.&set := $00000040;
  16173. end;
  16174. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  16175. begin
  16176. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16177. end;
  16178. procedure TADC10_AD1CSSL.setCSSL7; inline;
  16179. begin
  16180. pTDefRegMap(@Self)^.&set := $00000080;
  16181. end;
  16182. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  16183. begin
  16184. pTDefRegMap(@Self)^.clr := $00000080;
  16185. end;
  16186. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  16187. begin
  16188. if thebits = 0 then
  16189. pTDefRegMap(@Self)^.clr := $00000080
  16190. else
  16191. pTDefRegMap(@Self)^.&set := $00000080;
  16192. end;
  16193. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  16194. begin
  16195. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16196. end;
  16197. procedure TADC10_AD1CSSL.setCSSL8; inline;
  16198. begin
  16199. pTDefRegMap(@Self)^.&set := $00000100;
  16200. end;
  16201. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  16202. begin
  16203. pTDefRegMap(@Self)^.clr := $00000100;
  16204. end;
  16205. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  16206. begin
  16207. if thebits = 0 then
  16208. pTDefRegMap(@Self)^.clr := $00000100
  16209. else
  16210. pTDefRegMap(@Self)^.&set := $00000100;
  16211. end;
  16212. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  16213. begin
  16214. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16215. end;
  16216. procedure TADC10_AD1CSSL.setCSSL9; inline;
  16217. begin
  16218. pTDefRegMap(@Self)^.&set := $00000200;
  16219. end;
  16220. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  16221. begin
  16222. pTDefRegMap(@Self)^.clr := $00000200;
  16223. end;
  16224. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  16225. begin
  16226. if thebits = 0 then
  16227. pTDefRegMap(@Self)^.clr := $00000200
  16228. else
  16229. pTDefRegMap(@Self)^.&set := $00000200;
  16230. end;
  16231. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  16232. begin
  16233. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16234. end;
  16235. procedure TADC10_AD1CSSL.setCSSL10; inline;
  16236. begin
  16237. pTDefRegMap(@Self)^.&set := $00000400;
  16238. end;
  16239. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  16240. begin
  16241. pTDefRegMap(@Self)^.clr := $00000400;
  16242. end;
  16243. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  16244. begin
  16245. if thebits = 0 then
  16246. pTDefRegMap(@Self)^.clr := $00000400
  16247. else
  16248. pTDefRegMap(@Self)^.&set := $00000400;
  16249. end;
  16250. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  16251. begin
  16252. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16253. end;
  16254. procedure TADC10_AD1CSSL.setCSSL11; inline;
  16255. begin
  16256. pTDefRegMap(@Self)^.&set := $00000800;
  16257. end;
  16258. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  16259. begin
  16260. pTDefRegMap(@Self)^.clr := $00000800;
  16261. end;
  16262. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  16263. begin
  16264. if thebits = 0 then
  16265. pTDefRegMap(@Self)^.clr := $00000800
  16266. else
  16267. pTDefRegMap(@Self)^.&set := $00000800;
  16268. end;
  16269. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  16270. begin
  16271. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16272. end;
  16273. procedure TADC10_AD1CSSL.setCSSL12; inline;
  16274. begin
  16275. pTDefRegMap(@Self)^.&set := $00001000;
  16276. end;
  16277. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  16278. begin
  16279. pTDefRegMap(@Self)^.clr := $00001000;
  16280. end;
  16281. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  16282. begin
  16283. if thebits = 0 then
  16284. pTDefRegMap(@Self)^.clr := $00001000
  16285. else
  16286. pTDefRegMap(@Self)^.&set := $00001000;
  16287. end;
  16288. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  16289. begin
  16290. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16291. end;
  16292. procedure TADC10_AD1CSSL.setCSSL13; inline;
  16293. begin
  16294. pTDefRegMap(@Self)^.&set := $00002000;
  16295. end;
  16296. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  16297. begin
  16298. pTDefRegMap(@Self)^.clr := $00002000;
  16299. end;
  16300. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  16301. begin
  16302. if thebits = 0 then
  16303. pTDefRegMap(@Self)^.clr := $00002000
  16304. else
  16305. pTDefRegMap(@Self)^.&set := $00002000;
  16306. end;
  16307. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  16308. begin
  16309. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16310. end;
  16311. procedure TADC10_AD1CSSL.setCSSL14; inline;
  16312. begin
  16313. pTDefRegMap(@Self)^.&set := $00004000;
  16314. end;
  16315. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  16316. begin
  16317. pTDefRegMap(@Self)^.clr := $00004000;
  16318. end;
  16319. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  16320. begin
  16321. if thebits = 0 then
  16322. pTDefRegMap(@Self)^.clr := $00004000
  16323. else
  16324. pTDefRegMap(@Self)^.&set := $00004000;
  16325. end;
  16326. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  16327. begin
  16328. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16329. end;
  16330. procedure TADC10_AD1CSSL.setCSSL15; inline;
  16331. begin
  16332. pTDefRegMap(@Self)^.&set := $00008000;
  16333. end;
  16334. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  16335. begin
  16336. pTDefRegMap(@Self)^.clr := $00008000;
  16337. end;
  16338. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  16339. begin
  16340. if thebits = 0 then
  16341. pTDefRegMap(@Self)^.clr := $00008000
  16342. else
  16343. pTDefRegMap(@Self)^.&set := $00008000;
  16344. end;
  16345. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  16346. begin
  16347. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16348. end;
  16349. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  16350. begin
  16351. pTDefRegMap(@Self)^.val := thebits;
  16352. end;
  16353. function TADC10_AD1CSSL.getw : TBits_32; inline;
  16354. begin
  16355. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16356. end;
  16357. procedure TADC10_AD1PCFG.setPCFG(thebits : TBits_16); inline;
  16358. begin
  16359. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  16360. end;
  16361. function TADC10_AD1PCFG.getPCFG : TBits_16; inline;
  16362. begin
  16363. getPCFG := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  16364. end;
  16365. procedure TADC10_AD1PCFG.setPCFG0; inline;
  16366. begin
  16367. pTDefRegMap(@Self)^.&set := $00000001;
  16368. end;
  16369. procedure TADC10_AD1PCFG.clearPCFG0; inline;
  16370. begin
  16371. pTDefRegMap(@Self)^.clr := $00000001;
  16372. end;
  16373. procedure TADC10_AD1PCFG.setPCFG0(thebits : TBits_1); inline;
  16374. begin
  16375. if thebits = 0 then
  16376. pTDefRegMap(@Self)^.clr := $00000001
  16377. else
  16378. pTDefRegMap(@Self)^.&set := $00000001;
  16379. end;
  16380. function TADC10_AD1PCFG.getPCFG0 : TBits_1; inline;
  16381. begin
  16382. getPCFG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16383. end;
  16384. procedure TADC10_AD1PCFG.setPCFG1; inline;
  16385. begin
  16386. pTDefRegMap(@Self)^.&set := $00000002;
  16387. end;
  16388. procedure TADC10_AD1PCFG.clearPCFG1; inline;
  16389. begin
  16390. pTDefRegMap(@Self)^.clr := $00000002;
  16391. end;
  16392. procedure TADC10_AD1PCFG.setPCFG1(thebits : TBits_1); inline;
  16393. begin
  16394. if thebits = 0 then
  16395. pTDefRegMap(@Self)^.clr := $00000002
  16396. else
  16397. pTDefRegMap(@Self)^.&set := $00000002;
  16398. end;
  16399. function TADC10_AD1PCFG.getPCFG1 : TBits_1; inline;
  16400. begin
  16401. getPCFG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16402. end;
  16403. procedure TADC10_AD1PCFG.setPCFG2; inline;
  16404. begin
  16405. pTDefRegMap(@Self)^.&set := $00000004;
  16406. end;
  16407. procedure TADC10_AD1PCFG.clearPCFG2; inline;
  16408. begin
  16409. pTDefRegMap(@Self)^.clr := $00000004;
  16410. end;
  16411. procedure TADC10_AD1PCFG.setPCFG2(thebits : TBits_1); inline;
  16412. begin
  16413. if thebits = 0 then
  16414. pTDefRegMap(@Self)^.clr := $00000004
  16415. else
  16416. pTDefRegMap(@Self)^.&set := $00000004;
  16417. end;
  16418. function TADC10_AD1PCFG.getPCFG2 : TBits_1; inline;
  16419. begin
  16420. getPCFG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16421. end;
  16422. procedure TADC10_AD1PCFG.setPCFG3; inline;
  16423. begin
  16424. pTDefRegMap(@Self)^.&set := $00000008;
  16425. end;
  16426. procedure TADC10_AD1PCFG.clearPCFG3; inline;
  16427. begin
  16428. pTDefRegMap(@Self)^.clr := $00000008;
  16429. end;
  16430. procedure TADC10_AD1PCFG.setPCFG3(thebits : TBits_1); inline;
  16431. begin
  16432. if thebits = 0 then
  16433. pTDefRegMap(@Self)^.clr := $00000008
  16434. else
  16435. pTDefRegMap(@Self)^.&set := $00000008;
  16436. end;
  16437. function TADC10_AD1PCFG.getPCFG3 : TBits_1; inline;
  16438. begin
  16439. getPCFG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16440. end;
  16441. procedure TADC10_AD1PCFG.setPCFG4; inline;
  16442. begin
  16443. pTDefRegMap(@Self)^.&set := $00000010;
  16444. end;
  16445. procedure TADC10_AD1PCFG.clearPCFG4; inline;
  16446. begin
  16447. pTDefRegMap(@Self)^.clr := $00000010;
  16448. end;
  16449. procedure TADC10_AD1PCFG.setPCFG4(thebits : TBits_1); inline;
  16450. begin
  16451. if thebits = 0 then
  16452. pTDefRegMap(@Self)^.clr := $00000010
  16453. else
  16454. pTDefRegMap(@Self)^.&set := $00000010;
  16455. end;
  16456. function TADC10_AD1PCFG.getPCFG4 : TBits_1; inline;
  16457. begin
  16458. getPCFG4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16459. end;
  16460. procedure TADC10_AD1PCFG.setPCFG5; inline;
  16461. begin
  16462. pTDefRegMap(@Self)^.&set := $00000020;
  16463. end;
  16464. procedure TADC10_AD1PCFG.clearPCFG5; inline;
  16465. begin
  16466. pTDefRegMap(@Self)^.clr := $00000020;
  16467. end;
  16468. procedure TADC10_AD1PCFG.setPCFG5(thebits : TBits_1); inline;
  16469. begin
  16470. if thebits = 0 then
  16471. pTDefRegMap(@Self)^.clr := $00000020
  16472. else
  16473. pTDefRegMap(@Self)^.&set := $00000020;
  16474. end;
  16475. function TADC10_AD1PCFG.getPCFG5 : TBits_1; inline;
  16476. begin
  16477. getPCFG5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16478. end;
  16479. procedure TADC10_AD1PCFG.setPCFG6; inline;
  16480. begin
  16481. pTDefRegMap(@Self)^.&set := $00000040;
  16482. end;
  16483. procedure TADC10_AD1PCFG.clearPCFG6; inline;
  16484. begin
  16485. pTDefRegMap(@Self)^.clr := $00000040;
  16486. end;
  16487. procedure TADC10_AD1PCFG.setPCFG6(thebits : TBits_1); inline;
  16488. begin
  16489. if thebits = 0 then
  16490. pTDefRegMap(@Self)^.clr := $00000040
  16491. else
  16492. pTDefRegMap(@Self)^.&set := $00000040;
  16493. end;
  16494. function TADC10_AD1PCFG.getPCFG6 : TBits_1; inline;
  16495. begin
  16496. getPCFG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16497. end;
  16498. procedure TADC10_AD1PCFG.setPCFG7; inline;
  16499. begin
  16500. pTDefRegMap(@Self)^.&set := $00000080;
  16501. end;
  16502. procedure TADC10_AD1PCFG.clearPCFG7; inline;
  16503. begin
  16504. pTDefRegMap(@Self)^.clr := $00000080;
  16505. end;
  16506. procedure TADC10_AD1PCFG.setPCFG7(thebits : TBits_1); inline;
  16507. begin
  16508. if thebits = 0 then
  16509. pTDefRegMap(@Self)^.clr := $00000080
  16510. else
  16511. pTDefRegMap(@Self)^.&set := $00000080;
  16512. end;
  16513. function TADC10_AD1PCFG.getPCFG7 : TBits_1; inline;
  16514. begin
  16515. getPCFG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16516. end;
  16517. procedure TADC10_AD1PCFG.setPCFG8; inline;
  16518. begin
  16519. pTDefRegMap(@Self)^.&set := $00000100;
  16520. end;
  16521. procedure TADC10_AD1PCFG.clearPCFG8; inline;
  16522. begin
  16523. pTDefRegMap(@Self)^.clr := $00000100;
  16524. end;
  16525. procedure TADC10_AD1PCFG.setPCFG8(thebits : TBits_1); inline;
  16526. begin
  16527. if thebits = 0 then
  16528. pTDefRegMap(@Self)^.clr := $00000100
  16529. else
  16530. pTDefRegMap(@Self)^.&set := $00000100;
  16531. end;
  16532. function TADC10_AD1PCFG.getPCFG8 : TBits_1; inline;
  16533. begin
  16534. getPCFG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16535. end;
  16536. procedure TADC10_AD1PCFG.setPCFG9; inline;
  16537. begin
  16538. pTDefRegMap(@Self)^.&set := $00000200;
  16539. end;
  16540. procedure TADC10_AD1PCFG.clearPCFG9; inline;
  16541. begin
  16542. pTDefRegMap(@Self)^.clr := $00000200;
  16543. end;
  16544. procedure TADC10_AD1PCFG.setPCFG9(thebits : TBits_1); inline;
  16545. begin
  16546. if thebits = 0 then
  16547. pTDefRegMap(@Self)^.clr := $00000200
  16548. else
  16549. pTDefRegMap(@Self)^.&set := $00000200;
  16550. end;
  16551. function TADC10_AD1PCFG.getPCFG9 : TBits_1; inline;
  16552. begin
  16553. getPCFG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16554. end;
  16555. procedure TADC10_AD1PCFG.setPCFG10; inline;
  16556. begin
  16557. pTDefRegMap(@Self)^.&set := $00000400;
  16558. end;
  16559. procedure TADC10_AD1PCFG.clearPCFG10; inline;
  16560. begin
  16561. pTDefRegMap(@Self)^.clr := $00000400;
  16562. end;
  16563. procedure TADC10_AD1PCFG.setPCFG10(thebits : TBits_1); inline;
  16564. begin
  16565. if thebits = 0 then
  16566. pTDefRegMap(@Self)^.clr := $00000400
  16567. else
  16568. pTDefRegMap(@Self)^.&set := $00000400;
  16569. end;
  16570. function TADC10_AD1PCFG.getPCFG10 : TBits_1; inline;
  16571. begin
  16572. getPCFG10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16573. end;
  16574. procedure TADC10_AD1PCFG.setPCFG11; inline;
  16575. begin
  16576. pTDefRegMap(@Self)^.&set := $00000800;
  16577. end;
  16578. procedure TADC10_AD1PCFG.clearPCFG11; inline;
  16579. begin
  16580. pTDefRegMap(@Self)^.clr := $00000800;
  16581. end;
  16582. procedure TADC10_AD1PCFG.setPCFG11(thebits : TBits_1); inline;
  16583. begin
  16584. if thebits = 0 then
  16585. pTDefRegMap(@Self)^.clr := $00000800
  16586. else
  16587. pTDefRegMap(@Self)^.&set := $00000800;
  16588. end;
  16589. function TADC10_AD1PCFG.getPCFG11 : TBits_1; inline;
  16590. begin
  16591. getPCFG11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16592. end;
  16593. procedure TADC10_AD1PCFG.setPCFG12; inline;
  16594. begin
  16595. pTDefRegMap(@Self)^.&set := $00001000;
  16596. end;
  16597. procedure TADC10_AD1PCFG.clearPCFG12; inline;
  16598. begin
  16599. pTDefRegMap(@Self)^.clr := $00001000;
  16600. end;
  16601. procedure TADC10_AD1PCFG.setPCFG12(thebits : TBits_1); inline;
  16602. begin
  16603. if thebits = 0 then
  16604. pTDefRegMap(@Self)^.clr := $00001000
  16605. else
  16606. pTDefRegMap(@Self)^.&set := $00001000;
  16607. end;
  16608. function TADC10_AD1PCFG.getPCFG12 : TBits_1; inline;
  16609. begin
  16610. getPCFG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16611. end;
  16612. procedure TADC10_AD1PCFG.setPCFG13; inline;
  16613. begin
  16614. pTDefRegMap(@Self)^.&set := $00002000;
  16615. end;
  16616. procedure TADC10_AD1PCFG.clearPCFG13; inline;
  16617. begin
  16618. pTDefRegMap(@Self)^.clr := $00002000;
  16619. end;
  16620. procedure TADC10_AD1PCFG.setPCFG13(thebits : TBits_1); inline;
  16621. begin
  16622. if thebits = 0 then
  16623. pTDefRegMap(@Self)^.clr := $00002000
  16624. else
  16625. pTDefRegMap(@Self)^.&set := $00002000;
  16626. end;
  16627. function TADC10_AD1PCFG.getPCFG13 : TBits_1; inline;
  16628. begin
  16629. getPCFG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16630. end;
  16631. procedure TADC10_AD1PCFG.setPCFG14; inline;
  16632. begin
  16633. pTDefRegMap(@Self)^.&set := $00004000;
  16634. end;
  16635. procedure TADC10_AD1PCFG.clearPCFG14; inline;
  16636. begin
  16637. pTDefRegMap(@Self)^.clr := $00004000;
  16638. end;
  16639. procedure TADC10_AD1PCFG.setPCFG14(thebits : TBits_1); inline;
  16640. begin
  16641. if thebits = 0 then
  16642. pTDefRegMap(@Self)^.clr := $00004000
  16643. else
  16644. pTDefRegMap(@Self)^.&set := $00004000;
  16645. end;
  16646. function TADC10_AD1PCFG.getPCFG14 : TBits_1; inline;
  16647. begin
  16648. getPCFG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16649. end;
  16650. procedure TADC10_AD1PCFG.setPCFG15; inline;
  16651. begin
  16652. pTDefRegMap(@Self)^.&set := $00008000;
  16653. end;
  16654. procedure TADC10_AD1PCFG.clearPCFG15; inline;
  16655. begin
  16656. pTDefRegMap(@Self)^.clr := $00008000;
  16657. end;
  16658. procedure TADC10_AD1PCFG.setPCFG15(thebits : TBits_1); inline;
  16659. begin
  16660. if thebits = 0 then
  16661. pTDefRegMap(@Self)^.clr := $00008000
  16662. else
  16663. pTDefRegMap(@Self)^.&set := $00008000;
  16664. end;
  16665. function TADC10_AD1PCFG.getPCFG15 : TBits_1; inline;
  16666. begin
  16667. getPCFG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16668. end;
  16669. procedure TADC10_AD1PCFG.setw(thebits : TBits_32); inline;
  16670. begin
  16671. pTDefRegMap(@Self)^.val := thebits;
  16672. end;
  16673. function TADC10_AD1PCFG.getw : TBits_32; inline;
  16674. begin
  16675. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16676. end;
  16677. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  16678. begin
  16679. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  16680. end;
  16681. function TCVR_CVRCON.getCVR : TBits_4; inline;
  16682. begin
  16683. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  16684. end;
  16685. procedure TCVR_CVRCON.setCVRSS; inline;
  16686. begin
  16687. pTDefRegMap(@Self)^.&set := $00000010;
  16688. end;
  16689. procedure TCVR_CVRCON.clearCVRSS; inline;
  16690. begin
  16691. pTDefRegMap(@Self)^.clr := $00000010;
  16692. end;
  16693. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  16694. begin
  16695. if thebits = 0 then
  16696. pTDefRegMap(@Self)^.clr := $00000010
  16697. else
  16698. pTDefRegMap(@Self)^.&set := $00000010;
  16699. end;
  16700. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  16701. begin
  16702. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16703. end;
  16704. procedure TCVR_CVRCON.setCVRR; inline;
  16705. begin
  16706. pTDefRegMap(@Self)^.&set := $00000020;
  16707. end;
  16708. procedure TCVR_CVRCON.clearCVRR; inline;
  16709. begin
  16710. pTDefRegMap(@Self)^.clr := $00000020;
  16711. end;
  16712. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  16713. begin
  16714. if thebits = 0 then
  16715. pTDefRegMap(@Self)^.clr := $00000020
  16716. else
  16717. pTDefRegMap(@Self)^.&set := $00000020;
  16718. end;
  16719. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  16720. begin
  16721. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16722. end;
  16723. procedure TCVR_CVRCON.setCVROE; inline;
  16724. begin
  16725. pTDefRegMap(@Self)^.&set := $00000040;
  16726. end;
  16727. procedure TCVR_CVRCON.clearCVROE; inline;
  16728. begin
  16729. pTDefRegMap(@Self)^.clr := $00000040;
  16730. end;
  16731. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  16732. begin
  16733. if thebits = 0 then
  16734. pTDefRegMap(@Self)^.clr := $00000040
  16735. else
  16736. pTDefRegMap(@Self)^.&set := $00000040;
  16737. end;
  16738. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  16739. begin
  16740. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16741. end;
  16742. procedure TCVR_CVRCON.setON; inline;
  16743. begin
  16744. pTDefRegMap(@Self)^.&set := $00008000;
  16745. end;
  16746. procedure TCVR_CVRCON.clearON; inline;
  16747. begin
  16748. pTDefRegMap(@Self)^.clr := $00008000;
  16749. end;
  16750. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  16751. begin
  16752. if thebits = 0 then
  16753. pTDefRegMap(@Self)^.clr := $00008000
  16754. else
  16755. pTDefRegMap(@Self)^.&set := $00008000;
  16756. end;
  16757. function TCVR_CVRCON.getON : TBits_1; inline;
  16758. begin
  16759. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16760. end;
  16761. procedure TCVR_CVRCON.setCVR0; inline;
  16762. begin
  16763. pTDefRegMap(@Self)^.&set := $00000001;
  16764. end;
  16765. procedure TCVR_CVRCON.clearCVR0; inline;
  16766. begin
  16767. pTDefRegMap(@Self)^.clr := $00000001;
  16768. end;
  16769. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  16770. begin
  16771. if thebits = 0 then
  16772. pTDefRegMap(@Self)^.clr := $00000001
  16773. else
  16774. pTDefRegMap(@Self)^.&set := $00000001;
  16775. end;
  16776. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  16777. begin
  16778. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16779. end;
  16780. procedure TCVR_CVRCON.setCVR1; inline;
  16781. begin
  16782. pTDefRegMap(@Self)^.&set := $00000002;
  16783. end;
  16784. procedure TCVR_CVRCON.clearCVR1; inline;
  16785. begin
  16786. pTDefRegMap(@Self)^.clr := $00000002;
  16787. end;
  16788. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  16789. begin
  16790. if thebits = 0 then
  16791. pTDefRegMap(@Self)^.clr := $00000002
  16792. else
  16793. pTDefRegMap(@Self)^.&set := $00000002;
  16794. end;
  16795. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  16796. begin
  16797. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16798. end;
  16799. procedure TCVR_CVRCON.setCVR2; inline;
  16800. begin
  16801. pTDefRegMap(@Self)^.&set := $00000004;
  16802. end;
  16803. procedure TCVR_CVRCON.clearCVR2; inline;
  16804. begin
  16805. pTDefRegMap(@Self)^.clr := $00000004;
  16806. end;
  16807. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  16808. begin
  16809. if thebits = 0 then
  16810. pTDefRegMap(@Self)^.clr := $00000004
  16811. else
  16812. pTDefRegMap(@Self)^.&set := $00000004;
  16813. end;
  16814. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  16815. begin
  16816. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16817. end;
  16818. procedure TCVR_CVRCON.setCVR3; inline;
  16819. begin
  16820. pTDefRegMap(@Self)^.&set := $00000008;
  16821. end;
  16822. procedure TCVR_CVRCON.clearCVR3; inline;
  16823. begin
  16824. pTDefRegMap(@Self)^.clr := $00000008;
  16825. end;
  16826. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  16827. begin
  16828. if thebits = 0 then
  16829. pTDefRegMap(@Self)^.clr := $00000008
  16830. else
  16831. pTDefRegMap(@Self)^.&set := $00000008;
  16832. end;
  16833. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  16834. begin
  16835. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16836. end;
  16837. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  16838. begin
  16839. pTDefRegMap(@Self)^.val := thebits;
  16840. end;
  16841. function TCVR_CVRCON.getw : TBits_32; inline;
  16842. begin
  16843. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16844. end;
  16845. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  16846. begin
  16847. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16848. end;
  16849. function TCMP_CM1CON.getCCH : TBits_2; inline;
  16850. begin
  16851. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16852. end;
  16853. procedure TCMP_CM1CON.setCREF; inline;
  16854. begin
  16855. pTDefRegMap(@Self)^.&set := $00000010;
  16856. end;
  16857. procedure TCMP_CM1CON.clearCREF; inline;
  16858. begin
  16859. pTDefRegMap(@Self)^.clr := $00000010;
  16860. end;
  16861. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  16862. begin
  16863. if thebits = 0 then
  16864. pTDefRegMap(@Self)^.clr := $00000010
  16865. else
  16866. pTDefRegMap(@Self)^.&set := $00000010;
  16867. end;
  16868. function TCMP_CM1CON.getCREF : TBits_1; inline;
  16869. begin
  16870. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16871. end;
  16872. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  16873. begin
  16874. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  16875. end;
  16876. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  16877. begin
  16878. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  16879. end;
  16880. procedure TCMP_CM1CON.setCOUT; inline;
  16881. begin
  16882. pTDefRegMap(@Self)^.&set := $00000100;
  16883. end;
  16884. procedure TCMP_CM1CON.clearCOUT; inline;
  16885. begin
  16886. pTDefRegMap(@Self)^.clr := $00000100;
  16887. end;
  16888. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  16889. begin
  16890. if thebits = 0 then
  16891. pTDefRegMap(@Self)^.clr := $00000100
  16892. else
  16893. pTDefRegMap(@Self)^.&set := $00000100;
  16894. end;
  16895. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  16896. begin
  16897. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16898. end;
  16899. procedure TCMP_CM1CON.setCPOL; inline;
  16900. begin
  16901. pTDefRegMap(@Self)^.&set := $00002000;
  16902. end;
  16903. procedure TCMP_CM1CON.clearCPOL; inline;
  16904. begin
  16905. pTDefRegMap(@Self)^.clr := $00002000;
  16906. end;
  16907. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  16908. begin
  16909. if thebits = 0 then
  16910. pTDefRegMap(@Self)^.clr := $00002000
  16911. else
  16912. pTDefRegMap(@Self)^.&set := $00002000;
  16913. end;
  16914. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  16915. begin
  16916. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16917. end;
  16918. procedure TCMP_CM1CON.setCOE; inline;
  16919. begin
  16920. pTDefRegMap(@Self)^.&set := $00004000;
  16921. end;
  16922. procedure TCMP_CM1CON.clearCOE; inline;
  16923. begin
  16924. pTDefRegMap(@Self)^.clr := $00004000;
  16925. end;
  16926. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  16927. begin
  16928. if thebits = 0 then
  16929. pTDefRegMap(@Self)^.clr := $00004000
  16930. else
  16931. pTDefRegMap(@Self)^.&set := $00004000;
  16932. end;
  16933. function TCMP_CM1CON.getCOE : TBits_1; inline;
  16934. begin
  16935. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16936. end;
  16937. procedure TCMP_CM1CON.setON; inline;
  16938. begin
  16939. pTDefRegMap(@Self)^.&set := $00008000;
  16940. end;
  16941. procedure TCMP_CM1CON.clearON; inline;
  16942. begin
  16943. pTDefRegMap(@Self)^.clr := $00008000;
  16944. end;
  16945. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  16946. begin
  16947. if thebits = 0 then
  16948. pTDefRegMap(@Self)^.clr := $00008000
  16949. else
  16950. pTDefRegMap(@Self)^.&set := $00008000;
  16951. end;
  16952. function TCMP_CM1CON.getON : TBits_1; inline;
  16953. begin
  16954. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16955. end;
  16956. procedure TCMP_CM1CON.setCCH0; inline;
  16957. begin
  16958. pTDefRegMap(@Self)^.&set := $00000001;
  16959. end;
  16960. procedure TCMP_CM1CON.clearCCH0; inline;
  16961. begin
  16962. pTDefRegMap(@Self)^.clr := $00000001;
  16963. end;
  16964. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  16965. begin
  16966. if thebits = 0 then
  16967. pTDefRegMap(@Self)^.clr := $00000001
  16968. else
  16969. pTDefRegMap(@Self)^.&set := $00000001;
  16970. end;
  16971. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  16972. begin
  16973. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16974. end;
  16975. procedure TCMP_CM1CON.setCCH1; inline;
  16976. begin
  16977. pTDefRegMap(@Self)^.&set := $00000002;
  16978. end;
  16979. procedure TCMP_CM1CON.clearCCH1; inline;
  16980. begin
  16981. pTDefRegMap(@Self)^.clr := $00000002;
  16982. end;
  16983. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  16984. begin
  16985. if thebits = 0 then
  16986. pTDefRegMap(@Self)^.clr := $00000002
  16987. else
  16988. pTDefRegMap(@Self)^.&set := $00000002;
  16989. end;
  16990. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  16991. begin
  16992. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16993. end;
  16994. procedure TCMP_CM1CON.setEVPOL0; inline;
  16995. begin
  16996. pTDefRegMap(@Self)^.&set := $00000040;
  16997. end;
  16998. procedure TCMP_CM1CON.clearEVPOL0; inline;
  16999. begin
  17000. pTDefRegMap(@Self)^.clr := $00000040;
  17001. end;
  17002. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  17003. begin
  17004. if thebits = 0 then
  17005. pTDefRegMap(@Self)^.clr := $00000040
  17006. else
  17007. pTDefRegMap(@Self)^.&set := $00000040;
  17008. end;
  17009. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  17010. begin
  17011. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17012. end;
  17013. procedure TCMP_CM1CON.setEVPOL1; inline;
  17014. begin
  17015. pTDefRegMap(@Self)^.&set := $00000080;
  17016. end;
  17017. procedure TCMP_CM1CON.clearEVPOL1; inline;
  17018. begin
  17019. pTDefRegMap(@Self)^.clr := $00000080;
  17020. end;
  17021. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  17022. begin
  17023. if thebits = 0 then
  17024. pTDefRegMap(@Self)^.clr := $00000080
  17025. else
  17026. pTDefRegMap(@Self)^.&set := $00000080;
  17027. end;
  17028. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  17029. begin
  17030. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17031. end;
  17032. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  17033. begin
  17034. pTDefRegMap(@Self)^.val := thebits;
  17035. end;
  17036. function TCMP_CM1CON.getw : TBits_32; inline;
  17037. begin
  17038. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17039. end;
  17040. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  17041. begin
  17042. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17043. end;
  17044. function TCMP_CM2CON.getCCH : TBits_2; inline;
  17045. begin
  17046. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17047. end;
  17048. procedure TCMP_CM2CON.setCREF; inline;
  17049. begin
  17050. pTDefRegMap(@Self)^.&set := $00000010;
  17051. end;
  17052. procedure TCMP_CM2CON.clearCREF; inline;
  17053. begin
  17054. pTDefRegMap(@Self)^.clr := $00000010;
  17055. end;
  17056. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  17057. begin
  17058. if thebits = 0 then
  17059. pTDefRegMap(@Self)^.clr := $00000010
  17060. else
  17061. pTDefRegMap(@Self)^.&set := $00000010;
  17062. end;
  17063. function TCMP_CM2CON.getCREF : TBits_1; inline;
  17064. begin
  17065. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17066. end;
  17067. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  17068. begin
  17069. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  17070. end;
  17071. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  17072. begin
  17073. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  17074. end;
  17075. procedure TCMP_CM2CON.setCOUT; inline;
  17076. begin
  17077. pTDefRegMap(@Self)^.&set := $00000100;
  17078. end;
  17079. procedure TCMP_CM2CON.clearCOUT; inline;
  17080. begin
  17081. pTDefRegMap(@Self)^.clr := $00000100;
  17082. end;
  17083. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  17084. begin
  17085. if thebits = 0 then
  17086. pTDefRegMap(@Self)^.clr := $00000100
  17087. else
  17088. pTDefRegMap(@Self)^.&set := $00000100;
  17089. end;
  17090. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  17091. begin
  17092. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17093. end;
  17094. procedure TCMP_CM2CON.setCPOL; inline;
  17095. begin
  17096. pTDefRegMap(@Self)^.&set := $00002000;
  17097. end;
  17098. procedure TCMP_CM2CON.clearCPOL; inline;
  17099. begin
  17100. pTDefRegMap(@Self)^.clr := $00002000;
  17101. end;
  17102. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  17103. begin
  17104. if thebits = 0 then
  17105. pTDefRegMap(@Self)^.clr := $00002000
  17106. else
  17107. pTDefRegMap(@Self)^.&set := $00002000;
  17108. end;
  17109. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  17110. begin
  17111. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17112. end;
  17113. procedure TCMP_CM2CON.setCOE; inline;
  17114. begin
  17115. pTDefRegMap(@Self)^.&set := $00004000;
  17116. end;
  17117. procedure TCMP_CM2CON.clearCOE; inline;
  17118. begin
  17119. pTDefRegMap(@Self)^.clr := $00004000;
  17120. end;
  17121. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  17122. begin
  17123. if thebits = 0 then
  17124. pTDefRegMap(@Self)^.clr := $00004000
  17125. else
  17126. pTDefRegMap(@Self)^.&set := $00004000;
  17127. end;
  17128. function TCMP_CM2CON.getCOE : TBits_1; inline;
  17129. begin
  17130. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17131. end;
  17132. procedure TCMP_CM2CON.setON; inline;
  17133. begin
  17134. pTDefRegMap(@Self)^.&set := $00008000;
  17135. end;
  17136. procedure TCMP_CM2CON.clearON; inline;
  17137. begin
  17138. pTDefRegMap(@Self)^.clr := $00008000;
  17139. end;
  17140. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  17141. begin
  17142. if thebits = 0 then
  17143. pTDefRegMap(@Self)^.clr := $00008000
  17144. else
  17145. pTDefRegMap(@Self)^.&set := $00008000;
  17146. end;
  17147. function TCMP_CM2CON.getON : TBits_1; inline;
  17148. begin
  17149. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17150. end;
  17151. procedure TCMP_CM2CON.setCCH0; inline;
  17152. begin
  17153. pTDefRegMap(@Self)^.&set := $00000001;
  17154. end;
  17155. procedure TCMP_CM2CON.clearCCH0; inline;
  17156. begin
  17157. pTDefRegMap(@Self)^.clr := $00000001;
  17158. end;
  17159. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  17160. begin
  17161. if thebits = 0 then
  17162. pTDefRegMap(@Self)^.clr := $00000001
  17163. else
  17164. pTDefRegMap(@Self)^.&set := $00000001;
  17165. end;
  17166. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  17167. begin
  17168. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17169. end;
  17170. procedure TCMP_CM2CON.setCCH1; inline;
  17171. begin
  17172. pTDefRegMap(@Self)^.&set := $00000002;
  17173. end;
  17174. procedure TCMP_CM2CON.clearCCH1; inline;
  17175. begin
  17176. pTDefRegMap(@Self)^.clr := $00000002;
  17177. end;
  17178. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  17179. begin
  17180. if thebits = 0 then
  17181. pTDefRegMap(@Self)^.clr := $00000002
  17182. else
  17183. pTDefRegMap(@Self)^.&set := $00000002;
  17184. end;
  17185. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  17186. begin
  17187. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17188. end;
  17189. procedure TCMP_CM2CON.setEVPOL0; inline;
  17190. begin
  17191. pTDefRegMap(@Self)^.&set := $00000040;
  17192. end;
  17193. procedure TCMP_CM2CON.clearEVPOL0; inline;
  17194. begin
  17195. pTDefRegMap(@Self)^.clr := $00000040;
  17196. end;
  17197. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  17198. begin
  17199. if thebits = 0 then
  17200. pTDefRegMap(@Self)^.clr := $00000040
  17201. else
  17202. pTDefRegMap(@Self)^.&set := $00000040;
  17203. end;
  17204. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  17205. begin
  17206. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17207. end;
  17208. procedure TCMP_CM2CON.setEVPOL1; inline;
  17209. begin
  17210. pTDefRegMap(@Self)^.&set := $00000080;
  17211. end;
  17212. procedure TCMP_CM2CON.clearEVPOL1; inline;
  17213. begin
  17214. pTDefRegMap(@Self)^.clr := $00000080;
  17215. end;
  17216. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  17217. begin
  17218. if thebits = 0 then
  17219. pTDefRegMap(@Self)^.clr := $00000080
  17220. else
  17221. pTDefRegMap(@Self)^.&set := $00000080;
  17222. end;
  17223. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  17224. begin
  17225. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17226. end;
  17227. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  17228. begin
  17229. pTDefRegMap(@Self)^.val := thebits;
  17230. end;
  17231. function TCMP_CM2CON.getw : TBits_32; inline;
  17232. begin
  17233. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17234. end;
  17235. procedure TCMP_CMSTAT.setC1OUT; inline;
  17236. begin
  17237. pTDefRegMap(@Self)^.&set := $00000001;
  17238. end;
  17239. procedure TCMP_CMSTAT.clearC1OUT; inline;
  17240. begin
  17241. pTDefRegMap(@Self)^.clr := $00000001;
  17242. end;
  17243. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  17244. begin
  17245. if thebits = 0 then
  17246. pTDefRegMap(@Self)^.clr := $00000001
  17247. else
  17248. pTDefRegMap(@Self)^.&set := $00000001;
  17249. end;
  17250. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  17251. begin
  17252. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17253. end;
  17254. procedure TCMP_CMSTAT.setC2OUT; inline;
  17255. begin
  17256. pTDefRegMap(@Self)^.&set := $00000002;
  17257. end;
  17258. procedure TCMP_CMSTAT.clearC2OUT; inline;
  17259. begin
  17260. pTDefRegMap(@Self)^.clr := $00000002;
  17261. end;
  17262. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  17263. begin
  17264. if thebits = 0 then
  17265. pTDefRegMap(@Self)^.clr := $00000002
  17266. else
  17267. pTDefRegMap(@Self)^.&set := $00000002;
  17268. end;
  17269. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  17270. begin
  17271. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17272. end;
  17273. procedure TCMP_CMSTAT.setSIDL; inline;
  17274. begin
  17275. pTDefRegMap(@Self)^.&set := $00002000;
  17276. end;
  17277. procedure TCMP_CMSTAT.clearSIDL; inline;
  17278. begin
  17279. pTDefRegMap(@Self)^.clr := $00002000;
  17280. end;
  17281. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  17282. begin
  17283. if thebits = 0 then
  17284. pTDefRegMap(@Self)^.clr := $00002000
  17285. else
  17286. pTDefRegMap(@Self)^.&set := $00002000;
  17287. end;
  17288. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  17289. begin
  17290. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17291. end;
  17292. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  17293. begin
  17294. pTDefRegMap(@Self)^.val := thebits;
  17295. end;
  17296. function TCMP_CMSTAT.getw : TBits_32; inline;
  17297. begin
  17298. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17299. end;
  17300. procedure TOSC_OSCCON.setOSWEN; inline;
  17301. begin
  17302. pTDefRegMap(@Self)^.&set := $00000001;
  17303. end;
  17304. procedure TOSC_OSCCON.clearOSWEN; inline;
  17305. begin
  17306. pTDefRegMap(@Self)^.clr := $00000001;
  17307. end;
  17308. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  17309. begin
  17310. if thebits = 0 then
  17311. pTDefRegMap(@Self)^.clr := $00000001
  17312. else
  17313. pTDefRegMap(@Self)^.&set := $00000001;
  17314. end;
  17315. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  17316. begin
  17317. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17318. end;
  17319. procedure TOSC_OSCCON.setSOSCEN; inline;
  17320. begin
  17321. pTDefRegMap(@Self)^.&set := $00000002;
  17322. end;
  17323. procedure TOSC_OSCCON.clearSOSCEN; inline;
  17324. begin
  17325. pTDefRegMap(@Self)^.clr := $00000002;
  17326. end;
  17327. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  17328. begin
  17329. if thebits = 0 then
  17330. pTDefRegMap(@Self)^.clr := $00000002
  17331. else
  17332. pTDefRegMap(@Self)^.&set := $00000002;
  17333. end;
  17334. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  17335. begin
  17336. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17337. end;
  17338. procedure TOSC_OSCCON.setUFRCEN; inline;
  17339. begin
  17340. pTDefRegMap(@Self)^.&set := $00000004;
  17341. end;
  17342. procedure TOSC_OSCCON.clearUFRCEN; inline;
  17343. begin
  17344. pTDefRegMap(@Self)^.clr := $00000004;
  17345. end;
  17346. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  17347. begin
  17348. if thebits = 0 then
  17349. pTDefRegMap(@Self)^.clr := $00000004
  17350. else
  17351. pTDefRegMap(@Self)^.&set := $00000004;
  17352. end;
  17353. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  17354. begin
  17355. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17356. end;
  17357. procedure TOSC_OSCCON.setCF; inline;
  17358. begin
  17359. pTDefRegMap(@Self)^.&set := $00000008;
  17360. end;
  17361. procedure TOSC_OSCCON.clearCF; inline;
  17362. begin
  17363. pTDefRegMap(@Self)^.clr := $00000008;
  17364. end;
  17365. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  17366. begin
  17367. if thebits = 0 then
  17368. pTDefRegMap(@Self)^.clr := $00000008
  17369. else
  17370. pTDefRegMap(@Self)^.&set := $00000008;
  17371. end;
  17372. function TOSC_OSCCON.getCF : TBits_1; inline;
  17373. begin
  17374. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17375. end;
  17376. procedure TOSC_OSCCON.setSLPEN; inline;
  17377. begin
  17378. pTDefRegMap(@Self)^.&set := $00000010;
  17379. end;
  17380. procedure TOSC_OSCCON.clearSLPEN; inline;
  17381. begin
  17382. pTDefRegMap(@Self)^.clr := $00000010;
  17383. end;
  17384. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  17385. begin
  17386. if thebits = 0 then
  17387. pTDefRegMap(@Self)^.clr := $00000010
  17388. else
  17389. pTDefRegMap(@Self)^.&set := $00000010;
  17390. end;
  17391. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  17392. begin
  17393. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17394. end;
  17395. procedure TOSC_OSCCON.setLOCK; inline;
  17396. begin
  17397. pTDefRegMap(@Self)^.&set := $00000020;
  17398. end;
  17399. procedure TOSC_OSCCON.clearLOCK; inline;
  17400. begin
  17401. pTDefRegMap(@Self)^.clr := $00000020;
  17402. end;
  17403. procedure TOSC_OSCCON.setLOCK(thebits : TBits_1); inline;
  17404. begin
  17405. if thebits = 0 then
  17406. pTDefRegMap(@Self)^.clr := $00000020
  17407. else
  17408. pTDefRegMap(@Self)^.&set := $00000020;
  17409. end;
  17410. function TOSC_OSCCON.getLOCK : TBits_1; inline;
  17411. begin
  17412. getLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17413. end;
  17414. procedure TOSC_OSCCON.setULOCK; inline;
  17415. begin
  17416. pTDefRegMap(@Self)^.&set := $00000040;
  17417. end;
  17418. procedure TOSC_OSCCON.clearULOCK; inline;
  17419. begin
  17420. pTDefRegMap(@Self)^.clr := $00000040;
  17421. end;
  17422. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  17423. begin
  17424. if thebits = 0 then
  17425. pTDefRegMap(@Self)^.clr := $00000040
  17426. else
  17427. pTDefRegMap(@Self)^.&set := $00000040;
  17428. end;
  17429. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  17430. begin
  17431. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17432. end;
  17433. procedure TOSC_OSCCON.setCLKLOCK; inline;
  17434. begin
  17435. pTDefRegMap(@Self)^.&set := $00000080;
  17436. end;
  17437. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  17438. begin
  17439. pTDefRegMap(@Self)^.clr := $00000080;
  17440. end;
  17441. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  17442. begin
  17443. if thebits = 0 then
  17444. pTDefRegMap(@Self)^.clr := $00000080
  17445. else
  17446. pTDefRegMap(@Self)^.&set := $00000080;
  17447. end;
  17448. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  17449. begin
  17450. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17451. end;
  17452. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  17453. begin
  17454. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  17455. end;
  17456. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  17457. begin
  17458. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  17459. end;
  17460. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  17461. begin
  17462. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  17463. end;
  17464. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  17465. begin
  17466. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  17467. end;
  17468. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  17469. begin
  17470. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  17471. end;
  17472. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  17473. begin
  17474. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  17475. end;
  17476. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  17477. begin
  17478. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  17479. end;
  17480. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  17481. begin
  17482. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  17483. end;
  17484. procedure TOSC_OSCCON.setSOSCRDY; inline;
  17485. begin
  17486. pTDefRegMap(@Self)^.&set := $00400000;
  17487. end;
  17488. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  17489. begin
  17490. pTDefRegMap(@Self)^.clr := $00400000;
  17491. end;
  17492. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  17493. begin
  17494. if thebits = 0 then
  17495. pTDefRegMap(@Self)^.clr := $00400000
  17496. else
  17497. pTDefRegMap(@Self)^.&set := $00400000;
  17498. end;
  17499. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  17500. begin
  17501. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  17502. end;
  17503. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  17504. begin
  17505. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  17506. end;
  17507. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  17508. begin
  17509. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  17510. end;
  17511. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  17512. begin
  17513. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  17514. end;
  17515. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  17516. begin
  17517. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  17518. end;
  17519. procedure TOSC_OSCCON.setNOSC0; inline;
  17520. begin
  17521. pTDefRegMap(@Self)^.&set := $00000100;
  17522. end;
  17523. procedure TOSC_OSCCON.clearNOSC0; inline;
  17524. begin
  17525. pTDefRegMap(@Self)^.clr := $00000100;
  17526. end;
  17527. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  17528. begin
  17529. if thebits = 0 then
  17530. pTDefRegMap(@Self)^.clr := $00000100
  17531. else
  17532. pTDefRegMap(@Self)^.&set := $00000100;
  17533. end;
  17534. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  17535. begin
  17536. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17537. end;
  17538. procedure TOSC_OSCCON.setNOSC1; inline;
  17539. begin
  17540. pTDefRegMap(@Self)^.&set := $00000200;
  17541. end;
  17542. procedure TOSC_OSCCON.clearNOSC1; inline;
  17543. begin
  17544. pTDefRegMap(@Self)^.clr := $00000200;
  17545. end;
  17546. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  17547. begin
  17548. if thebits = 0 then
  17549. pTDefRegMap(@Self)^.clr := $00000200
  17550. else
  17551. pTDefRegMap(@Self)^.&set := $00000200;
  17552. end;
  17553. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  17554. begin
  17555. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17556. end;
  17557. procedure TOSC_OSCCON.setNOSC2; inline;
  17558. begin
  17559. pTDefRegMap(@Self)^.&set := $00000400;
  17560. end;
  17561. procedure TOSC_OSCCON.clearNOSC2; inline;
  17562. begin
  17563. pTDefRegMap(@Self)^.clr := $00000400;
  17564. end;
  17565. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  17566. begin
  17567. if thebits = 0 then
  17568. pTDefRegMap(@Self)^.clr := $00000400
  17569. else
  17570. pTDefRegMap(@Self)^.&set := $00000400;
  17571. end;
  17572. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  17573. begin
  17574. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17575. end;
  17576. procedure TOSC_OSCCON.setCOSC0; inline;
  17577. begin
  17578. pTDefRegMap(@Self)^.&set := $00001000;
  17579. end;
  17580. procedure TOSC_OSCCON.clearCOSC0; inline;
  17581. begin
  17582. pTDefRegMap(@Self)^.clr := $00001000;
  17583. end;
  17584. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  17585. begin
  17586. if thebits = 0 then
  17587. pTDefRegMap(@Self)^.clr := $00001000
  17588. else
  17589. pTDefRegMap(@Self)^.&set := $00001000;
  17590. end;
  17591. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  17592. begin
  17593. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17594. end;
  17595. procedure TOSC_OSCCON.setCOSC1; inline;
  17596. begin
  17597. pTDefRegMap(@Self)^.&set := $00002000;
  17598. end;
  17599. procedure TOSC_OSCCON.clearCOSC1; inline;
  17600. begin
  17601. pTDefRegMap(@Self)^.clr := $00002000;
  17602. end;
  17603. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  17604. begin
  17605. if thebits = 0 then
  17606. pTDefRegMap(@Self)^.clr := $00002000
  17607. else
  17608. pTDefRegMap(@Self)^.&set := $00002000;
  17609. end;
  17610. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  17611. begin
  17612. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17613. end;
  17614. procedure TOSC_OSCCON.setCOSC2; inline;
  17615. begin
  17616. pTDefRegMap(@Self)^.&set := $00004000;
  17617. end;
  17618. procedure TOSC_OSCCON.clearCOSC2; inline;
  17619. begin
  17620. pTDefRegMap(@Self)^.clr := $00004000;
  17621. end;
  17622. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  17623. begin
  17624. if thebits = 0 then
  17625. pTDefRegMap(@Self)^.clr := $00004000
  17626. else
  17627. pTDefRegMap(@Self)^.&set := $00004000;
  17628. end;
  17629. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  17630. begin
  17631. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17632. end;
  17633. procedure TOSC_OSCCON.setPLLMULT0; inline;
  17634. begin
  17635. pTDefRegMap(@Self)^.&set := $00010000;
  17636. end;
  17637. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  17638. begin
  17639. pTDefRegMap(@Self)^.clr := $00010000;
  17640. end;
  17641. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  17642. begin
  17643. if thebits = 0 then
  17644. pTDefRegMap(@Self)^.clr := $00010000
  17645. else
  17646. pTDefRegMap(@Self)^.&set := $00010000;
  17647. end;
  17648. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  17649. begin
  17650. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17651. end;
  17652. procedure TOSC_OSCCON.setPLLMULT1; inline;
  17653. begin
  17654. pTDefRegMap(@Self)^.&set := $00020000;
  17655. end;
  17656. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  17657. begin
  17658. pTDefRegMap(@Self)^.clr := $00020000;
  17659. end;
  17660. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  17661. begin
  17662. if thebits = 0 then
  17663. pTDefRegMap(@Self)^.clr := $00020000
  17664. else
  17665. pTDefRegMap(@Self)^.&set := $00020000;
  17666. end;
  17667. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  17668. begin
  17669. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17670. end;
  17671. procedure TOSC_OSCCON.setPLLMULT2; inline;
  17672. begin
  17673. pTDefRegMap(@Self)^.&set := $00040000;
  17674. end;
  17675. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  17676. begin
  17677. pTDefRegMap(@Self)^.clr := $00040000;
  17678. end;
  17679. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  17680. begin
  17681. if thebits = 0 then
  17682. pTDefRegMap(@Self)^.clr := $00040000
  17683. else
  17684. pTDefRegMap(@Self)^.&set := $00040000;
  17685. end;
  17686. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  17687. begin
  17688. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  17689. end;
  17690. procedure TOSC_OSCCON.setPBDIV0; inline;
  17691. begin
  17692. pTDefRegMap(@Self)^.&set := $00080000;
  17693. end;
  17694. procedure TOSC_OSCCON.clearPBDIV0; inline;
  17695. begin
  17696. pTDefRegMap(@Self)^.clr := $00080000;
  17697. end;
  17698. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  17699. begin
  17700. if thebits = 0 then
  17701. pTDefRegMap(@Self)^.clr := $00080000
  17702. else
  17703. pTDefRegMap(@Self)^.&set := $00080000;
  17704. end;
  17705. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  17706. begin
  17707. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  17708. end;
  17709. procedure TOSC_OSCCON.setPBDIV1; inline;
  17710. begin
  17711. pTDefRegMap(@Self)^.&set := $00100000;
  17712. end;
  17713. procedure TOSC_OSCCON.clearPBDIV1; inline;
  17714. begin
  17715. pTDefRegMap(@Self)^.clr := $00100000;
  17716. end;
  17717. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  17718. begin
  17719. if thebits = 0 then
  17720. pTDefRegMap(@Self)^.clr := $00100000
  17721. else
  17722. pTDefRegMap(@Self)^.&set := $00100000;
  17723. end;
  17724. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  17725. begin
  17726. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  17727. end;
  17728. procedure TOSC_OSCCON.setFRCDIV0; inline;
  17729. begin
  17730. pTDefRegMap(@Self)^.&set := $01000000;
  17731. end;
  17732. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  17733. begin
  17734. pTDefRegMap(@Self)^.clr := $01000000;
  17735. end;
  17736. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  17737. begin
  17738. if thebits = 0 then
  17739. pTDefRegMap(@Self)^.clr := $01000000
  17740. else
  17741. pTDefRegMap(@Self)^.&set := $01000000;
  17742. end;
  17743. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  17744. begin
  17745. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  17746. end;
  17747. procedure TOSC_OSCCON.setFRCDIV1; inline;
  17748. begin
  17749. pTDefRegMap(@Self)^.&set := $02000000;
  17750. end;
  17751. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  17752. begin
  17753. pTDefRegMap(@Self)^.clr := $02000000;
  17754. end;
  17755. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  17756. begin
  17757. if thebits = 0 then
  17758. pTDefRegMap(@Self)^.clr := $02000000
  17759. else
  17760. pTDefRegMap(@Self)^.&set := $02000000;
  17761. end;
  17762. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  17763. begin
  17764. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  17765. end;
  17766. procedure TOSC_OSCCON.setFRCDIV2; inline;
  17767. begin
  17768. pTDefRegMap(@Self)^.&set := $04000000;
  17769. end;
  17770. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  17771. begin
  17772. pTDefRegMap(@Self)^.clr := $04000000;
  17773. end;
  17774. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  17775. begin
  17776. if thebits = 0 then
  17777. pTDefRegMap(@Self)^.clr := $04000000
  17778. else
  17779. pTDefRegMap(@Self)^.&set := $04000000;
  17780. end;
  17781. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  17782. begin
  17783. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  17784. end;
  17785. procedure TOSC_OSCCON.setPLLODIV0; inline;
  17786. begin
  17787. pTDefRegMap(@Self)^.&set := $08000000;
  17788. end;
  17789. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  17790. begin
  17791. pTDefRegMap(@Self)^.clr := $08000000;
  17792. end;
  17793. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  17794. begin
  17795. if thebits = 0 then
  17796. pTDefRegMap(@Self)^.clr := $08000000
  17797. else
  17798. pTDefRegMap(@Self)^.&set := $08000000;
  17799. end;
  17800. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  17801. begin
  17802. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17803. end;
  17804. procedure TOSC_OSCCON.setPLLODIV1; inline;
  17805. begin
  17806. pTDefRegMap(@Self)^.&set := $10000000;
  17807. end;
  17808. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  17809. begin
  17810. pTDefRegMap(@Self)^.clr := $10000000;
  17811. end;
  17812. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  17813. begin
  17814. if thebits = 0 then
  17815. pTDefRegMap(@Self)^.clr := $10000000
  17816. else
  17817. pTDefRegMap(@Self)^.&set := $10000000;
  17818. end;
  17819. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  17820. begin
  17821. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  17822. end;
  17823. procedure TOSC_OSCCON.setPLLODIV2; inline;
  17824. begin
  17825. pTDefRegMap(@Self)^.&set := $20000000;
  17826. end;
  17827. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  17828. begin
  17829. pTDefRegMap(@Self)^.clr := $20000000;
  17830. end;
  17831. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  17832. begin
  17833. if thebits = 0 then
  17834. pTDefRegMap(@Self)^.clr := $20000000
  17835. else
  17836. pTDefRegMap(@Self)^.&set := $20000000;
  17837. end;
  17838. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  17839. begin
  17840. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  17841. end;
  17842. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  17843. begin
  17844. pTDefRegMap(@Self)^.val := thebits;
  17845. end;
  17846. function TOSC_OSCCON.getw : TBits_32; inline;
  17847. begin
  17848. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17849. end;
  17850. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  17851. begin
  17852. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  17853. end;
  17854. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  17855. begin
  17856. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  17857. end;
  17858. procedure TOSC_OSCTUN.setTUN0; inline;
  17859. begin
  17860. pTDefRegMap(@Self)^.&set := $00000001;
  17861. end;
  17862. procedure TOSC_OSCTUN.clearTUN0; inline;
  17863. begin
  17864. pTDefRegMap(@Self)^.clr := $00000001;
  17865. end;
  17866. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  17867. begin
  17868. if thebits = 0 then
  17869. pTDefRegMap(@Self)^.clr := $00000001
  17870. else
  17871. pTDefRegMap(@Self)^.&set := $00000001;
  17872. end;
  17873. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  17874. begin
  17875. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17876. end;
  17877. procedure TOSC_OSCTUN.setTUN1; inline;
  17878. begin
  17879. pTDefRegMap(@Self)^.&set := $00000002;
  17880. end;
  17881. procedure TOSC_OSCTUN.clearTUN1; inline;
  17882. begin
  17883. pTDefRegMap(@Self)^.clr := $00000002;
  17884. end;
  17885. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  17886. begin
  17887. if thebits = 0 then
  17888. pTDefRegMap(@Self)^.clr := $00000002
  17889. else
  17890. pTDefRegMap(@Self)^.&set := $00000002;
  17891. end;
  17892. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  17893. begin
  17894. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17895. end;
  17896. procedure TOSC_OSCTUN.setTUN2; inline;
  17897. begin
  17898. pTDefRegMap(@Self)^.&set := $00000004;
  17899. end;
  17900. procedure TOSC_OSCTUN.clearTUN2; inline;
  17901. begin
  17902. pTDefRegMap(@Self)^.clr := $00000004;
  17903. end;
  17904. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  17905. begin
  17906. if thebits = 0 then
  17907. pTDefRegMap(@Self)^.clr := $00000004
  17908. else
  17909. pTDefRegMap(@Self)^.&set := $00000004;
  17910. end;
  17911. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  17912. begin
  17913. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17914. end;
  17915. procedure TOSC_OSCTUN.setTUN3; inline;
  17916. begin
  17917. pTDefRegMap(@Self)^.&set := $00000008;
  17918. end;
  17919. procedure TOSC_OSCTUN.clearTUN3; inline;
  17920. begin
  17921. pTDefRegMap(@Self)^.clr := $00000008;
  17922. end;
  17923. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  17924. begin
  17925. if thebits = 0 then
  17926. pTDefRegMap(@Self)^.clr := $00000008
  17927. else
  17928. pTDefRegMap(@Self)^.&set := $00000008;
  17929. end;
  17930. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  17931. begin
  17932. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17933. end;
  17934. procedure TOSC_OSCTUN.setTUN4; inline;
  17935. begin
  17936. pTDefRegMap(@Self)^.&set := $00000010;
  17937. end;
  17938. procedure TOSC_OSCTUN.clearTUN4; inline;
  17939. begin
  17940. pTDefRegMap(@Self)^.clr := $00000010;
  17941. end;
  17942. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  17943. begin
  17944. if thebits = 0 then
  17945. pTDefRegMap(@Self)^.clr := $00000010
  17946. else
  17947. pTDefRegMap(@Self)^.&set := $00000010;
  17948. end;
  17949. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  17950. begin
  17951. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17952. end;
  17953. procedure TOSC_OSCTUN.setTUN5; inline;
  17954. begin
  17955. pTDefRegMap(@Self)^.&set := $00000020;
  17956. end;
  17957. procedure TOSC_OSCTUN.clearTUN5; inline;
  17958. begin
  17959. pTDefRegMap(@Self)^.clr := $00000020;
  17960. end;
  17961. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  17962. begin
  17963. if thebits = 0 then
  17964. pTDefRegMap(@Self)^.clr := $00000020
  17965. else
  17966. pTDefRegMap(@Self)^.&set := $00000020;
  17967. end;
  17968. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  17969. begin
  17970. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17971. end;
  17972. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  17973. begin
  17974. pTDefRegMap(@Self)^.val := thebits;
  17975. end;
  17976. function TOSC_OSCTUN.getw : TBits_32; inline;
  17977. begin
  17978. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17979. end;
  17980. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  17981. begin
  17982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  17983. end;
  17984. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  17985. begin
  17986. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  17987. end;
  17988. procedure TNVM_NVMCON.setLVDSTAT; inline;
  17989. begin
  17990. pTDefRegMap(@Self)^.&set := $00000800;
  17991. end;
  17992. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  17993. begin
  17994. pTDefRegMap(@Self)^.clr := $00000800;
  17995. end;
  17996. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  17997. begin
  17998. if thebits = 0 then
  17999. pTDefRegMap(@Self)^.clr := $00000800
  18000. else
  18001. pTDefRegMap(@Self)^.&set := $00000800;
  18002. end;
  18003. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  18004. begin
  18005. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18006. end;
  18007. procedure TNVM_NVMCON.setLVDERR; inline;
  18008. begin
  18009. pTDefRegMap(@Self)^.&set := $00001000;
  18010. end;
  18011. procedure TNVM_NVMCON.clearLVDERR; inline;
  18012. begin
  18013. pTDefRegMap(@Self)^.clr := $00001000;
  18014. end;
  18015. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  18016. begin
  18017. if thebits = 0 then
  18018. pTDefRegMap(@Self)^.clr := $00001000
  18019. else
  18020. pTDefRegMap(@Self)^.&set := $00001000;
  18021. end;
  18022. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  18023. begin
  18024. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18025. end;
  18026. procedure TNVM_NVMCON.setWRERR; inline;
  18027. begin
  18028. pTDefRegMap(@Self)^.&set := $00002000;
  18029. end;
  18030. procedure TNVM_NVMCON.clearWRERR; inline;
  18031. begin
  18032. pTDefRegMap(@Self)^.clr := $00002000;
  18033. end;
  18034. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  18035. begin
  18036. if thebits = 0 then
  18037. pTDefRegMap(@Self)^.clr := $00002000
  18038. else
  18039. pTDefRegMap(@Self)^.&set := $00002000;
  18040. end;
  18041. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  18042. begin
  18043. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18044. end;
  18045. procedure TNVM_NVMCON.setWREN; inline;
  18046. begin
  18047. pTDefRegMap(@Self)^.&set := $00004000;
  18048. end;
  18049. procedure TNVM_NVMCON.clearWREN; inline;
  18050. begin
  18051. pTDefRegMap(@Self)^.clr := $00004000;
  18052. end;
  18053. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  18054. begin
  18055. if thebits = 0 then
  18056. pTDefRegMap(@Self)^.clr := $00004000
  18057. else
  18058. pTDefRegMap(@Self)^.&set := $00004000;
  18059. end;
  18060. function TNVM_NVMCON.getWREN : TBits_1; inline;
  18061. begin
  18062. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18063. end;
  18064. procedure TNVM_NVMCON.setWR; inline;
  18065. begin
  18066. pTDefRegMap(@Self)^.&set := $00008000;
  18067. end;
  18068. procedure TNVM_NVMCON.clearWR; inline;
  18069. begin
  18070. pTDefRegMap(@Self)^.clr := $00008000;
  18071. end;
  18072. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  18073. begin
  18074. if thebits = 0 then
  18075. pTDefRegMap(@Self)^.clr := $00008000
  18076. else
  18077. pTDefRegMap(@Self)^.&set := $00008000;
  18078. end;
  18079. function TNVM_NVMCON.getWR : TBits_1; inline;
  18080. begin
  18081. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18082. end;
  18083. procedure TNVM_NVMCON.setNVMOP0; inline;
  18084. begin
  18085. pTDefRegMap(@Self)^.&set := $00000001;
  18086. end;
  18087. procedure TNVM_NVMCON.clearNVMOP0; inline;
  18088. begin
  18089. pTDefRegMap(@Self)^.clr := $00000001;
  18090. end;
  18091. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  18092. begin
  18093. if thebits = 0 then
  18094. pTDefRegMap(@Self)^.clr := $00000001
  18095. else
  18096. pTDefRegMap(@Self)^.&set := $00000001;
  18097. end;
  18098. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  18099. begin
  18100. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18101. end;
  18102. procedure TNVM_NVMCON.setNVMOP1; inline;
  18103. begin
  18104. pTDefRegMap(@Self)^.&set := $00000002;
  18105. end;
  18106. procedure TNVM_NVMCON.clearNVMOP1; inline;
  18107. begin
  18108. pTDefRegMap(@Self)^.clr := $00000002;
  18109. end;
  18110. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  18111. begin
  18112. if thebits = 0 then
  18113. pTDefRegMap(@Self)^.clr := $00000002
  18114. else
  18115. pTDefRegMap(@Self)^.&set := $00000002;
  18116. end;
  18117. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  18118. begin
  18119. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18120. end;
  18121. procedure TNVM_NVMCON.setNVMOP2; inline;
  18122. begin
  18123. pTDefRegMap(@Self)^.&set := $00000004;
  18124. end;
  18125. procedure TNVM_NVMCON.clearNVMOP2; inline;
  18126. begin
  18127. pTDefRegMap(@Self)^.clr := $00000004;
  18128. end;
  18129. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  18130. begin
  18131. if thebits = 0 then
  18132. pTDefRegMap(@Self)^.clr := $00000004
  18133. else
  18134. pTDefRegMap(@Self)^.&set := $00000004;
  18135. end;
  18136. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  18137. begin
  18138. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18139. end;
  18140. procedure TNVM_NVMCON.setNVMOP3; inline;
  18141. begin
  18142. pTDefRegMap(@Self)^.&set := $00000008;
  18143. end;
  18144. procedure TNVM_NVMCON.clearNVMOP3; inline;
  18145. begin
  18146. pTDefRegMap(@Self)^.clr := $00000008;
  18147. end;
  18148. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  18149. begin
  18150. if thebits = 0 then
  18151. pTDefRegMap(@Self)^.clr := $00000008
  18152. else
  18153. pTDefRegMap(@Self)^.&set := $00000008;
  18154. end;
  18155. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  18156. begin
  18157. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18158. end;
  18159. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  18160. begin
  18161. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  18162. end;
  18163. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  18164. begin
  18165. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  18166. end;
  18167. procedure TNVM_NVMCON.setPROGOP0; inline;
  18168. begin
  18169. pTDefRegMap(@Self)^.&set := $00000001;
  18170. end;
  18171. procedure TNVM_NVMCON.clearPROGOP0; inline;
  18172. begin
  18173. pTDefRegMap(@Self)^.clr := $00000001;
  18174. end;
  18175. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  18176. begin
  18177. if thebits = 0 then
  18178. pTDefRegMap(@Self)^.clr := $00000001
  18179. else
  18180. pTDefRegMap(@Self)^.&set := $00000001;
  18181. end;
  18182. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  18183. begin
  18184. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18185. end;
  18186. procedure TNVM_NVMCON.setPROGOP1; inline;
  18187. begin
  18188. pTDefRegMap(@Self)^.&set := $00000002;
  18189. end;
  18190. procedure TNVM_NVMCON.clearPROGOP1; inline;
  18191. begin
  18192. pTDefRegMap(@Self)^.clr := $00000002;
  18193. end;
  18194. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  18195. begin
  18196. if thebits = 0 then
  18197. pTDefRegMap(@Self)^.clr := $00000002
  18198. else
  18199. pTDefRegMap(@Self)^.&set := $00000002;
  18200. end;
  18201. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  18202. begin
  18203. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18204. end;
  18205. procedure TNVM_NVMCON.setPROGOP2; inline;
  18206. begin
  18207. pTDefRegMap(@Self)^.&set := $00000004;
  18208. end;
  18209. procedure TNVM_NVMCON.clearPROGOP2; inline;
  18210. begin
  18211. pTDefRegMap(@Self)^.clr := $00000004;
  18212. end;
  18213. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  18214. begin
  18215. if thebits = 0 then
  18216. pTDefRegMap(@Self)^.clr := $00000004
  18217. else
  18218. pTDefRegMap(@Self)^.&set := $00000004;
  18219. end;
  18220. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  18221. begin
  18222. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18223. end;
  18224. procedure TNVM_NVMCON.setPROGOP3; inline;
  18225. begin
  18226. pTDefRegMap(@Self)^.&set := $00000008;
  18227. end;
  18228. procedure TNVM_NVMCON.clearPROGOP3; inline;
  18229. begin
  18230. pTDefRegMap(@Self)^.clr := $00000008;
  18231. end;
  18232. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  18233. begin
  18234. if thebits = 0 then
  18235. pTDefRegMap(@Self)^.clr := $00000008
  18236. else
  18237. pTDefRegMap(@Self)^.&set := $00000008;
  18238. end;
  18239. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  18240. begin
  18241. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18242. end;
  18243. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  18244. begin
  18245. pTDefRegMap(@Self)^.val := thebits;
  18246. end;
  18247. function TNVM_NVMCON.getw : TBits_32; inline;
  18248. begin
  18249. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18250. end;
  18251. procedure TRCON_RCON.setPOR; inline;
  18252. begin
  18253. pTDefRegMap(@Self)^.&set := $00000001;
  18254. end;
  18255. procedure TRCON_RCON.clearPOR; inline;
  18256. begin
  18257. pTDefRegMap(@Self)^.clr := $00000001;
  18258. end;
  18259. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  18260. begin
  18261. if thebits = 0 then
  18262. pTDefRegMap(@Self)^.clr := $00000001
  18263. else
  18264. pTDefRegMap(@Self)^.&set := $00000001;
  18265. end;
  18266. function TRCON_RCON.getPOR : TBits_1; inline;
  18267. begin
  18268. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18269. end;
  18270. procedure TRCON_RCON.setBOR; inline;
  18271. begin
  18272. pTDefRegMap(@Self)^.&set := $00000002;
  18273. end;
  18274. procedure TRCON_RCON.clearBOR; inline;
  18275. begin
  18276. pTDefRegMap(@Self)^.clr := $00000002;
  18277. end;
  18278. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  18279. begin
  18280. if thebits = 0 then
  18281. pTDefRegMap(@Self)^.clr := $00000002
  18282. else
  18283. pTDefRegMap(@Self)^.&set := $00000002;
  18284. end;
  18285. function TRCON_RCON.getBOR : TBits_1; inline;
  18286. begin
  18287. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18288. end;
  18289. procedure TRCON_RCON.setIDLE; inline;
  18290. begin
  18291. pTDefRegMap(@Self)^.&set := $00000004;
  18292. end;
  18293. procedure TRCON_RCON.clearIDLE; inline;
  18294. begin
  18295. pTDefRegMap(@Self)^.clr := $00000004;
  18296. end;
  18297. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  18298. begin
  18299. if thebits = 0 then
  18300. pTDefRegMap(@Self)^.clr := $00000004
  18301. else
  18302. pTDefRegMap(@Self)^.&set := $00000004;
  18303. end;
  18304. function TRCON_RCON.getIDLE : TBits_1; inline;
  18305. begin
  18306. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18307. end;
  18308. procedure TRCON_RCON.setSLEEP; inline;
  18309. begin
  18310. pTDefRegMap(@Self)^.&set := $00000008;
  18311. end;
  18312. procedure TRCON_RCON.clearSLEEP; inline;
  18313. begin
  18314. pTDefRegMap(@Self)^.clr := $00000008;
  18315. end;
  18316. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  18317. begin
  18318. if thebits = 0 then
  18319. pTDefRegMap(@Self)^.clr := $00000008
  18320. else
  18321. pTDefRegMap(@Self)^.&set := $00000008;
  18322. end;
  18323. function TRCON_RCON.getSLEEP : TBits_1; inline;
  18324. begin
  18325. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18326. end;
  18327. procedure TRCON_RCON.setWDTO; inline;
  18328. begin
  18329. pTDefRegMap(@Self)^.&set := $00000010;
  18330. end;
  18331. procedure TRCON_RCON.clearWDTO; inline;
  18332. begin
  18333. pTDefRegMap(@Self)^.clr := $00000010;
  18334. end;
  18335. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  18336. begin
  18337. if thebits = 0 then
  18338. pTDefRegMap(@Self)^.clr := $00000010
  18339. else
  18340. pTDefRegMap(@Self)^.&set := $00000010;
  18341. end;
  18342. function TRCON_RCON.getWDTO : TBits_1; inline;
  18343. begin
  18344. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18345. end;
  18346. procedure TRCON_RCON.setSWR; inline;
  18347. begin
  18348. pTDefRegMap(@Self)^.&set := $00000040;
  18349. end;
  18350. procedure TRCON_RCON.clearSWR; inline;
  18351. begin
  18352. pTDefRegMap(@Self)^.clr := $00000040;
  18353. end;
  18354. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  18355. begin
  18356. if thebits = 0 then
  18357. pTDefRegMap(@Self)^.clr := $00000040
  18358. else
  18359. pTDefRegMap(@Self)^.&set := $00000040;
  18360. end;
  18361. function TRCON_RCON.getSWR : TBits_1; inline;
  18362. begin
  18363. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18364. end;
  18365. procedure TRCON_RCON.setEXTR; inline;
  18366. begin
  18367. pTDefRegMap(@Self)^.&set := $00000080;
  18368. end;
  18369. procedure TRCON_RCON.clearEXTR; inline;
  18370. begin
  18371. pTDefRegMap(@Self)^.clr := $00000080;
  18372. end;
  18373. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  18374. begin
  18375. if thebits = 0 then
  18376. pTDefRegMap(@Self)^.clr := $00000080
  18377. else
  18378. pTDefRegMap(@Self)^.&set := $00000080;
  18379. end;
  18380. function TRCON_RCON.getEXTR : TBits_1; inline;
  18381. begin
  18382. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18383. end;
  18384. procedure TRCON_RCON.setVREGS; inline;
  18385. begin
  18386. pTDefRegMap(@Self)^.&set := $00000100;
  18387. end;
  18388. procedure TRCON_RCON.clearVREGS; inline;
  18389. begin
  18390. pTDefRegMap(@Self)^.clr := $00000100;
  18391. end;
  18392. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  18393. begin
  18394. if thebits = 0 then
  18395. pTDefRegMap(@Self)^.clr := $00000100
  18396. else
  18397. pTDefRegMap(@Self)^.&set := $00000100;
  18398. end;
  18399. function TRCON_RCON.getVREGS : TBits_1; inline;
  18400. begin
  18401. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18402. end;
  18403. procedure TRCON_RCON.setCMR; inline;
  18404. begin
  18405. pTDefRegMap(@Self)^.&set := $00000200;
  18406. end;
  18407. procedure TRCON_RCON.clearCMR; inline;
  18408. begin
  18409. pTDefRegMap(@Self)^.clr := $00000200;
  18410. end;
  18411. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  18412. begin
  18413. if thebits = 0 then
  18414. pTDefRegMap(@Self)^.clr := $00000200
  18415. else
  18416. pTDefRegMap(@Self)^.&set := $00000200;
  18417. end;
  18418. function TRCON_RCON.getCMR : TBits_1; inline;
  18419. begin
  18420. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18421. end;
  18422. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  18423. begin
  18424. pTDefRegMap(@Self)^.val := thebits;
  18425. end;
  18426. function TRCON_RCON.getw : TBits_32; inline;
  18427. begin
  18428. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18429. end;
  18430. procedure TRCON_RSWRST.setSWRST; inline;
  18431. begin
  18432. pTDefRegMap(@Self)^.&set := $00000001;
  18433. end;
  18434. procedure TRCON_RSWRST.clearSWRST; inline;
  18435. begin
  18436. pTDefRegMap(@Self)^.clr := $00000001;
  18437. end;
  18438. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  18439. begin
  18440. if thebits = 0 then
  18441. pTDefRegMap(@Self)^.clr := $00000001
  18442. else
  18443. pTDefRegMap(@Self)^.&set := $00000001;
  18444. end;
  18445. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  18446. begin
  18447. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18448. end;
  18449. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  18450. begin
  18451. pTDefRegMap(@Self)^.val := thebits;
  18452. end;
  18453. function TRCON_RSWRST.getw : TBits_32; inline;
  18454. begin
  18455. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18456. end;
  18457. procedure TINT_INTSTAT.setVEC(thebits : TBits_6); inline;
  18458. begin
  18459. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  18460. end;
  18461. function TINT_INTSTAT.getVEC : TBits_6; inline;
  18462. begin
  18463. getVEC := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  18464. end;
  18465. procedure TINT_INTSTAT.setRIPL(thebits : TBits_3); inline;
  18466. begin
  18467. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  18468. end;
  18469. function TINT_INTSTAT.getRIPL : TBits_3; inline;
  18470. begin
  18471. getRIPL := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  18472. end;
  18473. procedure TINT_INTSTAT.setSRIPL(thebits : TBits_3); inline;
  18474. begin
  18475. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  18476. end;
  18477. function TINT_INTSTAT.getSRIPL : TBits_3; inline;
  18478. begin
  18479. getSRIPL := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  18480. end;
  18481. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  18482. begin
  18483. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18484. end;
  18485. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  18486. begin
  18487. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18488. end;
  18489. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  18490. begin
  18491. pTDefRegMap(@Self)^.&set := $00000040;
  18492. end;
  18493. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  18494. begin
  18495. pTDefRegMap(@Self)^.clr := $00000040;
  18496. end;
  18497. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  18498. begin
  18499. if thebits = 0 then
  18500. pTDefRegMap(@Self)^.clr := $00000040
  18501. else
  18502. pTDefRegMap(@Self)^.&set := $00000040;
  18503. end;
  18504. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  18505. begin
  18506. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18507. end;
  18508. procedure TBMX_BMXCON.setBMXERRIS; inline;
  18509. begin
  18510. pTDefRegMap(@Self)^.&set := $00010000;
  18511. end;
  18512. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  18513. begin
  18514. pTDefRegMap(@Self)^.clr := $00010000;
  18515. end;
  18516. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  18517. begin
  18518. if thebits = 0 then
  18519. pTDefRegMap(@Self)^.clr := $00010000
  18520. else
  18521. pTDefRegMap(@Self)^.&set := $00010000;
  18522. end;
  18523. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  18524. begin
  18525. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  18526. end;
  18527. procedure TBMX_BMXCON.setBMXERRDS; inline;
  18528. begin
  18529. pTDefRegMap(@Self)^.&set := $00020000;
  18530. end;
  18531. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  18532. begin
  18533. pTDefRegMap(@Self)^.clr := $00020000;
  18534. end;
  18535. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  18536. begin
  18537. if thebits = 0 then
  18538. pTDefRegMap(@Self)^.clr := $00020000
  18539. else
  18540. pTDefRegMap(@Self)^.&set := $00020000;
  18541. end;
  18542. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  18543. begin
  18544. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  18545. end;
  18546. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  18547. begin
  18548. pTDefRegMap(@Self)^.&set := $00040000;
  18549. end;
  18550. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  18551. begin
  18552. pTDefRegMap(@Self)^.clr := $00040000;
  18553. end;
  18554. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  18555. begin
  18556. if thebits = 0 then
  18557. pTDefRegMap(@Self)^.clr := $00040000
  18558. else
  18559. pTDefRegMap(@Self)^.&set := $00040000;
  18560. end;
  18561. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  18562. begin
  18563. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  18564. end;
  18565. procedure TBMX_BMXCON.setBMXERRICD; inline;
  18566. begin
  18567. pTDefRegMap(@Self)^.&set := $00080000;
  18568. end;
  18569. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  18570. begin
  18571. pTDefRegMap(@Self)^.clr := $00080000;
  18572. end;
  18573. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  18574. begin
  18575. if thebits = 0 then
  18576. pTDefRegMap(@Self)^.clr := $00080000
  18577. else
  18578. pTDefRegMap(@Self)^.&set := $00080000;
  18579. end;
  18580. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  18581. begin
  18582. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  18583. end;
  18584. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  18585. begin
  18586. pTDefRegMap(@Self)^.&set := $00100000;
  18587. end;
  18588. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  18589. begin
  18590. pTDefRegMap(@Self)^.clr := $00100000;
  18591. end;
  18592. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  18593. begin
  18594. if thebits = 0 then
  18595. pTDefRegMap(@Self)^.clr := $00100000
  18596. else
  18597. pTDefRegMap(@Self)^.&set := $00100000;
  18598. end;
  18599. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  18600. begin
  18601. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  18602. end;
  18603. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  18604. begin
  18605. pTDefRegMap(@Self)^.&set := $04000000;
  18606. end;
  18607. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  18608. begin
  18609. pTDefRegMap(@Self)^.clr := $04000000;
  18610. end;
  18611. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  18612. begin
  18613. if thebits = 0 then
  18614. pTDefRegMap(@Self)^.clr := $04000000
  18615. else
  18616. pTDefRegMap(@Self)^.&set := $04000000;
  18617. end;
  18618. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  18619. begin
  18620. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  18621. end;
  18622. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  18623. begin
  18624. pTDefRegMap(@Self)^.val := thebits;
  18625. end;
  18626. function TBMX_BMXCON.getw : TBits_32; inline;
  18627. begin
  18628. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18629. end;
  18630. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  18631. begin
  18632. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18633. end;
  18634. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  18635. begin
  18636. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18637. end;
  18638. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  18639. begin
  18640. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  18641. end;
  18642. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  18643. begin
  18644. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  18645. end;
  18646. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  18647. begin
  18648. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18649. end;
  18650. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  18651. begin
  18652. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18653. end;
  18654. procedure TPCACHE_CHECON.setCHECOH; inline;
  18655. begin
  18656. pTDefRegMap(@Self)^.&set := $00010000;
  18657. end;
  18658. procedure TPCACHE_CHECON.clearCHECOH; inline;
  18659. begin
  18660. pTDefRegMap(@Self)^.clr := $00010000;
  18661. end;
  18662. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  18663. begin
  18664. if thebits = 0 then
  18665. pTDefRegMap(@Self)^.clr := $00010000
  18666. else
  18667. pTDefRegMap(@Self)^.&set := $00010000;
  18668. end;
  18669. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  18670. begin
  18671. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  18672. end;
  18673. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  18674. begin
  18675. pTDefRegMap(@Self)^.val := thebits;
  18676. end;
  18677. function TPCACHE_CHECON.getw : TBits_32; inline;
  18678. begin
  18679. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18680. end;
  18681. procedure TPCACHE_CHETAG.setLTYPE; inline;
  18682. begin
  18683. pTDefRegMap(@Self)^.&set := $00000002;
  18684. end;
  18685. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  18686. begin
  18687. pTDefRegMap(@Self)^.clr := $00000002;
  18688. end;
  18689. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  18690. begin
  18691. if thebits = 0 then
  18692. pTDefRegMap(@Self)^.clr := $00000002
  18693. else
  18694. pTDefRegMap(@Self)^.&set := $00000002;
  18695. end;
  18696. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  18697. begin
  18698. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18699. end;
  18700. procedure TPCACHE_CHETAG.setLLOCK; inline;
  18701. begin
  18702. pTDefRegMap(@Self)^.&set := $00000004;
  18703. end;
  18704. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  18705. begin
  18706. pTDefRegMap(@Self)^.clr := $00000004;
  18707. end;
  18708. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  18709. begin
  18710. if thebits = 0 then
  18711. pTDefRegMap(@Self)^.clr := $00000004
  18712. else
  18713. pTDefRegMap(@Self)^.&set := $00000004;
  18714. end;
  18715. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  18716. begin
  18717. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18718. end;
  18719. procedure TPCACHE_CHETAG.setLVALID; inline;
  18720. begin
  18721. pTDefRegMap(@Self)^.&set := $00000008;
  18722. end;
  18723. procedure TPCACHE_CHETAG.clearLVALID; inline;
  18724. begin
  18725. pTDefRegMap(@Self)^.clr := $00000008;
  18726. end;
  18727. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  18728. begin
  18729. if thebits = 0 then
  18730. pTDefRegMap(@Self)^.clr := $00000008
  18731. else
  18732. pTDefRegMap(@Self)^.&set := $00000008;
  18733. end;
  18734. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  18735. begin
  18736. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18737. end;
  18738. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  18739. begin
  18740. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  18741. end;
  18742. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  18743. begin
  18744. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  18745. end;
  18746. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  18747. begin
  18748. pTDefRegMap(@Self)^.&set := $80000000;
  18749. end;
  18750. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  18751. begin
  18752. pTDefRegMap(@Self)^.clr := $80000000;
  18753. end;
  18754. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  18755. begin
  18756. if thebits = 0 then
  18757. pTDefRegMap(@Self)^.clr := $80000000
  18758. else
  18759. pTDefRegMap(@Self)^.&set := $80000000;
  18760. end;
  18761. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  18762. begin
  18763. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  18764. end;
  18765. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  18766. begin
  18767. pTDefRegMap(@Self)^.val := thebits;
  18768. end;
  18769. function TPCACHE_CHETAG.getw : TBits_32; inline;
  18770. begin
  18771. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18772. end;
  18773. procedure TPORTB_TRISB.setTRISB0; inline;
  18774. begin
  18775. pTDefRegMap(@Self)^.&set := $00000001;
  18776. end;
  18777. procedure TPORTB_TRISB.clearTRISB0; inline;
  18778. begin
  18779. pTDefRegMap(@Self)^.clr := $00000001;
  18780. end;
  18781. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  18782. begin
  18783. if thebits = 0 then
  18784. pTDefRegMap(@Self)^.clr := $00000001
  18785. else
  18786. pTDefRegMap(@Self)^.&set := $00000001;
  18787. end;
  18788. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  18789. begin
  18790. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18791. end;
  18792. procedure TPORTB_TRISB.setTRISB1; inline;
  18793. begin
  18794. pTDefRegMap(@Self)^.&set := $00000002;
  18795. end;
  18796. procedure TPORTB_TRISB.clearTRISB1; inline;
  18797. begin
  18798. pTDefRegMap(@Self)^.clr := $00000002;
  18799. end;
  18800. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  18801. begin
  18802. if thebits = 0 then
  18803. pTDefRegMap(@Self)^.clr := $00000002
  18804. else
  18805. pTDefRegMap(@Self)^.&set := $00000002;
  18806. end;
  18807. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  18808. begin
  18809. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18810. end;
  18811. procedure TPORTB_TRISB.setTRISB2; inline;
  18812. begin
  18813. pTDefRegMap(@Self)^.&set := $00000004;
  18814. end;
  18815. procedure TPORTB_TRISB.clearTRISB2; inline;
  18816. begin
  18817. pTDefRegMap(@Self)^.clr := $00000004;
  18818. end;
  18819. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  18820. begin
  18821. if thebits = 0 then
  18822. pTDefRegMap(@Self)^.clr := $00000004
  18823. else
  18824. pTDefRegMap(@Self)^.&set := $00000004;
  18825. end;
  18826. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  18827. begin
  18828. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18829. end;
  18830. procedure TPORTB_TRISB.setTRISB3; inline;
  18831. begin
  18832. pTDefRegMap(@Self)^.&set := $00000008;
  18833. end;
  18834. procedure TPORTB_TRISB.clearTRISB3; inline;
  18835. begin
  18836. pTDefRegMap(@Self)^.clr := $00000008;
  18837. end;
  18838. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  18839. begin
  18840. if thebits = 0 then
  18841. pTDefRegMap(@Self)^.clr := $00000008
  18842. else
  18843. pTDefRegMap(@Self)^.&set := $00000008;
  18844. end;
  18845. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  18846. begin
  18847. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18848. end;
  18849. procedure TPORTB_TRISB.setTRISB4; inline;
  18850. begin
  18851. pTDefRegMap(@Self)^.&set := $00000010;
  18852. end;
  18853. procedure TPORTB_TRISB.clearTRISB4; inline;
  18854. begin
  18855. pTDefRegMap(@Self)^.clr := $00000010;
  18856. end;
  18857. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  18858. begin
  18859. if thebits = 0 then
  18860. pTDefRegMap(@Self)^.clr := $00000010
  18861. else
  18862. pTDefRegMap(@Self)^.&set := $00000010;
  18863. end;
  18864. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  18865. begin
  18866. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18867. end;
  18868. procedure TPORTB_TRISB.setTRISB5; inline;
  18869. begin
  18870. pTDefRegMap(@Self)^.&set := $00000020;
  18871. end;
  18872. procedure TPORTB_TRISB.clearTRISB5; inline;
  18873. begin
  18874. pTDefRegMap(@Self)^.clr := $00000020;
  18875. end;
  18876. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  18877. begin
  18878. if thebits = 0 then
  18879. pTDefRegMap(@Self)^.clr := $00000020
  18880. else
  18881. pTDefRegMap(@Self)^.&set := $00000020;
  18882. end;
  18883. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  18884. begin
  18885. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18886. end;
  18887. procedure TPORTB_TRISB.setTRISB6; inline;
  18888. begin
  18889. pTDefRegMap(@Self)^.&set := $00000040;
  18890. end;
  18891. procedure TPORTB_TRISB.clearTRISB6; inline;
  18892. begin
  18893. pTDefRegMap(@Self)^.clr := $00000040;
  18894. end;
  18895. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  18896. begin
  18897. if thebits = 0 then
  18898. pTDefRegMap(@Self)^.clr := $00000040
  18899. else
  18900. pTDefRegMap(@Self)^.&set := $00000040;
  18901. end;
  18902. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  18903. begin
  18904. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18905. end;
  18906. procedure TPORTB_TRISB.setTRISB7; inline;
  18907. begin
  18908. pTDefRegMap(@Self)^.&set := $00000080;
  18909. end;
  18910. procedure TPORTB_TRISB.clearTRISB7; inline;
  18911. begin
  18912. pTDefRegMap(@Self)^.clr := $00000080;
  18913. end;
  18914. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  18915. begin
  18916. if thebits = 0 then
  18917. pTDefRegMap(@Self)^.clr := $00000080
  18918. else
  18919. pTDefRegMap(@Self)^.&set := $00000080;
  18920. end;
  18921. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  18922. begin
  18923. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18924. end;
  18925. procedure TPORTB_TRISB.setTRISB8; inline;
  18926. begin
  18927. pTDefRegMap(@Self)^.&set := $00000100;
  18928. end;
  18929. procedure TPORTB_TRISB.clearTRISB8; inline;
  18930. begin
  18931. pTDefRegMap(@Self)^.clr := $00000100;
  18932. end;
  18933. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  18934. begin
  18935. if thebits = 0 then
  18936. pTDefRegMap(@Self)^.clr := $00000100
  18937. else
  18938. pTDefRegMap(@Self)^.&set := $00000100;
  18939. end;
  18940. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  18941. begin
  18942. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18943. end;
  18944. procedure TPORTB_TRISB.setTRISB9; inline;
  18945. begin
  18946. pTDefRegMap(@Self)^.&set := $00000200;
  18947. end;
  18948. procedure TPORTB_TRISB.clearTRISB9; inline;
  18949. begin
  18950. pTDefRegMap(@Self)^.clr := $00000200;
  18951. end;
  18952. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  18953. begin
  18954. if thebits = 0 then
  18955. pTDefRegMap(@Self)^.clr := $00000200
  18956. else
  18957. pTDefRegMap(@Self)^.&set := $00000200;
  18958. end;
  18959. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  18960. begin
  18961. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18962. end;
  18963. procedure TPORTB_TRISB.setTRISB10; inline;
  18964. begin
  18965. pTDefRegMap(@Self)^.&set := $00000400;
  18966. end;
  18967. procedure TPORTB_TRISB.clearTRISB10; inline;
  18968. begin
  18969. pTDefRegMap(@Self)^.clr := $00000400;
  18970. end;
  18971. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  18972. begin
  18973. if thebits = 0 then
  18974. pTDefRegMap(@Self)^.clr := $00000400
  18975. else
  18976. pTDefRegMap(@Self)^.&set := $00000400;
  18977. end;
  18978. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  18979. begin
  18980. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18981. end;
  18982. procedure TPORTB_TRISB.setTRISB11; inline;
  18983. begin
  18984. pTDefRegMap(@Self)^.&set := $00000800;
  18985. end;
  18986. procedure TPORTB_TRISB.clearTRISB11; inline;
  18987. begin
  18988. pTDefRegMap(@Self)^.clr := $00000800;
  18989. end;
  18990. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  18991. begin
  18992. if thebits = 0 then
  18993. pTDefRegMap(@Self)^.clr := $00000800
  18994. else
  18995. pTDefRegMap(@Self)^.&set := $00000800;
  18996. end;
  18997. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  18998. begin
  18999. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19000. end;
  19001. procedure TPORTB_TRISB.setTRISB12; inline;
  19002. begin
  19003. pTDefRegMap(@Self)^.&set := $00001000;
  19004. end;
  19005. procedure TPORTB_TRISB.clearTRISB12; inline;
  19006. begin
  19007. pTDefRegMap(@Self)^.clr := $00001000;
  19008. end;
  19009. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  19010. begin
  19011. if thebits = 0 then
  19012. pTDefRegMap(@Self)^.clr := $00001000
  19013. else
  19014. pTDefRegMap(@Self)^.&set := $00001000;
  19015. end;
  19016. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  19017. begin
  19018. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19019. end;
  19020. procedure TPORTB_TRISB.setTRISB13; inline;
  19021. begin
  19022. pTDefRegMap(@Self)^.&set := $00002000;
  19023. end;
  19024. procedure TPORTB_TRISB.clearTRISB13; inline;
  19025. begin
  19026. pTDefRegMap(@Self)^.clr := $00002000;
  19027. end;
  19028. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  19029. begin
  19030. if thebits = 0 then
  19031. pTDefRegMap(@Self)^.clr := $00002000
  19032. else
  19033. pTDefRegMap(@Self)^.&set := $00002000;
  19034. end;
  19035. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  19036. begin
  19037. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19038. end;
  19039. procedure TPORTB_TRISB.setTRISB14; inline;
  19040. begin
  19041. pTDefRegMap(@Self)^.&set := $00004000;
  19042. end;
  19043. procedure TPORTB_TRISB.clearTRISB14; inline;
  19044. begin
  19045. pTDefRegMap(@Self)^.clr := $00004000;
  19046. end;
  19047. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  19048. begin
  19049. if thebits = 0 then
  19050. pTDefRegMap(@Self)^.clr := $00004000
  19051. else
  19052. pTDefRegMap(@Self)^.&set := $00004000;
  19053. end;
  19054. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  19055. begin
  19056. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19057. end;
  19058. procedure TPORTB_TRISB.setTRISB15; inline;
  19059. begin
  19060. pTDefRegMap(@Self)^.&set := $00008000;
  19061. end;
  19062. procedure TPORTB_TRISB.clearTRISB15; inline;
  19063. begin
  19064. pTDefRegMap(@Self)^.clr := $00008000;
  19065. end;
  19066. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  19067. begin
  19068. if thebits = 0 then
  19069. pTDefRegMap(@Self)^.clr := $00008000
  19070. else
  19071. pTDefRegMap(@Self)^.&set := $00008000;
  19072. end;
  19073. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  19074. begin
  19075. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19076. end;
  19077. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  19078. begin
  19079. pTDefRegMap(@Self)^.val := thebits;
  19080. end;
  19081. function TPORTB_TRISB.getw : TBits_32; inline;
  19082. begin
  19083. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19084. end;
  19085. procedure TPORTB_PORTB.setRB0; inline;
  19086. begin
  19087. pTDefRegMap(@Self)^.&set := $00000001;
  19088. end;
  19089. procedure TPORTB_PORTB.clearRB0; inline;
  19090. begin
  19091. pTDefRegMap(@Self)^.clr := $00000001;
  19092. end;
  19093. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  19094. begin
  19095. if thebits = 0 then
  19096. pTDefRegMap(@Self)^.clr := $00000001
  19097. else
  19098. pTDefRegMap(@Self)^.&set := $00000001;
  19099. end;
  19100. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  19101. begin
  19102. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19103. end;
  19104. procedure TPORTB_PORTB.setRB1; inline;
  19105. begin
  19106. pTDefRegMap(@Self)^.&set := $00000002;
  19107. end;
  19108. procedure TPORTB_PORTB.clearRB1; inline;
  19109. begin
  19110. pTDefRegMap(@Self)^.clr := $00000002;
  19111. end;
  19112. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  19113. begin
  19114. if thebits = 0 then
  19115. pTDefRegMap(@Self)^.clr := $00000002
  19116. else
  19117. pTDefRegMap(@Self)^.&set := $00000002;
  19118. end;
  19119. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  19120. begin
  19121. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19122. end;
  19123. procedure TPORTB_PORTB.setRB2; inline;
  19124. begin
  19125. pTDefRegMap(@Self)^.&set := $00000004;
  19126. end;
  19127. procedure TPORTB_PORTB.clearRB2; inline;
  19128. begin
  19129. pTDefRegMap(@Self)^.clr := $00000004;
  19130. end;
  19131. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  19132. begin
  19133. if thebits = 0 then
  19134. pTDefRegMap(@Self)^.clr := $00000004
  19135. else
  19136. pTDefRegMap(@Self)^.&set := $00000004;
  19137. end;
  19138. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  19139. begin
  19140. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19141. end;
  19142. procedure TPORTB_PORTB.setRB3; inline;
  19143. begin
  19144. pTDefRegMap(@Self)^.&set := $00000008;
  19145. end;
  19146. procedure TPORTB_PORTB.clearRB3; inline;
  19147. begin
  19148. pTDefRegMap(@Self)^.clr := $00000008;
  19149. end;
  19150. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  19151. begin
  19152. if thebits = 0 then
  19153. pTDefRegMap(@Self)^.clr := $00000008
  19154. else
  19155. pTDefRegMap(@Self)^.&set := $00000008;
  19156. end;
  19157. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  19158. begin
  19159. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19160. end;
  19161. procedure TPORTB_PORTB.setRB4; inline;
  19162. begin
  19163. pTDefRegMap(@Self)^.&set := $00000010;
  19164. end;
  19165. procedure TPORTB_PORTB.clearRB4; inline;
  19166. begin
  19167. pTDefRegMap(@Self)^.clr := $00000010;
  19168. end;
  19169. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  19170. begin
  19171. if thebits = 0 then
  19172. pTDefRegMap(@Self)^.clr := $00000010
  19173. else
  19174. pTDefRegMap(@Self)^.&set := $00000010;
  19175. end;
  19176. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  19177. begin
  19178. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19179. end;
  19180. procedure TPORTB_PORTB.setRB5; inline;
  19181. begin
  19182. pTDefRegMap(@Self)^.&set := $00000020;
  19183. end;
  19184. procedure TPORTB_PORTB.clearRB5; inline;
  19185. begin
  19186. pTDefRegMap(@Self)^.clr := $00000020;
  19187. end;
  19188. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  19189. begin
  19190. if thebits = 0 then
  19191. pTDefRegMap(@Self)^.clr := $00000020
  19192. else
  19193. pTDefRegMap(@Self)^.&set := $00000020;
  19194. end;
  19195. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  19196. begin
  19197. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19198. end;
  19199. procedure TPORTB_PORTB.setRB6; inline;
  19200. begin
  19201. pTDefRegMap(@Self)^.&set := $00000040;
  19202. end;
  19203. procedure TPORTB_PORTB.clearRB6; inline;
  19204. begin
  19205. pTDefRegMap(@Self)^.clr := $00000040;
  19206. end;
  19207. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  19208. begin
  19209. if thebits = 0 then
  19210. pTDefRegMap(@Self)^.clr := $00000040
  19211. else
  19212. pTDefRegMap(@Self)^.&set := $00000040;
  19213. end;
  19214. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  19215. begin
  19216. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19217. end;
  19218. procedure TPORTB_PORTB.setRB7; inline;
  19219. begin
  19220. pTDefRegMap(@Self)^.&set := $00000080;
  19221. end;
  19222. procedure TPORTB_PORTB.clearRB7; inline;
  19223. begin
  19224. pTDefRegMap(@Self)^.clr := $00000080;
  19225. end;
  19226. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  19227. begin
  19228. if thebits = 0 then
  19229. pTDefRegMap(@Self)^.clr := $00000080
  19230. else
  19231. pTDefRegMap(@Self)^.&set := $00000080;
  19232. end;
  19233. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  19234. begin
  19235. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19236. end;
  19237. procedure TPORTB_PORTB.setRB8; inline;
  19238. begin
  19239. pTDefRegMap(@Self)^.&set := $00000100;
  19240. end;
  19241. procedure TPORTB_PORTB.clearRB8; inline;
  19242. begin
  19243. pTDefRegMap(@Self)^.clr := $00000100;
  19244. end;
  19245. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  19246. begin
  19247. if thebits = 0 then
  19248. pTDefRegMap(@Self)^.clr := $00000100
  19249. else
  19250. pTDefRegMap(@Self)^.&set := $00000100;
  19251. end;
  19252. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  19253. begin
  19254. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19255. end;
  19256. procedure TPORTB_PORTB.setRB9; inline;
  19257. begin
  19258. pTDefRegMap(@Self)^.&set := $00000200;
  19259. end;
  19260. procedure TPORTB_PORTB.clearRB9; inline;
  19261. begin
  19262. pTDefRegMap(@Self)^.clr := $00000200;
  19263. end;
  19264. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  19265. begin
  19266. if thebits = 0 then
  19267. pTDefRegMap(@Self)^.clr := $00000200
  19268. else
  19269. pTDefRegMap(@Self)^.&set := $00000200;
  19270. end;
  19271. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  19272. begin
  19273. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19274. end;
  19275. procedure TPORTB_PORTB.setRB10; inline;
  19276. begin
  19277. pTDefRegMap(@Self)^.&set := $00000400;
  19278. end;
  19279. procedure TPORTB_PORTB.clearRB10; inline;
  19280. begin
  19281. pTDefRegMap(@Self)^.clr := $00000400;
  19282. end;
  19283. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  19284. begin
  19285. if thebits = 0 then
  19286. pTDefRegMap(@Self)^.clr := $00000400
  19287. else
  19288. pTDefRegMap(@Self)^.&set := $00000400;
  19289. end;
  19290. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  19291. begin
  19292. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19293. end;
  19294. procedure TPORTB_PORTB.setRB11; inline;
  19295. begin
  19296. pTDefRegMap(@Self)^.&set := $00000800;
  19297. end;
  19298. procedure TPORTB_PORTB.clearRB11; inline;
  19299. begin
  19300. pTDefRegMap(@Self)^.clr := $00000800;
  19301. end;
  19302. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  19303. begin
  19304. if thebits = 0 then
  19305. pTDefRegMap(@Self)^.clr := $00000800
  19306. else
  19307. pTDefRegMap(@Self)^.&set := $00000800;
  19308. end;
  19309. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  19310. begin
  19311. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19312. end;
  19313. procedure TPORTB_PORTB.setRB12; inline;
  19314. begin
  19315. pTDefRegMap(@Self)^.&set := $00001000;
  19316. end;
  19317. procedure TPORTB_PORTB.clearRB12; inline;
  19318. begin
  19319. pTDefRegMap(@Self)^.clr := $00001000;
  19320. end;
  19321. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  19322. begin
  19323. if thebits = 0 then
  19324. pTDefRegMap(@Self)^.clr := $00001000
  19325. else
  19326. pTDefRegMap(@Self)^.&set := $00001000;
  19327. end;
  19328. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  19329. begin
  19330. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19331. end;
  19332. procedure TPORTB_PORTB.setRB13; inline;
  19333. begin
  19334. pTDefRegMap(@Self)^.&set := $00002000;
  19335. end;
  19336. procedure TPORTB_PORTB.clearRB13; inline;
  19337. begin
  19338. pTDefRegMap(@Self)^.clr := $00002000;
  19339. end;
  19340. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  19341. begin
  19342. if thebits = 0 then
  19343. pTDefRegMap(@Self)^.clr := $00002000
  19344. else
  19345. pTDefRegMap(@Self)^.&set := $00002000;
  19346. end;
  19347. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  19348. begin
  19349. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19350. end;
  19351. procedure TPORTB_PORTB.setRB14; inline;
  19352. begin
  19353. pTDefRegMap(@Self)^.&set := $00004000;
  19354. end;
  19355. procedure TPORTB_PORTB.clearRB14; inline;
  19356. begin
  19357. pTDefRegMap(@Self)^.clr := $00004000;
  19358. end;
  19359. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  19360. begin
  19361. if thebits = 0 then
  19362. pTDefRegMap(@Self)^.clr := $00004000
  19363. else
  19364. pTDefRegMap(@Self)^.&set := $00004000;
  19365. end;
  19366. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  19367. begin
  19368. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19369. end;
  19370. procedure TPORTB_PORTB.setRB15; inline;
  19371. begin
  19372. pTDefRegMap(@Self)^.&set := $00008000;
  19373. end;
  19374. procedure TPORTB_PORTB.clearRB15; inline;
  19375. begin
  19376. pTDefRegMap(@Self)^.clr := $00008000;
  19377. end;
  19378. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  19379. begin
  19380. if thebits = 0 then
  19381. pTDefRegMap(@Self)^.clr := $00008000
  19382. else
  19383. pTDefRegMap(@Self)^.&set := $00008000;
  19384. end;
  19385. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  19386. begin
  19387. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19388. end;
  19389. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  19390. begin
  19391. pTDefRegMap(@Self)^.val := thebits;
  19392. end;
  19393. function TPORTB_PORTB.getw : TBits_32; inline;
  19394. begin
  19395. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19396. end;
  19397. procedure TPORTB_LATB.setLATB0; inline;
  19398. begin
  19399. pTDefRegMap(@Self)^.&set := $00000001;
  19400. end;
  19401. procedure TPORTB_LATB.clearLATB0; inline;
  19402. begin
  19403. pTDefRegMap(@Self)^.clr := $00000001;
  19404. end;
  19405. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  19406. begin
  19407. if thebits = 0 then
  19408. pTDefRegMap(@Self)^.clr := $00000001
  19409. else
  19410. pTDefRegMap(@Self)^.&set := $00000001;
  19411. end;
  19412. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  19413. begin
  19414. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19415. end;
  19416. procedure TPORTB_LATB.setLATB1; inline;
  19417. begin
  19418. pTDefRegMap(@Self)^.&set := $00000002;
  19419. end;
  19420. procedure TPORTB_LATB.clearLATB1; inline;
  19421. begin
  19422. pTDefRegMap(@Self)^.clr := $00000002;
  19423. end;
  19424. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  19425. begin
  19426. if thebits = 0 then
  19427. pTDefRegMap(@Self)^.clr := $00000002
  19428. else
  19429. pTDefRegMap(@Self)^.&set := $00000002;
  19430. end;
  19431. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  19432. begin
  19433. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19434. end;
  19435. procedure TPORTB_LATB.setLATB2; inline;
  19436. begin
  19437. pTDefRegMap(@Self)^.&set := $00000004;
  19438. end;
  19439. procedure TPORTB_LATB.clearLATB2; inline;
  19440. begin
  19441. pTDefRegMap(@Self)^.clr := $00000004;
  19442. end;
  19443. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  19444. begin
  19445. if thebits = 0 then
  19446. pTDefRegMap(@Self)^.clr := $00000004
  19447. else
  19448. pTDefRegMap(@Self)^.&set := $00000004;
  19449. end;
  19450. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  19451. begin
  19452. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19453. end;
  19454. procedure TPORTB_LATB.setLATB3; inline;
  19455. begin
  19456. pTDefRegMap(@Self)^.&set := $00000008;
  19457. end;
  19458. procedure TPORTB_LATB.clearLATB3; inline;
  19459. begin
  19460. pTDefRegMap(@Self)^.clr := $00000008;
  19461. end;
  19462. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  19463. begin
  19464. if thebits = 0 then
  19465. pTDefRegMap(@Self)^.clr := $00000008
  19466. else
  19467. pTDefRegMap(@Self)^.&set := $00000008;
  19468. end;
  19469. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  19470. begin
  19471. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19472. end;
  19473. procedure TPORTB_LATB.setLATB4; inline;
  19474. begin
  19475. pTDefRegMap(@Self)^.&set := $00000010;
  19476. end;
  19477. procedure TPORTB_LATB.clearLATB4; inline;
  19478. begin
  19479. pTDefRegMap(@Self)^.clr := $00000010;
  19480. end;
  19481. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  19482. begin
  19483. if thebits = 0 then
  19484. pTDefRegMap(@Self)^.clr := $00000010
  19485. else
  19486. pTDefRegMap(@Self)^.&set := $00000010;
  19487. end;
  19488. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  19489. begin
  19490. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19491. end;
  19492. procedure TPORTB_LATB.setLATB5; inline;
  19493. begin
  19494. pTDefRegMap(@Self)^.&set := $00000020;
  19495. end;
  19496. procedure TPORTB_LATB.clearLATB5; inline;
  19497. begin
  19498. pTDefRegMap(@Self)^.clr := $00000020;
  19499. end;
  19500. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  19501. begin
  19502. if thebits = 0 then
  19503. pTDefRegMap(@Self)^.clr := $00000020
  19504. else
  19505. pTDefRegMap(@Self)^.&set := $00000020;
  19506. end;
  19507. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  19508. begin
  19509. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19510. end;
  19511. procedure TPORTB_LATB.setLATB6; inline;
  19512. begin
  19513. pTDefRegMap(@Self)^.&set := $00000040;
  19514. end;
  19515. procedure TPORTB_LATB.clearLATB6; inline;
  19516. begin
  19517. pTDefRegMap(@Self)^.clr := $00000040;
  19518. end;
  19519. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  19520. begin
  19521. if thebits = 0 then
  19522. pTDefRegMap(@Self)^.clr := $00000040
  19523. else
  19524. pTDefRegMap(@Self)^.&set := $00000040;
  19525. end;
  19526. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  19527. begin
  19528. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19529. end;
  19530. procedure TPORTB_LATB.setLATB7; inline;
  19531. begin
  19532. pTDefRegMap(@Self)^.&set := $00000080;
  19533. end;
  19534. procedure TPORTB_LATB.clearLATB7; inline;
  19535. begin
  19536. pTDefRegMap(@Self)^.clr := $00000080;
  19537. end;
  19538. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  19539. begin
  19540. if thebits = 0 then
  19541. pTDefRegMap(@Self)^.clr := $00000080
  19542. else
  19543. pTDefRegMap(@Self)^.&set := $00000080;
  19544. end;
  19545. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  19546. begin
  19547. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19548. end;
  19549. procedure TPORTB_LATB.setLATB8; inline;
  19550. begin
  19551. pTDefRegMap(@Self)^.&set := $00000100;
  19552. end;
  19553. procedure TPORTB_LATB.clearLATB8; inline;
  19554. begin
  19555. pTDefRegMap(@Self)^.clr := $00000100;
  19556. end;
  19557. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  19558. begin
  19559. if thebits = 0 then
  19560. pTDefRegMap(@Self)^.clr := $00000100
  19561. else
  19562. pTDefRegMap(@Self)^.&set := $00000100;
  19563. end;
  19564. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  19565. begin
  19566. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19567. end;
  19568. procedure TPORTB_LATB.setLATB9; inline;
  19569. begin
  19570. pTDefRegMap(@Self)^.&set := $00000200;
  19571. end;
  19572. procedure TPORTB_LATB.clearLATB9; inline;
  19573. begin
  19574. pTDefRegMap(@Self)^.clr := $00000200;
  19575. end;
  19576. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  19577. begin
  19578. if thebits = 0 then
  19579. pTDefRegMap(@Self)^.clr := $00000200
  19580. else
  19581. pTDefRegMap(@Self)^.&set := $00000200;
  19582. end;
  19583. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  19584. begin
  19585. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19586. end;
  19587. procedure TPORTB_LATB.setLATB10; inline;
  19588. begin
  19589. pTDefRegMap(@Self)^.&set := $00000400;
  19590. end;
  19591. procedure TPORTB_LATB.clearLATB10; inline;
  19592. begin
  19593. pTDefRegMap(@Self)^.clr := $00000400;
  19594. end;
  19595. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  19596. begin
  19597. if thebits = 0 then
  19598. pTDefRegMap(@Self)^.clr := $00000400
  19599. else
  19600. pTDefRegMap(@Self)^.&set := $00000400;
  19601. end;
  19602. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  19603. begin
  19604. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19605. end;
  19606. procedure TPORTB_LATB.setLATB11; inline;
  19607. begin
  19608. pTDefRegMap(@Self)^.&set := $00000800;
  19609. end;
  19610. procedure TPORTB_LATB.clearLATB11; inline;
  19611. begin
  19612. pTDefRegMap(@Self)^.clr := $00000800;
  19613. end;
  19614. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  19615. begin
  19616. if thebits = 0 then
  19617. pTDefRegMap(@Self)^.clr := $00000800
  19618. else
  19619. pTDefRegMap(@Self)^.&set := $00000800;
  19620. end;
  19621. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  19622. begin
  19623. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19624. end;
  19625. procedure TPORTB_LATB.setLATB12; inline;
  19626. begin
  19627. pTDefRegMap(@Self)^.&set := $00001000;
  19628. end;
  19629. procedure TPORTB_LATB.clearLATB12; inline;
  19630. begin
  19631. pTDefRegMap(@Self)^.clr := $00001000;
  19632. end;
  19633. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  19634. begin
  19635. if thebits = 0 then
  19636. pTDefRegMap(@Self)^.clr := $00001000
  19637. else
  19638. pTDefRegMap(@Self)^.&set := $00001000;
  19639. end;
  19640. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  19641. begin
  19642. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19643. end;
  19644. procedure TPORTB_LATB.setLATB13; inline;
  19645. begin
  19646. pTDefRegMap(@Self)^.&set := $00002000;
  19647. end;
  19648. procedure TPORTB_LATB.clearLATB13; inline;
  19649. begin
  19650. pTDefRegMap(@Self)^.clr := $00002000;
  19651. end;
  19652. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  19653. begin
  19654. if thebits = 0 then
  19655. pTDefRegMap(@Self)^.clr := $00002000
  19656. else
  19657. pTDefRegMap(@Self)^.&set := $00002000;
  19658. end;
  19659. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  19660. begin
  19661. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19662. end;
  19663. procedure TPORTB_LATB.setLATB14; inline;
  19664. begin
  19665. pTDefRegMap(@Self)^.&set := $00004000;
  19666. end;
  19667. procedure TPORTB_LATB.clearLATB14; inline;
  19668. begin
  19669. pTDefRegMap(@Self)^.clr := $00004000;
  19670. end;
  19671. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  19672. begin
  19673. if thebits = 0 then
  19674. pTDefRegMap(@Self)^.clr := $00004000
  19675. else
  19676. pTDefRegMap(@Self)^.&set := $00004000;
  19677. end;
  19678. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  19679. begin
  19680. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19681. end;
  19682. procedure TPORTB_LATB.setLATB15; inline;
  19683. begin
  19684. pTDefRegMap(@Self)^.&set := $00008000;
  19685. end;
  19686. procedure TPORTB_LATB.clearLATB15; inline;
  19687. begin
  19688. pTDefRegMap(@Self)^.clr := $00008000;
  19689. end;
  19690. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  19691. begin
  19692. if thebits = 0 then
  19693. pTDefRegMap(@Self)^.clr := $00008000
  19694. else
  19695. pTDefRegMap(@Self)^.&set := $00008000;
  19696. end;
  19697. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  19698. begin
  19699. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19700. end;
  19701. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  19702. begin
  19703. pTDefRegMap(@Self)^.val := thebits;
  19704. end;
  19705. function TPORTB_LATB.getw : TBits_32; inline;
  19706. begin
  19707. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19708. end;
  19709. procedure TPORTB_ODCB.setODCB0; inline;
  19710. begin
  19711. pTDefRegMap(@Self)^.&set := $00000001;
  19712. end;
  19713. procedure TPORTB_ODCB.clearODCB0; inline;
  19714. begin
  19715. pTDefRegMap(@Self)^.clr := $00000001;
  19716. end;
  19717. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  19718. begin
  19719. if thebits = 0 then
  19720. pTDefRegMap(@Self)^.clr := $00000001
  19721. else
  19722. pTDefRegMap(@Self)^.&set := $00000001;
  19723. end;
  19724. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  19725. begin
  19726. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19727. end;
  19728. procedure TPORTB_ODCB.setODCB1; inline;
  19729. begin
  19730. pTDefRegMap(@Self)^.&set := $00000002;
  19731. end;
  19732. procedure TPORTB_ODCB.clearODCB1; inline;
  19733. begin
  19734. pTDefRegMap(@Self)^.clr := $00000002;
  19735. end;
  19736. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  19737. begin
  19738. if thebits = 0 then
  19739. pTDefRegMap(@Self)^.clr := $00000002
  19740. else
  19741. pTDefRegMap(@Self)^.&set := $00000002;
  19742. end;
  19743. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  19744. begin
  19745. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19746. end;
  19747. procedure TPORTB_ODCB.setODCB2; inline;
  19748. begin
  19749. pTDefRegMap(@Self)^.&set := $00000004;
  19750. end;
  19751. procedure TPORTB_ODCB.clearODCB2; inline;
  19752. begin
  19753. pTDefRegMap(@Self)^.clr := $00000004;
  19754. end;
  19755. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  19756. begin
  19757. if thebits = 0 then
  19758. pTDefRegMap(@Self)^.clr := $00000004
  19759. else
  19760. pTDefRegMap(@Self)^.&set := $00000004;
  19761. end;
  19762. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  19763. begin
  19764. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19765. end;
  19766. procedure TPORTB_ODCB.setODCB3; inline;
  19767. begin
  19768. pTDefRegMap(@Self)^.&set := $00000008;
  19769. end;
  19770. procedure TPORTB_ODCB.clearODCB3; inline;
  19771. begin
  19772. pTDefRegMap(@Self)^.clr := $00000008;
  19773. end;
  19774. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  19775. begin
  19776. if thebits = 0 then
  19777. pTDefRegMap(@Self)^.clr := $00000008
  19778. else
  19779. pTDefRegMap(@Self)^.&set := $00000008;
  19780. end;
  19781. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  19782. begin
  19783. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19784. end;
  19785. procedure TPORTB_ODCB.setODCB4; inline;
  19786. begin
  19787. pTDefRegMap(@Self)^.&set := $00000010;
  19788. end;
  19789. procedure TPORTB_ODCB.clearODCB4; inline;
  19790. begin
  19791. pTDefRegMap(@Self)^.clr := $00000010;
  19792. end;
  19793. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  19794. begin
  19795. if thebits = 0 then
  19796. pTDefRegMap(@Self)^.clr := $00000010
  19797. else
  19798. pTDefRegMap(@Self)^.&set := $00000010;
  19799. end;
  19800. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  19801. begin
  19802. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19803. end;
  19804. procedure TPORTB_ODCB.setODCB5; inline;
  19805. begin
  19806. pTDefRegMap(@Self)^.&set := $00000020;
  19807. end;
  19808. procedure TPORTB_ODCB.clearODCB5; inline;
  19809. begin
  19810. pTDefRegMap(@Self)^.clr := $00000020;
  19811. end;
  19812. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  19813. begin
  19814. if thebits = 0 then
  19815. pTDefRegMap(@Self)^.clr := $00000020
  19816. else
  19817. pTDefRegMap(@Self)^.&set := $00000020;
  19818. end;
  19819. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  19820. begin
  19821. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19822. end;
  19823. procedure TPORTB_ODCB.setODCB6; inline;
  19824. begin
  19825. pTDefRegMap(@Self)^.&set := $00000040;
  19826. end;
  19827. procedure TPORTB_ODCB.clearODCB6; inline;
  19828. begin
  19829. pTDefRegMap(@Self)^.clr := $00000040;
  19830. end;
  19831. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  19832. begin
  19833. if thebits = 0 then
  19834. pTDefRegMap(@Self)^.clr := $00000040
  19835. else
  19836. pTDefRegMap(@Self)^.&set := $00000040;
  19837. end;
  19838. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  19839. begin
  19840. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19841. end;
  19842. procedure TPORTB_ODCB.setODCB7; inline;
  19843. begin
  19844. pTDefRegMap(@Self)^.&set := $00000080;
  19845. end;
  19846. procedure TPORTB_ODCB.clearODCB7; inline;
  19847. begin
  19848. pTDefRegMap(@Self)^.clr := $00000080;
  19849. end;
  19850. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  19851. begin
  19852. if thebits = 0 then
  19853. pTDefRegMap(@Self)^.clr := $00000080
  19854. else
  19855. pTDefRegMap(@Self)^.&set := $00000080;
  19856. end;
  19857. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  19858. begin
  19859. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19860. end;
  19861. procedure TPORTB_ODCB.setODCB8; inline;
  19862. begin
  19863. pTDefRegMap(@Self)^.&set := $00000100;
  19864. end;
  19865. procedure TPORTB_ODCB.clearODCB8; inline;
  19866. begin
  19867. pTDefRegMap(@Self)^.clr := $00000100;
  19868. end;
  19869. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  19870. begin
  19871. if thebits = 0 then
  19872. pTDefRegMap(@Self)^.clr := $00000100
  19873. else
  19874. pTDefRegMap(@Self)^.&set := $00000100;
  19875. end;
  19876. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  19877. begin
  19878. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19879. end;
  19880. procedure TPORTB_ODCB.setODCB9; inline;
  19881. begin
  19882. pTDefRegMap(@Self)^.&set := $00000200;
  19883. end;
  19884. procedure TPORTB_ODCB.clearODCB9; inline;
  19885. begin
  19886. pTDefRegMap(@Self)^.clr := $00000200;
  19887. end;
  19888. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  19889. begin
  19890. if thebits = 0 then
  19891. pTDefRegMap(@Self)^.clr := $00000200
  19892. else
  19893. pTDefRegMap(@Self)^.&set := $00000200;
  19894. end;
  19895. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  19896. begin
  19897. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19898. end;
  19899. procedure TPORTB_ODCB.setODCB10; inline;
  19900. begin
  19901. pTDefRegMap(@Self)^.&set := $00000400;
  19902. end;
  19903. procedure TPORTB_ODCB.clearODCB10; inline;
  19904. begin
  19905. pTDefRegMap(@Self)^.clr := $00000400;
  19906. end;
  19907. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  19908. begin
  19909. if thebits = 0 then
  19910. pTDefRegMap(@Self)^.clr := $00000400
  19911. else
  19912. pTDefRegMap(@Self)^.&set := $00000400;
  19913. end;
  19914. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  19915. begin
  19916. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19917. end;
  19918. procedure TPORTB_ODCB.setODCB11; inline;
  19919. begin
  19920. pTDefRegMap(@Self)^.&set := $00000800;
  19921. end;
  19922. procedure TPORTB_ODCB.clearODCB11; inline;
  19923. begin
  19924. pTDefRegMap(@Self)^.clr := $00000800;
  19925. end;
  19926. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  19927. begin
  19928. if thebits = 0 then
  19929. pTDefRegMap(@Self)^.clr := $00000800
  19930. else
  19931. pTDefRegMap(@Self)^.&set := $00000800;
  19932. end;
  19933. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  19934. begin
  19935. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19936. end;
  19937. procedure TPORTB_ODCB.setODCB12; inline;
  19938. begin
  19939. pTDefRegMap(@Self)^.&set := $00001000;
  19940. end;
  19941. procedure TPORTB_ODCB.clearODCB12; inline;
  19942. begin
  19943. pTDefRegMap(@Self)^.clr := $00001000;
  19944. end;
  19945. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  19946. begin
  19947. if thebits = 0 then
  19948. pTDefRegMap(@Self)^.clr := $00001000
  19949. else
  19950. pTDefRegMap(@Self)^.&set := $00001000;
  19951. end;
  19952. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  19953. begin
  19954. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19955. end;
  19956. procedure TPORTB_ODCB.setODCB13; inline;
  19957. begin
  19958. pTDefRegMap(@Self)^.&set := $00002000;
  19959. end;
  19960. procedure TPORTB_ODCB.clearODCB13; inline;
  19961. begin
  19962. pTDefRegMap(@Self)^.clr := $00002000;
  19963. end;
  19964. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  19965. begin
  19966. if thebits = 0 then
  19967. pTDefRegMap(@Self)^.clr := $00002000
  19968. else
  19969. pTDefRegMap(@Self)^.&set := $00002000;
  19970. end;
  19971. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  19972. begin
  19973. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19974. end;
  19975. procedure TPORTB_ODCB.setODCB14; inline;
  19976. begin
  19977. pTDefRegMap(@Self)^.&set := $00004000;
  19978. end;
  19979. procedure TPORTB_ODCB.clearODCB14; inline;
  19980. begin
  19981. pTDefRegMap(@Self)^.clr := $00004000;
  19982. end;
  19983. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  19984. begin
  19985. if thebits = 0 then
  19986. pTDefRegMap(@Self)^.clr := $00004000
  19987. else
  19988. pTDefRegMap(@Self)^.&set := $00004000;
  19989. end;
  19990. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  19991. begin
  19992. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19993. end;
  19994. procedure TPORTB_ODCB.setODCB15; inline;
  19995. begin
  19996. pTDefRegMap(@Self)^.&set := $00008000;
  19997. end;
  19998. procedure TPORTB_ODCB.clearODCB15; inline;
  19999. begin
  20000. pTDefRegMap(@Self)^.clr := $00008000;
  20001. end;
  20002. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  20003. begin
  20004. if thebits = 0 then
  20005. pTDefRegMap(@Self)^.clr := $00008000
  20006. else
  20007. pTDefRegMap(@Self)^.&set := $00008000;
  20008. end;
  20009. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  20010. begin
  20011. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20012. end;
  20013. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  20014. begin
  20015. pTDefRegMap(@Self)^.val := thebits;
  20016. end;
  20017. function TPORTB_ODCB.getw : TBits_32; inline;
  20018. begin
  20019. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20020. end;
  20021. procedure TPORTC_TRISC.setTRISC12; inline;
  20022. begin
  20023. pTDefRegMap(@Self)^.&set := $00001000;
  20024. end;
  20025. procedure TPORTC_TRISC.clearTRISC12; inline;
  20026. begin
  20027. pTDefRegMap(@Self)^.clr := $00001000;
  20028. end;
  20029. procedure TPORTC_TRISC.setTRISC12(thebits : TBits_1); inline;
  20030. begin
  20031. if thebits = 0 then
  20032. pTDefRegMap(@Self)^.clr := $00001000
  20033. else
  20034. pTDefRegMap(@Self)^.&set := $00001000;
  20035. end;
  20036. function TPORTC_TRISC.getTRISC12 : TBits_1; inline;
  20037. begin
  20038. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20039. end;
  20040. procedure TPORTC_TRISC.setTRISC13; inline;
  20041. begin
  20042. pTDefRegMap(@Self)^.&set := $00002000;
  20043. end;
  20044. procedure TPORTC_TRISC.clearTRISC13; inline;
  20045. begin
  20046. pTDefRegMap(@Self)^.clr := $00002000;
  20047. end;
  20048. procedure TPORTC_TRISC.setTRISC13(thebits : TBits_1); inline;
  20049. begin
  20050. if thebits = 0 then
  20051. pTDefRegMap(@Self)^.clr := $00002000
  20052. else
  20053. pTDefRegMap(@Self)^.&set := $00002000;
  20054. end;
  20055. function TPORTC_TRISC.getTRISC13 : TBits_1; inline;
  20056. begin
  20057. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20058. end;
  20059. procedure TPORTC_TRISC.setTRISC14; inline;
  20060. begin
  20061. pTDefRegMap(@Self)^.&set := $00004000;
  20062. end;
  20063. procedure TPORTC_TRISC.clearTRISC14; inline;
  20064. begin
  20065. pTDefRegMap(@Self)^.clr := $00004000;
  20066. end;
  20067. procedure TPORTC_TRISC.setTRISC14(thebits : TBits_1); inline;
  20068. begin
  20069. if thebits = 0 then
  20070. pTDefRegMap(@Self)^.clr := $00004000
  20071. else
  20072. pTDefRegMap(@Self)^.&set := $00004000;
  20073. end;
  20074. function TPORTC_TRISC.getTRISC14 : TBits_1; inline;
  20075. begin
  20076. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20077. end;
  20078. procedure TPORTC_TRISC.setTRISC15; inline;
  20079. begin
  20080. pTDefRegMap(@Self)^.&set := $00008000;
  20081. end;
  20082. procedure TPORTC_TRISC.clearTRISC15; inline;
  20083. begin
  20084. pTDefRegMap(@Self)^.clr := $00008000;
  20085. end;
  20086. procedure TPORTC_TRISC.setTRISC15(thebits : TBits_1); inline;
  20087. begin
  20088. if thebits = 0 then
  20089. pTDefRegMap(@Self)^.clr := $00008000
  20090. else
  20091. pTDefRegMap(@Self)^.&set := $00008000;
  20092. end;
  20093. function TPORTC_TRISC.getTRISC15 : TBits_1; inline;
  20094. begin
  20095. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20096. end;
  20097. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  20098. begin
  20099. pTDefRegMap(@Self)^.val := thebits;
  20100. end;
  20101. function TPORTC_TRISC.getw : TBits_32; inline;
  20102. begin
  20103. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20104. end;
  20105. procedure TPORTC_PORTC.setRC12; inline;
  20106. begin
  20107. pTDefRegMap(@Self)^.&set := $00001000;
  20108. end;
  20109. procedure TPORTC_PORTC.clearRC12; inline;
  20110. begin
  20111. pTDefRegMap(@Self)^.clr := $00001000;
  20112. end;
  20113. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  20114. begin
  20115. if thebits = 0 then
  20116. pTDefRegMap(@Self)^.clr := $00001000
  20117. else
  20118. pTDefRegMap(@Self)^.&set := $00001000;
  20119. end;
  20120. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  20121. begin
  20122. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20123. end;
  20124. procedure TPORTC_PORTC.setRC13; inline;
  20125. begin
  20126. pTDefRegMap(@Self)^.&set := $00002000;
  20127. end;
  20128. procedure TPORTC_PORTC.clearRC13; inline;
  20129. begin
  20130. pTDefRegMap(@Self)^.clr := $00002000;
  20131. end;
  20132. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  20133. begin
  20134. if thebits = 0 then
  20135. pTDefRegMap(@Self)^.clr := $00002000
  20136. else
  20137. pTDefRegMap(@Self)^.&set := $00002000;
  20138. end;
  20139. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  20140. begin
  20141. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20142. end;
  20143. procedure TPORTC_PORTC.setRC14; inline;
  20144. begin
  20145. pTDefRegMap(@Self)^.&set := $00004000;
  20146. end;
  20147. procedure TPORTC_PORTC.clearRC14; inline;
  20148. begin
  20149. pTDefRegMap(@Self)^.clr := $00004000;
  20150. end;
  20151. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  20152. begin
  20153. if thebits = 0 then
  20154. pTDefRegMap(@Self)^.clr := $00004000
  20155. else
  20156. pTDefRegMap(@Self)^.&set := $00004000;
  20157. end;
  20158. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  20159. begin
  20160. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20161. end;
  20162. procedure TPORTC_PORTC.setRC15; inline;
  20163. begin
  20164. pTDefRegMap(@Self)^.&set := $00008000;
  20165. end;
  20166. procedure TPORTC_PORTC.clearRC15; inline;
  20167. begin
  20168. pTDefRegMap(@Self)^.clr := $00008000;
  20169. end;
  20170. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  20171. begin
  20172. if thebits = 0 then
  20173. pTDefRegMap(@Self)^.clr := $00008000
  20174. else
  20175. pTDefRegMap(@Self)^.&set := $00008000;
  20176. end;
  20177. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  20178. begin
  20179. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20180. end;
  20181. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  20182. begin
  20183. pTDefRegMap(@Self)^.val := thebits;
  20184. end;
  20185. function TPORTC_PORTC.getw : TBits_32; inline;
  20186. begin
  20187. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20188. end;
  20189. procedure TPORTC_LATC.setLATC12; inline;
  20190. begin
  20191. pTDefRegMap(@Self)^.&set := $00001000;
  20192. end;
  20193. procedure TPORTC_LATC.clearLATC12; inline;
  20194. begin
  20195. pTDefRegMap(@Self)^.clr := $00001000;
  20196. end;
  20197. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  20198. begin
  20199. if thebits = 0 then
  20200. pTDefRegMap(@Self)^.clr := $00001000
  20201. else
  20202. pTDefRegMap(@Self)^.&set := $00001000;
  20203. end;
  20204. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  20205. begin
  20206. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20207. end;
  20208. procedure TPORTC_LATC.setLATC13; inline;
  20209. begin
  20210. pTDefRegMap(@Self)^.&set := $00002000;
  20211. end;
  20212. procedure TPORTC_LATC.clearLATC13; inline;
  20213. begin
  20214. pTDefRegMap(@Self)^.clr := $00002000;
  20215. end;
  20216. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  20217. begin
  20218. if thebits = 0 then
  20219. pTDefRegMap(@Self)^.clr := $00002000
  20220. else
  20221. pTDefRegMap(@Self)^.&set := $00002000;
  20222. end;
  20223. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  20224. begin
  20225. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20226. end;
  20227. procedure TPORTC_LATC.setLATC14; inline;
  20228. begin
  20229. pTDefRegMap(@Self)^.&set := $00004000;
  20230. end;
  20231. procedure TPORTC_LATC.clearLATC14; inline;
  20232. begin
  20233. pTDefRegMap(@Self)^.clr := $00004000;
  20234. end;
  20235. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  20236. begin
  20237. if thebits = 0 then
  20238. pTDefRegMap(@Self)^.clr := $00004000
  20239. else
  20240. pTDefRegMap(@Self)^.&set := $00004000;
  20241. end;
  20242. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  20243. begin
  20244. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20245. end;
  20246. procedure TPORTC_LATC.setLATC15; inline;
  20247. begin
  20248. pTDefRegMap(@Self)^.&set := $00008000;
  20249. end;
  20250. procedure TPORTC_LATC.clearLATC15; inline;
  20251. begin
  20252. pTDefRegMap(@Self)^.clr := $00008000;
  20253. end;
  20254. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  20255. begin
  20256. if thebits = 0 then
  20257. pTDefRegMap(@Self)^.clr := $00008000
  20258. else
  20259. pTDefRegMap(@Self)^.&set := $00008000;
  20260. end;
  20261. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  20262. begin
  20263. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20264. end;
  20265. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  20266. begin
  20267. pTDefRegMap(@Self)^.val := thebits;
  20268. end;
  20269. function TPORTC_LATC.getw : TBits_32; inline;
  20270. begin
  20271. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20272. end;
  20273. procedure TPORTC_ODCC.setODCC12; inline;
  20274. begin
  20275. pTDefRegMap(@Self)^.&set := $00001000;
  20276. end;
  20277. procedure TPORTC_ODCC.clearODCC12; inline;
  20278. begin
  20279. pTDefRegMap(@Self)^.clr := $00001000;
  20280. end;
  20281. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  20282. begin
  20283. if thebits = 0 then
  20284. pTDefRegMap(@Self)^.clr := $00001000
  20285. else
  20286. pTDefRegMap(@Self)^.&set := $00001000;
  20287. end;
  20288. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  20289. begin
  20290. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20291. end;
  20292. procedure TPORTC_ODCC.setODCC13; inline;
  20293. begin
  20294. pTDefRegMap(@Self)^.&set := $00002000;
  20295. end;
  20296. procedure TPORTC_ODCC.clearODCC13; inline;
  20297. begin
  20298. pTDefRegMap(@Self)^.clr := $00002000;
  20299. end;
  20300. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  20301. begin
  20302. if thebits = 0 then
  20303. pTDefRegMap(@Self)^.clr := $00002000
  20304. else
  20305. pTDefRegMap(@Self)^.&set := $00002000;
  20306. end;
  20307. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  20308. begin
  20309. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20310. end;
  20311. procedure TPORTC_ODCC.setODCC14; inline;
  20312. begin
  20313. pTDefRegMap(@Self)^.&set := $00004000;
  20314. end;
  20315. procedure TPORTC_ODCC.clearODCC14; inline;
  20316. begin
  20317. pTDefRegMap(@Self)^.clr := $00004000;
  20318. end;
  20319. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  20320. begin
  20321. if thebits = 0 then
  20322. pTDefRegMap(@Self)^.clr := $00004000
  20323. else
  20324. pTDefRegMap(@Self)^.&set := $00004000;
  20325. end;
  20326. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  20327. begin
  20328. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20329. end;
  20330. procedure TPORTC_ODCC.setODCC15; inline;
  20331. begin
  20332. pTDefRegMap(@Self)^.&set := $00008000;
  20333. end;
  20334. procedure TPORTC_ODCC.clearODCC15; inline;
  20335. begin
  20336. pTDefRegMap(@Self)^.clr := $00008000;
  20337. end;
  20338. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  20339. begin
  20340. if thebits = 0 then
  20341. pTDefRegMap(@Self)^.clr := $00008000
  20342. else
  20343. pTDefRegMap(@Self)^.&set := $00008000;
  20344. end;
  20345. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  20346. begin
  20347. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20348. end;
  20349. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  20350. begin
  20351. pTDefRegMap(@Self)^.val := thebits;
  20352. end;
  20353. function TPORTC_ODCC.getw : TBits_32; inline;
  20354. begin
  20355. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20356. end;
  20357. procedure TPORTD_TRISD.setTRISD0; inline;
  20358. begin
  20359. pTDefRegMap(@Self)^.&set := $00000001;
  20360. end;
  20361. procedure TPORTD_TRISD.clearTRISD0; inline;
  20362. begin
  20363. pTDefRegMap(@Self)^.clr := $00000001;
  20364. end;
  20365. procedure TPORTD_TRISD.setTRISD0(thebits : TBits_1); inline;
  20366. begin
  20367. if thebits = 0 then
  20368. pTDefRegMap(@Self)^.clr := $00000001
  20369. else
  20370. pTDefRegMap(@Self)^.&set := $00000001;
  20371. end;
  20372. function TPORTD_TRISD.getTRISD0 : TBits_1; inline;
  20373. begin
  20374. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20375. end;
  20376. procedure TPORTD_TRISD.setTRISD1; inline;
  20377. begin
  20378. pTDefRegMap(@Self)^.&set := $00000002;
  20379. end;
  20380. procedure TPORTD_TRISD.clearTRISD1; inline;
  20381. begin
  20382. pTDefRegMap(@Self)^.clr := $00000002;
  20383. end;
  20384. procedure TPORTD_TRISD.setTRISD1(thebits : TBits_1); inline;
  20385. begin
  20386. if thebits = 0 then
  20387. pTDefRegMap(@Self)^.clr := $00000002
  20388. else
  20389. pTDefRegMap(@Self)^.&set := $00000002;
  20390. end;
  20391. function TPORTD_TRISD.getTRISD1 : TBits_1; inline;
  20392. begin
  20393. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20394. end;
  20395. procedure TPORTD_TRISD.setTRISD2; inline;
  20396. begin
  20397. pTDefRegMap(@Self)^.&set := $00000004;
  20398. end;
  20399. procedure TPORTD_TRISD.clearTRISD2; inline;
  20400. begin
  20401. pTDefRegMap(@Self)^.clr := $00000004;
  20402. end;
  20403. procedure TPORTD_TRISD.setTRISD2(thebits : TBits_1); inline;
  20404. begin
  20405. if thebits = 0 then
  20406. pTDefRegMap(@Self)^.clr := $00000004
  20407. else
  20408. pTDefRegMap(@Self)^.&set := $00000004;
  20409. end;
  20410. function TPORTD_TRISD.getTRISD2 : TBits_1; inline;
  20411. begin
  20412. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20413. end;
  20414. procedure TPORTD_TRISD.setTRISD3; inline;
  20415. begin
  20416. pTDefRegMap(@Self)^.&set := $00000008;
  20417. end;
  20418. procedure TPORTD_TRISD.clearTRISD3; inline;
  20419. begin
  20420. pTDefRegMap(@Self)^.clr := $00000008;
  20421. end;
  20422. procedure TPORTD_TRISD.setTRISD3(thebits : TBits_1); inline;
  20423. begin
  20424. if thebits = 0 then
  20425. pTDefRegMap(@Self)^.clr := $00000008
  20426. else
  20427. pTDefRegMap(@Self)^.&set := $00000008;
  20428. end;
  20429. function TPORTD_TRISD.getTRISD3 : TBits_1; inline;
  20430. begin
  20431. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20432. end;
  20433. procedure TPORTD_TRISD.setTRISD4; inline;
  20434. begin
  20435. pTDefRegMap(@Self)^.&set := $00000010;
  20436. end;
  20437. procedure TPORTD_TRISD.clearTRISD4; inline;
  20438. begin
  20439. pTDefRegMap(@Self)^.clr := $00000010;
  20440. end;
  20441. procedure TPORTD_TRISD.setTRISD4(thebits : TBits_1); inline;
  20442. begin
  20443. if thebits = 0 then
  20444. pTDefRegMap(@Self)^.clr := $00000010
  20445. else
  20446. pTDefRegMap(@Self)^.&set := $00000010;
  20447. end;
  20448. function TPORTD_TRISD.getTRISD4 : TBits_1; inline;
  20449. begin
  20450. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20451. end;
  20452. procedure TPORTD_TRISD.setTRISD5; inline;
  20453. begin
  20454. pTDefRegMap(@Self)^.&set := $00000020;
  20455. end;
  20456. procedure TPORTD_TRISD.clearTRISD5; inline;
  20457. begin
  20458. pTDefRegMap(@Self)^.clr := $00000020;
  20459. end;
  20460. procedure TPORTD_TRISD.setTRISD5(thebits : TBits_1); inline;
  20461. begin
  20462. if thebits = 0 then
  20463. pTDefRegMap(@Self)^.clr := $00000020
  20464. else
  20465. pTDefRegMap(@Self)^.&set := $00000020;
  20466. end;
  20467. function TPORTD_TRISD.getTRISD5 : TBits_1; inline;
  20468. begin
  20469. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20470. end;
  20471. procedure TPORTD_TRISD.setTRISD6; inline;
  20472. begin
  20473. pTDefRegMap(@Self)^.&set := $00000040;
  20474. end;
  20475. procedure TPORTD_TRISD.clearTRISD6; inline;
  20476. begin
  20477. pTDefRegMap(@Self)^.clr := $00000040;
  20478. end;
  20479. procedure TPORTD_TRISD.setTRISD6(thebits : TBits_1); inline;
  20480. begin
  20481. if thebits = 0 then
  20482. pTDefRegMap(@Self)^.clr := $00000040
  20483. else
  20484. pTDefRegMap(@Self)^.&set := $00000040;
  20485. end;
  20486. function TPORTD_TRISD.getTRISD6 : TBits_1; inline;
  20487. begin
  20488. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20489. end;
  20490. procedure TPORTD_TRISD.setTRISD7; inline;
  20491. begin
  20492. pTDefRegMap(@Self)^.&set := $00000080;
  20493. end;
  20494. procedure TPORTD_TRISD.clearTRISD7; inline;
  20495. begin
  20496. pTDefRegMap(@Self)^.clr := $00000080;
  20497. end;
  20498. procedure TPORTD_TRISD.setTRISD7(thebits : TBits_1); inline;
  20499. begin
  20500. if thebits = 0 then
  20501. pTDefRegMap(@Self)^.clr := $00000080
  20502. else
  20503. pTDefRegMap(@Self)^.&set := $00000080;
  20504. end;
  20505. function TPORTD_TRISD.getTRISD7 : TBits_1; inline;
  20506. begin
  20507. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20508. end;
  20509. procedure TPORTD_TRISD.setTRISD8; inline;
  20510. begin
  20511. pTDefRegMap(@Self)^.&set := $00000100;
  20512. end;
  20513. procedure TPORTD_TRISD.clearTRISD8; inline;
  20514. begin
  20515. pTDefRegMap(@Self)^.clr := $00000100;
  20516. end;
  20517. procedure TPORTD_TRISD.setTRISD8(thebits : TBits_1); inline;
  20518. begin
  20519. if thebits = 0 then
  20520. pTDefRegMap(@Self)^.clr := $00000100
  20521. else
  20522. pTDefRegMap(@Self)^.&set := $00000100;
  20523. end;
  20524. function TPORTD_TRISD.getTRISD8 : TBits_1; inline;
  20525. begin
  20526. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20527. end;
  20528. procedure TPORTD_TRISD.setTRISD9; inline;
  20529. begin
  20530. pTDefRegMap(@Self)^.&set := $00000200;
  20531. end;
  20532. procedure TPORTD_TRISD.clearTRISD9; inline;
  20533. begin
  20534. pTDefRegMap(@Self)^.clr := $00000200;
  20535. end;
  20536. procedure TPORTD_TRISD.setTRISD9(thebits : TBits_1); inline;
  20537. begin
  20538. if thebits = 0 then
  20539. pTDefRegMap(@Self)^.clr := $00000200
  20540. else
  20541. pTDefRegMap(@Self)^.&set := $00000200;
  20542. end;
  20543. function TPORTD_TRISD.getTRISD9 : TBits_1; inline;
  20544. begin
  20545. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20546. end;
  20547. procedure TPORTD_TRISD.setTRISD10; inline;
  20548. begin
  20549. pTDefRegMap(@Self)^.&set := $00000400;
  20550. end;
  20551. procedure TPORTD_TRISD.clearTRISD10; inline;
  20552. begin
  20553. pTDefRegMap(@Self)^.clr := $00000400;
  20554. end;
  20555. procedure TPORTD_TRISD.setTRISD10(thebits : TBits_1); inline;
  20556. begin
  20557. if thebits = 0 then
  20558. pTDefRegMap(@Self)^.clr := $00000400
  20559. else
  20560. pTDefRegMap(@Self)^.&set := $00000400;
  20561. end;
  20562. function TPORTD_TRISD.getTRISD10 : TBits_1; inline;
  20563. begin
  20564. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20565. end;
  20566. procedure TPORTD_TRISD.setTRISD11; inline;
  20567. begin
  20568. pTDefRegMap(@Self)^.&set := $00000800;
  20569. end;
  20570. procedure TPORTD_TRISD.clearTRISD11; inline;
  20571. begin
  20572. pTDefRegMap(@Self)^.clr := $00000800;
  20573. end;
  20574. procedure TPORTD_TRISD.setTRISD11(thebits : TBits_1); inline;
  20575. begin
  20576. if thebits = 0 then
  20577. pTDefRegMap(@Self)^.clr := $00000800
  20578. else
  20579. pTDefRegMap(@Self)^.&set := $00000800;
  20580. end;
  20581. function TPORTD_TRISD.getTRISD11 : TBits_1; inline;
  20582. begin
  20583. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20584. end;
  20585. procedure TPORTD_TRISD.setw(thebits : TBits_32); inline;
  20586. begin
  20587. pTDefRegMap(@Self)^.val := thebits;
  20588. end;
  20589. function TPORTD_TRISD.getw : TBits_32; inline;
  20590. begin
  20591. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20592. end;
  20593. procedure TPORTD_PORTD.setRD0; inline;
  20594. begin
  20595. pTDefRegMap(@Self)^.&set := $00000001;
  20596. end;
  20597. procedure TPORTD_PORTD.clearRD0; inline;
  20598. begin
  20599. pTDefRegMap(@Self)^.clr := $00000001;
  20600. end;
  20601. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  20602. begin
  20603. if thebits = 0 then
  20604. pTDefRegMap(@Self)^.clr := $00000001
  20605. else
  20606. pTDefRegMap(@Self)^.&set := $00000001;
  20607. end;
  20608. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  20609. begin
  20610. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20611. end;
  20612. procedure TPORTD_PORTD.setRD1; inline;
  20613. begin
  20614. pTDefRegMap(@Self)^.&set := $00000002;
  20615. end;
  20616. procedure TPORTD_PORTD.clearRD1; inline;
  20617. begin
  20618. pTDefRegMap(@Self)^.clr := $00000002;
  20619. end;
  20620. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  20621. begin
  20622. if thebits = 0 then
  20623. pTDefRegMap(@Self)^.clr := $00000002
  20624. else
  20625. pTDefRegMap(@Self)^.&set := $00000002;
  20626. end;
  20627. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  20628. begin
  20629. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20630. end;
  20631. procedure TPORTD_PORTD.setRD2; inline;
  20632. begin
  20633. pTDefRegMap(@Self)^.&set := $00000004;
  20634. end;
  20635. procedure TPORTD_PORTD.clearRD2; inline;
  20636. begin
  20637. pTDefRegMap(@Self)^.clr := $00000004;
  20638. end;
  20639. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  20640. begin
  20641. if thebits = 0 then
  20642. pTDefRegMap(@Self)^.clr := $00000004
  20643. else
  20644. pTDefRegMap(@Self)^.&set := $00000004;
  20645. end;
  20646. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  20647. begin
  20648. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20649. end;
  20650. procedure TPORTD_PORTD.setRD3; inline;
  20651. begin
  20652. pTDefRegMap(@Self)^.&set := $00000008;
  20653. end;
  20654. procedure TPORTD_PORTD.clearRD3; inline;
  20655. begin
  20656. pTDefRegMap(@Self)^.clr := $00000008;
  20657. end;
  20658. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  20659. begin
  20660. if thebits = 0 then
  20661. pTDefRegMap(@Self)^.clr := $00000008
  20662. else
  20663. pTDefRegMap(@Self)^.&set := $00000008;
  20664. end;
  20665. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  20666. begin
  20667. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20668. end;
  20669. procedure TPORTD_PORTD.setRD4; inline;
  20670. begin
  20671. pTDefRegMap(@Self)^.&set := $00000010;
  20672. end;
  20673. procedure TPORTD_PORTD.clearRD4; inline;
  20674. begin
  20675. pTDefRegMap(@Self)^.clr := $00000010;
  20676. end;
  20677. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  20678. begin
  20679. if thebits = 0 then
  20680. pTDefRegMap(@Self)^.clr := $00000010
  20681. else
  20682. pTDefRegMap(@Self)^.&set := $00000010;
  20683. end;
  20684. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  20685. begin
  20686. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20687. end;
  20688. procedure TPORTD_PORTD.setRD5; inline;
  20689. begin
  20690. pTDefRegMap(@Self)^.&set := $00000020;
  20691. end;
  20692. procedure TPORTD_PORTD.clearRD5; inline;
  20693. begin
  20694. pTDefRegMap(@Self)^.clr := $00000020;
  20695. end;
  20696. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  20697. begin
  20698. if thebits = 0 then
  20699. pTDefRegMap(@Self)^.clr := $00000020
  20700. else
  20701. pTDefRegMap(@Self)^.&set := $00000020;
  20702. end;
  20703. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  20704. begin
  20705. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20706. end;
  20707. procedure TPORTD_PORTD.setRD6; inline;
  20708. begin
  20709. pTDefRegMap(@Self)^.&set := $00000040;
  20710. end;
  20711. procedure TPORTD_PORTD.clearRD6; inline;
  20712. begin
  20713. pTDefRegMap(@Self)^.clr := $00000040;
  20714. end;
  20715. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  20716. begin
  20717. if thebits = 0 then
  20718. pTDefRegMap(@Self)^.clr := $00000040
  20719. else
  20720. pTDefRegMap(@Self)^.&set := $00000040;
  20721. end;
  20722. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  20723. begin
  20724. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20725. end;
  20726. procedure TPORTD_PORTD.setRD7; inline;
  20727. begin
  20728. pTDefRegMap(@Self)^.&set := $00000080;
  20729. end;
  20730. procedure TPORTD_PORTD.clearRD7; inline;
  20731. begin
  20732. pTDefRegMap(@Self)^.clr := $00000080;
  20733. end;
  20734. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  20735. begin
  20736. if thebits = 0 then
  20737. pTDefRegMap(@Self)^.clr := $00000080
  20738. else
  20739. pTDefRegMap(@Self)^.&set := $00000080;
  20740. end;
  20741. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  20742. begin
  20743. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20744. end;
  20745. procedure TPORTD_PORTD.setRD8; inline;
  20746. begin
  20747. pTDefRegMap(@Self)^.&set := $00000100;
  20748. end;
  20749. procedure TPORTD_PORTD.clearRD8; inline;
  20750. begin
  20751. pTDefRegMap(@Self)^.clr := $00000100;
  20752. end;
  20753. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  20754. begin
  20755. if thebits = 0 then
  20756. pTDefRegMap(@Self)^.clr := $00000100
  20757. else
  20758. pTDefRegMap(@Self)^.&set := $00000100;
  20759. end;
  20760. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  20761. begin
  20762. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20763. end;
  20764. procedure TPORTD_PORTD.setRD9; inline;
  20765. begin
  20766. pTDefRegMap(@Self)^.&set := $00000200;
  20767. end;
  20768. procedure TPORTD_PORTD.clearRD9; inline;
  20769. begin
  20770. pTDefRegMap(@Self)^.clr := $00000200;
  20771. end;
  20772. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  20773. begin
  20774. if thebits = 0 then
  20775. pTDefRegMap(@Self)^.clr := $00000200
  20776. else
  20777. pTDefRegMap(@Self)^.&set := $00000200;
  20778. end;
  20779. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  20780. begin
  20781. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20782. end;
  20783. procedure TPORTD_PORTD.setRD10; inline;
  20784. begin
  20785. pTDefRegMap(@Self)^.&set := $00000400;
  20786. end;
  20787. procedure TPORTD_PORTD.clearRD10; inline;
  20788. begin
  20789. pTDefRegMap(@Self)^.clr := $00000400;
  20790. end;
  20791. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  20792. begin
  20793. if thebits = 0 then
  20794. pTDefRegMap(@Self)^.clr := $00000400
  20795. else
  20796. pTDefRegMap(@Self)^.&set := $00000400;
  20797. end;
  20798. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  20799. begin
  20800. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20801. end;
  20802. procedure TPORTD_PORTD.setRD11; inline;
  20803. begin
  20804. pTDefRegMap(@Self)^.&set := $00000800;
  20805. end;
  20806. procedure TPORTD_PORTD.clearRD11; inline;
  20807. begin
  20808. pTDefRegMap(@Self)^.clr := $00000800;
  20809. end;
  20810. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  20811. begin
  20812. if thebits = 0 then
  20813. pTDefRegMap(@Self)^.clr := $00000800
  20814. else
  20815. pTDefRegMap(@Self)^.&set := $00000800;
  20816. end;
  20817. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  20818. begin
  20819. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20820. end;
  20821. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  20822. begin
  20823. pTDefRegMap(@Self)^.val := thebits;
  20824. end;
  20825. function TPORTD_PORTD.getw : TBits_32; inline;
  20826. begin
  20827. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20828. end;
  20829. procedure TPORTD_LATD.setLATD0; inline;
  20830. begin
  20831. pTDefRegMap(@Self)^.&set := $00000001;
  20832. end;
  20833. procedure TPORTD_LATD.clearLATD0; inline;
  20834. begin
  20835. pTDefRegMap(@Self)^.clr := $00000001;
  20836. end;
  20837. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  20838. begin
  20839. if thebits = 0 then
  20840. pTDefRegMap(@Self)^.clr := $00000001
  20841. else
  20842. pTDefRegMap(@Self)^.&set := $00000001;
  20843. end;
  20844. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  20845. begin
  20846. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20847. end;
  20848. procedure TPORTD_LATD.setLATD1; inline;
  20849. begin
  20850. pTDefRegMap(@Self)^.&set := $00000002;
  20851. end;
  20852. procedure TPORTD_LATD.clearLATD1; inline;
  20853. begin
  20854. pTDefRegMap(@Self)^.clr := $00000002;
  20855. end;
  20856. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  20857. begin
  20858. if thebits = 0 then
  20859. pTDefRegMap(@Self)^.clr := $00000002
  20860. else
  20861. pTDefRegMap(@Self)^.&set := $00000002;
  20862. end;
  20863. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  20864. begin
  20865. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20866. end;
  20867. procedure TPORTD_LATD.setLATD2; inline;
  20868. begin
  20869. pTDefRegMap(@Self)^.&set := $00000004;
  20870. end;
  20871. procedure TPORTD_LATD.clearLATD2; inline;
  20872. begin
  20873. pTDefRegMap(@Self)^.clr := $00000004;
  20874. end;
  20875. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  20876. begin
  20877. if thebits = 0 then
  20878. pTDefRegMap(@Self)^.clr := $00000004
  20879. else
  20880. pTDefRegMap(@Self)^.&set := $00000004;
  20881. end;
  20882. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  20883. begin
  20884. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20885. end;
  20886. procedure TPORTD_LATD.setLATD3; inline;
  20887. begin
  20888. pTDefRegMap(@Self)^.&set := $00000008;
  20889. end;
  20890. procedure TPORTD_LATD.clearLATD3; inline;
  20891. begin
  20892. pTDefRegMap(@Self)^.clr := $00000008;
  20893. end;
  20894. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  20895. begin
  20896. if thebits = 0 then
  20897. pTDefRegMap(@Self)^.clr := $00000008
  20898. else
  20899. pTDefRegMap(@Self)^.&set := $00000008;
  20900. end;
  20901. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  20902. begin
  20903. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20904. end;
  20905. procedure TPORTD_LATD.setLATD4; inline;
  20906. begin
  20907. pTDefRegMap(@Self)^.&set := $00000010;
  20908. end;
  20909. procedure TPORTD_LATD.clearLATD4; inline;
  20910. begin
  20911. pTDefRegMap(@Self)^.clr := $00000010;
  20912. end;
  20913. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  20914. begin
  20915. if thebits = 0 then
  20916. pTDefRegMap(@Self)^.clr := $00000010
  20917. else
  20918. pTDefRegMap(@Self)^.&set := $00000010;
  20919. end;
  20920. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  20921. begin
  20922. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20923. end;
  20924. procedure TPORTD_LATD.setLATD5; inline;
  20925. begin
  20926. pTDefRegMap(@Self)^.&set := $00000020;
  20927. end;
  20928. procedure TPORTD_LATD.clearLATD5; inline;
  20929. begin
  20930. pTDefRegMap(@Self)^.clr := $00000020;
  20931. end;
  20932. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  20933. begin
  20934. if thebits = 0 then
  20935. pTDefRegMap(@Self)^.clr := $00000020
  20936. else
  20937. pTDefRegMap(@Self)^.&set := $00000020;
  20938. end;
  20939. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  20940. begin
  20941. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20942. end;
  20943. procedure TPORTD_LATD.setLATD6; inline;
  20944. begin
  20945. pTDefRegMap(@Self)^.&set := $00000040;
  20946. end;
  20947. procedure TPORTD_LATD.clearLATD6; inline;
  20948. begin
  20949. pTDefRegMap(@Self)^.clr := $00000040;
  20950. end;
  20951. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  20952. begin
  20953. if thebits = 0 then
  20954. pTDefRegMap(@Self)^.clr := $00000040
  20955. else
  20956. pTDefRegMap(@Self)^.&set := $00000040;
  20957. end;
  20958. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  20959. begin
  20960. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20961. end;
  20962. procedure TPORTD_LATD.setLATD7; inline;
  20963. begin
  20964. pTDefRegMap(@Self)^.&set := $00000080;
  20965. end;
  20966. procedure TPORTD_LATD.clearLATD7; inline;
  20967. begin
  20968. pTDefRegMap(@Self)^.clr := $00000080;
  20969. end;
  20970. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  20971. begin
  20972. if thebits = 0 then
  20973. pTDefRegMap(@Self)^.clr := $00000080
  20974. else
  20975. pTDefRegMap(@Self)^.&set := $00000080;
  20976. end;
  20977. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  20978. begin
  20979. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20980. end;
  20981. procedure TPORTD_LATD.setLATD8; inline;
  20982. begin
  20983. pTDefRegMap(@Self)^.&set := $00000100;
  20984. end;
  20985. procedure TPORTD_LATD.clearLATD8; inline;
  20986. begin
  20987. pTDefRegMap(@Self)^.clr := $00000100;
  20988. end;
  20989. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  20990. begin
  20991. if thebits = 0 then
  20992. pTDefRegMap(@Self)^.clr := $00000100
  20993. else
  20994. pTDefRegMap(@Self)^.&set := $00000100;
  20995. end;
  20996. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  20997. begin
  20998. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20999. end;
  21000. procedure TPORTD_LATD.setLATD9; inline;
  21001. begin
  21002. pTDefRegMap(@Self)^.&set := $00000200;
  21003. end;
  21004. procedure TPORTD_LATD.clearLATD9; inline;
  21005. begin
  21006. pTDefRegMap(@Self)^.clr := $00000200;
  21007. end;
  21008. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  21009. begin
  21010. if thebits = 0 then
  21011. pTDefRegMap(@Self)^.clr := $00000200
  21012. else
  21013. pTDefRegMap(@Self)^.&set := $00000200;
  21014. end;
  21015. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  21016. begin
  21017. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21018. end;
  21019. procedure TPORTD_LATD.setLATD10; inline;
  21020. begin
  21021. pTDefRegMap(@Self)^.&set := $00000400;
  21022. end;
  21023. procedure TPORTD_LATD.clearLATD10; inline;
  21024. begin
  21025. pTDefRegMap(@Self)^.clr := $00000400;
  21026. end;
  21027. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  21028. begin
  21029. if thebits = 0 then
  21030. pTDefRegMap(@Self)^.clr := $00000400
  21031. else
  21032. pTDefRegMap(@Self)^.&set := $00000400;
  21033. end;
  21034. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  21035. begin
  21036. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21037. end;
  21038. procedure TPORTD_LATD.setLATD11; inline;
  21039. begin
  21040. pTDefRegMap(@Self)^.&set := $00000800;
  21041. end;
  21042. procedure TPORTD_LATD.clearLATD11; inline;
  21043. begin
  21044. pTDefRegMap(@Self)^.clr := $00000800;
  21045. end;
  21046. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  21047. begin
  21048. if thebits = 0 then
  21049. pTDefRegMap(@Self)^.clr := $00000800
  21050. else
  21051. pTDefRegMap(@Self)^.&set := $00000800;
  21052. end;
  21053. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  21054. begin
  21055. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21056. end;
  21057. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  21058. begin
  21059. pTDefRegMap(@Self)^.val := thebits;
  21060. end;
  21061. function TPORTD_LATD.getw : TBits_32; inline;
  21062. begin
  21063. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21064. end;
  21065. procedure TPORTD_ODCD.setODCD0; inline;
  21066. begin
  21067. pTDefRegMap(@Self)^.&set := $00000001;
  21068. end;
  21069. procedure TPORTD_ODCD.clearODCD0; inline;
  21070. begin
  21071. pTDefRegMap(@Self)^.clr := $00000001;
  21072. end;
  21073. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  21074. begin
  21075. if thebits = 0 then
  21076. pTDefRegMap(@Self)^.clr := $00000001
  21077. else
  21078. pTDefRegMap(@Self)^.&set := $00000001;
  21079. end;
  21080. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  21081. begin
  21082. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21083. end;
  21084. procedure TPORTD_ODCD.setODCD1; inline;
  21085. begin
  21086. pTDefRegMap(@Self)^.&set := $00000002;
  21087. end;
  21088. procedure TPORTD_ODCD.clearODCD1; inline;
  21089. begin
  21090. pTDefRegMap(@Self)^.clr := $00000002;
  21091. end;
  21092. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  21093. begin
  21094. if thebits = 0 then
  21095. pTDefRegMap(@Self)^.clr := $00000002
  21096. else
  21097. pTDefRegMap(@Self)^.&set := $00000002;
  21098. end;
  21099. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  21100. begin
  21101. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21102. end;
  21103. procedure TPORTD_ODCD.setODCD2; inline;
  21104. begin
  21105. pTDefRegMap(@Self)^.&set := $00000004;
  21106. end;
  21107. procedure TPORTD_ODCD.clearODCD2; inline;
  21108. begin
  21109. pTDefRegMap(@Self)^.clr := $00000004;
  21110. end;
  21111. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  21112. begin
  21113. if thebits = 0 then
  21114. pTDefRegMap(@Self)^.clr := $00000004
  21115. else
  21116. pTDefRegMap(@Self)^.&set := $00000004;
  21117. end;
  21118. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  21119. begin
  21120. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21121. end;
  21122. procedure TPORTD_ODCD.setODCD3; inline;
  21123. begin
  21124. pTDefRegMap(@Self)^.&set := $00000008;
  21125. end;
  21126. procedure TPORTD_ODCD.clearODCD3; inline;
  21127. begin
  21128. pTDefRegMap(@Self)^.clr := $00000008;
  21129. end;
  21130. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  21131. begin
  21132. if thebits = 0 then
  21133. pTDefRegMap(@Self)^.clr := $00000008
  21134. else
  21135. pTDefRegMap(@Self)^.&set := $00000008;
  21136. end;
  21137. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  21138. begin
  21139. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21140. end;
  21141. procedure TPORTD_ODCD.setODCD4; inline;
  21142. begin
  21143. pTDefRegMap(@Self)^.&set := $00000010;
  21144. end;
  21145. procedure TPORTD_ODCD.clearODCD4; inline;
  21146. begin
  21147. pTDefRegMap(@Self)^.clr := $00000010;
  21148. end;
  21149. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  21150. begin
  21151. if thebits = 0 then
  21152. pTDefRegMap(@Self)^.clr := $00000010
  21153. else
  21154. pTDefRegMap(@Self)^.&set := $00000010;
  21155. end;
  21156. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  21157. begin
  21158. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21159. end;
  21160. procedure TPORTD_ODCD.setODCD5; inline;
  21161. begin
  21162. pTDefRegMap(@Self)^.&set := $00000020;
  21163. end;
  21164. procedure TPORTD_ODCD.clearODCD5; inline;
  21165. begin
  21166. pTDefRegMap(@Self)^.clr := $00000020;
  21167. end;
  21168. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  21169. begin
  21170. if thebits = 0 then
  21171. pTDefRegMap(@Self)^.clr := $00000020
  21172. else
  21173. pTDefRegMap(@Self)^.&set := $00000020;
  21174. end;
  21175. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  21176. begin
  21177. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21178. end;
  21179. procedure TPORTD_ODCD.setODCD6; inline;
  21180. begin
  21181. pTDefRegMap(@Self)^.&set := $00000040;
  21182. end;
  21183. procedure TPORTD_ODCD.clearODCD6; inline;
  21184. begin
  21185. pTDefRegMap(@Self)^.clr := $00000040;
  21186. end;
  21187. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  21188. begin
  21189. if thebits = 0 then
  21190. pTDefRegMap(@Self)^.clr := $00000040
  21191. else
  21192. pTDefRegMap(@Self)^.&set := $00000040;
  21193. end;
  21194. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  21195. begin
  21196. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21197. end;
  21198. procedure TPORTD_ODCD.setODCD7; inline;
  21199. begin
  21200. pTDefRegMap(@Self)^.&set := $00000080;
  21201. end;
  21202. procedure TPORTD_ODCD.clearODCD7; inline;
  21203. begin
  21204. pTDefRegMap(@Self)^.clr := $00000080;
  21205. end;
  21206. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  21207. begin
  21208. if thebits = 0 then
  21209. pTDefRegMap(@Self)^.clr := $00000080
  21210. else
  21211. pTDefRegMap(@Self)^.&set := $00000080;
  21212. end;
  21213. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  21214. begin
  21215. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21216. end;
  21217. procedure TPORTD_ODCD.setODCD8; inline;
  21218. begin
  21219. pTDefRegMap(@Self)^.&set := $00000100;
  21220. end;
  21221. procedure TPORTD_ODCD.clearODCD8; inline;
  21222. begin
  21223. pTDefRegMap(@Self)^.clr := $00000100;
  21224. end;
  21225. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  21226. begin
  21227. if thebits = 0 then
  21228. pTDefRegMap(@Self)^.clr := $00000100
  21229. else
  21230. pTDefRegMap(@Self)^.&set := $00000100;
  21231. end;
  21232. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  21233. begin
  21234. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21235. end;
  21236. procedure TPORTD_ODCD.setODCD9; inline;
  21237. begin
  21238. pTDefRegMap(@Self)^.&set := $00000200;
  21239. end;
  21240. procedure TPORTD_ODCD.clearODCD9; inline;
  21241. begin
  21242. pTDefRegMap(@Self)^.clr := $00000200;
  21243. end;
  21244. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  21245. begin
  21246. if thebits = 0 then
  21247. pTDefRegMap(@Self)^.clr := $00000200
  21248. else
  21249. pTDefRegMap(@Self)^.&set := $00000200;
  21250. end;
  21251. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  21252. begin
  21253. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21254. end;
  21255. procedure TPORTD_ODCD.setODCD10; inline;
  21256. begin
  21257. pTDefRegMap(@Self)^.&set := $00000400;
  21258. end;
  21259. procedure TPORTD_ODCD.clearODCD10; inline;
  21260. begin
  21261. pTDefRegMap(@Self)^.clr := $00000400;
  21262. end;
  21263. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  21264. begin
  21265. if thebits = 0 then
  21266. pTDefRegMap(@Self)^.clr := $00000400
  21267. else
  21268. pTDefRegMap(@Self)^.&set := $00000400;
  21269. end;
  21270. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  21271. begin
  21272. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21273. end;
  21274. procedure TPORTD_ODCD.setODCD11; inline;
  21275. begin
  21276. pTDefRegMap(@Self)^.&set := $00000800;
  21277. end;
  21278. procedure TPORTD_ODCD.clearODCD11; inline;
  21279. begin
  21280. pTDefRegMap(@Self)^.clr := $00000800;
  21281. end;
  21282. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  21283. begin
  21284. if thebits = 0 then
  21285. pTDefRegMap(@Self)^.clr := $00000800
  21286. else
  21287. pTDefRegMap(@Self)^.&set := $00000800;
  21288. end;
  21289. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  21290. begin
  21291. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21292. end;
  21293. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  21294. begin
  21295. pTDefRegMap(@Self)^.val := thebits;
  21296. end;
  21297. function TPORTD_ODCD.getw : TBits_32; inline;
  21298. begin
  21299. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21300. end;
  21301. procedure TPORTE_TRISE.setTRISE0; inline;
  21302. begin
  21303. pTDefRegMap(@Self)^.&set := $00000001;
  21304. end;
  21305. procedure TPORTE_TRISE.clearTRISE0; inline;
  21306. begin
  21307. pTDefRegMap(@Self)^.clr := $00000001;
  21308. end;
  21309. procedure TPORTE_TRISE.setTRISE0(thebits : TBits_1); inline;
  21310. begin
  21311. if thebits = 0 then
  21312. pTDefRegMap(@Self)^.clr := $00000001
  21313. else
  21314. pTDefRegMap(@Self)^.&set := $00000001;
  21315. end;
  21316. function TPORTE_TRISE.getTRISE0 : TBits_1; inline;
  21317. begin
  21318. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21319. end;
  21320. procedure TPORTE_TRISE.setTRISE1; inline;
  21321. begin
  21322. pTDefRegMap(@Self)^.&set := $00000002;
  21323. end;
  21324. procedure TPORTE_TRISE.clearTRISE1; inline;
  21325. begin
  21326. pTDefRegMap(@Self)^.clr := $00000002;
  21327. end;
  21328. procedure TPORTE_TRISE.setTRISE1(thebits : TBits_1); inline;
  21329. begin
  21330. if thebits = 0 then
  21331. pTDefRegMap(@Self)^.clr := $00000002
  21332. else
  21333. pTDefRegMap(@Self)^.&set := $00000002;
  21334. end;
  21335. function TPORTE_TRISE.getTRISE1 : TBits_1; inline;
  21336. begin
  21337. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21338. end;
  21339. procedure TPORTE_TRISE.setTRISE2; inline;
  21340. begin
  21341. pTDefRegMap(@Self)^.&set := $00000004;
  21342. end;
  21343. procedure TPORTE_TRISE.clearTRISE2; inline;
  21344. begin
  21345. pTDefRegMap(@Self)^.clr := $00000004;
  21346. end;
  21347. procedure TPORTE_TRISE.setTRISE2(thebits : TBits_1); inline;
  21348. begin
  21349. if thebits = 0 then
  21350. pTDefRegMap(@Self)^.clr := $00000004
  21351. else
  21352. pTDefRegMap(@Self)^.&set := $00000004;
  21353. end;
  21354. function TPORTE_TRISE.getTRISE2 : TBits_1; inline;
  21355. begin
  21356. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21357. end;
  21358. procedure TPORTE_TRISE.setTRISE3; inline;
  21359. begin
  21360. pTDefRegMap(@Self)^.&set := $00000008;
  21361. end;
  21362. procedure TPORTE_TRISE.clearTRISE3; inline;
  21363. begin
  21364. pTDefRegMap(@Self)^.clr := $00000008;
  21365. end;
  21366. procedure TPORTE_TRISE.setTRISE3(thebits : TBits_1); inline;
  21367. begin
  21368. if thebits = 0 then
  21369. pTDefRegMap(@Self)^.clr := $00000008
  21370. else
  21371. pTDefRegMap(@Self)^.&set := $00000008;
  21372. end;
  21373. function TPORTE_TRISE.getTRISE3 : TBits_1; inline;
  21374. begin
  21375. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21376. end;
  21377. procedure TPORTE_TRISE.setTRISE4; inline;
  21378. begin
  21379. pTDefRegMap(@Self)^.&set := $00000010;
  21380. end;
  21381. procedure TPORTE_TRISE.clearTRISE4; inline;
  21382. begin
  21383. pTDefRegMap(@Self)^.clr := $00000010;
  21384. end;
  21385. procedure TPORTE_TRISE.setTRISE4(thebits : TBits_1); inline;
  21386. begin
  21387. if thebits = 0 then
  21388. pTDefRegMap(@Self)^.clr := $00000010
  21389. else
  21390. pTDefRegMap(@Self)^.&set := $00000010;
  21391. end;
  21392. function TPORTE_TRISE.getTRISE4 : TBits_1; inline;
  21393. begin
  21394. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21395. end;
  21396. procedure TPORTE_TRISE.setTRISE5; inline;
  21397. begin
  21398. pTDefRegMap(@Self)^.&set := $00000020;
  21399. end;
  21400. procedure TPORTE_TRISE.clearTRISE5; inline;
  21401. begin
  21402. pTDefRegMap(@Self)^.clr := $00000020;
  21403. end;
  21404. procedure TPORTE_TRISE.setTRISE5(thebits : TBits_1); inline;
  21405. begin
  21406. if thebits = 0 then
  21407. pTDefRegMap(@Self)^.clr := $00000020
  21408. else
  21409. pTDefRegMap(@Self)^.&set := $00000020;
  21410. end;
  21411. function TPORTE_TRISE.getTRISE5 : TBits_1; inline;
  21412. begin
  21413. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21414. end;
  21415. procedure TPORTE_TRISE.setTRISE6; inline;
  21416. begin
  21417. pTDefRegMap(@Self)^.&set := $00000040;
  21418. end;
  21419. procedure TPORTE_TRISE.clearTRISE6; inline;
  21420. begin
  21421. pTDefRegMap(@Self)^.clr := $00000040;
  21422. end;
  21423. procedure TPORTE_TRISE.setTRISE6(thebits : TBits_1); inline;
  21424. begin
  21425. if thebits = 0 then
  21426. pTDefRegMap(@Self)^.clr := $00000040
  21427. else
  21428. pTDefRegMap(@Self)^.&set := $00000040;
  21429. end;
  21430. function TPORTE_TRISE.getTRISE6 : TBits_1; inline;
  21431. begin
  21432. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21433. end;
  21434. procedure TPORTE_TRISE.setTRISE7; inline;
  21435. begin
  21436. pTDefRegMap(@Self)^.&set := $00000080;
  21437. end;
  21438. procedure TPORTE_TRISE.clearTRISE7; inline;
  21439. begin
  21440. pTDefRegMap(@Self)^.clr := $00000080;
  21441. end;
  21442. procedure TPORTE_TRISE.setTRISE7(thebits : TBits_1); inline;
  21443. begin
  21444. if thebits = 0 then
  21445. pTDefRegMap(@Self)^.clr := $00000080
  21446. else
  21447. pTDefRegMap(@Self)^.&set := $00000080;
  21448. end;
  21449. function TPORTE_TRISE.getTRISE7 : TBits_1; inline;
  21450. begin
  21451. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21452. end;
  21453. procedure TPORTE_TRISE.setw(thebits : TBits_32); inline;
  21454. begin
  21455. pTDefRegMap(@Self)^.val := thebits;
  21456. end;
  21457. function TPORTE_TRISE.getw : TBits_32; inline;
  21458. begin
  21459. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21460. end;
  21461. procedure TPORTE_PORTE.setRE0; inline;
  21462. begin
  21463. pTDefRegMap(@Self)^.&set := $00000001;
  21464. end;
  21465. procedure TPORTE_PORTE.clearRE0; inline;
  21466. begin
  21467. pTDefRegMap(@Self)^.clr := $00000001;
  21468. end;
  21469. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  21470. begin
  21471. if thebits = 0 then
  21472. pTDefRegMap(@Self)^.clr := $00000001
  21473. else
  21474. pTDefRegMap(@Self)^.&set := $00000001;
  21475. end;
  21476. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  21477. begin
  21478. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21479. end;
  21480. procedure TPORTE_PORTE.setRE1; inline;
  21481. begin
  21482. pTDefRegMap(@Self)^.&set := $00000002;
  21483. end;
  21484. procedure TPORTE_PORTE.clearRE1; inline;
  21485. begin
  21486. pTDefRegMap(@Self)^.clr := $00000002;
  21487. end;
  21488. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  21489. begin
  21490. if thebits = 0 then
  21491. pTDefRegMap(@Self)^.clr := $00000002
  21492. else
  21493. pTDefRegMap(@Self)^.&set := $00000002;
  21494. end;
  21495. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  21496. begin
  21497. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21498. end;
  21499. procedure TPORTE_PORTE.setRE2; inline;
  21500. begin
  21501. pTDefRegMap(@Self)^.&set := $00000004;
  21502. end;
  21503. procedure TPORTE_PORTE.clearRE2; inline;
  21504. begin
  21505. pTDefRegMap(@Self)^.clr := $00000004;
  21506. end;
  21507. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  21508. begin
  21509. if thebits = 0 then
  21510. pTDefRegMap(@Self)^.clr := $00000004
  21511. else
  21512. pTDefRegMap(@Self)^.&set := $00000004;
  21513. end;
  21514. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  21515. begin
  21516. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21517. end;
  21518. procedure TPORTE_PORTE.setRE3; inline;
  21519. begin
  21520. pTDefRegMap(@Self)^.&set := $00000008;
  21521. end;
  21522. procedure TPORTE_PORTE.clearRE3; inline;
  21523. begin
  21524. pTDefRegMap(@Self)^.clr := $00000008;
  21525. end;
  21526. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  21527. begin
  21528. if thebits = 0 then
  21529. pTDefRegMap(@Self)^.clr := $00000008
  21530. else
  21531. pTDefRegMap(@Self)^.&set := $00000008;
  21532. end;
  21533. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  21534. begin
  21535. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21536. end;
  21537. procedure TPORTE_PORTE.setRE4; inline;
  21538. begin
  21539. pTDefRegMap(@Self)^.&set := $00000010;
  21540. end;
  21541. procedure TPORTE_PORTE.clearRE4; inline;
  21542. begin
  21543. pTDefRegMap(@Self)^.clr := $00000010;
  21544. end;
  21545. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  21546. begin
  21547. if thebits = 0 then
  21548. pTDefRegMap(@Self)^.clr := $00000010
  21549. else
  21550. pTDefRegMap(@Self)^.&set := $00000010;
  21551. end;
  21552. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  21553. begin
  21554. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21555. end;
  21556. procedure TPORTE_PORTE.setRE5; inline;
  21557. begin
  21558. pTDefRegMap(@Self)^.&set := $00000020;
  21559. end;
  21560. procedure TPORTE_PORTE.clearRE5; inline;
  21561. begin
  21562. pTDefRegMap(@Self)^.clr := $00000020;
  21563. end;
  21564. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  21565. begin
  21566. if thebits = 0 then
  21567. pTDefRegMap(@Self)^.clr := $00000020
  21568. else
  21569. pTDefRegMap(@Self)^.&set := $00000020;
  21570. end;
  21571. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  21572. begin
  21573. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21574. end;
  21575. procedure TPORTE_PORTE.setRE6; inline;
  21576. begin
  21577. pTDefRegMap(@Self)^.&set := $00000040;
  21578. end;
  21579. procedure TPORTE_PORTE.clearRE6; inline;
  21580. begin
  21581. pTDefRegMap(@Self)^.clr := $00000040;
  21582. end;
  21583. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  21584. begin
  21585. if thebits = 0 then
  21586. pTDefRegMap(@Self)^.clr := $00000040
  21587. else
  21588. pTDefRegMap(@Self)^.&set := $00000040;
  21589. end;
  21590. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  21591. begin
  21592. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21593. end;
  21594. procedure TPORTE_PORTE.setRE7; inline;
  21595. begin
  21596. pTDefRegMap(@Self)^.&set := $00000080;
  21597. end;
  21598. procedure TPORTE_PORTE.clearRE7; inline;
  21599. begin
  21600. pTDefRegMap(@Self)^.clr := $00000080;
  21601. end;
  21602. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  21603. begin
  21604. if thebits = 0 then
  21605. pTDefRegMap(@Self)^.clr := $00000080
  21606. else
  21607. pTDefRegMap(@Self)^.&set := $00000080;
  21608. end;
  21609. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  21610. begin
  21611. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21612. end;
  21613. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  21614. begin
  21615. pTDefRegMap(@Self)^.val := thebits;
  21616. end;
  21617. function TPORTE_PORTE.getw : TBits_32; inline;
  21618. begin
  21619. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21620. end;
  21621. procedure TPORTE_LATE.setLATE0; inline;
  21622. begin
  21623. pTDefRegMap(@Self)^.&set := $00000001;
  21624. end;
  21625. procedure TPORTE_LATE.clearLATE0; inline;
  21626. begin
  21627. pTDefRegMap(@Self)^.clr := $00000001;
  21628. end;
  21629. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  21630. begin
  21631. if thebits = 0 then
  21632. pTDefRegMap(@Self)^.clr := $00000001
  21633. else
  21634. pTDefRegMap(@Self)^.&set := $00000001;
  21635. end;
  21636. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  21637. begin
  21638. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21639. end;
  21640. procedure TPORTE_LATE.setLATE1; inline;
  21641. begin
  21642. pTDefRegMap(@Self)^.&set := $00000002;
  21643. end;
  21644. procedure TPORTE_LATE.clearLATE1; inline;
  21645. begin
  21646. pTDefRegMap(@Self)^.clr := $00000002;
  21647. end;
  21648. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  21649. begin
  21650. if thebits = 0 then
  21651. pTDefRegMap(@Self)^.clr := $00000002
  21652. else
  21653. pTDefRegMap(@Self)^.&set := $00000002;
  21654. end;
  21655. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  21656. begin
  21657. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21658. end;
  21659. procedure TPORTE_LATE.setLATE2; inline;
  21660. begin
  21661. pTDefRegMap(@Self)^.&set := $00000004;
  21662. end;
  21663. procedure TPORTE_LATE.clearLATE2; inline;
  21664. begin
  21665. pTDefRegMap(@Self)^.clr := $00000004;
  21666. end;
  21667. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  21668. begin
  21669. if thebits = 0 then
  21670. pTDefRegMap(@Self)^.clr := $00000004
  21671. else
  21672. pTDefRegMap(@Self)^.&set := $00000004;
  21673. end;
  21674. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  21675. begin
  21676. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21677. end;
  21678. procedure TPORTE_LATE.setLATE3; inline;
  21679. begin
  21680. pTDefRegMap(@Self)^.&set := $00000008;
  21681. end;
  21682. procedure TPORTE_LATE.clearLATE3; inline;
  21683. begin
  21684. pTDefRegMap(@Self)^.clr := $00000008;
  21685. end;
  21686. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  21687. begin
  21688. if thebits = 0 then
  21689. pTDefRegMap(@Self)^.clr := $00000008
  21690. else
  21691. pTDefRegMap(@Self)^.&set := $00000008;
  21692. end;
  21693. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  21694. begin
  21695. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21696. end;
  21697. procedure TPORTE_LATE.setLATE4; inline;
  21698. begin
  21699. pTDefRegMap(@Self)^.&set := $00000010;
  21700. end;
  21701. procedure TPORTE_LATE.clearLATE4; inline;
  21702. begin
  21703. pTDefRegMap(@Self)^.clr := $00000010;
  21704. end;
  21705. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  21706. begin
  21707. if thebits = 0 then
  21708. pTDefRegMap(@Self)^.clr := $00000010
  21709. else
  21710. pTDefRegMap(@Self)^.&set := $00000010;
  21711. end;
  21712. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  21713. begin
  21714. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21715. end;
  21716. procedure TPORTE_LATE.setLATE5; inline;
  21717. begin
  21718. pTDefRegMap(@Self)^.&set := $00000020;
  21719. end;
  21720. procedure TPORTE_LATE.clearLATE5; inline;
  21721. begin
  21722. pTDefRegMap(@Self)^.clr := $00000020;
  21723. end;
  21724. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  21725. begin
  21726. if thebits = 0 then
  21727. pTDefRegMap(@Self)^.clr := $00000020
  21728. else
  21729. pTDefRegMap(@Self)^.&set := $00000020;
  21730. end;
  21731. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  21732. begin
  21733. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21734. end;
  21735. procedure TPORTE_LATE.setLATE6; inline;
  21736. begin
  21737. pTDefRegMap(@Self)^.&set := $00000040;
  21738. end;
  21739. procedure TPORTE_LATE.clearLATE6; inline;
  21740. begin
  21741. pTDefRegMap(@Self)^.clr := $00000040;
  21742. end;
  21743. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  21744. begin
  21745. if thebits = 0 then
  21746. pTDefRegMap(@Self)^.clr := $00000040
  21747. else
  21748. pTDefRegMap(@Self)^.&set := $00000040;
  21749. end;
  21750. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  21751. begin
  21752. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21753. end;
  21754. procedure TPORTE_LATE.setLATE7; inline;
  21755. begin
  21756. pTDefRegMap(@Self)^.&set := $00000080;
  21757. end;
  21758. procedure TPORTE_LATE.clearLATE7; inline;
  21759. begin
  21760. pTDefRegMap(@Self)^.clr := $00000080;
  21761. end;
  21762. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  21763. begin
  21764. if thebits = 0 then
  21765. pTDefRegMap(@Self)^.clr := $00000080
  21766. else
  21767. pTDefRegMap(@Self)^.&set := $00000080;
  21768. end;
  21769. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  21770. begin
  21771. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21772. end;
  21773. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  21774. begin
  21775. pTDefRegMap(@Self)^.val := thebits;
  21776. end;
  21777. function TPORTE_LATE.getw : TBits_32; inline;
  21778. begin
  21779. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21780. end;
  21781. procedure TPORTE_ODCE.setODCE0; inline;
  21782. begin
  21783. pTDefRegMap(@Self)^.&set := $00000001;
  21784. end;
  21785. procedure TPORTE_ODCE.clearODCE0; inline;
  21786. begin
  21787. pTDefRegMap(@Self)^.clr := $00000001;
  21788. end;
  21789. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  21790. begin
  21791. if thebits = 0 then
  21792. pTDefRegMap(@Self)^.clr := $00000001
  21793. else
  21794. pTDefRegMap(@Self)^.&set := $00000001;
  21795. end;
  21796. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  21797. begin
  21798. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21799. end;
  21800. procedure TPORTE_ODCE.setODCE1; inline;
  21801. begin
  21802. pTDefRegMap(@Self)^.&set := $00000002;
  21803. end;
  21804. procedure TPORTE_ODCE.clearODCE1; inline;
  21805. begin
  21806. pTDefRegMap(@Self)^.clr := $00000002;
  21807. end;
  21808. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  21809. begin
  21810. if thebits = 0 then
  21811. pTDefRegMap(@Self)^.clr := $00000002
  21812. else
  21813. pTDefRegMap(@Self)^.&set := $00000002;
  21814. end;
  21815. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  21816. begin
  21817. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21818. end;
  21819. procedure TPORTE_ODCE.setODCE2; inline;
  21820. begin
  21821. pTDefRegMap(@Self)^.&set := $00000004;
  21822. end;
  21823. procedure TPORTE_ODCE.clearODCE2; inline;
  21824. begin
  21825. pTDefRegMap(@Self)^.clr := $00000004;
  21826. end;
  21827. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  21828. begin
  21829. if thebits = 0 then
  21830. pTDefRegMap(@Self)^.clr := $00000004
  21831. else
  21832. pTDefRegMap(@Self)^.&set := $00000004;
  21833. end;
  21834. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  21835. begin
  21836. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21837. end;
  21838. procedure TPORTE_ODCE.setODCE3; inline;
  21839. begin
  21840. pTDefRegMap(@Self)^.&set := $00000008;
  21841. end;
  21842. procedure TPORTE_ODCE.clearODCE3; inline;
  21843. begin
  21844. pTDefRegMap(@Self)^.clr := $00000008;
  21845. end;
  21846. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  21847. begin
  21848. if thebits = 0 then
  21849. pTDefRegMap(@Self)^.clr := $00000008
  21850. else
  21851. pTDefRegMap(@Self)^.&set := $00000008;
  21852. end;
  21853. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  21854. begin
  21855. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21856. end;
  21857. procedure TPORTE_ODCE.setODCE4; inline;
  21858. begin
  21859. pTDefRegMap(@Self)^.&set := $00000010;
  21860. end;
  21861. procedure TPORTE_ODCE.clearODCE4; inline;
  21862. begin
  21863. pTDefRegMap(@Self)^.clr := $00000010;
  21864. end;
  21865. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  21866. begin
  21867. if thebits = 0 then
  21868. pTDefRegMap(@Self)^.clr := $00000010
  21869. else
  21870. pTDefRegMap(@Self)^.&set := $00000010;
  21871. end;
  21872. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  21873. begin
  21874. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21875. end;
  21876. procedure TPORTE_ODCE.setODCE5; inline;
  21877. begin
  21878. pTDefRegMap(@Self)^.&set := $00000020;
  21879. end;
  21880. procedure TPORTE_ODCE.clearODCE5; inline;
  21881. begin
  21882. pTDefRegMap(@Self)^.clr := $00000020;
  21883. end;
  21884. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  21885. begin
  21886. if thebits = 0 then
  21887. pTDefRegMap(@Self)^.clr := $00000020
  21888. else
  21889. pTDefRegMap(@Self)^.&set := $00000020;
  21890. end;
  21891. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  21892. begin
  21893. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21894. end;
  21895. procedure TPORTE_ODCE.setODCE6; inline;
  21896. begin
  21897. pTDefRegMap(@Self)^.&set := $00000040;
  21898. end;
  21899. procedure TPORTE_ODCE.clearODCE6; inline;
  21900. begin
  21901. pTDefRegMap(@Self)^.clr := $00000040;
  21902. end;
  21903. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  21904. begin
  21905. if thebits = 0 then
  21906. pTDefRegMap(@Self)^.clr := $00000040
  21907. else
  21908. pTDefRegMap(@Self)^.&set := $00000040;
  21909. end;
  21910. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  21911. begin
  21912. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21913. end;
  21914. procedure TPORTE_ODCE.setODCE7; inline;
  21915. begin
  21916. pTDefRegMap(@Self)^.&set := $00000080;
  21917. end;
  21918. procedure TPORTE_ODCE.clearODCE7; inline;
  21919. begin
  21920. pTDefRegMap(@Self)^.clr := $00000080;
  21921. end;
  21922. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  21923. begin
  21924. if thebits = 0 then
  21925. pTDefRegMap(@Self)^.clr := $00000080
  21926. else
  21927. pTDefRegMap(@Self)^.&set := $00000080;
  21928. end;
  21929. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  21930. begin
  21931. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21932. end;
  21933. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  21934. begin
  21935. pTDefRegMap(@Self)^.val := thebits;
  21936. end;
  21937. function TPORTE_ODCE.getw : TBits_32; inline;
  21938. begin
  21939. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21940. end;
  21941. procedure TPORTF_TRISF.setTRISF0; inline;
  21942. begin
  21943. pTDefRegMap(@Self)^.&set := $00000001;
  21944. end;
  21945. procedure TPORTF_TRISF.clearTRISF0; inline;
  21946. begin
  21947. pTDefRegMap(@Self)^.clr := $00000001;
  21948. end;
  21949. procedure TPORTF_TRISF.setTRISF0(thebits : TBits_1); inline;
  21950. begin
  21951. if thebits = 0 then
  21952. pTDefRegMap(@Self)^.clr := $00000001
  21953. else
  21954. pTDefRegMap(@Self)^.&set := $00000001;
  21955. end;
  21956. function TPORTF_TRISF.getTRISF0 : TBits_1; inline;
  21957. begin
  21958. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21959. end;
  21960. procedure TPORTF_TRISF.setTRISF1; inline;
  21961. begin
  21962. pTDefRegMap(@Self)^.&set := $00000002;
  21963. end;
  21964. procedure TPORTF_TRISF.clearTRISF1; inline;
  21965. begin
  21966. pTDefRegMap(@Self)^.clr := $00000002;
  21967. end;
  21968. procedure TPORTF_TRISF.setTRISF1(thebits : TBits_1); inline;
  21969. begin
  21970. if thebits = 0 then
  21971. pTDefRegMap(@Self)^.clr := $00000002
  21972. else
  21973. pTDefRegMap(@Self)^.&set := $00000002;
  21974. end;
  21975. function TPORTF_TRISF.getTRISF1 : TBits_1; inline;
  21976. begin
  21977. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21978. end;
  21979. procedure TPORTF_TRISF.setTRISF2; inline;
  21980. begin
  21981. pTDefRegMap(@Self)^.&set := $00000004;
  21982. end;
  21983. procedure TPORTF_TRISF.clearTRISF2; inline;
  21984. begin
  21985. pTDefRegMap(@Self)^.clr := $00000004;
  21986. end;
  21987. procedure TPORTF_TRISF.setTRISF2(thebits : TBits_1); inline;
  21988. begin
  21989. if thebits = 0 then
  21990. pTDefRegMap(@Self)^.clr := $00000004
  21991. else
  21992. pTDefRegMap(@Self)^.&set := $00000004;
  21993. end;
  21994. function TPORTF_TRISF.getTRISF2 : TBits_1; inline;
  21995. begin
  21996. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21997. end;
  21998. procedure TPORTF_TRISF.setTRISF3; inline;
  21999. begin
  22000. pTDefRegMap(@Self)^.&set := $00000008;
  22001. end;
  22002. procedure TPORTF_TRISF.clearTRISF3; inline;
  22003. begin
  22004. pTDefRegMap(@Self)^.clr := $00000008;
  22005. end;
  22006. procedure TPORTF_TRISF.setTRISF3(thebits : TBits_1); inline;
  22007. begin
  22008. if thebits = 0 then
  22009. pTDefRegMap(@Self)^.clr := $00000008
  22010. else
  22011. pTDefRegMap(@Self)^.&set := $00000008;
  22012. end;
  22013. function TPORTF_TRISF.getTRISF3 : TBits_1; inline;
  22014. begin
  22015. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22016. end;
  22017. procedure TPORTF_TRISF.setTRISF4; inline;
  22018. begin
  22019. pTDefRegMap(@Self)^.&set := $00000010;
  22020. end;
  22021. procedure TPORTF_TRISF.clearTRISF4; inline;
  22022. begin
  22023. pTDefRegMap(@Self)^.clr := $00000010;
  22024. end;
  22025. procedure TPORTF_TRISF.setTRISF4(thebits : TBits_1); inline;
  22026. begin
  22027. if thebits = 0 then
  22028. pTDefRegMap(@Self)^.clr := $00000010
  22029. else
  22030. pTDefRegMap(@Self)^.&set := $00000010;
  22031. end;
  22032. function TPORTF_TRISF.getTRISF4 : TBits_1; inline;
  22033. begin
  22034. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22035. end;
  22036. procedure TPORTF_TRISF.setTRISF5; inline;
  22037. begin
  22038. pTDefRegMap(@Self)^.&set := $00000020;
  22039. end;
  22040. procedure TPORTF_TRISF.clearTRISF5; inline;
  22041. begin
  22042. pTDefRegMap(@Self)^.clr := $00000020;
  22043. end;
  22044. procedure TPORTF_TRISF.setTRISF5(thebits : TBits_1); inline;
  22045. begin
  22046. if thebits = 0 then
  22047. pTDefRegMap(@Self)^.clr := $00000020
  22048. else
  22049. pTDefRegMap(@Self)^.&set := $00000020;
  22050. end;
  22051. function TPORTF_TRISF.getTRISF5 : TBits_1; inline;
  22052. begin
  22053. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22054. end;
  22055. procedure TPORTF_TRISF.setTRISF6; inline;
  22056. begin
  22057. pTDefRegMap(@Self)^.&set := $00000040;
  22058. end;
  22059. procedure TPORTF_TRISF.clearTRISF6; inline;
  22060. begin
  22061. pTDefRegMap(@Self)^.clr := $00000040;
  22062. end;
  22063. procedure TPORTF_TRISF.setTRISF6(thebits : TBits_1); inline;
  22064. begin
  22065. if thebits = 0 then
  22066. pTDefRegMap(@Self)^.clr := $00000040
  22067. else
  22068. pTDefRegMap(@Self)^.&set := $00000040;
  22069. end;
  22070. function TPORTF_TRISF.getTRISF6 : TBits_1; inline;
  22071. begin
  22072. getTRISF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22073. end;
  22074. procedure TPORTF_TRISF.setw(thebits : TBits_32); inline;
  22075. begin
  22076. pTDefRegMap(@Self)^.val := thebits;
  22077. end;
  22078. function TPORTF_TRISF.getw : TBits_32; inline;
  22079. begin
  22080. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22081. end;
  22082. procedure TPORTF_PORTF.setRF0; inline;
  22083. begin
  22084. pTDefRegMap(@Self)^.&set := $00000001;
  22085. end;
  22086. procedure TPORTF_PORTF.clearRF0; inline;
  22087. begin
  22088. pTDefRegMap(@Self)^.clr := $00000001;
  22089. end;
  22090. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  22091. begin
  22092. if thebits = 0 then
  22093. pTDefRegMap(@Self)^.clr := $00000001
  22094. else
  22095. pTDefRegMap(@Self)^.&set := $00000001;
  22096. end;
  22097. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  22098. begin
  22099. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22100. end;
  22101. procedure TPORTF_PORTF.setRF1; inline;
  22102. begin
  22103. pTDefRegMap(@Self)^.&set := $00000002;
  22104. end;
  22105. procedure TPORTF_PORTF.clearRF1; inline;
  22106. begin
  22107. pTDefRegMap(@Self)^.clr := $00000002;
  22108. end;
  22109. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  22110. begin
  22111. if thebits = 0 then
  22112. pTDefRegMap(@Self)^.clr := $00000002
  22113. else
  22114. pTDefRegMap(@Self)^.&set := $00000002;
  22115. end;
  22116. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  22117. begin
  22118. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22119. end;
  22120. procedure TPORTF_PORTF.setRF2; inline;
  22121. begin
  22122. pTDefRegMap(@Self)^.&set := $00000004;
  22123. end;
  22124. procedure TPORTF_PORTF.clearRF2; inline;
  22125. begin
  22126. pTDefRegMap(@Self)^.clr := $00000004;
  22127. end;
  22128. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  22129. begin
  22130. if thebits = 0 then
  22131. pTDefRegMap(@Self)^.clr := $00000004
  22132. else
  22133. pTDefRegMap(@Self)^.&set := $00000004;
  22134. end;
  22135. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  22136. begin
  22137. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22138. end;
  22139. procedure TPORTF_PORTF.setRF3; inline;
  22140. begin
  22141. pTDefRegMap(@Self)^.&set := $00000008;
  22142. end;
  22143. procedure TPORTF_PORTF.clearRF3; inline;
  22144. begin
  22145. pTDefRegMap(@Self)^.clr := $00000008;
  22146. end;
  22147. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  22148. begin
  22149. if thebits = 0 then
  22150. pTDefRegMap(@Self)^.clr := $00000008
  22151. else
  22152. pTDefRegMap(@Self)^.&set := $00000008;
  22153. end;
  22154. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  22155. begin
  22156. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22157. end;
  22158. procedure TPORTF_PORTF.setRF4; inline;
  22159. begin
  22160. pTDefRegMap(@Self)^.&set := $00000010;
  22161. end;
  22162. procedure TPORTF_PORTF.clearRF4; inline;
  22163. begin
  22164. pTDefRegMap(@Self)^.clr := $00000010;
  22165. end;
  22166. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  22167. begin
  22168. if thebits = 0 then
  22169. pTDefRegMap(@Self)^.clr := $00000010
  22170. else
  22171. pTDefRegMap(@Self)^.&set := $00000010;
  22172. end;
  22173. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  22174. begin
  22175. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22176. end;
  22177. procedure TPORTF_PORTF.setRF5; inline;
  22178. begin
  22179. pTDefRegMap(@Self)^.&set := $00000020;
  22180. end;
  22181. procedure TPORTF_PORTF.clearRF5; inline;
  22182. begin
  22183. pTDefRegMap(@Self)^.clr := $00000020;
  22184. end;
  22185. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  22186. begin
  22187. if thebits = 0 then
  22188. pTDefRegMap(@Self)^.clr := $00000020
  22189. else
  22190. pTDefRegMap(@Self)^.&set := $00000020;
  22191. end;
  22192. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  22193. begin
  22194. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22195. end;
  22196. procedure TPORTF_PORTF.setRF6; inline;
  22197. begin
  22198. pTDefRegMap(@Self)^.&set := $00000040;
  22199. end;
  22200. procedure TPORTF_PORTF.clearRF6; inline;
  22201. begin
  22202. pTDefRegMap(@Self)^.clr := $00000040;
  22203. end;
  22204. procedure TPORTF_PORTF.setRF6(thebits : TBits_1); inline;
  22205. begin
  22206. if thebits = 0 then
  22207. pTDefRegMap(@Self)^.clr := $00000040
  22208. else
  22209. pTDefRegMap(@Self)^.&set := $00000040;
  22210. end;
  22211. function TPORTF_PORTF.getRF6 : TBits_1; inline;
  22212. begin
  22213. getRF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22214. end;
  22215. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  22216. begin
  22217. pTDefRegMap(@Self)^.val := thebits;
  22218. end;
  22219. function TPORTF_PORTF.getw : TBits_32; inline;
  22220. begin
  22221. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22222. end;
  22223. procedure TPORTF_LATF.setLATF0; inline;
  22224. begin
  22225. pTDefRegMap(@Self)^.&set := $00000001;
  22226. end;
  22227. procedure TPORTF_LATF.clearLATF0; inline;
  22228. begin
  22229. pTDefRegMap(@Self)^.clr := $00000001;
  22230. end;
  22231. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  22232. begin
  22233. if thebits = 0 then
  22234. pTDefRegMap(@Self)^.clr := $00000001
  22235. else
  22236. pTDefRegMap(@Self)^.&set := $00000001;
  22237. end;
  22238. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  22239. begin
  22240. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22241. end;
  22242. procedure TPORTF_LATF.setLATF1; inline;
  22243. begin
  22244. pTDefRegMap(@Self)^.&set := $00000002;
  22245. end;
  22246. procedure TPORTF_LATF.clearLATF1; inline;
  22247. begin
  22248. pTDefRegMap(@Self)^.clr := $00000002;
  22249. end;
  22250. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  22251. begin
  22252. if thebits = 0 then
  22253. pTDefRegMap(@Self)^.clr := $00000002
  22254. else
  22255. pTDefRegMap(@Self)^.&set := $00000002;
  22256. end;
  22257. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  22258. begin
  22259. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22260. end;
  22261. procedure TPORTF_LATF.setLATF2; inline;
  22262. begin
  22263. pTDefRegMap(@Self)^.&set := $00000004;
  22264. end;
  22265. procedure TPORTF_LATF.clearLATF2; inline;
  22266. begin
  22267. pTDefRegMap(@Self)^.clr := $00000004;
  22268. end;
  22269. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  22270. begin
  22271. if thebits = 0 then
  22272. pTDefRegMap(@Self)^.clr := $00000004
  22273. else
  22274. pTDefRegMap(@Self)^.&set := $00000004;
  22275. end;
  22276. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  22277. begin
  22278. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22279. end;
  22280. procedure TPORTF_LATF.setLATF3; inline;
  22281. begin
  22282. pTDefRegMap(@Self)^.&set := $00000008;
  22283. end;
  22284. procedure TPORTF_LATF.clearLATF3; inline;
  22285. begin
  22286. pTDefRegMap(@Self)^.clr := $00000008;
  22287. end;
  22288. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  22289. begin
  22290. if thebits = 0 then
  22291. pTDefRegMap(@Self)^.clr := $00000008
  22292. else
  22293. pTDefRegMap(@Self)^.&set := $00000008;
  22294. end;
  22295. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  22296. begin
  22297. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22298. end;
  22299. procedure TPORTF_LATF.setLATF4; inline;
  22300. begin
  22301. pTDefRegMap(@Self)^.&set := $00000010;
  22302. end;
  22303. procedure TPORTF_LATF.clearLATF4; inline;
  22304. begin
  22305. pTDefRegMap(@Self)^.clr := $00000010;
  22306. end;
  22307. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  22308. begin
  22309. if thebits = 0 then
  22310. pTDefRegMap(@Self)^.clr := $00000010
  22311. else
  22312. pTDefRegMap(@Self)^.&set := $00000010;
  22313. end;
  22314. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  22315. begin
  22316. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22317. end;
  22318. procedure TPORTF_LATF.setLATF5; inline;
  22319. begin
  22320. pTDefRegMap(@Self)^.&set := $00000020;
  22321. end;
  22322. procedure TPORTF_LATF.clearLATF5; inline;
  22323. begin
  22324. pTDefRegMap(@Self)^.clr := $00000020;
  22325. end;
  22326. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  22327. begin
  22328. if thebits = 0 then
  22329. pTDefRegMap(@Self)^.clr := $00000020
  22330. else
  22331. pTDefRegMap(@Self)^.&set := $00000020;
  22332. end;
  22333. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  22334. begin
  22335. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22336. end;
  22337. procedure TPORTF_LATF.setLATF6; inline;
  22338. begin
  22339. pTDefRegMap(@Self)^.&set := $00000040;
  22340. end;
  22341. procedure TPORTF_LATF.clearLATF6; inline;
  22342. begin
  22343. pTDefRegMap(@Self)^.clr := $00000040;
  22344. end;
  22345. procedure TPORTF_LATF.setLATF6(thebits : TBits_1); inline;
  22346. begin
  22347. if thebits = 0 then
  22348. pTDefRegMap(@Self)^.clr := $00000040
  22349. else
  22350. pTDefRegMap(@Self)^.&set := $00000040;
  22351. end;
  22352. function TPORTF_LATF.getLATF6 : TBits_1; inline;
  22353. begin
  22354. getLATF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22355. end;
  22356. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  22357. begin
  22358. pTDefRegMap(@Self)^.val := thebits;
  22359. end;
  22360. function TPORTF_LATF.getw : TBits_32; inline;
  22361. begin
  22362. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22363. end;
  22364. procedure TPORTF_ODCF.setODCF0; inline;
  22365. begin
  22366. pTDefRegMap(@Self)^.&set := $00000001;
  22367. end;
  22368. procedure TPORTF_ODCF.clearODCF0; inline;
  22369. begin
  22370. pTDefRegMap(@Self)^.clr := $00000001;
  22371. end;
  22372. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  22373. begin
  22374. if thebits = 0 then
  22375. pTDefRegMap(@Self)^.clr := $00000001
  22376. else
  22377. pTDefRegMap(@Self)^.&set := $00000001;
  22378. end;
  22379. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  22380. begin
  22381. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22382. end;
  22383. procedure TPORTF_ODCF.setODCF1; inline;
  22384. begin
  22385. pTDefRegMap(@Self)^.&set := $00000002;
  22386. end;
  22387. procedure TPORTF_ODCF.clearODCF1; inline;
  22388. begin
  22389. pTDefRegMap(@Self)^.clr := $00000002;
  22390. end;
  22391. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  22392. begin
  22393. if thebits = 0 then
  22394. pTDefRegMap(@Self)^.clr := $00000002
  22395. else
  22396. pTDefRegMap(@Self)^.&set := $00000002;
  22397. end;
  22398. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  22399. begin
  22400. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22401. end;
  22402. procedure TPORTF_ODCF.setODCF2; inline;
  22403. begin
  22404. pTDefRegMap(@Self)^.&set := $00000004;
  22405. end;
  22406. procedure TPORTF_ODCF.clearODCF2; inline;
  22407. begin
  22408. pTDefRegMap(@Self)^.clr := $00000004;
  22409. end;
  22410. procedure TPORTF_ODCF.setODCF2(thebits : TBits_1); inline;
  22411. begin
  22412. if thebits = 0 then
  22413. pTDefRegMap(@Self)^.clr := $00000004
  22414. else
  22415. pTDefRegMap(@Self)^.&set := $00000004;
  22416. end;
  22417. function TPORTF_ODCF.getODCF2 : TBits_1; inline;
  22418. begin
  22419. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22420. end;
  22421. procedure TPORTF_ODCF.setODCF3; inline;
  22422. begin
  22423. pTDefRegMap(@Self)^.&set := $00000008;
  22424. end;
  22425. procedure TPORTF_ODCF.clearODCF3; inline;
  22426. begin
  22427. pTDefRegMap(@Self)^.clr := $00000008;
  22428. end;
  22429. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  22430. begin
  22431. if thebits = 0 then
  22432. pTDefRegMap(@Self)^.clr := $00000008
  22433. else
  22434. pTDefRegMap(@Self)^.&set := $00000008;
  22435. end;
  22436. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  22437. begin
  22438. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22439. end;
  22440. procedure TPORTF_ODCF.setODCF4; inline;
  22441. begin
  22442. pTDefRegMap(@Self)^.&set := $00000010;
  22443. end;
  22444. procedure TPORTF_ODCF.clearODCF4; inline;
  22445. begin
  22446. pTDefRegMap(@Self)^.clr := $00000010;
  22447. end;
  22448. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  22449. begin
  22450. if thebits = 0 then
  22451. pTDefRegMap(@Self)^.clr := $00000010
  22452. else
  22453. pTDefRegMap(@Self)^.&set := $00000010;
  22454. end;
  22455. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  22456. begin
  22457. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22458. end;
  22459. procedure TPORTF_ODCF.setODCF5; inline;
  22460. begin
  22461. pTDefRegMap(@Self)^.&set := $00000020;
  22462. end;
  22463. procedure TPORTF_ODCF.clearODCF5; inline;
  22464. begin
  22465. pTDefRegMap(@Self)^.clr := $00000020;
  22466. end;
  22467. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  22468. begin
  22469. if thebits = 0 then
  22470. pTDefRegMap(@Self)^.clr := $00000020
  22471. else
  22472. pTDefRegMap(@Self)^.&set := $00000020;
  22473. end;
  22474. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  22475. begin
  22476. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22477. end;
  22478. procedure TPORTF_ODCF.setODCF6; inline;
  22479. begin
  22480. pTDefRegMap(@Self)^.&set := $00000040;
  22481. end;
  22482. procedure TPORTF_ODCF.clearODCF6; inline;
  22483. begin
  22484. pTDefRegMap(@Self)^.clr := $00000040;
  22485. end;
  22486. procedure TPORTF_ODCF.setODCF6(thebits : TBits_1); inline;
  22487. begin
  22488. if thebits = 0 then
  22489. pTDefRegMap(@Self)^.clr := $00000040
  22490. else
  22491. pTDefRegMap(@Self)^.&set := $00000040;
  22492. end;
  22493. function TPORTF_ODCF.getODCF6 : TBits_1; inline;
  22494. begin
  22495. getODCF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22496. end;
  22497. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  22498. begin
  22499. pTDefRegMap(@Self)^.val := thebits;
  22500. end;
  22501. function TPORTF_ODCF.getw : TBits_32; inline;
  22502. begin
  22503. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22504. end;
  22505. procedure TPORTG_TRISG.setTRISG2; inline;
  22506. begin
  22507. pTDefRegMap(@Self)^.&set := $00000004;
  22508. end;
  22509. procedure TPORTG_TRISG.clearTRISG2; inline;
  22510. begin
  22511. pTDefRegMap(@Self)^.clr := $00000004;
  22512. end;
  22513. procedure TPORTG_TRISG.setTRISG2(thebits : TBits_1); inline;
  22514. begin
  22515. if thebits = 0 then
  22516. pTDefRegMap(@Self)^.clr := $00000004
  22517. else
  22518. pTDefRegMap(@Self)^.&set := $00000004;
  22519. end;
  22520. function TPORTG_TRISG.getTRISG2 : TBits_1; inline;
  22521. begin
  22522. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22523. end;
  22524. procedure TPORTG_TRISG.setTRISG3; inline;
  22525. begin
  22526. pTDefRegMap(@Self)^.&set := $00000008;
  22527. end;
  22528. procedure TPORTG_TRISG.clearTRISG3; inline;
  22529. begin
  22530. pTDefRegMap(@Self)^.clr := $00000008;
  22531. end;
  22532. procedure TPORTG_TRISG.setTRISG3(thebits : TBits_1); inline;
  22533. begin
  22534. if thebits = 0 then
  22535. pTDefRegMap(@Self)^.clr := $00000008
  22536. else
  22537. pTDefRegMap(@Self)^.&set := $00000008;
  22538. end;
  22539. function TPORTG_TRISG.getTRISG3 : TBits_1; inline;
  22540. begin
  22541. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22542. end;
  22543. procedure TPORTG_TRISG.setTRISG6; inline;
  22544. begin
  22545. pTDefRegMap(@Self)^.&set := $00000040;
  22546. end;
  22547. procedure TPORTG_TRISG.clearTRISG6; inline;
  22548. begin
  22549. pTDefRegMap(@Self)^.clr := $00000040;
  22550. end;
  22551. procedure TPORTG_TRISG.setTRISG6(thebits : TBits_1); inline;
  22552. begin
  22553. if thebits = 0 then
  22554. pTDefRegMap(@Self)^.clr := $00000040
  22555. else
  22556. pTDefRegMap(@Self)^.&set := $00000040;
  22557. end;
  22558. function TPORTG_TRISG.getTRISG6 : TBits_1; inline;
  22559. begin
  22560. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22561. end;
  22562. procedure TPORTG_TRISG.setTRISG7; inline;
  22563. begin
  22564. pTDefRegMap(@Self)^.&set := $00000080;
  22565. end;
  22566. procedure TPORTG_TRISG.clearTRISG7; inline;
  22567. begin
  22568. pTDefRegMap(@Self)^.clr := $00000080;
  22569. end;
  22570. procedure TPORTG_TRISG.setTRISG7(thebits : TBits_1); inline;
  22571. begin
  22572. if thebits = 0 then
  22573. pTDefRegMap(@Self)^.clr := $00000080
  22574. else
  22575. pTDefRegMap(@Self)^.&set := $00000080;
  22576. end;
  22577. function TPORTG_TRISG.getTRISG7 : TBits_1; inline;
  22578. begin
  22579. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22580. end;
  22581. procedure TPORTG_TRISG.setTRISG8; inline;
  22582. begin
  22583. pTDefRegMap(@Self)^.&set := $00000100;
  22584. end;
  22585. procedure TPORTG_TRISG.clearTRISG8; inline;
  22586. begin
  22587. pTDefRegMap(@Self)^.clr := $00000100;
  22588. end;
  22589. procedure TPORTG_TRISG.setTRISG8(thebits : TBits_1); inline;
  22590. begin
  22591. if thebits = 0 then
  22592. pTDefRegMap(@Self)^.clr := $00000100
  22593. else
  22594. pTDefRegMap(@Self)^.&set := $00000100;
  22595. end;
  22596. function TPORTG_TRISG.getTRISG8 : TBits_1; inline;
  22597. begin
  22598. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22599. end;
  22600. procedure TPORTG_TRISG.setTRISG9; inline;
  22601. begin
  22602. pTDefRegMap(@Self)^.&set := $00000200;
  22603. end;
  22604. procedure TPORTG_TRISG.clearTRISG9; inline;
  22605. begin
  22606. pTDefRegMap(@Self)^.clr := $00000200;
  22607. end;
  22608. procedure TPORTG_TRISG.setTRISG9(thebits : TBits_1); inline;
  22609. begin
  22610. if thebits = 0 then
  22611. pTDefRegMap(@Self)^.clr := $00000200
  22612. else
  22613. pTDefRegMap(@Self)^.&set := $00000200;
  22614. end;
  22615. function TPORTG_TRISG.getTRISG9 : TBits_1; inline;
  22616. begin
  22617. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22618. end;
  22619. procedure TPORTG_TRISG.setw(thebits : TBits_32); inline;
  22620. begin
  22621. pTDefRegMap(@Self)^.val := thebits;
  22622. end;
  22623. function TPORTG_TRISG.getw : TBits_32; inline;
  22624. begin
  22625. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22626. end;
  22627. procedure TPORTG_PORTG.setRG2; inline;
  22628. begin
  22629. pTDefRegMap(@Self)^.&set := $00000004;
  22630. end;
  22631. procedure TPORTG_PORTG.clearRG2; inline;
  22632. begin
  22633. pTDefRegMap(@Self)^.clr := $00000004;
  22634. end;
  22635. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  22636. begin
  22637. if thebits = 0 then
  22638. pTDefRegMap(@Self)^.clr := $00000004
  22639. else
  22640. pTDefRegMap(@Self)^.&set := $00000004;
  22641. end;
  22642. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  22643. begin
  22644. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22645. end;
  22646. procedure TPORTG_PORTG.setRG3; inline;
  22647. begin
  22648. pTDefRegMap(@Self)^.&set := $00000008;
  22649. end;
  22650. procedure TPORTG_PORTG.clearRG3; inline;
  22651. begin
  22652. pTDefRegMap(@Self)^.clr := $00000008;
  22653. end;
  22654. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  22655. begin
  22656. if thebits = 0 then
  22657. pTDefRegMap(@Self)^.clr := $00000008
  22658. else
  22659. pTDefRegMap(@Self)^.&set := $00000008;
  22660. end;
  22661. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  22662. begin
  22663. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22664. end;
  22665. procedure TPORTG_PORTG.setRG6; inline;
  22666. begin
  22667. pTDefRegMap(@Self)^.&set := $00000040;
  22668. end;
  22669. procedure TPORTG_PORTG.clearRG6; inline;
  22670. begin
  22671. pTDefRegMap(@Self)^.clr := $00000040;
  22672. end;
  22673. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  22674. begin
  22675. if thebits = 0 then
  22676. pTDefRegMap(@Self)^.clr := $00000040
  22677. else
  22678. pTDefRegMap(@Self)^.&set := $00000040;
  22679. end;
  22680. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  22681. begin
  22682. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22683. end;
  22684. procedure TPORTG_PORTG.setRG7; inline;
  22685. begin
  22686. pTDefRegMap(@Self)^.&set := $00000080;
  22687. end;
  22688. procedure TPORTG_PORTG.clearRG7; inline;
  22689. begin
  22690. pTDefRegMap(@Self)^.clr := $00000080;
  22691. end;
  22692. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  22693. begin
  22694. if thebits = 0 then
  22695. pTDefRegMap(@Self)^.clr := $00000080
  22696. else
  22697. pTDefRegMap(@Self)^.&set := $00000080;
  22698. end;
  22699. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  22700. begin
  22701. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22702. end;
  22703. procedure TPORTG_PORTG.setRG8; inline;
  22704. begin
  22705. pTDefRegMap(@Self)^.&set := $00000100;
  22706. end;
  22707. procedure TPORTG_PORTG.clearRG8; inline;
  22708. begin
  22709. pTDefRegMap(@Self)^.clr := $00000100;
  22710. end;
  22711. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  22712. begin
  22713. if thebits = 0 then
  22714. pTDefRegMap(@Self)^.clr := $00000100
  22715. else
  22716. pTDefRegMap(@Self)^.&set := $00000100;
  22717. end;
  22718. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  22719. begin
  22720. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22721. end;
  22722. procedure TPORTG_PORTG.setRG9; inline;
  22723. begin
  22724. pTDefRegMap(@Self)^.&set := $00000200;
  22725. end;
  22726. procedure TPORTG_PORTG.clearRG9; inline;
  22727. begin
  22728. pTDefRegMap(@Self)^.clr := $00000200;
  22729. end;
  22730. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  22731. begin
  22732. if thebits = 0 then
  22733. pTDefRegMap(@Self)^.clr := $00000200
  22734. else
  22735. pTDefRegMap(@Self)^.&set := $00000200;
  22736. end;
  22737. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  22738. begin
  22739. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22740. end;
  22741. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  22742. begin
  22743. pTDefRegMap(@Self)^.val := thebits;
  22744. end;
  22745. function TPORTG_PORTG.getw : TBits_32; inline;
  22746. begin
  22747. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22748. end;
  22749. procedure TPORTG_LATG.setLATG2; inline;
  22750. begin
  22751. pTDefRegMap(@Self)^.&set := $00000004;
  22752. end;
  22753. procedure TPORTG_LATG.clearLATG2; inline;
  22754. begin
  22755. pTDefRegMap(@Self)^.clr := $00000004;
  22756. end;
  22757. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  22758. begin
  22759. if thebits = 0 then
  22760. pTDefRegMap(@Self)^.clr := $00000004
  22761. else
  22762. pTDefRegMap(@Self)^.&set := $00000004;
  22763. end;
  22764. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  22765. begin
  22766. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22767. end;
  22768. procedure TPORTG_LATG.setLATG3; inline;
  22769. begin
  22770. pTDefRegMap(@Self)^.&set := $00000008;
  22771. end;
  22772. procedure TPORTG_LATG.clearLATG3; inline;
  22773. begin
  22774. pTDefRegMap(@Self)^.clr := $00000008;
  22775. end;
  22776. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  22777. begin
  22778. if thebits = 0 then
  22779. pTDefRegMap(@Self)^.clr := $00000008
  22780. else
  22781. pTDefRegMap(@Self)^.&set := $00000008;
  22782. end;
  22783. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  22784. begin
  22785. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22786. end;
  22787. procedure TPORTG_LATG.setLATG6; inline;
  22788. begin
  22789. pTDefRegMap(@Self)^.&set := $00000040;
  22790. end;
  22791. procedure TPORTG_LATG.clearLATG6; inline;
  22792. begin
  22793. pTDefRegMap(@Self)^.clr := $00000040;
  22794. end;
  22795. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  22796. begin
  22797. if thebits = 0 then
  22798. pTDefRegMap(@Self)^.clr := $00000040
  22799. else
  22800. pTDefRegMap(@Self)^.&set := $00000040;
  22801. end;
  22802. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  22803. begin
  22804. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22805. end;
  22806. procedure TPORTG_LATG.setLATG7; inline;
  22807. begin
  22808. pTDefRegMap(@Self)^.&set := $00000080;
  22809. end;
  22810. procedure TPORTG_LATG.clearLATG7; inline;
  22811. begin
  22812. pTDefRegMap(@Self)^.clr := $00000080;
  22813. end;
  22814. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  22815. begin
  22816. if thebits = 0 then
  22817. pTDefRegMap(@Self)^.clr := $00000080
  22818. else
  22819. pTDefRegMap(@Self)^.&set := $00000080;
  22820. end;
  22821. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  22822. begin
  22823. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22824. end;
  22825. procedure TPORTG_LATG.setLATG8; inline;
  22826. begin
  22827. pTDefRegMap(@Self)^.&set := $00000100;
  22828. end;
  22829. procedure TPORTG_LATG.clearLATG8; inline;
  22830. begin
  22831. pTDefRegMap(@Self)^.clr := $00000100;
  22832. end;
  22833. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  22834. begin
  22835. if thebits = 0 then
  22836. pTDefRegMap(@Self)^.clr := $00000100
  22837. else
  22838. pTDefRegMap(@Self)^.&set := $00000100;
  22839. end;
  22840. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  22841. begin
  22842. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22843. end;
  22844. procedure TPORTG_LATG.setLATG9; inline;
  22845. begin
  22846. pTDefRegMap(@Self)^.&set := $00000200;
  22847. end;
  22848. procedure TPORTG_LATG.clearLATG9; inline;
  22849. begin
  22850. pTDefRegMap(@Self)^.clr := $00000200;
  22851. end;
  22852. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  22853. begin
  22854. if thebits = 0 then
  22855. pTDefRegMap(@Self)^.clr := $00000200
  22856. else
  22857. pTDefRegMap(@Self)^.&set := $00000200;
  22858. end;
  22859. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  22860. begin
  22861. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22862. end;
  22863. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  22864. begin
  22865. pTDefRegMap(@Self)^.val := thebits;
  22866. end;
  22867. function TPORTG_LATG.getw : TBits_32; inline;
  22868. begin
  22869. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22870. end;
  22871. procedure TPORTG_ODCG.setODCG2; inline;
  22872. begin
  22873. pTDefRegMap(@Self)^.&set := $00000004;
  22874. end;
  22875. procedure TPORTG_ODCG.clearODCG2; inline;
  22876. begin
  22877. pTDefRegMap(@Self)^.clr := $00000004;
  22878. end;
  22879. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  22880. begin
  22881. if thebits = 0 then
  22882. pTDefRegMap(@Self)^.clr := $00000004
  22883. else
  22884. pTDefRegMap(@Self)^.&set := $00000004;
  22885. end;
  22886. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  22887. begin
  22888. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22889. end;
  22890. procedure TPORTG_ODCG.setODCG3; inline;
  22891. begin
  22892. pTDefRegMap(@Self)^.&set := $00000008;
  22893. end;
  22894. procedure TPORTG_ODCG.clearODCG3; inline;
  22895. begin
  22896. pTDefRegMap(@Self)^.clr := $00000008;
  22897. end;
  22898. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  22899. begin
  22900. if thebits = 0 then
  22901. pTDefRegMap(@Self)^.clr := $00000008
  22902. else
  22903. pTDefRegMap(@Self)^.&set := $00000008;
  22904. end;
  22905. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  22906. begin
  22907. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22908. end;
  22909. procedure TPORTG_ODCG.setODCG6; inline;
  22910. begin
  22911. pTDefRegMap(@Self)^.&set := $00000040;
  22912. end;
  22913. procedure TPORTG_ODCG.clearODCG6; inline;
  22914. begin
  22915. pTDefRegMap(@Self)^.clr := $00000040;
  22916. end;
  22917. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  22918. begin
  22919. if thebits = 0 then
  22920. pTDefRegMap(@Self)^.clr := $00000040
  22921. else
  22922. pTDefRegMap(@Self)^.&set := $00000040;
  22923. end;
  22924. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  22925. begin
  22926. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22927. end;
  22928. procedure TPORTG_ODCG.setODCG7; inline;
  22929. begin
  22930. pTDefRegMap(@Self)^.&set := $00000080;
  22931. end;
  22932. procedure TPORTG_ODCG.clearODCG7; inline;
  22933. begin
  22934. pTDefRegMap(@Self)^.clr := $00000080;
  22935. end;
  22936. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  22937. begin
  22938. if thebits = 0 then
  22939. pTDefRegMap(@Self)^.clr := $00000080
  22940. else
  22941. pTDefRegMap(@Self)^.&set := $00000080;
  22942. end;
  22943. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  22944. begin
  22945. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22946. end;
  22947. procedure TPORTG_ODCG.setODCG8; inline;
  22948. begin
  22949. pTDefRegMap(@Self)^.&set := $00000100;
  22950. end;
  22951. procedure TPORTG_ODCG.clearODCG8; inline;
  22952. begin
  22953. pTDefRegMap(@Self)^.clr := $00000100;
  22954. end;
  22955. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  22956. begin
  22957. if thebits = 0 then
  22958. pTDefRegMap(@Self)^.clr := $00000100
  22959. else
  22960. pTDefRegMap(@Self)^.&set := $00000100;
  22961. end;
  22962. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  22963. begin
  22964. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22965. end;
  22966. procedure TPORTG_ODCG.setODCG9; inline;
  22967. begin
  22968. pTDefRegMap(@Self)^.&set := $00000200;
  22969. end;
  22970. procedure TPORTG_ODCG.clearODCG9; inline;
  22971. begin
  22972. pTDefRegMap(@Self)^.clr := $00000200;
  22973. end;
  22974. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  22975. begin
  22976. if thebits = 0 then
  22977. pTDefRegMap(@Self)^.clr := $00000200
  22978. else
  22979. pTDefRegMap(@Self)^.&set := $00000200;
  22980. end;
  22981. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  22982. begin
  22983. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22984. end;
  22985. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  22986. begin
  22987. pTDefRegMap(@Self)^.val := thebits;
  22988. end;
  22989. function TPORTG_ODCG.getw : TBits_32; inline;
  22990. begin
  22991. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22992. end;
  22993. procedure TPORTG_CNCON.setSIDL; inline;
  22994. begin
  22995. pTDefRegMap(@Self)^.&set := $00002000;
  22996. end;
  22997. procedure TPORTG_CNCON.clearSIDL; inline;
  22998. begin
  22999. pTDefRegMap(@Self)^.clr := $00002000;
  23000. end;
  23001. procedure TPORTG_CNCON.setSIDL(thebits : TBits_1); inline;
  23002. begin
  23003. if thebits = 0 then
  23004. pTDefRegMap(@Self)^.clr := $00002000
  23005. else
  23006. pTDefRegMap(@Self)^.&set := $00002000;
  23007. end;
  23008. function TPORTG_CNCON.getSIDL : TBits_1; inline;
  23009. begin
  23010. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23011. end;
  23012. procedure TPORTG_CNCON.setON; inline;
  23013. begin
  23014. pTDefRegMap(@Self)^.&set := $00008000;
  23015. end;
  23016. procedure TPORTG_CNCON.clearON; inline;
  23017. begin
  23018. pTDefRegMap(@Self)^.clr := $00008000;
  23019. end;
  23020. procedure TPORTG_CNCON.setON(thebits : TBits_1); inline;
  23021. begin
  23022. if thebits = 0 then
  23023. pTDefRegMap(@Self)^.clr := $00008000
  23024. else
  23025. pTDefRegMap(@Self)^.&set := $00008000;
  23026. end;
  23027. function TPORTG_CNCON.getON : TBits_1; inline;
  23028. begin
  23029. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23030. end;
  23031. procedure TPORTG_CNCON.setw(thebits : TBits_32); inline;
  23032. begin
  23033. pTDefRegMap(@Self)^.val := thebits;
  23034. end;
  23035. function TPORTG_CNCON.getw : TBits_32; inline;
  23036. begin
  23037. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23038. end;
  23039. procedure TPORTG_CNEN.setCNEN0; inline;
  23040. begin
  23041. pTDefRegMap(@Self)^.&set := $00000001;
  23042. end;
  23043. procedure TPORTG_CNEN.clearCNEN0; inline;
  23044. begin
  23045. pTDefRegMap(@Self)^.clr := $00000001;
  23046. end;
  23047. procedure TPORTG_CNEN.setCNEN0(thebits : TBits_1); inline;
  23048. begin
  23049. if thebits = 0 then
  23050. pTDefRegMap(@Self)^.clr := $00000001
  23051. else
  23052. pTDefRegMap(@Self)^.&set := $00000001;
  23053. end;
  23054. function TPORTG_CNEN.getCNEN0 : TBits_1; inline;
  23055. begin
  23056. getCNEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23057. end;
  23058. procedure TPORTG_CNEN.setCNEN1; inline;
  23059. begin
  23060. pTDefRegMap(@Self)^.&set := $00000002;
  23061. end;
  23062. procedure TPORTG_CNEN.clearCNEN1; inline;
  23063. begin
  23064. pTDefRegMap(@Self)^.clr := $00000002;
  23065. end;
  23066. procedure TPORTG_CNEN.setCNEN1(thebits : TBits_1); inline;
  23067. begin
  23068. if thebits = 0 then
  23069. pTDefRegMap(@Self)^.clr := $00000002
  23070. else
  23071. pTDefRegMap(@Self)^.&set := $00000002;
  23072. end;
  23073. function TPORTG_CNEN.getCNEN1 : TBits_1; inline;
  23074. begin
  23075. getCNEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23076. end;
  23077. procedure TPORTG_CNEN.setCNEN2; inline;
  23078. begin
  23079. pTDefRegMap(@Self)^.&set := $00000004;
  23080. end;
  23081. procedure TPORTG_CNEN.clearCNEN2; inline;
  23082. begin
  23083. pTDefRegMap(@Self)^.clr := $00000004;
  23084. end;
  23085. procedure TPORTG_CNEN.setCNEN2(thebits : TBits_1); inline;
  23086. begin
  23087. if thebits = 0 then
  23088. pTDefRegMap(@Self)^.clr := $00000004
  23089. else
  23090. pTDefRegMap(@Self)^.&set := $00000004;
  23091. end;
  23092. function TPORTG_CNEN.getCNEN2 : TBits_1; inline;
  23093. begin
  23094. getCNEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23095. end;
  23096. procedure TPORTG_CNEN.setCNEN3; inline;
  23097. begin
  23098. pTDefRegMap(@Self)^.&set := $00000008;
  23099. end;
  23100. procedure TPORTG_CNEN.clearCNEN3; inline;
  23101. begin
  23102. pTDefRegMap(@Self)^.clr := $00000008;
  23103. end;
  23104. procedure TPORTG_CNEN.setCNEN3(thebits : TBits_1); inline;
  23105. begin
  23106. if thebits = 0 then
  23107. pTDefRegMap(@Self)^.clr := $00000008
  23108. else
  23109. pTDefRegMap(@Self)^.&set := $00000008;
  23110. end;
  23111. function TPORTG_CNEN.getCNEN3 : TBits_1; inline;
  23112. begin
  23113. getCNEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23114. end;
  23115. procedure TPORTG_CNEN.setCNEN4; inline;
  23116. begin
  23117. pTDefRegMap(@Self)^.&set := $00000010;
  23118. end;
  23119. procedure TPORTG_CNEN.clearCNEN4; inline;
  23120. begin
  23121. pTDefRegMap(@Self)^.clr := $00000010;
  23122. end;
  23123. procedure TPORTG_CNEN.setCNEN4(thebits : TBits_1); inline;
  23124. begin
  23125. if thebits = 0 then
  23126. pTDefRegMap(@Self)^.clr := $00000010
  23127. else
  23128. pTDefRegMap(@Self)^.&set := $00000010;
  23129. end;
  23130. function TPORTG_CNEN.getCNEN4 : TBits_1; inline;
  23131. begin
  23132. getCNEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23133. end;
  23134. procedure TPORTG_CNEN.setCNEN5; inline;
  23135. begin
  23136. pTDefRegMap(@Self)^.&set := $00000020;
  23137. end;
  23138. procedure TPORTG_CNEN.clearCNEN5; inline;
  23139. begin
  23140. pTDefRegMap(@Self)^.clr := $00000020;
  23141. end;
  23142. procedure TPORTG_CNEN.setCNEN5(thebits : TBits_1); inline;
  23143. begin
  23144. if thebits = 0 then
  23145. pTDefRegMap(@Self)^.clr := $00000020
  23146. else
  23147. pTDefRegMap(@Self)^.&set := $00000020;
  23148. end;
  23149. function TPORTG_CNEN.getCNEN5 : TBits_1; inline;
  23150. begin
  23151. getCNEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23152. end;
  23153. procedure TPORTG_CNEN.setCNEN6; inline;
  23154. begin
  23155. pTDefRegMap(@Self)^.&set := $00000040;
  23156. end;
  23157. procedure TPORTG_CNEN.clearCNEN6; inline;
  23158. begin
  23159. pTDefRegMap(@Self)^.clr := $00000040;
  23160. end;
  23161. procedure TPORTG_CNEN.setCNEN6(thebits : TBits_1); inline;
  23162. begin
  23163. if thebits = 0 then
  23164. pTDefRegMap(@Self)^.clr := $00000040
  23165. else
  23166. pTDefRegMap(@Self)^.&set := $00000040;
  23167. end;
  23168. function TPORTG_CNEN.getCNEN6 : TBits_1; inline;
  23169. begin
  23170. getCNEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23171. end;
  23172. procedure TPORTG_CNEN.setCNEN7; inline;
  23173. begin
  23174. pTDefRegMap(@Self)^.&set := $00000080;
  23175. end;
  23176. procedure TPORTG_CNEN.clearCNEN7; inline;
  23177. begin
  23178. pTDefRegMap(@Self)^.clr := $00000080;
  23179. end;
  23180. procedure TPORTG_CNEN.setCNEN7(thebits : TBits_1); inline;
  23181. begin
  23182. if thebits = 0 then
  23183. pTDefRegMap(@Self)^.clr := $00000080
  23184. else
  23185. pTDefRegMap(@Self)^.&set := $00000080;
  23186. end;
  23187. function TPORTG_CNEN.getCNEN7 : TBits_1; inline;
  23188. begin
  23189. getCNEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23190. end;
  23191. procedure TPORTG_CNEN.setCNEN8; inline;
  23192. begin
  23193. pTDefRegMap(@Self)^.&set := $00000100;
  23194. end;
  23195. procedure TPORTG_CNEN.clearCNEN8; inline;
  23196. begin
  23197. pTDefRegMap(@Self)^.clr := $00000100;
  23198. end;
  23199. procedure TPORTG_CNEN.setCNEN8(thebits : TBits_1); inline;
  23200. begin
  23201. if thebits = 0 then
  23202. pTDefRegMap(@Self)^.clr := $00000100
  23203. else
  23204. pTDefRegMap(@Self)^.&set := $00000100;
  23205. end;
  23206. function TPORTG_CNEN.getCNEN8 : TBits_1; inline;
  23207. begin
  23208. getCNEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23209. end;
  23210. procedure TPORTG_CNEN.setCNEN9; inline;
  23211. begin
  23212. pTDefRegMap(@Self)^.&set := $00000200;
  23213. end;
  23214. procedure TPORTG_CNEN.clearCNEN9; inline;
  23215. begin
  23216. pTDefRegMap(@Self)^.clr := $00000200;
  23217. end;
  23218. procedure TPORTG_CNEN.setCNEN9(thebits : TBits_1); inline;
  23219. begin
  23220. if thebits = 0 then
  23221. pTDefRegMap(@Self)^.clr := $00000200
  23222. else
  23223. pTDefRegMap(@Self)^.&set := $00000200;
  23224. end;
  23225. function TPORTG_CNEN.getCNEN9 : TBits_1; inline;
  23226. begin
  23227. getCNEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23228. end;
  23229. procedure TPORTG_CNEN.setCNEN10; inline;
  23230. begin
  23231. pTDefRegMap(@Self)^.&set := $00000400;
  23232. end;
  23233. procedure TPORTG_CNEN.clearCNEN10; inline;
  23234. begin
  23235. pTDefRegMap(@Self)^.clr := $00000400;
  23236. end;
  23237. procedure TPORTG_CNEN.setCNEN10(thebits : TBits_1); inline;
  23238. begin
  23239. if thebits = 0 then
  23240. pTDefRegMap(@Self)^.clr := $00000400
  23241. else
  23242. pTDefRegMap(@Self)^.&set := $00000400;
  23243. end;
  23244. function TPORTG_CNEN.getCNEN10 : TBits_1; inline;
  23245. begin
  23246. getCNEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23247. end;
  23248. procedure TPORTG_CNEN.setCNEN11; inline;
  23249. begin
  23250. pTDefRegMap(@Self)^.&set := $00000800;
  23251. end;
  23252. procedure TPORTG_CNEN.clearCNEN11; inline;
  23253. begin
  23254. pTDefRegMap(@Self)^.clr := $00000800;
  23255. end;
  23256. procedure TPORTG_CNEN.setCNEN11(thebits : TBits_1); inline;
  23257. begin
  23258. if thebits = 0 then
  23259. pTDefRegMap(@Self)^.clr := $00000800
  23260. else
  23261. pTDefRegMap(@Self)^.&set := $00000800;
  23262. end;
  23263. function TPORTG_CNEN.getCNEN11 : TBits_1; inline;
  23264. begin
  23265. getCNEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23266. end;
  23267. procedure TPORTG_CNEN.setCNEN12; inline;
  23268. begin
  23269. pTDefRegMap(@Self)^.&set := $00001000;
  23270. end;
  23271. procedure TPORTG_CNEN.clearCNEN12; inline;
  23272. begin
  23273. pTDefRegMap(@Self)^.clr := $00001000;
  23274. end;
  23275. procedure TPORTG_CNEN.setCNEN12(thebits : TBits_1); inline;
  23276. begin
  23277. if thebits = 0 then
  23278. pTDefRegMap(@Self)^.clr := $00001000
  23279. else
  23280. pTDefRegMap(@Self)^.&set := $00001000;
  23281. end;
  23282. function TPORTG_CNEN.getCNEN12 : TBits_1; inline;
  23283. begin
  23284. getCNEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23285. end;
  23286. procedure TPORTG_CNEN.setCNEN13; inline;
  23287. begin
  23288. pTDefRegMap(@Self)^.&set := $00002000;
  23289. end;
  23290. procedure TPORTG_CNEN.clearCNEN13; inline;
  23291. begin
  23292. pTDefRegMap(@Self)^.clr := $00002000;
  23293. end;
  23294. procedure TPORTG_CNEN.setCNEN13(thebits : TBits_1); inline;
  23295. begin
  23296. if thebits = 0 then
  23297. pTDefRegMap(@Self)^.clr := $00002000
  23298. else
  23299. pTDefRegMap(@Self)^.&set := $00002000;
  23300. end;
  23301. function TPORTG_CNEN.getCNEN13 : TBits_1; inline;
  23302. begin
  23303. getCNEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23304. end;
  23305. procedure TPORTG_CNEN.setCNEN14; inline;
  23306. begin
  23307. pTDefRegMap(@Self)^.&set := $00004000;
  23308. end;
  23309. procedure TPORTG_CNEN.clearCNEN14; inline;
  23310. begin
  23311. pTDefRegMap(@Self)^.clr := $00004000;
  23312. end;
  23313. procedure TPORTG_CNEN.setCNEN14(thebits : TBits_1); inline;
  23314. begin
  23315. if thebits = 0 then
  23316. pTDefRegMap(@Self)^.clr := $00004000
  23317. else
  23318. pTDefRegMap(@Self)^.&set := $00004000;
  23319. end;
  23320. function TPORTG_CNEN.getCNEN14 : TBits_1; inline;
  23321. begin
  23322. getCNEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23323. end;
  23324. procedure TPORTG_CNEN.setCNEN15; inline;
  23325. begin
  23326. pTDefRegMap(@Self)^.&set := $00008000;
  23327. end;
  23328. procedure TPORTG_CNEN.clearCNEN15; inline;
  23329. begin
  23330. pTDefRegMap(@Self)^.clr := $00008000;
  23331. end;
  23332. procedure TPORTG_CNEN.setCNEN15(thebits : TBits_1); inline;
  23333. begin
  23334. if thebits = 0 then
  23335. pTDefRegMap(@Self)^.clr := $00008000
  23336. else
  23337. pTDefRegMap(@Self)^.&set := $00008000;
  23338. end;
  23339. function TPORTG_CNEN.getCNEN15 : TBits_1; inline;
  23340. begin
  23341. getCNEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23342. end;
  23343. procedure TPORTG_CNEN.setCNEN16; inline;
  23344. begin
  23345. pTDefRegMap(@Self)^.&set := $00010000;
  23346. end;
  23347. procedure TPORTG_CNEN.clearCNEN16; inline;
  23348. begin
  23349. pTDefRegMap(@Self)^.clr := $00010000;
  23350. end;
  23351. procedure TPORTG_CNEN.setCNEN16(thebits : TBits_1); inline;
  23352. begin
  23353. if thebits = 0 then
  23354. pTDefRegMap(@Self)^.clr := $00010000
  23355. else
  23356. pTDefRegMap(@Self)^.&set := $00010000;
  23357. end;
  23358. function TPORTG_CNEN.getCNEN16 : TBits_1; inline;
  23359. begin
  23360. getCNEN16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  23361. end;
  23362. procedure TPORTG_CNEN.setCNEN17; inline;
  23363. begin
  23364. pTDefRegMap(@Self)^.&set := $00020000;
  23365. end;
  23366. procedure TPORTG_CNEN.clearCNEN17; inline;
  23367. begin
  23368. pTDefRegMap(@Self)^.clr := $00020000;
  23369. end;
  23370. procedure TPORTG_CNEN.setCNEN17(thebits : TBits_1); inline;
  23371. begin
  23372. if thebits = 0 then
  23373. pTDefRegMap(@Self)^.clr := $00020000
  23374. else
  23375. pTDefRegMap(@Self)^.&set := $00020000;
  23376. end;
  23377. function TPORTG_CNEN.getCNEN17 : TBits_1; inline;
  23378. begin
  23379. getCNEN17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  23380. end;
  23381. procedure TPORTG_CNEN.setCNEN18; inline;
  23382. begin
  23383. pTDefRegMap(@Self)^.&set := $00040000;
  23384. end;
  23385. procedure TPORTG_CNEN.clearCNEN18; inline;
  23386. begin
  23387. pTDefRegMap(@Self)^.clr := $00040000;
  23388. end;
  23389. procedure TPORTG_CNEN.setCNEN18(thebits : TBits_1); inline;
  23390. begin
  23391. if thebits = 0 then
  23392. pTDefRegMap(@Self)^.clr := $00040000
  23393. else
  23394. pTDefRegMap(@Self)^.&set := $00040000;
  23395. end;
  23396. function TPORTG_CNEN.getCNEN18 : TBits_1; inline;
  23397. begin
  23398. getCNEN18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  23399. end;
  23400. procedure TPORTG_CNEN.setw(thebits : TBits_32); inline;
  23401. begin
  23402. pTDefRegMap(@Self)^.val := thebits;
  23403. end;
  23404. function TPORTG_CNEN.getw : TBits_32; inline;
  23405. begin
  23406. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23407. end;
  23408. procedure TPORTG_CNPUE.setCNPUE0; inline;
  23409. begin
  23410. pTDefRegMap(@Self)^.&set := $00000001;
  23411. end;
  23412. procedure TPORTG_CNPUE.clearCNPUE0; inline;
  23413. begin
  23414. pTDefRegMap(@Self)^.clr := $00000001;
  23415. end;
  23416. procedure TPORTG_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  23417. begin
  23418. if thebits = 0 then
  23419. pTDefRegMap(@Self)^.clr := $00000001
  23420. else
  23421. pTDefRegMap(@Self)^.&set := $00000001;
  23422. end;
  23423. function TPORTG_CNPUE.getCNPUE0 : TBits_1; inline;
  23424. begin
  23425. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23426. end;
  23427. procedure TPORTG_CNPUE.setCNPUE1; inline;
  23428. begin
  23429. pTDefRegMap(@Self)^.&set := $00000002;
  23430. end;
  23431. procedure TPORTG_CNPUE.clearCNPUE1; inline;
  23432. begin
  23433. pTDefRegMap(@Self)^.clr := $00000002;
  23434. end;
  23435. procedure TPORTG_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  23436. begin
  23437. if thebits = 0 then
  23438. pTDefRegMap(@Self)^.clr := $00000002
  23439. else
  23440. pTDefRegMap(@Self)^.&set := $00000002;
  23441. end;
  23442. function TPORTG_CNPUE.getCNPUE1 : TBits_1; inline;
  23443. begin
  23444. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23445. end;
  23446. procedure TPORTG_CNPUE.setCNPUE2; inline;
  23447. begin
  23448. pTDefRegMap(@Self)^.&set := $00000004;
  23449. end;
  23450. procedure TPORTG_CNPUE.clearCNPUE2; inline;
  23451. begin
  23452. pTDefRegMap(@Self)^.clr := $00000004;
  23453. end;
  23454. procedure TPORTG_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  23455. begin
  23456. if thebits = 0 then
  23457. pTDefRegMap(@Self)^.clr := $00000004
  23458. else
  23459. pTDefRegMap(@Self)^.&set := $00000004;
  23460. end;
  23461. function TPORTG_CNPUE.getCNPUE2 : TBits_1; inline;
  23462. begin
  23463. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23464. end;
  23465. procedure TPORTG_CNPUE.setCNPUE3; inline;
  23466. begin
  23467. pTDefRegMap(@Self)^.&set := $00000008;
  23468. end;
  23469. procedure TPORTG_CNPUE.clearCNPUE3; inline;
  23470. begin
  23471. pTDefRegMap(@Self)^.clr := $00000008;
  23472. end;
  23473. procedure TPORTG_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  23474. begin
  23475. if thebits = 0 then
  23476. pTDefRegMap(@Self)^.clr := $00000008
  23477. else
  23478. pTDefRegMap(@Self)^.&set := $00000008;
  23479. end;
  23480. function TPORTG_CNPUE.getCNPUE3 : TBits_1; inline;
  23481. begin
  23482. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23483. end;
  23484. procedure TPORTG_CNPUE.setCNPUE4; inline;
  23485. begin
  23486. pTDefRegMap(@Self)^.&set := $00000010;
  23487. end;
  23488. procedure TPORTG_CNPUE.clearCNPUE4; inline;
  23489. begin
  23490. pTDefRegMap(@Self)^.clr := $00000010;
  23491. end;
  23492. procedure TPORTG_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  23493. begin
  23494. if thebits = 0 then
  23495. pTDefRegMap(@Self)^.clr := $00000010
  23496. else
  23497. pTDefRegMap(@Self)^.&set := $00000010;
  23498. end;
  23499. function TPORTG_CNPUE.getCNPUE4 : TBits_1; inline;
  23500. begin
  23501. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23502. end;
  23503. procedure TPORTG_CNPUE.setCNPUE5; inline;
  23504. begin
  23505. pTDefRegMap(@Self)^.&set := $00000020;
  23506. end;
  23507. procedure TPORTG_CNPUE.clearCNPUE5; inline;
  23508. begin
  23509. pTDefRegMap(@Self)^.clr := $00000020;
  23510. end;
  23511. procedure TPORTG_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  23512. begin
  23513. if thebits = 0 then
  23514. pTDefRegMap(@Self)^.clr := $00000020
  23515. else
  23516. pTDefRegMap(@Self)^.&set := $00000020;
  23517. end;
  23518. function TPORTG_CNPUE.getCNPUE5 : TBits_1; inline;
  23519. begin
  23520. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23521. end;
  23522. procedure TPORTG_CNPUE.setCNPUE6; inline;
  23523. begin
  23524. pTDefRegMap(@Self)^.&set := $00000040;
  23525. end;
  23526. procedure TPORTG_CNPUE.clearCNPUE6; inline;
  23527. begin
  23528. pTDefRegMap(@Self)^.clr := $00000040;
  23529. end;
  23530. procedure TPORTG_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  23531. begin
  23532. if thebits = 0 then
  23533. pTDefRegMap(@Self)^.clr := $00000040
  23534. else
  23535. pTDefRegMap(@Self)^.&set := $00000040;
  23536. end;
  23537. function TPORTG_CNPUE.getCNPUE6 : TBits_1; inline;
  23538. begin
  23539. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23540. end;
  23541. procedure TPORTG_CNPUE.setCNPUE7; inline;
  23542. begin
  23543. pTDefRegMap(@Self)^.&set := $00000080;
  23544. end;
  23545. procedure TPORTG_CNPUE.clearCNPUE7; inline;
  23546. begin
  23547. pTDefRegMap(@Self)^.clr := $00000080;
  23548. end;
  23549. procedure TPORTG_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  23550. begin
  23551. if thebits = 0 then
  23552. pTDefRegMap(@Self)^.clr := $00000080
  23553. else
  23554. pTDefRegMap(@Self)^.&set := $00000080;
  23555. end;
  23556. function TPORTG_CNPUE.getCNPUE7 : TBits_1; inline;
  23557. begin
  23558. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23559. end;
  23560. procedure TPORTG_CNPUE.setCNPUE8; inline;
  23561. begin
  23562. pTDefRegMap(@Self)^.&set := $00000100;
  23563. end;
  23564. procedure TPORTG_CNPUE.clearCNPUE8; inline;
  23565. begin
  23566. pTDefRegMap(@Self)^.clr := $00000100;
  23567. end;
  23568. procedure TPORTG_CNPUE.setCNPUE8(thebits : TBits_1); inline;
  23569. begin
  23570. if thebits = 0 then
  23571. pTDefRegMap(@Self)^.clr := $00000100
  23572. else
  23573. pTDefRegMap(@Self)^.&set := $00000100;
  23574. end;
  23575. function TPORTG_CNPUE.getCNPUE8 : TBits_1; inline;
  23576. begin
  23577. getCNPUE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23578. end;
  23579. procedure TPORTG_CNPUE.setCNPUE9; inline;
  23580. begin
  23581. pTDefRegMap(@Self)^.&set := $00000200;
  23582. end;
  23583. procedure TPORTG_CNPUE.clearCNPUE9; inline;
  23584. begin
  23585. pTDefRegMap(@Self)^.clr := $00000200;
  23586. end;
  23587. procedure TPORTG_CNPUE.setCNPUE9(thebits : TBits_1); inline;
  23588. begin
  23589. if thebits = 0 then
  23590. pTDefRegMap(@Self)^.clr := $00000200
  23591. else
  23592. pTDefRegMap(@Self)^.&set := $00000200;
  23593. end;
  23594. function TPORTG_CNPUE.getCNPUE9 : TBits_1; inline;
  23595. begin
  23596. getCNPUE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23597. end;
  23598. procedure TPORTG_CNPUE.setCNPUE10; inline;
  23599. begin
  23600. pTDefRegMap(@Self)^.&set := $00000400;
  23601. end;
  23602. procedure TPORTG_CNPUE.clearCNPUE10; inline;
  23603. begin
  23604. pTDefRegMap(@Self)^.clr := $00000400;
  23605. end;
  23606. procedure TPORTG_CNPUE.setCNPUE10(thebits : TBits_1); inline;
  23607. begin
  23608. if thebits = 0 then
  23609. pTDefRegMap(@Self)^.clr := $00000400
  23610. else
  23611. pTDefRegMap(@Self)^.&set := $00000400;
  23612. end;
  23613. function TPORTG_CNPUE.getCNPUE10 : TBits_1; inline;
  23614. begin
  23615. getCNPUE10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23616. end;
  23617. procedure TPORTG_CNPUE.setCNPUE11; inline;
  23618. begin
  23619. pTDefRegMap(@Self)^.&set := $00000800;
  23620. end;
  23621. procedure TPORTG_CNPUE.clearCNPUE11; inline;
  23622. begin
  23623. pTDefRegMap(@Self)^.clr := $00000800;
  23624. end;
  23625. procedure TPORTG_CNPUE.setCNPUE11(thebits : TBits_1); inline;
  23626. begin
  23627. if thebits = 0 then
  23628. pTDefRegMap(@Self)^.clr := $00000800
  23629. else
  23630. pTDefRegMap(@Self)^.&set := $00000800;
  23631. end;
  23632. function TPORTG_CNPUE.getCNPUE11 : TBits_1; inline;
  23633. begin
  23634. getCNPUE11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23635. end;
  23636. procedure TPORTG_CNPUE.setCNPUE12; inline;
  23637. begin
  23638. pTDefRegMap(@Self)^.&set := $00001000;
  23639. end;
  23640. procedure TPORTG_CNPUE.clearCNPUE12; inline;
  23641. begin
  23642. pTDefRegMap(@Self)^.clr := $00001000;
  23643. end;
  23644. procedure TPORTG_CNPUE.setCNPUE12(thebits : TBits_1); inline;
  23645. begin
  23646. if thebits = 0 then
  23647. pTDefRegMap(@Self)^.clr := $00001000
  23648. else
  23649. pTDefRegMap(@Self)^.&set := $00001000;
  23650. end;
  23651. function TPORTG_CNPUE.getCNPUE12 : TBits_1; inline;
  23652. begin
  23653. getCNPUE12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23654. end;
  23655. procedure TPORTG_CNPUE.setCNPUE13; inline;
  23656. begin
  23657. pTDefRegMap(@Self)^.&set := $00002000;
  23658. end;
  23659. procedure TPORTG_CNPUE.clearCNPUE13; inline;
  23660. begin
  23661. pTDefRegMap(@Self)^.clr := $00002000;
  23662. end;
  23663. procedure TPORTG_CNPUE.setCNPUE13(thebits : TBits_1); inline;
  23664. begin
  23665. if thebits = 0 then
  23666. pTDefRegMap(@Self)^.clr := $00002000
  23667. else
  23668. pTDefRegMap(@Self)^.&set := $00002000;
  23669. end;
  23670. function TPORTG_CNPUE.getCNPUE13 : TBits_1; inline;
  23671. begin
  23672. getCNPUE13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23673. end;
  23674. procedure TPORTG_CNPUE.setCNPUE14; inline;
  23675. begin
  23676. pTDefRegMap(@Self)^.&set := $00004000;
  23677. end;
  23678. procedure TPORTG_CNPUE.clearCNPUE14; inline;
  23679. begin
  23680. pTDefRegMap(@Self)^.clr := $00004000;
  23681. end;
  23682. procedure TPORTG_CNPUE.setCNPUE14(thebits : TBits_1); inline;
  23683. begin
  23684. if thebits = 0 then
  23685. pTDefRegMap(@Self)^.clr := $00004000
  23686. else
  23687. pTDefRegMap(@Self)^.&set := $00004000;
  23688. end;
  23689. function TPORTG_CNPUE.getCNPUE14 : TBits_1; inline;
  23690. begin
  23691. getCNPUE14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23692. end;
  23693. procedure TPORTG_CNPUE.setCNPUE15; inline;
  23694. begin
  23695. pTDefRegMap(@Self)^.&set := $00008000;
  23696. end;
  23697. procedure TPORTG_CNPUE.clearCNPUE15; inline;
  23698. begin
  23699. pTDefRegMap(@Self)^.clr := $00008000;
  23700. end;
  23701. procedure TPORTG_CNPUE.setCNPUE15(thebits : TBits_1); inline;
  23702. begin
  23703. if thebits = 0 then
  23704. pTDefRegMap(@Self)^.clr := $00008000
  23705. else
  23706. pTDefRegMap(@Self)^.&set := $00008000;
  23707. end;
  23708. function TPORTG_CNPUE.getCNPUE15 : TBits_1; inline;
  23709. begin
  23710. getCNPUE15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23711. end;
  23712. procedure TPORTG_CNPUE.setCNPUE16; inline;
  23713. begin
  23714. pTDefRegMap(@Self)^.&set := $00010000;
  23715. end;
  23716. procedure TPORTG_CNPUE.clearCNPUE16; inline;
  23717. begin
  23718. pTDefRegMap(@Self)^.clr := $00010000;
  23719. end;
  23720. procedure TPORTG_CNPUE.setCNPUE16(thebits : TBits_1); inline;
  23721. begin
  23722. if thebits = 0 then
  23723. pTDefRegMap(@Self)^.clr := $00010000
  23724. else
  23725. pTDefRegMap(@Self)^.&set := $00010000;
  23726. end;
  23727. function TPORTG_CNPUE.getCNPUE16 : TBits_1; inline;
  23728. begin
  23729. getCNPUE16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  23730. end;
  23731. procedure TPORTG_CNPUE.setCNPUE17; inline;
  23732. begin
  23733. pTDefRegMap(@Self)^.&set := $00020000;
  23734. end;
  23735. procedure TPORTG_CNPUE.clearCNPUE17; inline;
  23736. begin
  23737. pTDefRegMap(@Self)^.clr := $00020000;
  23738. end;
  23739. procedure TPORTG_CNPUE.setCNPUE17(thebits : TBits_1); inline;
  23740. begin
  23741. if thebits = 0 then
  23742. pTDefRegMap(@Self)^.clr := $00020000
  23743. else
  23744. pTDefRegMap(@Self)^.&set := $00020000;
  23745. end;
  23746. function TPORTG_CNPUE.getCNPUE17 : TBits_1; inline;
  23747. begin
  23748. getCNPUE17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  23749. end;
  23750. procedure TPORTG_CNPUE.setCNPUE18; inline;
  23751. begin
  23752. pTDefRegMap(@Self)^.&set := $00040000;
  23753. end;
  23754. procedure TPORTG_CNPUE.clearCNPUE18; inline;
  23755. begin
  23756. pTDefRegMap(@Self)^.clr := $00040000;
  23757. end;
  23758. procedure TPORTG_CNPUE.setCNPUE18(thebits : TBits_1); inline;
  23759. begin
  23760. if thebits = 0 then
  23761. pTDefRegMap(@Self)^.clr := $00040000
  23762. else
  23763. pTDefRegMap(@Self)^.&set := $00040000;
  23764. end;
  23765. function TPORTG_CNPUE.getCNPUE18 : TBits_1; inline;
  23766. begin
  23767. getCNPUE18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  23768. end;
  23769. procedure TPORTG_CNPUE.setw(thebits : TBits_32); inline;
  23770. begin
  23771. pTDefRegMap(@Self)^.val := thebits;
  23772. end;
  23773. function TPORTG_CNPUE.getw : TBits_32; inline;
  23774. begin
  23775. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23776. end;
  23777. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  23778. begin
  23779. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  23780. end;
  23781. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  23782. begin
  23783. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  23784. end;
  23785. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  23786. begin
  23787. pTDefRegMap(@Self)^.val := thebits;
  23788. end;
  23789. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  23790. begin
  23791. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23792. end;
  23793. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  23794. begin
  23795. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  23796. end;
  23797. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  23798. begin
  23799. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  23800. end;
  23801. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  23802. begin
  23803. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  23804. end;
  23805. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  23806. begin
  23807. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  23808. end;
  23809. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  23810. begin
  23811. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  23812. end;
  23813. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  23814. begin
  23815. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  23816. end;
  23817. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  23818. begin
  23819. pTDefRegMap(@Self)^.val := thebits;
  23820. end;
  23821. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  23822. begin
  23823. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23824. end;
  23825. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  23826. begin
  23827. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  23828. end;
  23829. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  23830. begin
  23831. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  23832. end;
  23833. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  23834. begin
  23835. pTDefRegMap(@Self)^.&set := $00000020;
  23836. end;
  23837. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  23838. begin
  23839. pTDefRegMap(@Self)^.clr := $00000020;
  23840. end;
  23841. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  23842. begin
  23843. if thebits = 0 then
  23844. pTDefRegMap(@Self)^.clr := $00000020
  23845. else
  23846. pTDefRegMap(@Self)^.&set := $00000020;
  23847. end;
  23848. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  23849. begin
  23850. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23851. end;
  23852. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  23853. begin
  23854. pTDefRegMap(@Self)^.&set := $00000080;
  23855. end;
  23856. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  23857. begin
  23858. pTDefRegMap(@Self)^.clr := $00000080;
  23859. end;
  23860. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  23861. begin
  23862. if thebits = 0 then
  23863. pTDefRegMap(@Self)^.clr := $00000080
  23864. else
  23865. pTDefRegMap(@Self)^.&set := $00000080;
  23866. end;
  23867. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  23868. begin
  23869. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23870. end;
  23871. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  23872. begin
  23873. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  23874. end;
  23875. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  23876. begin
  23877. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  23878. end;
  23879. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  23880. begin
  23881. pTDefRegMap(@Self)^.&set := $00000400;
  23882. end;
  23883. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  23884. begin
  23885. pTDefRegMap(@Self)^.clr := $00000400;
  23886. end;
  23887. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  23888. begin
  23889. if thebits = 0 then
  23890. pTDefRegMap(@Self)^.clr := $00000400
  23891. else
  23892. pTDefRegMap(@Self)^.&set := $00000400;
  23893. end;
  23894. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  23895. begin
  23896. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23897. end;
  23898. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  23899. begin
  23900. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  23901. end;
  23902. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  23903. begin
  23904. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  23905. end;
  23906. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  23907. begin
  23908. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  23909. end;
  23910. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  23911. begin
  23912. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  23913. end;
  23914. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  23915. begin
  23916. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  23917. end;
  23918. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  23919. begin
  23920. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  23921. end;
  23922. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  23923. begin
  23924. pTDefRegMap(@Self)^.&set := $00800000;
  23925. end;
  23926. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  23927. begin
  23928. pTDefRegMap(@Self)^.clr := $00800000;
  23929. end;
  23930. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  23931. begin
  23932. if thebits = 0 then
  23933. pTDefRegMap(@Self)^.clr := $00800000
  23934. else
  23935. pTDefRegMap(@Self)^.&set := $00800000;
  23936. end;
  23937. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  23938. begin
  23939. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  23940. end;
  23941. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  23942. begin
  23943. pTDefRegMap(@Self)^.val := thebits;
  23944. end;
  23945. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  23946. begin
  23947. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23948. end;
  23949. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  23950. begin
  23951. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23952. end;
  23953. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  23954. begin
  23955. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23956. end;
  23957. procedure TDEVCFG_DEVCFG0.setICESEL; inline;
  23958. begin
  23959. pTDefRegMap(@Self)^.&set := $00000008;
  23960. end;
  23961. procedure TDEVCFG_DEVCFG0.clearICESEL; inline;
  23962. begin
  23963. pTDefRegMap(@Self)^.clr := $00000008;
  23964. end;
  23965. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_1); inline;
  23966. begin
  23967. if thebits = 0 then
  23968. pTDefRegMap(@Self)^.clr := $00000008
  23969. else
  23970. pTDefRegMap(@Self)^.&set := $00000008;
  23971. end;
  23972. function TDEVCFG_DEVCFG0.getICESEL : TBits_1; inline;
  23973. begin
  23974. getICESEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23975. end;
  23976. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  23977. begin
  23978. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  23979. end;
  23980. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  23981. begin
  23982. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  23983. end;
  23984. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  23985. begin
  23986. pTDefRegMap(@Self)^.&set := $01000000;
  23987. end;
  23988. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  23989. begin
  23990. pTDefRegMap(@Self)^.clr := $01000000;
  23991. end;
  23992. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  23993. begin
  23994. if thebits = 0 then
  23995. pTDefRegMap(@Self)^.clr := $01000000
  23996. else
  23997. pTDefRegMap(@Self)^.&set := $01000000;
  23998. end;
  23999. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  24000. begin
  24001. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24002. end;
  24003. procedure TDEVCFG_DEVCFG0.setCP; inline;
  24004. begin
  24005. pTDefRegMap(@Self)^.&set := $10000000;
  24006. end;
  24007. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  24008. begin
  24009. pTDefRegMap(@Self)^.clr := $10000000;
  24010. end;
  24011. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  24012. begin
  24013. if thebits = 0 then
  24014. pTDefRegMap(@Self)^.clr := $10000000
  24015. else
  24016. pTDefRegMap(@Self)^.&set := $10000000;
  24017. end;
  24018. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  24019. begin
  24020. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  24021. end;
  24022. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  24023. begin
  24024. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24025. end;
  24026. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  24027. begin
  24028. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24029. end;
  24030. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  24031. begin
  24032. pTDefRegMap(@Self)^.val := thebits;
  24033. end;
  24034. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  24035. begin
  24036. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24037. end;
  24038. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  24039. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  24040. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  24041. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  24042. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  24043. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  24044. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  24045. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  24046. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  24047. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  24048. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  24049. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  24050. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  24051. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  24052. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  24053. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  24054. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  24055. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  24056. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  24057. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  24058. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  24059. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  24060. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  24061. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  24062. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  24063. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  24064. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  24065. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  24066. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  24067. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  24068. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  24069. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  24070. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  24071. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  24072. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  24073. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  24074. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  24075. procedure Vectors; assembler; nostackframe;
  24076. label interrupt_vectors;
  24077. asm
  24078. .section ".init.interrupt_vectors,\"ax\",@progbits"
  24079. interrupt_vectors:
  24080. j _CORE_TIMER_VECTOR_interrupt
  24081. nop
  24082. nop
  24083. nop
  24084. nop
  24085. nop
  24086. nop
  24087. nop
  24088. j _CORE_SOFTWARE_0_VECTOR_interrupt
  24089. nop
  24090. nop
  24091. nop
  24092. nop
  24093. nop
  24094. nop
  24095. nop
  24096. j _CORE_SOFTWARE_1_VECTOR_interrupt
  24097. nop
  24098. nop
  24099. nop
  24100. nop
  24101. nop
  24102. nop
  24103. nop
  24104. j _EXTERNAL_0_VECTOR_interrupt
  24105. nop
  24106. nop
  24107. nop
  24108. nop
  24109. nop
  24110. nop
  24111. nop
  24112. j _TIMER_1_VECTOR_interrupt
  24113. nop
  24114. nop
  24115. nop
  24116. nop
  24117. nop
  24118. nop
  24119. nop
  24120. j _INPUT_CAPTURE_1_VECTOR_interrupt
  24121. nop
  24122. nop
  24123. nop
  24124. nop
  24125. nop
  24126. nop
  24127. nop
  24128. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  24129. nop
  24130. nop
  24131. nop
  24132. nop
  24133. nop
  24134. nop
  24135. nop
  24136. j _EXTERNAL_1_VECTOR_interrupt
  24137. nop
  24138. nop
  24139. nop
  24140. nop
  24141. nop
  24142. nop
  24143. nop
  24144. j _TIMER_2_VECTOR_interrupt
  24145. nop
  24146. nop
  24147. nop
  24148. nop
  24149. nop
  24150. nop
  24151. nop
  24152. j _INPUT_CAPTURE_2_VECTOR_interrupt
  24153. nop
  24154. nop
  24155. nop
  24156. nop
  24157. nop
  24158. nop
  24159. nop
  24160. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  24161. nop
  24162. nop
  24163. nop
  24164. nop
  24165. nop
  24166. nop
  24167. nop
  24168. j _EXTERNAL_2_VECTOR_interrupt
  24169. nop
  24170. nop
  24171. nop
  24172. nop
  24173. nop
  24174. nop
  24175. nop
  24176. j _TIMER_3_VECTOR_interrupt
  24177. nop
  24178. nop
  24179. nop
  24180. nop
  24181. nop
  24182. nop
  24183. nop
  24184. j _INPUT_CAPTURE_3_VECTOR_interrupt
  24185. nop
  24186. nop
  24187. nop
  24188. nop
  24189. nop
  24190. nop
  24191. nop
  24192. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  24193. nop
  24194. nop
  24195. nop
  24196. nop
  24197. nop
  24198. nop
  24199. nop
  24200. j _EXTERNAL_3_VECTOR_interrupt
  24201. nop
  24202. nop
  24203. nop
  24204. nop
  24205. nop
  24206. nop
  24207. nop
  24208. j _TIMER_4_VECTOR_interrupt
  24209. nop
  24210. nop
  24211. nop
  24212. nop
  24213. nop
  24214. nop
  24215. nop
  24216. j _INPUT_CAPTURE_4_VECTOR_interrupt
  24217. nop
  24218. nop
  24219. nop
  24220. nop
  24221. nop
  24222. nop
  24223. nop
  24224. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  24225. nop
  24226. nop
  24227. nop
  24228. nop
  24229. nop
  24230. nop
  24231. nop
  24232. j _EXTERNAL_4_VECTOR_interrupt
  24233. nop
  24234. nop
  24235. nop
  24236. nop
  24237. nop
  24238. nop
  24239. nop
  24240. j _TIMER_5_VECTOR_interrupt
  24241. nop
  24242. nop
  24243. nop
  24244. nop
  24245. nop
  24246. nop
  24247. nop
  24248. j _INPUT_CAPTURE_5_VECTOR_interrupt
  24249. nop
  24250. nop
  24251. nop
  24252. nop
  24253. nop
  24254. nop
  24255. nop
  24256. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  24257. nop
  24258. nop
  24259. nop
  24260. nop
  24261. nop
  24262. nop
  24263. nop
  24264. j _SPI_1_VECTOR_interrupt
  24265. nop
  24266. nop
  24267. nop
  24268. nop
  24269. nop
  24270. nop
  24271. nop
  24272. j _UART_1_VECTOR_interrupt
  24273. nop
  24274. nop
  24275. nop
  24276. nop
  24277. nop
  24278. nop
  24279. nop
  24280. j _I2C_1_VECTOR_interrupt
  24281. nop
  24282. nop
  24283. nop
  24284. nop
  24285. nop
  24286. nop
  24287. nop
  24288. j _CHANGE_NOTICE_VECTOR_interrupt
  24289. nop
  24290. nop
  24291. nop
  24292. nop
  24293. nop
  24294. nop
  24295. nop
  24296. j _ADC_VECTOR_interrupt
  24297. nop
  24298. nop
  24299. nop
  24300. nop
  24301. nop
  24302. nop
  24303. nop
  24304. j _PMP_VECTOR_interrupt
  24305. nop
  24306. nop
  24307. nop
  24308. nop
  24309. nop
  24310. nop
  24311. nop
  24312. j _COMPARATOR_1_VECTOR_interrupt
  24313. nop
  24314. nop
  24315. nop
  24316. nop
  24317. nop
  24318. nop
  24319. nop
  24320. j _COMPARATOR_2_VECTOR_interrupt
  24321. nop
  24322. nop
  24323. nop
  24324. nop
  24325. nop
  24326. nop
  24327. nop
  24328. j _SPI_2_VECTOR_interrupt
  24329. nop
  24330. nop
  24331. nop
  24332. nop
  24333. nop
  24334. nop
  24335. nop
  24336. j _UART_2_VECTOR_interrupt
  24337. nop
  24338. nop
  24339. nop
  24340. nop
  24341. nop
  24342. nop
  24343. nop
  24344. j _I2C_2_VECTOR_interrupt
  24345. nop
  24346. nop
  24347. nop
  24348. nop
  24349. nop
  24350. nop
  24351. nop
  24352. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  24353. nop
  24354. nop
  24355. nop
  24356. nop
  24357. nop
  24358. nop
  24359. nop
  24360. j _RTCC_VECTOR_interrupt
  24361. nop
  24362. nop
  24363. nop
  24364. nop
  24365. nop
  24366. nop
  24367. nop
  24368. nop
  24369. nop
  24370. nop
  24371. nop
  24372. nop
  24373. nop
  24374. nop
  24375. nop
  24376. nop
  24377. nop
  24378. nop
  24379. nop
  24380. nop
  24381. nop
  24382. nop
  24383. nop
  24384. nop
  24385. nop
  24386. nop
  24387. nop
  24388. nop
  24389. nop
  24390. nop
  24391. nop
  24392. nop
  24393. nop
  24394. nop
  24395. nop
  24396. nop
  24397. nop
  24398. nop
  24399. nop
  24400. nop
  24401. nop
  24402. nop
  24403. nop
  24404. nop
  24405. nop
  24406. nop
  24407. nop
  24408. nop
  24409. nop
  24410. nop
  24411. nop
  24412. nop
  24413. nop
  24414. nop
  24415. nop
  24416. nop
  24417. nop
  24418. nop
  24419. nop
  24420. nop
  24421. nop
  24422. nop
  24423. nop
  24424. nop
  24425. nop
  24426. nop
  24427. nop
  24428. nop
  24429. nop
  24430. nop
  24431. nop
  24432. j _FCE_VECTOR_interrupt
  24433. nop
  24434. nop
  24435. nop
  24436. nop
  24437. nop
  24438. nop
  24439. nop
  24440. .weak _CORE_TIMER_VECTOR_interrupt
  24441. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  24442. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  24443. .weak _EXTERNAL_0_VECTOR_interrupt
  24444. .weak _TIMER_1_VECTOR_interrupt
  24445. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  24446. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  24447. .weak _EXTERNAL_1_VECTOR_interrupt
  24448. .weak _TIMER_2_VECTOR_interrupt
  24449. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  24450. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  24451. .weak _EXTERNAL_2_VECTOR_interrupt
  24452. .weak _TIMER_3_VECTOR_interrupt
  24453. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  24454. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  24455. .weak _EXTERNAL_3_VECTOR_interrupt
  24456. .weak _TIMER_4_VECTOR_interrupt
  24457. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  24458. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  24459. .weak _EXTERNAL_4_VECTOR_interrupt
  24460. .weak _TIMER_5_VECTOR_interrupt
  24461. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  24462. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  24463. .weak _SPI_1_VECTOR_interrupt
  24464. .weak _UART_1_VECTOR_interrupt
  24465. .weak _I2C_1_VECTOR_interrupt
  24466. .weak _CHANGE_NOTICE_VECTOR_interrupt
  24467. .weak _ADC_VECTOR_interrupt
  24468. .weak _PMP_VECTOR_interrupt
  24469. .weak _COMPARATOR_1_VECTOR_interrupt
  24470. .weak _COMPARATOR_2_VECTOR_interrupt
  24471. .weak _SPI_2_VECTOR_interrupt
  24472. .weak _UART_2_VECTOR_interrupt
  24473. .weak _I2C_2_VECTOR_interrupt
  24474. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  24475. .weak _RTCC_VECTOR_interrupt
  24476. .weak _FCE_VECTOR_interrupt
  24477. .text
  24478. end;
  24479. end.