pic32mx320f128l.pp 804 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793
  1. unit pic32mx320f128l;
  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. TTMR2_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. TTMR2Registers = record
  460. T2CONbits : TTMR2_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. TPORTA_TRISA = record
  4394. private
  4395. function getTRISA0 : TBits_1; inline;
  4396. function getTRISA1 : TBits_1; inline;
  4397. function getTRISA10 : TBits_1; inline;
  4398. function getTRISA14 : TBits_1; inline;
  4399. function getTRISA15 : TBits_1; inline;
  4400. function getTRISA2 : TBits_1; inline;
  4401. function getTRISA3 : TBits_1; inline;
  4402. function getTRISA4 : TBits_1; inline;
  4403. function getTRISA5 : TBits_1; inline;
  4404. function getTRISA6 : TBits_1; inline;
  4405. function getTRISA7 : TBits_1; inline;
  4406. function getTRISA9 : TBits_1; inline;
  4407. function getw : TBits_32; inline;
  4408. procedure setTRISA0(thebits : TBits_1); inline;
  4409. procedure setTRISA1(thebits : TBits_1); inline;
  4410. procedure setTRISA10(thebits : TBits_1); inline;
  4411. procedure setTRISA14(thebits : TBits_1); inline;
  4412. procedure setTRISA15(thebits : TBits_1); inline;
  4413. procedure setTRISA2(thebits : TBits_1); inline;
  4414. procedure setTRISA3(thebits : TBits_1); inline;
  4415. procedure setTRISA4(thebits : TBits_1); inline;
  4416. procedure setTRISA5(thebits : TBits_1); inline;
  4417. procedure setTRISA6(thebits : TBits_1); inline;
  4418. procedure setTRISA7(thebits : TBits_1); inline;
  4419. procedure setTRISA9(thebits : TBits_1); inline;
  4420. procedure setw(thebits : TBits_32); inline;
  4421. public
  4422. procedure clearTRISA0; inline;
  4423. procedure clearTRISA10; inline;
  4424. procedure clearTRISA14; inline;
  4425. procedure clearTRISA15; inline;
  4426. procedure clearTRISA1; inline;
  4427. procedure clearTRISA2; inline;
  4428. procedure clearTRISA3; inline;
  4429. procedure clearTRISA4; inline;
  4430. procedure clearTRISA5; inline;
  4431. procedure clearTRISA6; inline;
  4432. procedure clearTRISA7; inline;
  4433. procedure clearTRISA9; inline;
  4434. procedure setTRISA0; inline;
  4435. procedure setTRISA10; inline;
  4436. procedure setTRISA14; inline;
  4437. procedure setTRISA15; inline;
  4438. procedure setTRISA1; inline;
  4439. procedure setTRISA2; inline;
  4440. procedure setTRISA3; inline;
  4441. procedure setTRISA4; inline;
  4442. procedure setTRISA5; inline;
  4443. procedure setTRISA6; inline;
  4444. procedure setTRISA7; inline;
  4445. procedure setTRISA9; inline;
  4446. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  4447. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  4448. property TRISA10 : TBits_1 read getTRISA10 write setTRISA10;
  4449. property TRISA14 : TBits_1 read getTRISA14 write setTRISA14;
  4450. property TRISA15 : TBits_1 read getTRISA15 write setTRISA15;
  4451. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  4452. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  4453. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  4454. property TRISA5 : TBits_1 read getTRISA5 write setTRISA5;
  4455. property TRISA6 : TBits_1 read getTRISA6 write setTRISA6;
  4456. property TRISA7 : TBits_1 read getTRISA7 write setTRISA7;
  4457. property TRISA9 : TBits_1 read getTRISA9 write setTRISA9;
  4458. property w : TBits_32 read getw write setw;
  4459. end;
  4460. TPORTA_PORTA = record
  4461. private
  4462. function getRA0 : TBits_1; inline;
  4463. function getRA1 : TBits_1; inline;
  4464. function getRA10 : TBits_1; inline;
  4465. function getRA14 : TBits_1; inline;
  4466. function getRA15 : TBits_1; inline;
  4467. function getRA2 : TBits_1; inline;
  4468. function getRA3 : TBits_1; inline;
  4469. function getRA4 : TBits_1; inline;
  4470. function getRA5 : TBits_1; inline;
  4471. function getRA6 : TBits_1; inline;
  4472. function getRA7 : TBits_1; inline;
  4473. function getRA9 : TBits_1; inline;
  4474. function getw : TBits_32; inline;
  4475. procedure setRA0(thebits : TBits_1); inline;
  4476. procedure setRA1(thebits : TBits_1); inline;
  4477. procedure setRA10(thebits : TBits_1); inline;
  4478. procedure setRA14(thebits : TBits_1); inline;
  4479. procedure setRA15(thebits : TBits_1); inline;
  4480. procedure setRA2(thebits : TBits_1); inline;
  4481. procedure setRA3(thebits : TBits_1); inline;
  4482. procedure setRA4(thebits : TBits_1); inline;
  4483. procedure setRA5(thebits : TBits_1); inline;
  4484. procedure setRA6(thebits : TBits_1); inline;
  4485. procedure setRA7(thebits : TBits_1); inline;
  4486. procedure setRA9(thebits : TBits_1); inline;
  4487. procedure setw(thebits : TBits_32); inline;
  4488. public
  4489. procedure clearRA0; inline;
  4490. procedure clearRA10; inline;
  4491. procedure clearRA14; inline;
  4492. procedure clearRA15; inline;
  4493. procedure clearRA1; inline;
  4494. procedure clearRA2; inline;
  4495. procedure clearRA3; inline;
  4496. procedure clearRA4; inline;
  4497. procedure clearRA5; inline;
  4498. procedure clearRA6; inline;
  4499. procedure clearRA7; inline;
  4500. procedure clearRA9; inline;
  4501. procedure setRA0; inline;
  4502. procedure setRA10; inline;
  4503. procedure setRA14; inline;
  4504. procedure setRA15; inline;
  4505. procedure setRA1; inline;
  4506. procedure setRA2; inline;
  4507. procedure setRA3; inline;
  4508. procedure setRA4; inline;
  4509. procedure setRA5; inline;
  4510. procedure setRA6; inline;
  4511. procedure setRA7; inline;
  4512. procedure setRA9; inline;
  4513. property RA0 : TBits_1 read getRA0 write setRA0;
  4514. property RA1 : TBits_1 read getRA1 write setRA1;
  4515. property RA10 : TBits_1 read getRA10 write setRA10;
  4516. property RA14 : TBits_1 read getRA14 write setRA14;
  4517. property RA15 : TBits_1 read getRA15 write setRA15;
  4518. property RA2 : TBits_1 read getRA2 write setRA2;
  4519. property RA3 : TBits_1 read getRA3 write setRA3;
  4520. property RA4 : TBits_1 read getRA4 write setRA4;
  4521. property RA5 : TBits_1 read getRA5 write setRA5;
  4522. property RA6 : TBits_1 read getRA6 write setRA6;
  4523. property RA7 : TBits_1 read getRA7 write setRA7;
  4524. property RA9 : TBits_1 read getRA9 write setRA9;
  4525. property w : TBits_32 read getw write setw;
  4526. end;
  4527. TPortA_bits=(RA0=0,RA1=1,RA2=2,RA3=3,RA4=4,RA5=5,RA6=6,RA7=7,RA9=9,RA10=10,RA14=14,RA15=15);
  4528. TPortA_bitset = set of TPortA_bits;
  4529. TPORTA_LATA = record
  4530. private
  4531. function getLATA0 : TBits_1; inline;
  4532. function getLATA1 : TBits_1; inline;
  4533. function getLATA10 : TBits_1; inline;
  4534. function getLATA14 : TBits_1; inline;
  4535. function getLATA15 : TBits_1; inline;
  4536. function getLATA2 : TBits_1; inline;
  4537. function getLATA3 : TBits_1; inline;
  4538. function getLATA4 : TBits_1; inline;
  4539. function getLATA5 : TBits_1; inline;
  4540. function getLATA6 : TBits_1; inline;
  4541. function getLATA7 : TBits_1; inline;
  4542. function getLATA9 : TBits_1; inline;
  4543. function getw : TBits_32; inline;
  4544. procedure setLATA0(thebits : TBits_1); inline;
  4545. procedure setLATA1(thebits : TBits_1); inline;
  4546. procedure setLATA10(thebits : TBits_1); inline;
  4547. procedure setLATA14(thebits : TBits_1); inline;
  4548. procedure setLATA15(thebits : TBits_1); inline;
  4549. procedure setLATA2(thebits : TBits_1); inline;
  4550. procedure setLATA3(thebits : TBits_1); inline;
  4551. procedure setLATA4(thebits : TBits_1); inline;
  4552. procedure setLATA5(thebits : TBits_1); inline;
  4553. procedure setLATA6(thebits : TBits_1); inline;
  4554. procedure setLATA7(thebits : TBits_1); inline;
  4555. procedure setLATA9(thebits : TBits_1); inline;
  4556. procedure setw(thebits : TBits_32); inline;
  4557. public
  4558. procedure clearLATA0; inline;
  4559. procedure clearLATA10; inline;
  4560. procedure clearLATA14; inline;
  4561. procedure clearLATA15; inline;
  4562. procedure clearLATA1; inline;
  4563. procedure clearLATA2; inline;
  4564. procedure clearLATA3; inline;
  4565. procedure clearLATA4; inline;
  4566. procedure clearLATA5; inline;
  4567. procedure clearLATA6; inline;
  4568. procedure clearLATA7; inline;
  4569. procedure clearLATA9; inline;
  4570. procedure setLATA0; inline;
  4571. procedure setLATA10; inline;
  4572. procedure setLATA14; inline;
  4573. procedure setLATA15; inline;
  4574. procedure setLATA1; inline;
  4575. procedure setLATA2; inline;
  4576. procedure setLATA3; inline;
  4577. procedure setLATA4; inline;
  4578. procedure setLATA5; inline;
  4579. procedure setLATA6; inline;
  4580. procedure setLATA7; inline;
  4581. procedure setLATA9; inline;
  4582. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  4583. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  4584. property LATA10 : TBits_1 read getLATA10 write setLATA10;
  4585. property LATA14 : TBits_1 read getLATA14 write setLATA14;
  4586. property LATA15 : TBits_1 read getLATA15 write setLATA15;
  4587. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  4588. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  4589. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  4590. property LATA5 : TBits_1 read getLATA5 write setLATA5;
  4591. property LATA6 : TBits_1 read getLATA6 write setLATA6;
  4592. property LATA7 : TBits_1 read getLATA7 write setLATA7;
  4593. property LATA9 : TBits_1 read getLATA9 write setLATA9;
  4594. property w : TBits_32 read getw write setw;
  4595. end;
  4596. TPORTA_ODCA = record
  4597. private
  4598. function getODCA0 : TBits_1; inline;
  4599. function getODCA1 : TBits_1; inline;
  4600. function getODCA10 : TBits_1; inline;
  4601. function getODCA14 : TBits_1; inline;
  4602. function getODCA15 : TBits_1; inline;
  4603. function getODCA2 : TBits_1; inline;
  4604. function getODCA3 : TBits_1; inline;
  4605. function getODCA4 : TBits_1; inline;
  4606. function getODCA5 : TBits_1; inline;
  4607. function getODCA6 : TBits_1; inline;
  4608. function getODCA7 : TBits_1; inline;
  4609. function getODCA9 : TBits_1; inline;
  4610. function getw : TBits_32; inline;
  4611. procedure setODCA0(thebits : TBits_1); inline;
  4612. procedure setODCA1(thebits : TBits_1); inline;
  4613. procedure setODCA10(thebits : TBits_1); inline;
  4614. procedure setODCA14(thebits : TBits_1); inline;
  4615. procedure setODCA15(thebits : TBits_1); inline;
  4616. procedure setODCA2(thebits : TBits_1); inline;
  4617. procedure setODCA3(thebits : TBits_1); inline;
  4618. procedure setODCA4(thebits : TBits_1); inline;
  4619. procedure setODCA5(thebits : TBits_1); inline;
  4620. procedure setODCA6(thebits : TBits_1); inline;
  4621. procedure setODCA7(thebits : TBits_1); inline;
  4622. procedure setODCA9(thebits : TBits_1); inline;
  4623. procedure setw(thebits : TBits_32); inline;
  4624. public
  4625. procedure clearODCA0; inline;
  4626. procedure clearODCA10; inline;
  4627. procedure clearODCA14; inline;
  4628. procedure clearODCA15; inline;
  4629. procedure clearODCA1; inline;
  4630. procedure clearODCA2; inline;
  4631. procedure clearODCA3; inline;
  4632. procedure clearODCA4; inline;
  4633. procedure clearODCA5; inline;
  4634. procedure clearODCA6; inline;
  4635. procedure clearODCA7; inline;
  4636. procedure clearODCA9; inline;
  4637. procedure setODCA0; inline;
  4638. procedure setODCA10; inline;
  4639. procedure setODCA14; inline;
  4640. procedure setODCA15; inline;
  4641. procedure setODCA1; inline;
  4642. procedure setODCA2; inline;
  4643. procedure setODCA3; inline;
  4644. procedure setODCA4; inline;
  4645. procedure setODCA5; inline;
  4646. procedure setODCA6; inline;
  4647. procedure setODCA7; inline;
  4648. procedure setODCA9; inline;
  4649. property ODCA0 : TBits_1 read getODCA0 write setODCA0;
  4650. property ODCA1 : TBits_1 read getODCA1 write setODCA1;
  4651. property ODCA10 : TBits_1 read getODCA10 write setODCA10;
  4652. property ODCA14 : TBits_1 read getODCA14 write setODCA14;
  4653. property ODCA15 : TBits_1 read getODCA15 write setODCA15;
  4654. property ODCA2 : TBits_1 read getODCA2 write setODCA2;
  4655. property ODCA3 : TBits_1 read getODCA3 write setODCA3;
  4656. property ODCA4 : TBits_1 read getODCA4 write setODCA4;
  4657. property ODCA5 : TBits_1 read getODCA5 write setODCA5;
  4658. property ODCA6 : TBits_1 read getODCA6 write setODCA6;
  4659. property ODCA7 : TBits_1 read getODCA7 write setODCA7;
  4660. property ODCA9 : TBits_1 read getODCA9 write setODCA9;
  4661. property w : TBits_32 read getw write setw;
  4662. end;
  4663. type
  4664. TPORTARegisters = record
  4665. TRISAbits : TPORTA_TRISA;
  4666. TRISA : longWord;
  4667. TRISACLR : longWord;
  4668. TRISASET : longWord;
  4669. TRISAINV : longWord;
  4670. PORTAbits : TPORTA_PORTA;
  4671. PORTA : longWord;
  4672. PORTACLR : longWord;
  4673. PORTASET : longWord;
  4674. PORTAINV : longWord;
  4675. LATAbits : TPORTA_LATA;
  4676. LATA : longWord;
  4677. LATACLR : longWord;
  4678. LATASET : longWord;
  4679. LATAINV : longWord;
  4680. ODCAbits : TPORTA_ODCA;
  4681. ODCA : longWord;
  4682. ODCACLR : longWord;
  4683. ODCASET : longWord;
  4684. ODCAINV : longWord;
  4685. end;
  4686. TPORTB_TRISB = record
  4687. private
  4688. function getTRISB0 : TBits_1; inline;
  4689. function getTRISB1 : TBits_1; inline;
  4690. function getTRISB10 : TBits_1; inline;
  4691. function getTRISB11 : TBits_1; inline;
  4692. function getTRISB12 : TBits_1; inline;
  4693. function getTRISB13 : TBits_1; inline;
  4694. function getTRISB14 : TBits_1; inline;
  4695. function getTRISB15 : TBits_1; inline;
  4696. function getTRISB2 : TBits_1; inline;
  4697. function getTRISB3 : TBits_1; inline;
  4698. function getTRISB4 : TBits_1; inline;
  4699. function getTRISB5 : TBits_1; inline;
  4700. function getTRISB6 : TBits_1; inline;
  4701. function getTRISB7 : TBits_1; inline;
  4702. function getTRISB8 : TBits_1; inline;
  4703. function getTRISB9 : TBits_1; inline;
  4704. function getw : TBits_32; inline;
  4705. procedure setTRISB0(thebits : TBits_1); inline;
  4706. procedure setTRISB1(thebits : TBits_1); inline;
  4707. procedure setTRISB10(thebits : TBits_1); inline;
  4708. procedure setTRISB11(thebits : TBits_1); inline;
  4709. procedure setTRISB12(thebits : TBits_1); inline;
  4710. procedure setTRISB13(thebits : TBits_1); inline;
  4711. procedure setTRISB14(thebits : TBits_1); inline;
  4712. procedure setTRISB15(thebits : TBits_1); inline;
  4713. procedure setTRISB2(thebits : TBits_1); inline;
  4714. procedure setTRISB3(thebits : TBits_1); inline;
  4715. procedure setTRISB4(thebits : TBits_1); inline;
  4716. procedure setTRISB5(thebits : TBits_1); inline;
  4717. procedure setTRISB6(thebits : TBits_1); inline;
  4718. procedure setTRISB7(thebits : TBits_1); inline;
  4719. procedure setTRISB8(thebits : TBits_1); inline;
  4720. procedure setTRISB9(thebits : TBits_1); inline;
  4721. procedure setw(thebits : TBits_32); inline;
  4722. public
  4723. procedure clearTRISB0; inline;
  4724. procedure clearTRISB10; inline;
  4725. procedure clearTRISB11; inline;
  4726. procedure clearTRISB12; inline;
  4727. procedure clearTRISB13; inline;
  4728. procedure clearTRISB14; inline;
  4729. procedure clearTRISB15; inline;
  4730. procedure clearTRISB1; inline;
  4731. procedure clearTRISB2; inline;
  4732. procedure clearTRISB3; inline;
  4733. procedure clearTRISB4; inline;
  4734. procedure clearTRISB5; inline;
  4735. procedure clearTRISB6; inline;
  4736. procedure clearTRISB7; inline;
  4737. procedure clearTRISB8; inline;
  4738. procedure clearTRISB9; inline;
  4739. procedure setTRISB0; inline;
  4740. procedure setTRISB10; inline;
  4741. procedure setTRISB11; inline;
  4742. procedure setTRISB12; inline;
  4743. procedure setTRISB13; inline;
  4744. procedure setTRISB14; inline;
  4745. procedure setTRISB15; inline;
  4746. procedure setTRISB1; inline;
  4747. procedure setTRISB2; inline;
  4748. procedure setTRISB3; inline;
  4749. procedure setTRISB4; inline;
  4750. procedure setTRISB5; inline;
  4751. procedure setTRISB6; inline;
  4752. procedure setTRISB7; inline;
  4753. procedure setTRISB8; inline;
  4754. procedure setTRISB9; inline;
  4755. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  4756. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  4757. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  4758. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  4759. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  4760. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  4761. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  4762. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  4763. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  4764. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  4765. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  4766. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  4767. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  4768. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  4769. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  4770. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  4771. property w : TBits_32 read getw write setw;
  4772. end;
  4773. TPORTB_PORTB = record
  4774. private
  4775. function getRB0 : TBits_1; inline;
  4776. function getRB1 : TBits_1; inline;
  4777. function getRB10 : TBits_1; inline;
  4778. function getRB11 : TBits_1; inline;
  4779. function getRB12 : TBits_1; inline;
  4780. function getRB13 : TBits_1; inline;
  4781. function getRB14 : TBits_1; inline;
  4782. function getRB15 : TBits_1; inline;
  4783. function getRB2 : TBits_1; inline;
  4784. function getRB3 : TBits_1; inline;
  4785. function getRB4 : TBits_1; inline;
  4786. function getRB5 : TBits_1; inline;
  4787. function getRB6 : TBits_1; inline;
  4788. function getRB7 : TBits_1; inline;
  4789. function getRB8 : TBits_1; inline;
  4790. function getRB9 : TBits_1; inline;
  4791. function getw : TBits_32; inline;
  4792. procedure setRB0(thebits : TBits_1); inline;
  4793. procedure setRB1(thebits : TBits_1); inline;
  4794. procedure setRB10(thebits : TBits_1); inline;
  4795. procedure setRB11(thebits : TBits_1); inline;
  4796. procedure setRB12(thebits : TBits_1); inline;
  4797. procedure setRB13(thebits : TBits_1); inline;
  4798. procedure setRB14(thebits : TBits_1); inline;
  4799. procedure setRB15(thebits : TBits_1); inline;
  4800. procedure setRB2(thebits : TBits_1); inline;
  4801. procedure setRB3(thebits : TBits_1); inline;
  4802. procedure setRB4(thebits : TBits_1); inline;
  4803. procedure setRB5(thebits : TBits_1); inline;
  4804. procedure setRB6(thebits : TBits_1); inline;
  4805. procedure setRB7(thebits : TBits_1); inline;
  4806. procedure setRB8(thebits : TBits_1); inline;
  4807. procedure setRB9(thebits : TBits_1); inline;
  4808. procedure setw(thebits : TBits_32); inline;
  4809. public
  4810. procedure clearRB0; inline;
  4811. procedure clearRB10; inline;
  4812. procedure clearRB11; inline;
  4813. procedure clearRB12; inline;
  4814. procedure clearRB13; inline;
  4815. procedure clearRB14; inline;
  4816. procedure clearRB15; inline;
  4817. procedure clearRB1; inline;
  4818. procedure clearRB2; inline;
  4819. procedure clearRB3; inline;
  4820. procedure clearRB4; inline;
  4821. procedure clearRB5; inline;
  4822. procedure clearRB6; inline;
  4823. procedure clearRB7; inline;
  4824. procedure clearRB8; inline;
  4825. procedure clearRB9; inline;
  4826. procedure setRB0; inline;
  4827. procedure setRB10; inline;
  4828. procedure setRB11; inline;
  4829. procedure setRB12; inline;
  4830. procedure setRB13; inline;
  4831. procedure setRB14; inline;
  4832. procedure setRB15; inline;
  4833. procedure setRB1; inline;
  4834. procedure setRB2; inline;
  4835. procedure setRB3; inline;
  4836. procedure setRB4; inline;
  4837. procedure setRB5; inline;
  4838. procedure setRB6; inline;
  4839. procedure setRB7; inline;
  4840. procedure setRB8; inline;
  4841. procedure setRB9; inline;
  4842. property RB0 : TBits_1 read getRB0 write setRB0;
  4843. property RB1 : TBits_1 read getRB1 write setRB1;
  4844. property RB10 : TBits_1 read getRB10 write setRB10;
  4845. property RB11 : TBits_1 read getRB11 write setRB11;
  4846. property RB12 : TBits_1 read getRB12 write setRB12;
  4847. property RB13 : TBits_1 read getRB13 write setRB13;
  4848. property RB14 : TBits_1 read getRB14 write setRB14;
  4849. property RB15 : TBits_1 read getRB15 write setRB15;
  4850. property RB2 : TBits_1 read getRB2 write setRB2;
  4851. property RB3 : TBits_1 read getRB3 write setRB3;
  4852. property RB4 : TBits_1 read getRB4 write setRB4;
  4853. property RB5 : TBits_1 read getRB5 write setRB5;
  4854. property RB6 : TBits_1 read getRB6 write setRB6;
  4855. property RB7 : TBits_1 read getRB7 write setRB7;
  4856. property RB8 : TBits_1 read getRB8 write setRB8;
  4857. property RB9 : TBits_1 read getRB9 write setRB9;
  4858. property w : TBits_32 read getw write setw;
  4859. end;
  4860. 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);
  4861. TPortB_bitset = set of TPortB_bits;
  4862. TPORTB_LATB = record
  4863. private
  4864. function getLATB0 : TBits_1; inline;
  4865. function getLATB1 : TBits_1; inline;
  4866. function getLATB10 : TBits_1; inline;
  4867. function getLATB11 : TBits_1; inline;
  4868. function getLATB12 : TBits_1; inline;
  4869. function getLATB13 : TBits_1; inline;
  4870. function getLATB14 : TBits_1; inline;
  4871. function getLATB15 : TBits_1; inline;
  4872. function getLATB2 : TBits_1; inline;
  4873. function getLATB3 : TBits_1; inline;
  4874. function getLATB4 : TBits_1; inline;
  4875. function getLATB5 : TBits_1; inline;
  4876. function getLATB6 : TBits_1; inline;
  4877. function getLATB7 : TBits_1; inline;
  4878. function getLATB8 : TBits_1; inline;
  4879. function getLATB9 : TBits_1; inline;
  4880. function getw : TBits_32; inline;
  4881. procedure setLATB0(thebits : TBits_1); inline;
  4882. procedure setLATB1(thebits : TBits_1); inline;
  4883. procedure setLATB10(thebits : TBits_1); inline;
  4884. procedure setLATB11(thebits : TBits_1); inline;
  4885. procedure setLATB12(thebits : TBits_1); inline;
  4886. procedure setLATB13(thebits : TBits_1); inline;
  4887. procedure setLATB14(thebits : TBits_1); inline;
  4888. procedure setLATB15(thebits : TBits_1); inline;
  4889. procedure setLATB2(thebits : TBits_1); inline;
  4890. procedure setLATB3(thebits : TBits_1); inline;
  4891. procedure setLATB4(thebits : TBits_1); inline;
  4892. procedure setLATB5(thebits : TBits_1); inline;
  4893. procedure setLATB6(thebits : TBits_1); inline;
  4894. procedure setLATB7(thebits : TBits_1); inline;
  4895. procedure setLATB8(thebits : TBits_1); inline;
  4896. procedure setLATB9(thebits : TBits_1); inline;
  4897. procedure setw(thebits : TBits_32); inline;
  4898. public
  4899. procedure clearLATB0; inline;
  4900. procedure clearLATB10; inline;
  4901. procedure clearLATB11; inline;
  4902. procedure clearLATB12; inline;
  4903. procedure clearLATB13; inline;
  4904. procedure clearLATB14; inline;
  4905. procedure clearLATB15; inline;
  4906. procedure clearLATB1; inline;
  4907. procedure clearLATB2; inline;
  4908. procedure clearLATB3; inline;
  4909. procedure clearLATB4; inline;
  4910. procedure clearLATB5; inline;
  4911. procedure clearLATB6; inline;
  4912. procedure clearLATB7; inline;
  4913. procedure clearLATB8; inline;
  4914. procedure clearLATB9; inline;
  4915. procedure setLATB0; inline;
  4916. procedure setLATB10; inline;
  4917. procedure setLATB11; inline;
  4918. procedure setLATB12; inline;
  4919. procedure setLATB13; inline;
  4920. procedure setLATB14; inline;
  4921. procedure setLATB15; inline;
  4922. procedure setLATB1; inline;
  4923. procedure setLATB2; inline;
  4924. procedure setLATB3; inline;
  4925. procedure setLATB4; inline;
  4926. procedure setLATB5; inline;
  4927. procedure setLATB6; inline;
  4928. procedure setLATB7; inline;
  4929. procedure setLATB8; inline;
  4930. procedure setLATB9; inline;
  4931. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  4932. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  4933. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  4934. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  4935. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  4936. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  4937. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  4938. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  4939. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  4940. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  4941. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  4942. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  4943. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  4944. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  4945. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  4946. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  4947. property w : TBits_32 read getw write setw;
  4948. end;
  4949. TPORTB_ODCB = record
  4950. private
  4951. function getODCB0 : TBits_1; inline;
  4952. function getODCB1 : TBits_1; inline;
  4953. function getODCB10 : TBits_1; inline;
  4954. function getODCB11 : TBits_1; inline;
  4955. function getODCB12 : TBits_1; inline;
  4956. function getODCB13 : TBits_1; inline;
  4957. function getODCB14 : TBits_1; inline;
  4958. function getODCB15 : TBits_1; inline;
  4959. function getODCB2 : TBits_1; inline;
  4960. function getODCB3 : TBits_1; inline;
  4961. function getODCB4 : TBits_1; inline;
  4962. function getODCB5 : TBits_1; inline;
  4963. function getODCB6 : TBits_1; inline;
  4964. function getODCB7 : TBits_1; inline;
  4965. function getODCB8 : TBits_1; inline;
  4966. function getODCB9 : TBits_1; inline;
  4967. function getw : TBits_32; inline;
  4968. procedure setODCB0(thebits : TBits_1); inline;
  4969. procedure setODCB1(thebits : TBits_1); inline;
  4970. procedure setODCB10(thebits : TBits_1); inline;
  4971. procedure setODCB11(thebits : TBits_1); inline;
  4972. procedure setODCB12(thebits : TBits_1); inline;
  4973. procedure setODCB13(thebits : TBits_1); inline;
  4974. procedure setODCB14(thebits : TBits_1); inline;
  4975. procedure setODCB15(thebits : TBits_1); inline;
  4976. procedure setODCB2(thebits : TBits_1); inline;
  4977. procedure setODCB3(thebits : TBits_1); inline;
  4978. procedure setODCB4(thebits : TBits_1); inline;
  4979. procedure setODCB5(thebits : TBits_1); inline;
  4980. procedure setODCB6(thebits : TBits_1); inline;
  4981. procedure setODCB7(thebits : TBits_1); inline;
  4982. procedure setODCB8(thebits : TBits_1); inline;
  4983. procedure setODCB9(thebits : TBits_1); inline;
  4984. procedure setw(thebits : TBits_32); inline;
  4985. public
  4986. procedure clearODCB0; inline;
  4987. procedure clearODCB10; inline;
  4988. procedure clearODCB11; inline;
  4989. procedure clearODCB12; inline;
  4990. procedure clearODCB13; inline;
  4991. procedure clearODCB14; inline;
  4992. procedure clearODCB15; inline;
  4993. procedure clearODCB1; inline;
  4994. procedure clearODCB2; inline;
  4995. procedure clearODCB3; inline;
  4996. procedure clearODCB4; inline;
  4997. procedure clearODCB5; inline;
  4998. procedure clearODCB6; inline;
  4999. procedure clearODCB7; inline;
  5000. procedure clearODCB8; inline;
  5001. procedure clearODCB9; inline;
  5002. procedure setODCB0; inline;
  5003. procedure setODCB10; inline;
  5004. procedure setODCB11; inline;
  5005. procedure setODCB12; inline;
  5006. procedure setODCB13; inline;
  5007. procedure setODCB14; inline;
  5008. procedure setODCB15; inline;
  5009. procedure setODCB1; inline;
  5010. procedure setODCB2; inline;
  5011. procedure setODCB3; inline;
  5012. procedure setODCB4; inline;
  5013. procedure setODCB5; inline;
  5014. procedure setODCB6; inline;
  5015. procedure setODCB7; inline;
  5016. procedure setODCB8; inline;
  5017. procedure setODCB9; inline;
  5018. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  5019. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  5020. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  5021. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  5022. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  5023. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  5024. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  5025. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  5026. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  5027. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  5028. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  5029. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  5030. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  5031. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  5032. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  5033. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  5034. property w : TBits_32 read getw write setw;
  5035. end;
  5036. type
  5037. TPORTBRegisters = record
  5038. TRISBbits : TPORTB_TRISB;
  5039. TRISB : longWord;
  5040. TRISBCLR : longWord;
  5041. TRISBSET : longWord;
  5042. TRISBINV : longWord;
  5043. PORTBbits : TPORTB_PORTB;
  5044. PORTB : longWord;
  5045. PORTBCLR : longWord;
  5046. PORTBSET : longWord;
  5047. PORTBINV : longWord;
  5048. LATBbits : TPORTB_LATB;
  5049. LATB : longWord;
  5050. LATBCLR : longWord;
  5051. LATBSET : longWord;
  5052. LATBINV : longWord;
  5053. ODCBbits : TPORTB_ODCB;
  5054. ODCB : longWord;
  5055. ODCBCLR : longWord;
  5056. ODCBSET : longWord;
  5057. ODCBINV : longWord;
  5058. end;
  5059. TPORTC_TRISC = record
  5060. private
  5061. function getTRISC1 : TBits_1; inline;
  5062. function getTRISC12 : TBits_1; inline;
  5063. function getTRISC13 : TBits_1; inline;
  5064. function getTRISC14 : TBits_1; inline;
  5065. function getTRISC15 : TBits_1; inline;
  5066. function getTRISC2 : TBits_1; inline;
  5067. function getTRISC3 : TBits_1; inline;
  5068. function getTRISC4 : TBits_1; inline;
  5069. function getw : TBits_32; inline;
  5070. procedure setTRISC1(thebits : TBits_1); inline;
  5071. procedure setTRISC12(thebits : TBits_1); inline;
  5072. procedure setTRISC13(thebits : TBits_1); inline;
  5073. procedure setTRISC14(thebits : TBits_1); inline;
  5074. procedure setTRISC15(thebits : TBits_1); inline;
  5075. procedure setTRISC2(thebits : TBits_1); inline;
  5076. procedure setTRISC3(thebits : TBits_1); inline;
  5077. procedure setTRISC4(thebits : TBits_1); inline;
  5078. procedure setw(thebits : TBits_32); inline;
  5079. public
  5080. procedure clearTRISC12; inline;
  5081. procedure clearTRISC13; inline;
  5082. procedure clearTRISC14; inline;
  5083. procedure clearTRISC15; inline;
  5084. procedure clearTRISC1; inline;
  5085. procedure clearTRISC2; inline;
  5086. procedure clearTRISC3; inline;
  5087. procedure clearTRISC4; inline;
  5088. procedure setTRISC12; inline;
  5089. procedure setTRISC13; inline;
  5090. procedure setTRISC14; inline;
  5091. procedure setTRISC15; inline;
  5092. procedure setTRISC1; inline;
  5093. procedure setTRISC2; inline;
  5094. procedure setTRISC3; inline;
  5095. procedure setTRISC4; inline;
  5096. property TRISC1 : TBits_1 read getTRISC1 write setTRISC1;
  5097. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  5098. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  5099. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  5100. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  5101. property TRISC2 : TBits_1 read getTRISC2 write setTRISC2;
  5102. property TRISC3 : TBits_1 read getTRISC3 write setTRISC3;
  5103. property TRISC4 : TBits_1 read getTRISC4 write setTRISC4;
  5104. property w : TBits_32 read getw write setw;
  5105. end;
  5106. TPORTC_PORTC = record
  5107. private
  5108. function getRC1 : TBits_1; inline;
  5109. function getRC12 : TBits_1; inline;
  5110. function getRC13 : TBits_1; inline;
  5111. function getRC14 : TBits_1; inline;
  5112. function getRC15 : TBits_1; inline;
  5113. function getRC2 : TBits_1; inline;
  5114. function getRC3 : TBits_1; inline;
  5115. function getRC4 : TBits_1; inline;
  5116. function getw : TBits_32; inline;
  5117. procedure setRC1(thebits : TBits_1); inline;
  5118. procedure setRC12(thebits : TBits_1); inline;
  5119. procedure setRC13(thebits : TBits_1); inline;
  5120. procedure setRC14(thebits : TBits_1); inline;
  5121. procedure setRC15(thebits : TBits_1); inline;
  5122. procedure setRC2(thebits : TBits_1); inline;
  5123. procedure setRC3(thebits : TBits_1); inline;
  5124. procedure setRC4(thebits : TBits_1); inline;
  5125. procedure setw(thebits : TBits_32); inline;
  5126. public
  5127. procedure clearRC12; inline;
  5128. procedure clearRC13; inline;
  5129. procedure clearRC14; inline;
  5130. procedure clearRC15; inline;
  5131. procedure clearRC1; inline;
  5132. procedure clearRC2; inline;
  5133. procedure clearRC3; inline;
  5134. procedure clearRC4; inline;
  5135. procedure setRC12; inline;
  5136. procedure setRC13; inline;
  5137. procedure setRC14; inline;
  5138. procedure setRC15; inline;
  5139. procedure setRC1; inline;
  5140. procedure setRC2; inline;
  5141. procedure setRC3; inline;
  5142. procedure setRC4; inline;
  5143. property RC1 : TBits_1 read getRC1 write setRC1;
  5144. property RC12 : TBits_1 read getRC12 write setRC12;
  5145. property RC13 : TBits_1 read getRC13 write setRC13;
  5146. property RC14 : TBits_1 read getRC14 write setRC14;
  5147. property RC15 : TBits_1 read getRC15 write setRC15;
  5148. property RC2 : TBits_1 read getRC2 write setRC2;
  5149. property RC3 : TBits_1 read getRC3 write setRC3;
  5150. property RC4 : TBits_1 read getRC4 write setRC4;
  5151. property w : TBits_32 read getw write setw;
  5152. end;
  5153. TPortC_bits=(RC1=1,RC2=2,RC3=3,RC4=4,RC12=12,RC13=13,RC14=14,RC15=15);
  5154. TPortC_bitset = set of TPortC_bits;
  5155. TPORTC_LATC = record
  5156. private
  5157. function getLATC1 : TBits_1; inline;
  5158. function getLATC12 : TBits_1; inline;
  5159. function getLATC13 : TBits_1; inline;
  5160. function getLATC14 : TBits_1; inline;
  5161. function getLATC15 : TBits_1; inline;
  5162. function getLATC2 : TBits_1; inline;
  5163. function getLATC3 : TBits_1; inline;
  5164. function getLATC4 : TBits_1; inline;
  5165. function getw : TBits_32; inline;
  5166. procedure setLATC1(thebits : TBits_1); inline;
  5167. procedure setLATC12(thebits : TBits_1); inline;
  5168. procedure setLATC13(thebits : TBits_1); inline;
  5169. procedure setLATC14(thebits : TBits_1); inline;
  5170. procedure setLATC15(thebits : TBits_1); inline;
  5171. procedure setLATC2(thebits : TBits_1); inline;
  5172. procedure setLATC3(thebits : TBits_1); inline;
  5173. procedure setLATC4(thebits : TBits_1); inline;
  5174. procedure setw(thebits : TBits_32); inline;
  5175. public
  5176. procedure clearLATC12; inline;
  5177. procedure clearLATC13; inline;
  5178. procedure clearLATC14; inline;
  5179. procedure clearLATC15; inline;
  5180. procedure clearLATC1; inline;
  5181. procedure clearLATC2; inline;
  5182. procedure clearLATC3; inline;
  5183. procedure clearLATC4; inline;
  5184. procedure setLATC12; inline;
  5185. procedure setLATC13; inline;
  5186. procedure setLATC14; inline;
  5187. procedure setLATC15; inline;
  5188. procedure setLATC1; inline;
  5189. procedure setLATC2; inline;
  5190. procedure setLATC3; inline;
  5191. procedure setLATC4; inline;
  5192. property LATC1 : TBits_1 read getLATC1 write setLATC1;
  5193. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  5194. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  5195. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  5196. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  5197. property LATC2 : TBits_1 read getLATC2 write setLATC2;
  5198. property LATC3 : TBits_1 read getLATC3 write setLATC3;
  5199. property LATC4 : TBits_1 read getLATC4 write setLATC4;
  5200. property w : TBits_32 read getw write setw;
  5201. end;
  5202. TPORTC_ODCC = record
  5203. private
  5204. function getODCC1 : TBits_1; inline;
  5205. function getODCC12 : TBits_1; inline;
  5206. function getODCC13 : TBits_1; inline;
  5207. function getODCC14 : TBits_1; inline;
  5208. function getODCC15 : TBits_1; inline;
  5209. function getODCC2 : TBits_1; inline;
  5210. function getODCC3 : TBits_1; inline;
  5211. function getODCC4 : TBits_1; inline;
  5212. function getw : TBits_32; inline;
  5213. procedure setODCC1(thebits : TBits_1); inline;
  5214. procedure setODCC12(thebits : TBits_1); inline;
  5215. procedure setODCC13(thebits : TBits_1); inline;
  5216. procedure setODCC14(thebits : TBits_1); inline;
  5217. procedure setODCC15(thebits : TBits_1); inline;
  5218. procedure setODCC2(thebits : TBits_1); inline;
  5219. procedure setODCC3(thebits : TBits_1); inline;
  5220. procedure setODCC4(thebits : TBits_1); inline;
  5221. procedure setw(thebits : TBits_32); inline;
  5222. public
  5223. procedure clearODCC12; inline;
  5224. procedure clearODCC13; inline;
  5225. procedure clearODCC14; inline;
  5226. procedure clearODCC15; inline;
  5227. procedure clearODCC1; inline;
  5228. procedure clearODCC2; inline;
  5229. procedure clearODCC3; inline;
  5230. procedure clearODCC4; inline;
  5231. procedure setODCC12; inline;
  5232. procedure setODCC13; inline;
  5233. procedure setODCC14; inline;
  5234. procedure setODCC15; inline;
  5235. procedure setODCC1; inline;
  5236. procedure setODCC2; inline;
  5237. procedure setODCC3; inline;
  5238. procedure setODCC4; inline;
  5239. property ODCC1 : TBits_1 read getODCC1 write setODCC1;
  5240. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  5241. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  5242. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  5243. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  5244. property ODCC2 : TBits_1 read getODCC2 write setODCC2;
  5245. property ODCC3 : TBits_1 read getODCC3 write setODCC3;
  5246. property ODCC4 : TBits_1 read getODCC4 write setODCC4;
  5247. property w : TBits_32 read getw write setw;
  5248. end;
  5249. type
  5250. TPORTCRegisters = record
  5251. TRISCbits : TPORTC_TRISC;
  5252. TRISC : longWord;
  5253. TRISCCLR : longWord;
  5254. TRISCSET : longWord;
  5255. TRISCINV : longWord;
  5256. PORTCbits : TPORTC_PORTC;
  5257. PORTC : longWord;
  5258. PORTCCLR : longWord;
  5259. PORTCSET : longWord;
  5260. PORTCINV : longWord;
  5261. LATCbits : TPORTC_LATC;
  5262. LATC : longWord;
  5263. LATCCLR : longWord;
  5264. LATCSET : longWord;
  5265. LATCINV : longWord;
  5266. ODCCbits : TPORTC_ODCC;
  5267. ODCC : longWord;
  5268. ODCCCLR : longWord;
  5269. ODCCSET : longWord;
  5270. ODCCINV : longWord;
  5271. end;
  5272. TPORTD_TRISD = record
  5273. private
  5274. function getTRISD0 : TBits_1; inline;
  5275. function getTRISD1 : TBits_1; inline;
  5276. function getTRISD10 : TBits_1; inline;
  5277. function getTRISD11 : TBits_1; inline;
  5278. function getTRISD12 : TBits_1; inline;
  5279. function getTRISD13 : TBits_1; inline;
  5280. function getTRISD14 : TBits_1; inline;
  5281. function getTRISD15 : TBits_1; inline;
  5282. function getTRISD2 : TBits_1; inline;
  5283. function getTRISD3 : TBits_1; inline;
  5284. function getTRISD4 : TBits_1; inline;
  5285. function getTRISD5 : TBits_1; inline;
  5286. function getTRISD6 : TBits_1; inline;
  5287. function getTRISD7 : TBits_1; inline;
  5288. function getTRISD8 : TBits_1; inline;
  5289. function getTRISD9 : TBits_1; inline;
  5290. function getw : TBits_32; inline;
  5291. procedure setTRISD0(thebits : TBits_1); inline;
  5292. procedure setTRISD1(thebits : TBits_1); inline;
  5293. procedure setTRISD10(thebits : TBits_1); inline;
  5294. procedure setTRISD11(thebits : TBits_1); inline;
  5295. procedure setTRISD12(thebits : TBits_1); inline;
  5296. procedure setTRISD13(thebits : TBits_1); inline;
  5297. procedure setTRISD14(thebits : TBits_1); inline;
  5298. procedure setTRISD15(thebits : TBits_1); inline;
  5299. procedure setTRISD2(thebits : TBits_1); inline;
  5300. procedure setTRISD3(thebits : TBits_1); inline;
  5301. procedure setTRISD4(thebits : TBits_1); inline;
  5302. procedure setTRISD5(thebits : TBits_1); inline;
  5303. procedure setTRISD6(thebits : TBits_1); inline;
  5304. procedure setTRISD7(thebits : TBits_1); inline;
  5305. procedure setTRISD8(thebits : TBits_1); inline;
  5306. procedure setTRISD9(thebits : TBits_1); inline;
  5307. procedure setw(thebits : TBits_32); inline;
  5308. public
  5309. procedure clearTRISD0; inline;
  5310. procedure clearTRISD10; inline;
  5311. procedure clearTRISD11; inline;
  5312. procedure clearTRISD12; inline;
  5313. procedure clearTRISD13; inline;
  5314. procedure clearTRISD14; inline;
  5315. procedure clearTRISD15; inline;
  5316. procedure clearTRISD1; inline;
  5317. procedure clearTRISD2; inline;
  5318. procedure clearTRISD3; inline;
  5319. procedure clearTRISD4; inline;
  5320. procedure clearTRISD5; inline;
  5321. procedure clearTRISD6; inline;
  5322. procedure clearTRISD7; inline;
  5323. procedure clearTRISD8; inline;
  5324. procedure clearTRISD9; inline;
  5325. procedure setTRISD0; inline;
  5326. procedure setTRISD10; inline;
  5327. procedure setTRISD11; inline;
  5328. procedure setTRISD12; inline;
  5329. procedure setTRISD13; inline;
  5330. procedure setTRISD14; inline;
  5331. procedure setTRISD15; inline;
  5332. procedure setTRISD1; inline;
  5333. procedure setTRISD2; inline;
  5334. procedure setTRISD3; inline;
  5335. procedure setTRISD4; inline;
  5336. procedure setTRISD5; inline;
  5337. procedure setTRISD6; inline;
  5338. procedure setTRISD7; inline;
  5339. procedure setTRISD8; inline;
  5340. procedure setTRISD9; inline;
  5341. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  5342. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  5343. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  5344. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  5345. property TRISD12 : TBits_1 read getTRISD12 write setTRISD12;
  5346. property TRISD13 : TBits_1 read getTRISD13 write setTRISD13;
  5347. property TRISD14 : TBits_1 read getTRISD14 write setTRISD14;
  5348. property TRISD15 : TBits_1 read getTRISD15 write setTRISD15;
  5349. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  5350. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  5351. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  5352. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  5353. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  5354. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  5355. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  5356. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  5357. property w : TBits_32 read getw write setw;
  5358. end;
  5359. TPORTD_PORTD = record
  5360. private
  5361. function getRD0 : TBits_1; inline;
  5362. function getRD1 : TBits_1; inline;
  5363. function getRD10 : TBits_1; inline;
  5364. function getRD11 : TBits_1; inline;
  5365. function getRD12 : TBits_1; inline;
  5366. function getRD13 : TBits_1; inline;
  5367. function getRD14 : TBits_1; inline;
  5368. function getRD15 : TBits_1; inline;
  5369. function getRD2 : TBits_1; inline;
  5370. function getRD3 : TBits_1; inline;
  5371. function getRD4 : TBits_1; inline;
  5372. function getRD5 : TBits_1; inline;
  5373. function getRD6 : TBits_1; inline;
  5374. function getRD7 : TBits_1; inline;
  5375. function getRD8 : TBits_1; inline;
  5376. function getRD9 : TBits_1; inline;
  5377. function getw : TBits_32; inline;
  5378. procedure setRD0(thebits : TBits_1); inline;
  5379. procedure setRD1(thebits : TBits_1); inline;
  5380. procedure setRD10(thebits : TBits_1); inline;
  5381. procedure setRD11(thebits : TBits_1); inline;
  5382. procedure setRD12(thebits : TBits_1); inline;
  5383. procedure setRD13(thebits : TBits_1); inline;
  5384. procedure setRD14(thebits : TBits_1); inline;
  5385. procedure setRD15(thebits : TBits_1); inline;
  5386. procedure setRD2(thebits : TBits_1); inline;
  5387. procedure setRD3(thebits : TBits_1); inline;
  5388. procedure setRD4(thebits : TBits_1); inline;
  5389. procedure setRD5(thebits : TBits_1); inline;
  5390. procedure setRD6(thebits : TBits_1); inline;
  5391. procedure setRD7(thebits : TBits_1); inline;
  5392. procedure setRD8(thebits : TBits_1); inline;
  5393. procedure setRD9(thebits : TBits_1); inline;
  5394. procedure setw(thebits : TBits_32); inline;
  5395. public
  5396. procedure clearRD0; inline;
  5397. procedure clearRD10; inline;
  5398. procedure clearRD11; inline;
  5399. procedure clearRD12; inline;
  5400. procedure clearRD13; inline;
  5401. procedure clearRD14; inline;
  5402. procedure clearRD15; inline;
  5403. procedure clearRD1; inline;
  5404. procedure clearRD2; inline;
  5405. procedure clearRD3; inline;
  5406. procedure clearRD4; inline;
  5407. procedure clearRD5; inline;
  5408. procedure clearRD6; inline;
  5409. procedure clearRD7; inline;
  5410. procedure clearRD8; inline;
  5411. procedure clearRD9; inline;
  5412. procedure setRD0; inline;
  5413. procedure setRD10; inline;
  5414. procedure setRD11; inline;
  5415. procedure setRD12; inline;
  5416. procedure setRD13; inline;
  5417. procedure setRD14; inline;
  5418. procedure setRD15; inline;
  5419. procedure setRD1; inline;
  5420. procedure setRD2; inline;
  5421. procedure setRD3; inline;
  5422. procedure setRD4; inline;
  5423. procedure setRD5; inline;
  5424. procedure setRD6; inline;
  5425. procedure setRD7; inline;
  5426. procedure setRD8; inline;
  5427. procedure setRD9; inline;
  5428. property RD0 : TBits_1 read getRD0 write setRD0;
  5429. property RD1 : TBits_1 read getRD1 write setRD1;
  5430. property RD10 : TBits_1 read getRD10 write setRD10;
  5431. property RD11 : TBits_1 read getRD11 write setRD11;
  5432. property RD12 : TBits_1 read getRD12 write setRD12;
  5433. property RD13 : TBits_1 read getRD13 write setRD13;
  5434. property RD14 : TBits_1 read getRD14 write setRD14;
  5435. property RD15 : TBits_1 read getRD15 write setRD15;
  5436. property RD2 : TBits_1 read getRD2 write setRD2;
  5437. property RD3 : TBits_1 read getRD3 write setRD3;
  5438. property RD4 : TBits_1 read getRD4 write setRD4;
  5439. property RD5 : TBits_1 read getRD5 write setRD5;
  5440. property RD6 : TBits_1 read getRD6 write setRD6;
  5441. property RD7 : TBits_1 read getRD7 write setRD7;
  5442. property RD8 : TBits_1 read getRD8 write setRD8;
  5443. property RD9 : TBits_1 read getRD9 write setRD9;
  5444. property w : TBits_32 read getw write setw;
  5445. end;
  5446. 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,RD12=12,RD13=13,RD14=14,RD15=15);
  5447. TPortD_bitset = set of TPortD_bits;
  5448. TPORTD_LATD = record
  5449. private
  5450. function getLATD0 : TBits_1; inline;
  5451. function getLATD1 : TBits_1; inline;
  5452. function getLATD10 : TBits_1; inline;
  5453. function getLATD11 : TBits_1; inline;
  5454. function getLATD12 : TBits_1; inline;
  5455. function getLATD13 : TBits_1; inline;
  5456. function getLATD14 : TBits_1; inline;
  5457. function getLATD15 : TBits_1; inline;
  5458. function getLATD2 : TBits_1; inline;
  5459. function getLATD3 : TBits_1; inline;
  5460. function getLATD4 : TBits_1; inline;
  5461. function getLATD5 : TBits_1; inline;
  5462. function getLATD6 : TBits_1; inline;
  5463. function getLATD7 : TBits_1; inline;
  5464. function getLATD8 : TBits_1; inline;
  5465. function getLATD9 : TBits_1; inline;
  5466. function getw : TBits_32; inline;
  5467. procedure setLATD0(thebits : TBits_1); inline;
  5468. procedure setLATD1(thebits : TBits_1); inline;
  5469. procedure setLATD10(thebits : TBits_1); inline;
  5470. procedure setLATD11(thebits : TBits_1); inline;
  5471. procedure setLATD12(thebits : TBits_1); inline;
  5472. procedure setLATD13(thebits : TBits_1); inline;
  5473. procedure setLATD14(thebits : TBits_1); inline;
  5474. procedure setLATD15(thebits : TBits_1); inline;
  5475. procedure setLATD2(thebits : TBits_1); inline;
  5476. procedure setLATD3(thebits : TBits_1); inline;
  5477. procedure setLATD4(thebits : TBits_1); inline;
  5478. procedure setLATD5(thebits : TBits_1); inline;
  5479. procedure setLATD6(thebits : TBits_1); inline;
  5480. procedure setLATD7(thebits : TBits_1); inline;
  5481. procedure setLATD8(thebits : TBits_1); inline;
  5482. procedure setLATD9(thebits : TBits_1); inline;
  5483. procedure setw(thebits : TBits_32); inline;
  5484. public
  5485. procedure clearLATD0; inline;
  5486. procedure clearLATD10; inline;
  5487. procedure clearLATD11; inline;
  5488. procedure clearLATD12; inline;
  5489. procedure clearLATD13; inline;
  5490. procedure clearLATD14; inline;
  5491. procedure clearLATD15; inline;
  5492. procedure clearLATD1; inline;
  5493. procedure clearLATD2; inline;
  5494. procedure clearLATD3; inline;
  5495. procedure clearLATD4; inline;
  5496. procedure clearLATD5; inline;
  5497. procedure clearLATD6; inline;
  5498. procedure clearLATD7; inline;
  5499. procedure clearLATD8; inline;
  5500. procedure clearLATD9; inline;
  5501. procedure setLATD0; inline;
  5502. procedure setLATD10; inline;
  5503. procedure setLATD11; inline;
  5504. procedure setLATD12; inline;
  5505. procedure setLATD13; inline;
  5506. procedure setLATD14; inline;
  5507. procedure setLATD15; inline;
  5508. procedure setLATD1; inline;
  5509. procedure setLATD2; inline;
  5510. procedure setLATD3; inline;
  5511. procedure setLATD4; inline;
  5512. procedure setLATD5; inline;
  5513. procedure setLATD6; inline;
  5514. procedure setLATD7; inline;
  5515. procedure setLATD8; inline;
  5516. procedure setLATD9; inline;
  5517. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  5518. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  5519. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  5520. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  5521. property LATD12 : TBits_1 read getLATD12 write setLATD12;
  5522. property LATD13 : TBits_1 read getLATD13 write setLATD13;
  5523. property LATD14 : TBits_1 read getLATD14 write setLATD14;
  5524. property LATD15 : TBits_1 read getLATD15 write setLATD15;
  5525. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  5526. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  5527. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  5528. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  5529. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  5530. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  5531. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  5532. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  5533. property w : TBits_32 read getw write setw;
  5534. end;
  5535. TPORTD_ODCD = record
  5536. private
  5537. function getODCD0 : TBits_1; inline;
  5538. function getODCD1 : TBits_1; inline;
  5539. function getODCD10 : TBits_1; inline;
  5540. function getODCD11 : TBits_1; inline;
  5541. function getODCD12 : TBits_1; inline;
  5542. function getODCD13 : TBits_1; inline;
  5543. function getODCD14 : TBits_1; inline;
  5544. function getODCD15 : TBits_1; inline;
  5545. function getODCD2 : TBits_1; inline;
  5546. function getODCD3 : TBits_1; inline;
  5547. function getODCD4 : TBits_1; inline;
  5548. function getODCD5 : TBits_1; inline;
  5549. function getODCD6 : TBits_1; inline;
  5550. function getODCD7 : TBits_1; inline;
  5551. function getODCD8 : TBits_1; inline;
  5552. function getODCD9 : TBits_1; inline;
  5553. function getw : TBits_32; inline;
  5554. procedure setODCD0(thebits : TBits_1); inline;
  5555. procedure setODCD1(thebits : TBits_1); inline;
  5556. procedure setODCD10(thebits : TBits_1); inline;
  5557. procedure setODCD11(thebits : TBits_1); inline;
  5558. procedure setODCD12(thebits : TBits_1); inline;
  5559. procedure setODCD13(thebits : TBits_1); inline;
  5560. procedure setODCD14(thebits : TBits_1); inline;
  5561. procedure setODCD15(thebits : TBits_1); inline;
  5562. procedure setODCD2(thebits : TBits_1); inline;
  5563. procedure setODCD3(thebits : TBits_1); inline;
  5564. procedure setODCD4(thebits : TBits_1); inline;
  5565. procedure setODCD5(thebits : TBits_1); inline;
  5566. procedure setODCD6(thebits : TBits_1); inline;
  5567. procedure setODCD7(thebits : TBits_1); inline;
  5568. procedure setODCD8(thebits : TBits_1); inline;
  5569. procedure setODCD9(thebits : TBits_1); inline;
  5570. procedure setw(thebits : TBits_32); inline;
  5571. public
  5572. procedure clearODCD0; inline;
  5573. procedure clearODCD10; inline;
  5574. procedure clearODCD11; inline;
  5575. procedure clearODCD12; inline;
  5576. procedure clearODCD13; inline;
  5577. procedure clearODCD14; inline;
  5578. procedure clearODCD15; inline;
  5579. procedure clearODCD1; inline;
  5580. procedure clearODCD2; inline;
  5581. procedure clearODCD3; inline;
  5582. procedure clearODCD4; inline;
  5583. procedure clearODCD5; inline;
  5584. procedure clearODCD6; inline;
  5585. procedure clearODCD7; inline;
  5586. procedure clearODCD8; inline;
  5587. procedure clearODCD9; inline;
  5588. procedure setODCD0; inline;
  5589. procedure setODCD10; inline;
  5590. procedure setODCD11; inline;
  5591. procedure setODCD12; inline;
  5592. procedure setODCD13; inline;
  5593. procedure setODCD14; inline;
  5594. procedure setODCD15; inline;
  5595. procedure setODCD1; inline;
  5596. procedure setODCD2; inline;
  5597. procedure setODCD3; inline;
  5598. procedure setODCD4; inline;
  5599. procedure setODCD5; inline;
  5600. procedure setODCD6; inline;
  5601. procedure setODCD7; inline;
  5602. procedure setODCD8; inline;
  5603. procedure setODCD9; inline;
  5604. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  5605. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  5606. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  5607. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  5608. property ODCD12 : TBits_1 read getODCD12 write setODCD12;
  5609. property ODCD13 : TBits_1 read getODCD13 write setODCD13;
  5610. property ODCD14 : TBits_1 read getODCD14 write setODCD14;
  5611. property ODCD15 : TBits_1 read getODCD15 write setODCD15;
  5612. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  5613. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  5614. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  5615. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  5616. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  5617. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  5618. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  5619. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  5620. property w : TBits_32 read getw write setw;
  5621. end;
  5622. type
  5623. TPORTDRegisters = record
  5624. TRISDbits : TPORTD_TRISD;
  5625. TRISD : longWord;
  5626. TRISDCLR : longWord;
  5627. TRISDSET : longWord;
  5628. TRISDINV : longWord;
  5629. PORTDbits : TPORTD_PORTD;
  5630. PORTD : longWord;
  5631. PORTDCLR : longWord;
  5632. PORTDSET : longWord;
  5633. PORTDINV : longWord;
  5634. LATDbits : TPORTD_LATD;
  5635. LATD : longWord;
  5636. LATDCLR : longWord;
  5637. LATDSET : longWord;
  5638. LATDINV : longWord;
  5639. ODCDbits : TPORTD_ODCD;
  5640. ODCD : longWord;
  5641. ODCDCLR : longWord;
  5642. ODCDSET : longWord;
  5643. ODCDINV : longWord;
  5644. end;
  5645. TPORTE_TRISE = record
  5646. private
  5647. function getTRISE0 : TBits_1; inline;
  5648. function getTRISE1 : TBits_1; inline;
  5649. function getTRISE2 : TBits_1; inline;
  5650. function getTRISE3 : TBits_1; inline;
  5651. function getTRISE4 : TBits_1; inline;
  5652. function getTRISE5 : TBits_1; inline;
  5653. function getTRISE6 : TBits_1; inline;
  5654. function getTRISE7 : TBits_1; inline;
  5655. function getTRISE8 : TBits_1; inline;
  5656. function getTRISE9 : TBits_1; inline;
  5657. function getw : TBits_32; inline;
  5658. procedure setTRISE0(thebits : TBits_1); inline;
  5659. procedure setTRISE1(thebits : TBits_1); inline;
  5660. procedure setTRISE2(thebits : TBits_1); inline;
  5661. procedure setTRISE3(thebits : TBits_1); inline;
  5662. procedure setTRISE4(thebits : TBits_1); inline;
  5663. procedure setTRISE5(thebits : TBits_1); inline;
  5664. procedure setTRISE6(thebits : TBits_1); inline;
  5665. procedure setTRISE7(thebits : TBits_1); inline;
  5666. procedure setTRISE8(thebits : TBits_1); inline;
  5667. procedure setTRISE9(thebits : TBits_1); inline;
  5668. procedure setw(thebits : TBits_32); inline;
  5669. public
  5670. procedure clearTRISE0; inline;
  5671. procedure clearTRISE1; inline;
  5672. procedure clearTRISE2; inline;
  5673. procedure clearTRISE3; inline;
  5674. procedure clearTRISE4; inline;
  5675. procedure clearTRISE5; inline;
  5676. procedure clearTRISE6; inline;
  5677. procedure clearTRISE7; inline;
  5678. procedure clearTRISE8; inline;
  5679. procedure clearTRISE9; inline;
  5680. procedure setTRISE0; inline;
  5681. procedure setTRISE1; inline;
  5682. procedure setTRISE2; inline;
  5683. procedure setTRISE3; inline;
  5684. procedure setTRISE4; inline;
  5685. procedure setTRISE5; inline;
  5686. procedure setTRISE6; inline;
  5687. procedure setTRISE7; inline;
  5688. procedure setTRISE8; inline;
  5689. procedure setTRISE9; inline;
  5690. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  5691. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  5692. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  5693. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  5694. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  5695. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  5696. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  5697. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  5698. property TRISE8 : TBits_1 read getTRISE8 write setTRISE8;
  5699. property TRISE9 : TBits_1 read getTRISE9 write setTRISE9;
  5700. property w : TBits_32 read getw write setw;
  5701. end;
  5702. TPORTE_PORTE = record
  5703. private
  5704. function getRE0 : TBits_1; inline;
  5705. function getRE1 : TBits_1; inline;
  5706. function getRE2 : TBits_1; inline;
  5707. function getRE3 : TBits_1; inline;
  5708. function getRE4 : TBits_1; inline;
  5709. function getRE5 : TBits_1; inline;
  5710. function getRE6 : TBits_1; inline;
  5711. function getRE7 : TBits_1; inline;
  5712. function getRE8 : TBits_1; inline;
  5713. function getRE9 : TBits_1; inline;
  5714. function getw : TBits_32; inline;
  5715. procedure setRE0(thebits : TBits_1); inline;
  5716. procedure setRE1(thebits : TBits_1); inline;
  5717. procedure setRE2(thebits : TBits_1); inline;
  5718. procedure setRE3(thebits : TBits_1); inline;
  5719. procedure setRE4(thebits : TBits_1); inline;
  5720. procedure setRE5(thebits : TBits_1); inline;
  5721. procedure setRE6(thebits : TBits_1); inline;
  5722. procedure setRE7(thebits : TBits_1); inline;
  5723. procedure setRE8(thebits : TBits_1); inline;
  5724. procedure setRE9(thebits : TBits_1); inline;
  5725. procedure setw(thebits : TBits_32); inline;
  5726. public
  5727. procedure clearRE0; inline;
  5728. procedure clearRE1; inline;
  5729. procedure clearRE2; inline;
  5730. procedure clearRE3; inline;
  5731. procedure clearRE4; inline;
  5732. procedure clearRE5; inline;
  5733. procedure clearRE6; inline;
  5734. procedure clearRE7; inline;
  5735. procedure clearRE8; inline;
  5736. procedure clearRE9; inline;
  5737. procedure setRE0; inline;
  5738. procedure setRE1; inline;
  5739. procedure setRE2; inline;
  5740. procedure setRE3; inline;
  5741. procedure setRE4; inline;
  5742. procedure setRE5; inline;
  5743. procedure setRE6; inline;
  5744. procedure setRE7; inline;
  5745. procedure setRE8; inline;
  5746. procedure setRE9; inline;
  5747. property RE0 : TBits_1 read getRE0 write setRE0;
  5748. property RE1 : TBits_1 read getRE1 write setRE1;
  5749. property RE2 : TBits_1 read getRE2 write setRE2;
  5750. property RE3 : TBits_1 read getRE3 write setRE3;
  5751. property RE4 : TBits_1 read getRE4 write setRE4;
  5752. property RE5 : TBits_1 read getRE5 write setRE5;
  5753. property RE6 : TBits_1 read getRE6 write setRE6;
  5754. property RE7 : TBits_1 read getRE7 write setRE7;
  5755. property RE8 : TBits_1 read getRE8 write setRE8;
  5756. property RE9 : TBits_1 read getRE9 write setRE9;
  5757. property w : TBits_32 read getw write setw;
  5758. end;
  5759. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7,RE8=8,RE9=9);
  5760. TPortE_bitset = set of TPortE_bits;
  5761. TPORTE_LATE = record
  5762. private
  5763. function getLATE0 : TBits_1; inline;
  5764. function getLATE1 : TBits_1; inline;
  5765. function getLATE2 : TBits_1; inline;
  5766. function getLATE3 : TBits_1; inline;
  5767. function getLATE4 : TBits_1; inline;
  5768. function getLATE5 : TBits_1; inline;
  5769. function getLATE6 : TBits_1; inline;
  5770. function getLATE7 : TBits_1; inline;
  5771. function getLATE8 : TBits_1; inline;
  5772. function getLATE9 : TBits_1; inline;
  5773. function getw : TBits_32; inline;
  5774. procedure setLATE0(thebits : TBits_1); inline;
  5775. procedure setLATE1(thebits : TBits_1); inline;
  5776. procedure setLATE2(thebits : TBits_1); inline;
  5777. procedure setLATE3(thebits : TBits_1); inline;
  5778. procedure setLATE4(thebits : TBits_1); inline;
  5779. procedure setLATE5(thebits : TBits_1); inline;
  5780. procedure setLATE6(thebits : TBits_1); inline;
  5781. procedure setLATE7(thebits : TBits_1); inline;
  5782. procedure setLATE8(thebits : TBits_1); inline;
  5783. procedure setLATE9(thebits : TBits_1); inline;
  5784. procedure setw(thebits : TBits_32); inline;
  5785. public
  5786. procedure clearLATE0; inline;
  5787. procedure clearLATE1; inline;
  5788. procedure clearLATE2; inline;
  5789. procedure clearLATE3; inline;
  5790. procedure clearLATE4; inline;
  5791. procedure clearLATE5; inline;
  5792. procedure clearLATE6; inline;
  5793. procedure clearLATE7; inline;
  5794. procedure clearLATE8; inline;
  5795. procedure clearLATE9; inline;
  5796. procedure setLATE0; inline;
  5797. procedure setLATE1; inline;
  5798. procedure setLATE2; inline;
  5799. procedure setLATE3; inline;
  5800. procedure setLATE4; inline;
  5801. procedure setLATE5; inline;
  5802. procedure setLATE6; inline;
  5803. procedure setLATE7; inline;
  5804. procedure setLATE8; inline;
  5805. procedure setLATE9; inline;
  5806. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  5807. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  5808. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  5809. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  5810. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  5811. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  5812. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  5813. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  5814. property LATE8 : TBits_1 read getLATE8 write setLATE8;
  5815. property LATE9 : TBits_1 read getLATE9 write setLATE9;
  5816. property w : TBits_32 read getw write setw;
  5817. end;
  5818. TPORTE_ODCE = record
  5819. private
  5820. function getODCE0 : TBits_1; inline;
  5821. function getODCE1 : TBits_1; inline;
  5822. function getODCE2 : TBits_1; inline;
  5823. function getODCE3 : TBits_1; inline;
  5824. function getODCE4 : TBits_1; inline;
  5825. function getODCE5 : TBits_1; inline;
  5826. function getODCE6 : TBits_1; inline;
  5827. function getODCE7 : TBits_1; inline;
  5828. function getODCE8 : TBits_1; inline;
  5829. function getODCE9 : TBits_1; inline;
  5830. function getw : TBits_32; inline;
  5831. procedure setODCE0(thebits : TBits_1); inline;
  5832. procedure setODCE1(thebits : TBits_1); inline;
  5833. procedure setODCE2(thebits : TBits_1); inline;
  5834. procedure setODCE3(thebits : TBits_1); inline;
  5835. procedure setODCE4(thebits : TBits_1); inline;
  5836. procedure setODCE5(thebits : TBits_1); inline;
  5837. procedure setODCE6(thebits : TBits_1); inline;
  5838. procedure setODCE7(thebits : TBits_1); inline;
  5839. procedure setODCE8(thebits : TBits_1); inline;
  5840. procedure setODCE9(thebits : TBits_1); inline;
  5841. procedure setw(thebits : TBits_32); inline;
  5842. public
  5843. procedure clearODCE0; inline;
  5844. procedure clearODCE1; inline;
  5845. procedure clearODCE2; inline;
  5846. procedure clearODCE3; inline;
  5847. procedure clearODCE4; inline;
  5848. procedure clearODCE5; inline;
  5849. procedure clearODCE6; inline;
  5850. procedure clearODCE7; inline;
  5851. procedure clearODCE8; inline;
  5852. procedure clearODCE9; inline;
  5853. procedure setODCE0; inline;
  5854. procedure setODCE1; inline;
  5855. procedure setODCE2; inline;
  5856. procedure setODCE3; inline;
  5857. procedure setODCE4; inline;
  5858. procedure setODCE5; inline;
  5859. procedure setODCE6; inline;
  5860. procedure setODCE7; inline;
  5861. procedure setODCE8; inline;
  5862. procedure setODCE9; inline;
  5863. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  5864. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  5865. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  5866. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  5867. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  5868. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  5869. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  5870. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  5871. property ODCE8 : TBits_1 read getODCE8 write setODCE8;
  5872. property ODCE9 : TBits_1 read getODCE9 write setODCE9;
  5873. property w : TBits_32 read getw write setw;
  5874. end;
  5875. type
  5876. TPORTERegisters = record
  5877. TRISEbits : TPORTE_TRISE;
  5878. TRISE : longWord;
  5879. TRISECLR : longWord;
  5880. TRISESET : longWord;
  5881. TRISEINV : longWord;
  5882. PORTEbits : TPORTE_PORTE;
  5883. PORTE : longWord;
  5884. PORTECLR : longWord;
  5885. PORTESET : longWord;
  5886. PORTEINV : longWord;
  5887. LATEbits : TPORTE_LATE;
  5888. LATE : longWord;
  5889. LATECLR : longWord;
  5890. LATESET : longWord;
  5891. LATEINV : longWord;
  5892. ODCEbits : TPORTE_ODCE;
  5893. ODCE : longWord;
  5894. ODCECLR : longWord;
  5895. ODCESET : longWord;
  5896. ODCEINV : longWord;
  5897. end;
  5898. TPORTF_TRISF = record
  5899. private
  5900. function getTRISF0 : TBits_1; inline;
  5901. function getTRISF1 : TBits_1; inline;
  5902. function getTRISF12 : TBits_1; inline;
  5903. function getTRISF13 : TBits_1; inline;
  5904. function getTRISF2 : TBits_1; inline;
  5905. function getTRISF3 : TBits_1; inline;
  5906. function getTRISF4 : TBits_1; inline;
  5907. function getTRISF5 : TBits_1; inline;
  5908. function getTRISF6 : TBits_1; inline;
  5909. function getTRISF7 : TBits_1; inline;
  5910. function getTRISF8 : TBits_1; inline;
  5911. function getw : TBits_32; inline;
  5912. procedure setTRISF0(thebits : TBits_1); inline;
  5913. procedure setTRISF1(thebits : TBits_1); inline;
  5914. procedure setTRISF12(thebits : TBits_1); inline;
  5915. procedure setTRISF13(thebits : TBits_1); inline;
  5916. procedure setTRISF2(thebits : TBits_1); inline;
  5917. procedure setTRISF3(thebits : TBits_1); inline;
  5918. procedure setTRISF4(thebits : TBits_1); inline;
  5919. procedure setTRISF5(thebits : TBits_1); inline;
  5920. procedure setTRISF6(thebits : TBits_1); inline;
  5921. procedure setTRISF7(thebits : TBits_1); inline;
  5922. procedure setTRISF8(thebits : TBits_1); inline;
  5923. procedure setw(thebits : TBits_32); inline;
  5924. public
  5925. procedure clearTRISF0; inline;
  5926. procedure clearTRISF12; inline;
  5927. procedure clearTRISF13; inline;
  5928. procedure clearTRISF1; inline;
  5929. procedure clearTRISF2; inline;
  5930. procedure clearTRISF3; inline;
  5931. procedure clearTRISF4; inline;
  5932. procedure clearTRISF5; inline;
  5933. procedure clearTRISF6; inline;
  5934. procedure clearTRISF7; inline;
  5935. procedure clearTRISF8; inline;
  5936. procedure setTRISF0; inline;
  5937. procedure setTRISF12; inline;
  5938. procedure setTRISF13; inline;
  5939. procedure setTRISF1; inline;
  5940. procedure setTRISF2; inline;
  5941. procedure setTRISF3; inline;
  5942. procedure setTRISF4; inline;
  5943. procedure setTRISF5; inline;
  5944. procedure setTRISF6; inline;
  5945. procedure setTRISF7; inline;
  5946. procedure setTRISF8; inline;
  5947. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  5948. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  5949. property TRISF12 : TBits_1 read getTRISF12 write setTRISF12;
  5950. property TRISF13 : TBits_1 read getTRISF13 write setTRISF13;
  5951. property TRISF2 : TBits_1 read getTRISF2 write setTRISF2;
  5952. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  5953. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  5954. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  5955. property TRISF6 : TBits_1 read getTRISF6 write setTRISF6;
  5956. property TRISF7 : TBits_1 read getTRISF7 write setTRISF7;
  5957. property TRISF8 : TBits_1 read getTRISF8 write setTRISF8;
  5958. property w : TBits_32 read getw write setw;
  5959. end;
  5960. TPORTF_PORTF = record
  5961. private
  5962. function getRF0 : TBits_1; inline;
  5963. function getRF1 : TBits_1; inline;
  5964. function getRF12 : TBits_1; inline;
  5965. function getRF13 : TBits_1; inline;
  5966. function getRF2 : TBits_1; inline;
  5967. function getRF3 : TBits_1; inline;
  5968. function getRF4 : TBits_1; inline;
  5969. function getRF5 : TBits_1; inline;
  5970. function getRF6 : TBits_1; inline;
  5971. function getRF7 : TBits_1; inline;
  5972. function getRF8 : TBits_1; inline;
  5973. function getw : TBits_32; inline;
  5974. procedure setRF0(thebits : TBits_1); inline;
  5975. procedure setRF1(thebits : TBits_1); inline;
  5976. procedure setRF12(thebits : TBits_1); inline;
  5977. procedure setRF13(thebits : TBits_1); inline;
  5978. procedure setRF2(thebits : TBits_1); inline;
  5979. procedure setRF3(thebits : TBits_1); inline;
  5980. procedure setRF4(thebits : TBits_1); inline;
  5981. procedure setRF5(thebits : TBits_1); inline;
  5982. procedure setRF6(thebits : TBits_1); inline;
  5983. procedure setRF7(thebits : TBits_1); inline;
  5984. procedure setRF8(thebits : TBits_1); inline;
  5985. procedure setw(thebits : TBits_32); inline;
  5986. public
  5987. procedure clearRF0; inline;
  5988. procedure clearRF12; inline;
  5989. procedure clearRF13; inline;
  5990. procedure clearRF1; inline;
  5991. procedure clearRF2; inline;
  5992. procedure clearRF3; inline;
  5993. procedure clearRF4; inline;
  5994. procedure clearRF5; inline;
  5995. procedure clearRF6; inline;
  5996. procedure clearRF7; inline;
  5997. procedure clearRF8; inline;
  5998. procedure setRF0; inline;
  5999. procedure setRF12; inline;
  6000. procedure setRF13; inline;
  6001. procedure setRF1; inline;
  6002. procedure setRF2; inline;
  6003. procedure setRF3; inline;
  6004. procedure setRF4; inline;
  6005. procedure setRF5; inline;
  6006. procedure setRF6; inline;
  6007. procedure setRF7; inline;
  6008. procedure setRF8; inline;
  6009. property RF0 : TBits_1 read getRF0 write setRF0;
  6010. property RF1 : TBits_1 read getRF1 write setRF1;
  6011. property RF12 : TBits_1 read getRF12 write setRF12;
  6012. property RF13 : TBits_1 read getRF13 write setRF13;
  6013. property RF2 : TBits_1 read getRF2 write setRF2;
  6014. property RF3 : TBits_1 read getRF3 write setRF3;
  6015. property RF4 : TBits_1 read getRF4 write setRF4;
  6016. property RF5 : TBits_1 read getRF5 write setRF5;
  6017. property RF6 : TBits_1 read getRF6 write setRF6;
  6018. property RF7 : TBits_1 read getRF7 write setRF7;
  6019. property RF8 : TBits_1 read getRF8 write setRF8;
  6020. property w : TBits_32 read getw write setw;
  6021. end;
  6022. TPortF_bits=(RF0=0,RF1=1,RF2=2,RF3=3,RF4=4,RF5=5,RF6=6,RF7=7,RF8=8,RF12=12,RF13=13);
  6023. TPortF_bitset = set of TPortF_bits;
  6024. TPORTF_LATF = record
  6025. private
  6026. function getLATF0 : TBits_1; inline;
  6027. function getLATF1 : TBits_1; inline;
  6028. function getLATF12 : TBits_1; inline;
  6029. function getLATF13 : TBits_1; inline;
  6030. function getLATF2 : TBits_1; inline;
  6031. function getLATF3 : TBits_1; inline;
  6032. function getLATF4 : TBits_1; inline;
  6033. function getLATF5 : TBits_1; inline;
  6034. function getLATF6 : TBits_1; inline;
  6035. function getLATF7 : TBits_1; inline;
  6036. function getLATF8 : TBits_1; inline;
  6037. function getw : TBits_32; inline;
  6038. procedure setLATF0(thebits : TBits_1); inline;
  6039. procedure setLATF1(thebits : TBits_1); inline;
  6040. procedure setLATF12(thebits : TBits_1); inline;
  6041. procedure setLATF13(thebits : TBits_1); inline;
  6042. procedure setLATF2(thebits : TBits_1); inline;
  6043. procedure setLATF3(thebits : TBits_1); inline;
  6044. procedure setLATF4(thebits : TBits_1); inline;
  6045. procedure setLATF5(thebits : TBits_1); inline;
  6046. procedure setLATF6(thebits : TBits_1); inline;
  6047. procedure setLATF7(thebits : TBits_1); inline;
  6048. procedure setLATF8(thebits : TBits_1); inline;
  6049. procedure setw(thebits : TBits_32); inline;
  6050. public
  6051. procedure clearLATF0; inline;
  6052. procedure clearLATF12; inline;
  6053. procedure clearLATF13; inline;
  6054. procedure clearLATF1; inline;
  6055. procedure clearLATF2; inline;
  6056. procedure clearLATF3; inline;
  6057. procedure clearLATF4; inline;
  6058. procedure clearLATF5; inline;
  6059. procedure clearLATF6; inline;
  6060. procedure clearLATF7; inline;
  6061. procedure clearLATF8; inline;
  6062. procedure setLATF0; inline;
  6063. procedure setLATF12; inline;
  6064. procedure setLATF13; inline;
  6065. procedure setLATF1; inline;
  6066. procedure setLATF2; inline;
  6067. procedure setLATF3; inline;
  6068. procedure setLATF4; inline;
  6069. procedure setLATF5; inline;
  6070. procedure setLATF6; inline;
  6071. procedure setLATF7; inline;
  6072. procedure setLATF8; inline;
  6073. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  6074. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  6075. property LATF12 : TBits_1 read getLATF12 write setLATF12;
  6076. property LATF13 : TBits_1 read getLATF13 write setLATF13;
  6077. property LATF2 : TBits_1 read getLATF2 write setLATF2;
  6078. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  6079. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  6080. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  6081. property LATF6 : TBits_1 read getLATF6 write setLATF6;
  6082. property LATF7 : TBits_1 read getLATF7 write setLATF7;
  6083. property LATF8 : TBits_1 read getLATF8 write setLATF8;
  6084. property w : TBits_32 read getw write setw;
  6085. end;
  6086. TPORTF_ODCF = record
  6087. private
  6088. function getODCF0 : TBits_1; inline;
  6089. function getODCF1 : TBits_1; inline;
  6090. function getODCF12 : TBits_1; inline;
  6091. function getODCF13 : TBits_1; inline;
  6092. function getODCF2 : TBits_1; inline;
  6093. function getODCF3 : TBits_1; inline;
  6094. function getODCF4 : TBits_1; inline;
  6095. function getODCF5 : TBits_1; inline;
  6096. function getODCF6 : TBits_1; inline;
  6097. function getODCF7 : TBits_1; inline;
  6098. function getODCF8 : TBits_1; inline;
  6099. function getw : TBits_32; inline;
  6100. procedure setODCF0(thebits : TBits_1); inline;
  6101. procedure setODCF1(thebits : TBits_1); inline;
  6102. procedure setODCF12(thebits : TBits_1); inline;
  6103. procedure setODCF13(thebits : TBits_1); inline;
  6104. procedure setODCF2(thebits : TBits_1); inline;
  6105. procedure setODCF3(thebits : TBits_1); inline;
  6106. procedure setODCF4(thebits : TBits_1); inline;
  6107. procedure setODCF5(thebits : TBits_1); inline;
  6108. procedure setODCF6(thebits : TBits_1); inline;
  6109. procedure setODCF7(thebits : TBits_1); inline;
  6110. procedure setODCF8(thebits : TBits_1); inline;
  6111. procedure setw(thebits : TBits_32); inline;
  6112. public
  6113. procedure clearODCF0; inline;
  6114. procedure clearODCF12; inline;
  6115. procedure clearODCF13; inline;
  6116. procedure clearODCF1; inline;
  6117. procedure clearODCF2; inline;
  6118. procedure clearODCF3; inline;
  6119. procedure clearODCF4; inline;
  6120. procedure clearODCF5; inline;
  6121. procedure clearODCF6; inline;
  6122. procedure clearODCF7; inline;
  6123. procedure clearODCF8; inline;
  6124. procedure setODCF0; inline;
  6125. procedure setODCF12; inline;
  6126. procedure setODCF13; inline;
  6127. procedure setODCF1; inline;
  6128. procedure setODCF2; inline;
  6129. procedure setODCF3; inline;
  6130. procedure setODCF4; inline;
  6131. procedure setODCF5; inline;
  6132. procedure setODCF6; inline;
  6133. procedure setODCF7; inline;
  6134. procedure setODCF8; inline;
  6135. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  6136. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  6137. property ODCF12 : TBits_1 read getODCF12 write setODCF12;
  6138. property ODCF13 : TBits_1 read getODCF13 write setODCF13;
  6139. property ODCF2 : TBits_1 read getODCF2 write setODCF2;
  6140. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  6141. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  6142. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  6143. property ODCF6 : TBits_1 read getODCF6 write setODCF6;
  6144. property ODCF7 : TBits_1 read getODCF7 write setODCF7;
  6145. property ODCF8 : TBits_1 read getODCF8 write setODCF8;
  6146. property w : TBits_32 read getw write setw;
  6147. end;
  6148. type
  6149. TPORTFRegisters = record
  6150. TRISFbits : TPORTF_TRISF;
  6151. TRISF : longWord;
  6152. TRISFCLR : longWord;
  6153. TRISFSET : longWord;
  6154. TRISFINV : longWord;
  6155. PORTFbits : TPORTF_PORTF;
  6156. PORTF : longWord;
  6157. PORTFCLR : longWord;
  6158. PORTFSET : longWord;
  6159. PORTFINV : longWord;
  6160. LATFbits : TPORTF_LATF;
  6161. LATF : longWord;
  6162. LATFCLR : longWord;
  6163. LATFSET : longWord;
  6164. LATFINV : longWord;
  6165. ODCFbits : TPORTF_ODCF;
  6166. ODCF : longWord;
  6167. ODCFCLR : longWord;
  6168. ODCFSET : longWord;
  6169. ODCFINV : longWord;
  6170. end;
  6171. TPORTG_TRISG = record
  6172. private
  6173. function getTRISG0 : TBits_1; inline;
  6174. function getTRISG1 : TBits_1; inline;
  6175. function getTRISG12 : TBits_1; inline;
  6176. function getTRISG13 : TBits_1; inline;
  6177. function getTRISG14 : TBits_1; inline;
  6178. function getTRISG15 : TBits_1; inline;
  6179. function getTRISG2 : TBits_1; inline;
  6180. function getTRISG3 : TBits_1; inline;
  6181. function getTRISG6 : TBits_1; inline;
  6182. function getTRISG7 : TBits_1; inline;
  6183. function getTRISG8 : TBits_1; inline;
  6184. function getTRISG9 : TBits_1; inline;
  6185. function getw : TBits_32; inline;
  6186. procedure setTRISG0(thebits : TBits_1); inline;
  6187. procedure setTRISG1(thebits : TBits_1); inline;
  6188. procedure setTRISG12(thebits : TBits_1); inline;
  6189. procedure setTRISG13(thebits : TBits_1); inline;
  6190. procedure setTRISG14(thebits : TBits_1); inline;
  6191. procedure setTRISG15(thebits : TBits_1); inline;
  6192. procedure setTRISG2(thebits : TBits_1); inline;
  6193. procedure setTRISG3(thebits : TBits_1); inline;
  6194. procedure setTRISG6(thebits : TBits_1); inline;
  6195. procedure setTRISG7(thebits : TBits_1); inline;
  6196. procedure setTRISG8(thebits : TBits_1); inline;
  6197. procedure setTRISG9(thebits : TBits_1); inline;
  6198. procedure setw(thebits : TBits_32); inline;
  6199. public
  6200. procedure clearTRISG0; inline;
  6201. procedure clearTRISG12; inline;
  6202. procedure clearTRISG13; inline;
  6203. procedure clearTRISG14; inline;
  6204. procedure clearTRISG15; inline;
  6205. procedure clearTRISG1; inline;
  6206. procedure clearTRISG2; inline;
  6207. procedure clearTRISG3; inline;
  6208. procedure clearTRISG6; inline;
  6209. procedure clearTRISG7; inline;
  6210. procedure clearTRISG8; inline;
  6211. procedure clearTRISG9; inline;
  6212. procedure setTRISG0; inline;
  6213. procedure setTRISG12; inline;
  6214. procedure setTRISG13; inline;
  6215. procedure setTRISG14; inline;
  6216. procedure setTRISG15; inline;
  6217. procedure setTRISG1; inline;
  6218. procedure setTRISG2; inline;
  6219. procedure setTRISG3; inline;
  6220. procedure setTRISG6; inline;
  6221. procedure setTRISG7; inline;
  6222. procedure setTRISG8; inline;
  6223. procedure setTRISG9; inline;
  6224. property TRISG0 : TBits_1 read getTRISG0 write setTRISG0;
  6225. property TRISG1 : TBits_1 read getTRISG1 write setTRISG1;
  6226. property TRISG12 : TBits_1 read getTRISG12 write setTRISG12;
  6227. property TRISG13 : TBits_1 read getTRISG13 write setTRISG13;
  6228. property TRISG14 : TBits_1 read getTRISG14 write setTRISG14;
  6229. property TRISG15 : TBits_1 read getTRISG15 write setTRISG15;
  6230. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  6231. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  6232. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  6233. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  6234. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  6235. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  6236. property w : TBits_32 read getw write setw;
  6237. end;
  6238. TPORTG_PORTG = record
  6239. private
  6240. function getRG0 : TBits_1; inline;
  6241. function getRG1 : TBits_1; inline;
  6242. function getRG12 : TBits_1; inline;
  6243. function getRG13 : TBits_1; inline;
  6244. function getRG14 : TBits_1; inline;
  6245. function getRG15 : TBits_1; inline;
  6246. function getRG2 : TBits_1; inline;
  6247. function getRG3 : TBits_1; inline;
  6248. function getRG6 : TBits_1; inline;
  6249. function getRG7 : TBits_1; inline;
  6250. function getRG8 : TBits_1; inline;
  6251. function getRG9 : TBits_1; inline;
  6252. function getw : TBits_32; inline;
  6253. procedure setRG0(thebits : TBits_1); inline;
  6254. procedure setRG1(thebits : TBits_1); inline;
  6255. procedure setRG12(thebits : TBits_1); inline;
  6256. procedure setRG13(thebits : TBits_1); inline;
  6257. procedure setRG14(thebits : TBits_1); inline;
  6258. procedure setRG15(thebits : TBits_1); inline;
  6259. procedure setRG2(thebits : TBits_1); inline;
  6260. procedure setRG3(thebits : TBits_1); inline;
  6261. procedure setRG6(thebits : TBits_1); inline;
  6262. procedure setRG7(thebits : TBits_1); inline;
  6263. procedure setRG8(thebits : TBits_1); inline;
  6264. procedure setRG9(thebits : TBits_1); inline;
  6265. procedure setw(thebits : TBits_32); inline;
  6266. public
  6267. procedure clearRG0; inline;
  6268. procedure clearRG12; inline;
  6269. procedure clearRG13; inline;
  6270. procedure clearRG14; inline;
  6271. procedure clearRG15; inline;
  6272. procedure clearRG1; inline;
  6273. procedure clearRG2; inline;
  6274. procedure clearRG3; inline;
  6275. procedure clearRG6; inline;
  6276. procedure clearRG7; inline;
  6277. procedure clearRG8; inline;
  6278. procedure clearRG9; inline;
  6279. procedure setRG0; inline;
  6280. procedure setRG12; inline;
  6281. procedure setRG13; inline;
  6282. procedure setRG14; inline;
  6283. procedure setRG15; inline;
  6284. procedure setRG1; inline;
  6285. procedure setRG2; inline;
  6286. procedure setRG3; inline;
  6287. procedure setRG6; inline;
  6288. procedure setRG7; inline;
  6289. procedure setRG8; inline;
  6290. procedure setRG9; inline;
  6291. property RG0 : TBits_1 read getRG0 write setRG0;
  6292. property RG1 : TBits_1 read getRG1 write setRG1;
  6293. property RG12 : TBits_1 read getRG12 write setRG12;
  6294. property RG13 : TBits_1 read getRG13 write setRG13;
  6295. property RG14 : TBits_1 read getRG14 write setRG14;
  6296. property RG15 : TBits_1 read getRG15 write setRG15;
  6297. property RG2 : TBits_1 read getRG2 write setRG2;
  6298. property RG3 : TBits_1 read getRG3 write setRG3;
  6299. property RG6 : TBits_1 read getRG6 write setRG6;
  6300. property RG7 : TBits_1 read getRG7 write setRG7;
  6301. property RG8 : TBits_1 read getRG8 write setRG8;
  6302. property RG9 : TBits_1 read getRG9 write setRG9;
  6303. property w : TBits_32 read getw write setw;
  6304. end;
  6305. TPortG_bits=(RG0=0,RG1=1,RG2=2,RG3=3,RG6=6,RG7=7,RG8=8,RG9=9,RG12=12,RG13=13,RG14=14,RG15=15);
  6306. TPortG_bitset = set of TPortG_bits;
  6307. TPORTG_LATG = record
  6308. private
  6309. function getLATG0 : TBits_1; inline;
  6310. function getLATG1 : TBits_1; inline;
  6311. function getLATG12 : TBits_1; inline;
  6312. function getLATG13 : TBits_1; inline;
  6313. function getLATG14 : TBits_1; inline;
  6314. function getLATG15 : TBits_1; inline;
  6315. function getLATG2 : TBits_1; inline;
  6316. function getLATG3 : TBits_1; inline;
  6317. function getLATG6 : TBits_1; inline;
  6318. function getLATG7 : TBits_1; inline;
  6319. function getLATG8 : TBits_1; inline;
  6320. function getLATG9 : TBits_1; inline;
  6321. function getw : TBits_32; inline;
  6322. procedure setLATG0(thebits : TBits_1); inline;
  6323. procedure setLATG1(thebits : TBits_1); inline;
  6324. procedure setLATG12(thebits : TBits_1); inline;
  6325. procedure setLATG13(thebits : TBits_1); inline;
  6326. procedure setLATG14(thebits : TBits_1); inline;
  6327. procedure setLATG15(thebits : TBits_1); inline;
  6328. procedure setLATG2(thebits : TBits_1); inline;
  6329. procedure setLATG3(thebits : TBits_1); inline;
  6330. procedure setLATG6(thebits : TBits_1); inline;
  6331. procedure setLATG7(thebits : TBits_1); inline;
  6332. procedure setLATG8(thebits : TBits_1); inline;
  6333. procedure setLATG9(thebits : TBits_1); inline;
  6334. procedure setw(thebits : TBits_32); inline;
  6335. public
  6336. procedure clearLATG0; inline;
  6337. procedure clearLATG12; inline;
  6338. procedure clearLATG13; inline;
  6339. procedure clearLATG14; inline;
  6340. procedure clearLATG15; inline;
  6341. procedure clearLATG1; inline;
  6342. procedure clearLATG2; inline;
  6343. procedure clearLATG3; inline;
  6344. procedure clearLATG6; inline;
  6345. procedure clearLATG7; inline;
  6346. procedure clearLATG8; inline;
  6347. procedure clearLATG9; inline;
  6348. procedure setLATG0; inline;
  6349. procedure setLATG12; inline;
  6350. procedure setLATG13; inline;
  6351. procedure setLATG14; inline;
  6352. procedure setLATG15; inline;
  6353. procedure setLATG1; inline;
  6354. procedure setLATG2; inline;
  6355. procedure setLATG3; inline;
  6356. procedure setLATG6; inline;
  6357. procedure setLATG7; inline;
  6358. procedure setLATG8; inline;
  6359. procedure setLATG9; inline;
  6360. property LATG0 : TBits_1 read getLATG0 write setLATG0;
  6361. property LATG1 : TBits_1 read getLATG1 write setLATG1;
  6362. property LATG12 : TBits_1 read getLATG12 write setLATG12;
  6363. property LATG13 : TBits_1 read getLATG13 write setLATG13;
  6364. property LATG14 : TBits_1 read getLATG14 write setLATG14;
  6365. property LATG15 : TBits_1 read getLATG15 write setLATG15;
  6366. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  6367. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  6368. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  6369. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  6370. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  6371. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  6372. property w : TBits_32 read getw write setw;
  6373. end;
  6374. TPORTG_ODCG = record
  6375. private
  6376. function getODCG0 : TBits_1; inline;
  6377. function getODCG1 : TBits_1; inline;
  6378. function getODCG12 : TBits_1; inline;
  6379. function getODCG13 : TBits_1; inline;
  6380. function getODCG14 : TBits_1; inline;
  6381. function getODCG15 : TBits_1; inline;
  6382. function getODCG2 : TBits_1; inline;
  6383. function getODCG3 : TBits_1; inline;
  6384. function getODCG6 : TBits_1; inline;
  6385. function getODCG7 : TBits_1; inline;
  6386. function getODCG8 : TBits_1; inline;
  6387. function getODCG9 : TBits_1; inline;
  6388. function getw : TBits_32; inline;
  6389. procedure setODCG0(thebits : TBits_1); inline;
  6390. procedure setODCG1(thebits : TBits_1); inline;
  6391. procedure setODCG12(thebits : TBits_1); inline;
  6392. procedure setODCG13(thebits : TBits_1); inline;
  6393. procedure setODCG14(thebits : TBits_1); inline;
  6394. procedure setODCG15(thebits : TBits_1); inline;
  6395. procedure setODCG2(thebits : TBits_1); inline;
  6396. procedure setODCG3(thebits : TBits_1); inline;
  6397. procedure setODCG6(thebits : TBits_1); inline;
  6398. procedure setODCG7(thebits : TBits_1); inline;
  6399. procedure setODCG8(thebits : TBits_1); inline;
  6400. procedure setODCG9(thebits : TBits_1); inline;
  6401. procedure setw(thebits : TBits_32); inline;
  6402. public
  6403. procedure clearODCG0; inline;
  6404. procedure clearODCG12; inline;
  6405. procedure clearODCG13; inline;
  6406. procedure clearODCG14; inline;
  6407. procedure clearODCG15; inline;
  6408. procedure clearODCG1; inline;
  6409. procedure clearODCG2; inline;
  6410. procedure clearODCG3; inline;
  6411. procedure clearODCG6; inline;
  6412. procedure clearODCG7; inline;
  6413. procedure clearODCG8; inline;
  6414. procedure clearODCG9; inline;
  6415. procedure setODCG0; inline;
  6416. procedure setODCG12; inline;
  6417. procedure setODCG13; inline;
  6418. procedure setODCG14; inline;
  6419. procedure setODCG15; inline;
  6420. procedure setODCG1; inline;
  6421. procedure setODCG2; inline;
  6422. procedure setODCG3; inline;
  6423. procedure setODCG6; inline;
  6424. procedure setODCG7; inline;
  6425. procedure setODCG8; inline;
  6426. procedure setODCG9; inline;
  6427. property ODCG0 : TBits_1 read getODCG0 write setODCG0;
  6428. property ODCG1 : TBits_1 read getODCG1 write setODCG1;
  6429. property ODCG12 : TBits_1 read getODCG12 write setODCG12;
  6430. property ODCG13 : TBits_1 read getODCG13 write setODCG13;
  6431. property ODCG14 : TBits_1 read getODCG14 write setODCG14;
  6432. property ODCG15 : TBits_1 read getODCG15 write setODCG15;
  6433. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  6434. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  6435. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  6436. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  6437. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  6438. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  6439. property w : TBits_32 read getw write setw;
  6440. end;
  6441. TPORTG_CNCON = record
  6442. private
  6443. function getON : TBits_1; inline;
  6444. function getSIDL : TBits_1; inline;
  6445. function getw : TBits_32; inline;
  6446. procedure setON(thebits : TBits_1); inline;
  6447. procedure setSIDL(thebits : TBits_1); inline;
  6448. procedure setw(thebits : TBits_32); inline;
  6449. public
  6450. procedure clearON; inline;
  6451. procedure clearSIDL; inline;
  6452. procedure setON; inline;
  6453. procedure setSIDL; inline;
  6454. property ON : TBits_1 read getON write setON;
  6455. property SIDL : TBits_1 read getSIDL write setSIDL;
  6456. property w : TBits_32 read getw write setw;
  6457. end;
  6458. TPORTG_CNEN = record
  6459. private
  6460. function getCNEN0 : TBits_1; inline;
  6461. function getCNEN1 : TBits_1; inline;
  6462. function getCNEN10 : TBits_1; inline;
  6463. function getCNEN11 : TBits_1; inline;
  6464. function getCNEN12 : TBits_1; inline;
  6465. function getCNEN13 : TBits_1; inline;
  6466. function getCNEN14 : TBits_1; inline;
  6467. function getCNEN15 : TBits_1; inline;
  6468. function getCNEN16 : TBits_1; inline;
  6469. function getCNEN17 : TBits_1; inline;
  6470. function getCNEN18 : TBits_1; inline;
  6471. function getCNEN19 : TBits_1; inline;
  6472. function getCNEN2 : TBits_1; inline;
  6473. function getCNEN20 : TBits_1; inline;
  6474. function getCNEN21 : TBits_1; inline;
  6475. function getCNEN3 : TBits_1; inline;
  6476. function getCNEN4 : TBits_1; inline;
  6477. function getCNEN5 : TBits_1; inline;
  6478. function getCNEN6 : TBits_1; inline;
  6479. function getCNEN7 : TBits_1; inline;
  6480. function getCNEN8 : TBits_1; inline;
  6481. function getCNEN9 : TBits_1; inline;
  6482. function getw : TBits_32; inline;
  6483. procedure setCNEN0(thebits : TBits_1); inline;
  6484. procedure setCNEN1(thebits : TBits_1); inline;
  6485. procedure setCNEN10(thebits : TBits_1); inline;
  6486. procedure setCNEN11(thebits : TBits_1); inline;
  6487. procedure setCNEN12(thebits : TBits_1); inline;
  6488. procedure setCNEN13(thebits : TBits_1); inline;
  6489. procedure setCNEN14(thebits : TBits_1); inline;
  6490. procedure setCNEN15(thebits : TBits_1); inline;
  6491. procedure setCNEN16(thebits : TBits_1); inline;
  6492. procedure setCNEN17(thebits : TBits_1); inline;
  6493. procedure setCNEN18(thebits : TBits_1); inline;
  6494. procedure setCNEN19(thebits : TBits_1); inline;
  6495. procedure setCNEN2(thebits : TBits_1); inline;
  6496. procedure setCNEN20(thebits : TBits_1); inline;
  6497. procedure setCNEN21(thebits : TBits_1); inline;
  6498. procedure setCNEN3(thebits : TBits_1); inline;
  6499. procedure setCNEN4(thebits : TBits_1); inline;
  6500. procedure setCNEN5(thebits : TBits_1); inline;
  6501. procedure setCNEN6(thebits : TBits_1); inline;
  6502. procedure setCNEN7(thebits : TBits_1); inline;
  6503. procedure setCNEN8(thebits : TBits_1); inline;
  6504. procedure setCNEN9(thebits : TBits_1); inline;
  6505. procedure setw(thebits : TBits_32); inline;
  6506. public
  6507. procedure clearCNEN0; inline;
  6508. procedure clearCNEN10; inline;
  6509. procedure clearCNEN11; inline;
  6510. procedure clearCNEN12; inline;
  6511. procedure clearCNEN13; inline;
  6512. procedure clearCNEN14; inline;
  6513. procedure clearCNEN15; inline;
  6514. procedure clearCNEN16; inline;
  6515. procedure clearCNEN17; inline;
  6516. procedure clearCNEN18; inline;
  6517. procedure clearCNEN19; inline;
  6518. procedure clearCNEN1; inline;
  6519. procedure clearCNEN20; inline;
  6520. procedure clearCNEN21; inline;
  6521. procedure clearCNEN2; inline;
  6522. procedure clearCNEN3; inline;
  6523. procedure clearCNEN4; inline;
  6524. procedure clearCNEN5; inline;
  6525. procedure clearCNEN6; inline;
  6526. procedure clearCNEN7; inline;
  6527. procedure clearCNEN8; inline;
  6528. procedure clearCNEN9; inline;
  6529. procedure setCNEN0; inline;
  6530. procedure setCNEN10; inline;
  6531. procedure setCNEN11; inline;
  6532. procedure setCNEN12; inline;
  6533. procedure setCNEN13; inline;
  6534. procedure setCNEN14; inline;
  6535. procedure setCNEN15; inline;
  6536. procedure setCNEN16; inline;
  6537. procedure setCNEN17; inline;
  6538. procedure setCNEN18; inline;
  6539. procedure setCNEN19; inline;
  6540. procedure setCNEN1; inline;
  6541. procedure setCNEN20; inline;
  6542. procedure setCNEN21; inline;
  6543. procedure setCNEN2; inline;
  6544. procedure setCNEN3; inline;
  6545. procedure setCNEN4; inline;
  6546. procedure setCNEN5; inline;
  6547. procedure setCNEN6; inline;
  6548. procedure setCNEN7; inline;
  6549. procedure setCNEN8; inline;
  6550. procedure setCNEN9; inline;
  6551. property CNEN0 : TBits_1 read getCNEN0 write setCNEN0;
  6552. property CNEN1 : TBits_1 read getCNEN1 write setCNEN1;
  6553. property CNEN10 : TBits_1 read getCNEN10 write setCNEN10;
  6554. property CNEN11 : TBits_1 read getCNEN11 write setCNEN11;
  6555. property CNEN12 : TBits_1 read getCNEN12 write setCNEN12;
  6556. property CNEN13 : TBits_1 read getCNEN13 write setCNEN13;
  6557. property CNEN14 : TBits_1 read getCNEN14 write setCNEN14;
  6558. property CNEN15 : TBits_1 read getCNEN15 write setCNEN15;
  6559. property CNEN16 : TBits_1 read getCNEN16 write setCNEN16;
  6560. property CNEN17 : TBits_1 read getCNEN17 write setCNEN17;
  6561. property CNEN18 : TBits_1 read getCNEN18 write setCNEN18;
  6562. property CNEN19 : TBits_1 read getCNEN19 write setCNEN19;
  6563. property CNEN2 : TBits_1 read getCNEN2 write setCNEN2;
  6564. property CNEN20 : TBits_1 read getCNEN20 write setCNEN20;
  6565. property CNEN21 : TBits_1 read getCNEN21 write setCNEN21;
  6566. property CNEN3 : TBits_1 read getCNEN3 write setCNEN3;
  6567. property CNEN4 : TBits_1 read getCNEN4 write setCNEN4;
  6568. property CNEN5 : TBits_1 read getCNEN5 write setCNEN5;
  6569. property CNEN6 : TBits_1 read getCNEN6 write setCNEN6;
  6570. property CNEN7 : TBits_1 read getCNEN7 write setCNEN7;
  6571. property CNEN8 : TBits_1 read getCNEN8 write setCNEN8;
  6572. property CNEN9 : TBits_1 read getCNEN9 write setCNEN9;
  6573. property w : TBits_32 read getw write setw;
  6574. end;
  6575. TPORTG_CNPUE = record
  6576. private
  6577. function getCNPUE0 : TBits_1; inline;
  6578. function getCNPUE1 : TBits_1; inline;
  6579. function getCNPUE10 : TBits_1; inline;
  6580. function getCNPUE11 : TBits_1; inline;
  6581. function getCNPUE12 : TBits_1; inline;
  6582. function getCNPUE13 : TBits_1; inline;
  6583. function getCNPUE14 : TBits_1; inline;
  6584. function getCNPUE15 : TBits_1; inline;
  6585. function getCNPUE16 : TBits_1; inline;
  6586. function getCNPUE17 : TBits_1; inline;
  6587. function getCNPUE18 : TBits_1; inline;
  6588. function getCNPUE19 : TBits_1; inline;
  6589. function getCNPUE2 : TBits_1; inline;
  6590. function getCNPUE20 : TBits_1; inline;
  6591. function getCNPUE21 : TBits_1; inline;
  6592. function getCNPUE3 : TBits_1; inline;
  6593. function getCNPUE4 : TBits_1; inline;
  6594. function getCNPUE5 : TBits_1; inline;
  6595. function getCNPUE6 : TBits_1; inline;
  6596. function getCNPUE7 : TBits_1; inline;
  6597. function getCNPUE8 : TBits_1; inline;
  6598. function getCNPUE9 : TBits_1; inline;
  6599. function getw : TBits_32; inline;
  6600. procedure setCNPUE0(thebits : TBits_1); inline;
  6601. procedure setCNPUE1(thebits : TBits_1); inline;
  6602. procedure setCNPUE10(thebits : TBits_1); inline;
  6603. procedure setCNPUE11(thebits : TBits_1); inline;
  6604. procedure setCNPUE12(thebits : TBits_1); inline;
  6605. procedure setCNPUE13(thebits : TBits_1); inline;
  6606. procedure setCNPUE14(thebits : TBits_1); inline;
  6607. procedure setCNPUE15(thebits : TBits_1); inline;
  6608. procedure setCNPUE16(thebits : TBits_1); inline;
  6609. procedure setCNPUE17(thebits : TBits_1); inline;
  6610. procedure setCNPUE18(thebits : TBits_1); inline;
  6611. procedure setCNPUE19(thebits : TBits_1); inline;
  6612. procedure setCNPUE2(thebits : TBits_1); inline;
  6613. procedure setCNPUE20(thebits : TBits_1); inline;
  6614. procedure setCNPUE21(thebits : TBits_1); inline;
  6615. procedure setCNPUE3(thebits : TBits_1); inline;
  6616. procedure setCNPUE4(thebits : TBits_1); inline;
  6617. procedure setCNPUE5(thebits : TBits_1); inline;
  6618. procedure setCNPUE6(thebits : TBits_1); inline;
  6619. procedure setCNPUE7(thebits : TBits_1); inline;
  6620. procedure setCNPUE8(thebits : TBits_1); inline;
  6621. procedure setCNPUE9(thebits : TBits_1); inline;
  6622. procedure setw(thebits : TBits_32); inline;
  6623. public
  6624. procedure clearCNPUE0; inline;
  6625. procedure clearCNPUE10; inline;
  6626. procedure clearCNPUE11; inline;
  6627. procedure clearCNPUE12; inline;
  6628. procedure clearCNPUE13; inline;
  6629. procedure clearCNPUE14; inline;
  6630. procedure clearCNPUE15; inline;
  6631. procedure clearCNPUE16; inline;
  6632. procedure clearCNPUE17; inline;
  6633. procedure clearCNPUE18; inline;
  6634. procedure clearCNPUE19; inline;
  6635. procedure clearCNPUE1; inline;
  6636. procedure clearCNPUE20; inline;
  6637. procedure clearCNPUE21; inline;
  6638. procedure clearCNPUE2; inline;
  6639. procedure clearCNPUE3; inline;
  6640. procedure clearCNPUE4; inline;
  6641. procedure clearCNPUE5; inline;
  6642. procedure clearCNPUE6; inline;
  6643. procedure clearCNPUE7; inline;
  6644. procedure clearCNPUE8; inline;
  6645. procedure clearCNPUE9; inline;
  6646. procedure setCNPUE0; inline;
  6647. procedure setCNPUE10; inline;
  6648. procedure setCNPUE11; inline;
  6649. procedure setCNPUE12; inline;
  6650. procedure setCNPUE13; inline;
  6651. procedure setCNPUE14; inline;
  6652. procedure setCNPUE15; inline;
  6653. procedure setCNPUE16; inline;
  6654. procedure setCNPUE17; inline;
  6655. procedure setCNPUE18; inline;
  6656. procedure setCNPUE19; inline;
  6657. procedure setCNPUE1; inline;
  6658. procedure setCNPUE20; inline;
  6659. procedure setCNPUE21; inline;
  6660. procedure setCNPUE2; inline;
  6661. procedure setCNPUE3; inline;
  6662. procedure setCNPUE4; inline;
  6663. procedure setCNPUE5; inline;
  6664. procedure setCNPUE6; inline;
  6665. procedure setCNPUE7; inline;
  6666. procedure setCNPUE8; inline;
  6667. procedure setCNPUE9; inline;
  6668. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  6669. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  6670. property CNPUE10 : TBits_1 read getCNPUE10 write setCNPUE10;
  6671. property CNPUE11 : TBits_1 read getCNPUE11 write setCNPUE11;
  6672. property CNPUE12 : TBits_1 read getCNPUE12 write setCNPUE12;
  6673. property CNPUE13 : TBits_1 read getCNPUE13 write setCNPUE13;
  6674. property CNPUE14 : TBits_1 read getCNPUE14 write setCNPUE14;
  6675. property CNPUE15 : TBits_1 read getCNPUE15 write setCNPUE15;
  6676. property CNPUE16 : TBits_1 read getCNPUE16 write setCNPUE16;
  6677. property CNPUE17 : TBits_1 read getCNPUE17 write setCNPUE17;
  6678. property CNPUE18 : TBits_1 read getCNPUE18 write setCNPUE18;
  6679. property CNPUE19 : TBits_1 read getCNPUE19 write setCNPUE19;
  6680. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  6681. property CNPUE20 : TBits_1 read getCNPUE20 write setCNPUE20;
  6682. property CNPUE21 : TBits_1 read getCNPUE21 write setCNPUE21;
  6683. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  6684. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  6685. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  6686. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  6687. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  6688. property CNPUE8 : TBits_1 read getCNPUE8 write setCNPUE8;
  6689. property CNPUE9 : TBits_1 read getCNPUE9 write setCNPUE9;
  6690. property w : TBits_32 read getw write setw;
  6691. end;
  6692. type
  6693. TPORTGRegisters = record
  6694. TRISGbits : TPORTG_TRISG;
  6695. TRISG : longWord;
  6696. TRISGCLR : longWord;
  6697. TRISGSET : longWord;
  6698. TRISGINV : longWord;
  6699. PORTGbits : TPORTG_PORTG;
  6700. PORTG : longWord;
  6701. PORTGCLR : longWord;
  6702. PORTGSET : longWord;
  6703. PORTGINV : longWord;
  6704. LATGbits : TPORTG_LATG;
  6705. LATG : longWord;
  6706. LATGCLR : longWord;
  6707. LATGSET : longWord;
  6708. LATGINV : longWord;
  6709. ODCGbits : TPORTG_ODCG;
  6710. ODCG : longWord;
  6711. ODCGCLR : longWord;
  6712. ODCGSET : longWord;
  6713. ODCGINV : longWord;
  6714. CNCONbits : TPORTG_CNCON;
  6715. CNCON : longWord;
  6716. CNCONCLR : longWord;
  6717. CNCONSET : longWord;
  6718. CNCONINV : longWord;
  6719. CNENbits : TPORTG_CNEN;
  6720. CNEN : longWord;
  6721. CNENCLR : longWord;
  6722. CNENSET : longWord;
  6723. CNENINV : longWord;
  6724. CNPUEbits : TPORTG_CNPUE;
  6725. CNPUE : longWord;
  6726. CNPUECLR : longWord;
  6727. CNPUESET : longWord;
  6728. CNPUEINV : longWord;
  6729. end;
  6730. TDEVCFG_DEVCFG3 = record
  6731. private
  6732. function getUSERID : TBits_16; inline;
  6733. function getw : TBits_32; inline;
  6734. procedure setUSERID(thebits : TBits_16); inline;
  6735. procedure setw(thebits : TBits_32); inline;
  6736. public
  6737. property USERID : TBits_16 read getUSERID write setUSERID;
  6738. property w : TBits_32 read getw write setw;
  6739. end;
  6740. TDEVCFG_DEVCFG2 = record
  6741. private
  6742. function getFPLLIDIV : TBits_3; inline;
  6743. function getFPLLMUL : TBits_3; inline;
  6744. function getFPLLODIV : TBits_3; inline;
  6745. function getw : TBits_32; inline;
  6746. procedure setFPLLIDIV(thebits : TBits_3); inline;
  6747. procedure setFPLLMUL(thebits : TBits_3); inline;
  6748. procedure setFPLLODIV(thebits : TBits_3); inline;
  6749. procedure setw(thebits : TBits_32); inline;
  6750. public
  6751. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  6752. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  6753. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  6754. property w : TBits_32 read getw write setw;
  6755. end;
  6756. TDEVCFG_DEVCFG1 = record
  6757. private
  6758. function getFCKSM : TBits_2; inline;
  6759. function getFNOSC : TBits_3; inline;
  6760. function getFPBDIV : TBits_2; inline;
  6761. function getFSOSCEN : TBits_1; inline;
  6762. function getFWDTEN : TBits_1; inline;
  6763. function getIESO : TBits_1; inline;
  6764. function getOSCIOFNC : TBits_1; inline;
  6765. function getPOSCMOD : TBits_2; inline;
  6766. function getWDTPS : TBits_5; inline;
  6767. function getw : TBits_32; inline;
  6768. procedure setFCKSM(thebits : TBits_2); inline;
  6769. procedure setFNOSC(thebits : TBits_3); inline;
  6770. procedure setFPBDIV(thebits : TBits_2); inline;
  6771. procedure setFSOSCEN(thebits : TBits_1); inline;
  6772. procedure setFWDTEN(thebits : TBits_1); inline;
  6773. procedure setIESO(thebits : TBits_1); inline;
  6774. procedure setOSCIOFNC(thebits : TBits_1); inline;
  6775. procedure setPOSCMOD(thebits : TBits_2); inline;
  6776. procedure setWDTPS(thebits : TBits_5); inline;
  6777. procedure setw(thebits : TBits_32); inline;
  6778. public
  6779. procedure clearFSOSCEN; inline;
  6780. procedure clearFWDTEN; inline;
  6781. procedure clearIESO; inline;
  6782. procedure clearOSCIOFNC; inline;
  6783. procedure setFSOSCEN; inline;
  6784. procedure setFWDTEN; inline;
  6785. procedure setIESO; inline;
  6786. procedure setOSCIOFNC; inline;
  6787. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  6788. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  6789. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  6790. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  6791. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  6792. property IESO : TBits_1 read getIESO write setIESO;
  6793. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  6794. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  6795. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  6796. property w : TBits_32 read getw write setw;
  6797. end;
  6798. TDEVCFG_DEVCFG0 = record
  6799. private
  6800. function getBWP : TBits_1; inline;
  6801. function getCP : TBits_1; inline;
  6802. function getDEBUG : TBits_2; inline;
  6803. function getFDEBUG : TBits_2; inline;
  6804. function getICESEL : TBits_1; inline;
  6805. function getPWP : TBits_8; inline;
  6806. function getw : TBits_32; inline;
  6807. procedure setBWP(thebits : TBits_1); inline;
  6808. procedure setCP(thebits : TBits_1); inline;
  6809. procedure setDEBUG(thebits : TBits_2); inline;
  6810. procedure setFDEBUG(thebits : TBits_2); inline;
  6811. procedure setICESEL(thebits : TBits_1); inline;
  6812. procedure setPWP(thebits : TBits_8); inline;
  6813. procedure setw(thebits : TBits_32); inline;
  6814. public
  6815. procedure clearBWP; inline;
  6816. procedure clearCP; inline;
  6817. procedure clearICESEL; inline;
  6818. procedure setBWP; inline;
  6819. procedure setCP; inline;
  6820. procedure setICESEL; inline;
  6821. property BWP : TBits_1 read getBWP write setBWP;
  6822. property CP : TBits_1 read getCP write setCP;
  6823. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  6824. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  6825. property ICESEL : TBits_1 read getICESEL write setICESEL;
  6826. property PWP : TBits_8 read getPWP write setPWP;
  6827. property w : TBits_32 read getw write setw;
  6828. end;
  6829. const
  6830. _CORE_TIMER_IRQ = 0;
  6831. _CORE_SOFTWARE_0_IRQ = 1;
  6832. _CORE_SOFTWARE_1_IRQ = 2;
  6833. _EXTERNAL_0_IRQ = 3;
  6834. _TIMER_1_IRQ = 4;
  6835. _INPUT_CAPTURE_1_IRQ = 5;
  6836. _OUTPUT_COMPARE_1_IRQ = 6;
  6837. _EXTERNAL_1_IRQ = 7;
  6838. _TIMER_2_IRQ = 8;
  6839. _INPUT_CAPTURE_2_IRQ = 9;
  6840. _OUTPUT_COMPARE_2_IRQ = 10;
  6841. _EXTERNAL_2_IRQ = 11;
  6842. _TIMER_3_IRQ = 12;
  6843. _INPUT_CAPTURE_3_IRQ = 13;
  6844. _OUTPUT_COMPARE_3_IRQ = 14;
  6845. _EXTERNAL_3_IRQ = 15;
  6846. _TIMER_4_IRQ = 16;
  6847. _INPUT_CAPTURE_4_IRQ = 17;
  6848. _OUTPUT_COMPARE_4_IRQ = 18;
  6849. _EXTERNAL_4_IRQ = 19;
  6850. _TIMER_5_IRQ = 20;
  6851. _INPUT_CAPTURE_5_IRQ = 21;
  6852. _OUTPUT_COMPARE_5_IRQ = 22;
  6853. _SPI1_ERR_IRQ = 23;
  6854. _SPI1_TX_IRQ = 24;
  6855. _SPI1_RX_IRQ = 25;
  6856. _UART1_ERR_IRQ = 26;
  6857. _UART1_RX_IRQ = 27;
  6858. _UART1_TX_IRQ = 28;
  6859. _I2C1_BUS_IRQ = 29;
  6860. _I2C1_SLAVE_IRQ = 30;
  6861. _I2C1_MASTER_IRQ = 31;
  6862. _CHANGE_NOTICE_IRQ = 32;
  6863. _ADC_IRQ = 33;
  6864. _PMP_IRQ = 34;
  6865. _COMPARATOR_1_IRQ = 35;
  6866. _COMPARATOR_2_IRQ = 36;
  6867. _SPI2_ERR_IRQ = 37;
  6868. _SPI2_TX_IRQ = 38;
  6869. _SPI2_RX_IRQ = 39;
  6870. _UART2_ERR_IRQ = 40;
  6871. _UART2_RX_IRQ = 41;
  6872. _UART2_TX_IRQ = 42;
  6873. _I2C2_BUS_IRQ = 43;
  6874. _I2C2_SLAVE_IRQ = 44;
  6875. _I2C2_MASTER_IRQ = 45;
  6876. _FAIL_SAFE_MONITOR_IRQ = 46;
  6877. _RTCC_IRQ = 47;
  6878. _DMA0_IRQ = 48;
  6879. _DMA1_IRQ = 49;
  6880. _DMA2_IRQ = 50;
  6881. _DMA3_IRQ = 51;
  6882. _FLASH_CONTROL_IRQ = 56;
  6883. const
  6884. ADC10_BASE_ADDRESS = $BF809000;
  6885. var
  6886. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  6887. const
  6888. BMX_BASE_ADDRESS = $BF882000;
  6889. var
  6890. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  6891. const
  6892. CFG_BASE_ADDRESS = $BF80F200;
  6893. var
  6894. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  6895. const
  6896. CMP_BASE_ADDRESS = $BF80A000;
  6897. var
  6898. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  6899. const
  6900. CVR_BASE_ADDRESS = $BF809800;
  6901. var
  6902. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  6903. const
  6904. I2C1_BASE_ADDRESS = $BF805000;
  6905. var
  6906. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  6907. const
  6908. I2C2_BASE_ADDRESS = $BF805200;
  6909. var
  6910. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  6911. const
  6912. ICAP1_BASE_ADDRESS = $BF802000;
  6913. var
  6914. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  6915. const
  6916. ICAP2_BASE_ADDRESS = $BF802200;
  6917. var
  6918. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  6919. const
  6920. ICAP3_BASE_ADDRESS = $BF802400;
  6921. var
  6922. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  6923. const
  6924. ICAP4_BASE_ADDRESS = $BF802600;
  6925. var
  6926. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  6927. const
  6928. ICAP5_BASE_ADDRESS = $BF802800;
  6929. var
  6930. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  6931. const
  6932. INT_BASE_ADDRESS = $BF881000;
  6933. var
  6934. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  6935. const
  6936. NVM_BASE_ADDRESS = $BF80F400;
  6937. var
  6938. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  6939. const
  6940. OCMP1_BASE_ADDRESS = $BF803000;
  6941. var
  6942. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  6943. const
  6944. OCMP2_BASE_ADDRESS = $BF803200;
  6945. var
  6946. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  6947. const
  6948. OCMP3_BASE_ADDRESS = $BF803400;
  6949. var
  6950. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  6951. const
  6952. OCMP4_BASE_ADDRESS = $BF803600;
  6953. var
  6954. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  6955. const
  6956. OCMP5_BASE_ADDRESS = $BF803800;
  6957. var
  6958. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  6959. const
  6960. OSC_BASE_ADDRESS = $BF80F000;
  6961. var
  6962. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  6963. const
  6964. PCACHE_BASE_ADDRESS = $BF884000;
  6965. var
  6966. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  6967. const
  6968. PMP_BASE_ADDRESS = $BF807000;
  6969. var
  6970. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  6971. const
  6972. PORTA_BASE_ADDRESS = $BF886000;
  6973. var
  6974. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  6975. const
  6976. PORTB_BASE_ADDRESS = $BF886040;
  6977. var
  6978. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  6979. const
  6980. PORTC_BASE_ADDRESS = $BF886080;
  6981. var
  6982. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  6983. const
  6984. PORTD_BASE_ADDRESS = $BF8860C0;
  6985. var
  6986. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  6987. const
  6988. PORTE_BASE_ADDRESS = $BF886100;
  6989. var
  6990. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  6991. const
  6992. PORTF_BASE_ADDRESS = $BF886140;
  6993. var
  6994. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  6995. const
  6996. PORTG_BASE_ADDRESS = $BF886180;
  6997. var
  6998. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  6999. const
  7000. RCON_BASE_ADDRESS = $BF80F600;
  7001. var
  7002. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  7003. const
  7004. RTCC_BASE_ADDRESS = $BF800200;
  7005. var
  7006. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  7007. const
  7008. SPI1_BASE_ADDRESS = $BF805800;
  7009. var
  7010. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  7011. const
  7012. SPI2_BASE_ADDRESS = $BF805A00;
  7013. var
  7014. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  7015. const
  7016. TMR1_BASE_ADDRESS = $BF800600;
  7017. var
  7018. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  7019. const
  7020. TMR2_BASE_ADDRESS = $BF800800;
  7021. var
  7022. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  7023. const
  7024. TMR3_BASE_ADDRESS = $BF800A00;
  7025. var
  7026. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  7027. const
  7028. TMR4_BASE_ADDRESS = $BF800C00;
  7029. var
  7030. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  7031. const
  7032. TMR5_BASE_ADDRESS = $BF800E00;
  7033. var
  7034. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  7035. const
  7036. UART1_BASE_ADDRESS = $BF806000;
  7037. var
  7038. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  7039. const
  7040. UART2_BASE_ADDRESS = $BF806200;
  7041. var
  7042. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  7043. const
  7044. WDT_BASE_ADDRESS = $BF800000;
  7045. var
  7046. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  7047. const
  7048. _APPI_BASE_ADDRESS = $BF880190;
  7049. var
  7050. _APPI : T_APPIRegisters absolute _APPI_BASE_ADDRESS;
  7051. const
  7052. _APPO_BASE_ADDRESS = $BF880180;
  7053. var
  7054. _APPO : T_APPORegisters absolute _APPO_BASE_ADDRESS;
  7055. const
  7056. _DDPSTAT_BASE_ADDRESS = $BF880140;
  7057. var
  7058. _DDPSTAT : T_DDPSTATRegisters absolute _DDPSTAT_BASE_ADDRESS;
  7059. const
  7060. _STRO_BASE_ADDRESS = $BF880170;
  7061. var
  7062. _STRO : T_STRORegisters absolute _STRO_BASE_ADDRESS;
  7063. implementation
  7064. type
  7065. TDefRegMap = record
  7066. val : longWord;
  7067. clr : longWord;
  7068. &set : longWord;
  7069. inv : longWord;
  7070. end;
  7071. pTDefRegMap = ^TDefRegMap;
  7072. procedure TWDT_WDTCON.setWDTCLR; inline;
  7073. begin
  7074. pTDefRegMap(@Self)^.&set := $00000001;
  7075. end;
  7076. procedure TWDT_WDTCON.clearWDTCLR; inline;
  7077. begin
  7078. pTDefRegMap(@Self)^.clr := $00000001;
  7079. end;
  7080. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  7081. begin
  7082. if thebits = 0 then
  7083. pTDefRegMap(@Self)^.clr := $00000001
  7084. else
  7085. pTDefRegMap(@Self)^.&set := $00000001;
  7086. end;
  7087. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  7088. begin
  7089. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  7090. end;
  7091. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  7092. begin
  7093. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  7094. end;
  7095. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  7096. begin
  7097. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  7098. end;
  7099. procedure TWDT_WDTCON.setON; inline;
  7100. begin
  7101. pTDefRegMap(@Self)^.&set := $00008000;
  7102. end;
  7103. procedure TWDT_WDTCON.clearON; inline;
  7104. begin
  7105. pTDefRegMap(@Self)^.clr := $00008000;
  7106. end;
  7107. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  7108. begin
  7109. if thebits = 0 then
  7110. pTDefRegMap(@Self)^.clr := $00008000
  7111. else
  7112. pTDefRegMap(@Self)^.&set := $00008000;
  7113. end;
  7114. function TWDT_WDTCON.getON : TBits_1; inline;
  7115. begin
  7116. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7117. end;
  7118. procedure TWDT_WDTCON.setSWDTPS0; inline;
  7119. begin
  7120. pTDefRegMap(@Self)^.&set := $00000004;
  7121. end;
  7122. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  7123. begin
  7124. pTDefRegMap(@Self)^.clr := $00000004;
  7125. end;
  7126. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  7127. begin
  7128. if thebits = 0 then
  7129. pTDefRegMap(@Self)^.clr := $00000004
  7130. else
  7131. pTDefRegMap(@Self)^.&set := $00000004;
  7132. end;
  7133. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  7134. begin
  7135. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  7136. end;
  7137. procedure TWDT_WDTCON.setSWDTPS1; inline;
  7138. begin
  7139. pTDefRegMap(@Self)^.&set := $00000008;
  7140. end;
  7141. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  7142. begin
  7143. pTDefRegMap(@Self)^.clr := $00000008;
  7144. end;
  7145. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  7146. begin
  7147. if thebits = 0 then
  7148. pTDefRegMap(@Self)^.clr := $00000008
  7149. else
  7150. pTDefRegMap(@Self)^.&set := $00000008;
  7151. end;
  7152. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  7153. begin
  7154. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  7155. end;
  7156. procedure TWDT_WDTCON.setSWDTPS2; inline;
  7157. begin
  7158. pTDefRegMap(@Self)^.&set := $00000010;
  7159. end;
  7160. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  7161. begin
  7162. pTDefRegMap(@Self)^.clr := $00000010;
  7163. end;
  7164. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  7165. begin
  7166. if thebits = 0 then
  7167. pTDefRegMap(@Self)^.clr := $00000010
  7168. else
  7169. pTDefRegMap(@Self)^.&set := $00000010;
  7170. end;
  7171. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  7172. begin
  7173. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  7174. end;
  7175. procedure TWDT_WDTCON.setSWDTPS3; inline;
  7176. begin
  7177. pTDefRegMap(@Self)^.&set := $00000020;
  7178. end;
  7179. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  7180. begin
  7181. pTDefRegMap(@Self)^.clr := $00000020;
  7182. end;
  7183. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  7184. begin
  7185. if thebits = 0 then
  7186. pTDefRegMap(@Self)^.clr := $00000020
  7187. else
  7188. pTDefRegMap(@Self)^.&set := $00000020;
  7189. end;
  7190. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  7191. begin
  7192. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  7193. end;
  7194. procedure TWDT_WDTCON.setSWDTPS4; inline;
  7195. begin
  7196. pTDefRegMap(@Self)^.&set := $00000040;
  7197. end;
  7198. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  7199. begin
  7200. pTDefRegMap(@Self)^.clr := $00000040;
  7201. end;
  7202. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  7203. begin
  7204. if thebits = 0 then
  7205. pTDefRegMap(@Self)^.clr := $00000040
  7206. else
  7207. pTDefRegMap(@Self)^.&set := $00000040;
  7208. end;
  7209. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  7210. begin
  7211. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  7212. end;
  7213. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  7214. begin
  7215. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  7216. end;
  7217. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  7218. begin
  7219. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  7220. end;
  7221. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  7222. begin
  7223. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  7224. end;
  7225. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  7226. begin
  7227. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  7228. end;
  7229. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  7230. begin
  7231. pTDefRegMap(@Self)^.val := thebits;
  7232. end;
  7233. function TWDT_WDTCON.getw : TBits_32; inline;
  7234. begin
  7235. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7236. end;
  7237. procedure TRTCC_RTCCON.setRTCOE; inline;
  7238. begin
  7239. pTDefRegMap(@Self)^.&set := $00000001;
  7240. end;
  7241. procedure TRTCC_RTCCON.clearRTCOE; inline;
  7242. begin
  7243. pTDefRegMap(@Self)^.clr := $00000001;
  7244. end;
  7245. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  7246. begin
  7247. if thebits = 0 then
  7248. pTDefRegMap(@Self)^.clr := $00000001
  7249. else
  7250. pTDefRegMap(@Self)^.&set := $00000001;
  7251. end;
  7252. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  7253. begin
  7254. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  7255. end;
  7256. procedure TRTCC_RTCCON.setHALFSEC; inline;
  7257. begin
  7258. pTDefRegMap(@Self)^.&set := $00000002;
  7259. end;
  7260. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  7261. begin
  7262. pTDefRegMap(@Self)^.clr := $00000002;
  7263. end;
  7264. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  7265. begin
  7266. if thebits = 0 then
  7267. pTDefRegMap(@Self)^.clr := $00000002
  7268. else
  7269. pTDefRegMap(@Self)^.&set := $00000002;
  7270. end;
  7271. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  7272. begin
  7273. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  7274. end;
  7275. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  7276. begin
  7277. pTDefRegMap(@Self)^.&set := $00000004;
  7278. end;
  7279. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  7280. begin
  7281. pTDefRegMap(@Self)^.clr := $00000004;
  7282. end;
  7283. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  7284. begin
  7285. if thebits = 0 then
  7286. pTDefRegMap(@Self)^.clr := $00000004
  7287. else
  7288. pTDefRegMap(@Self)^.&set := $00000004;
  7289. end;
  7290. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  7291. begin
  7292. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  7293. end;
  7294. procedure TRTCC_RTCCON.setRTCWREN; inline;
  7295. begin
  7296. pTDefRegMap(@Self)^.&set := $00000008;
  7297. end;
  7298. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  7299. begin
  7300. pTDefRegMap(@Self)^.clr := $00000008;
  7301. end;
  7302. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  7303. begin
  7304. if thebits = 0 then
  7305. pTDefRegMap(@Self)^.clr := $00000008
  7306. else
  7307. pTDefRegMap(@Self)^.&set := $00000008;
  7308. end;
  7309. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  7310. begin
  7311. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  7312. end;
  7313. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  7314. begin
  7315. pTDefRegMap(@Self)^.&set := $00000040;
  7316. end;
  7317. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  7318. begin
  7319. pTDefRegMap(@Self)^.clr := $00000040;
  7320. end;
  7321. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  7322. begin
  7323. if thebits = 0 then
  7324. pTDefRegMap(@Self)^.clr := $00000040
  7325. else
  7326. pTDefRegMap(@Self)^.&set := $00000040;
  7327. end;
  7328. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  7329. begin
  7330. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  7331. end;
  7332. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  7333. begin
  7334. pTDefRegMap(@Self)^.&set := $00000080;
  7335. end;
  7336. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  7337. begin
  7338. pTDefRegMap(@Self)^.clr := $00000080;
  7339. end;
  7340. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  7341. begin
  7342. if thebits = 0 then
  7343. pTDefRegMap(@Self)^.clr := $00000080
  7344. else
  7345. pTDefRegMap(@Self)^.&set := $00000080;
  7346. end;
  7347. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  7348. begin
  7349. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  7350. end;
  7351. procedure TRTCC_RTCCON.setSIDL; inline;
  7352. begin
  7353. pTDefRegMap(@Self)^.&set := $00002000;
  7354. end;
  7355. procedure TRTCC_RTCCON.clearSIDL; inline;
  7356. begin
  7357. pTDefRegMap(@Self)^.clr := $00002000;
  7358. end;
  7359. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  7360. begin
  7361. if thebits = 0 then
  7362. pTDefRegMap(@Self)^.clr := $00002000
  7363. else
  7364. pTDefRegMap(@Self)^.&set := $00002000;
  7365. end;
  7366. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  7367. begin
  7368. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7369. end;
  7370. procedure TRTCC_RTCCON.setON; inline;
  7371. begin
  7372. pTDefRegMap(@Self)^.&set := $00008000;
  7373. end;
  7374. procedure TRTCC_RTCCON.clearON; inline;
  7375. begin
  7376. pTDefRegMap(@Self)^.clr := $00008000;
  7377. end;
  7378. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  7379. begin
  7380. if thebits = 0 then
  7381. pTDefRegMap(@Self)^.clr := $00008000
  7382. else
  7383. pTDefRegMap(@Self)^.&set := $00008000;
  7384. end;
  7385. function TRTCC_RTCCON.getON : TBits_1; inline;
  7386. begin
  7387. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7388. end;
  7389. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  7390. begin
  7391. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  7392. end;
  7393. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  7394. begin
  7395. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  7396. end;
  7397. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  7398. begin
  7399. pTDefRegMap(@Self)^.val := thebits;
  7400. end;
  7401. function TRTCC_RTCCON.getw : TBits_32; inline;
  7402. begin
  7403. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7404. end;
  7405. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  7406. begin
  7407. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  7408. end;
  7409. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  7410. begin
  7411. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  7412. end;
  7413. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  7414. begin
  7415. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  7416. end;
  7417. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  7418. begin
  7419. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  7420. end;
  7421. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  7422. begin
  7423. pTDefRegMap(@Self)^.&set := $00001000;
  7424. end;
  7425. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  7426. begin
  7427. pTDefRegMap(@Self)^.clr := $00001000;
  7428. end;
  7429. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  7430. begin
  7431. if thebits = 0 then
  7432. pTDefRegMap(@Self)^.clr := $00001000
  7433. else
  7434. pTDefRegMap(@Self)^.&set := $00001000;
  7435. end;
  7436. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  7437. begin
  7438. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  7439. end;
  7440. procedure TRTCC_RTCALRM.setPIV; inline;
  7441. begin
  7442. pTDefRegMap(@Self)^.&set := $00002000;
  7443. end;
  7444. procedure TRTCC_RTCALRM.clearPIV; inline;
  7445. begin
  7446. pTDefRegMap(@Self)^.clr := $00002000;
  7447. end;
  7448. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  7449. begin
  7450. if thebits = 0 then
  7451. pTDefRegMap(@Self)^.clr := $00002000
  7452. else
  7453. pTDefRegMap(@Self)^.&set := $00002000;
  7454. end;
  7455. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  7456. begin
  7457. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7458. end;
  7459. procedure TRTCC_RTCALRM.setCHIME; inline;
  7460. begin
  7461. pTDefRegMap(@Self)^.&set := $00004000;
  7462. end;
  7463. procedure TRTCC_RTCALRM.clearCHIME; inline;
  7464. begin
  7465. pTDefRegMap(@Self)^.clr := $00004000;
  7466. end;
  7467. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  7468. begin
  7469. if thebits = 0 then
  7470. pTDefRegMap(@Self)^.clr := $00004000
  7471. else
  7472. pTDefRegMap(@Self)^.&set := $00004000;
  7473. end;
  7474. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  7475. begin
  7476. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  7477. end;
  7478. procedure TRTCC_RTCALRM.setALRMEN; inline;
  7479. begin
  7480. pTDefRegMap(@Self)^.&set := $00008000;
  7481. end;
  7482. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  7483. begin
  7484. pTDefRegMap(@Self)^.clr := $00008000;
  7485. end;
  7486. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  7487. begin
  7488. if thebits = 0 then
  7489. pTDefRegMap(@Self)^.clr := $00008000
  7490. else
  7491. pTDefRegMap(@Self)^.&set := $00008000;
  7492. end;
  7493. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  7494. begin
  7495. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7496. end;
  7497. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  7498. begin
  7499. pTDefRegMap(@Self)^.val := thebits;
  7500. end;
  7501. function TRTCC_RTCALRM.getw : TBits_32; inline;
  7502. begin
  7503. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7504. end;
  7505. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  7506. begin
  7507. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  7508. end;
  7509. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  7510. begin
  7511. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  7512. end;
  7513. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  7514. begin
  7515. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  7516. end;
  7517. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  7518. begin
  7519. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  7520. end;
  7521. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  7522. begin
  7523. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  7524. end;
  7525. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  7526. begin
  7527. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  7528. end;
  7529. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  7530. begin
  7531. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  7532. end;
  7533. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  7534. begin
  7535. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  7536. end;
  7537. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  7538. begin
  7539. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  7540. end;
  7541. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  7542. begin
  7543. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  7544. end;
  7545. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  7546. begin
  7547. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  7548. end;
  7549. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  7550. begin
  7551. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  7552. end;
  7553. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  7554. begin
  7555. pTDefRegMap(@Self)^.val := thebits;
  7556. end;
  7557. function TRTCC_RTCTIME.getw : TBits_32; inline;
  7558. begin
  7559. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7560. end;
  7561. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  7562. begin
  7563. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  7564. end;
  7565. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  7566. begin
  7567. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  7568. end;
  7569. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  7570. begin
  7571. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  7572. end;
  7573. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  7574. begin
  7575. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  7576. end;
  7577. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  7578. begin
  7579. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  7580. end;
  7581. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  7582. begin
  7583. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  7584. end;
  7585. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  7586. begin
  7587. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  7588. end;
  7589. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  7590. begin
  7591. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  7592. end;
  7593. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  7594. begin
  7595. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  7596. end;
  7597. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  7598. begin
  7599. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  7600. end;
  7601. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  7602. begin
  7603. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  7604. end;
  7605. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  7606. begin
  7607. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  7608. end;
  7609. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  7610. begin
  7611. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  7612. end;
  7613. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  7614. begin
  7615. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  7616. end;
  7617. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  7618. begin
  7619. pTDefRegMap(@Self)^.val := thebits;
  7620. end;
  7621. function TRTCC_RTCDATE.getw : TBits_32; inline;
  7622. begin
  7623. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7624. end;
  7625. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  7626. begin
  7627. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  7628. end;
  7629. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  7630. begin
  7631. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  7632. end;
  7633. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  7634. begin
  7635. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  7636. end;
  7637. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  7638. begin
  7639. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  7640. end;
  7641. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  7642. begin
  7643. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  7644. end;
  7645. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  7646. begin
  7647. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  7648. end;
  7649. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  7650. begin
  7651. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  7652. end;
  7653. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  7654. begin
  7655. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  7656. end;
  7657. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  7658. begin
  7659. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  7660. end;
  7661. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  7662. begin
  7663. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  7664. end;
  7665. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  7666. begin
  7667. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  7668. end;
  7669. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  7670. begin
  7671. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  7672. end;
  7673. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  7674. begin
  7675. pTDefRegMap(@Self)^.val := thebits;
  7676. end;
  7677. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  7678. begin
  7679. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7680. end;
  7681. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  7682. begin
  7683. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  7684. end;
  7685. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  7686. begin
  7687. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  7688. end;
  7689. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  7690. begin
  7691. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  7692. end;
  7693. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  7694. begin
  7695. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  7696. end;
  7697. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  7698. begin
  7699. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  7700. end;
  7701. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  7702. begin
  7703. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  7704. end;
  7705. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  7706. begin
  7707. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  7708. end;
  7709. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  7710. begin
  7711. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  7712. end;
  7713. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  7714. begin
  7715. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  7716. end;
  7717. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  7718. begin
  7719. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  7720. end;
  7721. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  7722. begin
  7723. pTDefRegMap(@Self)^.val := thebits;
  7724. end;
  7725. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  7726. begin
  7727. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7728. end;
  7729. procedure TTMR1_T1CON.setTCS; inline;
  7730. begin
  7731. pTDefRegMap(@Self)^.&set := $00000002;
  7732. end;
  7733. procedure TTMR1_T1CON.clearTCS; inline;
  7734. begin
  7735. pTDefRegMap(@Self)^.clr := $00000002;
  7736. end;
  7737. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  7738. begin
  7739. if thebits = 0 then
  7740. pTDefRegMap(@Self)^.clr := $00000002
  7741. else
  7742. pTDefRegMap(@Self)^.&set := $00000002;
  7743. end;
  7744. function TTMR1_T1CON.getTCS : TBits_1; inline;
  7745. begin
  7746. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  7747. end;
  7748. procedure TTMR1_T1CON.setTSYNC; inline;
  7749. begin
  7750. pTDefRegMap(@Self)^.&set := $00000004;
  7751. end;
  7752. procedure TTMR1_T1CON.clearTSYNC; inline;
  7753. begin
  7754. pTDefRegMap(@Self)^.clr := $00000004;
  7755. end;
  7756. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  7757. begin
  7758. if thebits = 0 then
  7759. pTDefRegMap(@Self)^.clr := $00000004
  7760. else
  7761. pTDefRegMap(@Self)^.&set := $00000004;
  7762. end;
  7763. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  7764. begin
  7765. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  7766. end;
  7767. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  7768. begin
  7769. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  7770. end;
  7771. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  7772. begin
  7773. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  7774. end;
  7775. procedure TTMR1_T1CON.setTGATE; inline;
  7776. begin
  7777. pTDefRegMap(@Self)^.&set := $00000080;
  7778. end;
  7779. procedure TTMR1_T1CON.clearTGATE; inline;
  7780. begin
  7781. pTDefRegMap(@Self)^.clr := $00000080;
  7782. end;
  7783. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  7784. begin
  7785. if thebits = 0 then
  7786. pTDefRegMap(@Self)^.clr := $00000080
  7787. else
  7788. pTDefRegMap(@Self)^.&set := $00000080;
  7789. end;
  7790. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  7791. begin
  7792. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  7793. end;
  7794. procedure TTMR1_T1CON.setTWIP; inline;
  7795. begin
  7796. pTDefRegMap(@Self)^.&set := $00000800;
  7797. end;
  7798. procedure TTMR1_T1CON.clearTWIP; inline;
  7799. begin
  7800. pTDefRegMap(@Self)^.clr := $00000800;
  7801. end;
  7802. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  7803. begin
  7804. if thebits = 0 then
  7805. pTDefRegMap(@Self)^.clr := $00000800
  7806. else
  7807. pTDefRegMap(@Self)^.&set := $00000800;
  7808. end;
  7809. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  7810. begin
  7811. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  7812. end;
  7813. procedure TTMR1_T1CON.setTWDIS; inline;
  7814. begin
  7815. pTDefRegMap(@Self)^.&set := $00001000;
  7816. end;
  7817. procedure TTMR1_T1CON.clearTWDIS; inline;
  7818. begin
  7819. pTDefRegMap(@Self)^.clr := $00001000;
  7820. end;
  7821. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  7822. begin
  7823. if thebits = 0 then
  7824. pTDefRegMap(@Self)^.clr := $00001000
  7825. else
  7826. pTDefRegMap(@Self)^.&set := $00001000;
  7827. end;
  7828. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  7829. begin
  7830. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  7831. end;
  7832. procedure TTMR1_T1CON.setSIDL; inline;
  7833. begin
  7834. pTDefRegMap(@Self)^.&set := $00002000;
  7835. end;
  7836. procedure TTMR1_T1CON.clearSIDL; inline;
  7837. begin
  7838. pTDefRegMap(@Self)^.clr := $00002000;
  7839. end;
  7840. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  7841. begin
  7842. if thebits = 0 then
  7843. pTDefRegMap(@Self)^.clr := $00002000
  7844. else
  7845. pTDefRegMap(@Self)^.&set := $00002000;
  7846. end;
  7847. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  7848. begin
  7849. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7850. end;
  7851. procedure TTMR1_T1CON.setON; inline;
  7852. begin
  7853. pTDefRegMap(@Self)^.&set := $00008000;
  7854. end;
  7855. procedure TTMR1_T1CON.clearON; inline;
  7856. begin
  7857. pTDefRegMap(@Self)^.clr := $00008000;
  7858. end;
  7859. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  7860. begin
  7861. if thebits = 0 then
  7862. pTDefRegMap(@Self)^.clr := $00008000
  7863. else
  7864. pTDefRegMap(@Self)^.&set := $00008000;
  7865. end;
  7866. function TTMR1_T1CON.getON : TBits_1; inline;
  7867. begin
  7868. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7869. end;
  7870. procedure TTMR1_T1CON.setTCKPS0; inline;
  7871. begin
  7872. pTDefRegMap(@Self)^.&set := $00000010;
  7873. end;
  7874. procedure TTMR1_T1CON.clearTCKPS0; inline;
  7875. begin
  7876. pTDefRegMap(@Self)^.clr := $00000010;
  7877. end;
  7878. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  7879. begin
  7880. if thebits = 0 then
  7881. pTDefRegMap(@Self)^.clr := $00000010
  7882. else
  7883. pTDefRegMap(@Self)^.&set := $00000010;
  7884. end;
  7885. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  7886. begin
  7887. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  7888. end;
  7889. procedure TTMR1_T1CON.setTCKPS1; inline;
  7890. begin
  7891. pTDefRegMap(@Self)^.&set := $00000020;
  7892. end;
  7893. procedure TTMR1_T1CON.clearTCKPS1; inline;
  7894. begin
  7895. pTDefRegMap(@Self)^.clr := $00000020;
  7896. end;
  7897. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  7898. begin
  7899. if thebits = 0 then
  7900. pTDefRegMap(@Self)^.clr := $00000020
  7901. else
  7902. pTDefRegMap(@Self)^.&set := $00000020;
  7903. end;
  7904. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  7905. begin
  7906. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  7907. end;
  7908. procedure TTMR1_T1CON.setTSIDL; inline;
  7909. begin
  7910. pTDefRegMap(@Self)^.&set := $00002000;
  7911. end;
  7912. procedure TTMR1_T1CON.clearTSIDL; inline;
  7913. begin
  7914. pTDefRegMap(@Self)^.clr := $00002000;
  7915. end;
  7916. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  7917. begin
  7918. if thebits = 0 then
  7919. pTDefRegMap(@Self)^.clr := $00002000
  7920. else
  7921. pTDefRegMap(@Self)^.&set := $00002000;
  7922. end;
  7923. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  7924. begin
  7925. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  7926. end;
  7927. procedure TTMR1_T1CON.setTON; inline;
  7928. begin
  7929. pTDefRegMap(@Self)^.&set := $00008000;
  7930. end;
  7931. procedure TTMR1_T1CON.clearTON; inline;
  7932. begin
  7933. pTDefRegMap(@Self)^.clr := $00008000;
  7934. end;
  7935. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  7936. begin
  7937. if thebits = 0 then
  7938. pTDefRegMap(@Self)^.clr := $00008000
  7939. else
  7940. pTDefRegMap(@Self)^.&set := $00008000;
  7941. end;
  7942. function TTMR1_T1CON.getTON : TBits_1; inline;
  7943. begin
  7944. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  7945. end;
  7946. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  7947. begin
  7948. pTDefRegMap(@Self)^.val := thebits;
  7949. end;
  7950. function TTMR1_T1CON.getw : TBits_32; inline;
  7951. begin
  7952. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  7953. end;
  7954. procedure TTMR2_T2CON.setTCS; inline;
  7955. begin
  7956. pTDefRegMap(@Self)^.&set := $00000002;
  7957. end;
  7958. procedure TTMR2_T2CON.clearTCS; inline;
  7959. begin
  7960. pTDefRegMap(@Self)^.clr := $00000002;
  7961. end;
  7962. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  7963. begin
  7964. if thebits = 0 then
  7965. pTDefRegMap(@Self)^.clr := $00000002
  7966. else
  7967. pTDefRegMap(@Self)^.&set := $00000002;
  7968. end;
  7969. function TTMR2_T2CON.getTCS : TBits_1; inline;
  7970. begin
  7971. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  7972. end;
  7973. procedure TTMR2_T2CON.setT32; inline;
  7974. begin
  7975. pTDefRegMap(@Self)^.&set := $00000008;
  7976. end;
  7977. procedure TTMR2_T2CON.clearT32; inline;
  7978. begin
  7979. pTDefRegMap(@Self)^.clr := $00000008;
  7980. end;
  7981. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  7982. begin
  7983. if thebits = 0 then
  7984. pTDefRegMap(@Self)^.clr := $00000008
  7985. else
  7986. pTDefRegMap(@Self)^.&set := $00000008;
  7987. end;
  7988. function TTMR2_T2CON.getT32 : TBits_1; inline;
  7989. begin
  7990. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  7991. end;
  7992. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  7993. begin
  7994. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  7995. end;
  7996. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  7997. begin
  7998. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  7999. end;
  8000. procedure TTMR2_T2CON.setTGATE; inline;
  8001. begin
  8002. pTDefRegMap(@Self)^.&set := $00000080;
  8003. end;
  8004. procedure TTMR2_T2CON.clearTGATE; inline;
  8005. begin
  8006. pTDefRegMap(@Self)^.clr := $00000080;
  8007. end;
  8008. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  8009. begin
  8010. if thebits = 0 then
  8011. pTDefRegMap(@Self)^.clr := $00000080
  8012. else
  8013. pTDefRegMap(@Self)^.&set := $00000080;
  8014. end;
  8015. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  8016. begin
  8017. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8018. end;
  8019. procedure TTMR2_T2CON.setSIDL; inline;
  8020. begin
  8021. pTDefRegMap(@Self)^.&set := $00002000;
  8022. end;
  8023. procedure TTMR2_T2CON.clearSIDL; inline;
  8024. begin
  8025. pTDefRegMap(@Self)^.clr := $00002000;
  8026. end;
  8027. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  8028. begin
  8029. if thebits = 0 then
  8030. pTDefRegMap(@Self)^.clr := $00002000
  8031. else
  8032. pTDefRegMap(@Self)^.&set := $00002000;
  8033. end;
  8034. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  8035. begin
  8036. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8037. end;
  8038. procedure TTMR2_T2CON.setON; inline;
  8039. begin
  8040. pTDefRegMap(@Self)^.&set := $00008000;
  8041. end;
  8042. procedure TTMR2_T2CON.clearON; inline;
  8043. begin
  8044. pTDefRegMap(@Self)^.clr := $00008000;
  8045. end;
  8046. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  8047. begin
  8048. if thebits = 0 then
  8049. pTDefRegMap(@Self)^.clr := $00008000
  8050. else
  8051. pTDefRegMap(@Self)^.&set := $00008000;
  8052. end;
  8053. function TTMR2_T2CON.getON : TBits_1; inline;
  8054. begin
  8055. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8056. end;
  8057. procedure TTMR2_T2CON.setTCKPS0; inline;
  8058. begin
  8059. pTDefRegMap(@Self)^.&set := $00000010;
  8060. end;
  8061. procedure TTMR2_T2CON.clearTCKPS0; inline;
  8062. begin
  8063. pTDefRegMap(@Self)^.clr := $00000010;
  8064. end;
  8065. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  8066. begin
  8067. if thebits = 0 then
  8068. pTDefRegMap(@Self)^.clr := $00000010
  8069. else
  8070. pTDefRegMap(@Self)^.&set := $00000010;
  8071. end;
  8072. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  8073. begin
  8074. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8075. end;
  8076. procedure TTMR2_T2CON.setTCKPS1; inline;
  8077. begin
  8078. pTDefRegMap(@Self)^.&set := $00000020;
  8079. end;
  8080. procedure TTMR2_T2CON.clearTCKPS1; inline;
  8081. begin
  8082. pTDefRegMap(@Self)^.clr := $00000020;
  8083. end;
  8084. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  8085. begin
  8086. if thebits = 0 then
  8087. pTDefRegMap(@Self)^.clr := $00000020
  8088. else
  8089. pTDefRegMap(@Self)^.&set := $00000020;
  8090. end;
  8091. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  8092. begin
  8093. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8094. end;
  8095. procedure TTMR2_T2CON.setTCKPS2; inline;
  8096. begin
  8097. pTDefRegMap(@Self)^.&set := $00000040;
  8098. end;
  8099. procedure TTMR2_T2CON.clearTCKPS2; inline;
  8100. begin
  8101. pTDefRegMap(@Self)^.clr := $00000040;
  8102. end;
  8103. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  8104. begin
  8105. if thebits = 0 then
  8106. pTDefRegMap(@Self)^.clr := $00000040
  8107. else
  8108. pTDefRegMap(@Self)^.&set := $00000040;
  8109. end;
  8110. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  8111. begin
  8112. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8113. end;
  8114. procedure TTMR2_T2CON.setTSIDL; inline;
  8115. begin
  8116. pTDefRegMap(@Self)^.&set := $00002000;
  8117. end;
  8118. procedure TTMR2_T2CON.clearTSIDL; inline;
  8119. begin
  8120. pTDefRegMap(@Self)^.clr := $00002000;
  8121. end;
  8122. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  8123. begin
  8124. if thebits = 0 then
  8125. pTDefRegMap(@Self)^.clr := $00002000
  8126. else
  8127. pTDefRegMap(@Self)^.&set := $00002000;
  8128. end;
  8129. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  8130. begin
  8131. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8132. end;
  8133. procedure TTMR2_T2CON.setTON; inline;
  8134. begin
  8135. pTDefRegMap(@Self)^.&set := $00008000;
  8136. end;
  8137. procedure TTMR2_T2CON.clearTON; inline;
  8138. begin
  8139. pTDefRegMap(@Self)^.clr := $00008000;
  8140. end;
  8141. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  8142. begin
  8143. if thebits = 0 then
  8144. pTDefRegMap(@Self)^.clr := $00008000
  8145. else
  8146. pTDefRegMap(@Self)^.&set := $00008000;
  8147. end;
  8148. function TTMR2_T2CON.getTON : TBits_1; inline;
  8149. begin
  8150. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8151. end;
  8152. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  8153. begin
  8154. pTDefRegMap(@Self)^.val := thebits;
  8155. end;
  8156. function TTMR2_T2CON.getw : TBits_32; inline;
  8157. begin
  8158. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8159. end;
  8160. procedure TTMR3_T3CON.setTCS; inline;
  8161. begin
  8162. pTDefRegMap(@Self)^.&set := $00000002;
  8163. end;
  8164. procedure TTMR3_T3CON.clearTCS; inline;
  8165. begin
  8166. pTDefRegMap(@Self)^.clr := $00000002;
  8167. end;
  8168. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  8169. begin
  8170. if thebits = 0 then
  8171. pTDefRegMap(@Self)^.clr := $00000002
  8172. else
  8173. pTDefRegMap(@Self)^.&set := $00000002;
  8174. end;
  8175. function TTMR3_T3CON.getTCS : TBits_1; inline;
  8176. begin
  8177. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8178. end;
  8179. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  8180. begin
  8181. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  8182. end;
  8183. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  8184. begin
  8185. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  8186. end;
  8187. procedure TTMR3_T3CON.setTGATE; inline;
  8188. begin
  8189. pTDefRegMap(@Self)^.&set := $00000080;
  8190. end;
  8191. procedure TTMR3_T3CON.clearTGATE; inline;
  8192. begin
  8193. pTDefRegMap(@Self)^.clr := $00000080;
  8194. end;
  8195. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  8196. begin
  8197. if thebits = 0 then
  8198. pTDefRegMap(@Self)^.clr := $00000080
  8199. else
  8200. pTDefRegMap(@Self)^.&set := $00000080;
  8201. end;
  8202. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  8203. begin
  8204. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8205. end;
  8206. procedure TTMR3_T3CON.setSIDL; inline;
  8207. begin
  8208. pTDefRegMap(@Self)^.&set := $00002000;
  8209. end;
  8210. procedure TTMR3_T3CON.clearSIDL; inline;
  8211. begin
  8212. pTDefRegMap(@Self)^.clr := $00002000;
  8213. end;
  8214. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  8215. begin
  8216. if thebits = 0 then
  8217. pTDefRegMap(@Self)^.clr := $00002000
  8218. else
  8219. pTDefRegMap(@Self)^.&set := $00002000;
  8220. end;
  8221. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  8222. begin
  8223. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8224. end;
  8225. procedure TTMR3_T3CON.setON; inline;
  8226. begin
  8227. pTDefRegMap(@Self)^.&set := $00008000;
  8228. end;
  8229. procedure TTMR3_T3CON.clearON; inline;
  8230. begin
  8231. pTDefRegMap(@Self)^.clr := $00008000;
  8232. end;
  8233. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  8234. begin
  8235. if thebits = 0 then
  8236. pTDefRegMap(@Self)^.clr := $00008000
  8237. else
  8238. pTDefRegMap(@Self)^.&set := $00008000;
  8239. end;
  8240. function TTMR3_T3CON.getON : TBits_1; inline;
  8241. begin
  8242. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8243. end;
  8244. procedure TTMR3_T3CON.setTCKPS0; inline;
  8245. begin
  8246. pTDefRegMap(@Self)^.&set := $00000010;
  8247. end;
  8248. procedure TTMR3_T3CON.clearTCKPS0; inline;
  8249. begin
  8250. pTDefRegMap(@Self)^.clr := $00000010;
  8251. end;
  8252. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  8253. begin
  8254. if thebits = 0 then
  8255. pTDefRegMap(@Self)^.clr := $00000010
  8256. else
  8257. pTDefRegMap(@Self)^.&set := $00000010;
  8258. end;
  8259. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  8260. begin
  8261. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8262. end;
  8263. procedure TTMR3_T3CON.setTCKPS1; inline;
  8264. begin
  8265. pTDefRegMap(@Self)^.&set := $00000020;
  8266. end;
  8267. procedure TTMR3_T3CON.clearTCKPS1; inline;
  8268. begin
  8269. pTDefRegMap(@Self)^.clr := $00000020;
  8270. end;
  8271. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  8272. begin
  8273. if thebits = 0 then
  8274. pTDefRegMap(@Self)^.clr := $00000020
  8275. else
  8276. pTDefRegMap(@Self)^.&set := $00000020;
  8277. end;
  8278. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  8279. begin
  8280. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8281. end;
  8282. procedure TTMR3_T3CON.setTCKPS2; inline;
  8283. begin
  8284. pTDefRegMap(@Self)^.&set := $00000040;
  8285. end;
  8286. procedure TTMR3_T3CON.clearTCKPS2; inline;
  8287. begin
  8288. pTDefRegMap(@Self)^.clr := $00000040;
  8289. end;
  8290. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  8291. begin
  8292. if thebits = 0 then
  8293. pTDefRegMap(@Self)^.clr := $00000040
  8294. else
  8295. pTDefRegMap(@Self)^.&set := $00000040;
  8296. end;
  8297. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  8298. begin
  8299. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8300. end;
  8301. procedure TTMR3_T3CON.setTSIDL; inline;
  8302. begin
  8303. pTDefRegMap(@Self)^.&set := $00002000;
  8304. end;
  8305. procedure TTMR3_T3CON.clearTSIDL; inline;
  8306. begin
  8307. pTDefRegMap(@Self)^.clr := $00002000;
  8308. end;
  8309. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  8310. begin
  8311. if thebits = 0 then
  8312. pTDefRegMap(@Self)^.clr := $00002000
  8313. else
  8314. pTDefRegMap(@Self)^.&set := $00002000;
  8315. end;
  8316. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  8317. begin
  8318. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8319. end;
  8320. procedure TTMR3_T3CON.setTON; inline;
  8321. begin
  8322. pTDefRegMap(@Self)^.&set := $00008000;
  8323. end;
  8324. procedure TTMR3_T3CON.clearTON; inline;
  8325. begin
  8326. pTDefRegMap(@Self)^.clr := $00008000;
  8327. end;
  8328. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  8329. begin
  8330. if thebits = 0 then
  8331. pTDefRegMap(@Self)^.clr := $00008000
  8332. else
  8333. pTDefRegMap(@Self)^.&set := $00008000;
  8334. end;
  8335. function TTMR3_T3CON.getTON : TBits_1; inline;
  8336. begin
  8337. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8338. end;
  8339. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  8340. begin
  8341. pTDefRegMap(@Self)^.val := thebits;
  8342. end;
  8343. function TTMR3_T3CON.getw : TBits_32; inline;
  8344. begin
  8345. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8346. end;
  8347. procedure TTMR4_T4CON.setTCS; inline;
  8348. begin
  8349. pTDefRegMap(@Self)^.&set := $00000002;
  8350. end;
  8351. procedure TTMR4_T4CON.clearTCS; inline;
  8352. begin
  8353. pTDefRegMap(@Self)^.clr := $00000002;
  8354. end;
  8355. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  8356. begin
  8357. if thebits = 0 then
  8358. pTDefRegMap(@Self)^.clr := $00000002
  8359. else
  8360. pTDefRegMap(@Self)^.&set := $00000002;
  8361. end;
  8362. function TTMR4_T4CON.getTCS : TBits_1; inline;
  8363. begin
  8364. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8365. end;
  8366. procedure TTMR4_T4CON.setT32; inline;
  8367. begin
  8368. pTDefRegMap(@Self)^.&set := $00000008;
  8369. end;
  8370. procedure TTMR4_T4CON.clearT32; inline;
  8371. begin
  8372. pTDefRegMap(@Self)^.clr := $00000008;
  8373. end;
  8374. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  8375. begin
  8376. if thebits = 0 then
  8377. pTDefRegMap(@Self)^.clr := $00000008
  8378. else
  8379. pTDefRegMap(@Self)^.&set := $00000008;
  8380. end;
  8381. function TTMR4_T4CON.getT32 : TBits_1; inline;
  8382. begin
  8383. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8384. end;
  8385. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  8386. begin
  8387. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  8388. end;
  8389. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  8390. begin
  8391. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  8392. end;
  8393. procedure TTMR4_T4CON.setTGATE; inline;
  8394. begin
  8395. pTDefRegMap(@Self)^.&set := $00000080;
  8396. end;
  8397. procedure TTMR4_T4CON.clearTGATE; inline;
  8398. begin
  8399. pTDefRegMap(@Self)^.clr := $00000080;
  8400. end;
  8401. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  8402. begin
  8403. if thebits = 0 then
  8404. pTDefRegMap(@Self)^.clr := $00000080
  8405. else
  8406. pTDefRegMap(@Self)^.&set := $00000080;
  8407. end;
  8408. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  8409. begin
  8410. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8411. end;
  8412. procedure TTMR4_T4CON.setSIDL; inline;
  8413. begin
  8414. pTDefRegMap(@Self)^.&set := $00002000;
  8415. end;
  8416. procedure TTMR4_T4CON.clearSIDL; inline;
  8417. begin
  8418. pTDefRegMap(@Self)^.clr := $00002000;
  8419. end;
  8420. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  8421. begin
  8422. if thebits = 0 then
  8423. pTDefRegMap(@Self)^.clr := $00002000
  8424. else
  8425. pTDefRegMap(@Self)^.&set := $00002000;
  8426. end;
  8427. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  8428. begin
  8429. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8430. end;
  8431. procedure TTMR4_T4CON.setON; inline;
  8432. begin
  8433. pTDefRegMap(@Self)^.&set := $00008000;
  8434. end;
  8435. procedure TTMR4_T4CON.clearON; inline;
  8436. begin
  8437. pTDefRegMap(@Self)^.clr := $00008000;
  8438. end;
  8439. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  8440. begin
  8441. if thebits = 0 then
  8442. pTDefRegMap(@Self)^.clr := $00008000
  8443. else
  8444. pTDefRegMap(@Self)^.&set := $00008000;
  8445. end;
  8446. function TTMR4_T4CON.getON : TBits_1; inline;
  8447. begin
  8448. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8449. end;
  8450. procedure TTMR4_T4CON.setTCKPS0; inline;
  8451. begin
  8452. pTDefRegMap(@Self)^.&set := $00000010;
  8453. end;
  8454. procedure TTMR4_T4CON.clearTCKPS0; inline;
  8455. begin
  8456. pTDefRegMap(@Self)^.clr := $00000010;
  8457. end;
  8458. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  8459. begin
  8460. if thebits = 0 then
  8461. pTDefRegMap(@Self)^.clr := $00000010
  8462. else
  8463. pTDefRegMap(@Self)^.&set := $00000010;
  8464. end;
  8465. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  8466. begin
  8467. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8468. end;
  8469. procedure TTMR4_T4CON.setTCKPS1; inline;
  8470. begin
  8471. pTDefRegMap(@Self)^.&set := $00000020;
  8472. end;
  8473. procedure TTMR4_T4CON.clearTCKPS1; inline;
  8474. begin
  8475. pTDefRegMap(@Self)^.clr := $00000020;
  8476. end;
  8477. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  8478. begin
  8479. if thebits = 0 then
  8480. pTDefRegMap(@Self)^.clr := $00000020
  8481. else
  8482. pTDefRegMap(@Self)^.&set := $00000020;
  8483. end;
  8484. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  8485. begin
  8486. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8487. end;
  8488. procedure TTMR4_T4CON.setTCKPS2; inline;
  8489. begin
  8490. pTDefRegMap(@Self)^.&set := $00000040;
  8491. end;
  8492. procedure TTMR4_T4CON.clearTCKPS2; inline;
  8493. begin
  8494. pTDefRegMap(@Self)^.clr := $00000040;
  8495. end;
  8496. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  8497. begin
  8498. if thebits = 0 then
  8499. pTDefRegMap(@Self)^.clr := $00000040
  8500. else
  8501. pTDefRegMap(@Self)^.&set := $00000040;
  8502. end;
  8503. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  8504. begin
  8505. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8506. end;
  8507. procedure TTMR4_T4CON.setTSIDL; inline;
  8508. begin
  8509. pTDefRegMap(@Self)^.&set := $00002000;
  8510. end;
  8511. procedure TTMR4_T4CON.clearTSIDL; inline;
  8512. begin
  8513. pTDefRegMap(@Self)^.clr := $00002000;
  8514. end;
  8515. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  8516. begin
  8517. if thebits = 0 then
  8518. pTDefRegMap(@Self)^.clr := $00002000
  8519. else
  8520. pTDefRegMap(@Self)^.&set := $00002000;
  8521. end;
  8522. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  8523. begin
  8524. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8525. end;
  8526. procedure TTMR4_T4CON.setTON; inline;
  8527. begin
  8528. pTDefRegMap(@Self)^.&set := $00008000;
  8529. end;
  8530. procedure TTMR4_T4CON.clearTON; inline;
  8531. begin
  8532. pTDefRegMap(@Self)^.clr := $00008000;
  8533. end;
  8534. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  8535. begin
  8536. if thebits = 0 then
  8537. pTDefRegMap(@Self)^.clr := $00008000
  8538. else
  8539. pTDefRegMap(@Self)^.&set := $00008000;
  8540. end;
  8541. function TTMR4_T4CON.getTON : TBits_1; inline;
  8542. begin
  8543. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8544. end;
  8545. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  8546. begin
  8547. pTDefRegMap(@Self)^.val := thebits;
  8548. end;
  8549. function TTMR4_T4CON.getw : TBits_32; inline;
  8550. begin
  8551. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8552. end;
  8553. procedure TTMR5_T5CON.setTCS; inline;
  8554. begin
  8555. pTDefRegMap(@Self)^.&set := $00000002;
  8556. end;
  8557. procedure TTMR5_T5CON.clearTCS; inline;
  8558. begin
  8559. pTDefRegMap(@Self)^.clr := $00000002;
  8560. end;
  8561. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  8562. begin
  8563. if thebits = 0 then
  8564. pTDefRegMap(@Self)^.clr := $00000002
  8565. else
  8566. pTDefRegMap(@Self)^.&set := $00000002;
  8567. end;
  8568. function TTMR5_T5CON.getTCS : TBits_1; inline;
  8569. begin
  8570. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8571. end;
  8572. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  8573. begin
  8574. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  8575. end;
  8576. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  8577. begin
  8578. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  8579. end;
  8580. procedure TTMR5_T5CON.setTGATE; inline;
  8581. begin
  8582. pTDefRegMap(@Self)^.&set := $00000080;
  8583. end;
  8584. procedure TTMR5_T5CON.clearTGATE; inline;
  8585. begin
  8586. pTDefRegMap(@Self)^.clr := $00000080;
  8587. end;
  8588. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  8589. begin
  8590. if thebits = 0 then
  8591. pTDefRegMap(@Self)^.clr := $00000080
  8592. else
  8593. pTDefRegMap(@Self)^.&set := $00000080;
  8594. end;
  8595. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  8596. begin
  8597. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8598. end;
  8599. procedure TTMR5_T5CON.setSIDL; inline;
  8600. begin
  8601. pTDefRegMap(@Self)^.&set := $00002000;
  8602. end;
  8603. procedure TTMR5_T5CON.clearSIDL; inline;
  8604. begin
  8605. pTDefRegMap(@Self)^.clr := $00002000;
  8606. end;
  8607. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  8608. begin
  8609. if thebits = 0 then
  8610. pTDefRegMap(@Self)^.clr := $00002000
  8611. else
  8612. pTDefRegMap(@Self)^.&set := $00002000;
  8613. end;
  8614. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  8615. begin
  8616. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8617. end;
  8618. procedure TTMR5_T5CON.setON; inline;
  8619. begin
  8620. pTDefRegMap(@Self)^.&set := $00008000;
  8621. end;
  8622. procedure TTMR5_T5CON.clearON; inline;
  8623. begin
  8624. pTDefRegMap(@Self)^.clr := $00008000;
  8625. end;
  8626. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  8627. begin
  8628. if thebits = 0 then
  8629. pTDefRegMap(@Self)^.clr := $00008000
  8630. else
  8631. pTDefRegMap(@Self)^.&set := $00008000;
  8632. end;
  8633. function TTMR5_T5CON.getON : TBits_1; inline;
  8634. begin
  8635. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8636. end;
  8637. procedure TTMR5_T5CON.setTCKPS0; inline;
  8638. begin
  8639. pTDefRegMap(@Self)^.&set := $00000010;
  8640. end;
  8641. procedure TTMR5_T5CON.clearTCKPS0; inline;
  8642. begin
  8643. pTDefRegMap(@Self)^.clr := $00000010;
  8644. end;
  8645. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  8646. begin
  8647. if thebits = 0 then
  8648. pTDefRegMap(@Self)^.clr := $00000010
  8649. else
  8650. pTDefRegMap(@Self)^.&set := $00000010;
  8651. end;
  8652. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  8653. begin
  8654. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8655. end;
  8656. procedure TTMR5_T5CON.setTCKPS1; inline;
  8657. begin
  8658. pTDefRegMap(@Self)^.&set := $00000020;
  8659. end;
  8660. procedure TTMR5_T5CON.clearTCKPS1; inline;
  8661. begin
  8662. pTDefRegMap(@Self)^.clr := $00000020;
  8663. end;
  8664. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  8665. begin
  8666. if thebits = 0 then
  8667. pTDefRegMap(@Self)^.clr := $00000020
  8668. else
  8669. pTDefRegMap(@Self)^.&set := $00000020;
  8670. end;
  8671. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  8672. begin
  8673. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8674. end;
  8675. procedure TTMR5_T5CON.setTCKPS2; inline;
  8676. begin
  8677. pTDefRegMap(@Self)^.&set := $00000040;
  8678. end;
  8679. procedure TTMR5_T5CON.clearTCKPS2; inline;
  8680. begin
  8681. pTDefRegMap(@Self)^.clr := $00000040;
  8682. end;
  8683. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  8684. begin
  8685. if thebits = 0 then
  8686. pTDefRegMap(@Self)^.clr := $00000040
  8687. else
  8688. pTDefRegMap(@Self)^.&set := $00000040;
  8689. end;
  8690. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  8691. begin
  8692. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8693. end;
  8694. procedure TTMR5_T5CON.setTSIDL; inline;
  8695. begin
  8696. pTDefRegMap(@Self)^.&set := $00002000;
  8697. end;
  8698. procedure TTMR5_T5CON.clearTSIDL; inline;
  8699. begin
  8700. pTDefRegMap(@Self)^.clr := $00002000;
  8701. end;
  8702. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  8703. begin
  8704. if thebits = 0 then
  8705. pTDefRegMap(@Self)^.clr := $00002000
  8706. else
  8707. pTDefRegMap(@Self)^.&set := $00002000;
  8708. end;
  8709. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  8710. begin
  8711. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8712. end;
  8713. procedure TTMR5_T5CON.setTON; inline;
  8714. begin
  8715. pTDefRegMap(@Self)^.&set := $00008000;
  8716. end;
  8717. procedure TTMR5_T5CON.clearTON; inline;
  8718. begin
  8719. pTDefRegMap(@Self)^.clr := $00008000;
  8720. end;
  8721. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  8722. begin
  8723. if thebits = 0 then
  8724. pTDefRegMap(@Self)^.clr := $00008000
  8725. else
  8726. pTDefRegMap(@Self)^.&set := $00008000;
  8727. end;
  8728. function TTMR5_T5CON.getTON : TBits_1; inline;
  8729. begin
  8730. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8731. end;
  8732. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  8733. begin
  8734. pTDefRegMap(@Self)^.val := thebits;
  8735. end;
  8736. function TTMR5_T5CON.getw : TBits_32; inline;
  8737. begin
  8738. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8739. end;
  8740. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  8741. begin
  8742. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  8743. end;
  8744. function TICAP1_IC1CON.getICM : TBits_3; inline;
  8745. begin
  8746. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  8747. end;
  8748. procedure TICAP1_IC1CON.setICBNE; inline;
  8749. begin
  8750. pTDefRegMap(@Self)^.&set := $00000008;
  8751. end;
  8752. procedure TICAP1_IC1CON.clearICBNE; inline;
  8753. begin
  8754. pTDefRegMap(@Self)^.clr := $00000008;
  8755. end;
  8756. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  8757. begin
  8758. if thebits = 0 then
  8759. pTDefRegMap(@Self)^.clr := $00000008
  8760. else
  8761. pTDefRegMap(@Self)^.&set := $00000008;
  8762. end;
  8763. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  8764. begin
  8765. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8766. end;
  8767. procedure TICAP1_IC1CON.setICOV; inline;
  8768. begin
  8769. pTDefRegMap(@Self)^.&set := $00000010;
  8770. end;
  8771. procedure TICAP1_IC1CON.clearICOV; inline;
  8772. begin
  8773. pTDefRegMap(@Self)^.clr := $00000010;
  8774. end;
  8775. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  8776. begin
  8777. if thebits = 0 then
  8778. pTDefRegMap(@Self)^.clr := $00000010
  8779. else
  8780. pTDefRegMap(@Self)^.&set := $00000010;
  8781. end;
  8782. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  8783. begin
  8784. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8785. end;
  8786. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  8787. begin
  8788. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  8789. end;
  8790. function TICAP1_IC1CON.getICI : TBits_2; inline;
  8791. begin
  8792. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  8793. end;
  8794. procedure TICAP1_IC1CON.setICTMR; inline;
  8795. begin
  8796. pTDefRegMap(@Self)^.&set := $00000080;
  8797. end;
  8798. procedure TICAP1_IC1CON.clearICTMR; inline;
  8799. begin
  8800. pTDefRegMap(@Self)^.clr := $00000080;
  8801. end;
  8802. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  8803. begin
  8804. if thebits = 0 then
  8805. pTDefRegMap(@Self)^.clr := $00000080
  8806. else
  8807. pTDefRegMap(@Self)^.&set := $00000080;
  8808. end;
  8809. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  8810. begin
  8811. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8812. end;
  8813. procedure TICAP1_IC1CON.setC32; inline;
  8814. begin
  8815. pTDefRegMap(@Self)^.&set := $00000100;
  8816. end;
  8817. procedure TICAP1_IC1CON.clearC32; inline;
  8818. begin
  8819. pTDefRegMap(@Self)^.clr := $00000100;
  8820. end;
  8821. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  8822. begin
  8823. if thebits = 0 then
  8824. pTDefRegMap(@Self)^.clr := $00000100
  8825. else
  8826. pTDefRegMap(@Self)^.&set := $00000100;
  8827. end;
  8828. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  8829. begin
  8830. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  8831. end;
  8832. procedure TICAP1_IC1CON.setFEDGE; inline;
  8833. begin
  8834. pTDefRegMap(@Self)^.&set := $00000200;
  8835. end;
  8836. procedure TICAP1_IC1CON.clearFEDGE; inline;
  8837. begin
  8838. pTDefRegMap(@Self)^.clr := $00000200;
  8839. end;
  8840. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  8841. begin
  8842. if thebits = 0 then
  8843. pTDefRegMap(@Self)^.clr := $00000200
  8844. else
  8845. pTDefRegMap(@Self)^.&set := $00000200;
  8846. end;
  8847. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  8848. begin
  8849. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  8850. end;
  8851. procedure TICAP1_IC1CON.setSIDL; inline;
  8852. begin
  8853. pTDefRegMap(@Self)^.&set := $00002000;
  8854. end;
  8855. procedure TICAP1_IC1CON.clearSIDL; inline;
  8856. begin
  8857. pTDefRegMap(@Self)^.clr := $00002000;
  8858. end;
  8859. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  8860. begin
  8861. if thebits = 0 then
  8862. pTDefRegMap(@Self)^.clr := $00002000
  8863. else
  8864. pTDefRegMap(@Self)^.&set := $00002000;
  8865. end;
  8866. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  8867. begin
  8868. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8869. end;
  8870. procedure TICAP1_IC1CON.setON; inline;
  8871. begin
  8872. pTDefRegMap(@Self)^.&set := $00008000;
  8873. end;
  8874. procedure TICAP1_IC1CON.clearON; inline;
  8875. begin
  8876. pTDefRegMap(@Self)^.clr := $00008000;
  8877. end;
  8878. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  8879. begin
  8880. if thebits = 0 then
  8881. pTDefRegMap(@Self)^.clr := $00008000
  8882. else
  8883. pTDefRegMap(@Self)^.&set := $00008000;
  8884. end;
  8885. function TICAP1_IC1CON.getON : TBits_1; inline;
  8886. begin
  8887. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8888. end;
  8889. procedure TICAP1_IC1CON.setICM0; inline;
  8890. begin
  8891. pTDefRegMap(@Self)^.&set := $00000001;
  8892. end;
  8893. procedure TICAP1_IC1CON.clearICM0; inline;
  8894. begin
  8895. pTDefRegMap(@Self)^.clr := $00000001;
  8896. end;
  8897. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  8898. begin
  8899. if thebits = 0 then
  8900. pTDefRegMap(@Self)^.clr := $00000001
  8901. else
  8902. pTDefRegMap(@Self)^.&set := $00000001;
  8903. end;
  8904. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  8905. begin
  8906. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  8907. end;
  8908. procedure TICAP1_IC1CON.setICM1; inline;
  8909. begin
  8910. pTDefRegMap(@Self)^.&set := $00000002;
  8911. end;
  8912. procedure TICAP1_IC1CON.clearICM1; inline;
  8913. begin
  8914. pTDefRegMap(@Self)^.clr := $00000002;
  8915. end;
  8916. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  8917. begin
  8918. if thebits = 0 then
  8919. pTDefRegMap(@Self)^.clr := $00000002
  8920. else
  8921. pTDefRegMap(@Self)^.&set := $00000002;
  8922. end;
  8923. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  8924. begin
  8925. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8926. end;
  8927. procedure TICAP1_IC1CON.setICM2; inline;
  8928. begin
  8929. pTDefRegMap(@Self)^.&set := $00000004;
  8930. end;
  8931. procedure TICAP1_IC1CON.clearICM2; inline;
  8932. begin
  8933. pTDefRegMap(@Self)^.clr := $00000004;
  8934. end;
  8935. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  8936. begin
  8937. if thebits = 0 then
  8938. pTDefRegMap(@Self)^.clr := $00000004
  8939. else
  8940. pTDefRegMap(@Self)^.&set := $00000004;
  8941. end;
  8942. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  8943. begin
  8944. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  8945. end;
  8946. procedure TICAP1_IC1CON.setICI0; inline;
  8947. begin
  8948. pTDefRegMap(@Self)^.&set := $00000020;
  8949. end;
  8950. procedure TICAP1_IC1CON.clearICI0; inline;
  8951. begin
  8952. pTDefRegMap(@Self)^.clr := $00000020;
  8953. end;
  8954. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  8955. begin
  8956. if thebits = 0 then
  8957. pTDefRegMap(@Self)^.clr := $00000020
  8958. else
  8959. pTDefRegMap(@Self)^.&set := $00000020;
  8960. end;
  8961. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  8962. begin
  8963. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8964. end;
  8965. procedure TICAP1_IC1CON.setICI1; inline;
  8966. begin
  8967. pTDefRegMap(@Self)^.&set := $00000040;
  8968. end;
  8969. procedure TICAP1_IC1CON.clearICI1; inline;
  8970. begin
  8971. pTDefRegMap(@Self)^.clr := $00000040;
  8972. end;
  8973. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  8974. begin
  8975. if thebits = 0 then
  8976. pTDefRegMap(@Self)^.clr := $00000040
  8977. else
  8978. pTDefRegMap(@Self)^.&set := $00000040;
  8979. end;
  8980. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  8981. begin
  8982. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8983. end;
  8984. procedure TICAP1_IC1CON.setICSIDL; inline;
  8985. begin
  8986. pTDefRegMap(@Self)^.&set := $00002000;
  8987. end;
  8988. procedure TICAP1_IC1CON.clearICSIDL; inline;
  8989. begin
  8990. pTDefRegMap(@Self)^.clr := $00002000;
  8991. end;
  8992. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  8993. begin
  8994. if thebits = 0 then
  8995. pTDefRegMap(@Self)^.clr := $00002000
  8996. else
  8997. pTDefRegMap(@Self)^.&set := $00002000;
  8998. end;
  8999. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  9000. begin
  9001. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9002. end;
  9003. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  9004. begin
  9005. pTDefRegMap(@Self)^.val := thebits;
  9006. end;
  9007. function TICAP1_IC1CON.getw : TBits_32; inline;
  9008. begin
  9009. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9010. end;
  9011. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  9012. begin
  9013. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9014. end;
  9015. function TICAP2_IC2CON.getICM : TBits_3; inline;
  9016. begin
  9017. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9018. end;
  9019. procedure TICAP2_IC2CON.setICBNE; inline;
  9020. begin
  9021. pTDefRegMap(@Self)^.&set := $00000008;
  9022. end;
  9023. procedure TICAP2_IC2CON.clearICBNE; inline;
  9024. begin
  9025. pTDefRegMap(@Self)^.clr := $00000008;
  9026. end;
  9027. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  9028. begin
  9029. if thebits = 0 then
  9030. pTDefRegMap(@Self)^.clr := $00000008
  9031. else
  9032. pTDefRegMap(@Self)^.&set := $00000008;
  9033. end;
  9034. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  9035. begin
  9036. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9037. end;
  9038. procedure TICAP2_IC2CON.setICOV; inline;
  9039. begin
  9040. pTDefRegMap(@Self)^.&set := $00000010;
  9041. end;
  9042. procedure TICAP2_IC2CON.clearICOV; inline;
  9043. begin
  9044. pTDefRegMap(@Self)^.clr := $00000010;
  9045. end;
  9046. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  9047. begin
  9048. if thebits = 0 then
  9049. pTDefRegMap(@Self)^.clr := $00000010
  9050. else
  9051. pTDefRegMap(@Self)^.&set := $00000010;
  9052. end;
  9053. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  9054. begin
  9055. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9056. end;
  9057. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  9058. begin
  9059. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  9060. end;
  9061. function TICAP2_IC2CON.getICI : TBits_2; inline;
  9062. begin
  9063. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  9064. end;
  9065. procedure TICAP2_IC2CON.setICTMR; inline;
  9066. begin
  9067. pTDefRegMap(@Self)^.&set := $00000080;
  9068. end;
  9069. procedure TICAP2_IC2CON.clearICTMR; inline;
  9070. begin
  9071. pTDefRegMap(@Self)^.clr := $00000080;
  9072. end;
  9073. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  9074. begin
  9075. if thebits = 0 then
  9076. pTDefRegMap(@Self)^.clr := $00000080
  9077. else
  9078. pTDefRegMap(@Self)^.&set := $00000080;
  9079. end;
  9080. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  9081. begin
  9082. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9083. end;
  9084. procedure TICAP2_IC2CON.setC32; inline;
  9085. begin
  9086. pTDefRegMap(@Self)^.&set := $00000100;
  9087. end;
  9088. procedure TICAP2_IC2CON.clearC32; inline;
  9089. begin
  9090. pTDefRegMap(@Self)^.clr := $00000100;
  9091. end;
  9092. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  9093. begin
  9094. if thebits = 0 then
  9095. pTDefRegMap(@Self)^.clr := $00000100
  9096. else
  9097. pTDefRegMap(@Self)^.&set := $00000100;
  9098. end;
  9099. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  9100. begin
  9101. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  9102. end;
  9103. procedure TICAP2_IC2CON.setFEDGE; inline;
  9104. begin
  9105. pTDefRegMap(@Self)^.&set := $00000200;
  9106. end;
  9107. procedure TICAP2_IC2CON.clearFEDGE; inline;
  9108. begin
  9109. pTDefRegMap(@Self)^.clr := $00000200;
  9110. end;
  9111. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  9112. begin
  9113. if thebits = 0 then
  9114. pTDefRegMap(@Self)^.clr := $00000200
  9115. else
  9116. pTDefRegMap(@Self)^.&set := $00000200;
  9117. end;
  9118. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  9119. begin
  9120. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  9121. end;
  9122. procedure TICAP2_IC2CON.setSIDL; inline;
  9123. begin
  9124. pTDefRegMap(@Self)^.&set := $00002000;
  9125. end;
  9126. procedure TICAP2_IC2CON.clearSIDL; inline;
  9127. begin
  9128. pTDefRegMap(@Self)^.clr := $00002000;
  9129. end;
  9130. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  9131. begin
  9132. if thebits = 0 then
  9133. pTDefRegMap(@Self)^.clr := $00002000
  9134. else
  9135. pTDefRegMap(@Self)^.&set := $00002000;
  9136. end;
  9137. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  9138. begin
  9139. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9140. end;
  9141. procedure TICAP2_IC2CON.setON; inline;
  9142. begin
  9143. pTDefRegMap(@Self)^.&set := $00008000;
  9144. end;
  9145. procedure TICAP2_IC2CON.clearON; inline;
  9146. begin
  9147. pTDefRegMap(@Self)^.clr := $00008000;
  9148. end;
  9149. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  9150. begin
  9151. if thebits = 0 then
  9152. pTDefRegMap(@Self)^.clr := $00008000
  9153. else
  9154. pTDefRegMap(@Self)^.&set := $00008000;
  9155. end;
  9156. function TICAP2_IC2CON.getON : TBits_1; inline;
  9157. begin
  9158. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9159. end;
  9160. procedure TICAP2_IC2CON.setICM0; inline;
  9161. begin
  9162. pTDefRegMap(@Self)^.&set := $00000001;
  9163. end;
  9164. procedure TICAP2_IC2CON.clearICM0; inline;
  9165. begin
  9166. pTDefRegMap(@Self)^.clr := $00000001;
  9167. end;
  9168. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  9169. begin
  9170. if thebits = 0 then
  9171. pTDefRegMap(@Self)^.clr := $00000001
  9172. else
  9173. pTDefRegMap(@Self)^.&set := $00000001;
  9174. end;
  9175. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  9176. begin
  9177. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9178. end;
  9179. procedure TICAP2_IC2CON.setICM1; inline;
  9180. begin
  9181. pTDefRegMap(@Self)^.&set := $00000002;
  9182. end;
  9183. procedure TICAP2_IC2CON.clearICM1; inline;
  9184. begin
  9185. pTDefRegMap(@Self)^.clr := $00000002;
  9186. end;
  9187. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  9188. begin
  9189. if thebits = 0 then
  9190. pTDefRegMap(@Self)^.clr := $00000002
  9191. else
  9192. pTDefRegMap(@Self)^.&set := $00000002;
  9193. end;
  9194. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  9195. begin
  9196. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9197. end;
  9198. procedure TICAP2_IC2CON.setICM2; inline;
  9199. begin
  9200. pTDefRegMap(@Self)^.&set := $00000004;
  9201. end;
  9202. procedure TICAP2_IC2CON.clearICM2; inline;
  9203. begin
  9204. pTDefRegMap(@Self)^.clr := $00000004;
  9205. end;
  9206. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  9207. begin
  9208. if thebits = 0 then
  9209. pTDefRegMap(@Self)^.clr := $00000004
  9210. else
  9211. pTDefRegMap(@Self)^.&set := $00000004;
  9212. end;
  9213. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  9214. begin
  9215. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9216. end;
  9217. procedure TICAP2_IC2CON.setICI0; inline;
  9218. begin
  9219. pTDefRegMap(@Self)^.&set := $00000020;
  9220. end;
  9221. procedure TICAP2_IC2CON.clearICI0; inline;
  9222. begin
  9223. pTDefRegMap(@Self)^.clr := $00000020;
  9224. end;
  9225. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  9226. begin
  9227. if thebits = 0 then
  9228. pTDefRegMap(@Self)^.clr := $00000020
  9229. else
  9230. pTDefRegMap(@Self)^.&set := $00000020;
  9231. end;
  9232. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  9233. begin
  9234. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9235. end;
  9236. procedure TICAP2_IC2CON.setICI1; inline;
  9237. begin
  9238. pTDefRegMap(@Self)^.&set := $00000040;
  9239. end;
  9240. procedure TICAP2_IC2CON.clearICI1; inline;
  9241. begin
  9242. pTDefRegMap(@Self)^.clr := $00000040;
  9243. end;
  9244. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  9245. begin
  9246. if thebits = 0 then
  9247. pTDefRegMap(@Self)^.clr := $00000040
  9248. else
  9249. pTDefRegMap(@Self)^.&set := $00000040;
  9250. end;
  9251. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  9252. begin
  9253. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9254. end;
  9255. procedure TICAP2_IC2CON.setICSIDL; inline;
  9256. begin
  9257. pTDefRegMap(@Self)^.&set := $00002000;
  9258. end;
  9259. procedure TICAP2_IC2CON.clearICSIDL; inline;
  9260. begin
  9261. pTDefRegMap(@Self)^.clr := $00002000;
  9262. end;
  9263. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  9264. begin
  9265. if thebits = 0 then
  9266. pTDefRegMap(@Self)^.clr := $00002000
  9267. else
  9268. pTDefRegMap(@Self)^.&set := $00002000;
  9269. end;
  9270. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  9271. begin
  9272. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9273. end;
  9274. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  9275. begin
  9276. pTDefRegMap(@Self)^.val := thebits;
  9277. end;
  9278. function TICAP2_IC2CON.getw : TBits_32; inline;
  9279. begin
  9280. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9281. end;
  9282. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  9283. begin
  9284. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9285. end;
  9286. function TICAP3_IC3CON.getICM : TBits_3; inline;
  9287. begin
  9288. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9289. end;
  9290. procedure TICAP3_IC3CON.setICBNE; inline;
  9291. begin
  9292. pTDefRegMap(@Self)^.&set := $00000008;
  9293. end;
  9294. procedure TICAP3_IC3CON.clearICBNE; inline;
  9295. begin
  9296. pTDefRegMap(@Self)^.clr := $00000008;
  9297. end;
  9298. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  9299. begin
  9300. if thebits = 0 then
  9301. pTDefRegMap(@Self)^.clr := $00000008
  9302. else
  9303. pTDefRegMap(@Self)^.&set := $00000008;
  9304. end;
  9305. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  9306. begin
  9307. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9308. end;
  9309. procedure TICAP3_IC3CON.setICOV; inline;
  9310. begin
  9311. pTDefRegMap(@Self)^.&set := $00000010;
  9312. end;
  9313. procedure TICAP3_IC3CON.clearICOV; inline;
  9314. begin
  9315. pTDefRegMap(@Self)^.clr := $00000010;
  9316. end;
  9317. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  9318. begin
  9319. if thebits = 0 then
  9320. pTDefRegMap(@Self)^.clr := $00000010
  9321. else
  9322. pTDefRegMap(@Self)^.&set := $00000010;
  9323. end;
  9324. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  9325. begin
  9326. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9327. end;
  9328. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  9329. begin
  9330. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  9331. end;
  9332. function TICAP3_IC3CON.getICI : TBits_2; inline;
  9333. begin
  9334. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  9335. end;
  9336. procedure TICAP3_IC3CON.setICTMR; inline;
  9337. begin
  9338. pTDefRegMap(@Self)^.&set := $00000080;
  9339. end;
  9340. procedure TICAP3_IC3CON.clearICTMR; inline;
  9341. begin
  9342. pTDefRegMap(@Self)^.clr := $00000080;
  9343. end;
  9344. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  9345. begin
  9346. if thebits = 0 then
  9347. pTDefRegMap(@Self)^.clr := $00000080
  9348. else
  9349. pTDefRegMap(@Self)^.&set := $00000080;
  9350. end;
  9351. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  9352. begin
  9353. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9354. end;
  9355. procedure TICAP3_IC3CON.setC32; inline;
  9356. begin
  9357. pTDefRegMap(@Self)^.&set := $00000100;
  9358. end;
  9359. procedure TICAP3_IC3CON.clearC32; inline;
  9360. begin
  9361. pTDefRegMap(@Self)^.clr := $00000100;
  9362. end;
  9363. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  9364. begin
  9365. if thebits = 0 then
  9366. pTDefRegMap(@Self)^.clr := $00000100
  9367. else
  9368. pTDefRegMap(@Self)^.&set := $00000100;
  9369. end;
  9370. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  9371. begin
  9372. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  9373. end;
  9374. procedure TICAP3_IC3CON.setFEDGE; inline;
  9375. begin
  9376. pTDefRegMap(@Self)^.&set := $00000200;
  9377. end;
  9378. procedure TICAP3_IC3CON.clearFEDGE; inline;
  9379. begin
  9380. pTDefRegMap(@Self)^.clr := $00000200;
  9381. end;
  9382. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  9383. begin
  9384. if thebits = 0 then
  9385. pTDefRegMap(@Self)^.clr := $00000200
  9386. else
  9387. pTDefRegMap(@Self)^.&set := $00000200;
  9388. end;
  9389. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  9390. begin
  9391. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  9392. end;
  9393. procedure TICAP3_IC3CON.setSIDL; inline;
  9394. begin
  9395. pTDefRegMap(@Self)^.&set := $00002000;
  9396. end;
  9397. procedure TICAP3_IC3CON.clearSIDL; inline;
  9398. begin
  9399. pTDefRegMap(@Self)^.clr := $00002000;
  9400. end;
  9401. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  9402. begin
  9403. if thebits = 0 then
  9404. pTDefRegMap(@Self)^.clr := $00002000
  9405. else
  9406. pTDefRegMap(@Self)^.&set := $00002000;
  9407. end;
  9408. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  9409. begin
  9410. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9411. end;
  9412. procedure TICAP3_IC3CON.setON; inline;
  9413. begin
  9414. pTDefRegMap(@Self)^.&set := $00008000;
  9415. end;
  9416. procedure TICAP3_IC3CON.clearON; inline;
  9417. begin
  9418. pTDefRegMap(@Self)^.clr := $00008000;
  9419. end;
  9420. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  9421. begin
  9422. if thebits = 0 then
  9423. pTDefRegMap(@Self)^.clr := $00008000
  9424. else
  9425. pTDefRegMap(@Self)^.&set := $00008000;
  9426. end;
  9427. function TICAP3_IC3CON.getON : TBits_1; inline;
  9428. begin
  9429. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9430. end;
  9431. procedure TICAP3_IC3CON.setICM0; inline;
  9432. begin
  9433. pTDefRegMap(@Self)^.&set := $00000001;
  9434. end;
  9435. procedure TICAP3_IC3CON.clearICM0; inline;
  9436. begin
  9437. pTDefRegMap(@Self)^.clr := $00000001;
  9438. end;
  9439. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  9440. begin
  9441. if thebits = 0 then
  9442. pTDefRegMap(@Self)^.clr := $00000001
  9443. else
  9444. pTDefRegMap(@Self)^.&set := $00000001;
  9445. end;
  9446. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  9447. begin
  9448. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9449. end;
  9450. procedure TICAP3_IC3CON.setICM1; inline;
  9451. begin
  9452. pTDefRegMap(@Self)^.&set := $00000002;
  9453. end;
  9454. procedure TICAP3_IC3CON.clearICM1; inline;
  9455. begin
  9456. pTDefRegMap(@Self)^.clr := $00000002;
  9457. end;
  9458. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  9459. begin
  9460. if thebits = 0 then
  9461. pTDefRegMap(@Self)^.clr := $00000002
  9462. else
  9463. pTDefRegMap(@Self)^.&set := $00000002;
  9464. end;
  9465. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  9466. begin
  9467. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9468. end;
  9469. procedure TICAP3_IC3CON.setICM2; inline;
  9470. begin
  9471. pTDefRegMap(@Self)^.&set := $00000004;
  9472. end;
  9473. procedure TICAP3_IC3CON.clearICM2; inline;
  9474. begin
  9475. pTDefRegMap(@Self)^.clr := $00000004;
  9476. end;
  9477. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  9478. begin
  9479. if thebits = 0 then
  9480. pTDefRegMap(@Self)^.clr := $00000004
  9481. else
  9482. pTDefRegMap(@Self)^.&set := $00000004;
  9483. end;
  9484. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  9485. begin
  9486. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9487. end;
  9488. procedure TICAP3_IC3CON.setICI0; inline;
  9489. begin
  9490. pTDefRegMap(@Self)^.&set := $00000020;
  9491. end;
  9492. procedure TICAP3_IC3CON.clearICI0; inline;
  9493. begin
  9494. pTDefRegMap(@Self)^.clr := $00000020;
  9495. end;
  9496. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  9497. begin
  9498. if thebits = 0 then
  9499. pTDefRegMap(@Self)^.clr := $00000020
  9500. else
  9501. pTDefRegMap(@Self)^.&set := $00000020;
  9502. end;
  9503. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  9504. begin
  9505. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9506. end;
  9507. procedure TICAP3_IC3CON.setICI1; inline;
  9508. begin
  9509. pTDefRegMap(@Self)^.&set := $00000040;
  9510. end;
  9511. procedure TICAP3_IC3CON.clearICI1; inline;
  9512. begin
  9513. pTDefRegMap(@Self)^.clr := $00000040;
  9514. end;
  9515. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  9516. begin
  9517. if thebits = 0 then
  9518. pTDefRegMap(@Self)^.clr := $00000040
  9519. else
  9520. pTDefRegMap(@Self)^.&set := $00000040;
  9521. end;
  9522. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  9523. begin
  9524. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9525. end;
  9526. procedure TICAP3_IC3CON.setICSIDL; inline;
  9527. begin
  9528. pTDefRegMap(@Self)^.&set := $00002000;
  9529. end;
  9530. procedure TICAP3_IC3CON.clearICSIDL; inline;
  9531. begin
  9532. pTDefRegMap(@Self)^.clr := $00002000;
  9533. end;
  9534. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  9535. begin
  9536. if thebits = 0 then
  9537. pTDefRegMap(@Self)^.clr := $00002000
  9538. else
  9539. pTDefRegMap(@Self)^.&set := $00002000;
  9540. end;
  9541. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  9542. begin
  9543. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9544. end;
  9545. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  9546. begin
  9547. pTDefRegMap(@Self)^.val := thebits;
  9548. end;
  9549. function TICAP3_IC3CON.getw : TBits_32; inline;
  9550. begin
  9551. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9552. end;
  9553. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  9554. begin
  9555. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9556. end;
  9557. function TICAP4_IC4CON.getICM : TBits_3; inline;
  9558. begin
  9559. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9560. end;
  9561. procedure TICAP4_IC4CON.setICBNE; inline;
  9562. begin
  9563. pTDefRegMap(@Self)^.&set := $00000008;
  9564. end;
  9565. procedure TICAP4_IC4CON.clearICBNE; inline;
  9566. begin
  9567. pTDefRegMap(@Self)^.clr := $00000008;
  9568. end;
  9569. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  9570. begin
  9571. if thebits = 0 then
  9572. pTDefRegMap(@Self)^.clr := $00000008
  9573. else
  9574. pTDefRegMap(@Self)^.&set := $00000008;
  9575. end;
  9576. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  9577. begin
  9578. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9579. end;
  9580. procedure TICAP4_IC4CON.setICOV; inline;
  9581. begin
  9582. pTDefRegMap(@Self)^.&set := $00000010;
  9583. end;
  9584. procedure TICAP4_IC4CON.clearICOV; inline;
  9585. begin
  9586. pTDefRegMap(@Self)^.clr := $00000010;
  9587. end;
  9588. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  9589. begin
  9590. if thebits = 0 then
  9591. pTDefRegMap(@Self)^.clr := $00000010
  9592. else
  9593. pTDefRegMap(@Self)^.&set := $00000010;
  9594. end;
  9595. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  9596. begin
  9597. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9598. end;
  9599. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  9600. begin
  9601. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  9602. end;
  9603. function TICAP4_IC4CON.getICI : TBits_2; inline;
  9604. begin
  9605. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  9606. end;
  9607. procedure TICAP4_IC4CON.setICTMR; inline;
  9608. begin
  9609. pTDefRegMap(@Self)^.&set := $00000080;
  9610. end;
  9611. procedure TICAP4_IC4CON.clearICTMR; inline;
  9612. begin
  9613. pTDefRegMap(@Self)^.clr := $00000080;
  9614. end;
  9615. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  9616. begin
  9617. if thebits = 0 then
  9618. pTDefRegMap(@Self)^.clr := $00000080
  9619. else
  9620. pTDefRegMap(@Self)^.&set := $00000080;
  9621. end;
  9622. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  9623. begin
  9624. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9625. end;
  9626. procedure TICAP4_IC4CON.setC32; inline;
  9627. begin
  9628. pTDefRegMap(@Self)^.&set := $00000100;
  9629. end;
  9630. procedure TICAP4_IC4CON.clearC32; inline;
  9631. begin
  9632. pTDefRegMap(@Self)^.clr := $00000100;
  9633. end;
  9634. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  9635. begin
  9636. if thebits = 0 then
  9637. pTDefRegMap(@Self)^.clr := $00000100
  9638. else
  9639. pTDefRegMap(@Self)^.&set := $00000100;
  9640. end;
  9641. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  9642. begin
  9643. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  9644. end;
  9645. procedure TICAP4_IC4CON.setFEDGE; inline;
  9646. begin
  9647. pTDefRegMap(@Self)^.&set := $00000200;
  9648. end;
  9649. procedure TICAP4_IC4CON.clearFEDGE; inline;
  9650. begin
  9651. pTDefRegMap(@Self)^.clr := $00000200;
  9652. end;
  9653. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  9654. begin
  9655. if thebits = 0 then
  9656. pTDefRegMap(@Self)^.clr := $00000200
  9657. else
  9658. pTDefRegMap(@Self)^.&set := $00000200;
  9659. end;
  9660. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  9661. begin
  9662. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  9663. end;
  9664. procedure TICAP4_IC4CON.setSIDL; inline;
  9665. begin
  9666. pTDefRegMap(@Self)^.&set := $00002000;
  9667. end;
  9668. procedure TICAP4_IC4CON.clearSIDL; inline;
  9669. begin
  9670. pTDefRegMap(@Self)^.clr := $00002000;
  9671. end;
  9672. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  9673. begin
  9674. if thebits = 0 then
  9675. pTDefRegMap(@Self)^.clr := $00002000
  9676. else
  9677. pTDefRegMap(@Self)^.&set := $00002000;
  9678. end;
  9679. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  9680. begin
  9681. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9682. end;
  9683. procedure TICAP4_IC4CON.setON; inline;
  9684. begin
  9685. pTDefRegMap(@Self)^.&set := $00008000;
  9686. end;
  9687. procedure TICAP4_IC4CON.clearON; inline;
  9688. begin
  9689. pTDefRegMap(@Self)^.clr := $00008000;
  9690. end;
  9691. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  9692. begin
  9693. if thebits = 0 then
  9694. pTDefRegMap(@Self)^.clr := $00008000
  9695. else
  9696. pTDefRegMap(@Self)^.&set := $00008000;
  9697. end;
  9698. function TICAP4_IC4CON.getON : TBits_1; inline;
  9699. begin
  9700. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9701. end;
  9702. procedure TICAP4_IC4CON.setICM0; inline;
  9703. begin
  9704. pTDefRegMap(@Self)^.&set := $00000001;
  9705. end;
  9706. procedure TICAP4_IC4CON.clearICM0; inline;
  9707. begin
  9708. pTDefRegMap(@Self)^.clr := $00000001;
  9709. end;
  9710. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  9711. begin
  9712. if thebits = 0 then
  9713. pTDefRegMap(@Self)^.clr := $00000001
  9714. else
  9715. pTDefRegMap(@Self)^.&set := $00000001;
  9716. end;
  9717. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  9718. begin
  9719. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9720. end;
  9721. procedure TICAP4_IC4CON.setICM1; inline;
  9722. begin
  9723. pTDefRegMap(@Self)^.&set := $00000002;
  9724. end;
  9725. procedure TICAP4_IC4CON.clearICM1; inline;
  9726. begin
  9727. pTDefRegMap(@Self)^.clr := $00000002;
  9728. end;
  9729. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  9730. begin
  9731. if thebits = 0 then
  9732. pTDefRegMap(@Self)^.clr := $00000002
  9733. else
  9734. pTDefRegMap(@Self)^.&set := $00000002;
  9735. end;
  9736. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  9737. begin
  9738. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9739. end;
  9740. procedure TICAP4_IC4CON.setICM2; inline;
  9741. begin
  9742. pTDefRegMap(@Self)^.&set := $00000004;
  9743. end;
  9744. procedure TICAP4_IC4CON.clearICM2; inline;
  9745. begin
  9746. pTDefRegMap(@Self)^.clr := $00000004;
  9747. end;
  9748. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  9749. begin
  9750. if thebits = 0 then
  9751. pTDefRegMap(@Self)^.clr := $00000004
  9752. else
  9753. pTDefRegMap(@Self)^.&set := $00000004;
  9754. end;
  9755. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  9756. begin
  9757. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9758. end;
  9759. procedure TICAP4_IC4CON.setICI0; inline;
  9760. begin
  9761. pTDefRegMap(@Self)^.&set := $00000020;
  9762. end;
  9763. procedure TICAP4_IC4CON.clearICI0; inline;
  9764. begin
  9765. pTDefRegMap(@Self)^.clr := $00000020;
  9766. end;
  9767. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  9768. begin
  9769. if thebits = 0 then
  9770. pTDefRegMap(@Self)^.clr := $00000020
  9771. else
  9772. pTDefRegMap(@Self)^.&set := $00000020;
  9773. end;
  9774. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  9775. begin
  9776. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9777. end;
  9778. procedure TICAP4_IC4CON.setICI1; inline;
  9779. begin
  9780. pTDefRegMap(@Self)^.&set := $00000040;
  9781. end;
  9782. procedure TICAP4_IC4CON.clearICI1; inline;
  9783. begin
  9784. pTDefRegMap(@Self)^.clr := $00000040;
  9785. end;
  9786. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  9787. begin
  9788. if thebits = 0 then
  9789. pTDefRegMap(@Self)^.clr := $00000040
  9790. else
  9791. pTDefRegMap(@Self)^.&set := $00000040;
  9792. end;
  9793. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  9794. begin
  9795. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9796. end;
  9797. procedure TICAP4_IC4CON.setICSIDL; inline;
  9798. begin
  9799. pTDefRegMap(@Self)^.&set := $00002000;
  9800. end;
  9801. procedure TICAP4_IC4CON.clearICSIDL; inline;
  9802. begin
  9803. pTDefRegMap(@Self)^.clr := $00002000;
  9804. end;
  9805. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  9806. begin
  9807. if thebits = 0 then
  9808. pTDefRegMap(@Self)^.clr := $00002000
  9809. else
  9810. pTDefRegMap(@Self)^.&set := $00002000;
  9811. end;
  9812. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  9813. begin
  9814. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9815. end;
  9816. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  9817. begin
  9818. pTDefRegMap(@Self)^.val := thebits;
  9819. end;
  9820. function TICAP4_IC4CON.getw : TBits_32; inline;
  9821. begin
  9822. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9823. end;
  9824. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  9825. begin
  9826. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9827. end;
  9828. function TICAP5_IC5CON.getICM : TBits_3; inline;
  9829. begin
  9830. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9831. end;
  9832. procedure TICAP5_IC5CON.setICBNE; inline;
  9833. begin
  9834. pTDefRegMap(@Self)^.&set := $00000008;
  9835. end;
  9836. procedure TICAP5_IC5CON.clearICBNE; inline;
  9837. begin
  9838. pTDefRegMap(@Self)^.clr := $00000008;
  9839. end;
  9840. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  9841. begin
  9842. if thebits = 0 then
  9843. pTDefRegMap(@Self)^.clr := $00000008
  9844. else
  9845. pTDefRegMap(@Self)^.&set := $00000008;
  9846. end;
  9847. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  9848. begin
  9849. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9850. end;
  9851. procedure TICAP5_IC5CON.setICOV; inline;
  9852. begin
  9853. pTDefRegMap(@Self)^.&set := $00000010;
  9854. end;
  9855. procedure TICAP5_IC5CON.clearICOV; inline;
  9856. begin
  9857. pTDefRegMap(@Self)^.clr := $00000010;
  9858. end;
  9859. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  9860. begin
  9861. if thebits = 0 then
  9862. pTDefRegMap(@Self)^.clr := $00000010
  9863. else
  9864. pTDefRegMap(@Self)^.&set := $00000010;
  9865. end;
  9866. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  9867. begin
  9868. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9869. end;
  9870. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  9871. begin
  9872. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  9873. end;
  9874. function TICAP5_IC5CON.getICI : TBits_2; inline;
  9875. begin
  9876. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  9877. end;
  9878. procedure TICAP5_IC5CON.setICTMR; inline;
  9879. begin
  9880. pTDefRegMap(@Self)^.&set := $00000080;
  9881. end;
  9882. procedure TICAP5_IC5CON.clearICTMR; inline;
  9883. begin
  9884. pTDefRegMap(@Self)^.clr := $00000080;
  9885. end;
  9886. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  9887. begin
  9888. if thebits = 0 then
  9889. pTDefRegMap(@Self)^.clr := $00000080
  9890. else
  9891. pTDefRegMap(@Self)^.&set := $00000080;
  9892. end;
  9893. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  9894. begin
  9895. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9896. end;
  9897. procedure TICAP5_IC5CON.setC32; inline;
  9898. begin
  9899. pTDefRegMap(@Self)^.&set := $00000100;
  9900. end;
  9901. procedure TICAP5_IC5CON.clearC32; inline;
  9902. begin
  9903. pTDefRegMap(@Self)^.clr := $00000100;
  9904. end;
  9905. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  9906. begin
  9907. if thebits = 0 then
  9908. pTDefRegMap(@Self)^.clr := $00000100
  9909. else
  9910. pTDefRegMap(@Self)^.&set := $00000100;
  9911. end;
  9912. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  9913. begin
  9914. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  9915. end;
  9916. procedure TICAP5_IC5CON.setFEDGE; inline;
  9917. begin
  9918. pTDefRegMap(@Self)^.&set := $00000200;
  9919. end;
  9920. procedure TICAP5_IC5CON.clearFEDGE; inline;
  9921. begin
  9922. pTDefRegMap(@Self)^.clr := $00000200;
  9923. end;
  9924. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  9925. begin
  9926. if thebits = 0 then
  9927. pTDefRegMap(@Self)^.clr := $00000200
  9928. else
  9929. pTDefRegMap(@Self)^.&set := $00000200;
  9930. end;
  9931. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  9932. begin
  9933. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  9934. end;
  9935. procedure TICAP5_IC5CON.setSIDL; inline;
  9936. begin
  9937. pTDefRegMap(@Self)^.&set := $00002000;
  9938. end;
  9939. procedure TICAP5_IC5CON.clearSIDL; inline;
  9940. begin
  9941. pTDefRegMap(@Self)^.clr := $00002000;
  9942. end;
  9943. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  9944. begin
  9945. if thebits = 0 then
  9946. pTDefRegMap(@Self)^.clr := $00002000
  9947. else
  9948. pTDefRegMap(@Self)^.&set := $00002000;
  9949. end;
  9950. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  9951. begin
  9952. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9953. end;
  9954. procedure TICAP5_IC5CON.setON; inline;
  9955. begin
  9956. pTDefRegMap(@Self)^.&set := $00008000;
  9957. end;
  9958. procedure TICAP5_IC5CON.clearON; inline;
  9959. begin
  9960. pTDefRegMap(@Self)^.clr := $00008000;
  9961. end;
  9962. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  9963. begin
  9964. if thebits = 0 then
  9965. pTDefRegMap(@Self)^.clr := $00008000
  9966. else
  9967. pTDefRegMap(@Self)^.&set := $00008000;
  9968. end;
  9969. function TICAP5_IC5CON.getON : TBits_1; inline;
  9970. begin
  9971. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9972. end;
  9973. procedure TICAP5_IC5CON.setICM0; inline;
  9974. begin
  9975. pTDefRegMap(@Self)^.&set := $00000001;
  9976. end;
  9977. procedure TICAP5_IC5CON.clearICM0; inline;
  9978. begin
  9979. pTDefRegMap(@Self)^.clr := $00000001;
  9980. end;
  9981. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  9982. begin
  9983. if thebits = 0 then
  9984. pTDefRegMap(@Self)^.clr := $00000001
  9985. else
  9986. pTDefRegMap(@Self)^.&set := $00000001;
  9987. end;
  9988. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  9989. begin
  9990. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9991. end;
  9992. procedure TICAP5_IC5CON.setICM1; inline;
  9993. begin
  9994. pTDefRegMap(@Self)^.&set := $00000002;
  9995. end;
  9996. procedure TICAP5_IC5CON.clearICM1; inline;
  9997. begin
  9998. pTDefRegMap(@Self)^.clr := $00000002;
  9999. end;
  10000. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  10001. begin
  10002. if thebits = 0 then
  10003. pTDefRegMap(@Self)^.clr := $00000002
  10004. else
  10005. pTDefRegMap(@Self)^.&set := $00000002;
  10006. end;
  10007. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  10008. begin
  10009. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10010. end;
  10011. procedure TICAP5_IC5CON.setICM2; inline;
  10012. begin
  10013. pTDefRegMap(@Self)^.&set := $00000004;
  10014. end;
  10015. procedure TICAP5_IC5CON.clearICM2; inline;
  10016. begin
  10017. pTDefRegMap(@Self)^.clr := $00000004;
  10018. end;
  10019. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  10020. begin
  10021. if thebits = 0 then
  10022. pTDefRegMap(@Self)^.clr := $00000004
  10023. else
  10024. pTDefRegMap(@Self)^.&set := $00000004;
  10025. end;
  10026. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  10027. begin
  10028. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10029. end;
  10030. procedure TICAP5_IC5CON.setICI0; inline;
  10031. begin
  10032. pTDefRegMap(@Self)^.&set := $00000020;
  10033. end;
  10034. procedure TICAP5_IC5CON.clearICI0; inline;
  10035. begin
  10036. pTDefRegMap(@Self)^.clr := $00000020;
  10037. end;
  10038. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  10039. begin
  10040. if thebits = 0 then
  10041. pTDefRegMap(@Self)^.clr := $00000020
  10042. else
  10043. pTDefRegMap(@Self)^.&set := $00000020;
  10044. end;
  10045. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  10046. begin
  10047. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10048. end;
  10049. procedure TICAP5_IC5CON.setICI1; inline;
  10050. begin
  10051. pTDefRegMap(@Self)^.&set := $00000040;
  10052. end;
  10053. procedure TICAP5_IC5CON.clearICI1; inline;
  10054. begin
  10055. pTDefRegMap(@Self)^.clr := $00000040;
  10056. end;
  10057. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  10058. begin
  10059. if thebits = 0 then
  10060. pTDefRegMap(@Self)^.clr := $00000040
  10061. else
  10062. pTDefRegMap(@Self)^.&set := $00000040;
  10063. end;
  10064. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  10065. begin
  10066. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10067. end;
  10068. procedure TICAP5_IC5CON.setICSIDL; inline;
  10069. begin
  10070. pTDefRegMap(@Self)^.&set := $00002000;
  10071. end;
  10072. procedure TICAP5_IC5CON.clearICSIDL; inline;
  10073. begin
  10074. pTDefRegMap(@Self)^.clr := $00002000;
  10075. end;
  10076. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  10077. begin
  10078. if thebits = 0 then
  10079. pTDefRegMap(@Self)^.clr := $00002000
  10080. else
  10081. pTDefRegMap(@Self)^.&set := $00002000;
  10082. end;
  10083. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  10084. begin
  10085. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10086. end;
  10087. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  10088. begin
  10089. pTDefRegMap(@Self)^.val := thebits;
  10090. end;
  10091. function TICAP5_IC5CON.getw : TBits_32; inline;
  10092. begin
  10093. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10094. end;
  10095. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  10096. begin
  10097. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10098. end;
  10099. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  10100. begin
  10101. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10102. end;
  10103. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  10104. begin
  10105. pTDefRegMap(@Self)^.&set := $00000008;
  10106. end;
  10107. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  10108. begin
  10109. pTDefRegMap(@Self)^.clr := $00000008;
  10110. end;
  10111. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  10112. begin
  10113. if thebits = 0 then
  10114. pTDefRegMap(@Self)^.clr := $00000008
  10115. else
  10116. pTDefRegMap(@Self)^.&set := $00000008;
  10117. end;
  10118. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  10119. begin
  10120. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10121. end;
  10122. procedure TOCMP1_OC1CON.setOCFLT; inline;
  10123. begin
  10124. pTDefRegMap(@Self)^.&set := $00000010;
  10125. end;
  10126. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  10127. begin
  10128. pTDefRegMap(@Self)^.clr := $00000010;
  10129. end;
  10130. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  10131. begin
  10132. if thebits = 0 then
  10133. pTDefRegMap(@Self)^.clr := $00000010
  10134. else
  10135. pTDefRegMap(@Self)^.&set := $00000010;
  10136. end;
  10137. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  10138. begin
  10139. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10140. end;
  10141. procedure TOCMP1_OC1CON.setOC32; inline;
  10142. begin
  10143. pTDefRegMap(@Self)^.&set := $00000020;
  10144. end;
  10145. procedure TOCMP1_OC1CON.clearOC32; inline;
  10146. begin
  10147. pTDefRegMap(@Self)^.clr := $00000020;
  10148. end;
  10149. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  10150. begin
  10151. if thebits = 0 then
  10152. pTDefRegMap(@Self)^.clr := $00000020
  10153. else
  10154. pTDefRegMap(@Self)^.&set := $00000020;
  10155. end;
  10156. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  10157. begin
  10158. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10159. end;
  10160. procedure TOCMP1_OC1CON.setSIDL; inline;
  10161. begin
  10162. pTDefRegMap(@Self)^.&set := $00002000;
  10163. end;
  10164. procedure TOCMP1_OC1CON.clearSIDL; inline;
  10165. begin
  10166. pTDefRegMap(@Self)^.clr := $00002000;
  10167. end;
  10168. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  10169. begin
  10170. if thebits = 0 then
  10171. pTDefRegMap(@Self)^.clr := $00002000
  10172. else
  10173. pTDefRegMap(@Self)^.&set := $00002000;
  10174. end;
  10175. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  10176. begin
  10177. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10178. end;
  10179. procedure TOCMP1_OC1CON.setON; inline;
  10180. begin
  10181. pTDefRegMap(@Self)^.&set := $00008000;
  10182. end;
  10183. procedure TOCMP1_OC1CON.clearON; inline;
  10184. begin
  10185. pTDefRegMap(@Self)^.clr := $00008000;
  10186. end;
  10187. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  10188. begin
  10189. if thebits = 0 then
  10190. pTDefRegMap(@Self)^.clr := $00008000
  10191. else
  10192. pTDefRegMap(@Self)^.&set := $00008000;
  10193. end;
  10194. function TOCMP1_OC1CON.getON : TBits_1; inline;
  10195. begin
  10196. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10197. end;
  10198. procedure TOCMP1_OC1CON.setOCM0; inline;
  10199. begin
  10200. pTDefRegMap(@Self)^.&set := $00000001;
  10201. end;
  10202. procedure TOCMP1_OC1CON.clearOCM0; inline;
  10203. begin
  10204. pTDefRegMap(@Self)^.clr := $00000001;
  10205. end;
  10206. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  10207. begin
  10208. if thebits = 0 then
  10209. pTDefRegMap(@Self)^.clr := $00000001
  10210. else
  10211. pTDefRegMap(@Self)^.&set := $00000001;
  10212. end;
  10213. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  10214. begin
  10215. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10216. end;
  10217. procedure TOCMP1_OC1CON.setOCM1; inline;
  10218. begin
  10219. pTDefRegMap(@Self)^.&set := $00000002;
  10220. end;
  10221. procedure TOCMP1_OC1CON.clearOCM1; inline;
  10222. begin
  10223. pTDefRegMap(@Self)^.clr := $00000002;
  10224. end;
  10225. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  10226. begin
  10227. if thebits = 0 then
  10228. pTDefRegMap(@Self)^.clr := $00000002
  10229. else
  10230. pTDefRegMap(@Self)^.&set := $00000002;
  10231. end;
  10232. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  10233. begin
  10234. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10235. end;
  10236. procedure TOCMP1_OC1CON.setOCM2; inline;
  10237. begin
  10238. pTDefRegMap(@Self)^.&set := $00000004;
  10239. end;
  10240. procedure TOCMP1_OC1CON.clearOCM2; inline;
  10241. begin
  10242. pTDefRegMap(@Self)^.clr := $00000004;
  10243. end;
  10244. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  10245. begin
  10246. if thebits = 0 then
  10247. pTDefRegMap(@Self)^.clr := $00000004
  10248. else
  10249. pTDefRegMap(@Self)^.&set := $00000004;
  10250. end;
  10251. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  10252. begin
  10253. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10254. end;
  10255. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  10256. begin
  10257. pTDefRegMap(@Self)^.&set := $00002000;
  10258. end;
  10259. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  10260. begin
  10261. pTDefRegMap(@Self)^.clr := $00002000;
  10262. end;
  10263. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  10264. begin
  10265. if thebits = 0 then
  10266. pTDefRegMap(@Self)^.clr := $00002000
  10267. else
  10268. pTDefRegMap(@Self)^.&set := $00002000;
  10269. end;
  10270. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  10271. begin
  10272. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10273. end;
  10274. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  10275. begin
  10276. pTDefRegMap(@Self)^.val := thebits;
  10277. end;
  10278. function TOCMP1_OC1CON.getw : TBits_32; inline;
  10279. begin
  10280. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10281. end;
  10282. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  10283. begin
  10284. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10285. end;
  10286. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  10287. begin
  10288. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10289. end;
  10290. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  10291. begin
  10292. pTDefRegMap(@Self)^.&set := $00000008;
  10293. end;
  10294. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  10295. begin
  10296. pTDefRegMap(@Self)^.clr := $00000008;
  10297. end;
  10298. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  10299. begin
  10300. if thebits = 0 then
  10301. pTDefRegMap(@Self)^.clr := $00000008
  10302. else
  10303. pTDefRegMap(@Self)^.&set := $00000008;
  10304. end;
  10305. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  10306. begin
  10307. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10308. end;
  10309. procedure TOCMP2_OC2CON.setOCFLT; inline;
  10310. begin
  10311. pTDefRegMap(@Self)^.&set := $00000010;
  10312. end;
  10313. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  10314. begin
  10315. pTDefRegMap(@Self)^.clr := $00000010;
  10316. end;
  10317. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  10318. begin
  10319. if thebits = 0 then
  10320. pTDefRegMap(@Self)^.clr := $00000010
  10321. else
  10322. pTDefRegMap(@Self)^.&set := $00000010;
  10323. end;
  10324. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  10325. begin
  10326. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10327. end;
  10328. procedure TOCMP2_OC2CON.setOC32; inline;
  10329. begin
  10330. pTDefRegMap(@Self)^.&set := $00000020;
  10331. end;
  10332. procedure TOCMP2_OC2CON.clearOC32; inline;
  10333. begin
  10334. pTDefRegMap(@Self)^.clr := $00000020;
  10335. end;
  10336. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  10337. begin
  10338. if thebits = 0 then
  10339. pTDefRegMap(@Self)^.clr := $00000020
  10340. else
  10341. pTDefRegMap(@Self)^.&set := $00000020;
  10342. end;
  10343. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  10344. begin
  10345. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10346. end;
  10347. procedure TOCMP2_OC2CON.setSIDL; inline;
  10348. begin
  10349. pTDefRegMap(@Self)^.&set := $00002000;
  10350. end;
  10351. procedure TOCMP2_OC2CON.clearSIDL; inline;
  10352. begin
  10353. pTDefRegMap(@Self)^.clr := $00002000;
  10354. end;
  10355. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  10356. begin
  10357. if thebits = 0 then
  10358. pTDefRegMap(@Self)^.clr := $00002000
  10359. else
  10360. pTDefRegMap(@Self)^.&set := $00002000;
  10361. end;
  10362. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  10363. begin
  10364. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10365. end;
  10366. procedure TOCMP2_OC2CON.setON; inline;
  10367. begin
  10368. pTDefRegMap(@Self)^.&set := $00008000;
  10369. end;
  10370. procedure TOCMP2_OC2CON.clearON; inline;
  10371. begin
  10372. pTDefRegMap(@Self)^.clr := $00008000;
  10373. end;
  10374. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  10375. begin
  10376. if thebits = 0 then
  10377. pTDefRegMap(@Self)^.clr := $00008000
  10378. else
  10379. pTDefRegMap(@Self)^.&set := $00008000;
  10380. end;
  10381. function TOCMP2_OC2CON.getON : TBits_1; inline;
  10382. begin
  10383. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10384. end;
  10385. procedure TOCMP2_OC2CON.setOCM0; inline;
  10386. begin
  10387. pTDefRegMap(@Self)^.&set := $00000001;
  10388. end;
  10389. procedure TOCMP2_OC2CON.clearOCM0; inline;
  10390. begin
  10391. pTDefRegMap(@Self)^.clr := $00000001;
  10392. end;
  10393. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  10394. begin
  10395. if thebits = 0 then
  10396. pTDefRegMap(@Self)^.clr := $00000001
  10397. else
  10398. pTDefRegMap(@Self)^.&set := $00000001;
  10399. end;
  10400. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  10401. begin
  10402. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10403. end;
  10404. procedure TOCMP2_OC2CON.setOCM1; inline;
  10405. begin
  10406. pTDefRegMap(@Self)^.&set := $00000002;
  10407. end;
  10408. procedure TOCMP2_OC2CON.clearOCM1; inline;
  10409. begin
  10410. pTDefRegMap(@Self)^.clr := $00000002;
  10411. end;
  10412. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  10413. begin
  10414. if thebits = 0 then
  10415. pTDefRegMap(@Self)^.clr := $00000002
  10416. else
  10417. pTDefRegMap(@Self)^.&set := $00000002;
  10418. end;
  10419. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  10420. begin
  10421. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10422. end;
  10423. procedure TOCMP2_OC2CON.setOCM2; inline;
  10424. begin
  10425. pTDefRegMap(@Self)^.&set := $00000004;
  10426. end;
  10427. procedure TOCMP2_OC2CON.clearOCM2; inline;
  10428. begin
  10429. pTDefRegMap(@Self)^.clr := $00000004;
  10430. end;
  10431. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  10432. begin
  10433. if thebits = 0 then
  10434. pTDefRegMap(@Self)^.clr := $00000004
  10435. else
  10436. pTDefRegMap(@Self)^.&set := $00000004;
  10437. end;
  10438. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  10439. begin
  10440. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10441. end;
  10442. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  10443. begin
  10444. pTDefRegMap(@Self)^.&set := $00002000;
  10445. end;
  10446. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  10447. begin
  10448. pTDefRegMap(@Self)^.clr := $00002000;
  10449. end;
  10450. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  10451. begin
  10452. if thebits = 0 then
  10453. pTDefRegMap(@Self)^.clr := $00002000
  10454. else
  10455. pTDefRegMap(@Self)^.&set := $00002000;
  10456. end;
  10457. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  10458. begin
  10459. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10460. end;
  10461. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  10462. begin
  10463. pTDefRegMap(@Self)^.val := thebits;
  10464. end;
  10465. function TOCMP2_OC2CON.getw : TBits_32; inline;
  10466. begin
  10467. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10468. end;
  10469. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  10470. begin
  10471. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10472. end;
  10473. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  10474. begin
  10475. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10476. end;
  10477. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  10478. begin
  10479. pTDefRegMap(@Self)^.&set := $00000008;
  10480. end;
  10481. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  10482. begin
  10483. pTDefRegMap(@Self)^.clr := $00000008;
  10484. end;
  10485. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  10486. begin
  10487. if thebits = 0 then
  10488. pTDefRegMap(@Self)^.clr := $00000008
  10489. else
  10490. pTDefRegMap(@Self)^.&set := $00000008;
  10491. end;
  10492. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  10493. begin
  10494. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10495. end;
  10496. procedure TOCMP3_OC3CON.setOCFLT; inline;
  10497. begin
  10498. pTDefRegMap(@Self)^.&set := $00000010;
  10499. end;
  10500. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  10501. begin
  10502. pTDefRegMap(@Self)^.clr := $00000010;
  10503. end;
  10504. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  10505. begin
  10506. if thebits = 0 then
  10507. pTDefRegMap(@Self)^.clr := $00000010
  10508. else
  10509. pTDefRegMap(@Self)^.&set := $00000010;
  10510. end;
  10511. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  10512. begin
  10513. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10514. end;
  10515. procedure TOCMP3_OC3CON.setOC32; inline;
  10516. begin
  10517. pTDefRegMap(@Self)^.&set := $00000020;
  10518. end;
  10519. procedure TOCMP3_OC3CON.clearOC32; inline;
  10520. begin
  10521. pTDefRegMap(@Self)^.clr := $00000020;
  10522. end;
  10523. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  10524. begin
  10525. if thebits = 0 then
  10526. pTDefRegMap(@Self)^.clr := $00000020
  10527. else
  10528. pTDefRegMap(@Self)^.&set := $00000020;
  10529. end;
  10530. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  10531. begin
  10532. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10533. end;
  10534. procedure TOCMP3_OC3CON.setSIDL; inline;
  10535. begin
  10536. pTDefRegMap(@Self)^.&set := $00002000;
  10537. end;
  10538. procedure TOCMP3_OC3CON.clearSIDL; inline;
  10539. begin
  10540. pTDefRegMap(@Self)^.clr := $00002000;
  10541. end;
  10542. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  10543. begin
  10544. if thebits = 0 then
  10545. pTDefRegMap(@Self)^.clr := $00002000
  10546. else
  10547. pTDefRegMap(@Self)^.&set := $00002000;
  10548. end;
  10549. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  10550. begin
  10551. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10552. end;
  10553. procedure TOCMP3_OC3CON.setON; inline;
  10554. begin
  10555. pTDefRegMap(@Self)^.&set := $00008000;
  10556. end;
  10557. procedure TOCMP3_OC3CON.clearON; inline;
  10558. begin
  10559. pTDefRegMap(@Self)^.clr := $00008000;
  10560. end;
  10561. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  10562. begin
  10563. if thebits = 0 then
  10564. pTDefRegMap(@Self)^.clr := $00008000
  10565. else
  10566. pTDefRegMap(@Self)^.&set := $00008000;
  10567. end;
  10568. function TOCMP3_OC3CON.getON : TBits_1; inline;
  10569. begin
  10570. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10571. end;
  10572. procedure TOCMP3_OC3CON.setOCM0; inline;
  10573. begin
  10574. pTDefRegMap(@Self)^.&set := $00000001;
  10575. end;
  10576. procedure TOCMP3_OC3CON.clearOCM0; inline;
  10577. begin
  10578. pTDefRegMap(@Self)^.clr := $00000001;
  10579. end;
  10580. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  10581. begin
  10582. if thebits = 0 then
  10583. pTDefRegMap(@Self)^.clr := $00000001
  10584. else
  10585. pTDefRegMap(@Self)^.&set := $00000001;
  10586. end;
  10587. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  10588. begin
  10589. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10590. end;
  10591. procedure TOCMP3_OC3CON.setOCM1; inline;
  10592. begin
  10593. pTDefRegMap(@Self)^.&set := $00000002;
  10594. end;
  10595. procedure TOCMP3_OC3CON.clearOCM1; inline;
  10596. begin
  10597. pTDefRegMap(@Self)^.clr := $00000002;
  10598. end;
  10599. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  10600. begin
  10601. if thebits = 0 then
  10602. pTDefRegMap(@Self)^.clr := $00000002
  10603. else
  10604. pTDefRegMap(@Self)^.&set := $00000002;
  10605. end;
  10606. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  10607. begin
  10608. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10609. end;
  10610. procedure TOCMP3_OC3CON.setOCM2; inline;
  10611. begin
  10612. pTDefRegMap(@Self)^.&set := $00000004;
  10613. end;
  10614. procedure TOCMP3_OC3CON.clearOCM2; inline;
  10615. begin
  10616. pTDefRegMap(@Self)^.clr := $00000004;
  10617. end;
  10618. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  10619. begin
  10620. if thebits = 0 then
  10621. pTDefRegMap(@Self)^.clr := $00000004
  10622. else
  10623. pTDefRegMap(@Self)^.&set := $00000004;
  10624. end;
  10625. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  10626. begin
  10627. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10628. end;
  10629. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  10630. begin
  10631. pTDefRegMap(@Self)^.&set := $00002000;
  10632. end;
  10633. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  10634. begin
  10635. pTDefRegMap(@Self)^.clr := $00002000;
  10636. end;
  10637. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  10638. begin
  10639. if thebits = 0 then
  10640. pTDefRegMap(@Self)^.clr := $00002000
  10641. else
  10642. pTDefRegMap(@Self)^.&set := $00002000;
  10643. end;
  10644. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  10645. begin
  10646. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10647. end;
  10648. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  10649. begin
  10650. pTDefRegMap(@Self)^.val := thebits;
  10651. end;
  10652. function TOCMP3_OC3CON.getw : TBits_32; inline;
  10653. begin
  10654. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10655. end;
  10656. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  10657. begin
  10658. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10659. end;
  10660. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  10661. begin
  10662. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10663. end;
  10664. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  10665. begin
  10666. pTDefRegMap(@Self)^.&set := $00000008;
  10667. end;
  10668. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  10669. begin
  10670. pTDefRegMap(@Self)^.clr := $00000008;
  10671. end;
  10672. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  10673. begin
  10674. if thebits = 0 then
  10675. pTDefRegMap(@Self)^.clr := $00000008
  10676. else
  10677. pTDefRegMap(@Self)^.&set := $00000008;
  10678. end;
  10679. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  10680. begin
  10681. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10682. end;
  10683. procedure TOCMP4_OC4CON.setOCFLT; inline;
  10684. begin
  10685. pTDefRegMap(@Self)^.&set := $00000010;
  10686. end;
  10687. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  10688. begin
  10689. pTDefRegMap(@Self)^.clr := $00000010;
  10690. end;
  10691. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  10692. begin
  10693. if thebits = 0 then
  10694. pTDefRegMap(@Self)^.clr := $00000010
  10695. else
  10696. pTDefRegMap(@Self)^.&set := $00000010;
  10697. end;
  10698. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  10699. begin
  10700. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10701. end;
  10702. procedure TOCMP4_OC4CON.setOC32; inline;
  10703. begin
  10704. pTDefRegMap(@Self)^.&set := $00000020;
  10705. end;
  10706. procedure TOCMP4_OC4CON.clearOC32; inline;
  10707. begin
  10708. pTDefRegMap(@Self)^.clr := $00000020;
  10709. end;
  10710. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  10711. begin
  10712. if thebits = 0 then
  10713. pTDefRegMap(@Self)^.clr := $00000020
  10714. else
  10715. pTDefRegMap(@Self)^.&set := $00000020;
  10716. end;
  10717. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  10718. begin
  10719. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10720. end;
  10721. procedure TOCMP4_OC4CON.setSIDL; inline;
  10722. begin
  10723. pTDefRegMap(@Self)^.&set := $00002000;
  10724. end;
  10725. procedure TOCMP4_OC4CON.clearSIDL; inline;
  10726. begin
  10727. pTDefRegMap(@Self)^.clr := $00002000;
  10728. end;
  10729. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  10730. begin
  10731. if thebits = 0 then
  10732. pTDefRegMap(@Self)^.clr := $00002000
  10733. else
  10734. pTDefRegMap(@Self)^.&set := $00002000;
  10735. end;
  10736. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  10737. begin
  10738. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10739. end;
  10740. procedure TOCMP4_OC4CON.setON; inline;
  10741. begin
  10742. pTDefRegMap(@Self)^.&set := $00008000;
  10743. end;
  10744. procedure TOCMP4_OC4CON.clearON; inline;
  10745. begin
  10746. pTDefRegMap(@Self)^.clr := $00008000;
  10747. end;
  10748. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  10749. begin
  10750. if thebits = 0 then
  10751. pTDefRegMap(@Self)^.clr := $00008000
  10752. else
  10753. pTDefRegMap(@Self)^.&set := $00008000;
  10754. end;
  10755. function TOCMP4_OC4CON.getON : TBits_1; inline;
  10756. begin
  10757. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10758. end;
  10759. procedure TOCMP4_OC4CON.setOCM0; inline;
  10760. begin
  10761. pTDefRegMap(@Self)^.&set := $00000001;
  10762. end;
  10763. procedure TOCMP4_OC4CON.clearOCM0; inline;
  10764. begin
  10765. pTDefRegMap(@Self)^.clr := $00000001;
  10766. end;
  10767. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  10768. begin
  10769. if thebits = 0 then
  10770. pTDefRegMap(@Self)^.clr := $00000001
  10771. else
  10772. pTDefRegMap(@Self)^.&set := $00000001;
  10773. end;
  10774. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  10775. begin
  10776. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10777. end;
  10778. procedure TOCMP4_OC4CON.setOCM1; inline;
  10779. begin
  10780. pTDefRegMap(@Self)^.&set := $00000002;
  10781. end;
  10782. procedure TOCMP4_OC4CON.clearOCM1; inline;
  10783. begin
  10784. pTDefRegMap(@Self)^.clr := $00000002;
  10785. end;
  10786. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  10787. begin
  10788. if thebits = 0 then
  10789. pTDefRegMap(@Self)^.clr := $00000002
  10790. else
  10791. pTDefRegMap(@Self)^.&set := $00000002;
  10792. end;
  10793. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  10794. begin
  10795. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10796. end;
  10797. procedure TOCMP4_OC4CON.setOCM2; inline;
  10798. begin
  10799. pTDefRegMap(@Self)^.&set := $00000004;
  10800. end;
  10801. procedure TOCMP4_OC4CON.clearOCM2; inline;
  10802. begin
  10803. pTDefRegMap(@Self)^.clr := $00000004;
  10804. end;
  10805. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  10806. begin
  10807. if thebits = 0 then
  10808. pTDefRegMap(@Self)^.clr := $00000004
  10809. else
  10810. pTDefRegMap(@Self)^.&set := $00000004;
  10811. end;
  10812. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  10813. begin
  10814. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10815. end;
  10816. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  10817. begin
  10818. pTDefRegMap(@Self)^.&set := $00002000;
  10819. end;
  10820. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  10821. begin
  10822. pTDefRegMap(@Self)^.clr := $00002000;
  10823. end;
  10824. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  10825. begin
  10826. if thebits = 0 then
  10827. pTDefRegMap(@Self)^.clr := $00002000
  10828. else
  10829. pTDefRegMap(@Self)^.&set := $00002000;
  10830. end;
  10831. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  10832. begin
  10833. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10834. end;
  10835. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  10836. begin
  10837. pTDefRegMap(@Self)^.val := thebits;
  10838. end;
  10839. function TOCMP4_OC4CON.getw : TBits_32; inline;
  10840. begin
  10841. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10842. end;
  10843. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  10844. begin
  10845. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10846. end;
  10847. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  10848. begin
  10849. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10850. end;
  10851. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  10852. begin
  10853. pTDefRegMap(@Self)^.&set := $00000008;
  10854. end;
  10855. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  10856. begin
  10857. pTDefRegMap(@Self)^.clr := $00000008;
  10858. end;
  10859. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  10860. begin
  10861. if thebits = 0 then
  10862. pTDefRegMap(@Self)^.clr := $00000008
  10863. else
  10864. pTDefRegMap(@Self)^.&set := $00000008;
  10865. end;
  10866. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  10867. begin
  10868. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10869. end;
  10870. procedure TOCMP5_OC5CON.setOCFLT; inline;
  10871. begin
  10872. pTDefRegMap(@Self)^.&set := $00000010;
  10873. end;
  10874. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  10875. begin
  10876. pTDefRegMap(@Self)^.clr := $00000010;
  10877. end;
  10878. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  10879. begin
  10880. if thebits = 0 then
  10881. pTDefRegMap(@Self)^.clr := $00000010
  10882. else
  10883. pTDefRegMap(@Self)^.&set := $00000010;
  10884. end;
  10885. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  10886. begin
  10887. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10888. end;
  10889. procedure TOCMP5_OC5CON.setOC32; inline;
  10890. begin
  10891. pTDefRegMap(@Self)^.&set := $00000020;
  10892. end;
  10893. procedure TOCMP5_OC5CON.clearOC32; inline;
  10894. begin
  10895. pTDefRegMap(@Self)^.clr := $00000020;
  10896. end;
  10897. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  10898. begin
  10899. if thebits = 0 then
  10900. pTDefRegMap(@Self)^.clr := $00000020
  10901. else
  10902. pTDefRegMap(@Self)^.&set := $00000020;
  10903. end;
  10904. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  10905. begin
  10906. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10907. end;
  10908. procedure TOCMP5_OC5CON.setSIDL; inline;
  10909. begin
  10910. pTDefRegMap(@Self)^.&set := $00002000;
  10911. end;
  10912. procedure TOCMP5_OC5CON.clearSIDL; inline;
  10913. begin
  10914. pTDefRegMap(@Self)^.clr := $00002000;
  10915. end;
  10916. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  10917. begin
  10918. if thebits = 0 then
  10919. pTDefRegMap(@Self)^.clr := $00002000
  10920. else
  10921. pTDefRegMap(@Self)^.&set := $00002000;
  10922. end;
  10923. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  10924. begin
  10925. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10926. end;
  10927. procedure TOCMP5_OC5CON.setON; inline;
  10928. begin
  10929. pTDefRegMap(@Self)^.&set := $00008000;
  10930. end;
  10931. procedure TOCMP5_OC5CON.clearON; inline;
  10932. begin
  10933. pTDefRegMap(@Self)^.clr := $00008000;
  10934. end;
  10935. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  10936. begin
  10937. if thebits = 0 then
  10938. pTDefRegMap(@Self)^.clr := $00008000
  10939. else
  10940. pTDefRegMap(@Self)^.&set := $00008000;
  10941. end;
  10942. function TOCMP5_OC5CON.getON : TBits_1; inline;
  10943. begin
  10944. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10945. end;
  10946. procedure TOCMP5_OC5CON.setOCM0; inline;
  10947. begin
  10948. pTDefRegMap(@Self)^.&set := $00000001;
  10949. end;
  10950. procedure TOCMP5_OC5CON.clearOCM0; inline;
  10951. begin
  10952. pTDefRegMap(@Self)^.clr := $00000001;
  10953. end;
  10954. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  10955. begin
  10956. if thebits = 0 then
  10957. pTDefRegMap(@Self)^.clr := $00000001
  10958. else
  10959. pTDefRegMap(@Self)^.&set := $00000001;
  10960. end;
  10961. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  10962. begin
  10963. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10964. end;
  10965. procedure TOCMP5_OC5CON.setOCM1; inline;
  10966. begin
  10967. pTDefRegMap(@Self)^.&set := $00000002;
  10968. end;
  10969. procedure TOCMP5_OC5CON.clearOCM1; inline;
  10970. begin
  10971. pTDefRegMap(@Self)^.clr := $00000002;
  10972. end;
  10973. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  10974. begin
  10975. if thebits = 0 then
  10976. pTDefRegMap(@Self)^.clr := $00000002
  10977. else
  10978. pTDefRegMap(@Self)^.&set := $00000002;
  10979. end;
  10980. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  10981. begin
  10982. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10983. end;
  10984. procedure TOCMP5_OC5CON.setOCM2; inline;
  10985. begin
  10986. pTDefRegMap(@Self)^.&set := $00000004;
  10987. end;
  10988. procedure TOCMP5_OC5CON.clearOCM2; inline;
  10989. begin
  10990. pTDefRegMap(@Self)^.clr := $00000004;
  10991. end;
  10992. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  10993. begin
  10994. if thebits = 0 then
  10995. pTDefRegMap(@Self)^.clr := $00000004
  10996. else
  10997. pTDefRegMap(@Self)^.&set := $00000004;
  10998. end;
  10999. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  11000. begin
  11001. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11002. end;
  11003. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  11004. begin
  11005. pTDefRegMap(@Self)^.&set := $00002000;
  11006. end;
  11007. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  11008. begin
  11009. pTDefRegMap(@Self)^.clr := $00002000;
  11010. end;
  11011. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  11012. begin
  11013. if thebits = 0 then
  11014. pTDefRegMap(@Self)^.clr := $00002000
  11015. else
  11016. pTDefRegMap(@Self)^.&set := $00002000;
  11017. end;
  11018. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  11019. begin
  11020. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11021. end;
  11022. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  11023. begin
  11024. pTDefRegMap(@Self)^.val := thebits;
  11025. end;
  11026. function TOCMP5_OC5CON.getw : TBits_32; inline;
  11027. begin
  11028. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11029. end;
  11030. procedure TI2C1_I2C1CON.setSEN; inline;
  11031. begin
  11032. pTDefRegMap(@Self)^.&set := $00000001;
  11033. end;
  11034. procedure TI2C1_I2C1CON.clearSEN; inline;
  11035. begin
  11036. pTDefRegMap(@Self)^.clr := $00000001;
  11037. end;
  11038. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  11039. begin
  11040. if thebits = 0 then
  11041. pTDefRegMap(@Self)^.clr := $00000001
  11042. else
  11043. pTDefRegMap(@Self)^.&set := $00000001;
  11044. end;
  11045. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  11046. begin
  11047. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11048. end;
  11049. procedure TI2C1_I2C1CON.setRSEN; inline;
  11050. begin
  11051. pTDefRegMap(@Self)^.&set := $00000002;
  11052. end;
  11053. procedure TI2C1_I2C1CON.clearRSEN; inline;
  11054. begin
  11055. pTDefRegMap(@Self)^.clr := $00000002;
  11056. end;
  11057. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  11058. begin
  11059. if thebits = 0 then
  11060. pTDefRegMap(@Self)^.clr := $00000002
  11061. else
  11062. pTDefRegMap(@Self)^.&set := $00000002;
  11063. end;
  11064. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  11065. begin
  11066. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11067. end;
  11068. procedure TI2C1_I2C1CON.setPEN; inline;
  11069. begin
  11070. pTDefRegMap(@Self)^.&set := $00000004;
  11071. end;
  11072. procedure TI2C1_I2C1CON.clearPEN; inline;
  11073. begin
  11074. pTDefRegMap(@Self)^.clr := $00000004;
  11075. end;
  11076. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  11077. begin
  11078. if thebits = 0 then
  11079. pTDefRegMap(@Self)^.clr := $00000004
  11080. else
  11081. pTDefRegMap(@Self)^.&set := $00000004;
  11082. end;
  11083. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  11084. begin
  11085. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11086. end;
  11087. procedure TI2C1_I2C1CON.setRCEN; inline;
  11088. begin
  11089. pTDefRegMap(@Self)^.&set := $00000008;
  11090. end;
  11091. procedure TI2C1_I2C1CON.clearRCEN; inline;
  11092. begin
  11093. pTDefRegMap(@Self)^.clr := $00000008;
  11094. end;
  11095. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  11096. begin
  11097. if thebits = 0 then
  11098. pTDefRegMap(@Self)^.clr := $00000008
  11099. else
  11100. pTDefRegMap(@Self)^.&set := $00000008;
  11101. end;
  11102. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  11103. begin
  11104. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11105. end;
  11106. procedure TI2C1_I2C1CON.setACKEN; inline;
  11107. begin
  11108. pTDefRegMap(@Self)^.&set := $00000010;
  11109. end;
  11110. procedure TI2C1_I2C1CON.clearACKEN; inline;
  11111. begin
  11112. pTDefRegMap(@Self)^.clr := $00000010;
  11113. end;
  11114. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  11115. begin
  11116. if thebits = 0 then
  11117. pTDefRegMap(@Self)^.clr := $00000010
  11118. else
  11119. pTDefRegMap(@Self)^.&set := $00000010;
  11120. end;
  11121. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  11122. begin
  11123. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11124. end;
  11125. procedure TI2C1_I2C1CON.setACKDT; inline;
  11126. begin
  11127. pTDefRegMap(@Self)^.&set := $00000020;
  11128. end;
  11129. procedure TI2C1_I2C1CON.clearACKDT; inline;
  11130. begin
  11131. pTDefRegMap(@Self)^.clr := $00000020;
  11132. end;
  11133. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  11134. begin
  11135. if thebits = 0 then
  11136. pTDefRegMap(@Self)^.clr := $00000020
  11137. else
  11138. pTDefRegMap(@Self)^.&set := $00000020;
  11139. end;
  11140. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  11141. begin
  11142. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11143. end;
  11144. procedure TI2C1_I2C1CON.setSTREN; inline;
  11145. begin
  11146. pTDefRegMap(@Self)^.&set := $00000040;
  11147. end;
  11148. procedure TI2C1_I2C1CON.clearSTREN; inline;
  11149. begin
  11150. pTDefRegMap(@Self)^.clr := $00000040;
  11151. end;
  11152. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  11153. begin
  11154. if thebits = 0 then
  11155. pTDefRegMap(@Self)^.clr := $00000040
  11156. else
  11157. pTDefRegMap(@Self)^.&set := $00000040;
  11158. end;
  11159. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  11160. begin
  11161. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11162. end;
  11163. procedure TI2C1_I2C1CON.setGCEN; inline;
  11164. begin
  11165. pTDefRegMap(@Self)^.&set := $00000080;
  11166. end;
  11167. procedure TI2C1_I2C1CON.clearGCEN; inline;
  11168. begin
  11169. pTDefRegMap(@Self)^.clr := $00000080;
  11170. end;
  11171. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  11172. begin
  11173. if thebits = 0 then
  11174. pTDefRegMap(@Self)^.clr := $00000080
  11175. else
  11176. pTDefRegMap(@Self)^.&set := $00000080;
  11177. end;
  11178. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  11179. begin
  11180. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11181. end;
  11182. procedure TI2C1_I2C1CON.setSMEN; inline;
  11183. begin
  11184. pTDefRegMap(@Self)^.&set := $00000100;
  11185. end;
  11186. procedure TI2C1_I2C1CON.clearSMEN; inline;
  11187. begin
  11188. pTDefRegMap(@Self)^.clr := $00000100;
  11189. end;
  11190. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  11191. begin
  11192. if thebits = 0 then
  11193. pTDefRegMap(@Self)^.clr := $00000100
  11194. else
  11195. pTDefRegMap(@Self)^.&set := $00000100;
  11196. end;
  11197. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  11198. begin
  11199. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11200. end;
  11201. procedure TI2C1_I2C1CON.setDISSLW; inline;
  11202. begin
  11203. pTDefRegMap(@Self)^.&set := $00000200;
  11204. end;
  11205. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  11206. begin
  11207. pTDefRegMap(@Self)^.clr := $00000200;
  11208. end;
  11209. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  11210. begin
  11211. if thebits = 0 then
  11212. pTDefRegMap(@Self)^.clr := $00000200
  11213. else
  11214. pTDefRegMap(@Self)^.&set := $00000200;
  11215. end;
  11216. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  11217. begin
  11218. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11219. end;
  11220. procedure TI2C1_I2C1CON.setA10M; inline;
  11221. begin
  11222. pTDefRegMap(@Self)^.&set := $00000400;
  11223. end;
  11224. procedure TI2C1_I2C1CON.clearA10M; inline;
  11225. begin
  11226. pTDefRegMap(@Self)^.clr := $00000400;
  11227. end;
  11228. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  11229. begin
  11230. if thebits = 0 then
  11231. pTDefRegMap(@Self)^.clr := $00000400
  11232. else
  11233. pTDefRegMap(@Self)^.&set := $00000400;
  11234. end;
  11235. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  11236. begin
  11237. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  11238. end;
  11239. procedure TI2C1_I2C1CON.setSTRICT; inline;
  11240. begin
  11241. pTDefRegMap(@Self)^.&set := $00000800;
  11242. end;
  11243. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  11244. begin
  11245. pTDefRegMap(@Self)^.clr := $00000800;
  11246. end;
  11247. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  11248. begin
  11249. if thebits = 0 then
  11250. pTDefRegMap(@Self)^.clr := $00000800
  11251. else
  11252. pTDefRegMap(@Self)^.&set := $00000800;
  11253. end;
  11254. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  11255. begin
  11256. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11257. end;
  11258. procedure TI2C1_I2C1CON.setSCLREL; inline;
  11259. begin
  11260. pTDefRegMap(@Self)^.&set := $00001000;
  11261. end;
  11262. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  11263. begin
  11264. pTDefRegMap(@Self)^.clr := $00001000;
  11265. end;
  11266. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  11267. begin
  11268. if thebits = 0 then
  11269. pTDefRegMap(@Self)^.clr := $00001000
  11270. else
  11271. pTDefRegMap(@Self)^.&set := $00001000;
  11272. end;
  11273. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  11274. begin
  11275. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  11276. end;
  11277. procedure TI2C1_I2C1CON.setSIDL; inline;
  11278. begin
  11279. pTDefRegMap(@Self)^.&set := $00002000;
  11280. end;
  11281. procedure TI2C1_I2C1CON.clearSIDL; inline;
  11282. begin
  11283. pTDefRegMap(@Self)^.clr := $00002000;
  11284. end;
  11285. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  11286. begin
  11287. if thebits = 0 then
  11288. pTDefRegMap(@Self)^.clr := $00002000
  11289. else
  11290. pTDefRegMap(@Self)^.&set := $00002000;
  11291. end;
  11292. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  11293. begin
  11294. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11295. end;
  11296. procedure TI2C1_I2C1CON.setON; inline;
  11297. begin
  11298. pTDefRegMap(@Self)^.&set := $00008000;
  11299. end;
  11300. procedure TI2C1_I2C1CON.clearON; inline;
  11301. begin
  11302. pTDefRegMap(@Self)^.clr := $00008000;
  11303. end;
  11304. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  11305. begin
  11306. if thebits = 0 then
  11307. pTDefRegMap(@Self)^.clr := $00008000
  11308. else
  11309. pTDefRegMap(@Self)^.&set := $00008000;
  11310. end;
  11311. function TI2C1_I2C1CON.getON : TBits_1; inline;
  11312. begin
  11313. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11314. end;
  11315. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  11316. begin
  11317. pTDefRegMap(@Self)^.&set := $00000800;
  11318. end;
  11319. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  11320. begin
  11321. pTDefRegMap(@Self)^.clr := $00000800;
  11322. end;
  11323. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  11324. begin
  11325. if thebits = 0 then
  11326. pTDefRegMap(@Self)^.clr := $00000800
  11327. else
  11328. pTDefRegMap(@Self)^.&set := $00000800;
  11329. end;
  11330. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  11331. begin
  11332. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11333. end;
  11334. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  11335. begin
  11336. pTDefRegMap(@Self)^.&set := $00002000;
  11337. end;
  11338. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  11339. begin
  11340. pTDefRegMap(@Self)^.clr := $00002000;
  11341. end;
  11342. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  11343. begin
  11344. if thebits = 0 then
  11345. pTDefRegMap(@Self)^.clr := $00002000
  11346. else
  11347. pTDefRegMap(@Self)^.&set := $00002000;
  11348. end;
  11349. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  11350. begin
  11351. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11352. end;
  11353. procedure TI2C1_I2C1CON.setI2CEN; inline;
  11354. begin
  11355. pTDefRegMap(@Self)^.&set := $00008000;
  11356. end;
  11357. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  11358. begin
  11359. pTDefRegMap(@Self)^.clr := $00008000;
  11360. end;
  11361. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  11362. begin
  11363. if thebits = 0 then
  11364. pTDefRegMap(@Self)^.clr := $00008000
  11365. else
  11366. pTDefRegMap(@Self)^.&set := $00008000;
  11367. end;
  11368. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  11369. begin
  11370. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11371. end;
  11372. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  11373. begin
  11374. pTDefRegMap(@Self)^.val := thebits;
  11375. end;
  11376. function TI2C1_I2C1CON.getw : TBits_32; inline;
  11377. begin
  11378. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11379. end;
  11380. procedure TI2C1_I2C1STAT.setTBF; inline;
  11381. begin
  11382. pTDefRegMap(@Self)^.&set := $00000001;
  11383. end;
  11384. procedure TI2C1_I2C1STAT.clearTBF; inline;
  11385. begin
  11386. pTDefRegMap(@Self)^.clr := $00000001;
  11387. end;
  11388. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  11389. begin
  11390. if thebits = 0 then
  11391. pTDefRegMap(@Self)^.clr := $00000001
  11392. else
  11393. pTDefRegMap(@Self)^.&set := $00000001;
  11394. end;
  11395. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  11396. begin
  11397. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11398. end;
  11399. procedure TI2C1_I2C1STAT.setRBF; inline;
  11400. begin
  11401. pTDefRegMap(@Self)^.&set := $00000002;
  11402. end;
  11403. procedure TI2C1_I2C1STAT.clearRBF; inline;
  11404. begin
  11405. pTDefRegMap(@Self)^.clr := $00000002;
  11406. end;
  11407. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  11408. begin
  11409. if thebits = 0 then
  11410. pTDefRegMap(@Self)^.clr := $00000002
  11411. else
  11412. pTDefRegMap(@Self)^.&set := $00000002;
  11413. end;
  11414. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  11415. begin
  11416. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11417. end;
  11418. procedure TI2C1_I2C1STAT.setR_W; inline;
  11419. begin
  11420. pTDefRegMap(@Self)^.&set := $00000004;
  11421. end;
  11422. procedure TI2C1_I2C1STAT.clearR_W; inline;
  11423. begin
  11424. pTDefRegMap(@Self)^.clr := $00000004;
  11425. end;
  11426. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  11427. begin
  11428. if thebits = 0 then
  11429. pTDefRegMap(@Self)^.clr := $00000004
  11430. else
  11431. pTDefRegMap(@Self)^.&set := $00000004;
  11432. end;
  11433. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  11434. begin
  11435. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11436. end;
  11437. procedure TI2C1_I2C1STAT.setS; inline;
  11438. begin
  11439. pTDefRegMap(@Self)^.&set := $00000008;
  11440. end;
  11441. procedure TI2C1_I2C1STAT.clearS; inline;
  11442. begin
  11443. pTDefRegMap(@Self)^.clr := $00000008;
  11444. end;
  11445. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  11446. begin
  11447. if thebits = 0 then
  11448. pTDefRegMap(@Self)^.clr := $00000008
  11449. else
  11450. pTDefRegMap(@Self)^.&set := $00000008;
  11451. end;
  11452. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  11453. begin
  11454. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11455. end;
  11456. procedure TI2C1_I2C1STAT.setP; inline;
  11457. begin
  11458. pTDefRegMap(@Self)^.&set := $00000010;
  11459. end;
  11460. procedure TI2C1_I2C1STAT.clearP; inline;
  11461. begin
  11462. pTDefRegMap(@Self)^.clr := $00000010;
  11463. end;
  11464. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  11465. begin
  11466. if thebits = 0 then
  11467. pTDefRegMap(@Self)^.clr := $00000010
  11468. else
  11469. pTDefRegMap(@Self)^.&set := $00000010;
  11470. end;
  11471. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  11472. begin
  11473. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11474. end;
  11475. procedure TI2C1_I2C1STAT.setD_A; inline;
  11476. begin
  11477. pTDefRegMap(@Self)^.&set := $00000020;
  11478. end;
  11479. procedure TI2C1_I2C1STAT.clearD_A; inline;
  11480. begin
  11481. pTDefRegMap(@Self)^.clr := $00000020;
  11482. end;
  11483. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  11484. begin
  11485. if thebits = 0 then
  11486. pTDefRegMap(@Self)^.clr := $00000020
  11487. else
  11488. pTDefRegMap(@Self)^.&set := $00000020;
  11489. end;
  11490. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  11491. begin
  11492. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11493. end;
  11494. procedure TI2C1_I2C1STAT.setI2COV; inline;
  11495. begin
  11496. pTDefRegMap(@Self)^.&set := $00000040;
  11497. end;
  11498. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  11499. begin
  11500. pTDefRegMap(@Self)^.clr := $00000040;
  11501. end;
  11502. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  11503. begin
  11504. if thebits = 0 then
  11505. pTDefRegMap(@Self)^.clr := $00000040
  11506. else
  11507. pTDefRegMap(@Self)^.&set := $00000040;
  11508. end;
  11509. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  11510. begin
  11511. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11512. end;
  11513. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  11514. begin
  11515. pTDefRegMap(@Self)^.&set := $00000080;
  11516. end;
  11517. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  11518. begin
  11519. pTDefRegMap(@Self)^.clr := $00000080;
  11520. end;
  11521. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  11522. begin
  11523. if thebits = 0 then
  11524. pTDefRegMap(@Self)^.clr := $00000080
  11525. else
  11526. pTDefRegMap(@Self)^.&set := $00000080;
  11527. end;
  11528. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  11529. begin
  11530. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11531. end;
  11532. procedure TI2C1_I2C1STAT.setADD10; inline;
  11533. begin
  11534. pTDefRegMap(@Self)^.&set := $00000100;
  11535. end;
  11536. procedure TI2C1_I2C1STAT.clearADD10; inline;
  11537. begin
  11538. pTDefRegMap(@Self)^.clr := $00000100;
  11539. end;
  11540. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  11541. begin
  11542. if thebits = 0 then
  11543. pTDefRegMap(@Self)^.clr := $00000100
  11544. else
  11545. pTDefRegMap(@Self)^.&set := $00000100;
  11546. end;
  11547. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  11548. begin
  11549. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11550. end;
  11551. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  11552. begin
  11553. pTDefRegMap(@Self)^.&set := $00000200;
  11554. end;
  11555. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  11556. begin
  11557. pTDefRegMap(@Self)^.clr := $00000200;
  11558. end;
  11559. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  11560. begin
  11561. if thebits = 0 then
  11562. pTDefRegMap(@Self)^.clr := $00000200
  11563. else
  11564. pTDefRegMap(@Self)^.&set := $00000200;
  11565. end;
  11566. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  11567. begin
  11568. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11569. end;
  11570. procedure TI2C1_I2C1STAT.setBCL; inline;
  11571. begin
  11572. pTDefRegMap(@Self)^.&set := $00000400;
  11573. end;
  11574. procedure TI2C1_I2C1STAT.clearBCL; inline;
  11575. begin
  11576. pTDefRegMap(@Self)^.clr := $00000400;
  11577. end;
  11578. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  11579. begin
  11580. if thebits = 0 then
  11581. pTDefRegMap(@Self)^.clr := $00000400
  11582. else
  11583. pTDefRegMap(@Self)^.&set := $00000400;
  11584. end;
  11585. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  11586. begin
  11587. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  11588. end;
  11589. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  11590. begin
  11591. pTDefRegMap(@Self)^.&set := $00004000;
  11592. end;
  11593. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  11594. begin
  11595. pTDefRegMap(@Self)^.clr := $00004000;
  11596. end;
  11597. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  11598. begin
  11599. if thebits = 0 then
  11600. pTDefRegMap(@Self)^.clr := $00004000
  11601. else
  11602. pTDefRegMap(@Self)^.&set := $00004000;
  11603. end;
  11604. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  11605. begin
  11606. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  11607. end;
  11608. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  11609. begin
  11610. pTDefRegMap(@Self)^.&set := $00008000;
  11611. end;
  11612. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  11613. begin
  11614. pTDefRegMap(@Self)^.clr := $00008000;
  11615. end;
  11616. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  11617. begin
  11618. if thebits = 0 then
  11619. pTDefRegMap(@Self)^.clr := $00008000
  11620. else
  11621. pTDefRegMap(@Self)^.&set := $00008000;
  11622. end;
  11623. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  11624. begin
  11625. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11626. end;
  11627. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  11628. begin
  11629. pTDefRegMap(@Self)^.&set := $00000040;
  11630. end;
  11631. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  11632. begin
  11633. pTDefRegMap(@Self)^.clr := $00000040;
  11634. end;
  11635. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  11636. begin
  11637. if thebits = 0 then
  11638. pTDefRegMap(@Self)^.clr := $00000040
  11639. else
  11640. pTDefRegMap(@Self)^.&set := $00000040;
  11641. end;
  11642. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  11643. begin
  11644. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11645. end;
  11646. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  11647. begin
  11648. pTDefRegMap(@Self)^.val := thebits;
  11649. end;
  11650. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  11651. begin
  11652. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11653. end;
  11654. procedure TI2C2_I2C2CON.setSEN; inline;
  11655. begin
  11656. pTDefRegMap(@Self)^.&set := $00000001;
  11657. end;
  11658. procedure TI2C2_I2C2CON.clearSEN; inline;
  11659. begin
  11660. pTDefRegMap(@Self)^.clr := $00000001;
  11661. end;
  11662. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  11663. begin
  11664. if thebits = 0 then
  11665. pTDefRegMap(@Self)^.clr := $00000001
  11666. else
  11667. pTDefRegMap(@Self)^.&set := $00000001;
  11668. end;
  11669. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  11670. begin
  11671. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11672. end;
  11673. procedure TI2C2_I2C2CON.setRSEN; inline;
  11674. begin
  11675. pTDefRegMap(@Self)^.&set := $00000002;
  11676. end;
  11677. procedure TI2C2_I2C2CON.clearRSEN; inline;
  11678. begin
  11679. pTDefRegMap(@Self)^.clr := $00000002;
  11680. end;
  11681. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  11682. begin
  11683. if thebits = 0 then
  11684. pTDefRegMap(@Self)^.clr := $00000002
  11685. else
  11686. pTDefRegMap(@Self)^.&set := $00000002;
  11687. end;
  11688. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  11689. begin
  11690. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11691. end;
  11692. procedure TI2C2_I2C2CON.setPEN; inline;
  11693. begin
  11694. pTDefRegMap(@Self)^.&set := $00000004;
  11695. end;
  11696. procedure TI2C2_I2C2CON.clearPEN; inline;
  11697. begin
  11698. pTDefRegMap(@Self)^.clr := $00000004;
  11699. end;
  11700. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  11701. begin
  11702. if thebits = 0 then
  11703. pTDefRegMap(@Self)^.clr := $00000004
  11704. else
  11705. pTDefRegMap(@Self)^.&set := $00000004;
  11706. end;
  11707. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  11708. begin
  11709. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11710. end;
  11711. procedure TI2C2_I2C2CON.setRCEN; inline;
  11712. begin
  11713. pTDefRegMap(@Self)^.&set := $00000008;
  11714. end;
  11715. procedure TI2C2_I2C2CON.clearRCEN; inline;
  11716. begin
  11717. pTDefRegMap(@Self)^.clr := $00000008;
  11718. end;
  11719. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  11720. begin
  11721. if thebits = 0 then
  11722. pTDefRegMap(@Self)^.clr := $00000008
  11723. else
  11724. pTDefRegMap(@Self)^.&set := $00000008;
  11725. end;
  11726. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  11727. begin
  11728. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11729. end;
  11730. procedure TI2C2_I2C2CON.setACKEN; inline;
  11731. begin
  11732. pTDefRegMap(@Self)^.&set := $00000010;
  11733. end;
  11734. procedure TI2C2_I2C2CON.clearACKEN; inline;
  11735. begin
  11736. pTDefRegMap(@Self)^.clr := $00000010;
  11737. end;
  11738. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  11739. begin
  11740. if thebits = 0 then
  11741. pTDefRegMap(@Self)^.clr := $00000010
  11742. else
  11743. pTDefRegMap(@Self)^.&set := $00000010;
  11744. end;
  11745. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  11746. begin
  11747. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11748. end;
  11749. procedure TI2C2_I2C2CON.setACKDT; inline;
  11750. begin
  11751. pTDefRegMap(@Self)^.&set := $00000020;
  11752. end;
  11753. procedure TI2C2_I2C2CON.clearACKDT; inline;
  11754. begin
  11755. pTDefRegMap(@Self)^.clr := $00000020;
  11756. end;
  11757. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  11758. begin
  11759. if thebits = 0 then
  11760. pTDefRegMap(@Self)^.clr := $00000020
  11761. else
  11762. pTDefRegMap(@Self)^.&set := $00000020;
  11763. end;
  11764. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  11765. begin
  11766. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11767. end;
  11768. procedure TI2C2_I2C2CON.setSTREN; inline;
  11769. begin
  11770. pTDefRegMap(@Self)^.&set := $00000040;
  11771. end;
  11772. procedure TI2C2_I2C2CON.clearSTREN; inline;
  11773. begin
  11774. pTDefRegMap(@Self)^.clr := $00000040;
  11775. end;
  11776. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  11777. begin
  11778. if thebits = 0 then
  11779. pTDefRegMap(@Self)^.clr := $00000040
  11780. else
  11781. pTDefRegMap(@Self)^.&set := $00000040;
  11782. end;
  11783. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  11784. begin
  11785. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11786. end;
  11787. procedure TI2C2_I2C2CON.setGCEN; inline;
  11788. begin
  11789. pTDefRegMap(@Self)^.&set := $00000080;
  11790. end;
  11791. procedure TI2C2_I2C2CON.clearGCEN; inline;
  11792. begin
  11793. pTDefRegMap(@Self)^.clr := $00000080;
  11794. end;
  11795. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  11796. begin
  11797. if thebits = 0 then
  11798. pTDefRegMap(@Self)^.clr := $00000080
  11799. else
  11800. pTDefRegMap(@Self)^.&set := $00000080;
  11801. end;
  11802. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  11803. begin
  11804. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11805. end;
  11806. procedure TI2C2_I2C2CON.setSMEN; inline;
  11807. begin
  11808. pTDefRegMap(@Self)^.&set := $00000100;
  11809. end;
  11810. procedure TI2C2_I2C2CON.clearSMEN; inline;
  11811. begin
  11812. pTDefRegMap(@Self)^.clr := $00000100;
  11813. end;
  11814. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  11815. begin
  11816. if thebits = 0 then
  11817. pTDefRegMap(@Self)^.clr := $00000100
  11818. else
  11819. pTDefRegMap(@Self)^.&set := $00000100;
  11820. end;
  11821. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  11822. begin
  11823. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11824. end;
  11825. procedure TI2C2_I2C2CON.setDISSLW; inline;
  11826. begin
  11827. pTDefRegMap(@Self)^.&set := $00000200;
  11828. end;
  11829. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  11830. begin
  11831. pTDefRegMap(@Self)^.clr := $00000200;
  11832. end;
  11833. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  11834. begin
  11835. if thebits = 0 then
  11836. pTDefRegMap(@Self)^.clr := $00000200
  11837. else
  11838. pTDefRegMap(@Self)^.&set := $00000200;
  11839. end;
  11840. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  11841. begin
  11842. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11843. end;
  11844. procedure TI2C2_I2C2CON.setA10M; inline;
  11845. begin
  11846. pTDefRegMap(@Self)^.&set := $00000400;
  11847. end;
  11848. procedure TI2C2_I2C2CON.clearA10M; inline;
  11849. begin
  11850. pTDefRegMap(@Self)^.clr := $00000400;
  11851. end;
  11852. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  11853. begin
  11854. if thebits = 0 then
  11855. pTDefRegMap(@Self)^.clr := $00000400
  11856. else
  11857. pTDefRegMap(@Self)^.&set := $00000400;
  11858. end;
  11859. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  11860. begin
  11861. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  11862. end;
  11863. procedure TI2C2_I2C2CON.setSTRICT; inline;
  11864. begin
  11865. pTDefRegMap(@Self)^.&set := $00000800;
  11866. end;
  11867. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  11868. begin
  11869. pTDefRegMap(@Self)^.clr := $00000800;
  11870. end;
  11871. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  11872. begin
  11873. if thebits = 0 then
  11874. pTDefRegMap(@Self)^.clr := $00000800
  11875. else
  11876. pTDefRegMap(@Self)^.&set := $00000800;
  11877. end;
  11878. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  11879. begin
  11880. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11881. end;
  11882. procedure TI2C2_I2C2CON.setSCLREL; inline;
  11883. begin
  11884. pTDefRegMap(@Self)^.&set := $00001000;
  11885. end;
  11886. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  11887. begin
  11888. pTDefRegMap(@Self)^.clr := $00001000;
  11889. end;
  11890. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  11891. begin
  11892. if thebits = 0 then
  11893. pTDefRegMap(@Self)^.clr := $00001000
  11894. else
  11895. pTDefRegMap(@Self)^.&set := $00001000;
  11896. end;
  11897. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  11898. begin
  11899. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  11900. end;
  11901. procedure TI2C2_I2C2CON.setSIDL; inline;
  11902. begin
  11903. pTDefRegMap(@Self)^.&set := $00002000;
  11904. end;
  11905. procedure TI2C2_I2C2CON.clearSIDL; inline;
  11906. begin
  11907. pTDefRegMap(@Self)^.clr := $00002000;
  11908. end;
  11909. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  11910. begin
  11911. if thebits = 0 then
  11912. pTDefRegMap(@Self)^.clr := $00002000
  11913. else
  11914. pTDefRegMap(@Self)^.&set := $00002000;
  11915. end;
  11916. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  11917. begin
  11918. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11919. end;
  11920. procedure TI2C2_I2C2CON.setON; inline;
  11921. begin
  11922. pTDefRegMap(@Self)^.&set := $00008000;
  11923. end;
  11924. procedure TI2C2_I2C2CON.clearON; inline;
  11925. begin
  11926. pTDefRegMap(@Self)^.clr := $00008000;
  11927. end;
  11928. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  11929. begin
  11930. if thebits = 0 then
  11931. pTDefRegMap(@Self)^.clr := $00008000
  11932. else
  11933. pTDefRegMap(@Self)^.&set := $00008000;
  11934. end;
  11935. function TI2C2_I2C2CON.getON : TBits_1; inline;
  11936. begin
  11937. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11938. end;
  11939. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  11940. begin
  11941. pTDefRegMap(@Self)^.&set := $00000800;
  11942. end;
  11943. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  11944. begin
  11945. pTDefRegMap(@Self)^.clr := $00000800;
  11946. end;
  11947. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  11948. begin
  11949. if thebits = 0 then
  11950. pTDefRegMap(@Self)^.clr := $00000800
  11951. else
  11952. pTDefRegMap(@Self)^.&set := $00000800;
  11953. end;
  11954. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  11955. begin
  11956. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11957. end;
  11958. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  11959. begin
  11960. pTDefRegMap(@Self)^.&set := $00002000;
  11961. end;
  11962. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  11963. begin
  11964. pTDefRegMap(@Self)^.clr := $00002000;
  11965. end;
  11966. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  11967. begin
  11968. if thebits = 0 then
  11969. pTDefRegMap(@Self)^.clr := $00002000
  11970. else
  11971. pTDefRegMap(@Self)^.&set := $00002000;
  11972. end;
  11973. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  11974. begin
  11975. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11976. end;
  11977. procedure TI2C2_I2C2CON.setI2CEN; inline;
  11978. begin
  11979. pTDefRegMap(@Self)^.&set := $00008000;
  11980. end;
  11981. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  11982. begin
  11983. pTDefRegMap(@Self)^.clr := $00008000;
  11984. end;
  11985. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  11986. begin
  11987. if thebits = 0 then
  11988. pTDefRegMap(@Self)^.clr := $00008000
  11989. else
  11990. pTDefRegMap(@Self)^.&set := $00008000;
  11991. end;
  11992. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  11993. begin
  11994. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11995. end;
  11996. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  11997. begin
  11998. pTDefRegMap(@Self)^.val := thebits;
  11999. end;
  12000. function TI2C2_I2C2CON.getw : TBits_32; inline;
  12001. begin
  12002. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12003. end;
  12004. procedure TI2C2_I2C2STAT.setTBF; inline;
  12005. begin
  12006. pTDefRegMap(@Self)^.&set := $00000001;
  12007. end;
  12008. procedure TI2C2_I2C2STAT.clearTBF; inline;
  12009. begin
  12010. pTDefRegMap(@Self)^.clr := $00000001;
  12011. end;
  12012. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  12013. begin
  12014. if thebits = 0 then
  12015. pTDefRegMap(@Self)^.clr := $00000001
  12016. else
  12017. pTDefRegMap(@Self)^.&set := $00000001;
  12018. end;
  12019. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  12020. begin
  12021. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12022. end;
  12023. procedure TI2C2_I2C2STAT.setRBF; inline;
  12024. begin
  12025. pTDefRegMap(@Self)^.&set := $00000002;
  12026. end;
  12027. procedure TI2C2_I2C2STAT.clearRBF; inline;
  12028. begin
  12029. pTDefRegMap(@Self)^.clr := $00000002;
  12030. end;
  12031. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  12032. begin
  12033. if thebits = 0 then
  12034. pTDefRegMap(@Self)^.clr := $00000002
  12035. else
  12036. pTDefRegMap(@Self)^.&set := $00000002;
  12037. end;
  12038. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  12039. begin
  12040. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12041. end;
  12042. procedure TI2C2_I2C2STAT.setR_W; inline;
  12043. begin
  12044. pTDefRegMap(@Self)^.&set := $00000004;
  12045. end;
  12046. procedure TI2C2_I2C2STAT.clearR_W; inline;
  12047. begin
  12048. pTDefRegMap(@Self)^.clr := $00000004;
  12049. end;
  12050. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  12051. begin
  12052. if thebits = 0 then
  12053. pTDefRegMap(@Self)^.clr := $00000004
  12054. else
  12055. pTDefRegMap(@Self)^.&set := $00000004;
  12056. end;
  12057. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  12058. begin
  12059. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12060. end;
  12061. procedure TI2C2_I2C2STAT.setS; inline;
  12062. begin
  12063. pTDefRegMap(@Self)^.&set := $00000008;
  12064. end;
  12065. procedure TI2C2_I2C2STAT.clearS; inline;
  12066. begin
  12067. pTDefRegMap(@Self)^.clr := $00000008;
  12068. end;
  12069. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  12070. begin
  12071. if thebits = 0 then
  12072. pTDefRegMap(@Self)^.clr := $00000008
  12073. else
  12074. pTDefRegMap(@Self)^.&set := $00000008;
  12075. end;
  12076. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  12077. begin
  12078. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12079. end;
  12080. procedure TI2C2_I2C2STAT.setP; inline;
  12081. begin
  12082. pTDefRegMap(@Self)^.&set := $00000010;
  12083. end;
  12084. procedure TI2C2_I2C2STAT.clearP; inline;
  12085. begin
  12086. pTDefRegMap(@Self)^.clr := $00000010;
  12087. end;
  12088. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  12089. begin
  12090. if thebits = 0 then
  12091. pTDefRegMap(@Self)^.clr := $00000010
  12092. else
  12093. pTDefRegMap(@Self)^.&set := $00000010;
  12094. end;
  12095. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  12096. begin
  12097. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12098. end;
  12099. procedure TI2C2_I2C2STAT.setD_A; inline;
  12100. begin
  12101. pTDefRegMap(@Self)^.&set := $00000020;
  12102. end;
  12103. procedure TI2C2_I2C2STAT.clearD_A; inline;
  12104. begin
  12105. pTDefRegMap(@Self)^.clr := $00000020;
  12106. end;
  12107. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  12108. begin
  12109. if thebits = 0 then
  12110. pTDefRegMap(@Self)^.clr := $00000020
  12111. else
  12112. pTDefRegMap(@Self)^.&set := $00000020;
  12113. end;
  12114. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  12115. begin
  12116. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12117. end;
  12118. procedure TI2C2_I2C2STAT.setI2COV; inline;
  12119. begin
  12120. pTDefRegMap(@Self)^.&set := $00000040;
  12121. end;
  12122. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  12123. begin
  12124. pTDefRegMap(@Self)^.clr := $00000040;
  12125. end;
  12126. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  12127. begin
  12128. if thebits = 0 then
  12129. pTDefRegMap(@Self)^.clr := $00000040
  12130. else
  12131. pTDefRegMap(@Self)^.&set := $00000040;
  12132. end;
  12133. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  12134. begin
  12135. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12136. end;
  12137. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  12138. begin
  12139. pTDefRegMap(@Self)^.&set := $00000080;
  12140. end;
  12141. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  12142. begin
  12143. pTDefRegMap(@Self)^.clr := $00000080;
  12144. end;
  12145. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  12146. begin
  12147. if thebits = 0 then
  12148. pTDefRegMap(@Self)^.clr := $00000080
  12149. else
  12150. pTDefRegMap(@Self)^.&set := $00000080;
  12151. end;
  12152. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  12153. begin
  12154. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12155. end;
  12156. procedure TI2C2_I2C2STAT.setADD10; inline;
  12157. begin
  12158. pTDefRegMap(@Self)^.&set := $00000100;
  12159. end;
  12160. procedure TI2C2_I2C2STAT.clearADD10; inline;
  12161. begin
  12162. pTDefRegMap(@Self)^.clr := $00000100;
  12163. end;
  12164. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  12165. begin
  12166. if thebits = 0 then
  12167. pTDefRegMap(@Self)^.clr := $00000100
  12168. else
  12169. pTDefRegMap(@Self)^.&set := $00000100;
  12170. end;
  12171. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  12172. begin
  12173. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12174. end;
  12175. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  12176. begin
  12177. pTDefRegMap(@Self)^.&set := $00000200;
  12178. end;
  12179. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  12180. begin
  12181. pTDefRegMap(@Self)^.clr := $00000200;
  12182. end;
  12183. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  12184. begin
  12185. if thebits = 0 then
  12186. pTDefRegMap(@Self)^.clr := $00000200
  12187. else
  12188. pTDefRegMap(@Self)^.&set := $00000200;
  12189. end;
  12190. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  12191. begin
  12192. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12193. end;
  12194. procedure TI2C2_I2C2STAT.setBCL; inline;
  12195. begin
  12196. pTDefRegMap(@Self)^.&set := $00000400;
  12197. end;
  12198. procedure TI2C2_I2C2STAT.clearBCL; inline;
  12199. begin
  12200. pTDefRegMap(@Self)^.clr := $00000400;
  12201. end;
  12202. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  12203. begin
  12204. if thebits = 0 then
  12205. pTDefRegMap(@Self)^.clr := $00000400
  12206. else
  12207. pTDefRegMap(@Self)^.&set := $00000400;
  12208. end;
  12209. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  12210. begin
  12211. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12212. end;
  12213. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  12214. begin
  12215. pTDefRegMap(@Self)^.&set := $00004000;
  12216. end;
  12217. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  12218. begin
  12219. pTDefRegMap(@Self)^.clr := $00004000;
  12220. end;
  12221. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  12222. begin
  12223. if thebits = 0 then
  12224. pTDefRegMap(@Self)^.clr := $00004000
  12225. else
  12226. pTDefRegMap(@Self)^.&set := $00004000;
  12227. end;
  12228. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  12229. begin
  12230. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  12231. end;
  12232. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  12233. begin
  12234. pTDefRegMap(@Self)^.&set := $00008000;
  12235. end;
  12236. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  12237. begin
  12238. pTDefRegMap(@Self)^.clr := $00008000;
  12239. end;
  12240. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  12241. begin
  12242. if thebits = 0 then
  12243. pTDefRegMap(@Self)^.clr := $00008000
  12244. else
  12245. pTDefRegMap(@Self)^.&set := $00008000;
  12246. end;
  12247. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  12248. begin
  12249. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12250. end;
  12251. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  12252. begin
  12253. pTDefRegMap(@Self)^.&set := $00000040;
  12254. end;
  12255. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  12256. begin
  12257. pTDefRegMap(@Self)^.clr := $00000040;
  12258. end;
  12259. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  12260. begin
  12261. if thebits = 0 then
  12262. pTDefRegMap(@Self)^.clr := $00000040
  12263. else
  12264. pTDefRegMap(@Self)^.&set := $00000040;
  12265. end;
  12266. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  12267. begin
  12268. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12269. end;
  12270. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  12271. begin
  12272. pTDefRegMap(@Self)^.val := thebits;
  12273. end;
  12274. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  12275. begin
  12276. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12277. end;
  12278. procedure TSPI1_SPI1CON.setMSTEN; inline;
  12279. begin
  12280. pTDefRegMap(@Self)^.&set := $00000020;
  12281. end;
  12282. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  12283. begin
  12284. pTDefRegMap(@Self)^.clr := $00000020;
  12285. end;
  12286. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  12287. begin
  12288. if thebits = 0 then
  12289. pTDefRegMap(@Self)^.clr := $00000020
  12290. else
  12291. pTDefRegMap(@Self)^.&set := $00000020;
  12292. end;
  12293. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  12294. begin
  12295. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12296. end;
  12297. procedure TSPI1_SPI1CON.setCKP; inline;
  12298. begin
  12299. pTDefRegMap(@Self)^.&set := $00000040;
  12300. end;
  12301. procedure TSPI1_SPI1CON.clearCKP; inline;
  12302. begin
  12303. pTDefRegMap(@Self)^.clr := $00000040;
  12304. end;
  12305. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  12306. begin
  12307. if thebits = 0 then
  12308. pTDefRegMap(@Self)^.clr := $00000040
  12309. else
  12310. pTDefRegMap(@Self)^.&set := $00000040;
  12311. end;
  12312. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  12313. begin
  12314. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12315. end;
  12316. procedure TSPI1_SPI1CON.setSSEN; inline;
  12317. begin
  12318. pTDefRegMap(@Self)^.&set := $00000080;
  12319. end;
  12320. procedure TSPI1_SPI1CON.clearSSEN; inline;
  12321. begin
  12322. pTDefRegMap(@Self)^.clr := $00000080;
  12323. end;
  12324. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  12325. begin
  12326. if thebits = 0 then
  12327. pTDefRegMap(@Self)^.clr := $00000080
  12328. else
  12329. pTDefRegMap(@Self)^.&set := $00000080;
  12330. end;
  12331. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  12332. begin
  12333. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12334. end;
  12335. procedure TSPI1_SPI1CON.setCKE; inline;
  12336. begin
  12337. pTDefRegMap(@Self)^.&set := $00000100;
  12338. end;
  12339. procedure TSPI1_SPI1CON.clearCKE; inline;
  12340. begin
  12341. pTDefRegMap(@Self)^.clr := $00000100;
  12342. end;
  12343. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  12344. begin
  12345. if thebits = 0 then
  12346. pTDefRegMap(@Self)^.clr := $00000100
  12347. else
  12348. pTDefRegMap(@Self)^.&set := $00000100;
  12349. end;
  12350. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  12351. begin
  12352. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12353. end;
  12354. procedure TSPI1_SPI1CON.setSMP; inline;
  12355. begin
  12356. pTDefRegMap(@Self)^.&set := $00000200;
  12357. end;
  12358. procedure TSPI1_SPI1CON.clearSMP; inline;
  12359. begin
  12360. pTDefRegMap(@Self)^.clr := $00000200;
  12361. end;
  12362. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  12363. begin
  12364. if thebits = 0 then
  12365. pTDefRegMap(@Self)^.clr := $00000200
  12366. else
  12367. pTDefRegMap(@Self)^.&set := $00000200;
  12368. end;
  12369. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  12370. begin
  12371. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12372. end;
  12373. procedure TSPI1_SPI1CON.setMODE16; inline;
  12374. begin
  12375. pTDefRegMap(@Self)^.&set := $00000400;
  12376. end;
  12377. procedure TSPI1_SPI1CON.clearMODE16; inline;
  12378. begin
  12379. pTDefRegMap(@Self)^.clr := $00000400;
  12380. end;
  12381. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  12382. begin
  12383. if thebits = 0 then
  12384. pTDefRegMap(@Self)^.clr := $00000400
  12385. else
  12386. pTDefRegMap(@Self)^.&set := $00000400;
  12387. end;
  12388. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  12389. begin
  12390. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12391. end;
  12392. procedure TSPI1_SPI1CON.setMODE32; inline;
  12393. begin
  12394. pTDefRegMap(@Self)^.&set := $00000800;
  12395. end;
  12396. procedure TSPI1_SPI1CON.clearMODE32; inline;
  12397. begin
  12398. pTDefRegMap(@Self)^.clr := $00000800;
  12399. end;
  12400. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  12401. begin
  12402. if thebits = 0 then
  12403. pTDefRegMap(@Self)^.clr := $00000800
  12404. else
  12405. pTDefRegMap(@Self)^.&set := $00000800;
  12406. end;
  12407. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  12408. begin
  12409. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12410. end;
  12411. procedure TSPI1_SPI1CON.setDISSDO; inline;
  12412. begin
  12413. pTDefRegMap(@Self)^.&set := $00001000;
  12414. end;
  12415. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  12416. begin
  12417. pTDefRegMap(@Self)^.clr := $00001000;
  12418. end;
  12419. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  12420. begin
  12421. if thebits = 0 then
  12422. pTDefRegMap(@Self)^.clr := $00001000
  12423. else
  12424. pTDefRegMap(@Self)^.&set := $00001000;
  12425. end;
  12426. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  12427. begin
  12428. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12429. end;
  12430. procedure TSPI1_SPI1CON.setSIDL; inline;
  12431. begin
  12432. pTDefRegMap(@Self)^.&set := $00002000;
  12433. end;
  12434. procedure TSPI1_SPI1CON.clearSIDL; inline;
  12435. begin
  12436. pTDefRegMap(@Self)^.clr := $00002000;
  12437. end;
  12438. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  12439. begin
  12440. if thebits = 0 then
  12441. pTDefRegMap(@Self)^.clr := $00002000
  12442. else
  12443. pTDefRegMap(@Self)^.&set := $00002000;
  12444. end;
  12445. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  12446. begin
  12447. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12448. end;
  12449. procedure TSPI1_SPI1CON.setON; inline;
  12450. begin
  12451. pTDefRegMap(@Self)^.&set := $00008000;
  12452. end;
  12453. procedure TSPI1_SPI1CON.clearON; inline;
  12454. begin
  12455. pTDefRegMap(@Self)^.clr := $00008000;
  12456. end;
  12457. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  12458. begin
  12459. if thebits = 0 then
  12460. pTDefRegMap(@Self)^.clr := $00008000
  12461. else
  12462. pTDefRegMap(@Self)^.&set := $00008000;
  12463. end;
  12464. function TSPI1_SPI1CON.getON : TBits_1; inline;
  12465. begin
  12466. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12467. end;
  12468. procedure TSPI1_SPI1CON.setSPIFE; inline;
  12469. begin
  12470. pTDefRegMap(@Self)^.&set := $00020000;
  12471. end;
  12472. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  12473. begin
  12474. pTDefRegMap(@Self)^.clr := $00020000;
  12475. end;
  12476. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  12477. begin
  12478. if thebits = 0 then
  12479. pTDefRegMap(@Self)^.clr := $00020000
  12480. else
  12481. pTDefRegMap(@Self)^.&set := $00020000;
  12482. end;
  12483. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  12484. begin
  12485. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  12486. end;
  12487. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  12488. begin
  12489. pTDefRegMap(@Self)^.&set := $20000000;
  12490. end;
  12491. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  12492. begin
  12493. pTDefRegMap(@Self)^.clr := $20000000;
  12494. end;
  12495. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  12496. begin
  12497. if thebits = 0 then
  12498. pTDefRegMap(@Self)^.clr := $20000000
  12499. else
  12500. pTDefRegMap(@Self)^.&set := $20000000;
  12501. end;
  12502. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  12503. begin
  12504. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  12505. end;
  12506. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  12507. begin
  12508. pTDefRegMap(@Self)^.&set := $40000000;
  12509. end;
  12510. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  12511. begin
  12512. pTDefRegMap(@Self)^.clr := $40000000;
  12513. end;
  12514. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  12515. begin
  12516. if thebits = 0 then
  12517. pTDefRegMap(@Self)^.clr := $40000000
  12518. else
  12519. pTDefRegMap(@Self)^.&set := $40000000;
  12520. end;
  12521. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  12522. begin
  12523. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  12524. end;
  12525. procedure TSPI1_SPI1CON.setFRMEN; inline;
  12526. begin
  12527. pTDefRegMap(@Self)^.&set := $80000000;
  12528. end;
  12529. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  12530. begin
  12531. pTDefRegMap(@Self)^.clr := $80000000;
  12532. end;
  12533. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  12534. begin
  12535. if thebits = 0 then
  12536. pTDefRegMap(@Self)^.clr := $80000000
  12537. else
  12538. pTDefRegMap(@Self)^.&set := $80000000;
  12539. end;
  12540. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  12541. begin
  12542. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  12543. end;
  12544. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  12545. begin
  12546. pTDefRegMap(@Self)^.val := thebits;
  12547. end;
  12548. function TSPI1_SPI1CON.getw : TBits_32; inline;
  12549. begin
  12550. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12551. end;
  12552. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  12553. begin
  12554. pTDefRegMap(@Self)^.&set := $00000001;
  12555. end;
  12556. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  12557. begin
  12558. pTDefRegMap(@Self)^.clr := $00000001;
  12559. end;
  12560. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  12561. begin
  12562. if thebits = 0 then
  12563. pTDefRegMap(@Self)^.clr := $00000001
  12564. else
  12565. pTDefRegMap(@Self)^.&set := $00000001;
  12566. end;
  12567. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  12568. begin
  12569. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12570. end;
  12571. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  12572. begin
  12573. pTDefRegMap(@Self)^.&set := $00000008;
  12574. end;
  12575. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  12576. begin
  12577. pTDefRegMap(@Self)^.clr := $00000008;
  12578. end;
  12579. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  12580. begin
  12581. if thebits = 0 then
  12582. pTDefRegMap(@Self)^.clr := $00000008
  12583. else
  12584. pTDefRegMap(@Self)^.&set := $00000008;
  12585. end;
  12586. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  12587. begin
  12588. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12589. end;
  12590. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  12591. begin
  12592. pTDefRegMap(@Self)^.&set := $00000040;
  12593. end;
  12594. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  12595. begin
  12596. pTDefRegMap(@Self)^.clr := $00000040;
  12597. end;
  12598. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  12599. begin
  12600. if thebits = 0 then
  12601. pTDefRegMap(@Self)^.clr := $00000040
  12602. else
  12603. pTDefRegMap(@Self)^.&set := $00000040;
  12604. end;
  12605. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  12606. begin
  12607. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12608. end;
  12609. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  12610. begin
  12611. pTDefRegMap(@Self)^.&set := $00000800;
  12612. end;
  12613. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  12614. begin
  12615. pTDefRegMap(@Self)^.clr := $00000800;
  12616. end;
  12617. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  12618. begin
  12619. if thebits = 0 then
  12620. pTDefRegMap(@Self)^.clr := $00000800
  12621. else
  12622. pTDefRegMap(@Self)^.&set := $00000800;
  12623. end;
  12624. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  12625. begin
  12626. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12627. end;
  12628. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  12629. begin
  12630. pTDefRegMap(@Self)^.val := thebits;
  12631. end;
  12632. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  12633. begin
  12634. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12635. end;
  12636. procedure TSPI2_SPI2CON.setMSTEN; inline;
  12637. begin
  12638. pTDefRegMap(@Self)^.&set := $00000020;
  12639. end;
  12640. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  12641. begin
  12642. pTDefRegMap(@Self)^.clr := $00000020;
  12643. end;
  12644. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  12645. begin
  12646. if thebits = 0 then
  12647. pTDefRegMap(@Self)^.clr := $00000020
  12648. else
  12649. pTDefRegMap(@Self)^.&set := $00000020;
  12650. end;
  12651. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  12652. begin
  12653. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12654. end;
  12655. procedure TSPI2_SPI2CON.setCKP; inline;
  12656. begin
  12657. pTDefRegMap(@Self)^.&set := $00000040;
  12658. end;
  12659. procedure TSPI2_SPI2CON.clearCKP; inline;
  12660. begin
  12661. pTDefRegMap(@Self)^.clr := $00000040;
  12662. end;
  12663. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  12664. begin
  12665. if thebits = 0 then
  12666. pTDefRegMap(@Self)^.clr := $00000040
  12667. else
  12668. pTDefRegMap(@Self)^.&set := $00000040;
  12669. end;
  12670. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  12671. begin
  12672. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12673. end;
  12674. procedure TSPI2_SPI2CON.setSSEN; inline;
  12675. begin
  12676. pTDefRegMap(@Self)^.&set := $00000080;
  12677. end;
  12678. procedure TSPI2_SPI2CON.clearSSEN; inline;
  12679. begin
  12680. pTDefRegMap(@Self)^.clr := $00000080;
  12681. end;
  12682. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  12683. begin
  12684. if thebits = 0 then
  12685. pTDefRegMap(@Self)^.clr := $00000080
  12686. else
  12687. pTDefRegMap(@Self)^.&set := $00000080;
  12688. end;
  12689. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  12690. begin
  12691. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12692. end;
  12693. procedure TSPI2_SPI2CON.setCKE; inline;
  12694. begin
  12695. pTDefRegMap(@Self)^.&set := $00000100;
  12696. end;
  12697. procedure TSPI2_SPI2CON.clearCKE; inline;
  12698. begin
  12699. pTDefRegMap(@Self)^.clr := $00000100;
  12700. end;
  12701. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  12702. begin
  12703. if thebits = 0 then
  12704. pTDefRegMap(@Self)^.clr := $00000100
  12705. else
  12706. pTDefRegMap(@Self)^.&set := $00000100;
  12707. end;
  12708. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  12709. begin
  12710. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12711. end;
  12712. procedure TSPI2_SPI2CON.setSMP; inline;
  12713. begin
  12714. pTDefRegMap(@Self)^.&set := $00000200;
  12715. end;
  12716. procedure TSPI2_SPI2CON.clearSMP; inline;
  12717. begin
  12718. pTDefRegMap(@Self)^.clr := $00000200;
  12719. end;
  12720. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  12721. begin
  12722. if thebits = 0 then
  12723. pTDefRegMap(@Self)^.clr := $00000200
  12724. else
  12725. pTDefRegMap(@Self)^.&set := $00000200;
  12726. end;
  12727. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  12728. begin
  12729. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12730. end;
  12731. procedure TSPI2_SPI2CON.setMODE16; inline;
  12732. begin
  12733. pTDefRegMap(@Self)^.&set := $00000400;
  12734. end;
  12735. procedure TSPI2_SPI2CON.clearMODE16; inline;
  12736. begin
  12737. pTDefRegMap(@Self)^.clr := $00000400;
  12738. end;
  12739. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  12740. begin
  12741. if thebits = 0 then
  12742. pTDefRegMap(@Self)^.clr := $00000400
  12743. else
  12744. pTDefRegMap(@Self)^.&set := $00000400;
  12745. end;
  12746. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  12747. begin
  12748. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12749. end;
  12750. procedure TSPI2_SPI2CON.setMODE32; inline;
  12751. begin
  12752. pTDefRegMap(@Self)^.&set := $00000800;
  12753. end;
  12754. procedure TSPI2_SPI2CON.clearMODE32; inline;
  12755. begin
  12756. pTDefRegMap(@Self)^.clr := $00000800;
  12757. end;
  12758. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  12759. begin
  12760. if thebits = 0 then
  12761. pTDefRegMap(@Self)^.clr := $00000800
  12762. else
  12763. pTDefRegMap(@Self)^.&set := $00000800;
  12764. end;
  12765. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  12766. begin
  12767. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12768. end;
  12769. procedure TSPI2_SPI2CON.setDISSDO; inline;
  12770. begin
  12771. pTDefRegMap(@Self)^.&set := $00001000;
  12772. end;
  12773. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  12774. begin
  12775. pTDefRegMap(@Self)^.clr := $00001000;
  12776. end;
  12777. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  12778. begin
  12779. if thebits = 0 then
  12780. pTDefRegMap(@Self)^.clr := $00001000
  12781. else
  12782. pTDefRegMap(@Self)^.&set := $00001000;
  12783. end;
  12784. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  12785. begin
  12786. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12787. end;
  12788. procedure TSPI2_SPI2CON.setSIDL; inline;
  12789. begin
  12790. pTDefRegMap(@Self)^.&set := $00002000;
  12791. end;
  12792. procedure TSPI2_SPI2CON.clearSIDL; inline;
  12793. begin
  12794. pTDefRegMap(@Self)^.clr := $00002000;
  12795. end;
  12796. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  12797. begin
  12798. if thebits = 0 then
  12799. pTDefRegMap(@Self)^.clr := $00002000
  12800. else
  12801. pTDefRegMap(@Self)^.&set := $00002000;
  12802. end;
  12803. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  12804. begin
  12805. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12806. end;
  12807. procedure TSPI2_SPI2CON.setON; inline;
  12808. begin
  12809. pTDefRegMap(@Self)^.&set := $00008000;
  12810. end;
  12811. procedure TSPI2_SPI2CON.clearON; inline;
  12812. begin
  12813. pTDefRegMap(@Self)^.clr := $00008000;
  12814. end;
  12815. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  12816. begin
  12817. if thebits = 0 then
  12818. pTDefRegMap(@Self)^.clr := $00008000
  12819. else
  12820. pTDefRegMap(@Self)^.&set := $00008000;
  12821. end;
  12822. function TSPI2_SPI2CON.getON : TBits_1; inline;
  12823. begin
  12824. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12825. end;
  12826. procedure TSPI2_SPI2CON.setSPIFE; inline;
  12827. begin
  12828. pTDefRegMap(@Self)^.&set := $00020000;
  12829. end;
  12830. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  12831. begin
  12832. pTDefRegMap(@Self)^.clr := $00020000;
  12833. end;
  12834. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  12835. begin
  12836. if thebits = 0 then
  12837. pTDefRegMap(@Self)^.clr := $00020000
  12838. else
  12839. pTDefRegMap(@Self)^.&set := $00020000;
  12840. end;
  12841. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  12842. begin
  12843. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  12844. end;
  12845. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  12846. begin
  12847. pTDefRegMap(@Self)^.&set := $20000000;
  12848. end;
  12849. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  12850. begin
  12851. pTDefRegMap(@Self)^.clr := $20000000;
  12852. end;
  12853. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  12854. begin
  12855. if thebits = 0 then
  12856. pTDefRegMap(@Self)^.clr := $20000000
  12857. else
  12858. pTDefRegMap(@Self)^.&set := $20000000;
  12859. end;
  12860. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  12861. begin
  12862. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  12863. end;
  12864. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  12865. begin
  12866. pTDefRegMap(@Self)^.&set := $40000000;
  12867. end;
  12868. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  12869. begin
  12870. pTDefRegMap(@Self)^.clr := $40000000;
  12871. end;
  12872. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  12873. begin
  12874. if thebits = 0 then
  12875. pTDefRegMap(@Self)^.clr := $40000000
  12876. else
  12877. pTDefRegMap(@Self)^.&set := $40000000;
  12878. end;
  12879. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  12880. begin
  12881. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  12882. end;
  12883. procedure TSPI2_SPI2CON.setFRMEN; inline;
  12884. begin
  12885. pTDefRegMap(@Self)^.&set := $80000000;
  12886. end;
  12887. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  12888. begin
  12889. pTDefRegMap(@Self)^.clr := $80000000;
  12890. end;
  12891. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  12892. begin
  12893. if thebits = 0 then
  12894. pTDefRegMap(@Self)^.clr := $80000000
  12895. else
  12896. pTDefRegMap(@Self)^.&set := $80000000;
  12897. end;
  12898. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  12899. begin
  12900. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  12901. end;
  12902. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  12903. begin
  12904. pTDefRegMap(@Self)^.val := thebits;
  12905. end;
  12906. function TSPI2_SPI2CON.getw : TBits_32; inline;
  12907. begin
  12908. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12909. end;
  12910. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  12911. begin
  12912. pTDefRegMap(@Self)^.&set := $00000001;
  12913. end;
  12914. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  12915. begin
  12916. pTDefRegMap(@Self)^.clr := $00000001;
  12917. end;
  12918. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  12919. begin
  12920. if thebits = 0 then
  12921. pTDefRegMap(@Self)^.clr := $00000001
  12922. else
  12923. pTDefRegMap(@Self)^.&set := $00000001;
  12924. end;
  12925. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  12926. begin
  12927. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12928. end;
  12929. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  12930. begin
  12931. pTDefRegMap(@Self)^.&set := $00000008;
  12932. end;
  12933. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  12934. begin
  12935. pTDefRegMap(@Self)^.clr := $00000008;
  12936. end;
  12937. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  12938. begin
  12939. if thebits = 0 then
  12940. pTDefRegMap(@Self)^.clr := $00000008
  12941. else
  12942. pTDefRegMap(@Self)^.&set := $00000008;
  12943. end;
  12944. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  12945. begin
  12946. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12947. end;
  12948. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  12949. begin
  12950. pTDefRegMap(@Self)^.&set := $00000040;
  12951. end;
  12952. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  12953. begin
  12954. pTDefRegMap(@Self)^.clr := $00000040;
  12955. end;
  12956. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  12957. begin
  12958. if thebits = 0 then
  12959. pTDefRegMap(@Self)^.clr := $00000040
  12960. else
  12961. pTDefRegMap(@Self)^.&set := $00000040;
  12962. end;
  12963. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  12964. begin
  12965. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12966. end;
  12967. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  12968. begin
  12969. pTDefRegMap(@Self)^.&set := $00000800;
  12970. end;
  12971. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  12972. begin
  12973. pTDefRegMap(@Self)^.clr := $00000800;
  12974. end;
  12975. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  12976. begin
  12977. if thebits = 0 then
  12978. pTDefRegMap(@Self)^.clr := $00000800
  12979. else
  12980. pTDefRegMap(@Self)^.&set := $00000800;
  12981. end;
  12982. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  12983. begin
  12984. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12985. end;
  12986. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  12987. begin
  12988. pTDefRegMap(@Self)^.val := thebits;
  12989. end;
  12990. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  12991. begin
  12992. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12993. end;
  12994. procedure TUART1_U1MODE.setSTSEL; inline;
  12995. begin
  12996. pTDefRegMap(@Self)^.&set := $00000001;
  12997. end;
  12998. procedure TUART1_U1MODE.clearSTSEL; inline;
  12999. begin
  13000. pTDefRegMap(@Self)^.clr := $00000001;
  13001. end;
  13002. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  13003. begin
  13004. if thebits = 0 then
  13005. pTDefRegMap(@Self)^.clr := $00000001
  13006. else
  13007. pTDefRegMap(@Self)^.&set := $00000001;
  13008. end;
  13009. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  13010. begin
  13011. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13012. end;
  13013. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  13014. begin
  13015. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  13016. end;
  13017. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  13018. begin
  13019. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  13020. end;
  13021. procedure TUART1_U1MODE.setBRGH; inline;
  13022. begin
  13023. pTDefRegMap(@Self)^.&set := $00000008;
  13024. end;
  13025. procedure TUART1_U1MODE.clearBRGH; inline;
  13026. begin
  13027. pTDefRegMap(@Self)^.clr := $00000008;
  13028. end;
  13029. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  13030. begin
  13031. if thebits = 0 then
  13032. pTDefRegMap(@Self)^.clr := $00000008
  13033. else
  13034. pTDefRegMap(@Self)^.&set := $00000008;
  13035. end;
  13036. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  13037. begin
  13038. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13039. end;
  13040. procedure TUART1_U1MODE.setRXINV; inline;
  13041. begin
  13042. pTDefRegMap(@Self)^.&set := $00000010;
  13043. end;
  13044. procedure TUART1_U1MODE.clearRXINV; inline;
  13045. begin
  13046. pTDefRegMap(@Self)^.clr := $00000010;
  13047. end;
  13048. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  13049. begin
  13050. if thebits = 0 then
  13051. pTDefRegMap(@Self)^.clr := $00000010
  13052. else
  13053. pTDefRegMap(@Self)^.&set := $00000010;
  13054. end;
  13055. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  13056. begin
  13057. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13058. end;
  13059. procedure TUART1_U1MODE.setABAUD; inline;
  13060. begin
  13061. pTDefRegMap(@Self)^.&set := $00000020;
  13062. end;
  13063. procedure TUART1_U1MODE.clearABAUD; inline;
  13064. begin
  13065. pTDefRegMap(@Self)^.clr := $00000020;
  13066. end;
  13067. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  13068. begin
  13069. if thebits = 0 then
  13070. pTDefRegMap(@Self)^.clr := $00000020
  13071. else
  13072. pTDefRegMap(@Self)^.&set := $00000020;
  13073. end;
  13074. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  13075. begin
  13076. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13077. end;
  13078. procedure TUART1_U1MODE.setLPBACK; inline;
  13079. begin
  13080. pTDefRegMap(@Self)^.&set := $00000040;
  13081. end;
  13082. procedure TUART1_U1MODE.clearLPBACK; inline;
  13083. begin
  13084. pTDefRegMap(@Self)^.clr := $00000040;
  13085. end;
  13086. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  13087. begin
  13088. if thebits = 0 then
  13089. pTDefRegMap(@Self)^.clr := $00000040
  13090. else
  13091. pTDefRegMap(@Self)^.&set := $00000040;
  13092. end;
  13093. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  13094. begin
  13095. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13096. end;
  13097. procedure TUART1_U1MODE.setWAKE; inline;
  13098. begin
  13099. pTDefRegMap(@Self)^.&set := $00000080;
  13100. end;
  13101. procedure TUART1_U1MODE.clearWAKE; inline;
  13102. begin
  13103. pTDefRegMap(@Self)^.clr := $00000080;
  13104. end;
  13105. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  13106. begin
  13107. if thebits = 0 then
  13108. pTDefRegMap(@Self)^.clr := $00000080
  13109. else
  13110. pTDefRegMap(@Self)^.&set := $00000080;
  13111. end;
  13112. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  13113. begin
  13114. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13115. end;
  13116. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  13117. begin
  13118. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  13119. end;
  13120. function TUART1_U1MODE.getUEN : TBits_2; inline;
  13121. begin
  13122. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  13123. end;
  13124. procedure TUART1_U1MODE.setRTSMD; inline;
  13125. begin
  13126. pTDefRegMap(@Self)^.&set := $00000800;
  13127. end;
  13128. procedure TUART1_U1MODE.clearRTSMD; inline;
  13129. begin
  13130. pTDefRegMap(@Self)^.clr := $00000800;
  13131. end;
  13132. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  13133. begin
  13134. if thebits = 0 then
  13135. pTDefRegMap(@Self)^.clr := $00000800
  13136. else
  13137. pTDefRegMap(@Self)^.&set := $00000800;
  13138. end;
  13139. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  13140. begin
  13141. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13142. end;
  13143. procedure TUART1_U1MODE.setIREN; inline;
  13144. begin
  13145. pTDefRegMap(@Self)^.&set := $00001000;
  13146. end;
  13147. procedure TUART1_U1MODE.clearIREN; inline;
  13148. begin
  13149. pTDefRegMap(@Self)^.clr := $00001000;
  13150. end;
  13151. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  13152. begin
  13153. if thebits = 0 then
  13154. pTDefRegMap(@Self)^.clr := $00001000
  13155. else
  13156. pTDefRegMap(@Self)^.&set := $00001000;
  13157. end;
  13158. function TUART1_U1MODE.getIREN : TBits_1; inline;
  13159. begin
  13160. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13161. end;
  13162. procedure TUART1_U1MODE.setSIDL; inline;
  13163. begin
  13164. pTDefRegMap(@Self)^.&set := $00002000;
  13165. end;
  13166. procedure TUART1_U1MODE.clearSIDL; inline;
  13167. begin
  13168. pTDefRegMap(@Self)^.clr := $00002000;
  13169. end;
  13170. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  13171. begin
  13172. if thebits = 0 then
  13173. pTDefRegMap(@Self)^.clr := $00002000
  13174. else
  13175. pTDefRegMap(@Self)^.&set := $00002000;
  13176. end;
  13177. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  13178. begin
  13179. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13180. end;
  13181. procedure TUART1_U1MODE.setON; inline;
  13182. begin
  13183. pTDefRegMap(@Self)^.&set := $00008000;
  13184. end;
  13185. procedure TUART1_U1MODE.clearON; inline;
  13186. begin
  13187. pTDefRegMap(@Self)^.clr := $00008000;
  13188. end;
  13189. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  13190. begin
  13191. if thebits = 0 then
  13192. pTDefRegMap(@Self)^.clr := $00008000
  13193. else
  13194. pTDefRegMap(@Self)^.&set := $00008000;
  13195. end;
  13196. function TUART1_U1MODE.getON : TBits_1; inline;
  13197. begin
  13198. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13199. end;
  13200. procedure TUART1_U1MODE.setPDSEL0; inline;
  13201. begin
  13202. pTDefRegMap(@Self)^.&set := $00000002;
  13203. end;
  13204. procedure TUART1_U1MODE.clearPDSEL0; inline;
  13205. begin
  13206. pTDefRegMap(@Self)^.clr := $00000002;
  13207. end;
  13208. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  13209. begin
  13210. if thebits = 0 then
  13211. pTDefRegMap(@Self)^.clr := $00000002
  13212. else
  13213. pTDefRegMap(@Self)^.&set := $00000002;
  13214. end;
  13215. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  13216. begin
  13217. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13218. end;
  13219. procedure TUART1_U1MODE.setPDSEL1; inline;
  13220. begin
  13221. pTDefRegMap(@Self)^.&set := $00000004;
  13222. end;
  13223. procedure TUART1_U1MODE.clearPDSEL1; inline;
  13224. begin
  13225. pTDefRegMap(@Self)^.clr := $00000004;
  13226. end;
  13227. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  13228. begin
  13229. if thebits = 0 then
  13230. pTDefRegMap(@Self)^.clr := $00000004
  13231. else
  13232. pTDefRegMap(@Self)^.&set := $00000004;
  13233. end;
  13234. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  13235. begin
  13236. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13237. end;
  13238. procedure TUART1_U1MODE.setUEN0; inline;
  13239. begin
  13240. pTDefRegMap(@Self)^.&set := $00000100;
  13241. end;
  13242. procedure TUART1_U1MODE.clearUEN0; inline;
  13243. begin
  13244. pTDefRegMap(@Self)^.clr := $00000100;
  13245. end;
  13246. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  13247. begin
  13248. if thebits = 0 then
  13249. pTDefRegMap(@Self)^.clr := $00000100
  13250. else
  13251. pTDefRegMap(@Self)^.&set := $00000100;
  13252. end;
  13253. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  13254. begin
  13255. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13256. end;
  13257. procedure TUART1_U1MODE.setUEN1; inline;
  13258. begin
  13259. pTDefRegMap(@Self)^.&set := $00000200;
  13260. end;
  13261. procedure TUART1_U1MODE.clearUEN1; inline;
  13262. begin
  13263. pTDefRegMap(@Self)^.clr := $00000200;
  13264. end;
  13265. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  13266. begin
  13267. if thebits = 0 then
  13268. pTDefRegMap(@Self)^.clr := $00000200
  13269. else
  13270. pTDefRegMap(@Self)^.&set := $00000200;
  13271. end;
  13272. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  13273. begin
  13274. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13275. end;
  13276. procedure TUART1_U1MODE.setUSIDL; inline;
  13277. begin
  13278. pTDefRegMap(@Self)^.&set := $00002000;
  13279. end;
  13280. procedure TUART1_U1MODE.clearUSIDL; inline;
  13281. begin
  13282. pTDefRegMap(@Self)^.clr := $00002000;
  13283. end;
  13284. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  13285. begin
  13286. if thebits = 0 then
  13287. pTDefRegMap(@Self)^.clr := $00002000
  13288. else
  13289. pTDefRegMap(@Self)^.&set := $00002000;
  13290. end;
  13291. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  13292. begin
  13293. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13294. end;
  13295. procedure TUART1_U1MODE.setUARTEN; inline;
  13296. begin
  13297. pTDefRegMap(@Self)^.&set := $00008000;
  13298. end;
  13299. procedure TUART1_U1MODE.clearUARTEN; inline;
  13300. begin
  13301. pTDefRegMap(@Self)^.clr := $00008000;
  13302. end;
  13303. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  13304. begin
  13305. if thebits = 0 then
  13306. pTDefRegMap(@Self)^.clr := $00008000
  13307. else
  13308. pTDefRegMap(@Self)^.&set := $00008000;
  13309. end;
  13310. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  13311. begin
  13312. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13313. end;
  13314. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  13315. begin
  13316. pTDefRegMap(@Self)^.val := thebits;
  13317. end;
  13318. function TUART1_U1MODE.getw : TBits_32; inline;
  13319. begin
  13320. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13321. end;
  13322. procedure TUART1_U1STA.setURXDA; inline;
  13323. begin
  13324. pTDefRegMap(@Self)^.&set := $00000001;
  13325. end;
  13326. procedure TUART1_U1STA.clearURXDA; inline;
  13327. begin
  13328. pTDefRegMap(@Self)^.clr := $00000001;
  13329. end;
  13330. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  13331. begin
  13332. if thebits = 0 then
  13333. pTDefRegMap(@Self)^.clr := $00000001
  13334. else
  13335. pTDefRegMap(@Self)^.&set := $00000001;
  13336. end;
  13337. function TUART1_U1STA.getURXDA : TBits_1; inline;
  13338. begin
  13339. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13340. end;
  13341. procedure TUART1_U1STA.setOERR; inline;
  13342. begin
  13343. pTDefRegMap(@Self)^.&set := $00000002;
  13344. end;
  13345. procedure TUART1_U1STA.clearOERR; inline;
  13346. begin
  13347. pTDefRegMap(@Self)^.clr := $00000002;
  13348. end;
  13349. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  13350. begin
  13351. if thebits = 0 then
  13352. pTDefRegMap(@Self)^.clr := $00000002
  13353. else
  13354. pTDefRegMap(@Self)^.&set := $00000002;
  13355. end;
  13356. function TUART1_U1STA.getOERR : TBits_1; inline;
  13357. begin
  13358. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13359. end;
  13360. procedure TUART1_U1STA.setFERR; inline;
  13361. begin
  13362. pTDefRegMap(@Self)^.&set := $00000004;
  13363. end;
  13364. procedure TUART1_U1STA.clearFERR; inline;
  13365. begin
  13366. pTDefRegMap(@Self)^.clr := $00000004;
  13367. end;
  13368. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  13369. begin
  13370. if thebits = 0 then
  13371. pTDefRegMap(@Self)^.clr := $00000004
  13372. else
  13373. pTDefRegMap(@Self)^.&set := $00000004;
  13374. end;
  13375. function TUART1_U1STA.getFERR : TBits_1; inline;
  13376. begin
  13377. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13378. end;
  13379. procedure TUART1_U1STA.setPERR; inline;
  13380. begin
  13381. pTDefRegMap(@Self)^.&set := $00000008;
  13382. end;
  13383. procedure TUART1_U1STA.clearPERR; inline;
  13384. begin
  13385. pTDefRegMap(@Self)^.clr := $00000008;
  13386. end;
  13387. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  13388. begin
  13389. if thebits = 0 then
  13390. pTDefRegMap(@Self)^.clr := $00000008
  13391. else
  13392. pTDefRegMap(@Self)^.&set := $00000008;
  13393. end;
  13394. function TUART1_U1STA.getPERR : TBits_1; inline;
  13395. begin
  13396. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13397. end;
  13398. procedure TUART1_U1STA.setRIDLE; inline;
  13399. begin
  13400. pTDefRegMap(@Self)^.&set := $00000010;
  13401. end;
  13402. procedure TUART1_U1STA.clearRIDLE; inline;
  13403. begin
  13404. pTDefRegMap(@Self)^.clr := $00000010;
  13405. end;
  13406. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  13407. begin
  13408. if thebits = 0 then
  13409. pTDefRegMap(@Self)^.clr := $00000010
  13410. else
  13411. pTDefRegMap(@Self)^.&set := $00000010;
  13412. end;
  13413. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  13414. begin
  13415. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13416. end;
  13417. procedure TUART1_U1STA.setADDEN; inline;
  13418. begin
  13419. pTDefRegMap(@Self)^.&set := $00000020;
  13420. end;
  13421. procedure TUART1_U1STA.clearADDEN; inline;
  13422. begin
  13423. pTDefRegMap(@Self)^.clr := $00000020;
  13424. end;
  13425. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  13426. begin
  13427. if thebits = 0 then
  13428. pTDefRegMap(@Self)^.clr := $00000020
  13429. else
  13430. pTDefRegMap(@Self)^.&set := $00000020;
  13431. end;
  13432. function TUART1_U1STA.getADDEN : TBits_1; inline;
  13433. begin
  13434. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13435. end;
  13436. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  13437. begin
  13438. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  13439. end;
  13440. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  13441. begin
  13442. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  13443. end;
  13444. procedure TUART1_U1STA.setTRMT; inline;
  13445. begin
  13446. pTDefRegMap(@Self)^.&set := $00000100;
  13447. end;
  13448. procedure TUART1_U1STA.clearTRMT; inline;
  13449. begin
  13450. pTDefRegMap(@Self)^.clr := $00000100;
  13451. end;
  13452. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  13453. begin
  13454. if thebits = 0 then
  13455. pTDefRegMap(@Self)^.clr := $00000100
  13456. else
  13457. pTDefRegMap(@Self)^.&set := $00000100;
  13458. end;
  13459. function TUART1_U1STA.getTRMT : TBits_1; inline;
  13460. begin
  13461. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13462. end;
  13463. procedure TUART1_U1STA.setUTXBF; inline;
  13464. begin
  13465. pTDefRegMap(@Self)^.&set := $00000200;
  13466. end;
  13467. procedure TUART1_U1STA.clearUTXBF; inline;
  13468. begin
  13469. pTDefRegMap(@Self)^.clr := $00000200;
  13470. end;
  13471. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  13472. begin
  13473. if thebits = 0 then
  13474. pTDefRegMap(@Self)^.clr := $00000200
  13475. else
  13476. pTDefRegMap(@Self)^.&set := $00000200;
  13477. end;
  13478. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  13479. begin
  13480. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13481. end;
  13482. procedure TUART1_U1STA.setUTXEN; inline;
  13483. begin
  13484. pTDefRegMap(@Self)^.&set := $00000400;
  13485. end;
  13486. procedure TUART1_U1STA.clearUTXEN; inline;
  13487. begin
  13488. pTDefRegMap(@Self)^.clr := $00000400;
  13489. end;
  13490. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  13491. begin
  13492. if thebits = 0 then
  13493. pTDefRegMap(@Self)^.clr := $00000400
  13494. else
  13495. pTDefRegMap(@Self)^.&set := $00000400;
  13496. end;
  13497. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  13498. begin
  13499. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13500. end;
  13501. procedure TUART1_U1STA.setUTXBRK; inline;
  13502. begin
  13503. pTDefRegMap(@Self)^.&set := $00000800;
  13504. end;
  13505. procedure TUART1_U1STA.clearUTXBRK; inline;
  13506. begin
  13507. pTDefRegMap(@Self)^.clr := $00000800;
  13508. end;
  13509. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  13510. begin
  13511. if thebits = 0 then
  13512. pTDefRegMap(@Self)^.clr := $00000800
  13513. else
  13514. pTDefRegMap(@Self)^.&set := $00000800;
  13515. end;
  13516. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  13517. begin
  13518. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13519. end;
  13520. procedure TUART1_U1STA.setURXEN; inline;
  13521. begin
  13522. pTDefRegMap(@Self)^.&set := $00001000;
  13523. end;
  13524. procedure TUART1_U1STA.clearURXEN; inline;
  13525. begin
  13526. pTDefRegMap(@Self)^.clr := $00001000;
  13527. end;
  13528. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  13529. begin
  13530. if thebits = 0 then
  13531. pTDefRegMap(@Self)^.clr := $00001000
  13532. else
  13533. pTDefRegMap(@Self)^.&set := $00001000;
  13534. end;
  13535. function TUART1_U1STA.getURXEN : TBits_1; inline;
  13536. begin
  13537. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13538. end;
  13539. procedure TUART1_U1STA.setUTXINV; inline;
  13540. begin
  13541. pTDefRegMap(@Self)^.&set := $00002000;
  13542. end;
  13543. procedure TUART1_U1STA.clearUTXINV; inline;
  13544. begin
  13545. pTDefRegMap(@Self)^.clr := $00002000;
  13546. end;
  13547. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  13548. begin
  13549. if thebits = 0 then
  13550. pTDefRegMap(@Self)^.clr := $00002000
  13551. else
  13552. pTDefRegMap(@Self)^.&set := $00002000;
  13553. end;
  13554. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  13555. begin
  13556. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13557. end;
  13558. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  13559. begin
  13560. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  13561. end;
  13562. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  13563. begin
  13564. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  13565. end;
  13566. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  13567. begin
  13568. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  13569. end;
  13570. function TUART1_U1STA.getADDR : TBits_8; inline;
  13571. begin
  13572. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  13573. end;
  13574. procedure TUART1_U1STA.setADM_EN; inline;
  13575. begin
  13576. pTDefRegMap(@Self)^.&set := $01000000;
  13577. end;
  13578. procedure TUART1_U1STA.clearADM_EN; inline;
  13579. begin
  13580. pTDefRegMap(@Self)^.clr := $01000000;
  13581. end;
  13582. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  13583. begin
  13584. if thebits = 0 then
  13585. pTDefRegMap(@Self)^.clr := $01000000
  13586. else
  13587. pTDefRegMap(@Self)^.&set := $01000000;
  13588. end;
  13589. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  13590. begin
  13591. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  13592. end;
  13593. procedure TUART1_U1STA.setURXISEL0; inline;
  13594. begin
  13595. pTDefRegMap(@Self)^.&set := $00000040;
  13596. end;
  13597. procedure TUART1_U1STA.clearURXISEL0; inline;
  13598. begin
  13599. pTDefRegMap(@Self)^.clr := $00000040;
  13600. end;
  13601. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  13602. begin
  13603. if thebits = 0 then
  13604. pTDefRegMap(@Self)^.clr := $00000040
  13605. else
  13606. pTDefRegMap(@Self)^.&set := $00000040;
  13607. end;
  13608. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  13609. begin
  13610. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13611. end;
  13612. procedure TUART1_U1STA.setURXISEL1; inline;
  13613. begin
  13614. pTDefRegMap(@Self)^.&set := $00000080;
  13615. end;
  13616. procedure TUART1_U1STA.clearURXISEL1; inline;
  13617. begin
  13618. pTDefRegMap(@Self)^.clr := $00000080;
  13619. end;
  13620. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  13621. begin
  13622. if thebits = 0 then
  13623. pTDefRegMap(@Self)^.clr := $00000080
  13624. else
  13625. pTDefRegMap(@Self)^.&set := $00000080;
  13626. end;
  13627. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  13628. begin
  13629. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13630. end;
  13631. procedure TUART1_U1STA.setUTXISEL0; inline;
  13632. begin
  13633. pTDefRegMap(@Self)^.&set := $00004000;
  13634. end;
  13635. procedure TUART1_U1STA.clearUTXISEL0; inline;
  13636. begin
  13637. pTDefRegMap(@Self)^.clr := $00004000;
  13638. end;
  13639. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  13640. begin
  13641. if thebits = 0 then
  13642. pTDefRegMap(@Self)^.clr := $00004000
  13643. else
  13644. pTDefRegMap(@Self)^.&set := $00004000;
  13645. end;
  13646. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  13647. begin
  13648. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  13649. end;
  13650. procedure TUART1_U1STA.setUTXISEL1; inline;
  13651. begin
  13652. pTDefRegMap(@Self)^.&set := $00008000;
  13653. end;
  13654. procedure TUART1_U1STA.clearUTXISEL1; inline;
  13655. begin
  13656. pTDefRegMap(@Self)^.clr := $00008000;
  13657. end;
  13658. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  13659. begin
  13660. if thebits = 0 then
  13661. pTDefRegMap(@Self)^.clr := $00008000
  13662. else
  13663. pTDefRegMap(@Self)^.&set := $00008000;
  13664. end;
  13665. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  13666. begin
  13667. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13668. end;
  13669. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  13670. begin
  13671. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  13672. end;
  13673. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  13674. begin
  13675. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  13676. end;
  13677. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  13678. begin
  13679. pTDefRegMap(@Self)^.val := thebits;
  13680. end;
  13681. function TUART1_U1STA.getw : TBits_32; inline;
  13682. begin
  13683. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13684. end;
  13685. procedure TUART2_U2MODE.setSTSEL; inline;
  13686. begin
  13687. pTDefRegMap(@Self)^.&set := $00000001;
  13688. end;
  13689. procedure TUART2_U2MODE.clearSTSEL; inline;
  13690. begin
  13691. pTDefRegMap(@Self)^.clr := $00000001;
  13692. end;
  13693. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  13694. begin
  13695. if thebits = 0 then
  13696. pTDefRegMap(@Self)^.clr := $00000001
  13697. else
  13698. pTDefRegMap(@Self)^.&set := $00000001;
  13699. end;
  13700. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  13701. begin
  13702. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13703. end;
  13704. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  13705. begin
  13706. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  13707. end;
  13708. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  13709. begin
  13710. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  13711. end;
  13712. procedure TUART2_U2MODE.setBRGH; inline;
  13713. begin
  13714. pTDefRegMap(@Self)^.&set := $00000008;
  13715. end;
  13716. procedure TUART2_U2MODE.clearBRGH; inline;
  13717. begin
  13718. pTDefRegMap(@Self)^.clr := $00000008;
  13719. end;
  13720. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  13721. begin
  13722. if thebits = 0 then
  13723. pTDefRegMap(@Self)^.clr := $00000008
  13724. else
  13725. pTDefRegMap(@Self)^.&set := $00000008;
  13726. end;
  13727. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  13728. begin
  13729. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13730. end;
  13731. procedure TUART2_U2MODE.setRXINV; inline;
  13732. begin
  13733. pTDefRegMap(@Self)^.&set := $00000010;
  13734. end;
  13735. procedure TUART2_U2MODE.clearRXINV; inline;
  13736. begin
  13737. pTDefRegMap(@Self)^.clr := $00000010;
  13738. end;
  13739. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  13740. begin
  13741. if thebits = 0 then
  13742. pTDefRegMap(@Self)^.clr := $00000010
  13743. else
  13744. pTDefRegMap(@Self)^.&set := $00000010;
  13745. end;
  13746. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  13747. begin
  13748. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13749. end;
  13750. procedure TUART2_U2MODE.setABAUD; inline;
  13751. begin
  13752. pTDefRegMap(@Self)^.&set := $00000020;
  13753. end;
  13754. procedure TUART2_U2MODE.clearABAUD; inline;
  13755. begin
  13756. pTDefRegMap(@Self)^.clr := $00000020;
  13757. end;
  13758. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  13759. begin
  13760. if thebits = 0 then
  13761. pTDefRegMap(@Self)^.clr := $00000020
  13762. else
  13763. pTDefRegMap(@Self)^.&set := $00000020;
  13764. end;
  13765. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  13766. begin
  13767. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13768. end;
  13769. procedure TUART2_U2MODE.setLPBACK; inline;
  13770. begin
  13771. pTDefRegMap(@Self)^.&set := $00000040;
  13772. end;
  13773. procedure TUART2_U2MODE.clearLPBACK; inline;
  13774. begin
  13775. pTDefRegMap(@Self)^.clr := $00000040;
  13776. end;
  13777. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  13778. begin
  13779. if thebits = 0 then
  13780. pTDefRegMap(@Self)^.clr := $00000040
  13781. else
  13782. pTDefRegMap(@Self)^.&set := $00000040;
  13783. end;
  13784. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  13785. begin
  13786. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13787. end;
  13788. procedure TUART2_U2MODE.setWAKE; inline;
  13789. begin
  13790. pTDefRegMap(@Self)^.&set := $00000080;
  13791. end;
  13792. procedure TUART2_U2MODE.clearWAKE; inline;
  13793. begin
  13794. pTDefRegMap(@Self)^.clr := $00000080;
  13795. end;
  13796. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  13797. begin
  13798. if thebits = 0 then
  13799. pTDefRegMap(@Self)^.clr := $00000080
  13800. else
  13801. pTDefRegMap(@Self)^.&set := $00000080;
  13802. end;
  13803. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  13804. begin
  13805. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13806. end;
  13807. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  13808. begin
  13809. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  13810. end;
  13811. function TUART2_U2MODE.getUEN : TBits_2; inline;
  13812. begin
  13813. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  13814. end;
  13815. procedure TUART2_U2MODE.setRTSMD; inline;
  13816. begin
  13817. pTDefRegMap(@Self)^.&set := $00000800;
  13818. end;
  13819. procedure TUART2_U2MODE.clearRTSMD; inline;
  13820. begin
  13821. pTDefRegMap(@Self)^.clr := $00000800;
  13822. end;
  13823. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  13824. begin
  13825. if thebits = 0 then
  13826. pTDefRegMap(@Self)^.clr := $00000800
  13827. else
  13828. pTDefRegMap(@Self)^.&set := $00000800;
  13829. end;
  13830. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  13831. begin
  13832. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13833. end;
  13834. procedure TUART2_U2MODE.setIREN; inline;
  13835. begin
  13836. pTDefRegMap(@Self)^.&set := $00001000;
  13837. end;
  13838. procedure TUART2_U2MODE.clearIREN; inline;
  13839. begin
  13840. pTDefRegMap(@Self)^.clr := $00001000;
  13841. end;
  13842. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  13843. begin
  13844. if thebits = 0 then
  13845. pTDefRegMap(@Self)^.clr := $00001000
  13846. else
  13847. pTDefRegMap(@Self)^.&set := $00001000;
  13848. end;
  13849. function TUART2_U2MODE.getIREN : TBits_1; inline;
  13850. begin
  13851. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13852. end;
  13853. procedure TUART2_U2MODE.setSIDL; inline;
  13854. begin
  13855. pTDefRegMap(@Self)^.&set := $00002000;
  13856. end;
  13857. procedure TUART2_U2MODE.clearSIDL; inline;
  13858. begin
  13859. pTDefRegMap(@Self)^.clr := $00002000;
  13860. end;
  13861. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  13862. begin
  13863. if thebits = 0 then
  13864. pTDefRegMap(@Self)^.clr := $00002000
  13865. else
  13866. pTDefRegMap(@Self)^.&set := $00002000;
  13867. end;
  13868. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  13869. begin
  13870. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13871. end;
  13872. procedure TUART2_U2MODE.setON; inline;
  13873. begin
  13874. pTDefRegMap(@Self)^.&set := $00008000;
  13875. end;
  13876. procedure TUART2_U2MODE.clearON; inline;
  13877. begin
  13878. pTDefRegMap(@Self)^.clr := $00008000;
  13879. end;
  13880. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  13881. begin
  13882. if thebits = 0 then
  13883. pTDefRegMap(@Self)^.clr := $00008000
  13884. else
  13885. pTDefRegMap(@Self)^.&set := $00008000;
  13886. end;
  13887. function TUART2_U2MODE.getON : TBits_1; inline;
  13888. begin
  13889. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13890. end;
  13891. procedure TUART2_U2MODE.setPDSEL0; inline;
  13892. begin
  13893. pTDefRegMap(@Self)^.&set := $00000002;
  13894. end;
  13895. procedure TUART2_U2MODE.clearPDSEL0; inline;
  13896. begin
  13897. pTDefRegMap(@Self)^.clr := $00000002;
  13898. end;
  13899. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  13900. begin
  13901. if thebits = 0 then
  13902. pTDefRegMap(@Self)^.clr := $00000002
  13903. else
  13904. pTDefRegMap(@Self)^.&set := $00000002;
  13905. end;
  13906. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  13907. begin
  13908. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13909. end;
  13910. procedure TUART2_U2MODE.setPDSEL1; inline;
  13911. begin
  13912. pTDefRegMap(@Self)^.&set := $00000004;
  13913. end;
  13914. procedure TUART2_U2MODE.clearPDSEL1; inline;
  13915. begin
  13916. pTDefRegMap(@Self)^.clr := $00000004;
  13917. end;
  13918. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  13919. begin
  13920. if thebits = 0 then
  13921. pTDefRegMap(@Self)^.clr := $00000004
  13922. else
  13923. pTDefRegMap(@Self)^.&set := $00000004;
  13924. end;
  13925. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  13926. begin
  13927. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13928. end;
  13929. procedure TUART2_U2MODE.setUEN0; inline;
  13930. begin
  13931. pTDefRegMap(@Self)^.&set := $00000100;
  13932. end;
  13933. procedure TUART2_U2MODE.clearUEN0; inline;
  13934. begin
  13935. pTDefRegMap(@Self)^.clr := $00000100;
  13936. end;
  13937. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  13938. begin
  13939. if thebits = 0 then
  13940. pTDefRegMap(@Self)^.clr := $00000100
  13941. else
  13942. pTDefRegMap(@Self)^.&set := $00000100;
  13943. end;
  13944. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  13945. begin
  13946. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13947. end;
  13948. procedure TUART2_U2MODE.setUEN1; inline;
  13949. begin
  13950. pTDefRegMap(@Self)^.&set := $00000200;
  13951. end;
  13952. procedure TUART2_U2MODE.clearUEN1; inline;
  13953. begin
  13954. pTDefRegMap(@Self)^.clr := $00000200;
  13955. end;
  13956. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  13957. begin
  13958. if thebits = 0 then
  13959. pTDefRegMap(@Self)^.clr := $00000200
  13960. else
  13961. pTDefRegMap(@Self)^.&set := $00000200;
  13962. end;
  13963. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  13964. begin
  13965. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13966. end;
  13967. procedure TUART2_U2MODE.setUSIDL; inline;
  13968. begin
  13969. pTDefRegMap(@Self)^.&set := $00002000;
  13970. end;
  13971. procedure TUART2_U2MODE.clearUSIDL; inline;
  13972. begin
  13973. pTDefRegMap(@Self)^.clr := $00002000;
  13974. end;
  13975. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  13976. begin
  13977. if thebits = 0 then
  13978. pTDefRegMap(@Self)^.clr := $00002000
  13979. else
  13980. pTDefRegMap(@Self)^.&set := $00002000;
  13981. end;
  13982. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  13983. begin
  13984. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13985. end;
  13986. procedure TUART2_U2MODE.setUARTEN; inline;
  13987. begin
  13988. pTDefRegMap(@Self)^.&set := $00008000;
  13989. end;
  13990. procedure TUART2_U2MODE.clearUARTEN; inline;
  13991. begin
  13992. pTDefRegMap(@Self)^.clr := $00008000;
  13993. end;
  13994. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  13995. begin
  13996. if thebits = 0 then
  13997. pTDefRegMap(@Self)^.clr := $00008000
  13998. else
  13999. pTDefRegMap(@Self)^.&set := $00008000;
  14000. end;
  14001. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  14002. begin
  14003. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14004. end;
  14005. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  14006. begin
  14007. pTDefRegMap(@Self)^.val := thebits;
  14008. end;
  14009. function TUART2_U2MODE.getw : TBits_32; inline;
  14010. begin
  14011. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14012. end;
  14013. procedure TUART2_U2STA.setURXDA; inline;
  14014. begin
  14015. pTDefRegMap(@Self)^.&set := $00000001;
  14016. end;
  14017. procedure TUART2_U2STA.clearURXDA; inline;
  14018. begin
  14019. pTDefRegMap(@Self)^.clr := $00000001;
  14020. end;
  14021. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  14022. begin
  14023. if thebits = 0 then
  14024. pTDefRegMap(@Self)^.clr := $00000001
  14025. else
  14026. pTDefRegMap(@Self)^.&set := $00000001;
  14027. end;
  14028. function TUART2_U2STA.getURXDA : TBits_1; inline;
  14029. begin
  14030. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14031. end;
  14032. procedure TUART2_U2STA.setOERR; inline;
  14033. begin
  14034. pTDefRegMap(@Self)^.&set := $00000002;
  14035. end;
  14036. procedure TUART2_U2STA.clearOERR; inline;
  14037. begin
  14038. pTDefRegMap(@Self)^.clr := $00000002;
  14039. end;
  14040. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  14041. begin
  14042. if thebits = 0 then
  14043. pTDefRegMap(@Self)^.clr := $00000002
  14044. else
  14045. pTDefRegMap(@Self)^.&set := $00000002;
  14046. end;
  14047. function TUART2_U2STA.getOERR : TBits_1; inline;
  14048. begin
  14049. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14050. end;
  14051. procedure TUART2_U2STA.setFERR; inline;
  14052. begin
  14053. pTDefRegMap(@Self)^.&set := $00000004;
  14054. end;
  14055. procedure TUART2_U2STA.clearFERR; inline;
  14056. begin
  14057. pTDefRegMap(@Self)^.clr := $00000004;
  14058. end;
  14059. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  14060. begin
  14061. if thebits = 0 then
  14062. pTDefRegMap(@Self)^.clr := $00000004
  14063. else
  14064. pTDefRegMap(@Self)^.&set := $00000004;
  14065. end;
  14066. function TUART2_U2STA.getFERR : TBits_1; inline;
  14067. begin
  14068. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14069. end;
  14070. procedure TUART2_U2STA.setPERR; inline;
  14071. begin
  14072. pTDefRegMap(@Self)^.&set := $00000008;
  14073. end;
  14074. procedure TUART2_U2STA.clearPERR; inline;
  14075. begin
  14076. pTDefRegMap(@Self)^.clr := $00000008;
  14077. end;
  14078. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  14079. begin
  14080. if thebits = 0 then
  14081. pTDefRegMap(@Self)^.clr := $00000008
  14082. else
  14083. pTDefRegMap(@Self)^.&set := $00000008;
  14084. end;
  14085. function TUART2_U2STA.getPERR : TBits_1; inline;
  14086. begin
  14087. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14088. end;
  14089. procedure TUART2_U2STA.setRIDLE; inline;
  14090. begin
  14091. pTDefRegMap(@Self)^.&set := $00000010;
  14092. end;
  14093. procedure TUART2_U2STA.clearRIDLE; inline;
  14094. begin
  14095. pTDefRegMap(@Self)^.clr := $00000010;
  14096. end;
  14097. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  14098. begin
  14099. if thebits = 0 then
  14100. pTDefRegMap(@Self)^.clr := $00000010
  14101. else
  14102. pTDefRegMap(@Self)^.&set := $00000010;
  14103. end;
  14104. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  14105. begin
  14106. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14107. end;
  14108. procedure TUART2_U2STA.setADDEN; inline;
  14109. begin
  14110. pTDefRegMap(@Self)^.&set := $00000020;
  14111. end;
  14112. procedure TUART2_U2STA.clearADDEN; inline;
  14113. begin
  14114. pTDefRegMap(@Self)^.clr := $00000020;
  14115. end;
  14116. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  14117. begin
  14118. if thebits = 0 then
  14119. pTDefRegMap(@Self)^.clr := $00000020
  14120. else
  14121. pTDefRegMap(@Self)^.&set := $00000020;
  14122. end;
  14123. function TUART2_U2STA.getADDEN : TBits_1; inline;
  14124. begin
  14125. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14126. end;
  14127. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  14128. begin
  14129. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  14130. end;
  14131. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  14132. begin
  14133. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  14134. end;
  14135. procedure TUART2_U2STA.setTRMT; inline;
  14136. begin
  14137. pTDefRegMap(@Self)^.&set := $00000100;
  14138. end;
  14139. procedure TUART2_U2STA.clearTRMT; inline;
  14140. begin
  14141. pTDefRegMap(@Self)^.clr := $00000100;
  14142. end;
  14143. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  14144. begin
  14145. if thebits = 0 then
  14146. pTDefRegMap(@Self)^.clr := $00000100
  14147. else
  14148. pTDefRegMap(@Self)^.&set := $00000100;
  14149. end;
  14150. function TUART2_U2STA.getTRMT : TBits_1; inline;
  14151. begin
  14152. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14153. end;
  14154. procedure TUART2_U2STA.setUTXBF; inline;
  14155. begin
  14156. pTDefRegMap(@Self)^.&set := $00000200;
  14157. end;
  14158. procedure TUART2_U2STA.clearUTXBF; inline;
  14159. begin
  14160. pTDefRegMap(@Self)^.clr := $00000200;
  14161. end;
  14162. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  14163. begin
  14164. if thebits = 0 then
  14165. pTDefRegMap(@Self)^.clr := $00000200
  14166. else
  14167. pTDefRegMap(@Self)^.&set := $00000200;
  14168. end;
  14169. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  14170. begin
  14171. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14172. end;
  14173. procedure TUART2_U2STA.setUTXEN; inline;
  14174. begin
  14175. pTDefRegMap(@Self)^.&set := $00000400;
  14176. end;
  14177. procedure TUART2_U2STA.clearUTXEN; inline;
  14178. begin
  14179. pTDefRegMap(@Self)^.clr := $00000400;
  14180. end;
  14181. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  14182. begin
  14183. if thebits = 0 then
  14184. pTDefRegMap(@Self)^.clr := $00000400
  14185. else
  14186. pTDefRegMap(@Self)^.&set := $00000400;
  14187. end;
  14188. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  14189. begin
  14190. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14191. end;
  14192. procedure TUART2_U2STA.setUTXBRK; inline;
  14193. begin
  14194. pTDefRegMap(@Self)^.&set := $00000800;
  14195. end;
  14196. procedure TUART2_U2STA.clearUTXBRK; inline;
  14197. begin
  14198. pTDefRegMap(@Self)^.clr := $00000800;
  14199. end;
  14200. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  14201. begin
  14202. if thebits = 0 then
  14203. pTDefRegMap(@Self)^.clr := $00000800
  14204. else
  14205. pTDefRegMap(@Self)^.&set := $00000800;
  14206. end;
  14207. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  14208. begin
  14209. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14210. end;
  14211. procedure TUART2_U2STA.setURXEN; inline;
  14212. begin
  14213. pTDefRegMap(@Self)^.&set := $00001000;
  14214. end;
  14215. procedure TUART2_U2STA.clearURXEN; inline;
  14216. begin
  14217. pTDefRegMap(@Self)^.clr := $00001000;
  14218. end;
  14219. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  14220. begin
  14221. if thebits = 0 then
  14222. pTDefRegMap(@Self)^.clr := $00001000
  14223. else
  14224. pTDefRegMap(@Self)^.&set := $00001000;
  14225. end;
  14226. function TUART2_U2STA.getURXEN : TBits_1; inline;
  14227. begin
  14228. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14229. end;
  14230. procedure TUART2_U2STA.setUTXINV; inline;
  14231. begin
  14232. pTDefRegMap(@Self)^.&set := $00002000;
  14233. end;
  14234. procedure TUART2_U2STA.clearUTXINV; inline;
  14235. begin
  14236. pTDefRegMap(@Self)^.clr := $00002000;
  14237. end;
  14238. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  14239. begin
  14240. if thebits = 0 then
  14241. pTDefRegMap(@Self)^.clr := $00002000
  14242. else
  14243. pTDefRegMap(@Self)^.&set := $00002000;
  14244. end;
  14245. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  14246. begin
  14247. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14248. end;
  14249. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  14250. begin
  14251. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  14252. end;
  14253. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  14254. begin
  14255. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  14256. end;
  14257. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  14258. begin
  14259. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  14260. end;
  14261. function TUART2_U2STA.getADDR : TBits_8; inline;
  14262. begin
  14263. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  14264. end;
  14265. procedure TUART2_U2STA.setADM_EN; inline;
  14266. begin
  14267. pTDefRegMap(@Self)^.&set := $01000000;
  14268. end;
  14269. procedure TUART2_U2STA.clearADM_EN; inline;
  14270. begin
  14271. pTDefRegMap(@Self)^.clr := $01000000;
  14272. end;
  14273. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  14274. begin
  14275. if thebits = 0 then
  14276. pTDefRegMap(@Self)^.clr := $01000000
  14277. else
  14278. pTDefRegMap(@Self)^.&set := $01000000;
  14279. end;
  14280. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  14281. begin
  14282. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  14283. end;
  14284. procedure TUART2_U2STA.setURXISEL0; inline;
  14285. begin
  14286. pTDefRegMap(@Self)^.&set := $00000040;
  14287. end;
  14288. procedure TUART2_U2STA.clearURXISEL0; inline;
  14289. begin
  14290. pTDefRegMap(@Self)^.clr := $00000040;
  14291. end;
  14292. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  14293. begin
  14294. if thebits = 0 then
  14295. pTDefRegMap(@Self)^.clr := $00000040
  14296. else
  14297. pTDefRegMap(@Self)^.&set := $00000040;
  14298. end;
  14299. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  14300. begin
  14301. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14302. end;
  14303. procedure TUART2_U2STA.setURXISEL1; inline;
  14304. begin
  14305. pTDefRegMap(@Self)^.&set := $00000080;
  14306. end;
  14307. procedure TUART2_U2STA.clearURXISEL1; inline;
  14308. begin
  14309. pTDefRegMap(@Self)^.clr := $00000080;
  14310. end;
  14311. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  14312. begin
  14313. if thebits = 0 then
  14314. pTDefRegMap(@Self)^.clr := $00000080
  14315. else
  14316. pTDefRegMap(@Self)^.&set := $00000080;
  14317. end;
  14318. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  14319. begin
  14320. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14321. end;
  14322. procedure TUART2_U2STA.setUTXISEL0; inline;
  14323. begin
  14324. pTDefRegMap(@Self)^.&set := $00004000;
  14325. end;
  14326. procedure TUART2_U2STA.clearUTXISEL0; inline;
  14327. begin
  14328. pTDefRegMap(@Self)^.clr := $00004000;
  14329. end;
  14330. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  14331. begin
  14332. if thebits = 0 then
  14333. pTDefRegMap(@Self)^.clr := $00004000
  14334. else
  14335. pTDefRegMap(@Self)^.&set := $00004000;
  14336. end;
  14337. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  14338. begin
  14339. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14340. end;
  14341. procedure TUART2_U2STA.setUTXISEL1; inline;
  14342. begin
  14343. pTDefRegMap(@Self)^.&set := $00008000;
  14344. end;
  14345. procedure TUART2_U2STA.clearUTXISEL1; inline;
  14346. begin
  14347. pTDefRegMap(@Self)^.clr := $00008000;
  14348. end;
  14349. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  14350. begin
  14351. if thebits = 0 then
  14352. pTDefRegMap(@Self)^.clr := $00008000
  14353. else
  14354. pTDefRegMap(@Self)^.&set := $00008000;
  14355. end;
  14356. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  14357. begin
  14358. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14359. end;
  14360. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  14361. begin
  14362. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  14363. end;
  14364. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  14365. begin
  14366. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  14367. end;
  14368. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  14369. begin
  14370. pTDefRegMap(@Self)^.val := thebits;
  14371. end;
  14372. function TUART2_U2STA.getw : TBits_32; inline;
  14373. begin
  14374. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14375. end;
  14376. procedure TPMP_PMCON.setRDSP; inline;
  14377. begin
  14378. pTDefRegMap(@Self)^.&set := $00000001;
  14379. end;
  14380. procedure TPMP_PMCON.clearRDSP; inline;
  14381. begin
  14382. pTDefRegMap(@Self)^.clr := $00000001;
  14383. end;
  14384. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  14385. begin
  14386. if thebits = 0 then
  14387. pTDefRegMap(@Self)^.clr := $00000001
  14388. else
  14389. pTDefRegMap(@Self)^.&set := $00000001;
  14390. end;
  14391. function TPMP_PMCON.getRDSP : TBits_1; inline;
  14392. begin
  14393. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14394. end;
  14395. procedure TPMP_PMCON.setWRSP; inline;
  14396. begin
  14397. pTDefRegMap(@Self)^.&set := $00000002;
  14398. end;
  14399. procedure TPMP_PMCON.clearWRSP; inline;
  14400. begin
  14401. pTDefRegMap(@Self)^.clr := $00000002;
  14402. end;
  14403. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  14404. begin
  14405. if thebits = 0 then
  14406. pTDefRegMap(@Self)^.clr := $00000002
  14407. else
  14408. pTDefRegMap(@Self)^.&set := $00000002;
  14409. end;
  14410. function TPMP_PMCON.getWRSP : TBits_1; inline;
  14411. begin
  14412. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14413. end;
  14414. procedure TPMP_PMCON.setCS1P; inline;
  14415. begin
  14416. pTDefRegMap(@Self)^.&set := $00000008;
  14417. end;
  14418. procedure TPMP_PMCON.clearCS1P; inline;
  14419. begin
  14420. pTDefRegMap(@Self)^.clr := $00000008;
  14421. end;
  14422. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  14423. begin
  14424. if thebits = 0 then
  14425. pTDefRegMap(@Self)^.clr := $00000008
  14426. else
  14427. pTDefRegMap(@Self)^.&set := $00000008;
  14428. end;
  14429. function TPMP_PMCON.getCS1P : TBits_1; inline;
  14430. begin
  14431. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14432. end;
  14433. procedure TPMP_PMCON.setCS2P; inline;
  14434. begin
  14435. pTDefRegMap(@Self)^.&set := $00000010;
  14436. end;
  14437. procedure TPMP_PMCON.clearCS2P; inline;
  14438. begin
  14439. pTDefRegMap(@Self)^.clr := $00000010;
  14440. end;
  14441. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  14442. begin
  14443. if thebits = 0 then
  14444. pTDefRegMap(@Self)^.clr := $00000010
  14445. else
  14446. pTDefRegMap(@Self)^.&set := $00000010;
  14447. end;
  14448. function TPMP_PMCON.getCS2P : TBits_1; inline;
  14449. begin
  14450. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14451. end;
  14452. procedure TPMP_PMCON.setALP; inline;
  14453. begin
  14454. pTDefRegMap(@Self)^.&set := $00000020;
  14455. end;
  14456. procedure TPMP_PMCON.clearALP; inline;
  14457. begin
  14458. pTDefRegMap(@Self)^.clr := $00000020;
  14459. end;
  14460. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  14461. begin
  14462. if thebits = 0 then
  14463. pTDefRegMap(@Self)^.clr := $00000020
  14464. else
  14465. pTDefRegMap(@Self)^.&set := $00000020;
  14466. end;
  14467. function TPMP_PMCON.getALP : TBits_1; inline;
  14468. begin
  14469. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14470. end;
  14471. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  14472. begin
  14473. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  14474. end;
  14475. function TPMP_PMCON.getCSF : TBits_2; inline;
  14476. begin
  14477. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  14478. end;
  14479. procedure TPMP_PMCON.setPTRDEN; inline;
  14480. begin
  14481. pTDefRegMap(@Self)^.&set := $00000100;
  14482. end;
  14483. procedure TPMP_PMCON.clearPTRDEN; inline;
  14484. begin
  14485. pTDefRegMap(@Self)^.clr := $00000100;
  14486. end;
  14487. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  14488. begin
  14489. if thebits = 0 then
  14490. pTDefRegMap(@Self)^.clr := $00000100
  14491. else
  14492. pTDefRegMap(@Self)^.&set := $00000100;
  14493. end;
  14494. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  14495. begin
  14496. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14497. end;
  14498. procedure TPMP_PMCON.setPTWREN; inline;
  14499. begin
  14500. pTDefRegMap(@Self)^.&set := $00000200;
  14501. end;
  14502. procedure TPMP_PMCON.clearPTWREN; inline;
  14503. begin
  14504. pTDefRegMap(@Self)^.clr := $00000200;
  14505. end;
  14506. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  14507. begin
  14508. if thebits = 0 then
  14509. pTDefRegMap(@Self)^.clr := $00000200
  14510. else
  14511. pTDefRegMap(@Self)^.&set := $00000200;
  14512. end;
  14513. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  14514. begin
  14515. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14516. end;
  14517. procedure TPMP_PMCON.setPMPTTL; inline;
  14518. begin
  14519. pTDefRegMap(@Self)^.&set := $00000400;
  14520. end;
  14521. procedure TPMP_PMCON.clearPMPTTL; inline;
  14522. begin
  14523. pTDefRegMap(@Self)^.clr := $00000400;
  14524. end;
  14525. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  14526. begin
  14527. if thebits = 0 then
  14528. pTDefRegMap(@Self)^.clr := $00000400
  14529. else
  14530. pTDefRegMap(@Self)^.&set := $00000400;
  14531. end;
  14532. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  14533. begin
  14534. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14535. end;
  14536. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  14537. begin
  14538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  14539. end;
  14540. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  14541. begin
  14542. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  14543. end;
  14544. procedure TPMP_PMCON.setSIDL; inline;
  14545. begin
  14546. pTDefRegMap(@Self)^.&set := $00002000;
  14547. end;
  14548. procedure TPMP_PMCON.clearSIDL; inline;
  14549. begin
  14550. pTDefRegMap(@Self)^.clr := $00002000;
  14551. end;
  14552. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  14553. begin
  14554. if thebits = 0 then
  14555. pTDefRegMap(@Self)^.clr := $00002000
  14556. else
  14557. pTDefRegMap(@Self)^.&set := $00002000;
  14558. end;
  14559. function TPMP_PMCON.getSIDL : TBits_1; inline;
  14560. begin
  14561. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14562. end;
  14563. procedure TPMP_PMCON.setON; inline;
  14564. begin
  14565. pTDefRegMap(@Self)^.&set := $00008000;
  14566. end;
  14567. procedure TPMP_PMCON.clearON; inline;
  14568. begin
  14569. pTDefRegMap(@Self)^.clr := $00008000;
  14570. end;
  14571. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  14572. begin
  14573. if thebits = 0 then
  14574. pTDefRegMap(@Self)^.clr := $00008000
  14575. else
  14576. pTDefRegMap(@Self)^.&set := $00008000;
  14577. end;
  14578. function TPMP_PMCON.getON : TBits_1; inline;
  14579. begin
  14580. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14581. end;
  14582. procedure TPMP_PMCON.setCSF0; inline;
  14583. begin
  14584. pTDefRegMap(@Self)^.&set := $00000040;
  14585. end;
  14586. procedure TPMP_PMCON.clearCSF0; inline;
  14587. begin
  14588. pTDefRegMap(@Self)^.clr := $00000040;
  14589. end;
  14590. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  14591. begin
  14592. if thebits = 0 then
  14593. pTDefRegMap(@Self)^.clr := $00000040
  14594. else
  14595. pTDefRegMap(@Self)^.&set := $00000040;
  14596. end;
  14597. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  14598. begin
  14599. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14600. end;
  14601. procedure TPMP_PMCON.setCSF1; inline;
  14602. begin
  14603. pTDefRegMap(@Self)^.&set := $00000080;
  14604. end;
  14605. procedure TPMP_PMCON.clearCSF1; inline;
  14606. begin
  14607. pTDefRegMap(@Self)^.clr := $00000080;
  14608. end;
  14609. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  14610. begin
  14611. if thebits = 0 then
  14612. pTDefRegMap(@Self)^.clr := $00000080
  14613. else
  14614. pTDefRegMap(@Self)^.&set := $00000080;
  14615. end;
  14616. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  14617. begin
  14618. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14619. end;
  14620. procedure TPMP_PMCON.setADRMUX0; inline;
  14621. begin
  14622. pTDefRegMap(@Self)^.&set := $00000800;
  14623. end;
  14624. procedure TPMP_PMCON.clearADRMUX0; inline;
  14625. begin
  14626. pTDefRegMap(@Self)^.clr := $00000800;
  14627. end;
  14628. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  14629. begin
  14630. if thebits = 0 then
  14631. pTDefRegMap(@Self)^.clr := $00000800
  14632. else
  14633. pTDefRegMap(@Self)^.&set := $00000800;
  14634. end;
  14635. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  14636. begin
  14637. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14638. end;
  14639. procedure TPMP_PMCON.setADRMUX1; inline;
  14640. begin
  14641. pTDefRegMap(@Self)^.&set := $00001000;
  14642. end;
  14643. procedure TPMP_PMCON.clearADRMUX1; inline;
  14644. begin
  14645. pTDefRegMap(@Self)^.clr := $00001000;
  14646. end;
  14647. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  14648. begin
  14649. if thebits = 0 then
  14650. pTDefRegMap(@Self)^.clr := $00001000
  14651. else
  14652. pTDefRegMap(@Self)^.&set := $00001000;
  14653. end;
  14654. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  14655. begin
  14656. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14657. end;
  14658. procedure TPMP_PMCON.setPSIDL; inline;
  14659. begin
  14660. pTDefRegMap(@Self)^.&set := $00002000;
  14661. end;
  14662. procedure TPMP_PMCON.clearPSIDL; inline;
  14663. begin
  14664. pTDefRegMap(@Self)^.clr := $00002000;
  14665. end;
  14666. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  14667. begin
  14668. if thebits = 0 then
  14669. pTDefRegMap(@Self)^.clr := $00002000
  14670. else
  14671. pTDefRegMap(@Self)^.&set := $00002000;
  14672. end;
  14673. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  14674. begin
  14675. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14676. end;
  14677. procedure TPMP_PMCON.setPMPEN; inline;
  14678. begin
  14679. pTDefRegMap(@Self)^.&set := $00008000;
  14680. end;
  14681. procedure TPMP_PMCON.clearPMPEN; inline;
  14682. begin
  14683. pTDefRegMap(@Self)^.clr := $00008000;
  14684. end;
  14685. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  14686. begin
  14687. if thebits = 0 then
  14688. pTDefRegMap(@Self)^.clr := $00008000
  14689. else
  14690. pTDefRegMap(@Self)^.&set := $00008000;
  14691. end;
  14692. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  14693. begin
  14694. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14695. end;
  14696. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  14697. begin
  14698. pTDefRegMap(@Self)^.val := thebits;
  14699. end;
  14700. function TPMP_PMCON.getw : TBits_32; inline;
  14701. begin
  14702. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14703. end;
  14704. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  14705. begin
  14706. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  14707. end;
  14708. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  14709. begin
  14710. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  14711. end;
  14712. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  14713. begin
  14714. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  14715. end;
  14716. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  14717. begin
  14718. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  14719. end;
  14720. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  14721. begin
  14722. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  14723. end;
  14724. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  14725. begin
  14726. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  14727. end;
  14728. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  14729. begin
  14730. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  14731. end;
  14732. function TPMP_PMMODE.getMODE : TBits_2; inline;
  14733. begin
  14734. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  14735. end;
  14736. procedure TPMP_PMMODE.setMODE16; inline;
  14737. begin
  14738. pTDefRegMap(@Self)^.&set := $00000400;
  14739. end;
  14740. procedure TPMP_PMMODE.clearMODE16; inline;
  14741. begin
  14742. pTDefRegMap(@Self)^.clr := $00000400;
  14743. end;
  14744. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  14745. begin
  14746. if thebits = 0 then
  14747. pTDefRegMap(@Self)^.clr := $00000400
  14748. else
  14749. pTDefRegMap(@Self)^.&set := $00000400;
  14750. end;
  14751. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  14752. begin
  14753. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14754. end;
  14755. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  14756. begin
  14757. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  14758. end;
  14759. function TPMP_PMMODE.getINCM : TBits_2; inline;
  14760. begin
  14761. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  14762. end;
  14763. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  14764. begin
  14765. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  14766. end;
  14767. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  14768. begin
  14769. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  14770. end;
  14771. procedure TPMP_PMMODE.setBUSY; inline;
  14772. begin
  14773. pTDefRegMap(@Self)^.&set := $00008000;
  14774. end;
  14775. procedure TPMP_PMMODE.clearBUSY; inline;
  14776. begin
  14777. pTDefRegMap(@Self)^.clr := $00008000;
  14778. end;
  14779. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  14780. begin
  14781. if thebits = 0 then
  14782. pTDefRegMap(@Self)^.clr := $00008000
  14783. else
  14784. pTDefRegMap(@Self)^.&set := $00008000;
  14785. end;
  14786. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  14787. begin
  14788. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14789. end;
  14790. procedure TPMP_PMMODE.setWAITE0; inline;
  14791. begin
  14792. pTDefRegMap(@Self)^.&set := $00000001;
  14793. end;
  14794. procedure TPMP_PMMODE.clearWAITE0; inline;
  14795. begin
  14796. pTDefRegMap(@Self)^.clr := $00000001;
  14797. end;
  14798. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  14799. begin
  14800. if thebits = 0 then
  14801. pTDefRegMap(@Self)^.clr := $00000001
  14802. else
  14803. pTDefRegMap(@Self)^.&set := $00000001;
  14804. end;
  14805. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  14806. begin
  14807. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14808. end;
  14809. procedure TPMP_PMMODE.setWAITE1; inline;
  14810. begin
  14811. pTDefRegMap(@Self)^.&set := $00000002;
  14812. end;
  14813. procedure TPMP_PMMODE.clearWAITE1; inline;
  14814. begin
  14815. pTDefRegMap(@Self)^.clr := $00000002;
  14816. end;
  14817. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  14818. begin
  14819. if thebits = 0 then
  14820. pTDefRegMap(@Self)^.clr := $00000002
  14821. else
  14822. pTDefRegMap(@Self)^.&set := $00000002;
  14823. end;
  14824. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  14825. begin
  14826. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14827. end;
  14828. procedure TPMP_PMMODE.setWAITM0; inline;
  14829. begin
  14830. pTDefRegMap(@Self)^.&set := $00000004;
  14831. end;
  14832. procedure TPMP_PMMODE.clearWAITM0; inline;
  14833. begin
  14834. pTDefRegMap(@Self)^.clr := $00000004;
  14835. end;
  14836. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  14837. begin
  14838. if thebits = 0 then
  14839. pTDefRegMap(@Self)^.clr := $00000004
  14840. else
  14841. pTDefRegMap(@Self)^.&set := $00000004;
  14842. end;
  14843. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  14844. begin
  14845. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14846. end;
  14847. procedure TPMP_PMMODE.setWAITM1; inline;
  14848. begin
  14849. pTDefRegMap(@Self)^.&set := $00000008;
  14850. end;
  14851. procedure TPMP_PMMODE.clearWAITM1; inline;
  14852. begin
  14853. pTDefRegMap(@Self)^.clr := $00000008;
  14854. end;
  14855. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  14856. begin
  14857. if thebits = 0 then
  14858. pTDefRegMap(@Self)^.clr := $00000008
  14859. else
  14860. pTDefRegMap(@Self)^.&set := $00000008;
  14861. end;
  14862. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  14863. begin
  14864. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14865. end;
  14866. procedure TPMP_PMMODE.setWAITM2; inline;
  14867. begin
  14868. pTDefRegMap(@Self)^.&set := $00000010;
  14869. end;
  14870. procedure TPMP_PMMODE.clearWAITM2; inline;
  14871. begin
  14872. pTDefRegMap(@Self)^.clr := $00000010;
  14873. end;
  14874. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  14875. begin
  14876. if thebits = 0 then
  14877. pTDefRegMap(@Self)^.clr := $00000010
  14878. else
  14879. pTDefRegMap(@Self)^.&set := $00000010;
  14880. end;
  14881. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  14882. begin
  14883. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14884. end;
  14885. procedure TPMP_PMMODE.setWAITM3; inline;
  14886. begin
  14887. pTDefRegMap(@Self)^.&set := $00000020;
  14888. end;
  14889. procedure TPMP_PMMODE.clearWAITM3; inline;
  14890. begin
  14891. pTDefRegMap(@Self)^.clr := $00000020;
  14892. end;
  14893. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  14894. begin
  14895. if thebits = 0 then
  14896. pTDefRegMap(@Self)^.clr := $00000020
  14897. else
  14898. pTDefRegMap(@Self)^.&set := $00000020;
  14899. end;
  14900. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  14901. begin
  14902. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14903. end;
  14904. procedure TPMP_PMMODE.setWAITB0; inline;
  14905. begin
  14906. pTDefRegMap(@Self)^.&set := $00000040;
  14907. end;
  14908. procedure TPMP_PMMODE.clearWAITB0; inline;
  14909. begin
  14910. pTDefRegMap(@Self)^.clr := $00000040;
  14911. end;
  14912. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  14913. begin
  14914. if thebits = 0 then
  14915. pTDefRegMap(@Self)^.clr := $00000040
  14916. else
  14917. pTDefRegMap(@Self)^.&set := $00000040;
  14918. end;
  14919. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  14920. begin
  14921. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14922. end;
  14923. procedure TPMP_PMMODE.setWAITB1; inline;
  14924. begin
  14925. pTDefRegMap(@Self)^.&set := $00000080;
  14926. end;
  14927. procedure TPMP_PMMODE.clearWAITB1; inline;
  14928. begin
  14929. pTDefRegMap(@Self)^.clr := $00000080;
  14930. end;
  14931. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  14932. begin
  14933. if thebits = 0 then
  14934. pTDefRegMap(@Self)^.clr := $00000080
  14935. else
  14936. pTDefRegMap(@Self)^.&set := $00000080;
  14937. end;
  14938. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  14939. begin
  14940. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14941. end;
  14942. procedure TPMP_PMMODE.setMODE0; inline;
  14943. begin
  14944. pTDefRegMap(@Self)^.&set := $00000100;
  14945. end;
  14946. procedure TPMP_PMMODE.clearMODE0; inline;
  14947. begin
  14948. pTDefRegMap(@Self)^.clr := $00000100;
  14949. end;
  14950. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  14951. begin
  14952. if thebits = 0 then
  14953. pTDefRegMap(@Self)^.clr := $00000100
  14954. else
  14955. pTDefRegMap(@Self)^.&set := $00000100;
  14956. end;
  14957. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  14958. begin
  14959. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14960. end;
  14961. procedure TPMP_PMMODE.setMODE1; inline;
  14962. begin
  14963. pTDefRegMap(@Self)^.&set := $00000200;
  14964. end;
  14965. procedure TPMP_PMMODE.clearMODE1; inline;
  14966. begin
  14967. pTDefRegMap(@Self)^.clr := $00000200;
  14968. end;
  14969. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  14970. begin
  14971. if thebits = 0 then
  14972. pTDefRegMap(@Self)^.clr := $00000200
  14973. else
  14974. pTDefRegMap(@Self)^.&set := $00000200;
  14975. end;
  14976. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  14977. begin
  14978. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14979. end;
  14980. procedure TPMP_PMMODE.setINCM0; inline;
  14981. begin
  14982. pTDefRegMap(@Self)^.&set := $00000800;
  14983. end;
  14984. procedure TPMP_PMMODE.clearINCM0; inline;
  14985. begin
  14986. pTDefRegMap(@Self)^.clr := $00000800;
  14987. end;
  14988. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  14989. begin
  14990. if thebits = 0 then
  14991. pTDefRegMap(@Self)^.clr := $00000800
  14992. else
  14993. pTDefRegMap(@Self)^.&set := $00000800;
  14994. end;
  14995. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  14996. begin
  14997. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14998. end;
  14999. procedure TPMP_PMMODE.setINCM1; inline;
  15000. begin
  15001. pTDefRegMap(@Self)^.&set := $00001000;
  15002. end;
  15003. procedure TPMP_PMMODE.clearINCM1; inline;
  15004. begin
  15005. pTDefRegMap(@Self)^.clr := $00001000;
  15006. end;
  15007. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  15008. begin
  15009. if thebits = 0 then
  15010. pTDefRegMap(@Self)^.clr := $00001000
  15011. else
  15012. pTDefRegMap(@Self)^.&set := $00001000;
  15013. end;
  15014. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  15015. begin
  15016. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15017. end;
  15018. procedure TPMP_PMMODE.setIRQM0; inline;
  15019. begin
  15020. pTDefRegMap(@Self)^.&set := $00002000;
  15021. end;
  15022. procedure TPMP_PMMODE.clearIRQM0; inline;
  15023. begin
  15024. pTDefRegMap(@Self)^.clr := $00002000;
  15025. end;
  15026. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  15027. begin
  15028. if thebits = 0 then
  15029. pTDefRegMap(@Self)^.clr := $00002000
  15030. else
  15031. pTDefRegMap(@Self)^.&set := $00002000;
  15032. end;
  15033. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  15034. begin
  15035. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15036. end;
  15037. procedure TPMP_PMMODE.setIRQM1; inline;
  15038. begin
  15039. pTDefRegMap(@Self)^.&set := $00004000;
  15040. end;
  15041. procedure TPMP_PMMODE.clearIRQM1; inline;
  15042. begin
  15043. pTDefRegMap(@Self)^.clr := $00004000;
  15044. end;
  15045. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  15046. begin
  15047. if thebits = 0 then
  15048. pTDefRegMap(@Self)^.clr := $00004000
  15049. else
  15050. pTDefRegMap(@Self)^.&set := $00004000;
  15051. end;
  15052. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  15053. begin
  15054. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15055. end;
  15056. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  15057. begin
  15058. pTDefRegMap(@Self)^.val := thebits;
  15059. end;
  15060. function TPMP_PMMODE.getw : TBits_32; inline;
  15061. begin
  15062. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15063. end;
  15064. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  15065. begin
  15066. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  15067. end;
  15068. function TPMP_PMADDR.getADDR : TBits_14; inline;
  15069. begin
  15070. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  15071. end;
  15072. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  15073. begin
  15074. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  15075. end;
  15076. function TPMP_PMADDR.getCS : TBits_2; inline;
  15077. begin
  15078. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  15079. end;
  15080. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  15081. begin
  15082. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  15083. end;
  15084. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  15085. begin
  15086. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  15087. end;
  15088. procedure TPMP_PMADDR.setCS1; inline;
  15089. begin
  15090. pTDefRegMap(@Self)^.&set := $00004000;
  15091. end;
  15092. procedure TPMP_PMADDR.clearCS1; inline;
  15093. begin
  15094. pTDefRegMap(@Self)^.clr := $00004000;
  15095. end;
  15096. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  15097. begin
  15098. if thebits = 0 then
  15099. pTDefRegMap(@Self)^.clr := $00004000
  15100. else
  15101. pTDefRegMap(@Self)^.&set := $00004000;
  15102. end;
  15103. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  15104. begin
  15105. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15106. end;
  15107. procedure TPMP_PMADDR.setCS2; inline;
  15108. begin
  15109. pTDefRegMap(@Self)^.&set := $00008000;
  15110. end;
  15111. procedure TPMP_PMADDR.clearCS2; inline;
  15112. begin
  15113. pTDefRegMap(@Self)^.clr := $00008000;
  15114. end;
  15115. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  15116. begin
  15117. if thebits = 0 then
  15118. pTDefRegMap(@Self)^.clr := $00008000
  15119. else
  15120. pTDefRegMap(@Self)^.&set := $00008000;
  15121. end;
  15122. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  15123. begin
  15124. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15125. end;
  15126. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  15127. begin
  15128. pTDefRegMap(@Self)^.val := thebits;
  15129. end;
  15130. function TPMP_PMADDR.getw : TBits_32; inline;
  15131. begin
  15132. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15133. end;
  15134. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  15135. begin
  15136. pTDefRegMap(@Self)^.val := thebits;
  15137. end;
  15138. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  15139. begin
  15140. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15141. end;
  15142. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  15143. begin
  15144. pTDefRegMap(@Self)^.val := thebits;
  15145. end;
  15146. function TPMP_PMDOUT.getw : TBits_32; inline;
  15147. begin
  15148. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15149. end;
  15150. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  15151. begin
  15152. pTDefRegMap(@Self)^.val := thebits;
  15153. end;
  15154. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  15155. begin
  15156. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15157. end;
  15158. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  15159. begin
  15160. pTDefRegMap(@Self)^.val := thebits;
  15161. end;
  15162. function TPMP_PMDIN.getw : TBits_32; inline;
  15163. begin
  15164. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15165. end;
  15166. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  15167. begin
  15168. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  15169. end;
  15170. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  15171. begin
  15172. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  15173. end;
  15174. procedure TPMP_PMAEN.setPTEN0; inline;
  15175. begin
  15176. pTDefRegMap(@Self)^.&set := $00000001;
  15177. end;
  15178. procedure TPMP_PMAEN.clearPTEN0; inline;
  15179. begin
  15180. pTDefRegMap(@Self)^.clr := $00000001;
  15181. end;
  15182. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  15183. begin
  15184. if thebits = 0 then
  15185. pTDefRegMap(@Self)^.clr := $00000001
  15186. else
  15187. pTDefRegMap(@Self)^.&set := $00000001;
  15188. end;
  15189. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  15190. begin
  15191. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15192. end;
  15193. procedure TPMP_PMAEN.setPTEN1; inline;
  15194. begin
  15195. pTDefRegMap(@Self)^.&set := $00000002;
  15196. end;
  15197. procedure TPMP_PMAEN.clearPTEN1; inline;
  15198. begin
  15199. pTDefRegMap(@Self)^.clr := $00000002;
  15200. end;
  15201. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  15202. begin
  15203. if thebits = 0 then
  15204. pTDefRegMap(@Self)^.clr := $00000002
  15205. else
  15206. pTDefRegMap(@Self)^.&set := $00000002;
  15207. end;
  15208. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  15209. begin
  15210. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15211. end;
  15212. procedure TPMP_PMAEN.setPTEN2; inline;
  15213. begin
  15214. pTDefRegMap(@Self)^.&set := $00000004;
  15215. end;
  15216. procedure TPMP_PMAEN.clearPTEN2; inline;
  15217. begin
  15218. pTDefRegMap(@Self)^.clr := $00000004;
  15219. end;
  15220. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  15221. begin
  15222. if thebits = 0 then
  15223. pTDefRegMap(@Self)^.clr := $00000004
  15224. else
  15225. pTDefRegMap(@Self)^.&set := $00000004;
  15226. end;
  15227. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  15228. begin
  15229. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15230. end;
  15231. procedure TPMP_PMAEN.setPTEN3; inline;
  15232. begin
  15233. pTDefRegMap(@Self)^.&set := $00000008;
  15234. end;
  15235. procedure TPMP_PMAEN.clearPTEN3; inline;
  15236. begin
  15237. pTDefRegMap(@Self)^.clr := $00000008;
  15238. end;
  15239. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  15240. begin
  15241. if thebits = 0 then
  15242. pTDefRegMap(@Self)^.clr := $00000008
  15243. else
  15244. pTDefRegMap(@Self)^.&set := $00000008;
  15245. end;
  15246. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  15247. begin
  15248. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15249. end;
  15250. procedure TPMP_PMAEN.setPTEN4; inline;
  15251. begin
  15252. pTDefRegMap(@Self)^.&set := $00000010;
  15253. end;
  15254. procedure TPMP_PMAEN.clearPTEN4; inline;
  15255. begin
  15256. pTDefRegMap(@Self)^.clr := $00000010;
  15257. end;
  15258. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  15259. begin
  15260. if thebits = 0 then
  15261. pTDefRegMap(@Self)^.clr := $00000010
  15262. else
  15263. pTDefRegMap(@Self)^.&set := $00000010;
  15264. end;
  15265. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  15266. begin
  15267. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15268. end;
  15269. procedure TPMP_PMAEN.setPTEN5; inline;
  15270. begin
  15271. pTDefRegMap(@Self)^.&set := $00000020;
  15272. end;
  15273. procedure TPMP_PMAEN.clearPTEN5; inline;
  15274. begin
  15275. pTDefRegMap(@Self)^.clr := $00000020;
  15276. end;
  15277. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  15278. begin
  15279. if thebits = 0 then
  15280. pTDefRegMap(@Self)^.clr := $00000020
  15281. else
  15282. pTDefRegMap(@Self)^.&set := $00000020;
  15283. end;
  15284. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  15285. begin
  15286. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15287. end;
  15288. procedure TPMP_PMAEN.setPTEN6; inline;
  15289. begin
  15290. pTDefRegMap(@Self)^.&set := $00000040;
  15291. end;
  15292. procedure TPMP_PMAEN.clearPTEN6; inline;
  15293. begin
  15294. pTDefRegMap(@Self)^.clr := $00000040;
  15295. end;
  15296. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  15297. begin
  15298. if thebits = 0 then
  15299. pTDefRegMap(@Self)^.clr := $00000040
  15300. else
  15301. pTDefRegMap(@Self)^.&set := $00000040;
  15302. end;
  15303. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  15304. begin
  15305. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15306. end;
  15307. procedure TPMP_PMAEN.setPTEN7; inline;
  15308. begin
  15309. pTDefRegMap(@Self)^.&set := $00000080;
  15310. end;
  15311. procedure TPMP_PMAEN.clearPTEN7; inline;
  15312. begin
  15313. pTDefRegMap(@Self)^.clr := $00000080;
  15314. end;
  15315. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  15316. begin
  15317. if thebits = 0 then
  15318. pTDefRegMap(@Self)^.clr := $00000080
  15319. else
  15320. pTDefRegMap(@Self)^.&set := $00000080;
  15321. end;
  15322. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  15323. begin
  15324. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15325. end;
  15326. procedure TPMP_PMAEN.setPTEN8; inline;
  15327. begin
  15328. pTDefRegMap(@Self)^.&set := $00000100;
  15329. end;
  15330. procedure TPMP_PMAEN.clearPTEN8; inline;
  15331. begin
  15332. pTDefRegMap(@Self)^.clr := $00000100;
  15333. end;
  15334. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  15335. begin
  15336. if thebits = 0 then
  15337. pTDefRegMap(@Self)^.clr := $00000100
  15338. else
  15339. pTDefRegMap(@Self)^.&set := $00000100;
  15340. end;
  15341. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  15342. begin
  15343. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15344. end;
  15345. procedure TPMP_PMAEN.setPTEN9; inline;
  15346. begin
  15347. pTDefRegMap(@Self)^.&set := $00000200;
  15348. end;
  15349. procedure TPMP_PMAEN.clearPTEN9; inline;
  15350. begin
  15351. pTDefRegMap(@Self)^.clr := $00000200;
  15352. end;
  15353. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  15354. begin
  15355. if thebits = 0 then
  15356. pTDefRegMap(@Self)^.clr := $00000200
  15357. else
  15358. pTDefRegMap(@Self)^.&set := $00000200;
  15359. end;
  15360. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  15361. begin
  15362. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15363. end;
  15364. procedure TPMP_PMAEN.setPTEN10; inline;
  15365. begin
  15366. pTDefRegMap(@Self)^.&set := $00000400;
  15367. end;
  15368. procedure TPMP_PMAEN.clearPTEN10; inline;
  15369. begin
  15370. pTDefRegMap(@Self)^.clr := $00000400;
  15371. end;
  15372. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  15373. begin
  15374. if thebits = 0 then
  15375. pTDefRegMap(@Self)^.clr := $00000400
  15376. else
  15377. pTDefRegMap(@Self)^.&set := $00000400;
  15378. end;
  15379. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  15380. begin
  15381. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15382. end;
  15383. procedure TPMP_PMAEN.setPTEN11; inline;
  15384. begin
  15385. pTDefRegMap(@Self)^.&set := $00000800;
  15386. end;
  15387. procedure TPMP_PMAEN.clearPTEN11; inline;
  15388. begin
  15389. pTDefRegMap(@Self)^.clr := $00000800;
  15390. end;
  15391. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  15392. begin
  15393. if thebits = 0 then
  15394. pTDefRegMap(@Self)^.clr := $00000800
  15395. else
  15396. pTDefRegMap(@Self)^.&set := $00000800;
  15397. end;
  15398. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  15399. begin
  15400. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15401. end;
  15402. procedure TPMP_PMAEN.setPTEN12; inline;
  15403. begin
  15404. pTDefRegMap(@Self)^.&set := $00001000;
  15405. end;
  15406. procedure TPMP_PMAEN.clearPTEN12; inline;
  15407. begin
  15408. pTDefRegMap(@Self)^.clr := $00001000;
  15409. end;
  15410. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  15411. begin
  15412. if thebits = 0 then
  15413. pTDefRegMap(@Self)^.clr := $00001000
  15414. else
  15415. pTDefRegMap(@Self)^.&set := $00001000;
  15416. end;
  15417. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  15418. begin
  15419. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15420. end;
  15421. procedure TPMP_PMAEN.setPTEN13; inline;
  15422. begin
  15423. pTDefRegMap(@Self)^.&set := $00002000;
  15424. end;
  15425. procedure TPMP_PMAEN.clearPTEN13; inline;
  15426. begin
  15427. pTDefRegMap(@Self)^.clr := $00002000;
  15428. end;
  15429. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  15430. begin
  15431. if thebits = 0 then
  15432. pTDefRegMap(@Self)^.clr := $00002000
  15433. else
  15434. pTDefRegMap(@Self)^.&set := $00002000;
  15435. end;
  15436. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  15437. begin
  15438. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15439. end;
  15440. procedure TPMP_PMAEN.setPTEN14; inline;
  15441. begin
  15442. pTDefRegMap(@Self)^.&set := $00004000;
  15443. end;
  15444. procedure TPMP_PMAEN.clearPTEN14; inline;
  15445. begin
  15446. pTDefRegMap(@Self)^.clr := $00004000;
  15447. end;
  15448. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  15449. begin
  15450. if thebits = 0 then
  15451. pTDefRegMap(@Self)^.clr := $00004000
  15452. else
  15453. pTDefRegMap(@Self)^.&set := $00004000;
  15454. end;
  15455. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  15456. begin
  15457. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15458. end;
  15459. procedure TPMP_PMAEN.setPTEN15; inline;
  15460. begin
  15461. pTDefRegMap(@Self)^.&set := $00008000;
  15462. end;
  15463. procedure TPMP_PMAEN.clearPTEN15; inline;
  15464. begin
  15465. pTDefRegMap(@Self)^.clr := $00008000;
  15466. end;
  15467. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  15468. begin
  15469. if thebits = 0 then
  15470. pTDefRegMap(@Self)^.clr := $00008000
  15471. else
  15472. pTDefRegMap(@Self)^.&set := $00008000;
  15473. end;
  15474. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  15475. begin
  15476. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15477. end;
  15478. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  15479. begin
  15480. pTDefRegMap(@Self)^.val := thebits;
  15481. end;
  15482. function TPMP_PMAEN.getw : TBits_32; inline;
  15483. begin
  15484. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15485. end;
  15486. procedure TPMP_PMSTAT.setOB0E; inline;
  15487. begin
  15488. pTDefRegMap(@Self)^.&set := $00000001;
  15489. end;
  15490. procedure TPMP_PMSTAT.clearOB0E; inline;
  15491. begin
  15492. pTDefRegMap(@Self)^.clr := $00000001;
  15493. end;
  15494. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  15495. begin
  15496. if thebits = 0 then
  15497. pTDefRegMap(@Self)^.clr := $00000001
  15498. else
  15499. pTDefRegMap(@Self)^.&set := $00000001;
  15500. end;
  15501. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  15502. begin
  15503. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15504. end;
  15505. procedure TPMP_PMSTAT.setOB1E; inline;
  15506. begin
  15507. pTDefRegMap(@Self)^.&set := $00000002;
  15508. end;
  15509. procedure TPMP_PMSTAT.clearOB1E; inline;
  15510. begin
  15511. pTDefRegMap(@Self)^.clr := $00000002;
  15512. end;
  15513. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  15514. begin
  15515. if thebits = 0 then
  15516. pTDefRegMap(@Self)^.clr := $00000002
  15517. else
  15518. pTDefRegMap(@Self)^.&set := $00000002;
  15519. end;
  15520. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  15521. begin
  15522. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15523. end;
  15524. procedure TPMP_PMSTAT.setOB2E; inline;
  15525. begin
  15526. pTDefRegMap(@Self)^.&set := $00000004;
  15527. end;
  15528. procedure TPMP_PMSTAT.clearOB2E; inline;
  15529. begin
  15530. pTDefRegMap(@Self)^.clr := $00000004;
  15531. end;
  15532. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  15533. begin
  15534. if thebits = 0 then
  15535. pTDefRegMap(@Self)^.clr := $00000004
  15536. else
  15537. pTDefRegMap(@Self)^.&set := $00000004;
  15538. end;
  15539. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  15540. begin
  15541. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15542. end;
  15543. procedure TPMP_PMSTAT.setOB3E; inline;
  15544. begin
  15545. pTDefRegMap(@Self)^.&set := $00000008;
  15546. end;
  15547. procedure TPMP_PMSTAT.clearOB3E; inline;
  15548. begin
  15549. pTDefRegMap(@Self)^.clr := $00000008;
  15550. end;
  15551. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  15552. begin
  15553. if thebits = 0 then
  15554. pTDefRegMap(@Self)^.clr := $00000008
  15555. else
  15556. pTDefRegMap(@Self)^.&set := $00000008;
  15557. end;
  15558. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  15559. begin
  15560. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15561. end;
  15562. procedure TPMP_PMSTAT.setOBUF; inline;
  15563. begin
  15564. pTDefRegMap(@Self)^.&set := $00000040;
  15565. end;
  15566. procedure TPMP_PMSTAT.clearOBUF; inline;
  15567. begin
  15568. pTDefRegMap(@Self)^.clr := $00000040;
  15569. end;
  15570. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  15571. begin
  15572. if thebits = 0 then
  15573. pTDefRegMap(@Self)^.clr := $00000040
  15574. else
  15575. pTDefRegMap(@Self)^.&set := $00000040;
  15576. end;
  15577. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  15578. begin
  15579. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15580. end;
  15581. procedure TPMP_PMSTAT.setOBE; inline;
  15582. begin
  15583. pTDefRegMap(@Self)^.&set := $00000080;
  15584. end;
  15585. procedure TPMP_PMSTAT.clearOBE; inline;
  15586. begin
  15587. pTDefRegMap(@Self)^.clr := $00000080;
  15588. end;
  15589. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  15590. begin
  15591. if thebits = 0 then
  15592. pTDefRegMap(@Self)^.clr := $00000080
  15593. else
  15594. pTDefRegMap(@Self)^.&set := $00000080;
  15595. end;
  15596. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  15597. begin
  15598. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15599. end;
  15600. procedure TPMP_PMSTAT.setIB0F; inline;
  15601. begin
  15602. pTDefRegMap(@Self)^.&set := $00000100;
  15603. end;
  15604. procedure TPMP_PMSTAT.clearIB0F; inline;
  15605. begin
  15606. pTDefRegMap(@Self)^.clr := $00000100;
  15607. end;
  15608. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  15609. begin
  15610. if thebits = 0 then
  15611. pTDefRegMap(@Self)^.clr := $00000100
  15612. else
  15613. pTDefRegMap(@Self)^.&set := $00000100;
  15614. end;
  15615. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  15616. begin
  15617. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15618. end;
  15619. procedure TPMP_PMSTAT.setIB1F; inline;
  15620. begin
  15621. pTDefRegMap(@Self)^.&set := $00000200;
  15622. end;
  15623. procedure TPMP_PMSTAT.clearIB1F; inline;
  15624. begin
  15625. pTDefRegMap(@Self)^.clr := $00000200;
  15626. end;
  15627. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  15628. begin
  15629. if thebits = 0 then
  15630. pTDefRegMap(@Self)^.clr := $00000200
  15631. else
  15632. pTDefRegMap(@Self)^.&set := $00000200;
  15633. end;
  15634. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  15635. begin
  15636. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15637. end;
  15638. procedure TPMP_PMSTAT.setIB2F; inline;
  15639. begin
  15640. pTDefRegMap(@Self)^.&set := $00000400;
  15641. end;
  15642. procedure TPMP_PMSTAT.clearIB2F; inline;
  15643. begin
  15644. pTDefRegMap(@Self)^.clr := $00000400;
  15645. end;
  15646. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  15647. begin
  15648. if thebits = 0 then
  15649. pTDefRegMap(@Self)^.clr := $00000400
  15650. else
  15651. pTDefRegMap(@Self)^.&set := $00000400;
  15652. end;
  15653. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  15654. begin
  15655. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15656. end;
  15657. procedure TPMP_PMSTAT.setIB3F; inline;
  15658. begin
  15659. pTDefRegMap(@Self)^.&set := $00000800;
  15660. end;
  15661. procedure TPMP_PMSTAT.clearIB3F; inline;
  15662. begin
  15663. pTDefRegMap(@Self)^.clr := $00000800;
  15664. end;
  15665. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  15666. begin
  15667. if thebits = 0 then
  15668. pTDefRegMap(@Self)^.clr := $00000800
  15669. else
  15670. pTDefRegMap(@Self)^.&set := $00000800;
  15671. end;
  15672. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  15673. begin
  15674. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15675. end;
  15676. procedure TPMP_PMSTAT.setIBOV; inline;
  15677. begin
  15678. pTDefRegMap(@Self)^.&set := $00004000;
  15679. end;
  15680. procedure TPMP_PMSTAT.clearIBOV; inline;
  15681. begin
  15682. pTDefRegMap(@Self)^.clr := $00004000;
  15683. end;
  15684. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  15685. begin
  15686. if thebits = 0 then
  15687. pTDefRegMap(@Self)^.clr := $00004000
  15688. else
  15689. pTDefRegMap(@Self)^.&set := $00004000;
  15690. end;
  15691. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  15692. begin
  15693. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15694. end;
  15695. procedure TPMP_PMSTAT.setIBF; inline;
  15696. begin
  15697. pTDefRegMap(@Self)^.&set := $00008000;
  15698. end;
  15699. procedure TPMP_PMSTAT.clearIBF; inline;
  15700. begin
  15701. pTDefRegMap(@Self)^.clr := $00008000;
  15702. end;
  15703. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  15704. begin
  15705. if thebits = 0 then
  15706. pTDefRegMap(@Self)^.clr := $00008000
  15707. else
  15708. pTDefRegMap(@Self)^.&set := $00008000;
  15709. end;
  15710. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  15711. begin
  15712. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15713. end;
  15714. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  15715. begin
  15716. pTDefRegMap(@Self)^.val := thebits;
  15717. end;
  15718. function TPMP_PMSTAT.getw : TBits_32; inline;
  15719. begin
  15720. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15721. end;
  15722. procedure TADC10_AD1CON1.setDONE; inline;
  15723. begin
  15724. pTDefRegMap(@Self)^.&set := $00000001;
  15725. end;
  15726. procedure TADC10_AD1CON1.clearDONE; inline;
  15727. begin
  15728. pTDefRegMap(@Self)^.clr := $00000001;
  15729. end;
  15730. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  15731. begin
  15732. if thebits = 0 then
  15733. pTDefRegMap(@Self)^.clr := $00000001
  15734. else
  15735. pTDefRegMap(@Self)^.&set := $00000001;
  15736. end;
  15737. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  15738. begin
  15739. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15740. end;
  15741. procedure TADC10_AD1CON1.setSAMP; inline;
  15742. begin
  15743. pTDefRegMap(@Self)^.&set := $00000002;
  15744. end;
  15745. procedure TADC10_AD1CON1.clearSAMP; inline;
  15746. begin
  15747. pTDefRegMap(@Self)^.clr := $00000002;
  15748. end;
  15749. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  15750. begin
  15751. if thebits = 0 then
  15752. pTDefRegMap(@Self)^.clr := $00000002
  15753. else
  15754. pTDefRegMap(@Self)^.&set := $00000002;
  15755. end;
  15756. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  15757. begin
  15758. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15759. end;
  15760. procedure TADC10_AD1CON1.setASAM; inline;
  15761. begin
  15762. pTDefRegMap(@Self)^.&set := $00000004;
  15763. end;
  15764. procedure TADC10_AD1CON1.clearASAM; inline;
  15765. begin
  15766. pTDefRegMap(@Self)^.clr := $00000004;
  15767. end;
  15768. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  15769. begin
  15770. if thebits = 0 then
  15771. pTDefRegMap(@Self)^.clr := $00000004
  15772. else
  15773. pTDefRegMap(@Self)^.&set := $00000004;
  15774. end;
  15775. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  15776. begin
  15777. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15778. end;
  15779. procedure TADC10_AD1CON1.setCLRASAM; inline;
  15780. begin
  15781. pTDefRegMap(@Self)^.&set := $00000010;
  15782. end;
  15783. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  15784. begin
  15785. pTDefRegMap(@Self)^.clr := $00000010;
  15786. end;
  15787. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  15788. begin
  15789. if thebits = 0 then
  15790. pTDefRegMap(@Self)^.clr := $00000010
  15791. else
  15792. pTDefRegMap(@Self)^.&set := $00000010;
  15793. end;
  15794. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  15795. begin
  15796. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15797. end;
  15798. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  15799. begin
  15800. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  15801. end;
  15802. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  15803. begin
  15804. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  15805. end;
  15806. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  15807. begin
  15808. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  15809. end;
  15810. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  15811. begin
  15812. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  15813. end;
  15814. procedure TADC10_AD1CON1.setSIDL; inline;
  15815. begin
  15816. pTDefRegMap(@Self)^.&set := $00002000;
  15817. end;
  15818. procedure TADC10_AD1CON1.clearSIDL; inline;
  15819. begin
  15820. pTDefRegMap(@Self)^.clr := $00002000;
  15821. end;
  15822. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  15823. begin
  15824. if thebits = 0 then
  15825. pTDefRegMap(@Self)^.clr := $00002000
  15826. else
  15827. pTDefRegMap(@Self)^.&set := $00002000;
  15828. end;
  15829. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  15830. begin
  15831. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15832. end;
  15833. procedure TADC10_AD1CON1.setON; inline;
  15834. begin
  15835. pTDefRegMap(@Self)^.&set := $00008000;
  15836. end;
  15837. procedure TADC10_AD1CON1.clearON; inline;
  15838. begin
  15839. pTDefRegMap(@Self)^.clr := $00008000;
  15840. end;
  15841. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  15842. begin
  15843. if thebits = 0 then
  15844. pTDefRegMap(@Self)^.clr := $00008000
  15845. else
  15846. pTDefRegMap(@Self)^.&set := $00008000;
  15847. end;
  15848. function TADC10_AD1CON1.getON : TBits_1; inline;
  15849. begin
  15850. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15851. end;
  15852. procedure TADC10_AD1CON1.setSSRC0; inline;
  15853. begin
  15854. pTDefRegMap(@Self)^.&set := $00000020;
  15855. end;
  15856. procedure TADC10_AD1CON1.clearSSRC0; inline;
  15857. begin
  15858. pTDefRegMap(@Self)^.clr := $00000020;
  15859. end;
  15860. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  15861. begin
  15862. if thebits = 0 then
  15863. pTDefRegMap(@Self)^.clr := $00000020
  15864. else
  15865. pTDefRegMap(@Self)^.&set := $00000020;
  15866. end;
  15867. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  15868. begin
  15869. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15870. end;
  15871. procedure TADC10_AD1CON1.setSSRC1; inline;
  15872. begin
  15873. pTDefRegMap(@Self)^.&set := $00000040;
  15874. end;
  15875. procedure TADC10_AD1CON1.clearSSRC1; inline;
  15876. begin
  15877. pTDefRegMap(@Self)^.clr := $00000040;
  15878. end;
  15879. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  15880. begin
  15881. if thebits = 0 then
  15882. pTDefRegMap(@Self)^.clr := $00000040
  15883. else
  15884. pTDefRegMap(@Self)^.&set := $00000040;
  15885. end;
  15886. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  15887. begin
  15888. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15889. end;
  15890. procedure TADC10_AD1CON1.setSSRC2; inline;
  15891. begin
  15892. pTDefRegMap(@Self)^.&set := $00000080;
  15893. end;
  15894. procedure TADC10_AD1CON1.clearSSRC2; inline;
  15895. begin
  15896. pTDefRegMap(@Self)^.clr := $00000080;
  15897. end;
  15898. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  15899. begin
  15900. if thebits = 0 then
  15901. pTDefRegMap(@Self)^.clr := $00000080
  15902. else
  15903. pTDefRegMap(@Self)^.&set := $00000080;
  15904. end;
  15905. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  15906. begin
  15907. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15908. end;
  15909. procedure TADC10_AD1CON1.setFORM0; inline;
  15910. begin
  15911. pTDefRegMap(@Self)^.&set := $00000100;
  15912. end;
  15913. procedure TADC10_AD1CON1.clearFORM0; inline;
  15914. begin
  15915. pTDefRegMap(@Self)^.clr := $00000100;
  15916. end;
  15917. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  15918. begin
  15919. if thebits = 0 then
  15920. pTDefRegMap(@Self)^.clr := $00000100
  15921. else
  15922. pTDefRegMap(@Self)^.&set := $00000100;
  15923. end;
  15924. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  15925. begin
  15926. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15927. end;
  15928. procedure TADC10_AD1CON1.setFORM1; inline;
  15929. begin
  15930. pTDefRegMap(@Self)^.&set := $00000200;
  15931. end;
  15932. procedure TADC10_AD1CON1.clearFORM1; inline;
  15933. begin
  15934. pTDefRegMap(@Self)^.clr := $00000200;
  15935. end;
  15936. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  15937. begin
  15938. if thebits = 0 then
  15939. pTDefRegMap(@Self)^.clr := $00000200
  15940. else
  15941. pTDefRegMap(@Self)^.&set := $00000200;
  15942. end;
  15943. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  15944. begin
  15945. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15946. end;
  15947. procedure TADC10_AD1CON1.setFORM2; inline;
  15948. begin
  15949. pTDefRegMap(@Self)^.&set := $00000400;
  15950. end;
  15951. procedure TADC10_AD1CON1.clearFORM2; inline;
  15952. begin
  15953. pTDefRegMap(@Self)^.clr := $00000400;
  15954. end;
  15955. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  15956. begin
  15957. if thebits = 0 then
  15958. pTDefRegMap(@Self)^.clr := $00000400
  15959. else
  15960. pTDefRegMap(@Self)^.&set := $00000400;
  15961. end;
  15962. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  15963. begin
  15964. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15965. end;
  15966. procedure TADC10_AD1CON1.setADSIDL; inline;
  15967. begin
  15968. pTDefRegMap(@Self)^.&set := $00002000;
  15969. end;
  15970. procedure TADC10_AD1CON1.clearADSIDL; inline;
  15971. begin
  15972. pTDefRegMap(@Self)^.clr := $00002000;
  15973. end;
  15974. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  15975. begin
  15976. if thebits = 0 then
  15977. pTDefRegMap(@Self)^.clr := $00002000
  15978. else
  15979. pTDefRegMap(@Self)^.&set := $00002000;
  15980. end;
  15981. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  15982. begin
  15983. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15984. end;
  15985. procedure TADC10_AD1CON1.setADON; inline;
  15986. begin
  15987. pTDefRegMap(@Self)^.&set := $00008000;
  15988. end;
  15989. procedure TADC10_AD1CON1.clearADON; inline;
  15990. begin
  15991. pTDefRegMap(@Self)^.clr := $00008000;
  15992. end;
  15993. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  15994. begin
  15995. if thebits = 0 then
  15996. pTDefRegMap(@Self)^.clr := $00008000
  15997. else
  15998. pTDefRegMap(@Self)^.&set := $00008000;
  15999. end;
  16000. function TADC10_AD1CON1.getADON : TBits_1; inline;
  16001. begin
  16002. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16003. end;
  16004. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  16005. begin
  16006. pTDefRegMap(@Self)^.val := thebits;
  16007. end;
  16008. function TADC10_AD1CON1.getw : TBits_32; inline;
  16009. begin
  16010. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16011. end;
  16012. procedure TADC10_AD1CON2.setALTS; inline;
  16013. begin
  16014. pTDefRegMap(@Self)^.&set := $00000001;
  16015. end;
  16016. procedure TADC10_AD1CON2.clearALTS; inline;
  16017. begin
  16018. pTDefRegMap(@Self)^.clr := $00000001;
  16019. end;
  16020. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  16021. begin
  16022. if thebits = 0 then
  16023. pTDefRegMap(@Self)^.clr := $00000001
  16024. else
  16025. pTDefRegMap(@Self)^.&set := $00000001;
  16026. end;
  16027. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  16028. begin
  16029. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16030. end;
  16031. procedure TADC10_AD1CON2.setBUFM; inline;
  16032. begin
  16033. pTDefRegMap(@Self)^.&set := $00000002;
  16034. end;
  16035. procedure TADC10_AD1CON2.clearBUFM; inline;
  16036. begin
  16037. pTDefRegMap(@Self)^.clr := $00000002;
  16038. end;
  16039. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  16040. begin
  16041. if thebits = 0 then
  16042. pTDefRegMap(@Self)^.clr := $00000002
  16043. else
  16044. pTDefRegMap(@Self)^.&set := $00000002;
  16045. end;
  16046. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  16047. begin
  16048. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16049. end;
  16050. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  16051. begin
  16052. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  16053. end;
  16054. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  16055. begin
  16056. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  16057. end;
  16058. procedure TADC10_AD1CON2.setBUFS; inline;
  16059. begin
  16060. pTDefRegMap(@Self)^.&set := $00000080;
  16061. end;
  16062. procedure TADC10_AD1CON2.clearBUFS; inline;
  16063. begin
  16064. pTDefRegMap(@Self)^.clr := $00000080;
  16065. end;
  16066. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  16067. begin
  16068. if thebits = 0 then
  16069. pTDefRegMap(@Self)^.clr := $00000080
  16070. else
  16071. pTDefRegMap(@Self)^.&set := $00000080;
  16072. end;
  16073. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  16074. begin
  16075. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16076. end;
  16077. procedure TADC10_AD1CON2.setCSCNA; inline;
  16078. begin
  16079. pTDefRegMap(@Self)^.&set := $00000400;
  16080. end;
  16081. procedure TADC10_AD1CON2.clearCSCNA; inline;
  16082. begin
  16083. pTDefRegMap(@Self)^.clr := $00000400;
  16084. end;
  16085. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  16086. begin
  16087. if thebits = 0 then
  16088. pTDefRegMap(@Self)^.clr := $00000400
  16089. else
  16090. pTDefRegMap(@Self)^.&set := $00000400;
  16091. end;
  16092. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  16093. begin
  16094. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16095. end;
  16096. procedure TADC10_AD1CON2.setOFFCAL; inline;
  16097. begin
  16098. pTDefRegMap(@Self)^.&set := $00001000;
  16099. end;
  16100. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  16101. begin
  16102. pTDefRegMap(@Self)^.clr := $00001000;
  16103. end;
  16104. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  16105. begin
  16106. if thebits = 0 then
  16107. pTDefRegMap(@Self)^.clr := $00001000
  16108. else
  16109. pTDefRegMap(@Self)^.&set := $00001000;
  16110. end;
  16111. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  16112. begin
  16113. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16114. end;
  16115. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  16116. begin
  16117. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  16118. end;
  16119. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  16120. begin
  16121. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  16122. end;
  16123. procedure TADC10_AD1CON2.setSMPI0; inline;
  16124. begin
  16125. pTDefRegMap(@Self)^.&set := $00000004;
  16126. end;
  16127. procedure TADC10_AD1CON2.clearSMPI0; inline;
  16128. begin
  16129. pTDefRegMap(@Self)^.clr := $00000004;
  16130. end;
  16131. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  16132. begin
  16133. if thebits = 0 then
  16134. pTDefRegMap(@Self)^.clr := $00000004
  16135. else
  16136. pTDefRegMap(@Self)^.&set := $00000004;
  16137. end;
  16138. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  16139. begin
  16140. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16141. end;
  16142. procedure TADC10_AD1CON2.setSMPI1; inline;
  16143. begin
  16144. pTDefRegMap(@Self)^.&set := $00000008;
  16145. end;
  16146. procedure TADC10_AD1CON2.clearSMPI1; inline;
  16147. begin
  16148. pTDefRegMap(@Self)^.clr := $00000008;
  16149. end;
  16150. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  16151. begin
  16152. if thebits = 0 then
  16153. pTDefRegMap(@Self)^.clr := $00000008
  16154. else
  16155. pTDefRegMap(@Self)^.&set := $00000008;
  16156. end;
  16157. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  16158. begin
  16159. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16160. end;
  16161. procedure TADC10_AD1CON2.setSMPI2; inline;
  16162. begin
  16163. pTDefRegMap(@Self)^.&set := $00000010;
  16164. end;
  16165. procedure TADC10_AD1CON2.clearSMPI2; inline;
  16166. begin
  16167. pTDefRegMap(@Self)^.clr := $00000010;
  16168. end;
  16169. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  16170. begin
  16171. if thebits = 0 then
  16172. pTDefRegMap(@Self)^.clr := $00000010
  16173. else
  16174. pTDefRegMap(@Self)^.&set := $00000010;
  16175. end;
  16176. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  16177. begin
  16178. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16179. end;
  16180. procedure TADC10_AD1CON2.setSMPI3; inline;
  16181. begin
  16182. pTDefRegMap(@Self)^.&set := $00000020;
  16183. end;
  16184. procedure TADC10_AD1CON2.clearSMPI3; inline;
  16185. begin
  16186. pTDefRegMap(@Self)^.clr := $00000020;
  16187. end;
  16188. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  16189. begin
  16190. if thebits = 0 then
  16191. pTDefRegMap(@Self)^.clr := $00000020
  16192. else
  16193. pTDefRegMap(@Self)^.&set := $00000020;
  16194. end;
  16195. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  16196. begin
  16197. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16198. end;
  16199. procedure TADC10_AD1CON2.setVCFG0; inline;
  16200. begin
  16201. pTDefRegMap(@Self)^.&set := $00002000;
  16202. end;
  16203. procedure TADC10_AD1CON2.clearVCFG0; inline;
  16204. begin
  16205. pTDefRegMap(@Self)^.clr := $00002000;
  16206. end;
  16207. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  16208. begin
  16209. if thebits = 0 then
  16210. pTDefRegMap(@Self)^.clr := $00002000
  16211. else
  16212. pTDefRegMap(@Self)^.&set := $00002000;
  16213. end;
  16214. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  16215. begin
  16216. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16217. end;
  16218. procedure TADC10_AD1CON2.setVCFG1; inline;
  16219. begin
  16220. pTDefRegMap(@Self)^.&set := $00004000;
  16221. end;
  16222. procedure TADC10_AD1CON2.clearVCFG1; inline;
  16223. begin
  16224. pTDefRegMap(@Self)^.clr := $00004000;
  16225. end;
  16226. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  16227. begin
  16228. if thebits = 0 then
  16229. pTDefRegMap(@Self)^.clr := $00004000
  16230. else
  16231. pTDefRegMap(@Self)^.&set := $00004000;
  16232. end;
  16233. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  16234. begin
  16235. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16236. end;
  16237. procedure TADC10_AD1CON2.setVCFG2; inline;
  16238. begin
  16239. pTDefRegMap(@Self)^.&set := $00008000;
  16240. end;
  16241. procedure TADC10_AD1CON2.clearVCFG2; inline;
  16242. begin
  16243. pTDefRegMap(@Self)^.clr := $00008000;
  16244. end;
  16245. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  16246. begin
  16247. if thebits = 0 then
  16248. pTDefRegMap(@Self)^.clr := $00008000
  16249. else
  16250. pTDefRegMap(@Self)^.&set := $00008000;
  16251. end;
  16252. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  16253. begin
  16254. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16255. end;
  16256. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  16257. begin
  16258. pTDefRegMap(@Self)^.val := thebits;
  16259. end;
  16260. function TADC10_AD1CON2.getw : TBits_32; inline;
  16261. begin
  16262. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16263. end;
  16264. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  16265. begin
  16266. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  16267. end;
  16268. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  16269. begin
  16270. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  16271. end;
  16272. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  16273. begin
  16274. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  16275. end;
  16276. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  16277. begin
  16278. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  16279. end;
  16280. procedure TADC10_AD1CON3.setADRC; inline;
  16281. begin
  16282. pTDefRegMap(@Self)^.&set := $00008000;
  16283. end;
  16284. procedure TADC10_AD1CON3.clearADRC; inline;
  16285. begin
  16286. pTDefRegMap(@Self)^.clr := $00008000;
  16287. end;
  16288. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  16289. begin
  16290. if thebits = 0 then
  16291. pTDefRegMap(@Self)^.clr := $00008000
  16292. else
  16293. pTDefRegMap(@Self)^.&set := $00008000;
  16294. end;
  16295. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  16296. begin
  16297. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16298. end;
  16299. procedure TADC10_AD1CON3.setADCS0; inline;
  16300. begin
  16301. pTDefRegMap(@Self)^.&set := $00000001;
  16302. end;
  16303. procedure TADC10_AD1CON3.clearADCS0; inline;
  16304. begin
  16305. pTDefRegMap(@Self)^.clr := $00000001;
  16306. end;
  16307. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  16308. begin
  16309. if thebits = 0 then
  16310. pTDefRegMap(@Self)^.clr := $00000001
  16311. else
  16312. pTDefRegMap(@Self)^.&set := $00000001;
  16313. end;
  16314. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  16315. begin
  16316. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16317. end;
  16318. procedure TADC10_AD1CON3.setADCS1; inline;
  16319. begin
  16320. pTDefRegMap(@Self)^.&set := $00000002;
  16321. end;
  16322. procedure TADC10_AD1CON3.clearADCS1; inline;
  16323. begin
  16324. pTDefRegMap(@Self)^.clr := $00000002;
  16325. end;
  16326. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  16327. begin
  16328. if thebits = 0 then
  16329. pTDefRegMap(@Self)^.clr := $00000002
  16330. else
  16331. pTDefRegMap(@Self)^.&set := $00000002;
  16332. end;
  16333. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  16334. begin
  16335. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16336. end;
  16337. procedure TADC10_AD1CON3.setADCS2; inline;
  16338. begin
  16339. pTDefRegMap(@Self)^.&set := $00000004;
  16340. end;
  16341. procedure TADC10_AD1CON3.clearADCS2; inline;
  16342. begin
  16343. pTDefRegMap(@Self)^.clr := $00000004;
  16344. end;
  16345. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  16346. begin
  16347. if thebits = 0 then
  16348. pTDefRegMap(@Self)^.clr := $00000004
  16349. else
  16350. pTDefRegMap(@Self)^.&set := $00000004;
  16351. end;
  16352. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  16353. begin
  16354. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16355. end;
  16356. procedure TADC10_AD1CON3.setADCS3; inline;
  16357. begin
  16358. pTDefRegMap(@Self)^.&set := $00000008;
  16359. end;
  16360. procedure TADC10_AD1CON3.clearADCS3; inline;
  16361. begin
  16362. pTDefRegMap(@Self)^.clr := $00000008;
  16363. end;
  16364. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  16365. begin
  16366. if thebits = 0 then
  16367. pTDefRegMap(@Self)^.clr := $00000008
  16368. else
  16369. pTDefRegMap(@Self)^.&set := $00000008;
  16370. end;
  16371. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  16372. begin
  16373. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16374. end;
  16375. procedure TADC10_AD1CON3.setADCS4; inline;
  16376. begin
  16377. pTDefRegMap(@Self)^.&set := $00000010;
  16378. end;
  16379. procedure TADC10_AD1CON3.clearADCS4; inline;
  16380. begin
  16381. pTDefRegMap(@Self)^.clr := $00000010;
  16382. end;
  16383. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  16384. begin
  16385. if thebits = 0 then
  16386. pTDefRegMap(@Self)^.clr := $00000010
  16387. else
  16388. pTDefRegMap(@Self)^.&set := $00000010;
  16389. end;
  16390. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  16391. begin
  16392. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16393. end;
  16394. procedure TADC10_AD1CON3.setADCS5; inline;
  16395. begin
  16396. pTDefRegMap(@Self)^.&set := $00000020;
  16397. end;
  16398. procedure TADC10_AD1CON3.clearADCS5; inline;
  16399. begin
  16400. pTDefRegMap(@Self)^.clr := $00000020;
  16401. end;
  16402. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  16403. begin
  16404. if thebits = 0 then
  16405. pTDefRegMap(@Self)^.clr := $00000020
  16406. else
  16407. pTDefRegMap(@Self)^.&set := $00000020;
  16408. end;
  16409. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  16410. begin
  16411. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16412. end;
  16413. procedure TADC10_AD1CON3.setADCS6; inline;
  16414. begin
  16415. pTDefRegMap(@Self)^.&set := $00000040;
  16416. end;
  16417. procedure TADC10_AD1CON3.clearADCS6; inline;
  16418. begin
  16419. pTDefRegMap(@Self)^.clr := $00000040;
  16420. end;
  16421. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  16422. begin
  16423. if thebits = 0 then
  16424. pTDefRegMap(@Self)^.clr := $00000040
  16425. else
  16426. pTDefRegMap(@Self)^.&set := $00000040;
  16427. end;
  16428. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  16429. begin
  16430. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16431. end;
  16432. procedure TADC10_AD1CON3.setADCS7; inline;
  16433. begin
  16434. pTDefRegMap(@Self)^.&set := $00000080;
  16435. end;
  16436. procedure TADC10_AD1CON3.clearADCS7; inline;
  16437. begin
  16438. pTDefRegMap(@Self)^.clr := $00000080;
  16439. end;
  16440. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  16441. begin
  16442. if thebits = 0 then
  16443. pTDefRegMap(@Self)^.clr := $00000080
  16444. else
  16445. pTDefRegMap(@Self)^.&set := $00000080;
  16446. end;
  16447. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  16448. begin
  16449. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16450. end;
  16451. procedure TADC10_AD1CON3.setSAMC0; inline;
  16452. begin
  16453. pTDefRegMap(@Self)^.&set := $00000100;
  16454. end;
  16455. procedure TADC10_AD1CON3.clearSAMC0; inline;
  16456. begin
  16457. pTDefRegMap(@Self)^.clr := $00000100;
  16458. end;
  16459. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  16460. begin
  16461. if thebits = 0 then
  16462. pTDefRegMap(@Self)^.clr := $00000100
  16463. else
  16464. pTDefRegMap(@Self)^.&set := $00000100;
  16465. end;
  16466. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  16467. begin
  16468. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16469. end;
  16470. procedure TADC10_AD1CON3.setSAMC1; inline;
  16471. begin
  16472. pTDefRegMap(@Self)^.&set := $00000200;
  16473. end;
  16474. procedure TADC10_AD1CON3.clearSAMC1; inline;
  16475. begin
  16476. pTDefRegMap(@Self)^.clr := $00000200;
  16477. end;
  16478. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  16479. begin
  16480. if thebits = 0 then
  16481. pTDefRegMap(@Self)^.clr := $00000200
  16482. else
  16483. pTDefRegMap(@Self)^.&set := $00000200;
  16484. end;
  16485. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  16486. begin
  16487. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16488. end;
  16489. procedure TADC10_AD1CON3.setSAMC2; inline;
  16490. begin
  16491. pTDefRegMap(@Self)^.&set := $00000400;
  16492. end;
  16493. procedure TADC10_AD1CON3.clearSAMC2; inline;
  16494. begin
  16495. pTDefRegMap(@Self)^.clr := $00000400;
  16496. end;
  16497. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  16498. begin
  16499. if thebits = 0 then
  16500. pTDefRegMap(@Self)^.clr := $00000400
  16501. else
  16502. pTDefRegMap(@Self)^.&set := $00000400;
  16503. end;
  16504. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  16505. begin
  16506. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16507. end;
  16508. procedure TADC10_AD1CON3.setSAMC3; inline;
  16509. begin
  16510. pTDefRegMap(@Self)^.&set := $00000800;
  16511. end;
  16512. procedure TADC10_AD1CON3.clearSAMC3; inline;
  16513. begin
  16514. pTDefRegMap(@Self)^.clr := $00000800;
  16515. end;
  16516. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  16517. begin
  16518. if thebits = 0 then
  16519. pTDefRegMap(@Self)^.clr := $00000800
  16520. else
  16521. pTDefRegMap(@Self)^.&set := $00000800;
  16522. end;
  16523. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  16524. begin
  16525. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16526. end;
  16527. procedure TADC10_AD1CON3.setSAMC4; inline;
  16528. begin
  16529. pTDefRegMap(@Self)^.&set := $00001000;
  16530. end;
  16531. procedure TADC10_AD1CON3.clearSAMC4; inline;
  16532. begin
  16533. pTDefRegMap(@Self)^.clr := $00001000;
  16534. end;
  16535. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  16536. begin
  16537. if thebits = 0 then
  16538. pTDefRegMap(@Self)^.clr := $00001000
  16539. else
  16540. pTDefRegMap(@Self)^.&set := $00001000;
  16541. end;
  16542. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  16543. begin
  16544. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16545. end;
  16546. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  16547. begin
  16548. pTDefRegMap(@Self)^.val := thebits;
  16549. end;
  16550. function TADC10_AD1CON3.getw : TBits_32; inline;
  16551. begin
  16552. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16553. end;
  16554. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  16555. begin
  16556. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16557. end;
  16558. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  16559. begin
  16560. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16561. end;
  16562. procedure TADC10_AD1CHS.setCH0NA; inline;
  16563. begin
  16564. pTDefRegMap(@Self)^.&set := $00800000;
  16565. end;
  16566. procedure TADC10_AD1CHS.clearCH0NA; inline;
  16567. begin
  16568. pTDefRegMap(@Self)^.clr := $00800000;
  16569. end;
  16570. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  16571. begin
  16572. if thebits = 0 then
  16573. pTDefRegMap(@Self)^.clr := $00800000
  16574. else
  16575. pTDefRegMap(@Self)^.&set := $00800000;
  16576. end;
  16577. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  16578. begin
  16579. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  16580. end;
  16581. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  16582. begin
  16583. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  16584. end;
  16585. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  16586. begin
  16587. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  16588. end;
  16589. procedure TADC10_AD1CHS.setCH0NB; inline;
  16590. begin
  16591. pTDefRegMap(@Self)^.&set := $80000000;
  16592. end;
  16593. procedure TADC10_AD1CHS.clearCH0NB; inline;
  16594. begin
  16595. pTDefRegMap(@Self)^.clr := $80000000;
  16596. end;
  16597. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  16598. begin
  16599. if thebits = 0 then
  16600. pTDefRegMap(@Self)^.clr := $80000000
  16601. else
  16602. pTDefRegMap(@Self)^.&set := $80000000;
  16603. end;
  16604. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  16605. begin
  16606. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  16607. end;
  16608. procedure TADC10_AD1CHS.setCH0SA0; inline;
  16609. begin
  16610. pTDefRegMap(@Self)^.&set := $00010000;
  16611. end;
  16612. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  16613. begin
  16614. pTDefRegMap(@Self)^.clr := $00010000;
  16615. end;
  16616. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  16617. begin
  16618. if thebits = 0 then
  16619. pTDefRegMap(@Self)^.clr := $00010000
  16620. else
  16621. pTDefRegMap(@Self)^.&set := $00010000;
  16622. end;
  16623. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  16624. begin
  16625. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  16626. end;
  16627. procedure TADC10_AD1CHS.setCH0SA1; inline;
  16628. begin
  16629. pTDefRegMap(@Self)^.&set := $00020000;
  16630. end;
  16631. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  16632. begin
  16633. pTDefRegMap(@Self)^.clr := $00020000;
  16634. end;
  16635. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  16636. begin
  16637. if thebits = 0 then
  16638. pTDefRegMap(@Self)^.clr := $00020000
  16639. else
  16640. pTDefRegMap(@Self)^.&set := $00020000;
  16641. end;
  16642. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  16643. begin
  16644. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  16645. end;
  16646. procedure TADC10_AD1CHS.setCH0SA2; inline;
  16647. begin
  16648. pTDefRegMap(@Self)^.&set := $00040000;
  16649. end;
  16650. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  16651. begin
  16652. pTDefRegMap(@Self)^.clr := $00040000;
  16653. end;
  16654. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  16655. begin
  16656. if thebits = 0 then
  16657. pTDefRegMap(@Self)^.clr := $00040000
  16658. else
  16659. pTDefRegMap(@Self)^.&set := $00040000;
  16660. end;
  16661. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  16662. begin
  16663. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  16664. end;
  16665. procedure TADC10_AD1CHS.setCH0SA3; inline;
  16666. begin
  16667. pTDefRegMap(@Self)^.&set := $00080000;
  16668. end;
  16669. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  16670. begin
  16671. pTDefRegMap(@Self)^.clr := $00080000;
  16672. end;
  16673. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  16674. begin
  16675. if thebits = 0 then
  16676. pTDefRegMap(@Self)^.clr := $00080000
  16677. else
  16678. pTDefRegMap(@Self)^.&set := $00080000;
  16679. end;
  16680. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  16681. begin
  16682. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  16683. end;
  16684. procedure TADC10_AD1CHS.setCH0SB0; inline;
  16685. begin
  16686. pTDefRegMap(@Self)^.&set := $01000000;
  16687. end;
  16688. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  16689. begin
  16690. pTDefRegMap(@Self)^.clr := $01000000;
  16691. end;
  16692. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  16693. begin
  16694. if thebits = 0 then
  16695. pTDefRegMap(@Self)^.clr := $01000000
  16696. else
  16697. pTDefRegMap(@Self)^.&set := $01000000;
  16698. end;
  16699. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  16700. begin
  16701. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  16702. end;
  16703. procedure TADC10_AD1CHS.setCH0SB1; inline;
  16704. begin
  16705. pTDefRegMap(@Self)^.&set := $02000000;
  16706. end;
  16707. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  16708. begin
  16709. pTDefRegMap(@Self)^.clr := $02000000;
  16710. end;
  16711. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  16712. begin
  16713. if thebits = 0 then
  16714. pTDefRegMap(@Self)^.clr := $02000000
  16715. else
  16716. pTDefRegMap(@Self)^.&set := $02000000;
  16717. end;
  16718. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  16719. begin
  16720. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  16721. end;
  16722. procedure TADC10_AD1CHS.setCH0SB2; inline;
  16723. begin
  16724. pTDefRegMap(@Self)^.&set := $04000000;
  16725. end;
  16726. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  16727. begin
  16728. pTDefRegMap(@Self)^.clr := $04000000;
  16729. end;
  16730. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  16731. begin
  16732. if thebits = 0 then
  16733. pTDefRegMap(@Self)^.clr := $04000000
  16734. else
  16735. pTDefRegMap(@Self)^.&set := $04000000;
  16736. end;
  16737. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  16738. begin
  16739. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  16740. end;
  16741. procedure TADC10_AD1CHS.setCH0SB3; inline;
  16742. begin
  16743. pTDefRegMap(@Self)^.&set := $08000000;
  16744. end;
  16745. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  16746. begin
  16747. pTDefRegMap(@Self)^.clr := $08000000;
  16748. end;
  16749. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  16750. begin
  16751. if thebits = 0 then
  16752. pTDefRegMap(@Self)^.clr := $08000000
  16753. else
  16754. pTDefRegMap(@Self)^.&set := $08000000;
  16755. end;
  16756. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  16757. begin
  16758. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  16759. end;
  16760. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  16761. begin
  16762. pTDefRegMap(@Self)^.val := thebits;
  16763. end;
  16764. function TADC10_AD1CHS.getw : TBits_32; inline;
  16765. begin
  16766. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16767. end;
  16768. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  16769. begin
  16770. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  16771. end;
  16772. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  16773. begin
  16774. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  16775. end;
  16776. procedure TADC10_AD1CSSL.setCSSL0; inline;
  16777. begin
  16778. pTDefRegMap(@Self)^.&set := $00000001;
  16779. end;
  16780. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  16781. begin
  16782. pTDefRegMap(@Self)^.clr := $00000001;
  16783. end;
  16784. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  16785. begin
  16786. if thebits = 0 then
  16787. pTDefRegMap(@Self)^.clr := $00000001
  16788. else
  16789. pTDefRegMap(@Self)^.&set := $00000001;
  16790. end;
  16791. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  16792. begin
  16793. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16794. end;
  16795. procedure TADC10_AD1CSSL.setCSSL1; inline;
  16796. begin
  16797. pTDefRegMap(@Self)^.&set := $00000002;
  16798. end;
  16799. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  16800. begin
  16801. pTDefRegMap(@Self)^.clr := $00000002;
  16802. end;
  16803. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  16804. begin
  16805. if thebits = 0 then
  16806. pTDefRegMap(@Self)^.clr := $00000002
  16807. else
  16808. pTDefRegMap(@Self)^.&set := $00000002;
  16809. end;
  16810. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  16811. begin
  16812. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16813. end;
  16814. procedure TADC10_AD1CSSL.setCSSL2; inline;
  16815. begin
  16816. pTDefRegMap(@Self)^.&set := $00000004;
  16817. end;
  16818. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  16819. begin
  16820. pTDefRegMap(@Self)^.clr := $00000004;
  16821. end;
  16822. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  16823. begin
  16824. if thebits = 0 then
  16825. pTDefRegMap(@Self)^.clr := $00000004
  16826. else
  16827. pTDefRegMap(@Self)^.&set := $00000004;
  16828. end;
  16829. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  16830. begin
  16831. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16832. end;
  16833. procedure TADC10_AD1CSSL.setCSSL3; inline;
  16834. begin
  16835. pTDefRegMap(@Self)^.&set := $00000008;
  16836. end;
  16837. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  16838. begin
  16839. pTDefRegMap(@Self)^.clr := $00000008;
  16840. end;
  16841. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  16842. begin
  16843. if thebits = 0 then
  16844. pTDefRegMap(@Self)^.clr := $00000008
  16845. else
  16846. pTDefRegMap(@Self)^.&set := $00000008;
  16847. end;
  16848. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  16849. begin
  16850. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16851. end;
  16852. procedure TADC10_AD1CSSL.setCSSL4; inline;
  16853. begin
  16854. pTDefRegMap(@Self)^.&set := $00000010;
  16855. end;
  16856. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  16857. begin
  16858. pTDefRegMap(@Self)^.clr := $00000010;
  16859. end;
  16860. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  16861. begin
  16862. if thebits = 0 then
  16863. pTDefRegMap(@Self)^.clr := $00000010
  16864. else
  16865. pTDefRegMap(@Self)^.&set := $00000010;
  16866. end;
  16867. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  16868. begin
  16869. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16870. end;
  16871. procedure TADC10_AD1CSSL.setCSSL5; inline;
  16872. begin
  16873. pTDefRegMap(@Self)^.&set := $00000020;
  16874. end;
  16875. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  16876. begin
  16877. pTDefRegMap(@Self)^.clr := $00000020;
  16878. end;
  16879. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  16880. begin
  16881. if thebits = 0 then
  16882. pTDefRegMap(@Self)^.clr := $00000020
  16883. else
  16884. pTDefRegMap(@Self)^.&set := $00000020;
  16885. end;
  16886. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  16887. begin
  16888. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16889. end;
  16890. procedure TADC10_AD1CSSL.setCSSL6; inline;
  16891. begin
  16892. pTDefRegMap(@Self)^.&set := $00000040;
  16893. end;
  16894. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  16895. begin
  16896. pTDefRegMap(@Self)^.clr := $00000040;
  16897. end;
  16898. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  16899. begin
  16900. if thebits = 0 then
  16901. pTDefRegMap(@Self)^.clr := $00000040
  16902. else
  16903. pTDefRegMap(@Self)^.&set := $00000040;
  16904. end;
  16905. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  16906. begin
  16907. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16908. end;
  16909. procedure TADC10_AD1CSSL.setCSSL7; inline;
  16910. begin
  16911. pTDefRegMap(@Self)^.&set := $00000080;
  16912. end;
  16913. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  16914. begin
  16915. pTDefRegMap(@Self)^.clr := $00000080;
  16916. end;
  16917. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  16918. begin
  16919. if thebits = 0 then
  16920. pTDefRegMap(@Self)^.clr := $00000080
  16921. else
  16922. pTDefRegMap(@Self)^.&set := $00000080;
  16923. end;
  16924. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  16925. begin
  16926. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16927. end;
  16928. procedure TADC10_AD1CSSL.setCSSL8; inline;
  16929. begin
  16930. pTDefRegMap(@Self)^.&set := $00000100;
  16931. end;
  16932. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  16933. begin
  16934. pTDefRegMap(@Self)^.clr := $00000100;
  16935. end;
  16936. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  16937. begin
  16938. if thebits = 0 then
  16939. pTDefRegMap(@Self)^.clr := $00000100
  16940. else
  16941. pTDefRegMap(@Self)^.&set := $00000100;
  16942. end;
  16943. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  16944. begin
  16945. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16946. end;
  16947. procedure TADC10_AD1CSSL.setCSSL9; inline;
  16948. begin
  16949. pTDefRegMap(@Self)^.&set := $00000200;
  16950. end;
  16951. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  16952. begin
  16953. pTDefRegMap(@Self)^.clr := $00000200;
  16954. end;
  16955. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  16956. begin
  16957. if thebits = 0 then
  16958. pTDefRegMap(@Self)^.clr := $00000200
  16959. else
  16960. pTDefRegMap(@Self)^.&set := $00000200;
  16961. end;
  16962. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  16963. begin
  16964. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16965. end;
  16966. procedure TADC10_AD1CSSL.setCSSL10; inline;
  16967. begin
  16968. pTDefRegMap(@Self)^.&set := $00000400;
  16969. end;
  16970. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  16971. begin
  16972. pTDefRegMap(@Self)^.clr := $00000400;
  16973. end;
  16974. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  16975. begin
  16976. if thebits = 0 then
  16977. pTDefRegMap(@Self)^.clr := $00000400
  16978. else
  16979. pTDefRegMap(@Self)^.&set := $00000400;
  16980. end;
  16981. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  16982. begin
  16983. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16984. end;
  16985. procedure TADC10_AD1CSSL.setCSSL11; inline;
  16986. begin
  16987. pTDefRegMap(@Self)^.&set := $00000800;
  16988. end;
  16989. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  16990. begin
  16991. pTDefRegMap(@Self)^.clr := $00000800;
  16992. end;
  16993. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  16994. begin
  16995. if thebits = 0 then
  16996. pTDefRegMap(@Self)^.clr := $00000800
  16997. else
  16998. pTDefRegMap(@Self)^.&set := $00000800;
  16999. end;
  17000. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  17001. begin
  17002. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17003. end;
  17004. procedure TADC10_AD1CSSL.setCSSL12; inline;
  17005. begin
  17006. pTDefRegMap(@Self)^.&set := $00001000;
  17007. end;
  17008. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  17009. begin
  17010. pTDefRegMap(@Self)^.clr := $00001000;
  17011. end;
  17012. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  17013. begin
  17014. if thebits = 0 then
  17015. pTDefRegMap(@Self)^.clr := $00001000
  17016. else
  17017. pTDefRegMap(@Self)^.&set := $00001000;
  17018. end;
  17019. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  17020. begin
  17021. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17022. end;
  17023. procedure TADC10_AD1CSSL.setCSSL13; inline;
  17024. begin
  17025. pTDefRegMap(@Self)^.&set := $00002000;
  17026. end;
  17027. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  17028. begin
  17029. pTDefRegMap(@Self)^.clr := $00002000;
  17030. end;
  17031. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  17032. begin
  17033. if thebits = 0 then
  17034. pTDefRegMap(@Self)^.clr := $00002000
  17035. else
  17036. pTDefRegMap(@Self)^.&set := $00002000;
  17037. end;
  17038. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  17039. begin
  17040. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17041. end;
  17042. procedure TADC10_AD1CSSL.setCSSL14; inline;
  17043. begin
  17044. pTDefRegMap(@Self)^.&set := $00004000;
  17045. end;
  17046. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  17047. begin
  17048. pTDefRegMap(@Self)^.clr := $00004000;
  17049. end;
  17050. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  17051. begin
  17052. if thebits = 0 then
  17053. pTDefRegMap(@Self)^.clr := $00004000
  17054. else
  17055. pTDefRegMap(@Self)^.&set := $00004000;
  17056. end;
  17057. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  17058. begin
  17059. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17060. end;
  17061. procedure TADC10_AD1CSSL.setCSSL15; inline;
  17062. begin
  17063. pTDefRegMap(@Self)^.&set := $00008000;
  17064. end;
  17065. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  17066. begin
  17067. pTDefRegMap(@Self)^.clr := $00008000;
  17068. end;
  17069. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  17070. begin
  17071. if thebits = 0 then
  17072. pTDefRegMap(@Self)^.clr := $00008000
  17073. else
  17074. pTDefRegMap(@Self)^.&set := $00008000;
  17075. end;
  17076. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  17077. begin
  17078. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17079. end;
  17080. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  17081. begin
  17082. pTDefRegMap(@Self)^.val := thebits;
  17083. end;
  17084. function TADC10_AD1CSSL.getw : TBits_32; inline;
  17085. begin
  17086. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17087. end;
  17088. procedure TADC10_AD1PCFG.setPCFG(thebits : TBits_16); inline;
  17089. begin
  17090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  17091. end;
  17092. function TADC10_AD1PCFG.getPCFG : TBits_16; inline;
  17093. begin
  17094. getPCFG := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  17095. end;
  17096. procedure TADC10_AD1PCFG.setPCFG0; inline;
  17097. begin
  17098. pTDefRegMap(@Self)^.&set := $00000001;
  17099. end;
  17100. procedure TADC10_AD1PCFG.clearPCFG0; inline;
  17101. begin
  17102. pTDefRegMap(@Self)^.clr := $00000001;
  17103. end;
  17104. procedure TADC10_AD1PCFG.setPCFG0(thebits : TBits_1); inline;
  17105. begin
  17106. if thebits = 0 then
  17107. pTDefRegMap(@Self)^.clr := $00000001
  17108. else
  17109. pTDefRegMap(@Self)^.&set := $00000001;
  17110. end;
  17111. function TADC10_AD1PCFG.getPCFG0 : TBits_1; inline;
  17112. begin
  17113. getPCFG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17114. end;
  17115. procedure TADC10_AD1PCFG.setPCFG1; inline;
  17116. begin
  17117. pTDefRegMap(@Self)^.&set := $00000002;
  17118. end;
  17119. procedure TADC10_AD1PCFG.clearPCFG1; inline;
  17120. begin
  17121. pTDefRegMap(@Self)^.clr := $00000002;
  17122. end;
  17123. procedure TADC10_AD1PCFG.setPCFG1(thebits : TBits_1); inline;
  17124. begin
  17125. if thebits = 0 then
  17126. pTDefRegMap(@Self)^.clr := $00000002
  17127. else
  17128. pTDefRegMap(@Self)^.&set := $00000002;
  17129. end;
  17130. function TADC10_AD1PCFG.getPCFG1 : TBits_1; inline;
  17131. begin
  17132. getPCFG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17133. end;
  17134. procedure TADC10_AD1PCFG.setPCFG2; inline;
  17135. begin
  17136. pTDefRegMap(@Self)^.&set := $00000004;
  17137. end;
  17138. procedure TADC10_AD1PCFG.clearPCFG2; inline;
  17139. begin
  17140. pTDefRegMap(@Self)^.clr := $00000004;
  17141. end;
  17142. procedure TADC10_AD1PCFG.setPCFG2(thebits : TBits_1); inline;
  17143. begin
  17144. if thebits = 0 then
  17145. pTDefRegMap(@Self)^.clr := $00000004
  17146. else
  17147. pTDefRegMap(@Self)^.&set := $00000004;
  17148. end;
  17149. function TADC10_AD1PCFG.getPCFG2 : TBits_1; inline;
  17150. begin
  17151. getPCFG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17152. end;
  17153. procedure TADC10_AD1PCFG.setPCFG3; inline;
  17154. begin
  17155. pTDefRegMap(@Self)^.&set := $00000008;
  17156. end;
  17157. procedure TADC10_AD1PCFG.clearPCFG3; inline;
  17158. begin
  17159. pTDefRegMap(@Self)^.clr := $00000008;
  17160. end;
  17161. procedure TADC10_AD1PCFG.setPCFG3(thebits : TBits_1); inline;
  17162. begin
  17163. if thebits = 0 then
  17164. pTDefRegMap(@Self)^.clr := $00000008
  17165. else
  17166. pTDefRegMap(@Self)^.&set := $00000008;
  17167. end;
  17168. function TADC10_AD1PCFG.getPCFG3 : TBits_1; inline;
  17169. begin
  17170. getPCFG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17171. end;
  17172. procedure TADC10_AD1PCFG.setPCFG4; inline;
  17173. begin
  17174. pTDefRegMap(@Self)^.&set := $00000010;
  17175. end;
  17176. procedure TADC10_AD1PCFG.clearPCFG4; inline;
  17177. begin
  17178. pTDefRegMap(@Self)^.clr := $00000010;
  17179. end;
  17180. procedure TADC10_AD1PCFG.setPCFG4(thebits : TBits_1); inline;
  17181. begin
  17182. if thebits = 0 then
  17183. pTDefRegMap(@Self)^.clr := $00000010
  17184. else
  17185. pTDefRegMap(@Self)^.&set := $00000010;
  17186. end;
  17187. function TADC10_AD1PCFG.getPCFG4 : TBits_1; inline;
  17188. begin
  17189. getPCFG4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17190. end;
  17191. procedure TADC10_AD1PCFG.setPCFG5; inline;
  17192. begin
  17193. pTDefRegMap(@Self)^.&set := $00000020;
  17194. end;
  17195. procedure TADC10_AD1PCFG.clearPCFG5; inline;
  17196. begin
  17197. pTDefRegMap(@Self)^.clr := $00000020;
  17198. end;
  17199. procedure TADC10_AD1PCFG.setPCFG5(thebits : TBits_1); inline;
  17200. begin
  17201. if thebits = 0 then
  17202. pTDefRegMap(@Self)^.clr := $00000020
  17203. else
  17204. pTDefRegMap(@Self)^.&set := $00000020;
  17205. end;
  17206. function TADC10_AD1PCFG.getPCFG5 : TBits_1; inline;
  17207. begin
  17208. getPCFG5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17209. end;
  17210. procedure TADC10_AD1PCFG.setPCFG6; inline;
  17211. begin
  17212. pTDefRegMap(@Self)^.&set := $00000040;
  17213. end;
  17214. procedure TADC10_AD1PCFG.clearPCFG6; inline;
  17215. begin
  17216. pTDefRegMap(@Self)^.clr := $00000040;
  17217. end;
  17218. procedure TADC10_AD1PCFG.setPCFG6(thebits : TBits_1); inline;
  17219. begin
  17220. if thebits = 0 then
  17221. pTDefRegMap(@Self)^.clr := $00000040
  17222. else
  17223. pTDefRegMap(@Self)^.&set := $00000040;
  17224. end;
  17225. function TADC10_AD1PCFG.getPCFG6 : TBits_1; inline;
  17226. begin
  17227. getPCFG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17228. end;
  17229. procedure TADC10_AD1PCFG.setPCFG7; inline;
  17230. begin
  17231. pTDefRegMap(@Self)^.&set := $00000080;
  17232. end;
  17233. procedure TADC10_AD1PCFG.clearPCFG7; inline;
  17234. begin
  17235. pTDefRegMap(@Self)^.clr := $00000080;
  17236. end;
  17237. procedure TADC10_AD1PCFG.setPCFG7(thebits : TBits_1); inline;
  17238. begin
  17239. if thebits = 0 then
  17240. pTDefRegMap(@Self)^.clr := $00000080
  17241. else
  17242. pTDefRegMap(@Self)^.&set := $00000080;
  17243. end;
  17244. function TADC10_AD1PCFG.getPCFG7 : TBits_1; inline;
  17245. begin
  17246. getPCFG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17247. end;
  17248. procedure TADC10_AD1PCFG.setPCFG8; inline;
  17249. begin
  17250. pTDefRegMap(@Self)^.&set := $00000100;
  17251. end;
  17252. procedure TADC10_AD1PCFG.clearPCFG8; inline;
  17253. begin
  17254. pTDefRegMap(@Self)^.clr := $00000100;
  17255. end;
  17256. procedure TADC10_AD1PCFG.setPCFG8(thebits : TBits_1); inline;
  17257. begin
  17258. if thebits = 0 then
  17259. pTDefRegMap(@Self)^.clr := $00000100
  17260. else
  17261. pTDefRegMap(@Self)^.&set := $00000100;
  17262. end;
  17263. function TADC10_AD1PCFG.getPCFG8 : TBits_1; inline;
  17264. begin
  17265. getPCFG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17266. end;
  17267. procedure TADC10_AD1PCFG.setPCFG9; inline;
  17268. begin
  17269. pTDefRegMap(@Self)^.&set := $00000200;
  17270. end;
  17271. procedure TADC10_AD1PCFG.clearPCFG9; inline;
  17272. begin
  17273. pTDefRegMap(@Self)^.clr := $00000200;
  17274. end;
  17275. procedure TADC10_AD1PCFG.setPCFG9(thebits : TBits_1); inline;
  17276. begin
  17277. if thebits = 0 then
  17278. pTDefRegMap(@Self)^.clr := $00000200
  17279. else
  17280. pTDefRegMap(@Self)^.&set := $00000200;
  17281. end;
  17282. function TADC10_AD1PCFG.getPCFG9 : TBits_1; inline;
  17283. begin
  17284. getPCFG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17285. end;
  17286. procedure TADC10_AD1PCFG.setPCFG10; inline;
  17287. begin
  17288. pTDefRegMap(@Self)^.&set := $00000400;
  17289. end;
  17290. procedure TADC10_AD1PCFG.clearPCFG10; inline;
  17291. begin
  17292. pTDefRegMap(@Self)^.clr := $00000400;
  17293. end;
  17294. procedure TADC10_AD1PCFG.setPCFG10(thebits : TBits_1); inline;
  17295. begin
  17296. if thebits = 0 then
  17297. pTDefRegMap(@Self)^.clr := $00000400
  17298. else
  17299. pTDefRegMap(@Self)^.&set := $00000400;
  17300. end;
  17301. function TADC10_AD1PCFG.getPCFG10 : TBits_1; inline;
  17302. begin
  17303. getPCFG10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17304. end;
  17305. procedure TADC10_AD1PCFG.setPCFG11; inline;
  17306. begin
  17307. pTDefRegMap(@Self)^.&set := $00000800;
  17308. end;
  17309. procedure TADC10_AD1PCFG.clearPCFG11; inline;
  17310. begin
  17311. pTDefRegMap(@Self)^.clr := $00000800;
  17312. end;
  17313. procedure TADC10_AD1PCFG.setPCFG11(thebits : TBits_1); inline;
  17314. begin
  17315. if thebits = 0 then
  17316. pTDefRegMap(@Self)^.clr := $00000800
  17317. else
  17318. pTDefRegMap(@Self)^.&set := $00000800;
  17319. end;
  17320. function TADC10_AD1PCFG.getPCFG11 : TBits_1; inline;
  17321. begin
  17322. getPCFG11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17323. end;
  17324. procedure TADC10_AD1PCFG.setPCFG12; inline;
  17325. begin
  17326. pTDefRegMap(@Self)^.&set := $00001000;
  17327. end;
  17328. procedure TADC10_AD1PCFG.clearPCFG12; inline;
  17329. begin
  17330. pTDefRegMap(@Self)^.clr := $00001000;
  17331. end;
  17332. procedure TADC10_AD1PCFG.setPCFG12(thebits : TBits_1); inline;
  17333. begin
  17334. if thebits = 0 then
  17335. pTDefRegMap(@Self)^.clr := $00001000
  17336. else
  17337. pTDefRegMap(@Self)^.&set := $00001000;
  17338. end;
  17339. function TADC10_AD1PCFG.getPCFG12 : TBits_1; inline;
  17340. begin
  17341. getPCFG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17342. end;
  17343. procedure TADC10_AD1PCFG.setPCFG13; inline;
  17344. begin
  17345. pTDefRegMap(@Self)^.&set := $00002000;
  17346. end;
  17347. procedure TADC10_AD1PCFG.clearPCFG13; inline;
  17348. begin
  17349. pTDefRegMap(@Self)^.clr := $00002000;
  17350. end;
  17351. procedure TADC10_AD1PCFG.setPCFG13(thebits : TBits_1); inline;
  17352. begin
  17353. if thebits = 0 then
  17354. pTDefRegMap(@Self)^.clr := $00002000
  17355. else
  17356. pTDefRegMap(@Self)^.&set := $00002000;
  17357. end;
  17358. function TADC10_AD1PCFG.getPCFG13 : TBits_1; inline;
  17359. begin
  17360. getPCFG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17361. end;
  17362. procedure TADC10_AD1PCFG.setPCFG14; inline;
  17363. begin
  17364. pTDefRegMap(@Self)^.&set := $00004000;
  17365. end;
  17366. procedure TADC10_AD1PCFG.clearPCFG14; inline;
  17367. begin
  17368. pTDefRegMap(@Self)^.clr := $00004000;
  17369. end;
  17370. procedure TADC10_AD1PCFG.setPCFG14(thebits : TBits_1); inline;
  17371. begin
  17372. if thebits = 0 then
  17373. pTDefRegMap(@Self)^.clr := $00004000
  17374. else
  17375. pTDefRegMap(@Self)^.&set := $00004000;
  17376. end;
  17377. function TADC10_AD1PCFG.getPCFG14 : TBits_1; inline;
  17378. begin
  17379. getPCFG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17380. end;
  17381. procedure TADC10_AD1PCFG.setPCFG15; inline;
  17382. begin
  17383. pTDefRegMap(@Self)^.&set := $00008000;
  17384. end;
  17385. procedure TADC10_AD1PCFG.clearPCFG15; inline;
  17386. begin
  17387. pTDefRegMap(@Self)^.clr := $00008000;
  17388. end;
  17389. procedure TADC10_AD1PCFG.setPCFG15(thebits : TBits_1); inline;
  17390. begin
  17391. if thebits = 0 then
  17392. pTDefRegMap(@Self)^.clr := $00008000
  17393. else
  17394. pTDefRegMap(@Self)^.&set := $00008000;
  17395. end;
  17396. function TADC10_AD1PCFG.getPCFG15 : TBits_1; inline;
  17397. begin
  17398. getPCFG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17399. end;
  17400. procedure TADC10_AD1PCFG.setw(thebits : TBits_32); inline;
  17401. begin
  17402. pTDefRegMap(@Self)^.val := thebits;
  17403. end;
  17404. function TADC10_AD1PCFG.getw : TBits_32; inline;
  17405. begin
  17406. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17407. end;
  17408. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  17409. begin
  17410. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  17411. end;
  17412. function TCVR_CVRCON.getCVR : TBits_4; inline;
  17413. begin
  17414. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  17415. end;
  17416. procedure TCVR_CVRCON.setCVRSS; inline;
  17417. begin
  17418. pTDefRegMap(@Self)^.&set := $00000010;
  17419. end;
  17420. procedure TCVR_CVRCON.clearCVRSS; inline;
  17421. begin
  17422. pTDefRegMap(@Self)^.clr := $00000010;
  17423. end;
  17424. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  17425. begin
  17426. if thebits = 0 then
  17427. pTDefRegMap(@Self)^.clr := $00000010
  17428. else
  17429. pTDefRegMap(@Self)^.&set := $00000010;
  17430. end;
  17431. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  17432. begin
  17433. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17434. end;
  17435. procedure TCVR_CVRCON.setCVRR; inline;
  17436. begin
  17437. pTDefRegMap(@Self)^.&set := $00000020;
  17438. end;
  17439. procedure TCVR_CVRCON.clearCVRR; inline;
  17440. begin
  17441. pTDefRegMap(@Self)^.clr := $00000020;
  17442. end;
  17443. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  17444. begin
  17445. if thebits = 0 then
  17446. pTDefRegMap(@Self)^.clr := $00000020
  17447. else
  17448. pTDefRegMap(@Self)^.&set := $00000020;
  17449. end;
  17450. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  17451. begin
  17452. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17453. end;
  17454. procedure TCVR_CVRCON.setCVROE; inline;
  17455. begin
  17456. pTDefRegMap(@Self)^.&set := $00000040;
  17457. end;
  17458. procedure TCVR_CVRCON.clearCVROE; inline;
  17459. begin
  17460. pTDefRegMap(@Self)^.clr := $00000040;
  17461. end;
  17462. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  17463. begin
  17464. if thebits = 0 then
  17465. pTDefRegMap(@Self)^.clr := $00000040
  17466. else
  17467. pTDefRegMap(@Self)^.&set := $00000040;
  17468. end;
  17469. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  17470. begin
  17471. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17472. end;
  17473. procedure TCVR_CVRCON.setON; inline;
  17474. begin
  17475. pTDefRegMap(@Self)^.&set := $00008000;
  17476. end;
  17477. procedure TCVR_CVRCON.clearON; inline;
  17478. begin
  17479. pTDefRegMap(@Self)^.clr := $00008000;
  17480. end;
  17481. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  17482. begin
  17483. if thebits = 0 then
  17484. pTDefRegMap(@Self)^.clr := $00008000
  17485. else
  17486. pTDefRegMap(@Self)^.&set := $00008000;
  17487. end;
  17488. function TCVR_CVRCON.getON : TBits_1; inline;
  17489. begin
  17490. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17491. end;
  17492. procedure TCVR_CVRCON.setCVR0; inline;
  17493. begin
  17494. pTDefRegMap(@Self)^.&set := $00000001;
  17495. end;
  17496. procedure TCVR_CVRCON.clearCVR0; inline;
  17497. begin
  17498. pTDefRegMap(@Self)^.clr := $00000001;
  17499. end;
  17500. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  17501. begin
  17502. if thebits = 0 then
  17503. pTDefRegMap(@Self)^.clr := $00000001
  17504. else
  17505. pTDefRegMap(@Self)^.&set := $00000001;
  17506. end;
  17507. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  17508. begin
  17509. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17510. end;
  17511. procedure TCVR_CVRCON.setCVR1; inline;
  17512. begin
  17513. pTDefRegMap(@Self)^.&set := $00000002;
  17514. end;
  17515. procedure TCVR_CVRCON.clearCVR1; inline;
  17516. begin
  17517. pTDefRegMap(@Self)^.clr := $00000002;
  17518. end;
  17519. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  17520. begin
  17521. if thebits = 0 then
  17522. pTDefRegMap(@Self)^.clr := $00000002
  17523. else
  17524. pTDefRegMap(@Self)^.&set := $00000002;
  17525. end;
  17526. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  17527. begin
  17528. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17529. end;
  17530. procedure TCVR_CVRCON.setCVR2; inline;
  17531. begin
  17532. pTDefRegMap(@Self)^.&set := $00000004;
  17533. end;
  17534. procedure TCVR_CVRCON.clearCVR2; inline;
  17535. begin
  17536. pTDefRegMap(@Self)^.clr := $00000004;
  17537. end;
  17538. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  17539. begin
  17540. if thebits = 0 then
  17541. pTDefRegMap(@Self)^.clr := $00000004
  17542. else
  17543. pTDefRegMap(@Self)^.&set := $00000004;
  17544. end;
  17545. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  17546. begin
  17547. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17548. end;
  17549. procedure TCVR_CVRCON.setCVR3; inline;
  17550. begin
  17551. pTDefRegMap(@Self)^.&set := $00000008;
  17552. end;
  17553. procedure TCVR_CVRCON.clearCVR3; inline;
  17554. begin
  17555. pTDefRegMap(@Self)^.clr := $00000008;
  17556. end;
  17557. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  17558. begin
  17559. if thebits = 0 then
  17560. pTDefRegMap(@Self)^.clr := $00000008
  17561. else
  17562. pTDefRegMap(@Self)^.&set := $00000008;
  17563. end;
  17564. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  17565. begin
  17566. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17567. end;
  17568. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  17569. begin
  17570. pTDefRegMap(@Self)^.val := thebits;
  17571. end;
  17572. function TCVR_CVRCON.getw : TBits_32; inline;
  17573. begin
  17574. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17575. end;
  17576. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  17577. begin
  17578. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17579. end;
  17580. function TCMP_CM1CON.getCCH : TBits_2; inline;
  17581. begin
  17582. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17583. end;
  17584. procedure TCMP_CM1CON.setCREF; inline;
  17585. begin
  17586. pTDefRegMap(@Self)^.&set := $00000010;
  17587. end;
  17588. procedure TCMP_CM1CON.clearCREF; inline;
  17589. begin
  17590. pTDefRegMap(@Self)^.clr := $00000010;
  17591. end;
  17592. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  17593. begin
  17594. if thebits = 0 then
  17595. pTDefRegMap(@Self)^.clr := $00000010
  17596. else
  17597. pTDefRegMap(@Self)^.&set := $00000010;
  17598. end;
  17599. function TCMP_CM1CON.getCREF : TBits_1; inline;
  17600. begin
  17601. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17602. end;
  17603. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  17604. begin
  17605. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  17606. end;
  17607. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  17608. begin
  17609. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  17610. end;
  17611. procedure TCMP_CM1CON.setCOUT; inline;
  17612. begin
  17613. pTDefRegMap(@Self)^.&set := $00000100;
  17614. end;
  17615. procedure TCMP_CM1CON.clearCOUT; inline;
  17616. begin
  17617. pTDefRegMap(@Self)^.clr := $00000100;
  17618. end;
  17619. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  17620. begin
  17621. if thebits = 0 then
  17622. pTDefRegMap(@Self)^.clr := $00000100
  17623. else
  17624. pTDefRegMap(@Self)^.&set := $00000100;
  17625. end;
  17626. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  17627. begin
  17628. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17629. end;
  17630. procedure TCMP_CM1CON.setCPOL; inline;
  17631. begin
  17632. pTDefRegMap(@Self)^.&set := $00002000;
  17633. end;
  17634. procedure TCMP_CM1CON.clearCPOL; inline;
  17635. begin
  17636. pTDefRegMap(@Self)^.clr := $00002000;
  17637. end;
  17638. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  17639. begin
  17640. if thebits = 0 then
  17641. pTDefRegMap(@Self)^.clr := $00002000
  17642. else
  17643. pTDefRegMap(@Self)^.&set := $00002000;
  17644. end;
  17645. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  17646. begin
  17647. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17648. end;
  17649. procedure TCMP_CM1CON.setCOE; inline;
  17650. begin
  17651. pTDefRegMap(@Self)^.&set := $00004000;
  17652. end;
  17653. procedure TCMP_CM1CON.clearCOE; inline;
  17654. begin
  17655. pTDefRegMap(@Self)^.clr := $00004000;
  17656. end;
  17657. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  17658. begin
  17659. if thebits = 0 then
  17660. pTDefRegMap(@Self)^.clr := $00004000
  17661. else
  17662. pTDefRegMap(@Self)^.&set := $00004000;
  17663. end;
  17664. function TCMP_CM1CON.getCOE : TBits_1; inline;
  17665. begin
  17666. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17667. end;
  17668. procedure TCMP_CM1CON.setON; inline;
  17669. begin
  17670. pTDefRegMap(@Self)^.&set := $00008000;
  17671. end;
  17672. procedure TCMP_CM1CON.clearON; inline;
  17673. begin
  17674. pTDefRegMap(@Self)^.clr := $00008000;
  17675. end;
  17676. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  17677. begin
  17678. if thebits = 0 then
  17679. pTDefRegMap(@Self)^.clr := $00008000
  17680. else
  17681. pTDefRegMap(@Self)^.&set := $00008000;
  17682. end;
  17683. function TCMP_CM1CON.getON : TBits_1; inline;
  17684. begin
  17685. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17686. end;
  17687. procedure TCMP_CM1CON.setCCH0; inline;
  17688. begin
  17689. pTDefRegMap(@Self)^.&set := $00000001;
  17690. end;
  17691. procedure TCMP_CM1CON.clearCCH0; inline;
  17692. begin
  17693. pTDefRegMap(@Self)^.clr := $00000001;
  17694. end;
  17695. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  17696. begin
  17697. if thebits = 0 then
  17698. pTDefRegMap(@Self)^.clr := $00000001
  17699. else
  17700. pTDefRegMap(@Self)^.&set := $00000001;
  17701. end;
  17702. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  17703. begin
  17704. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17705. end;
  17706. procedure TCMP_CM1CON.setCCH1; inline;
  17707. begin
  17708. pTDefRegMap(@Self)^.&set := $00000002;
  17709. end;
  17710. procedure TCMP_CM1CON.clearCCH1; inline;
  17711. begin
  17712. pTDefRegMap(@Self)^.clr := $00000002;
  17713. end;
  17714. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  17715. begin
  17716. if thebits = 0 then
  17717. pTDefRegMap(@Self)^.clr := $00000002
  17718. else
  17719. pTDefRegMap(@Self)^.&set := $00000002;
  17720. end;
  17721. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  17722. begin
  17723. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17724. end;
  17725. procedure TCMP_CM1CON.setEVPOL0; inline;
  17726. begin
  17727. pTDefRegMap(@Self)^.&set := $00000040;
  17728. end;
  17729. procedure TCMP_CM1CON.clearEVPOL0; inline;
  17730. begin
  17731. pTDefRegMap(@Self)^.clr := $00000040;
  17732. end;
  17733. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  17734. begin
  17735. if thebits = 0 then
  17736. pTDefRegMap(@Self)^.clr := $00000040
  17737. else
  17738. pTDefRegMap(@Self)^.&set := $00000040;
  17739. end;
  17740. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  17741. begin
  17742. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17743. end;
  17744. procedure TCMP_CM1CON.setEVPOL1; inline;
  17745. begin
  17746. pTDefRegMap(@Self)^.&set := $00000080;
  17747. end;
  17748. procedure TCMP_CM1CON.clearEVPOL1; inline;
  17749. begin
  17750. pTDefRegMap(@Self)^.clr := $00000080;
  17751. end;
  17752. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  17753. begin
  17754. if thebits = 0 then
  17755. pTDefRegMap(@Self)^.clr := $00000080
  17756. else
  17757. pTDefRegMap(@Self)^.&set := $00000080;
  17758. end;
  17759. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  17760. begin
  17761. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17762. end;
  17763. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  17764. begin
  17765. pTDefRegMap(@Self)^.val := thebits;
  17766. end;
  17767. function TCMP_CM1CON.getw : TBits_32; inline;
  17768. begin
  17769. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17770. end;
  17771. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  17772. begin
  17773. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17774. end;
  17775. function TCMP_CM2CON.getCCH : TBits_2; inline;
  17776. begin
  17777. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17778. end;
  17779. procedure TCMP_CM2CON.setCREF; inline;
  17780. begin
  17781. pTDefRegMap(@Self)^.&set := $00000010;
  17782. end;
  17783. procedure TCMP_CM2CON.clearCREF; inline;
  17784. begin
  17785. pTDefRegMap(@Self)^.clr := $00000010;
  17786. end;
  17787. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  17788. begin
  17789. if thebits = 0 then
  17790. pTDefRegMap(@Self)^.clr := $00000010
  17791. else
  17792. pTDefRegMap(@Self)^.&set := $00000010;
  17793. end;
  17794. function TCMP_CM2CON.getCREF : TBits_1; inline;
  17795. begin
  17796. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17797. end;
  17798. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  17799. begin
  17800. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  17801. end;
  17802. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  17803. begin
  17804. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  17805. end;
  17806. procedure TCMP_CM2CON.setCOUT; inline;
  17807. begin
  17808. pTDefRegMap(@Self)^.&set := $00000100;
  17809. end;
  17810. procedure TCMP_CM2CON.clearCOUT; inline;
  17811. begin
  17812. pTDefRegMap(@Self)^.clr := $00000100;
  17813. end;
  17814. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  17815. begin
  17816. if thebits = 0 then
  17817. pTDefRegMap(@Self)^.clr := $00000100
  17818. else
  17819. pTDefRegMap(@Self)^.&set := $00000100;
  17820. end;
  17821. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  17822. begin
  17823. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17824. end;
  17825. procedure TCMP_CM2CON.setCPOL; inline;
  17826. begin
  17827. pTDefRegMap(@Self)^.&set := $00002000;
  17828. end;
  17829. procedure TCMP_CM2CON.clearCPOL; inline;
  17830. begin
  17831. pTDefRegMap(@Self)^.clr := $00002000;
  17832. end;
  17833. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  17834. begin
  17835. if thebits = 0 then
  17836. pTDefRegMap(@Self)^.clr := $00002000
  17837. else
  17838. pTDefRegMap(@Self)^.&set := $00002000;
  17839. end;
  17840. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  17841. begin
  17842. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17843. end;
  17844. procedure TCMP_CM2CON.setCOE; inline;
  17845. begin
  17846. pTDefRegMap(@Self)^.&set := $00004000;
  17847. end;
  17848. procedure TCMP_CM2CON.clearCOE; inline;
  17849. begin
  17850. pTDefRegMap(@Self)^.clr := $00004000;
  17851. end;
  17852. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  17853. begin
  17854. if thebits = 0 then
  17855. pTDefRegMap(@Self)^.clr := $00004000
  17856. else
  17857. pTDefRegMap(@Self)^.&set := $00004000;
  17858. end;
  17859. function TCMP_CM2CON.getCOE : TBits_1; inline;
  17860. begin
  17861. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17862. end;
  17863. procedure TCMP_CM2CON.setON; inline;
  17864. begin
  17865. pTDefRegMap(@Self)^.&set := $00008000;
  17866. end;
  17867. procedure TCMP_CM2CON.clearON; inline;
  17868. begin
  17869. pTDefRegMap(@Self)^.clr := $00008000;
  17870. end;
  17871. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  17872. begin
  17873. if thebits = 0 then
  17874. pTDefRegMap(@Self)^.clr := $00008000
  17875. else
  17876. pTDefRegMap(@Self)^.&set := $00008000;
  17877. end;
  17878. function TCMP_CM2CON.getON : TBits_1; inline;
  17879. begin
  17880. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17881. end;
  17882. procedure TCMP_CM2CON.setCCH0; inline;
  17883. begin
  17884. pTDefRegMap(@Self)^.&set := $00000001;
  17885. end;
  17886. procedure TCMP_CM2CON.clearCCH0; inline;
  17887. begin
  17888. pTDefRegMap(@Self)^.clr := $00000001;
  17889. end;
  17890. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  17891. begin
  17892. if thebits = 0 then
  17893. pTDefRegMap(@Self)^.clr := $00000001
  17894. else
  17895. pTDefRegMap(@Self)^.&set := $00000001;
  17896. end;
  17897. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  17898. begin
  17899. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17900. end;
  17901. procedure TCMP_CM2CON.setCCH1; inline;
  17902. begin
  17903. pTDefRegMap(@Self)^.&set := $00000002;
  17904. end;
  17905. procedure TCMP_CM2CON.clearCCH1; inline;
  17906. begin
  17907. pTDefRegMap(@Self)^.clr := $00000002;
  17908. end;
  17909. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  17910. begin
  17911. if thebits = 0 then
  17912. pTDefRegMap(@Self)^.clr := $00000002
  17913. else
  17914. pTDefRegMap(@Self)^.&set := $00000002;
  17915. end;
  17916. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  17917. begin
  17918. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17919. end;
  17920. procedure TCMP_CM2CON.setEVPOL0; inline;
  17921. begin
  17922. pTDefRegMap(@Self)^.&set := $00000040;
  17923. end;
  17924. procedure TCMP_CM2CON.clearEVPOL0; inline;
  17925. begin
  17926. pTDefRegMap(@Self)^.clr := $00000040;
  17927. end;
  17928. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  17929. begin
  17930. if thebits = 0 then
  17931. pTDefRegMap(@Self)^.clr := $00000040
  17932. else
  17933. pTDefRegMap(@Self)^.&set := $00000040;
  17934. end;
  17935. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  17936. begin
  17937. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17938. end;
  17939. procedure TCMP_CM2CON.setEVPOL1; inline;
  17940. begin
  17941. pTDefRegMap(@Self)^.&set := $00000080;
  17942. end;
  17943. procedure TCMP_CM2CON.clearEVPOL1; inline;
  17944. begin
  17945. pTDefRegMap(@Self)^.clr := $00000080;
  17946. end;
  17947. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  17948. begin
  17949. if thebits = 0 then
  17950. pTDefRegMap(@Self)^.clr := $00000080
  17951. else
  17952. pTDefRegMap(@Self)^.&set := $00000080;
  17953. end;
  17954. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  17955. begin
  17956. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17957. end;
  17958. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  17959. begin
  17960. pTDefRegMap(@Self)^.val := thebits;
  17961. end;
  17962. function TCMP_CM2CON.getw : TBits_32; inline;
  17963. begin
  17964. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17965. end;
  17966. procedure TCMP_CMSTAT.setC1OUT; inline;
  17967. begin
  17968. pTDefRegMap(@Self)^.&set := $00000001;
  17969. end;
  17970. procedure TCMP_CMSTAT.clearC1OUT; inline;
  17971. begin
  17972. pTDefRegMap(@Self)^.clr := $00000001;
  17973. end;
  17974. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  17975. begin
  17976. if thebits = 0 then
  17977. pTDefRegMap(@Self)^.clr := $00000001
  17978. else
  17979. pTDefRegMap(@Self)^.&set := $00000001;
  17980. end;
  17981. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  17982. begin
  17983. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17984. end;
  17985. procedure TCMP_CMSTAT.setC2OUT; inline;
  17986. begin
  17987. pTDefRegMap(@Self)^.&set := $00000002;
  17988. end;
  17989. procedure TCMP_CMSTAT.clearC2OUT; inline;
  17990. begin
  17991. pTDefRegMap(@Self)^.clr := $00000002;
  17992. end;
  17993. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  17994. begin
  17995. if thebits = 0 then
  17996. pTDefRegMap(@Self)^.clr := $00000002
  17997. else
  17998. pTDefRegMap(@Self)^.&set := $00000002;
  17999. end;
  18000. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  18001. begin
  18002. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18003. end;
  18004. procedure TCMP_CMSTAT.setSIDL; inline;
  18005. begin
  18006. pTDefRegMap(@Self)^.&set := $00002000;
  18007. end;
  18008. procedure TCMP_CMSTAT.clearSIDL; inline;
  18009. begin
  18010. pTDefRegMap(@Self)^.clr := $00002000;
  18011. end;
  18012. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  18013. begin
  18014. if thebits = 0 then
  18015. pTDefRegMap(@Self)^.clr := $00002000
  18016. else
  18017. pTDefRegMap(@Self)^.&set := $00002000;
  18018. end;
  18019. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  18020. begin
  18021. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18022. end;
  18023. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  18024. begin
  18025. pTDefRegMap(@Self)^.val := thebits;
  18026. end;
  18027. function TCMP_CMSTAT.getw : TBits_32; inline;
  18028. begin
  18029. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18030. end;
  18031. procedure TOSC_OSCCON.setOSWEN; inline;
  18032. begin
  18033. pTDefRegMap(@Self)^.&set := $00000001;
  18034. end;
  18035. procedure TOSC_OSCCON.clearOSWEN; inline;
  18036. begin
  18037. pTDefRegMap(@Self)^.clr := $00000001;
  18038. end;
  18039. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  18040. begin
  18041. if thebits = 0 then
  18042. pTDefRegMap(@Self)^.clr := $00000001
  18043. else
  18044. pTDefRegMap(@Self)^.&set := $00000001;
  18045. end;
  18046. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  18047. begin
  18048. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18049. end;
  18050. procedure TOSC_OSCCON.setSOSCEN; inline;
  18051. begin
  18052. pTDefRegMap(@Self)^.&set := $00000002;
  18053. end;
  18054. procedure TOSC_OSCCON.clearSOSCEN; inline;
  18055. begin
  18056. pTDefRegMap(@Self)^.clr := $00000002;
  18057. end;
  18058. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  18059. begin
  18060. if thebits = 0 then
  18061. pTDefRegMap(@Self)^.clr := $00000002
  18062. else
  18063. pTDefRegMap(@Self)^.&set := $00000002;
  18064. end;
  18065. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  18066. begin
  18067. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18068. end;
  18069. procedure TOSC_OSCCON.setUFRCEN; inline;
  18070. begin
  18071. pTDefRegMap(@Self)^.&set := $00000004;
  18072. end;
  18073. procedure TOSC_OSCCON.clearUFRCEN; inline;
  18074. begin
  18075. pTDefRegMap(@Self)^.clr := $00000004;
  18076. end;
  18077. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  18078. begin
  18079. if thebits = 0 then
  18080. pTDefRegMap(@Self)^.clr := $00000004
  18081. else
  18082. pTDefRegMap(@Self)^.&set := $00000004;
  18083. end;
  18084. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  18085. begin
  18086. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18087. end;
  18088. procedure TOSC_OSCCON.setCF; inline;
  18089. begin
  18090. pTDefRegMap(@Self)^.&set := $00000008;
  18091. end;
  18092. procedure TOSC_OSCCON.clearCF; inline;
  18093. begin
  18094. pTDefRegMap(@Self)^.clr := $00000008;
  18095. end;
  18096. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  18097. begin
  18098. if thebits = 0 then
  18099. pTDefRegMap(@Self)^.clr := $00000008
  18100. else
  18101. pTDefRegMap(@Self)^.&set := $00000008;
  18102. end;
  18103. function TOSC_OSCCON.getCF : TBits_1; inline;
  18104. begin
  18105. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18106. end;
  18107. procedure TOSC_OSCCON.setSLPEN; inline;
  18108. begin
  18109. pTDefRegMap(@Self)^.&set := $00000010;
  18110. end;
  18111. procedure TOSC_OSCCON.clearSLPEN; inline;
  18112. begin
  18113. pTDefRegMap(@Self)^.clr := $00000010;
  18114. end;
  18115. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  18116. begin
  18117. if thebits = 0 then
  18118. pTDefRegMap(@Self)^.clr := $00000010
  18119. else
  18120. pTDefRegMap(@Self)^.&set := $00000010;
  18121. end;
  18122. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  18123. begin
  18124. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18125. end;
  18126. procedure TOSC_OSCCON.setLOCK; inline;
  18127. begin
  18128. pTDefRegMap(@Self)^.&set := $00000020;
  18129. end;
  18130. procedure TOSC_OSCCON.clearLOCK; inline;
  18131. begin
  18132. pTDefRegMap(@Self)^.clr := $00000020;
  18133. end;
  18134. procedure TOSC_OSCCON.setLOCK(thebits : TBits_1); inline;
  18135. begin
  18136. if thebits = 0 then
  18137. pTDefRegMap(@Self)^.clr := $00000020
  18138. else
  18139. pTDefRegMap(@Self)^.&set := $00000020;
  18140. end;
  18141. function TOSC_OSCCON.getLOCK : TBits_1; inline;
  18142. begin
  18143. getLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18144. end;
  18145. procedure TOSC_OSCCON.setULOCK; inline;
  18146. begin
  18147. pTDefRegMap(@Self)^.&set := $00000040;
  18148. end;
  18149. procedure TOSC_OSCCON.clearULOCK; inline;
  18150. begin
  18151. pTDefRegMap(@Self)^.clr := $00000040;
  18152. end;
  18153. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  18154. begin
  18155. if thebits = 0 then
  18156. pTDefRegMap(@Self)^.clr := $00000040
  18157. else
  18158. pTDefRegMap(@Self)^.&set := $00000040;
  18159. end;
  18160. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  18161. begin
  18162. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18163. end;
  18164. procedure TOSC_OSCCON.setCLKLOCK; inline;
  18165. begin
  18166. pTDefRegMap(@Self)^.&set := $00000080;
  18167. end;
  18168. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  18169. begin
  18170. pTDefRegMap(@Self)^.clr := $00000080;
  18171. end;
  18172. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  18173. begin
  18174. if thebits = 0 then
  18175. pTDefRegMap(@Self)^.clr := $00000080
  18176. else
  18177. pTDefRegMap(@Self)^.&set := $00000080;
  18178. end;
  18179. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  18180. begin
  18181. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18182. end;
  18183. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  18184. begin
  18185. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  18186. end;
  18187. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  18188. begin
  18189. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  18190. end;
  18191. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  18192. begin
  18193. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  18194. end;
  18195. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  18196. begin
  18197. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  18198. end;
  18199. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  18200. begin
  18201. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  18202. end;
  18203. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  18204. begin
  18205. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  18206. end;
  18207. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  18208. begin
  18209. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  18210. end;
  18211. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  18212. begin
  18213. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  18214. end;
  18215. procedure TOSC_OSCCON.setSOSCRDY; inline;
  18216. begin
  18217. pTDefRegMap(@Self)^.&set := $00400000;
  18218. end;
  18219. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  18220. begin
  18221. pTDefRegMap(@Self)^.clr := $00400000;
  18222. end;
  18223. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  18224. begin
  18225. if thebits = 0 then
  18226. pTDefRegMap(@Self)^.clr := $00400000
  18227. else
  18228. pTDefRegMap(@Self)^.&set := $00400000;
  18229. end;
  18230. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  18231. begin
  18232. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  18233. end;
  18234. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  18235. begin
  18236. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  18237. end;
  18238. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  18239. begin
  18240. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  18241. end;
  18242. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  18243. begin
  18244. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  18245. end;
  18246. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  18247. begin
  18248. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  18249. end;
  18250. procedure TOSC_OSCCON.setNOSC0; inline;
  18251. begin
  18252. pTDefRegMap(@Self)^.&set := $00000100;
  18253. end;
  18254. procedure TOSC_OSCCON.clearNOSC0; inline;
  18255. begin
  18256. pTDefRegMap(@Self)^.clr := $00000100;
  18257. end;
  18258. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  18259. begin
  18260. if thebits = 0 then
  18261. pTDefRegMap(@Self)^.clr := $00000100
  18262. else
  18263. pTDefRegMap(@Self)^.&set := $00000100;
  18264. end;
  18265. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  18266. begin
  18267. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18268. end;
  18269. procedure TOSC_OSCCON.setNOSC1; inline;
  18270. begin
  18271. pTDefRegMap(@Self)^.&set := $00000200;
  18272. end;
  18273. procedure TOSC_OSCCON.clearNOSC1; inline;
  18274. begin
  18275. pTDefRegMap(@Self)^.clr := $00000200;
  18276. end;
  18277. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  18278. begin
  18279. if thebits = 0 then
  18280. pTDefRegMap(@Self)^.clr := $00000200
  18281. else
  18282. pTDefRegMap(@Self)^.&set := $00000200;
  18283. end;
  18284. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  18285. begin
  18286. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18287. end;
  18288. procedure TOSC_OSCCON.setNOSC2; inline;
  18289. begin
  18290. pTDefRegMap(@Self)^.&set := $00000400;
  18291. end;
  18292. procedure TOSC_OSCCON.clearNOSC2; inline;
  18293. begin
  18294. pTDefRegMap(@Self)^.clr := $00000400;
  18295. end;
  18296. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  18297. begin
  18298. if thebits = 0 then
  18299. pTDefRegMap(@Self)^.clr := $00000400
  18300. else
  18301. pTDefRegMap(@Self)^.&set := $00000400;
  18302. end;
  18303. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  18304. begin
  18305. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18306. end;
  18307. procedure TOSC_OSCCON.setCOSC0; inline;
  18308. begin
  18309. pTDefRegMap(@Self)^.&set := $00001000;
  18310. end;
  18311. procedure TOSC_OSCCON.clearCOSC0; inline;
  18312. begin
  18313. pTDefRegMap(@Self)^.clr := $00001000;
  18314. end;
  18315. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  18316. begin
  18317. if thebits = 0 then
  18318. pTDefRegMap(@Self)^.clr := $00001000
  18319. else
  18320. pTDefRegMap(@Self)^.&set := $00001000;
  18321. end;
  18322. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  18323. begin
  18324. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18325. end;
  18326. procedure TOSC_OSCCON.setCOSC1; inline;
  18327. begin
  18328. pTDefRegMap(@Self)^.&set := $00002000;
  18329. end;
  18330. procedure TOSC_OSCCON.clearCOSC1; inline;
  18331. begin
  18332. pTDefRegMap(@Self)^.clr := $00002000;
  18333. end;
  18334. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  18335. begin
  18336. if thebits = 0 then
  18337. pTDefRegMap(@Self)^.clr := $00002000
  18338. else
  18339. pTDefRegMap(@Self)^.&set := $00002000;
  18340. end;
  18341. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  18342. begin
  18343. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18344. end;
  18345. procedure TOSC_OSCCON.setCOSC2; inline;
  18346. begin
  18347. pTDefRegMap(@Self)^.&set := $00004000;
  18348. end;
  18349. procedure TOSC_OSCCON.clearCOSC2; inline;
  18350. begin
  18351. pTDefRegMap(@Self)^.clr := $00004000;
  18352. end;
  18353. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  18354. begin
  18355. if thebits = 0 then
  18356. pTDefRegMap(@Self)^.clr := $00004000
  18357. else
  18358. pTDefRegMap(@Self)^.&set := $00004000;
  18359. end;
  18360. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  18361. begin
  18362. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18363. end;
  18364. procedure TOSC_OSCCON.setPLLMULT0; inline;
  18365. begin
  18366. pTDefRegMap(@Self)^.&set := $00010000;
  18367. end;
  18368. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  18369. begin
  18370. pTDefRegMap(@Self)^.clr := $00010000;
  18371. end;
  18372. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  18373. begin
  18374. if thebits = 0 then
  18375. pTDefRegMap(@Self)^.clr := $00010000
  18376. else
  18377. pTDefRegMap(@Self)^.&set := $00010000;
  18378. end;
  18379. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  18380. begin
  18381. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  18382. end;
  18383. procedure TOSC_OSCCON.setPLLMULT1; inline;
  18384. begin
  18385. pTDefRegMap(@Self)^.&set := $00020000;
  18386. end;
  18387. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  18388. begin
  18389. pTDefRegMap(@Self)^.clr := $00020000;
  18390. end;
  18391. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  18392. begin
  18393. if thebits = 0 then
  18394. pTDefRegMap(@Self)^.clr := $00020000
  18395. else
  18396. pTDefRegMap(@Self)^.&set := $00020000;
  18397. end;
  18398. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  18399. begin
  18400. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  18401. end;
  18402. procedure TOSC_OSCCON.setPLLMULT2; inline;
  18403. begin
  18404. pTDefRegMap(@Self)^.&set := $00040000;
  18405. end;
  18406. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  18407. begin
  18408. pTDefRegMap(@Self)^.clr := $00040000;
  18409. end;
  18410. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  18411. begin
  18412. if thebits = 0 then
  18413. pTDefRegMap(@Self)^.clr := $00040000
  18414. else
  18415. pTDefRegMap(@Self)^.&set := $00040000;
  18416. end;
  18417. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  18418. begin
  18419. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  18420. end;
  18421. procedure TOSC_OSCCON.setPBDIV0; inline;
  18422. begin
  18423. pTDefRegMap(@Self)^.&set := $00080000;
  18424. end;
  18425. procedure TOSC_OSCCON.clearPBDIV0; inline;
  18426. begin
  18427. pTDefRegMap(@Self)^.clr := $00080000;
  18428. end;
  18429. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  18430. begin
  18431. if thebits = 0 then
  18432. pTDefRegMap(@Self)^.clr := $00080000
  18433. else
  18434. pTDefRegMap(@Self)^.&set := $00080000;
  18435. end;
  18436. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  18437. begin
  18438. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  18439. end;
  18440. procedure TOSC_OSCCON.setPBDIV1; inline;
  18441. begin
  18442. pTDefRegMap(@Self)^.&set := $00100000;
  18443. end;
  18444. procedure TOSC_OSCCON.clearPBDIV1; inline;
  18445. begin
  18446. pTDefRegMap(@Self)^.clr := $00100000;
  18447. end;
  18448. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  18449. begin
  18450. if thebits = 0 then
  18451. pTDefRegMap(@Self)^.clr := $00100000
  18452. else
  18453. pTDefRegMap(@Self)^.&set := $00100000;
  18454. end;
  18455. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  18456. begin
  18457. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  18458. end;
  18459. procedure TOSC_OSCCON.setFRCDIV0; inline;
  18460. begin
  18461. pTDefRegMap(@Self)^.&set := $01000000;
  18462. end;
  18463. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  18464. begin
  18465. pTDefRegMap(@Self)^.clr := $01000000;
  18466. end;
  18467. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  18468. begin
  18469. if thebits = 0 then
  18470. pTDefRegMap(@Self)^.clr := $01000000
  18471. else
  18472. pTDefRegMap(@Self)^.&set := $01000000;
  18473. end;
  18474. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  18475. begin
  18476. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  18477. end;
  18478. procedure TOSC_OSCCON.setFRCDIV1; inline;
  18479. begin
  18480. pTDefRegMap(@Self)^.&set := $02000000;
  18481. end;
  18482. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  18483. begin
  18484. pTDefRegMap(@Self)^.clr := $02000000;
  18485. end;
  18486. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  18487. begin
  18488. if thebits = 0 then
  18489. pTDefRegMap(@Self)^.clr := $02000000
  18490. else
  18491. pTDefRegMap(@Self)^.&set := $02000000;
  18492. end;
  18493. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  18494. begin
  18495. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  18496. end;
  18497. procedure TOSC_OSCCON.setFRCDIV2; inline;
  18498. begin
  18499. pTDefRegMap(@Self)^.&set := $04000000;
  18500. end;
  18501. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  18502. begin
  18503. pTDefRegMap(@Self)^.clr := $04000000;
  18504. end;
  18505. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  18506. begin
  18507. if thebits = 0 then
  18508. pTDefRegMap(@Self)^.clr := $04000000
  18509. else
  18510. pTDefRegMap(@Self)^.&set := $04000000;
  18511. end;
  18512. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  18513. begin
  18514. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  18515. end;
  18516. procedure TOSC_OSCCON.setPLLODIV0; inline;
  18517. begin
  18518. pTDefRegMap(@Self)^.&set := $08000000;
  18519. end;
  18520. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  18521. begin
  18522. pTDefRegMap(@Self)^.clr := $08000000;
  18523. end;
  18524. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  18525. begin
  18526. if thebits = 0 then
  18527. pTDefRegMap(@Self)^.clr := $08000000
  18528. else
  18529. pTDefRegMap(@Self)^.&set := $08000000;
  18530. end;
  18531. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  18532. begin
  18533. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  18534. end;
  18535. procedure TOSC_OSCCON.setPLLODIV1; inline;
  18536. begin
  18537. pTDefRegMap(@Self)^.&set := $10000000;
  18538. end;
  18539. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  18540. begin
  18541. pTDefRegMap(@Self)^.clr := $10000000;
  18542. end;
  18543. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  18544. begin
  18545. if thebits = 0 then
  18546. pTDefRegMap(@Self)^.clr := $10000000
  18547. else
  18548. pTDefRegMap(@Self)^.&set := $10000000;
  18549. end;
  18550. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  18551. begin
  18552. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  18553. end;
  18554. procedure TOSC_OSCCON.setPLLODIV2; inline;
  18555. begin
  18556. pTDefRegMap(@Self)^.&set := $20000000;
  18557. end;
  18558. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  18559. begin
  18560. pTDefRegMap(@Self)^.clr := $20000000;
  18561. end;
  18562. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  18563. begin
  18564. if thebits = 0 then
  18565. pTDefRegMap(@Self)^.clr := $20000000
  18566. else
  18567. pTDefRegMap(@Self)^.&set := $20000000;
  18568. end;
  18569. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  18570. begin
  18571. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  18572. end;
  18573. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  18574. begin
  18575. pTDefRegMap(@Self)^.val := thebits;
  18576. end;
  18577. function TOSC_OSCCON.getw : TBits_32; inline;
  18578. begin
  18579. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18580. end;
  18581. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  18582. begin
  18583. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  18584. end;
  18585. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  18586. begin
  18587. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  18588. end;
  18589. procedure TOSC_OSCTUN.setTUN0; inline;
  18590. begin
  18591. pTDefRegMap(@Self)^.&set := $00000001;
  18592. end;
  18593. procedure TOSC_OSCTUN.clearTUN0; inline;
  18594. begin
  18595. pTDefRegMap(@Self)^.clr := $00000001;
  18596. end;
  18597. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  18598. begin
  18599. if thebits = 0 then
  18600. pTDefRegMap(@Self)^.clr := $00000001
  18601. else
  18602. pTDefRegMap(@Self)^.&set := $00000001;
  18603. end;
  18604. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  18605. begin
  18606. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18607. end;
  18608. procedure TOSC_OSCTUN.setTUN1; inline;
  18609. begin
  18610. pTDefRegMap(@Self)^.&set := $00000002;
  18611. end;
  18612. procedure TOSC_OSCTUN.clearTUN1; inline;
  18613. begin
  18614. pTDefRegMap(@Self)^.clr := $00000002;
  18615. end;
  18616. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  18617. begin
  18618. if thebits = 0 then
  18619. pTDefRegMap(@Self)^.clr := $00000002
  18620. else
  18621. pTDefRegMap(@Self)^.&set := $00000002;
  18622. end;
  18623. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  18624. begin
  18625. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18626. end;
  18627. procedure TOSC_OSCTUN.setTUN2; inline;
  18628. begin
  18629. pTDefRegMap(@Self)^.&set := $00000004;
  18630. end;
  18631. procedure TOSC_OSCTUN.clearTUN2; inline;
  18632. begin
  18633. pTDefRegMap(@Self)^.clr := $00000004;
  18634. end;
  18635. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  18636. begin
  18637. if thebits = 0 then
  18638. pTDefRegMap(@Self)^.clr := $00000004
  18639. else
  18640. pTDefRegMap(@Self)^.&set := $00000004;
  18641. end;
  18642. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  18643. begin
  18644. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18645. end;
  18646. procedure TOSC_OSCTUN.setTUN3; inline;
  18647. begin
  18648. pTDefRegMap(@Self)^.&set := $00000008;
  18649. end;
  18650. procedure TOSC_OSCTUN.clearTUN3; inline;
  18651. begin
  18652. pTDefRegMap(@Self)^.clr := $00000008;
  18653. end;
  18654. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  18655. begin
  18656. if thebits = 0 then
  18657. pTDefRegMap(@Self)^.clr := $00000008
  18658. else
  18659. pTDefRegMap(@Self)^.&set := $00000008;
  18660. end;
  18661. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  18662. begin
  18663. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18664. end;
  18665. procedure TOSC_OSCTUN.setTUN4; inline;
  18666. begin
  18667. pTDefRegMap(@Self)^.&set := $00000010;
  18668. end;
  18669. procedure TOSC_OSCTUN.clearTUN4; inline;
  18670. begin
  18671. pTDefRegMap(@Self)^.clr := $00000010;
  18672. end;
  18673. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  18674. begin
  18675. if thebits = 0 then
  18676. pTDefRegMap(@Self)^.clr := $00000010
  18677. else
  18678. pTDefRegMap(@Self)^.&set := $00000010;
  18679. end;
  18680. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  18681. begin
  18682. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18683. end;
  18684. procedure TOSC_OSCTUN.setTUN5; inline;
  18685. begin
  18686. pTDefRegMap(@Self)^.&set := $00000020;
  18687. end;
  18688. procedure TOSC_OSCTUN.clearTUN5; inline;
  18689. begin
  18690. pTDefRegMap(@Self)^.clr := $00000020;
  18691. end;
  18692. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  18693. begin
  18694. if thebits = 0 then
  18695. pTDefRegMap(@Self)^.clr := $00000020
  18696. else
  18697. pTDefRegMap(@Self)^.&set := $00000020;
  18698. end;
  18699. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  18700. begin
  18701. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18702. end;
  18703. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  18704. begin
  18705. pTDefRegMap(@Self)^.val := thebits;
  18706. end;
  18707. function TOSC_OSCTUN.getw : TBits_32; inline;
  18708. begin
  18709. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18710. end;
  18711. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  18712. begin
  18713. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  18714. end;
  18715. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  18716. begin
  18717. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  18718. end;
  18719. procedure TNVM_NVMCON.setLVDSTAT; inline;
  18720. begin
  18721. pTDefRegMap(@Self)^.&set := $00000800;
  18722. end;
  18723. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  18724. begin
  18725. pTDefRegMap(@Self)^.clr := $00000800;
  18726. end;
  18727. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  18728. begin
  18729. if thebits = 0 then
  18730. pTDefRegMap(@Self)^.clr := $00000800
  18731. else
  18732. pTDefRegMap(@Self)^.&set := $00000800;
  18733. end;
  18734. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  18735. begin
  18736. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18737. end;
  18738. procedure TNVM_NVMCON.setLVDERR; inline;
  18739. begin
  18740. pTDefRegMap(@Self)^.&set := $00001000;
  18741. end;
  18742. procedure TNVM_NVMCON.clearLVDERR; inline;
  18743. begin
  18744. pTDefRegMap(@Self)^.clr := $00001000;
  18745. end;
  18746. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  18747. begin
  18748. if thebits = 0 then
  18749. pTDefRegMap(@Self)^.clr := $00001000
  18750. else
  18751. pTDefRegMap(@Self)^.&set := $00001000;
  18752. end;
  18753. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  18754. begin
  18755. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18756. end;
  18757. procedure TNVM_NVMCON.setWRERR; inline;
  18758. begin
  18759. pTDefRegMap(@Self)^.&set := $00002000;
  18760. end;
  18761. procedure TNVM_NVMCON.clearWRERR; inline;
  18762. begin
  18763. pTDefRegMap(@Self)^.clr := $00002000;
  18764. end;
  18765. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  18766. begin
  18767. if thebits = 0 then
  18768. pTDefRegMap(@Self)^.clr := $00002000
  18769. else
  18770. pTDefRegMap(@Self)^.&set := $00002000;
  18771. end;
  18772. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  18773. begin
  18774. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18775. end;
  18776. procedure TNVM_NVMCON.setWREN; inline;
  18777. begin
  18778. pTDefRegMap(@Self)^.&set := $00004000;
  18779. end;
  18780. procedure TNVM_NVMCON.clearWREN; inline;
  18781. begin
  18782. pTDefRegMap(@Self)^.clr := $00004000;
  18783. end;
  18784. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  18785. begin
  18786. if thebits = 0 then
  18787. pTDefRegMap(@Self)^.clr := $00004000
  18788. else
  18789. pTDefRegMap(@Self)^.&set := $00004000;
  18790. end;
  18791. function TNVM_NVMCON.getWREN : TBits_1; inline;
  18792. begin
  18793. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18794. end;
  18795. procedure TNVM_NVMCON.setWR; inline;
  18796. begin
  18797. pTDefRegMap(@Self)^.&set := $00008000;
  18798. end;
  18799. procedure TNVM_NVMCON.clearWR; inline;
  18800. begin
  18801. pTDefRegMap(@Self)^.clr := $00008000;
  18802. end;
  18803. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  18804. begin
  18805. if thebits = 0 then
  18806. pTDefRegMap(@Self)^.clr := $00008000
  18807. else
  18808. pTDefRegMap(@Self)^.&set := $00008000;
  18809. end;
  18810. function TNVM_NVMCON.getWR : TBits_1; inline;
  18811. begin
  18812. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18813. end;
  18814. procedure TNVM_NVMCON.setNVMOP0; inline;
  18815. begin
  18816. pTDefRegMap(@Self)^.&set := $00000001;
  18817. end;
  18818. procedure TNVM_NVMCON.clearNVMOP0; inline;
  18819. begin
  18820. pTDefRegMap(@Self)^.clr := $00000001;
  18821. end;
  18822. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  18823. begin
  18824. if thebits = 0 then
  18825. pTDefRegMap(@Self)^.clr := $00000001
  18826. else
  18827. pTDefRegMap(@Self)^.&set := $00000001;
  18828. end;
  18829. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  18830. begin
  18831. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18832. end;
  18833. procedure TNVM_NVMCON.setNVMOP1; inline;
  18834. begin
  18835. pTDefRegMap(@Self)^.&set := $00000002;
  18836. end;
  18837. procedure TNVM_NVMCON.clearNVMOP1; inline;
  18838. begin
  18839. pTDefRegMap(@Self)^.clr := $00000002;
  18840. end;
  18841. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  18842. begin
  18843. if thebits = 0 then
  18844. pTDefRegMap(@Self)^.clr := $00000002
  18845. else
  18846. pTDefRegMap(@Self)^.&set := $00000002;
  18847. end;
  18848. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  18849. begin
  18850. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18851. end;
  18852. procedure TNVM_NVMCON.setNVMOP2; inline;
  18853. begin
  18854. pTDefRegMap(@Self)^.&set := $00000004;
  18855. end;
  18856. procedure TNVM_NVMCON.clearNVMOP2; inline;
  18857. begin
  18858. pTDefRegMap(@Self)^.clr := $00000004;
  18859. end;
  18860. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  18861. begin
  18862. if thebits = 0 then
  18863. pTDefRegMap(@Self)^.clr := $00000004
  18864. else
  18865. pTDefRegMap(@Self)^.&set := $00000004;
  18866. end;
  18867. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  18868. begin
  18869. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18870. end;
  18871. procedure TNVM_NVMCON.setNVMOP3; inline;
  18872. begin
  18873. pTDefRegMap(@Self)^.&set := $00000008;
  18874. end;
  18875. procedure TNVM_NVMCON.clearNVMOP3; inline;
  18876. begin
  18877. pTDefRegMap(@Self)^.clr := $00000008;
  18878. end;
  18879. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  18880. begin
  18881. if thebits = 0 then
  18882. pTDefRegMap(@Self)^.clr := $00000008
  18883. else
  18884. pTDefRegMap(@Self)^.&set := $00000008;
  18885. end;
  18886. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  18887. begin
  18888. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18889. end;
  18890. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  18891. begin
  18892. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  18893. end;
  18894. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  18895. begin
  18896. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  18897. end;
  18898. procedure TNVM_NVMCON.setPROGOP0; inline;
  18899. begin
  18900. pTDefRegMap(@Self)^.&set := $00000001;
  18901. end;
  18902. procedure TNVM_NVMCON.clearPROGOP0; inline;
  18903. begin
  18904. pTDefRegMap(@Self)^.clr := $00000001;
  18905. end;
  18906. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  18907. begin
  18908. if thebits = 0 then
  18909. pTDefRegMap(@Self)^.clr := $00000001
  18910. else
  18911. pTDefRegMap(@Self)^.&set := $00000001;
  18912. end;
  18913. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  18914. begin
  18915. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18916. end;
  18917. procedure TNVM_NVMCON.setPROGOP1; inline;
  18918. begin
  18919. pTDefRegMap(@Self)^.&set := $00000002;
  18920. end;
  18921. procedure TNVM_NVMCON.clearPROGOP1; inline;
  18922. begin
  18923. pTDefRegMap(@Self)^.clr := $00000002;
  18924. end;
  18925. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  18926. begin
  18927. if thebits = 0 then
  18928. pTDefRegMap(@Self)^.clr := $00000002
  18929. else
  18930. pTDefRegMap(@Self)^.&set := $00000002;
  18931. end;
  18932. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  18933. begin
  18934. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18935. end;
  18936. procedure TNVM_NVMCON.setPROGOP2; inline;
  18937. begin
  18938. pTDefRegMap(@Self)^.&set := $00000004;
  18939. end;
  18940. procedure TNVM_NVMCON.clearPROGOP2; inline;
  18941. begin
  18942. pTDefRegMap(@Self)^.clr := $00000004;
  18943. end;
  18944. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  18945. begin
  18946. if thebits = 0 then
  18947. pTDefRegMap(@Self)^.clr := $00000004
  18948. else
  18949. pTDefRegMap(@Self)^.&set := $00000004;
  18950. end;
  18951. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  18952. begin
  18953. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18954. end;
  18955. procedure TNVM_NVMCON.setPROGOP3; inline;
  18956. begin
  18957. pTDefRegMap(@Self)^.&set := $00000008;
  18958. end;
  18959. procedure TNVM_NVMCON.clearPROGOP3; inline;
  18960. begin
  18961. pTDefRegMap(@Self)^.clr := $00000008;
  18962. end;
  18963. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  18964. begin
  18965. if thebits = 0 then
  18966. pTDefRegMap(@Self)^.clr := $00000008
  18967. else
  18968. pTDefRegMap(@Self)^.&set := $00000008;
  18969. end;
  18970. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  18971. begin
  18972. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18973. end;
  18974. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  18975. begin
  18976. pTDefRegMap(@Self)^.val := thebits;
  18977. end;
  18978. function TNVM_NVMCON.getw : TBits_32; inline;
  18979. begin
  18980. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18981. end;
  18982. procedure TRCON_RCON.setPOR; inline;
  18983. begin
  18984. pTDefRegMap(@Self)^.&set := $00000001;
  18985. end;
  18986. procedure TRCON_RCON.clearPOR; inline;
  18987. begin
  18988. pTDefRegMap(@Self)^.clr := $00000001;
  18989. end;
  18990. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  18991. begin
  18992. if thebits = 0 then
  18993. pTDefRegMap(@Self)^.clr := $00000001
  18994. else
  18995. pTDefRegMap(@Self)^.&set := $00000001;
  18996. end;
  18997. function TRCON_RCON.getPOR : TBits_1; inline;
  18998. begin
  18999. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19000. end;
  19001. procedure TRCON_RCON.setBOR; inline;
  19002. begin
  19003. pTDefRegMap(@Self)^.&set := $00000002;
  19004. end;
  19005. procedure TRCON_RCON.clearBOR; inline;
  19006. begin
  19007. pTDefRegMap(@Self)^.clr := $00000002;
  19008. end;
  19009. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  19010. begin
  19011. if thebits = 0 then
  19012. pTDefRegMap(@Self)^.clr := $00000002
  19013. else
  19014. pTDefRegMap(@Self)^.&set := $00000002;
  19015. end;
  19016. function TRCON_RCON.getBOR : TBits_1; inline;
  19017. begin
  19018. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19019. end;
  19020. procedure TRCON_RCON.setIDLE; inline;
  19021. begin
  19022. pTDefRegMap(@Self)^.&set := $00000004;
  19023. end;
  19024. procedure TRCON_RCON.clearIDLE; inline;
  19025. begin
  19026. pTDefRegMap(@Self)^.clr := $00000004;
  19027. end;
  19028. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  19029. begin
  19030. if thebits = 0 then
  19031. pTDefRegMap(@Self)^.clr := $00000004
  19032. else
  19033. pTDefRegMap(@Self)^.&set := $00000004;
  19034. end;
  19035. function TRCON_RCON.getIDLE : TBits_1; inline;
  19036. begin
  19037. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19038. end;
  19039. procedure TRCON_RCON.setSLEEP; inline;
  19040. begin
  19041. pTDefRegMap(@Self)^.&set := $00000008;
  19042. end;
  19043. procedure TRCON_RCON.clearSLEEP; inline;
  19044. begin
  19045. pTDefRegMap(@Self)^.clr := $00000008;
  19046. end;
  19047. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  19048. begin
  19049. if thebits = 0 then
  19050. pTDefRegMap(@Self)^.clr := $00000008
  19051. else
  19052. pTDefRegMap(@Self)^.&set := $00000008;
  19053. end;
  19054. function TRCON_RCON.getSLEEP : TBits_1; inline;
  19055. begin
  19056. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19057. end;
  19058. procedure TRCON_RCON.setWDTO; inline;
  19059. begin
  19060. pTDefRegMap(@Self)^.&set := $00000010;
  19061. end;
  19062. procedure TRCON_RCON.clearWDTO; inline;
  19063. begin
  19064. pTDefRegMap(@Self)^.clr := $00000010;
  19065. end;
  19066. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  19067. begin
  19068. if thebits = 0 then
  19069. pTDefRegMap(@Self)^.clr := $00000010
  19070. else
  19071. pTDefRegMap(@Self)^.&set := $00000010;
  19072. end;
  19073. function TRCON_RCON.getWDTO : TBits_1; inline;
  19074. begin
  19075. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19076. end;
  19077. procedure TRCON_RCON.setSWR; inline;
  19078. begin
  19079. pTDefRegMap(@Self)^.&set := $00000040;
  19080. end;
  19081. procedure TRCON_RCON.clearSWR; inline;
  19082. begin
  19083. pTDefRegMap(@Self)^.clr := $00000040;
  19084. end;
  19085. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  19086. begin
  19087. if thebits = 0 then
  19088. pTDefRegMap(@Self)^.clr := $00000040
  19089. else
  19090. pTDefRegMap(@Self)^.&set := $00000040;
  19091. end;
  19092. function TRCON_RCON.getSWR : TBits_1; inline;
  19093. begin
  19094. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19095. end;
  19096. procedure TRCON_RCON.setEXTR; inline;
  19097. begin
  19098. pTDefRegMap(@Self)^.&set := $00000080;
  19099. end;
  19100. procedure TRCON_RCON.clearEXTR; inline;
  19101. begin
  19102. pTDefRegMap(@Self)^.clr := $00000080;
  19103. end;
  19104. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  19105. begin
  19106. if thebits = 0 then
  19107. pTDefRegMap(@Self)^.clr := $00000080
  19108. else
  19109. pTDefRegMap(@Self)^.&set := $00000080;
  19110. end;
  19111. function TRCON_RCON.getEXTR : TBits_1; inline;
  19112. begin
  19113. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19114. end;
  19115. procedure TRCON_RCON.setVREGS; inline;
  19116. begin
  19117. pTDefRegMap(@Self)^.&set := $00000100;
  19118. end;
  19119. procedure TRCON_RCON.clearVREGS; inline;
  19120. begin
  19121. pTDefRegMap(@Self)^.clr := $00000100;
  19122. end;
  19123. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  19124. begin
  19125. if thebits = 0 then
  19126. pTDefRegMap(@Self)^.clr := $00000100
  19127. else
  19128. pTDefRegMap(@Self)^.&set := $00000100;
  19129. end;
  19130. function TRCON_RCON.getVREGS : TBits_1; inline;
  19131. begin
  19132. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19133. end;
  19134. procedure TRCON_RCON.setCMR; inline;
  19135. begin
  19136. pTDefRegMap(@Self)^.&set := $00000200;
  19137. end;
  19138. procedure TRCON_RCON.clearCMR; inline;
  19139. begin
  19140. pTDefRegMap(@Self)^.clr := $00000200;
  19141. end;
  19142. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  19143. begin
  19144. if thebits = 0 then
  19145. pTDefRegMap(@Self)^.clr := $00000200
  19146. else
  19147. pTDefRegMap(@Self)^.&set := $00000200;
  19148. end;
  19149. function TRCON_RCON.getCMR : TBits_1; inline;
  19150. begin
  19151. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19152. end;
  19153. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  19154. begin
  19155. pTDefRegMap(@Self)^.val := thebits;
  19156. end;
  19157. function TRCON_RCON.getw : TBits_32; inline;
  19158. begin
  19159. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19160. end;
  19161. procedure TRCON_RSWRST.setSWRST; inline;
  19162. begin
  19163. pTDefRegMap(@Self)^.&set := $00000001;
  19164. end;
  19165. procedure TRCON_RSWRST.clearSWRST; inline;
  19166. begin
  19167. pTDefRegMap(@Self)^.clr := $00000001;
  19168. end;
  19169. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  19170. begin
  19171. if thebits = 0 then
  19172. pTDefRegMap(@Self)^.clr := $00000001
  19173. else
  19174. pTDefRegMap(@Self)^.&set := $00000001;
  19175. end;
  19176. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  19177. begin
  19178. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19179. end;
  19180. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  19181. begin
  19182. pTDefRegMap(@Self)^.val := thebits;
  19183. end;
  19184. function TRCON_RSWRST.getw : TBits_32; inline;
  19185. begin
  19186. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19187. end;
  19188. procedure TINT_INTSTAT.setVEC(thebits : TBits_6); inline;
  19189. begin
  19190. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  19191. end;
  19192. function TINT_INTSTAT.getVEC : TBits_6; inline;
  19193. begin
  19194. getVEC := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  19195. end;
  19196. procedure TINT_INTSTAT.setRIPL(thebits : TBits_3); inline;
  19197. begin
  19198. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  19199. end;
  19200. function TINT_INTSTAT.getRIPL : TBits_3; inline;
  19201. begin
  19202. getRIPL := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  19203. end;
  19204. procedure TINT_INTSTAT.setSRIPL(thebits : TBits_3); inline;
  19205. begin
  19206. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  19207. end;
  19208. function TINT_INTSTAT.getSRIPL : TBits_3; inline;
  19209. begin
  19210. getSRIPL := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  19211. end;
  19212. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  19213. begin
  19214. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19215. end;
  19216. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  19217. begin
  19218. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19219. end;
  19220. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  19221. begin
  19222. pTDefRegMap(@Self)^.&set := $00000040;
  19223. end;
  19224. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  19225. begin
  19226. pTDefRegMap(@Self)^.clr := $00000040;
  19227. end;
  19228. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  19229. begin
  19230. if thebits = 0 then
  19231. pTDefRegMap(@Self)^.clr := $00000040
  19232. else
  19233. pTDefRegMap(@Self)^.&set := $00000040;
  19234. end;
  19235. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  19236. begin
  19237. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19238. end;
  19239. procedure TBMX_BMXCON.setBMXERRIS; inline;
  19240. begin
  19241. pTDefRegMap(@Self)^.&set := $00010000;
  19242. end;
  19243. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  19244. begin
  19245. pTDefRegMap(@Self)^.clr := $00010000;
  19246. end;
  19247. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  19248. begin
  19249. if thebits = 0 then
  19250. pTDefRegMap(@Self)^.clr := $00010000
  19251. else
  19252. pTDefRegMap(@Self)^.&set := $00010000;
  19253. end;
  19254. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  19255. begin
  19256. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  19257. end;
  19258. procedure TBMX_BMXCON.setBMXERRDS; inline;
  19259. begin
  19260. pTDefRegMap(@Self)^.&set := $00020000;
  19261. end;
  19262. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  19263. begin
  19264. pTDefRegMap(@Self)^.clr := $00020000;
  19265. end;
  19266. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  19267. begin
  19268. if thebits = 0 then
  19269. pTDefRegMap(@Self)^.clr := $00020000
  19270. else
  19271. pTDefRegMap(@Self)^.&set := $00020000;
  19272. end;
  19273. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  19274. begin
  19275. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  19276. end;
  19277. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  19278. begin
  19279. pTDefRegMap(@Self)^.&set := $00040000;
  19280. end;
  19281. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  19282. begin
  19283. pTDefRegMap(@Self)^.clr := $00040000;
  19284. end;
  19285. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  19286. begin
  19287. if thebits = 0 then
  19288. pTDefRegMap(@Self)^.clr := $00040000
  19289. else
  19290. pTDefRegMap(@Self)^.&set := $00040000;
  19291. end;
  19292. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  19293. begin
  19294. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  19295. end;
  19296. procedure TBMX_BMXCON.setBMXERRICD; inline;
  19297. begin
  19298. pTDefRegMap(@Self)^.&set := $00080000;
  19299. end;
  19300. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  19301. begin
  19302. pTDefRegMap(@Self)^.clr := $00080000;
  19303. end;
  19304. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  19305. begin
  19306. if thebits = 0 then
  19307. pTDefRegMap(@Self)^.clr := $00080000
  19308. else
  19309. pTDefRegMap(@Self)^.&set := $00080000;
  19310. end;
  19311. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  19312. begin
  19313. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  19314. end;
  19315. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  19316. begin
  19317. pTDefRegMap(@Self)^.&set := $00100000;
  19318. end;
  19319. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  19320. begin
  19321. pTDefRegMap(@Self)^.clr := $00100000;
  19322. end;
  19323. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  19324. begin
  19325. if thebits = 0 then
  19326. pTDefRegMap(@Self)^.clr := $00100000
  19327. else
  19328. pTDefRegMap(@Self)^.&set := $00100000;
  19329. end;
  19330. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  19331. begin
  19332. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  19333. end;
  19334. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  19335. begin
  19336. pTDefRegMap(@Self)^.&set := $04000000;
  19337. end;
  19338. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  19339. begin
  19340. pTDefRegMap(@Self)^.clr := $04000000;
  19341. end;
  19342. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  19343. begin
  19344. if thebits = 0 then
  19345. pTDefRegMap(@Self)^.clr := $04000000
  19346. else
  19347. pTDefRegMap(@Self)^.&set := $04000000;
  19348. end;
  19349. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  19350. begin
  19351. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  19352. end;
  19353. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  19354. begin
  19355. pTDefRegMap(@Self)^.val := thebits;
  19356. end;
  19357. function TBMX_BMXCON.getw : TBits_32; inline;
  19358. begin
  19359. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19360. end;
  19361. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  19362. begin
  19363. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19364. end;
  19365. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  19366. begin
  19367. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19368. end;
  19369. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  19370. begin
  19371. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  19372. end;
  19373. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  19374. begin
  19375. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  19376. end;
  19377. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  19378. begin
  19379. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19380. end;
  19381. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  19382. begin
  19383. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19384. end;
  19385. procedure TPCACHE_CHECON.setCHECOH; inline;
  19386. begin
  19387. pTDefRegMap(@Self)^.&set := $00010000;
  19388. end;
  19389. procedure TPCACHE_CHECON.clearCHECOH; inline;
  19390. begin
  19391. pTDefRegMap(@Self)^.clr := $00010000;
  19392. end;
  19393. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  19394. begin
  19395. if thebits = 0 then
  19396. pTDefRegMap(@Self)^.clr := $00010000
  19397. else
  19398. pTDefRegMap(@Self)^.&set := $00010000;
  19399. end;
  19400. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  19401. begin
  19402. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  19403. end;
  19404. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  19405. begin
  19406. pTDefRegMap(@Self)^.val := thebits;
  19407. end;
  19408. function TPCACHE_CHECON.getw : TBits_32; inline;
  19409. begin
  19410. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19411. end;
  19412. procedure TPCACHE_CHETAG.setLTYPE; inline;
  19413. begin
  19414. pTDefRegMap(@Self)^.&set := $00000002;
  19415. end;
  19416. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  19417. begin
  19418. pTDefRegMap(@Self)^.clr := $00000002;
  19419. end;
  19420. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  19421. begin
  19422. if thebits = 0 then
  19423. pTDefRegMap(@Self)^.clr := $00000002
  19424. else
  19425. pTDefRegMap(@Self)^.&set := $00000002;
  19426. end;
  19427. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  19428. begin
  19429. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19430. end;
  19431. procedure TPCACHE_CHETAG.setLLOCK; inline;
  19432. begin
  19433. pTDefRegMap(@Self)^.&set := $00000004;
  19434. end;
  19435. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  19436. begin
  19437. pTDefRegMap(@Self)^.clr := $00000004;
  19438. end;
  19439. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  19440. begin
  19441. if thebits = 0 then
  19442. pTDefRegMap(@Self)^.clr := $00000004
  19443. else
  19444. pTDefRegMap(@Self)^.&set := $00000004;
  19445. end;
  19446. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  19447. begin
  19448. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19449. end;
  19450. procedure TPCACHE_CHETAG.setLVALID; inline;
  19451. begin
  19452. pTDefRegMap(@Self)^.&set := $00000008;
  19453. end;
  19454. procedure TPCACHE_CHETAG.clearLVALID; inline;
  19455. begin
  19456. pTDefRegMap(@Self)^.clr := $00000008;
  19457. end;
  19458. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  19459. begin
  19460. if thebits = 0 then
  19461. pTDefRegMap(@Self)^.clr := $00000008
  19462. else
  19463. pTDefRegMap(@Self)^.&set := $00000008;
  19464. end;
  19465. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  19466. begin
  19467. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19468. end;
  19469. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  19470. begin
  19471. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  19472. end;
  19473. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  19474. begin
  19475. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  19476. end;
  19477. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  19478. begin
  19479. pTDefRegMap(@Self)^.&set := $80000000;
  19480. end;
  19481. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  19482. begin
  19483. pTDefRegMap(@Self)^.clr := $80000000;
  19484. end;
  19485. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  19486. begin
  19487. if thebits = 0 then
  19488. pTDefRegMap(@Self)^.clr := $80000000
  19489. else
  19490. pTDefRegMap(@Self)^.&set := $80000000;
  19491. end;
  19492. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  19493. begin
  19494. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  19495. end;
  19496. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  19497. begin
  19498. pTDefRegMap(@Self)^.val := thebits;
  19499. end;
  19500. function TPCACHE_CHETAG.getw : TBits_32; inline;
  19501. begin
  19502. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19503. end;
  19504. procedure TPORTA_TRISA.setTRISA0; inline;
  19505. begin
  19506. pTDefRegMap(@Self)^.&set := $00000001;
  19507. end;
  19508. procedure TPORTA_TRISA.clearTRISA0; inline;
  19509. begin
  19510. pTDefRegMap(@Self)^.clr := $00000001;
  19511. end;
  19512. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  19513. begin
  19514. if thebits = 0 then
  19515. pTDefRegMap(@Self)^.clr := $00000001
  19516. else
  19517. pTDefRegMap(@Self)^.&set := $00000001;
  19518. end;
  19519. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  19520. begin
  19521. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19522. end;
  19523. procedure TPORTA_TRISA.setTRISA1; inline;
  19524. begin
  19525. pTDefRegMap(@Self)^.&set := $00000002;
  19526. end;
  19527. procedure TPORTA_TRISA.clearTRISA1; inline;
  19528. begin
  19529. pTDefRegMap(@Self)^.clr := $00000002;
  19530. end;
  19531. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  19532. begin
  19533. if thebits = 0 then
  19534. pTDefRegMap(@Self)^.clr := $00000002
  19535. else
  19536. pTDefRegMap(@Self)^.&set := $00000002;
  19537. end;
  19538. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  19539. begin
  19540. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19541. end;
  19542. procedure TPORTA_TRISA.setTRISA2; inline;
  19543. begin
  19544. pTDefRegMap(@Self)^.&set := $00000004;
  19545. end;
  19546. procedure TPORTA_TRISA.clearTRISA2; inline;
  19547. begin
  19548. pTDefRegMap(@Self)^.clr := $00000004;
  19549. end;
  19550. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  19551. begin
  19552. if thebits = 0 then
  19553. pTDefRegMap(@Self)^.clr := $00000004
  19554. else
  19555. pTDefRegMap(@Self)^.&set := $00000004;
  19556. end;
  19557. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  19558. begin
  19559. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19560. end;
  19561. procedure TPORTA_TRISA.setTRISA3; inline;
  19562. begin
  19563. pTDefRegMap(@Self)^.&set := $00000008;
  19564. end;
  19565. procedure TPORTA_TRISA.clearTRISA3; inline;
  19566. begin
  19567. pTDefRegMap(@Self)^.clr := $00000008;
  19568. end;
  19569. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  19570. begin
  19571. if thebits = 0 then
  19572. pTDefRegMap(@Self)^.clr := $00000008
  19573. else
  19574. pTDefRegMap(@Self)^.&set := $00000008;
  19575. end;
  19576. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  19577. begin
  19578. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19579. end;
  19580. procedure TPORTA_TRISA.setTRISA4; inline;
  19581. begin
  19582. pTDefRegMap(@Self)^.&set := $00000010;
  19583. end;
  19584. procedure TPORTA_TRISA.clearTRISA4; inline;
  19585. begin
  19586. pTDefRegMap(@Self)^.clr := $00000010;
  19587. end;
  19588. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  19589. begin
  19590. if thebits = 0 then
  19591. pTDefRegMap(@Self)^.clr := $00000010
  19592. else
  19593. pTDefRegMap(@Self)^.&set := $00000010;
  19594. end;
  19595. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  19596. begin
  19597. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19598. end;
  19599. procedure TPORTA_TRISA.setTRISA5; inline;
  19600. begin
  19601. pTDefRegMap(@Self)^.&set := $00000020;
  19602. end;
  19603. procedure TPORTA_TRISA.clearTRISA5; inline;
  19604. begin
  19605. pTDefRegMap(@Self)^.clr := $00000020;
  19606. end;
  19607. procedure TPORTA_TRISA.setTRISA5(thebits : TBits_1); inline;
  19608. begin
  19609. if thebits = 0 then
  19610. pTDefRegMap(@Self)^.clr := $00000020
  19611. else
  19612. pTDefRegMap(@Self)^.&set := $00000020;
  19613. end;
  19614. function TPORTA_TRISA.getTRISA5 : TBits_1; inline;
  19615. begin
  19616. getTRISA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19617. end;
  19618. procedure TPORTA_TRISA.setTRISA6; inline;
  19619. begin
  19620. pTDefRegMap(@Self)^.&set := $00000040;
  19621. end;
  19622. procedure TPORTA_TRISA.clearTRISA6; inline;
  19623. begin
  19624. pTDefRegMap(@Self)^.clr := $00000040;
  19625. end;
  19626. procedure TPORTA_TRISA.setTRISA6(thebits : TBits_1); inline;
  19627. begin
  19628. if thebits = 0 then
  19629. pTDefRegMap(@Self)^.clr := $00000040
  19630. else
  19631. pTDefRegMap(@Self)^.&set := $00000040;
  19632. end;
  19633. function TPORTA_TRISA.getTRISA6 : TBits_1; inline;
  19634. begin
  19635. getTRISA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19636. end;
  19637. procedure TPORTA_TRISA.setTRISA7; inline;
  19638. begin
  19639. pTDefRegMap(@Self)^.&set := $00000080;
  19640. end;
  19641. procedure TPORTA_TRISA.clearTRISA7; inline;
  19642. begin
  19643. pTDefRegMap(@Self)^.clr := $00000080;
  19644. end;
  19645. procedure TPORTA_TRISA.setTRISA7(thebits : TBits_1); inline;
  19646. begin
  19647. if thebits = 0 then
  19648. pTDefRegMap(@Self)^.clr := $00000080
  19649. else
  19650. pTDefRegMap(@Self)^.&set := $00000080;
  19651. end;
  19652. function TPORTA_TRISA.getTRISA7 : TBits_1; inline;
  19653. begin
  19654. getTRISA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19655. end;
  19656. procedure TPORTA_TRISA.setTRISA9; inline;
  19657. begin
  19658. pTDefRegMap(@Self)^.&set := $00000200;
  19659. end;
  19660. procedure TPORTA_TRISA.clearTRISA9; inline;
  19661. begin
  19662. pTDefRegMap(@Self)^.clr := $00000200;
  19663. end;
  19664. procedure TPORTA_TRISA.setTRISA9(thebits : TBits_1); inline;
  19665. begin
  19666. if thebits = 0 then
  19667. pTDefRegMap(@Self)^.clr := $00000200
  19668. else
  19669. pTDefRegMap(@Self)^.&set := $00000200;
  19670. end;
  19671. function TPORTA_TRISA.getTRISA9 : TBits_1; inline;
  19672. begin
  19673. getTRISA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19674. end;
  19675. procedure TPORTA_TRISA.setTRISA10; inline;
  19676. begin
  19677. pTDefRegMap(@Self)^.&set := $00000400;
  19678. end;
  19679. procedure TPORTA_TRISA.clearTRISA10; inline;
  19680. begin
  19681. pTDefRegMap(@Self)^.clr := $00000400;
  19682. end;
  19683. procedure TPORTA_TRISA.setTRISA10(thebits : TBits_1); inline;
  19684. begin
  19685. if thebits = 0 then
  19686. pTDefRegMap(@Self)^.clr := $00000400
  19687. else
  19688. pTDefRegMap(@Self)^.&set := $00000400;
  19689. end;
  19690. function TPORTA_TRISA.getTRISA10 : TBits_1; inline;
  19691. begin
  19692. getTRISA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19693. end;
  19694. procedure TPORTA_TRISA.setTRISA14; inline;
  19695. begin
  19696. pTDefRegMap(@Self)^.&set := $00004000;
  19697. end;
  19698. procedure TPORTA_TRISA.clearTRISA14; inline;
  19699. begin
  19700. pTDefRegMap(@Self)^.clr := $00004000;
  19701. end;
  19702. procedure TPORTA_TRISA.setTRISA14(thebits : TBits_1); inline;
  19703. begin
  19704. if thebits = 0 then
  19705. pTDefRegMap(@Self)^.clr := $00004000
  19706. else
  19707. pTDefRegMap(@Self)^.&set := $00004000;
  19708. end;
  19709. function TPORTA_TRISA.getTRISA14 : TBits_1; inline;
  19710. begin
  19711. getTRISA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19712. end;
  19713. procedure TPORTA_TRISA.setTRISA15; inline;
  19714. begin
  19715. pTDefRegMap(@Self)^.&set := $00008000;
  19716. end;
  19717. procedure TPORTA_TRISA.clearTRISA15; inline;
  19718. begin
  19719. pTDefRegMap(@Self)^.clr := $00008000;
  19720. end;
  19721. procedure TPORTA_TRISA.setTRISA15(thebits : TBits_1); inline;
  19722. begin
  19723. if thebits = 0 then
  19724. pTDefRegMap(@Self)^.clr := $00008000
  19725. else
  19726. pTDefRegMap(@Self)^.&set := $00008000;
  19727. end;
  19728. function TPORTA_TRISA.getTRISA15 : TBits_1; inline;
  19729. begin
  19730. getTRISA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19731. end;
  19732. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  19733. begin
  19734. pTDefRegMap(@Self)^.val := thebits;
  19735. end;
  19736. function TPORTA_TRISA.getw : TBits_32; inline;
  19737. begin
  19738. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19739. end;
  19740. procedure TPORTA_PORTA.setRA0; inline;
  19741. begin
  19742. pTDefRegMap(@Self)^.&set := $00000001;
  19743. end;
  19744. procedure TPORTA_PORTA.clearRA0; inline;
  19745. begin
  19746. pTDefRegMap(@Self)^.clr := $00000001;
  19747. end;
  19748. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  19749. begin
  19750. if thebits = 0 then
  19751. pTDefRegMap(@Self)^.clr := $00000001
  19752. else
  19753. pTDefRegMap(@Self)^.&set := $00000001;
  19754. end;
  19755. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  19756. begin
  19757. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19758. end;
  19759. procedure TPORTA_PORTA.setRA1; inline;
  19760. begin
  19761. pTDefRegMap(@Self)^.&set := $00000002;
  19762. end;
  19763. procedure TPORTA_PORTA.clearRA1; inline;
  19764. begin
  19765. pTDefRegMap(@Self)^.clr := $00000002;
  19766. end;
  19767. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  19768. begin
  19769. if thebits = 0 then
  19770. pTDefRegMap(@Self)^.clr := $00000002
  19771. else
  19772. pTDefRegMap(@Self)^.&set := $00000002;
  19773. end;
  19774. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  19775. begin
  19776. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19777. end;
  19778. procedure TPORTA_PORTA.setRA2; inline;
  19779. begin
  19780. pTDefRegMap(@Self)^.&set := $00000004;
  19781. end;
  19782. procedure TPORTA_PORTA.clearRA2; inline;
  19783. begin
  19784. pTDefRegMap(@Self)^.clr := $00000004;
  19785. end;
  19786. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  19787. begin
  19788. if thebits = 0 then
  19789. pTDefRegMap(@Self)^.clr := $00000004
  19790. else
  19791. pTDefRegMap(@Self)^.&set := $00000004;
  19792. end;
  19793. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  19794. begin
  19795. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19796. end;
  19797. procedure TPORTA_PORTA.setRA3; inline;
  19798. begin
  19799. pTDefRegMap(@Self)^.&set := $00000008;
  19800. end;
  19801. procedure TPORTA_PORTA.clearRA3; inline;
  19802. begin
  19803. pTDefRegMap(@Self)^.clr := $00000008;
  19804. end;
  19805. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  19806. begin
  19807. if thebits = 0 then
  19808. pTDefRegMap(@Self)^.clr := $00000008
  19809. else
  19810. pTDefRegMap(@Self)^.&set := $00000008;
  19811. end;
  19812. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  19813. begin
  19814. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19815. end;
  19816. procedure TPORTA_PORTA.setRA4; inline;
  19817. begin
  19818. pTDefRegMap(@Self)^.&set := $00000010;
  19819. end;
  19820. procedure TPORTA_PORTA.clearRA4; inline;
  19821. begin
  19822. pTDefRegMap(@Self)^.clr := $00000010;
  19823. end;
  19824. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  19825. begin
  19826. if thebits = 0 then
  19827. pTDefRegMap(@Self)^.clr := $00000010
  19828. else
  19829. pTDefRegMap(@Self)^.&set := $00000010;
  19830. end;
  19831. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  19832. begin
  19833. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19834. end;
  19835. procedure TPORTA_PORTA.setRA5; inline;
  19836. begin
  19837. pTDefRegMap(@Self)^.&set := $00000020;
  19838. end;
  19839. procedure TPORTA_PORTA.clearRA5; inline;
  19840. begin
  19841. pTDefRegMap(@Self)^.clr := $00000020;
  19842. end;
  19843. procedure TPORTA_PORTA.setRA5(thebits : TBits_1); inline;
  19844. begin
  19845. if thebits = 0 then
  19846. pTDefRegMap(@Self)^.clr := $00000020
  19847. else
  19848. pTDefRegMap(@Self)^.&set := $00000020;
  19849. end;
  19850. function TPORTA_PORTA.getRA5 : TBits_1; inline;
  19851. begin
  19852. getRA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19853. end;
  19854. procedure TPORTA_PORTA.setRA6; inline;
  19855. begin
  19856. pTDefRegMap(@Self)^.&set := $00000040;
  19857. end;
  19858. procedure TPORTA_PORTA.clearRA6; inline;
  19859. begin
  19860. pTDefRegMap(@Self)^.clr := $00000040;
  19861. end;
  19862. procedure TPORTA_PORTA.setRA6(thebits : TBits_1); inline;
  19863. begin
  19864. if thebits = 0 then
  19865. pTDefRegMap(@Self)^.clr := $00000040
  19866. else
  19867. pTDefRegMap(@Self)^.&set := $00000040;
  19868. end;
  19869. function TPORTA_PORTA.getRA6 : TBits_1; inline;
  19870. begin
  19871. getRA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19872. end;
  19873. procedure TPORTA_PORTA.setRA7; inline;
  19874. begin
  19875. pTDefRegMap(@Self)^.&set := $00000080;
  19876. end;
  19877. procedure TPORTA_PORTA.clearRA7; inline;
  19878. begin
  19879. pTDefRegMap(@Self)^.clr := $00000080;
  19880. end;
  19881. procedure TPORTA_PORTA.setRA7(thebits : TBits_1); inline;
  19882. begin
  19883. if thebits = 0 then
  19884. pTDefRegMap(@Self)^.clr := $00000080
  19885. else
  19886. pTDefRegMap(@Self)^.&set := $00000080;
  19887. end;
  19888. function TPORTA_PORTA.getRA7 : TBits_1; inline;
  19889. begin
  19890. getRA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19891. end;
  19892. procedure TPORTA_PORTA.setRA9; inline;
  19893. begin
  19894. pTDefRegMap(@Self)^.&set := $00000200;
  19895. end;
  19896. procedure TPORTA_PORTA.clearRA9; inline;
  19897. begin
  19898. pTDefRegMap(@Self)^.clr := $00000200;
  19899. end;
  19900. procedure TPORTA_PORTA.setRA9(thebits : TBits_1); inline;
  19901. begin
  19902. if thebits = 0 then
  19903. pTDefRegMap(@Self)^.clr := $00000200
  19904. else
  19905. pTDefRegMap(@Self)^.&set := $00000200;
  19906. end;
  19907. function TPORTA_PORTA.getRA9 : TBits_1; inline;
  19908. begin
  19909. getRA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19910. end;
  19911. procedure TPORTA_PORTA.setRA10; inline;
  19912. begin
  19913. pTDefRegMap(@Self)^.&set := $00000400;
  19914. end;
  19915. procedure TPORTA_PORTA.clearRA10; inline;
  19916. begin
  19917. pTDefRegMap(@Self)^.clr := $00000400;
  19918. end;
  19919. procedure TPORTA_PORTA.setRA10(thebits : TBits_1); inline;
  19920. begin
  19921. if thebits = 0 then
  19922. pTDefRegMap(@Self)^.clr := $00000400
  19923. else
  19924. pTDefRegMap(@Self)^.&set := $00000400;
  19925. end;
  19926. function TPORTA_PORTA.getRA10 : TBits_1; inline;
  19927. begin
  19928. getRA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19929. end;
  19930. procedure TPORTA_PORTA.setRA14; inline;
  19931. begin
  19932. pTDefRegMap(@Self)^.&set := $00004000;
  19933. end;
  19934. procedure TPORTA_PORTA.clearRA14; inline;
  19935. begin
  19936. pTDefRegMap(@Self)^.clr := $00004000;
  19937. end;
  19938. procedure TPORTA_PORTA.setRA14(thebits : TBits_1); inline;
  19939. begin
  19940. if thebits = 0 then
  19941. pTDefRegMap(@Self)^.clr := $00004000
  19942. else
  19943. pTDefRegMap(@Self)^.&set := $00004000;
  19944. end;
  19945. function TPORTA_PORTA.getRA14 : TBits_1; inline;
  19946. begin
  19947. getRA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19948. end;
  19949. procedure TPORTA_PORTA.setRA15; inline;
  19950. begin
  19951. pTDefRegMap(@Self)^.&set := $00008000;
  19952. end;
  19953. procedure TPORTA_PORTA.clearRA15; inline;
  19954. begin
  19955. pTDefRegMap(@Self)^.clr := $00008000;
  19956. end;
  19957. procedure TPORTA_PORTA.setRA15(thebits : TBits_1); inline;
  19958. begin
  19959. if thebits = 0 then
  19960. pTDefRegMap(@Self)^.clr := $00008000
  19961. else
  19962. pTDefRegMap(@Self)^.&set := $00008000;
  19963. end;
  19964. function TPORTA_PORTA.getRA15 : TBits_1; inline;
  19965. begin
  19966. getRA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19967. end;
  19968. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  19969. begin
  19970. pTDefRegMap(@Self)^.val := thebits;
  19971. end;
  19972. function TPORTA_PORTA.getw : TBits_32; inline;
  19973. begin
  19974. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19975. end;
  19976. procedure TPORTA_LATA.setLATA0; inline;
  19977. begin
  19978. pTDefRegMap(@Self)^.&set := $00000001;
  19979. end;
  19980. procedure TPORTA_LATA.clearLATA0; inline;
  19981. begin
  19982. pTDefRegMap(@Self)^.clr := $00000001;
  19983. end;
  19984. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  19985. begin
  19986. if thebits = 0 then
  19987. pTDefRegMap(@Self)^.clr := $00000001
  19988. else
  19989. pTDefRegMap(@Self)^.&set := $00000001;
  19990. end;
  19991. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  19992. begin
  19993. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19994. end;
  19995. procedure TPORTA_LATA.setLATA1; inline;
  19996. begin
  19997. pTDefRegMap(@Self)^.&set := $00000002;
  19998. end;
  19999. procedure TPORTA_LATA.clearLATA1; inline;
  20000. begin
  20001. pTDefRegMap(@Self)^.clr := $00000002;
  20002. end;
  20003. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  20004. begin
  20005. if thebits = 0 then
  20006. pTDefRegMap(@Self)^.clr := $00000002
  20007. else
  20008. pTDefRegMap(@Self)^.&set := $00000002;
  20009. end;
  20010. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  20011. begin
  20012. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20013. end;
  20014. procedure TPORTA_LATA.setLATA2; inline;
  20015. begin
  20016. pTDefRegMap(@Self)^.&set := $00000004;
  20017. end;
  20018. procedure TPORTA_LATA.clearLATA2; inline;
  20019. begin
  20020. pTDefRegMap(@Self)^.clr := $00000004;
  20021. end;
  20022. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  20023. begin
  20024. if thebits = 0 then
  20025. pTDefRegMap(@Self)^.clr := $00000004
  20026. else
  20027. pTDefRegMap(@Self)^.&set := $00000004;
  20028. end;
  20029. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  20030. begin
  20031. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20032. end;
  20033. procedure TPORTA_LATA.setLATA3; inline;
  20034. begin
  20035. pTDefRegMap(@Self)^.&set := $00000008;
  20036. end;
  20037. procedure TPORTA_LATA.clearLATA3; inline;
  20038. begin
  20039. pTDefRegMap(@Self)^.clr := $00000008;
  20040. end;
  20041. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  20042. begin
  20043. if thebits = 0 then
  20044. pTDefRegMap(@Self)^.clr := $00000008
  20045. else
  20046. pTDefRegMap(@Self)^.&set := $00000008;
  20047. end;
  20048. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  20049. begin
  20050. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20051. end;
  20052. procedure TPORTA_LATA.setLATA4; inline;
  20053. begin
  20054. pTDefRegMap(@Self)^.&set := $00000010;
  20055. end;
  20056. procedure TPORTA_LATA.clearLATA4; inline;
  20057. begin
  20058. pTDefRegMap(@Self)^.clr := $00000010;
  20059. end;
  20060. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  20061. begin
  20062. if thebits = 0 then
  20063. pTDefRegMap(@Self)^.clr := $00000010
  20064. else
  20065. pTDefRegMap(@Self)^.&set := $00000010;
  20066. end;
  20067. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  20068. begin
  20069. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20070. end;
  20071. procedure TPORTA_LATA.setLATA5; inline;
  20072. begin
  20073. pTDefRegMap(@Self)^.&set := $00000020;
  20074. end;
  20075. procedure TPORTA_LATA.clearLATA5; inline;
  20076. begin
  20077. pTDefRegMap(@Self)^.clr := $00000020;
  20078. end;
  20079. procedure TPORTA_LATA.setLATA5(thebits : TBits_1); inline;
  20080. begin
  20081. if thebits = 0 then
  20082. pTDefRegMap(@Self)^.clr := $00000020
  20083. else
  20084. pTDefRegMap(@Self)^.&set := $00000020;
  20085. end;
  20086. function TPORTA_LATA.getLATA5 : TBits_1; inline;
  20087. begin
  20088. getLATA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20089. end;
  20090. procedure TPORTA_LATA.setLATA6; inline;
  20091. begin
  20092. pTDefRegMap(@Self)^.&set := $00000040;
  20093. end;
  20094. procedure TPORTA_LATA.clearLATA6; inline;
  20095. begin
  20096. pTDefRegMap(@Self)^.clr := $00000040;
  20097. end;
  20098. procedure TPORTA_LATA.setLATA6(thebits : TBits_1); inline;
  20099. begin
  20100. if thebits = 0 then
  20101. pTDefRegMap(@Self)^.clr := $00000040
  20102. else
  20103. pTDefRegMap(@Self)^.&set := $00000040;
  20104. end;
  20105. function TPORTA_LATA.getLATA6 : TBits_1; inline;
  20106. begin
  20107. getLATA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20108. end;
  20109. procedure TPORTA_LATA.setLATA7; inline;
  20110. begin
  20111. pTDefRegMap(@Self)^.&set := $00000080;
  20112. end;
  20113. procedure TPORTA_LATA.clearLATA7; inline;
  20114. begin
  20115. pTDefRegMap(@Self)^.clr := $00000080;
  20116. end;
  20117. procedure TPORTA_LATA.setLATA7(thebits : TBits_1); inline;
  20118. begin
  20119. if thebits = 0 then
  20120. pTDefRegMap(@Self)^.clr := $00000080
  20121. else
  20122. pTDefRegMap(@Self)^.&set := $00000080;
  20123. end;
  20124. function TPORTA_LATA.getLATA7 : TBits_1; inline;
  20125. begin
  20126. getLATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20127. end;
  20128. procedure TPORTA_LATA.setLATA9; inline;
  20129. begin
  20130. pTDefRegMap(@Self)^.&set := $00000200;
  20131. end;
  20132. procedure TPORTA_LATA.clearLATA9; inline;
  20133. begin
  20134. pTDefRegMap(@Self)^.clr := $00000200;
  20135. end;
  20136. procedure TPORTA_LATA.setLATA9(thebits : TBits_1); inline;
  20137. begin
  20138. if thebits = 0 then
  20139. pTDefRegMap(@Self)^.clr := $00000200
  20140. else
  20141. pTDefRegMap(@Self)^.&set := $00000200;
  20142. end;
  20143. function TPORTA_LATA.getLATA9 : TBits_1; inline;
  20144. begin
  20145. getLATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20146. end;
  20147. procedure TPORTA_LATA.setLATA10; inline;
  20148. begin
  20149. pTDefRegMap(@Self)^.&set := $00000400;
  20150. end;
  20151. procedure TPORTA_LATA.clearLATA10; inline;
  20152. begin
  20153. pTDefRegMap(@Self)^.clr := $00000400;
  20154. end;
  20155. procedure TPORTA_LATA.setLATA10(thebits : TBits_1); inline;
  20156. begin
  20157. if thebits = 0 then
  20158. pTDefRegMap(@Self)^.clr := $00000400
  20159. else
  20160. pTDefRegMap(@Self)^.&set := $00000400;
  20161. end;
  20162. function TPORTA_LATA.getLATA10 : TBits_1; inline;
  20163. begin
  20164. getLATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20165. end;
  20166. procedure TPORTA_LATA.setLATA14; inline;
  20167. begin
  20168. pTDefRegMap(@Self)^.&set := $00004000;
  20169. end;
  20170. procedure TPORTA_LATA.clearLATA14; inline;
  20171. begin
  20172. pTDefRegMap(@Self)^.clr := $00004000;
  20173. end;
  20174. procedure TPORTA_LATA.setLATA14(thebits : TBits_1); inline;
  20175. begin
  20176. if thebits = 0 then
  20177. pTDefRegMap(@Self)^.clr := $00004000
  20178. else
  20179. pTDefRegMap(@Self)^.&set := $00004000;
  20180. end;
  20181. function TPORTA_LATA.getLATA14 : TBits_1; inline;
  20182. begin
  20183. getLATA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20184. end;
  20185. procedure TPORTA_LATA.setLATA15; inline;
  20186. begin
  20187. pTDefRegMap(@Self)^.&set := $00008000;
  20188. end;
  20189. procedure TPORTA_LATA.clearLATA15; inline;
  20190. begin
  20191. pTDefRegMap(@Self)^.clr := $00008000;
  20192. end;
  20193. procedure TPORTA_LATA.setLATA15(thebits : TBits_1); inline;
  20194. begin
  20195. if thebits = 0 then
  20196. pTDefRegMap(@Self)^.clr := $00008000
  20197. else
  20198. pTDefRegMap(@Self)^.&set := $00008000;
  20199. end;
  20200. function TPORTA_LATA.getLATA15 : TBits_1; inline;
  20201. begin
  20202. getLATA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20203. end;
  20204. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  20205. begin
  20206. pTDefRegMap(@Self)^.val := thebits;
  20207. end;
  20208. function TPORTA_LATA.getw : TBits_32; inline;
  20209. begin
  20210. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20211. end;
  20212. procedure TPORTA_ODCA.setODCA0; inline;
  20213. begin
  20214. pTDefRegMap(@Self)^.&set := $00000001;
  20215. end;
  20216. procedure TPORTA_ODCA.clearODCA0; inline;
  20217. begin
  20218. pTDefRegMap(@Self)^.clr := $00000001;
  20219. end;
  20220. procedure TPORTA_ODCA.setODCA0(thebits : TBits_1); inline;
  20221. begin
  20222. if thebits = 0 then
  20223. pTDefRegMap(@Self)^.clr := $00000001
  20224. else
  20225. pTDefRegMap(@Self)^.&set := $00000001;
  20226. end;
  20227. function TPORTA_ODCA.getODCA0 : TBits_1; inline;
  20228. begin
  20229. getODCA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20230. end;
  20231. procedure TPORTA_ODCA.setODCA1; inline;
  20232. begin
  20233. pTDefRegMap(@Self)^.&set := $00000002;
  20234. end;
  20235. procedure TPORTA_ODCA.clearODCA1; inline;
  20236. begin
  20237. pTDefRegMap(@Self)^.clr := $00000002;
  20238. end;
  20239. procedure TPORTA_ODCA.setODCA1(thebits : TBits_1); inline;
  20240. begin
  20241. if thebits = 0 then
  20242. pTDefRegMap(@Self)^.clr := $00000002
  20243. else
  20244. pTDefRegMap(@Self)^.&set := $00000002;
  20245. end;
  20246. function TPORTA_ODCA.getODCA1 : TBits_1; inline;
  20247. begin
  20248. getODCA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20249. end;
  20250. procedure TPORTA_ODCA.setODCA2; inline;
  20251. begin
  20252. pTDefRegMap(@Self)^.&set := $00000004;
  20253. end;
  20254. procedure TPORTA_ODCA.clearODCA2; inline;
  20255. begin
  20256. pTDefRegMap(@Self)^.clr := $00000004;
  20257. end;
  20258. procedure TPORTA_ODCA.setODCA2(thebits : TBits_1); inline;
  20259. begin
  20260. if thebits = 0 then
  20261. pTDefRegMap(@Self)^.clr := $00000004
  20262. else
  20263. pTDefRegMap(@Self)^.&set := $00000004;
  20264. end;
  20265. function TPORTA_ODCA.getODCA2 : TBits_1; inline;
  20266. begin
  20267. getODCA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20268. end;
  20269. procedure TPORTA_ODCA.setODCA3; inline;
  20270. begin
  20271. pTDefRegMap(@Self)^.&set := $00000008;
  20272. end;
  20273. procedure TPORTA_ODCA.clearODCA3; inline;
  20274. begin
  20275. pTDefRegMap(@Self)^.clr := $00000008;
  20276. end;
  20277. procedure TPORTA_ODCA.setODCA3(thebits : TBits_1); inline;
  20278. begin
  20279. if thebits = 0 then
  20280. pTDefRegMap(@Self)^.clr := $00000008
  20281. else
  20282. pTDefRegMap(@Self)^.&set := $00000008;
  20283. end;
  20284. function TPORTA_ODCA.getODCA3 : TBits_1; inline;
  20285. begin
  20286. getODCA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20287. end;
  20288. procedure TPORTA_ODCA.setODCA4; inline;
  20289. begin
  20290. pTDefRegMap(@Self)^.&set := $00000010;
  20291. end;
  20292. procedure TPORTA_ODCA.clearODCA4; inline;
  20293. begin
  20294. pTDefRegMap(@Self)^.clr := $00000010;
  20295. end;
  20296. procedure TPORTA_ODCA.setODCA4(thebits : TBits_1); inline;
  20297. begin
  20298. if thebits = 0 then
  20299. pTDefRegMap(@Self)^.clr := $00000010
  20300. else
  20301. pTDefRegMap(@Self)^.&set := $00000010;
  20302. end;
  20303. function TPORTA_ODCA.getODCA4 : TBits_1; inline;
  20304. begin
  20305. getODCA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20306. end;
  20307. procedure TPORTA_ODCA.setODCA5; inline;
  20308. begin
  20309. pTDefRegMap(@Self)^.&set := $00000020;
  20310. end;
  20311. procedure TPORTA_ODCA.clearODCA5; inline;
  20312. begin
  20313. pTDefRegMap(@Self)^.clr := $00000020;
  20314. end;
  20315. procedure TPORTA_ODCA.setODCA5(thebits : TBits_1); inline;
  20316. begin
  20317. if thebits = 0 then
  20318. pTDefRegMap(@Self)^.clr := $00000020
  20319. else
  20320. pTDefRegMap(@Self)^.&set := $00000020;
  20321. end;
  20322. function TPORTA_ODCA.getODCA5 : TBits_1; inline;
  20323. begin
  20324. getODCA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20325. end;
  20326. procedure TPORTA_ODCA.setODCA6; inline;
  20327. begin
  20328. pTDefRegMap(@Self)^.&set := $00000040;
  20329. end;
  20330. procedure TPORTA_ODCA.clearODCA6; inline;
  20331. begin
  20332. pTDefRegMap(@Self)^.clr := $00000040;
  20333. end;
  20334. procedure TPORTA_ODCA.setODCA6(thebits : TBits_1); inline;
  20335. begin
  20336. if thebits = 0 then
  20337. pTDefRegMap(@Self)^.clr := $00000040
  20338. else
  20339. pTDefRegMap(@Self)^.&set := $00000040;
  20340. end;
  20341. function TPORTA_ODCA.getODCA6 : TBits_1; inline;
  20342. begin
  20343. getODCA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20344. end;
  20345. procedure TPORTA_ODCA.setODCA7; inline;
  20346. begin
  20347. pTDefRegMap(@Self)^.&set := $00000080;
  20348. end;
  20349. procedure TPORTA_ODCA.clearODCA7; inline;
  20350. begin
  20351. pTDefRegMap(@Self)^.clr := $00000080;
  20352. end;
  20353. procedure TPORTA_ODCA.setODCA7(thebits : TBits_1); inline;
  20354. begin
  20355. if thebits = 0 then
  20356. pTDefRegMap(@Self)^.clr := $00000080
  20357. else
  20358. pTDefRegMap(@Self)^.&set := $00000080;
  20359. end;
  20360. function TPORTA_ODCA.getODCA7 : TBits_1; inline;
  20361. begin
  20362. getODCA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20363. end;
  20364. procedure TPORTA_ODCA.setODCA9; inline;
  20365. begin
  20366. pTDefRegMap(@Self)^.&set := $00000200;
  20367. end;
  20368. procedure TPORTA_ODCA.clearODCA9; inline;
  20369. begin
  20370. pTDefRegMap(@Self)^.clr := $00000200;
  20371. end;
  20372. procedure TPORTA_ODCA.setODCA9(thebits : TBits_1); inline;
  20373. begin
  20374. if thebits = 0 then
  20375. pTDefRegMap(@Self)^.clr := $00000200
  20376. else
  20377. pTDefRegMap(@Self)^.&set := $00000200;
  20378. end;
  20379. function TPORTA_ODCA.getODCA9 : TBits_1; inline;
  20380. begin
  20381. getODCA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20382. end;
  20383. procedure TPORTA_ODCA.setODCA10; inline;
  20384. begin
  20385. pTDefRegMap(@Self)^.&set := $00000400;
  20386. end;
  20387. procedure TPORTA_ODCA.clearODCA10; inline;
  20388. begin
  20389. pTDefRegMap(@Self)^.clr := $00000400;
  20390. end;
  20391. procedure TPORTA_ODCA.setODCA10(thebits : TBits_1); inline;
  20392. begin
  20393. if thebits = 0 then
  20394. pTDefRegMap(@Self)^.clr := $00000400
  20395. else
  20396. pTDefRegMap(@Self)^.&set := $00000400;
  20397. end;
  20398. function TPORTA_ODCA.getODCA10 : TBits_1; inline;
  20399. begin
  20400. getODCA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20401. end;
  20402. procedure TPORTA_ODCA.setODCA14; inline;
  20403. begin
  20404. pTDefRegMap(@Self)^.&set := $00004000;
  20405. end;
  20406. procedure TPORTA_ODCA.clearODCA14; inline;
  20407. begin
  20408. pTDefRegMap(@Self)^.clr := $00004000;
  20409. end;
  20410. procedure TPORTA_ODCA.setODCA14(thebits : TBits_1); inline;
  20411. begin
  20412. if thebits = 0 then
  20413. pTDefRegMap(@Self)^.clr := $00004000
  20414. else
  20415. pTDefRegMap(@Self)^.&set := $00004000;
  20416. end;
  20417. function TPORTA_ODCA.getODCA14 : TBits_1; inline;
  20418. begin
  20419. getODCA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20420. end;
  20421. procedure TPORTA_ODCA.setODCA15; inline;
  20422. begin
  20423. pTDefRegMap(@Self)^.&set := $00008000;
  20424. end;
  20425. procedure TPORTA_ODCA.clearODCA15; inline;
  20426. begin
  20427. pTDefRegMap(@Self)^.clr := $00008000;
  20428. end;
  20429. procedure TPORTA_ODCA.setODCA15(thebits : TBits_1); inline;
  20430. begin
  20431. if thebits = 0 then
  20432. pTDefRegMap(@Self)^.clr := $00008000
  20433. else
  20434. pTDefRegMap(@Self)^.&set := $00008000;
  20435. end;
  20436. function TPORTA_ODCA.getODCA15 : TBits_1; inline;
  20437. begin
  20438. getODCA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20439. end;
  20440. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  20441. begin
  20442. pTDefRegMap(@Self)^.val := thebits;
  20443. end;
  20444. function TPORTA_ODCA.getw : TBits_32; inline;
  20445. begin
  20446. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20447. end;
  20448. procedure TPORTB_TRISB.setTRISB0; inline;
  20449. begin
  20450. pTDefRegMap(@Self)^.&set := $00000001;
  20451. end;
  20452. procedure TPORTB_TRISB.clearTRISB0; inline;
  20453. begin
  20454. pTDefRegMap(@Self)^.clr := $00000001;
  20455. end;
  20456. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  20457. begin
  20458. if thebits = 0 then
  20459. pTDefRegMap(@Self)^.clr := $00000001
  20460. else
  20461. pTDefRegMap(@Self)^.&set := $00000001;
  20462. end;
  20463. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  20464. begin
  20465. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20466. end;
  20467. procedure TPORTB_TRISB.setTRISB1; inline;
  20468. begin
  20469. pTDefRegMap(@Self)^.&set := $00000002;
  20470. end;
  20471. procedure TPORTB_TRISB.clearTRISB1; inline;
  20472. begin
  20473. pTDefRegMap(@Self)^.clr := $00000002;
  20474. end;
  20475. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  20476. begin
  20477. if thebits = 0 then
  20478. pTDefRegMap(@Self)^.clr := $00000002
  20479. else
  20480. pTDefRegMap(@Self)^.&set := $00000002;
  20481. end;
  20482. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  20483. begin
  20484. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20485. end;
  20486. procedure TPORTB_TRISB.setTRISB2; inline;
  20487. begin
  20488. pTDefRegMap(@Self)^.&set := $00000004;
  20489. end;
  20490. procedure TPORTB_TRISB.clearTRISB2; inline;
  20491. begin
  20492. pTDefRegMap(@Self)^.clr := $00000004;
  20493. end;
  20494. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  20495. begin
  20496. if thebits = 0 then
  20497. pTDefRegMap(@Self)^.clr := $00000004
  20498. else
  20499. pTDefRegMap(@Self)^.&set := $00000004;
  20500. end;
  20501. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  20502. begin
  20503. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20504. end;
  20505. procedure TPORTB_TRISB.setTRISB3; inline;
  20506. begin
  20507. pTDefRegMap(@Self)^.&set := $00000008;
  20508. end;
  20509. procedure TPORTB_TRISB.clearTRISB3; inline;
  20510. begin
  20511. pTDefRegMap(@Self)^.clr := $00000008;
  20512. end;
  20513. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  20514. begin
  20515. if thebits = 0 then
  20516. pTDefRegMap(@Self)^.clr := $00000008
  20517. else
  20518. pTDefRegMap(@Self)^.&set := $00000008;
  20519. end;
  20520. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  20521. begin
  20522. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20523. end;
  20524. procedure TPORTB_TRISB.setTRISB4; inline;
  20525. begin
  20526. pTDefRegMap(@Self)^.&set := $00000010;
  20527. end;
  20528. procedure TPORTB_TRISB.clearTRISB4; inline;
  20529. begin
  20530. pTDefRegMap(@Self)^.clr := $00000010;
  20531. end;
  20532. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  20533. begin
  20534. if thebits = 0 then
  20535. pTDefRegMap(@Self)^.clr := $00000010
  20536. else
  20537. pTDefRegMap(@Self)^.&set := $00000010;
  20538. end;
  20539. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  20540. begin
  20541. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20542. end;
  20543. procedure TPORTB_TRISB.setTRISB5; inline;
  20544. begin
  20545. pTDefRegMap(@Self)^.&set := $00000020;
  20546. end;
  20547. procedure TPORTB_TRISB.clearTRISB5; inline;
  20548. begin
  20549. pTDefRegMap(@Self)^.clr := $00000020;
  20550. end;
  20551. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  20552. begin
  20553. if thebits = 0 then
  20554. pTDefRegMap(@Self)^.clr := $00000020
  20555. else
  20556. pTDefRegMap(@Self)^.&set := $00000020;
  20557. end;
  20558. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  20559. begin
  20560. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20561. end;
  20562. procedure TPORTB_TRISB.setTRISB6; inline;
  20563. begin
  20564. pTDefRegMap(@Self)^.&set := $00000040;
  20565. end;
  20566. procedure TPORTB_TRISB.clearTRISB6; inline;
  20567. begin
  20568. pTDefRegMap(@Self)^.clr := $00000040;
  20569. end;
  20570. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  20571. begin
  20572. if thebits = 0 then
  20573. pTDefRegMap(@Self)^.clr := $00000040
  20574. else
  20575. pTDefRegMap(@Self)^.&set := $00000040;
  20576. end;
  20577. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  20578. begin
  20579. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20580. end;
  20581. procedure TPORTB_TRISB.setTRISB7; inline;
  20582. begin
  20583. pTDefRegMap(@Self)^.&set := $00000080;
  20584. end;
  20585. procedure TPORTB_TRISB.clearTRISB7; inline;
  20586. begin
  20587. pTDefRegMap(@Self)^.clr := $00000080;
  20588. end;
  20589. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  20590. begin
  20591. if thebits = 0 then
  20592. pTDefRegMap(@Self)^.clr := $00000080
  20593. else
  20594. pTDefRegMap(@Self)^.&set := $00000080;
  20595. end;
  20596. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  20597. begin
  20598. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20599. end;
  20600. procedure TPORTB_TRISB.setTRISB8; inline;
  20601. begin
  20602. pTDefRegMap(@Self)^.&set := $00000100;
  20603. end;
  20604. procedure TPORTB_TRISB.clearTRISB8; inline;
  20605. begin
  20606. pTDefRegMap(@Self)^.clr := $00000100;
  20607. end;
  20608. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  20609. begin
  20610. if thebits = 0 then
  20611. pTDefRegMap(@Self)^.clr := $00000100
  20612. else
  20613. pTDefRegMap(@Self)^.&set := $00000100;
  20614. end;
  20615. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  20616. begin
  20617. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20618. end;
  20619. procedure TPORTB_TRISB.setTRISB9; inline;
  20620. begin
  20621. pTDefRegMap(@Self)^.&set := $00000200;
  20622. end;
  20623. procedure TPORTB_TRISB.clearTRISB9; inline;
  20624. begin
  20625. pTDefRegMap(@Self)^.clr := $00000200;
  20626. end;
  20627. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  20628. begin
  20629. if thebits = 0 then
  20630. pTDefRegMap(@Self)^.clr := $00000200
  20631. else
  20632. pTDefRegMap(@Self)^.&set := $00000200;
  20633. end;
  20634. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  20635. begin
  20636. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20637. end;
  20638. procedure TPORTB_TRISB.setTRISB10; inline;
  20639. begin
  20640. pTDefRegMap(@Self)^.&set := $00000400;
  20641. end;
  20642. procedure TPORTB_TRISB.clearTRISB10; inline;
  20643. begin
  20644. pTDefRegMap(@Self)^.clr := $00000400;
  20645. end;
  20646. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  20647. begin
  20648. if thebits = 0 then
  20649. pTDefRegMap(@Self)^.clr := $00000400
  20650. else
  20651. pTDefRegMap(@Self)^.&set := $00000400;
  20652. end;
  20653. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  20654. begin
  20655. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20656. end;
  20657. procedure TPORTB_TRISB.setTRISB11; inline;
  20658. begin
  20659. pTDefRegMap(@Self)^.&set := $00000800;
  20660. end;
  20661. procedure TPORTB_TRISB.clearTRISB11; inline;
  20662. begin
  20663. pTDefRegMap(@Self)^.clr := $00000800;
  20664. end;
  20665. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  20666. begin
  20667. if thebits = 0 then
  20668. pTDefRegMap(@Self)^.clr := $00000800
  20669. else
  20670. pTDefRegMap(@Self)^.&set := $00000800;
  20671. end;
  20672. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  20673. begin
  20674. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20675. end;
  20676. procedure TPORTB_TRISB.setTRISB12; inline;
  20677. begin
  20678. pTDefRegMap(@Self)^.&set := $00001000;
  20679. end;
  20680. procedure TPORTB_TRISB.clearTRISB12; inline;
  20681. begin
  20682. pTDefRegMap(@Self)^.clr := $00001000;
  20683. end;
  20684. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  20685. begin
  20686. if thebits = 0 then
  20687. pTDefRegMap(@Self)^.clr := $00001000
  20688. else
  20689. pTDefRegMap(@Self)^.&set := $00001000;
  20690. end;
  20691. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  20692. begin
  20693. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20694. end;
  20695. procedure TPORTB_TRISB.setTRISB13; inline;
  20696. begin
  20697. pTDefRegMap(@Self)^.&set := $00002000;
  20698. end;
  20699. procedure TPORTB_TRISB.clearTRISB13; inline;
  20700. begin
  20701. pTDefRegMap(@Self)^.clr := $00002000;
  20702. end;
  20703. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  20704. begin
  20705. if thebits = 0 then
  20706. pTDefRegMap(@Self)^.clr := $00002000
  20707. else
  20708. pTDefRegMap(@Self)^.&set := $00002000;
  20709. end;
  20710. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  20711. begin
  20712. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20713. end;
  20714. procedure TPORTB_TRISB.setTRISB14; inline;
  20715. begin
  20716. pTDefRegMap(@Self)^.&set := $00004000;
  20717. end;
  20718. procedure TPORTB_TRISB.clearTRISB14; inline;
  20719. begin
  20720. pTDefRegMap(@Self)^.clr := $00004000;
  20721. end;
  20722. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  20723. begin
  20724. if thebits = 0 then
  20725. pTDefRegMap(@Self)^.clr := $00004000
  20726. else
  20727. pTDefRegMap(@Self)^.&set := $00004000;
  20728. end;
  20729. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  20730. begin
  20731. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20732. end;
  20733. procedure TPORTB_TRISB.setTRISB15; inline;
  20734. begin
  20735. pTDefRegMap(@Self)^.&set := $00008000;
  20736. end;
  20737. procedure TPORTB_TRISB.clearTRISB15; inline;
  20738. begin
  20739. pTDefRegMap(@Self)^.clr := $00008000;
  20740. end;
  20741. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  20742. begin
  20743. if thebits = 0 then
  20744. pTDefRegMap(@Self)^.clr := $00008000
  20745. else
  20746. pTDefRegMap(@Self)^.&set := $00008000;
  20747. end;
  20748. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  20749. begin
  20750. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20751. end;
  20752. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  20753. begin
  20754. pTDefRegMap(@Self)^.val := thebits;
  20755. end;
  20756. function TPORTB_TRISB.getw : TBits_32; inline;
  20757. begin
  20758. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20759. end;
  20760. procedure TPORTB_PORTB.setRB0; inline;
  20761. begin
  20762. pTDefRegMap(@Self)^.&set := $00000001;
  20763. end;
  20764. procedure TPORTB_PORTB.clearRB0; inline;
  20765. begin
  20766. pTDefRegMap(@Self)^.clr := $00000001;
  20767. end;
  20768. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  20769. begin
  20770. if thebits = 0 then
  20771. pTDefRegMap(@Self)^.clr := $00000001
  20772. else
  20773. pTDefRegMap(@Self)^.&set := $00000001;
  20774. end;
  20775. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  20776. begin
  20777. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20778. end;
  20779. procedure TPORTB_PORTB.setRB1; inline;
  20780. begin
  20781. pTDefRegMap(@Self)^.&set := $00000002;
  20782. end;
  20783. procedure TPORTB_PORTB.clearRB1; inline;
  20784. begin
  20785. pTDefRegMap(@Self)^.clr := $00000002;
  20786. end;
  20787. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  20788. begin
  20789. if thebits = 0 then
  20790. pTDefRegMap(@Self)^.clr := $00000002
  20791. else
  20792. pTDefRegMap(@Self)^.&set := $00000002;
  20793. end;
  20794. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  20795. begin
  20796. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20797. end;
  20798. procedure TPORTB_PORTB.setRB2; inline;
  20799. begin
  20800. pTDefRegMap(@Self)^.&set := $00000004;
  20801. end;
  20802. procedure TPORTB_PORTB.clearRB2; inline;
  20803. begin
  20804. pTDefRegMap(@Self)^.clr := $00000004;
  20805. end;
  20806. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  20807. begin
  20808. if thebits = 0 then
  20809. pTDefRegMap(@Self)^.clr := $00000004
  20810. else
  20811. pTDefRegMap(@Self)^.&set := $00000004;
  20812. end;
  20813. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  20814. begin
  20815. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20816. end;
  20817. procedure TPORTB_PORTB.setRB3; inline;
  20818. begin
  20819. pTDefRegMap(@Self)^.&set := $00000008;
  20820. end;
  20821. procedure TPORTB_PORTB.clearRB3; inline;
  20822. begin
  20823. pTDefRegMap(@Self)^.clr := $00000008;
  20824. end;
  20825. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  20826. begin
  20827. if thebits = 0 then
  20828. pTDefRegMap(@Self)^.clr := $00000008
  20829. else
  20830. pTDefRegMap(@Self)^.&set := $00000008;
  20831. end;
  20832. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  20833. begin
  20834. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20835. end;
  20836. procedure TPORTB_PORTB.setRB4; inline;
  20837. begin
  20838. pTDefRegMap(@Self)^.&set := $00000010;
  20839. end;
  20840. procedure TPORTB_PORTB.clearRB4; inline;
  20841. begin
  20842. pTDefRegMap(@Self)^.clr := $00000010;
  20843. end;
  20844. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  20845. begin
  20846. if thebits = 0 then
  20847. pTDefRegMap(@Self)^.clr := $00000010
  20848. else
  20849. pTDefRegMap(@Self)^.&set := $00000010;
  20850. end;
  20851. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  20852. begin
  20853. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20854. end;
  20855. procedure TPORTB_PORTB.setRB5; inline;
  20856. begin
  20857. pTDefRegMap(@Self)^.&set := $00000020;
  20858. end;
  20859. procedure TPORTB_PORTB.clearRB5; inline;
  20860. begin
  20861. pTDefRegMap(@Self)^.clr := $00000020;
  20862. end;
  20863. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  20864. begin
  20865. if thebits = 0 then
  20866. pTDefRegMap(@Self)^.clr := $00000020
  20867. else
  20868. pTDefRegMap(@Self)^.&set := $00000020;
  20869. end;
  20870. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  20871. begin
  20872. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20873. end;
  20874. procedure TPORTB_PORTB.setRB6; inline;
  20875. begin
  20876. pTDefRegMap(@Self)^.&set := $00000040;
  20877. end;
  20878. procedure TPORTB_PORTB.clearRB6; inline;
  20879. begin
  20880. pTDefRegMap(@Self)^.clr := $00000040;
  20881. end;
  20882. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  20883. begin
  20884. if thebits = 0 then
  20885. pTDefRegMap(@Self)^.clr := $00000040
  20886. else
  20887. pTDefRegMap(@Self)^.&set := $00000040;
  20888. end;
  20889. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  20890. begin
  20891. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20892. end;
  20893. procedure TPORTB_PORTB.setRB7; inline;
  20894. begin
  20895. pTDefRegMap(@Self)^.&set := $00000080;
  20896. end;
  20897. procedure TPORTB_PORTB.clearRB7; inline;
  20898. begin
  20899. pTDefRegMap(@Self)^.clr := $00000080;
  20900. end;
  20901. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  20902. begin
  20903. if thebits = 0 then
  20904. pTDefRegMap(@Self)^.clr := $00000080
  20905. else
  20906. pTDefRegMap(@Self)^.&set := $00000080;
  20907. end;
  20908. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  20909. begin
  20910. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20911. end;
  20912. procedure TPORTB_PORTB.setRB8; inline;
  20913. begin
  20914. pTDefRegMap(@Self)^.&set := $00000100;
  20915. end;
  20916. procedure TPORTB_PORTB.clearRB8; inline;
  20917. begin
  20918. pTDefRegMap(@Self)^.clr := $00000100;
  20919. end;
  20920. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  20921. begin
  20922. if thebits = 0 then
  20923. pTDefRegMap(@Self)^.clr := $00000100
  20924. else
  20925. pTDefRegMap(@Self)^.&set := $00000100;
  20926. end;
  20927. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  20928. begin
  20929. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20930. end;
  20931. procedure TPORTB_PORTB.setRB9; inline;
  20932. begin
  20933. pTDefRegMap(@Self)^.&set := $00000200;
  20934. end;
  20935. procedure TPORTB_PORTB.clearRB9; inline;
  20936. begin
  20937. pTDefRegMap(@Self)^.clr := $00000200;
  20938. end;
  20939. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  20940. begin
  20941. if thebits = 0 then
  20942. pTDefRegMap(@Self)^.clr := $00000200
  20943. else
  20944. pTDefRegMap(@Self)^.&set := $00000200;
  20945. end;
  20946. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  20947. begin
  20948. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20949. end;
  20950. procedure TPORTB_PORTB.setRB10; inline;
  20951. begin
  20952. pTDefRegMap(@Self)^.&set := $00000400;
  20953. end;
  20954. procedure TPORTB_PORTB.clearRB10; inline;
  20955. begin
  20956. pTDefRegMap(@Self)^.clr := $00000400;
  20957. end;
  20958. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  20959. begin
  20960. if thebits = 0 then
  20961. pTDefRegMap(@Self)^.clr := $00000400
  20962. else
  20963. pTDefRegMap(@Self)^.&set := $00000400;
  20964. end;
  20965. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  20966. begin
  20967. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20968. end;
  20969. procedure TPORTB_PORTB.setRB11; inline;
  20970. begin
  20971. pTDefRegMap(@Self)^.&set := $00000800;
  20972. end;
  20973. procedure TPORTB_PORTB.clearRB11; inline;
  20974. begin
  20975. pTDefRegMap(@Self)^.clr := $00000800;
  20976. end;
  20977. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  20978. begin
  20979. if thebits = 0 then
  20980. pTDefRegMap(@Self)^.clr := $00000800
  20981. else
  20982. pTDefRegMap(@Self)^.&set := $00000800;
  20983. end;
  20984. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  20985. begin
  20986. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20987. end;
  20988. procedure TPORTB_PORTB.setRB12; inline;
  20989. begin
  20990. pTDefRegMap(@Self)^.&set := $00001000;
  20991. end;
  20992. procedure TPORTB_PORTB.clearRB12; inline;
  20993. begin
  20994. pTDefRegMap(@Self)^.clr := $00001000;
  20995. end;
  20996. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  20997. begin
  20998. if thebits = 0 then
  20999. pTDefRegMap(@Self)^.clr := $00001000
  21000. else
  21001. pTDefRegMap(@Self)^.&set := $00001000;
  21002. end;
  21003. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  21004. begin
  21005. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21006. end;
  21007. procedure TPORTB_PORTB.setRB13; inline;
  21008. begin
  21009. pTDefRegMap(@Self)^.&set := $00002000;
  21010. end;
  21011. procedure TPORTB_PORTB.clearRB13; inline;
  21012. begin
  21013. pTDefRegMap(@Self)^.clr := $00002000;
  21014. end;
  21015. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  21016. begin
  21017. if thebits = 0 then
  21018. pTDefRegMap(@Self)^.clr := $00002000
  21019. else
  21020. pTDefRegMap(@Self)^.&set := $00002000;
  21021. end;
  21022. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  21023. begin
  21024. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21025. end;
  21026. procedure TPORTB_PORTB.setRB14; inline;
  21027. begin
  21028. pTDefRegMap(@Self)^.&set := $00004000;
  21029. end;
  21030. procedure TPORTB_PORTB.clearRB14; inline;
  21031. begin
  21032. pTDefRegMap(@Self)^.clr := $00004000;
  21033. end;
  21034. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  21035. begin
  21036. if thebits = 0 then
  21037. pTDefRegMap(@Self)^.clr := $00004000
  21038. else
  21039. pTDefRegMap(@Self)^.&set := $00004000;
  21040. end;
  21041. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  21042. begin
  21043. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21044. end;
  21045. procedure TPORTB_PORTB.setRB15; inline;
  21046. begin
  21047. pTDefRegMap(@Self)^.&set := $00008000;
  21048. end;
  21049. procedure TPORTB_PORTB.clearRB15; inline;
  21050. begin
  21051. pTDefRegMap(@Self)^.clr := $00008000;
  21052. end;
  21053. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  21054. begin
  21055. if thebits = 0 then
  21056. pTDefRegMap(@Self)^.clr := $00008000
  21057. else
  21058. pTDefRegMap(@Self)^.&set := $00008000;
  21059. end;
  21060. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  21061. begin
  21062. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21063. end;
  21064. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  21065. begin
  21066. pTDefRegMap(@Self)^.val := thebits;
  21067. end;
  21068. function TPORTB_PORTB.getw : TBits_32; inline;
  21069. begin
  21070. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21071. end;
  21072. procedure TPORTB_LATB.setLATB0; inline;
  21073. begin
  21074. pTDefRegMap(@Self)^.&set := $00000001;
  21075. end;
  21076. procedure TPORTB_LATB.clearLATB0; inline;
  21077. begin
  21078. pTDefRegMap(@Self)^.clr := $00000001;
  21079. end;
  21080. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  21081. begin
  21082. if thebits = 0 then
  21083. pTDefRegMap(@Self)^.clr := $00000001
  21084. else
  21085. pTDefRegMap(@Self)^.&set := $00000001;
  21086. end;
  21087. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  21088. begin
  21089. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21090. end;
  21091. procedure TPORTB_LATB.setLATB1; inline;
  21092. begin
  21093. pTDefRegMap(@Self)^.&set := $00000002;
  21094. end;
  21095. procedure TPORTB_LATB.clearLATB1; inline;
  21096. begin
  21097. pTDefRegMap(@Self)^.clr := $00000002;
  21098. end;
  21099. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  21100. begin
  21101. if thebits = 0 then
  21102. pTDefRegMap(@Self)^.clr := $00000002
  21103. else
  21104. pTDefRegMap(@Self)^.&set := $00000002;
  21105. end;
  21106. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  21107. begin
  21108. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21109. end;
  21110. procedure TPORTB_LATB.setLATB2; inline;
  21111. begin
  21112. pTDefRegMap(@Self)^.&set := $00000004;
  21113. end;
  21114. procedure TPORTB_LATB.clearLATB2; inline;
  21115. begin
  21116. pTDefRegMap(@Self)^.clr := $00000004;
  21117. end;
  21118. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  21119. begin
  21120. if thebits = 0 then
  21121. pTDefRegMap(@Self)^.clr := $00000004
  21122. else
  21123. pTDefRegMap(@Self)^.&set := $00000004;
  21124. end;
  21125. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  21126. begin
  21127. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21128. end;
  21129. procedure TPORTB_LATB.setLATB3; inline;
  21130. begin
  21131. pTDefRegMap(@Self)^.&set := $00000008;
  21132. end;
  21133. procedure TPORTB_LATB.clearLATB3; inline;
  21134. begin
  21135. pTDefRegMap(@Self)^.clr := $00000008;
  21136. end;
  21137. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  21138. begin
  21139. if thebits = 0 then
  21140. pTDefRegMap(@Self)^.clr := $00000008
  21141. else
  21142. pTDefRegMap(@Self)^.&set := $00000008;
  21143. end;
  21144. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  21145. begin
  21146. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21147. end;
  21148. procedure TPORTB_LATB.setLATB4; inline;
  21149. begin
  21150. pTDefRegMap(@Self)^.&set := $00000010;
  21151. end;
  21152. procedure TPORTB_LATB.clearLATB4; inline;
  21153. begin
  21154. pTDefRegMap(@Self)^.clr := $00000010;
  21155. end;
  21156. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  21157. begin
  21158. if thebits = 0 then
  21159. pTDefRegMap(@Self)^.clr := $00000010
  21160. else
  21161. pTDefRegMap(@Self)^.&set := $00000010;
  21162. end;
  21163. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  21164. begin
  21165. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21166. end;
  21167. procedure TPORTB_LATB.setLATB5; inline;
  21168. begin
  21169. pTDefRegMap(@Self)^.&set := $00000020;
  21170. end;
  21171. procedure TPORTB_LATB.clearLATB5; inline;
  21172. begin
  21173. pTDefRegMap(@Self)^.clr := $00000020;
  21174. end;
  21175. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  21176. begin
  21177. if thebits = 0 then
  21178. pTDefRegMap(@Self)^.clr := $00000020
  21179. else
  21180. pTDefRegMap(@Self)^.&set := $00000020;
  21181. end;
  21182. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  21183. begin
  21184. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21185. end;
  21186. procedure TPORTB_LATB.setLATB6; inline;
  21187. begin
  21188. pTDefRegMap(@Self)^.&set := $00000040;
  21189. end;
  21190. procedure TPORTB_LATB.clearLATB6; inline;
  21191. begin
  21192. pTDefRegMap(@Self)^.clr := $00000040;
  21193. end;
  21194. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  21195. begin
  21196. if thebits = 0 then
  21197. pTDefRegMap(@Self)^.clr := $00000040
  21198. else
  21199. pTDefRegMap(@Self)^.&set := $00000040;
  21200. end;
  21201. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  21202. begin
  21203. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21204. end;
  21205. procedure TPORTB_LATB.setLATB7; inline;
  21206. begin
  21207. pTDefRegMap(@Self)^.&set := $00000080;
  21208. end;
  21209. procedure TPORTB_LATB.clearLATB7; inline;
  21210. begin
  21211. pTDefRegMap(@Self)^.clr := $00000080;
  21212. end;
  21213. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  21214. begin
  21215. if thebits = 0 then
  21216. pTDefRegMap(@Self)^.clr := $00000080
  21217. else
  21218. pTDefRegMap(@Self)^.&set := $00000080;
  21219. end;
  21220. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  21221. begin
  21222. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21223. end;
  21224. procedure TPORTB_LATB.setLATB8; inline;
  21225. begin
  21226. pTDefRegMap(@Self)^.&set := $00000100;
  21227. end;
  21228. procedure TPORTB_LATB.clearLATB8; inline;
  21229. begin
  21230. pTDefRegMap(@Self)^.clr := $00000100;
  21231. end;
  21232. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  21233. begin
  21234. if thebits = 0 then
  21235. pTDefRegMap(@Self)^.clr := $00000100
  21236. else
  21237. pTDefRegMap(@Self)^.&set := $00000100;
  21238. end;
  21239. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  21240. begin
  21241. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21242. end;
  21243. procedure TPORTB_LATB.setLATB9; inline;
  21244. begin
  21245. pTDefRegMap(@Self)^.&set := $00000200;
  21246. end;
  21247. procedure TPORTB_LATB.clearLATB9; inline;
  21248. begin
  21249. pTDefRegMap(@Self)^.clr := $00000200;
  21250. end;
  21251. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  21252. begin
  21253. if thebits = 0 then
  21254. pTDefRegMap(@Self)^.clr := $00000200
  21255. else
  21256. pTDefRegMap(@Self)^.&set := $00000200;
  21257. end;
  21258. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  21259. begin
  21260. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21261. end;
  21262. procedure TPORTB_LATB.setLATB10; inline;
  21263. begin
  21264. pTDefRegMap(@Self)^.&set := $00000400;
  21265. end;
  21266. procedure TPORTB_LATB.clearLATB10; inline;
  21267. begin
  21268. pTDefRegMap(@Self)^.clr := $00000400;
  21269. end;
  21270. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  21271. begin
  21272. if thebits = 0 then
  21273. pTDefRegMap(@Self)^.clr := $00000400
  21274. else
  21275. pTDefRegMap(@Self)^.&set := $00000400;
  21276. end;
  21277. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  21278. begin
  21279. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21280. end;
  21281. procedure TPORTB_LATB.setLATB11; inline;
  21282. begin
  21283. pTDefRegMap(@Self)^.&set := $00000800;
  21284. end;
  21285. procedure TPORTB_LATB.clearLATB11; inline;
  21286. begin
  21287. pTDefRegMap(@Self)^.clr := $00000800;
  21288. end;
  21289. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  21290. begin
  21291. if thebits = 0 then
  21292. pTDefRegMap(@Self)^.clr := $00000800
  21293. else
  21294. pTDefRegMap(@Self)^.&set := $00000800;
  21295. end;
  21296. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  21297. begin
  21298. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21299. end;
  21300. procedure TPORTB_LATB.setLATB12; inline;
  21301. begin
  21302. pTDefRegMap(@Self)^.&set := $00001000;
  21303. end;
  21304. procedure TPORTB_LATB.clearLATB12; inline;
  21305. begin
  21306. pTDefRegMap(@Self)^.clr := $00001000;
  21307. end;
  21308. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  21309. begin
  21310. if thebits = 0 then
  21311. pTDefRegMap(@Self)^.clr := $00001000
  21312. else
  21313. pTDefRegMap(@Self)^.&set := $00001000;
  21314. end;
  21315. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  21316. begin
  21317. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21318. end;
  21319. procedure TPORTB_LATB.setLATB13; inline;
  21320. begin
  21321. pTDefRegMap(@Self)^.&set := $00002000;
  21322. end;
  21323. procedure TPORTB_LATB.clearLATB13; inline;
  21324. begin
  21325. pTDefRegMap(@Self)^.clr := $00002000;
  21326. end;
  21327. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  21328. begin
  21329. if thebits = 0 then
  21330. pTDefRegMap(@Self)^.clr := $00002000
  21331. else
  21332. pTDefRegMap(@Self)^.&set := $00002000;
  21333. end;
  21334. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  21335. begin
  21336. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21337. end;
  21338. procedure TPORTB_LATB.setLATB14; inline;
  21339. begin
  21340. pTDefRegMap(@Self)^.&set := $00004000;
  21341. end;
  21342. procedure TPORTB_LATB.clearLATB14; inline;
  21343. begin
  21344. pTDefRegMap(@Self)^.clr := $00004000;
  21345. end;
  21346. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  21347. begin
  21348. if thebits = 0 then
  21349. pTDefRegMap(@Self)^.clr := $00004000
  21350. else
  21351. pTDefRegMap(@Self)^.&set := $00004000;
  21352. end;
  21353. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  21354. begin
  21355. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21356. end;
  21357. procedure TPORTB_LATB.setLATB15; inline;
  21358. begin
  21359. pTDefRegMap(@Self)^.&set := $00008000;
  21360. end;
  21361. procedure TPORTB_LATB.clearLATB15; inline;
  21362. begin
  21363. pTDefRegMap(@Self)^.clr := $00008000;
  21364. end;
  21365. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  21366. begin
  21367. if thebits = 0 then
  21368. pTDefRegMap(@Self)^.clr := $00008000
  21369. else
  21370. pTDefRegMap(@Self)^.&set := $00008000;
  21371. end;
  21372. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  21373. begin
  21374. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21375. end;
  21376. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  21377. begin
  21378. pTDefRegMap(@Self)^.val := thebits;
  21379. end;
  21380. function TPORTB_LATB.getw : TBits_32; inline;
  21381. begin
  21382. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21383. end;
  21384. procedure TPORTB_ODCB.setODCB0; inline;
  21385. begin
  21386. pTDefRegMap(@Self)^.&set := $00000001;
  21387. end;
  21388. procedure TPORTB_ODCB.clearODCB0; inline;
  21389. begin
  21390. pTDefRegMap(@Self)^.clr := $00000001;
  21391. end;
  21392. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  21393. begin
  21394. if thebits = 0 then
  21395. pTDefRegMap(@Self)^.clr := $00000001
  21396. else
  21397. pTDefRegMap(@Self)^.&set := $00000001;
  21398. end;
  21399. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  21400. begin
  21401. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21402. end;
  21403. procedure TPORTB_ODCB.setODCB1; inline;
  21404. begin
  21405. pTDefRegMap(@Self)^.&set := $00000002;
  21406. end;
  21407. procedure TPORTB_ODCB.clearODCB1; inline;
  21408. begin
  21409. pTDefRegMap(@Self)^.clr := $00000002;
  21410. end;
  21411. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  21412. begin
  21413. if thebits = 0 then
  21414. pTDefRegMap(@Self)^.clr := $00000002
  21415. else
  21416. pTDefRegMap(@Self)^.&set := $00000002;
  21417. end;
  21418. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  21419. begin
  21420. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21421. end;
  21422. procedure TPORTB_ODCB.setODCB2; inline;
  21423. begin
  21424. pTDefRegMap(@Self)^.&set := $00000004;
  21425. end;
  21426. procedure TPORTB_ODCB.clearODCB2; inline;
  21427. begin
  21428. pTDefRegMap(@Self)^.clr := $00000004;
  21429. end;
  21430. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  21431. begin
  21432. if thebits = 0 then
  21433. pTDefRegMap(@Self)^.clr := $00000004
  21434. else
  21435. pTDefRegMap(@Self)^.&set := $00000004;
  21436. end;
  21437. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  21438. begin
  21439. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21440. end;
  21441. procedure TPORTB_ODCB.setODCB3; inline;
  21442. begin
  21443. pTDefRegMap(@Self)^.&set := $00000008;
  21444. end;
  21445. procedure TPORTB_ODCB.clearODCB3; inline;
  21446. begin
  21447. pTDefRegMap(@Self)^.clr := $00000008;
  21448. end;
  21449. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  21450. begin
  21451. if thebits = 0 then
  21452. pTDefRegMap(@Self)^.clr := $00000008
  21453. else
  21454. pTDefRegMap(@Self)^.&set := $00000008;
  21455. end;
  21456. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  21457. begin
  21458. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21459. end;
  21460. procedure TPORTB_ODCB.setODCB4; inline;
  21461. begin
  21462. pTDefRegMap(@Self)^.&set := $00000010;
  21463. end;
  21464. procedure TPORTB_ODCB.clearODCB4; inline;
  21465. begin
  21466. pTDefRegMap(@Self)^.clr := $00000010;
  21467. end;
  21468. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  21469. begin
  21470. if thebits = 0 then
  21471. pTDefRegMap(@Self)^.clr := $00000010
  21472. else
  21473. pTDefRegMap(@Self)^.&set := $00000010;
  21474. end;
  21475. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  21476. begin
  21477. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21478. end;
  21479. procedure TPORTB_ODCB.setODCB5; inline;
  21480. begin
  21481. pTDefRegMap(@Self)^.&set := $00000020;
  21482. end;
  21483. procedure TPORTB_ODCB.clearODCB5; inline;
  21484. begin
  21485. pTDefRegMap(@Self)^.clr := $00000020;
  21486. end;
  21487. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  21488. begin
  21489. if thebits = 0 then
  21490. pTDefRegMap(@Self)^.clr := $00000020
  21491. else
  21492. pTDefRegMap(@Self)^.&set := $00000020;
  21493. end;
  21494. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  21495. begin
  21496. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21497. end;
  21498. procedure TPORTB_ODCB.setODCB6; inline;
  21499. begin
  21500. pTDefRegMap(@Self)^.&set := $00000040;
  21501. end;
  21502. procedure TPORTB_ODCB.clearODCB6; inline;
  21503. begin
  21504. pTDefRegMap(@Self)^.clr := $00000040;
  21505. end;
  21506. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  21507. begin
  21508. if thebits = 0 then
  21509. pTDefRegMap(@Self)^.clr := $00000040
  21510. else
  21511. pTDefRegMap(@Self)^.&set := $00000040;
  21512. end;
  21513. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  21514. begin
  21515. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21516. end;
  21517. procedure TPORTB_ODCB.setODCB7; inline;
  21518. begin
  21519. pTDefRegMap(@Self)^.&set := $00000080;
  21520. end;
  21521. procedure TPORTB_ODCB.clearODCB7; inline;
  21522. begin
  21523. pTDefRegMap(@Self)^.clr := $00000080;
  21524. end;
  21525. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  21526. begin
  21527. if thebits = 0 then
  21528. pTDefRegMap(@Self)^.clr := $00000080
  21529. else
  21530. pTDefRegMap(@Self)^.&set := $00000080;
  21531. end;
  21532. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  21533. begin
  21534. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21535. end;
  21536. procedure TPORTB_ODCB.setODCB8; inline;
  21537. begin
  21538. pTDefRegMap(@Self)^.&set := $00000100;
  21539. end;
  21540. procedure TPORTB_ODCB.clearODCB8; inline;
  21541. begin
  21542. pTDefRegMap(@Self)^.clr := $00000100;
  21543. end;
  21544. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  21545. begin
  21546. if thebits = 0 then
  21547. pTDefRegMap(@Self)^.clr := $00000100
  21548. else
  21549. pTDefRegMap(@Self)^.&set := $00000100;
  21550. end;
  21551. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  21552. begin
  21553. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21554. end;
  21555. procedure TPORTB_ODCB.setODCB9; inline;
  21556. begin
  21557. pTDefRegMap(@Self)^.&set := $00000200;
  21558. end;
  21559. procedure TPORTB_ODCB.clearODCB9; inline;
  21560. begin
  21561. pTDefRegMap(@Self)^.clr := $00000200;
  21562. end;
  21563. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  21564. begin
  21565. if thebits = 0 then
  21566. pTDefRegMap(@Self)^.clr := $00000200
  21567. else
  21568. pTDefRegMap(@Self)^.&set := $00000200;
  21569. end;
  21570. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  21571. begin
  21572. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21573. end;
  21574. procedure TPORTB_ODCB.setODCB10; inline;
  21575. begin
  21576. pTDefRegMap(@Self)^.&set := $00000400;
  21577. end;
  21578. procedure TPORTB_ODCB.clearODCB10; inline;
  21579. begin
  21580. pTDefRegMap(@Self)^.clr := $00000400;
  21581. end;
  21582. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  21583. begin
  21584. if thebits = 0 then
  21585. pTDefRegMap(@Self)^.clr := $00000400
  21586. else
  21587. pTDefRegMap(@Self)^.&set := $00000400;
  21588. end;
  21589. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  21590. begin
  21591. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21592. end;
  21593. procedure TPORTB_ODCB.setODCB11; inline;
  21594. begin
  21595. pTDefRegMap(@Self)^.&set := $00000800;
  21596. end;
  21597. procedure TPORTB_ODCB.clearODCB11; inline;
  21598. begin
  21599. pTDefRegMap(@Self)^.clr := $00000800;
  21600. end;
  21601. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  21602. begin
  21603. if thebits = 0 then
  21604. pTDefRegMap(@Self)^.clr := $00000800
  21605. else
  21606. pTDefRegMap(@Self)^.&set := $00000800;
  21607. end;
  21608. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  21609. begin
  21610. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21611. end;
  21612. procedure TPORTB_ODCB.setODCB12; inline;
  21613. begin
  21614. pTDefRegMap(@Self)^.&set := $00001000;
  21615. end;
  21616. procedure TPORTB_ODCB.clearODCB12; inline;
  21617. begin
  21618. pTDefRegMap(@Self)^.clr := $00001000;
  21619. end;
  21620. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  21621. begin
  21622. if thebits = 0 then
  21623. pTDefRegMap(@Self)^.clr := $00001000
  21624. else
  21625. pTDefRegMap(@Self)^.&set := $00001000;
  21626. end;
  21627. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  21628. begin
  21629. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21630. end;
  21631. procedure TPORTB_ODCB.setODCB13; inline;
  21632. begin
  21633. pTDefRegMap(@Self)^.&set := $00002000;
  21634. end;
  21635. procedure TPORTB_ODCB.clearODCB13; inline;
  21636. begin
  21637. pTDefRegMap(@Self)^.clr := $00002000;
  21638. end;
  21639. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  21640. begin
  21641. if thebits = 0 then
  21642. pTDefRegMap(@Self)^.clr := $00002000
  21643. else
  21644. pTDefRegMap(@Self)^.&set := $00002000;
  21645. end;
  21646. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  21647. begin
  21648. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21649. end;
  21650. procedure TPORTB_ODCB.setODCB14; inline;
  21651. begin
  21652. pTDefRegMap(@Self)^.&set := $00004000;
  21653. end;
  21654. procedure TPORTB_ODCB.clearODCB14; inline;
  21655. begin
  21656. pTDefRegMap(@Self)^.clr := $00004000;
  21657. end;
  21658. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  21659. begin
  21660. if thebits = 0 then
  21661. pTDefRegMap(@Self)^.clr := $00004000
  21662. else
  21663. pTDefRegMap(@Self)^.&set := $00004000;
  21664. end;
  21665. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  21666. begin
  21667. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21668. end;
  21669. procedure TPORTB_ODCB.setODCB15; inline;
  21670. begin
  21671. pTDefRegMap(@Self)^.&set := $00008000;
  21672. end;
  21673. procedure TPORTB_ODCB.clearODCB15; inline;
  21674. begin
  21675. pTDefRegMap(@Self)^.clr := $00008000;
  21676. end;
  21677. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  21678. begin
  21679. if thebits = 0 then
  21680. pTDefRegMap(@Self)^.clr := $00008000
  21681. else
  21682. pTDefRegMap(@Self)^.&set := $00008000;
  21683. end;
  21684. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  21685. begin
  21686. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21687. end;
  21688. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  21689. begin
  21690. pTDefRegMap(@Self)^.val := thebits;
  21691. end;
  21692. function TPORTB_ODCB.getw : TBits_32; inline;
  21693. begin
  21694. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21695. end;
  21696. procedure TPORTC_TRISC.setTRISC1; inline;
  21697. begin
  21698. pTDefRegMap(@Self)^.&set := $00000002;
  21699. end;
  21700. procedure TPORTC_TRISC.clearTRISC1; inline;
  21701. begin
  21702. pTDefRegMap(@Self)^.clr := $00000002;
  21703. end;
  21704. procedure TPORTC_TRISC.setTRISC1(thebits : TBits_1); inline;
  21705. begin
  21706. if thebits = 0 then
  21707. pTDefRegMap(@Self)^.clr := $00000002
  21708. else
  21709. pTDefRegMap(@Self)^.&set := $00000002;
  21710. end;
  21711. function TPORTC_TRISC.getTRISC1 : TBits_1; inline;
  21712. begin
  21713. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21714. end;
  21715. procedure TPORTC_TRISC.setTRISC2; inline;
  21716. begin
  21717. pTDefRegMap(@Self)^.&set := $00000004;
  21718. end;
  21719. procedure TPORTC_TRISC.clearTRISC2; inline;
  21720. begin
  21721. pTDefRegMap(@Self)^.clr := $00000004;
  21722. end;
  21723. procedure TPORTC_TRISC.setTRISC2(thebits : TBits_1); inline;
  21724. begin
  21725. if thebits = 0 then
  21726. pTDefRegMap(@Self)^.clr := $00000004
  21727. else
  21728. pTDefRegMap(@Self)^.&set := $00000004;
  21729. end;
  21730. function TPORTC_TRISC.getTRISC2 : TBits_1; inline;
  21731. begin
  21732. getTRISC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21733. end;
  21734. procedure TPORTC_TRISC.setTRISC3; inline;
  21735. begin
  21736. pTDefRegMap(@Self)^.&set := $00000008;
  21737. end;
  21738. procedure TPORTC_TRISC.clearTRISC3; inline;
  21739. begin
  21740. pTDefRegMap(@Self)^.clr := $00000008;
  21741. end;
  21742. procedure TPORTC_TRISC.setTRISC3(thebits : TBits_1); inline;
  21743. begin
  21744. if thebits = 0 then
  21745. pTDefRegMap(@Self)^.clr := $00000008
  21746. else
  21747. pTDefRegMap(@Self)^.&set := $00000008;
  21748. end;
  21749. function TPORTC_TRISC.getTRISC3 : TBits_1; inline;
  21750. begin
  21751. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21752. end;
  21753. procedure TPORTC_TRISC.setTRISC4; inline;
  21754. begin
  21755. pTDefRegMap(@Self)^.&set := $00000010;
  21756. end;
  21757. procedure TPORTC_TRISC.clearTRISC4; inline;
  21758. begin
  21759. pTDefRegMap(@Self)^.clr := $00000010;
  21760. end;
  21761. procedure TPORTC_TRISC.setTRISC4(thebits : TBits_1); inline;
  21762. begin
  21763. if thebits = 0 then
  21764. pTDefRegMap(@Self)^.clr := $00000010
  21765. else
  21766. pTDefRegMap(@Self)^.&set := $00000010;
  21767. end;
  21768. function TPORTC_TRISC.getTRISC4 : TBits_1; inline;
  21769. begin
  21770. getTRISC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21771. end;
  21772. procedure TPORTC_TRISC.setTRISC12; inline;
  21773. begin
  21774. pTDefRegMap(@Self)^.&set := $00001000;
  21775. end;
  21776. procedure TPORTC_TRISC.clearTRISC12; inline;
  21777. begin
  21778. pTDefRegMap(@Self)^.clr := $00001000;
  21779. end;
  21780. procedure TPORTC_TRISC.setTRISC12(thebits : TBits_1); inline;
  21781. begin
  21782. if thebits = 0 then
  21783. pTDefRegMap(@Self)^.clr := $00001000
  21784. else
  21785. pTDefRegMap(@Self)^.&set := $00001000;
  21786. end;
  21787. function TPORTC_TRISC.getTRISC12 : TBits_1; inline;
  21788. begin
  21789. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21790. end;
  21791. procedure TPORTC_TRISC.setTRISC13; inline;
  21792. begin
  21793. pTDefRegMap(@Self)^.&set := $00002000;
  21794. end;
  21795. procedure TPORTC_TRISC.clearTRISC13; inline;
  21796. begin
  21797. pTDefRegMap(@Self)^.clr := $00002000;
  21798. end;
  21799. procedure TPORTC_TRISC.setTRISC13(thebits : TBits_1); inline;
  21800. begin
  21801. if thebits = 0 then
  21802. pTDefRegMap(@Self)^.clr := $00002000
  21803. else
  21804. pTDefRegMap(@Self)^.&set := $00002000;
  21805. end;
  21806. function TPORTC_TRISC.getTRISC13 : TBits_1; inline;
  21807. begin
  21808. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21809. end;
  21810. procedure TPORTC_TRISC.setTRISC14; inline;
  21811. begin
  21812. pTDefRegMap(@Self)^.&set := $00004000;
  21813. end;
  21814. procedure TPORTC_TRISC.clearTRISC14; inline;
  21815. begin
  21816. pTDefRegMap(@Self)^.clr := $00004000;
  21817. end;
  21818. procedure TPORTC_TRISC.setTRISC14(thebits : TBits_1); inline;
  21819. begin
  21820. if thebits = 0 then
  21821. pTDefRegMap(@Self)^.clr := $00004000
  21822. else
  21823. pTDefRegMap(@Self)^.&set := $00004000;
  21824. end;
  21825. function TPORTC_TRISC.getTRISC14 : TBits_1; inline;
  21826. begin
  21827. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21828. end;
  21829. procedure TPORTC_TRISC.setTRISC15; inline;
  21830. begin
  21831. pTDefRegMap(@Self)^.&set := $00008000;
  21832. end;
  21833. procedure TPORTC_TRISC.clearTRISC15; inline;
  21834. begin
  21835. pTDefRegMap(@Self)^.clr := $00008000;
  21836. end;
  21837. procedure TPORTC_TRISC.setTRISC15(thebits : TBits_1); inline;
  21838. begin
  21839. if thebits = 0 then
  21840. pTDefRegMap(@Self)^.clr := $00008000
  21841. else
  21842. pTDefRegMap(@Self)^.&set := $00008000;
  21843. end;
  21844. function TPORTC_TRISC.getTRISC15 : TBits_1; inline;
  21845. begin
  21846. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21847. end;
  21848. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  21849. begin
  21850. pTDefRegMap(@Self)^.val := thebits;
  21851. end;
  21852. function TPORTC_TRISC.getw : TBits_32; inline;
  21853. begin
  21854. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21855. end;
  21856. procedure TPORTC_PORTC.setRC1; inline;
  21857. begin
  21858. pTDefRegMap(@Self)^.&set := $00000002;
  21859. end;
  21860. procedure TPORTC_PORTC.clearRC1; inline;
  21861. begin
  21862. pTDefRegMap(@Self)^.clr := $00000002;
  21863. end;
  21864. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  21865. begin
  21866. if thebits = 0 then
  21867. pTDefRegMap(@Self)^.clr := $00000002
  21868. else
  21869. pTDefRegMap(@Self)^.&set := $00000002;
  21870. end;
  21871. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  21872. begin
  21873. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21874. end;
  21875. procedure TPORTC_PORTC.setRC2; inline;
  21876. begin
  21877. pTDefRegMap(@Self)^.&set := $00000004;
  21878. end;
  21879. procedure TPORTC_PORTC.clearRC2; inline;
  21880. begin
  21881. pTDefRegMap(@Self)^.clr := $00000004;
  21882. end;
  21883. procedure TPORTC_PORTC.setRC2(thebits : TBits_1); inline;
  21884. begin
  21885. if thebits = 0 then
  21886. pTDefRegMap(@Self)^.clr := $00000004
  21887. else
  21888. pTDefRegMap(@Self)^.&set := $00000004;
  21889. end;
  21890. function TPORTC_PORTC.getRC2 : TBits_1; inline;
  21891. begin
  21892. getRC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21893. end;
  21894. procedure TPORTC_PORTC.setRC3; inline;
  21895. begin
  21896. pTDefRegMap(@Self)^.&set := $00000008;
  21897. end;
  21898. procedure TPORTC_PORTC.clearRC3; inline;
  21899. begin
  21900. pTDefRegMap(@Self)^.clr := $00000008;
  21901. end;
  21902. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  21903. begin
  21904. if thebits = 0 then
  21905. pTDefRegMap(@Self)^.clr := $00000008
  21906. else
  21907. pTDefRegMap(@Self)^.&set := $00000008;
  21908. end;
  21909. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  21910. begin
  21911. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21912. end;
  21913. procedure TPORTC_PORTC.setRC4; inline;
  21914. begin
  21915. pTDefRegMap(@Self)^.&set := $00000010;
  21916. end;
  21917. procedure TPORTC_PORTC.clearRC4; inline;
  21918. begin
  21919. pTDefRegMap(@Self)^.clr := $00000010;
  21920. end;
  21921. procedure TPORTC_PORTC.setRC4(thebits : TBits_1); inline;
  21922. begin
  21923. if thebits = 0 then
  21924. pTDefRegMap(@Self)^.clr := $00000010
  21925. else
  21926. pTDefRegMap(@Self)^.&set := $00000010;
  21927. end;
  21928. function TPORTC_PORTC.getRC4 : TBits_1; inline;
  21929. begin
  21930. getRC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21931. end;
  21932. procedure TPORTC_PORTC.setRC12; inline;
  21933. begin
  21934. pTDefRegMap(@Self)^.&set := $00001000;
  21935. end;
  21936. procedure TPORTC_PORTC.clearRC12; inline;
  21937. begin
  21938. pTDefRegMap(@Self)^.clr := $00001000;
  21939. end;
  21940. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  21941. begin
  21942. if thebits = 0 then
  21943. pTDefRegMap(@Self)^.clr := $00001000
  21944. else
  21945. pTDefRegMap(@Self)^.&set := $00001000;
  21946. end;
  21947. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  21948. begin
  21949. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21950. end;
  21951. procedure TPORTC_PORTC.setRC13; inline;
  21952. begin
  21953. pTDefRegMap(@Self)^.&set := $00002000;
  21954. end;
  21955. procedure TPORTC_PORTC.clearRC13; inline;
  21956. begin
  21957. pTDefRegMap(@Self)^.clr := $00002000;
  21958. end;
  21959. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  21960. begin
  21961. if thebits = 0 then
  21962. pTDefRegMap(@Self)^.clr := $00002000
  21963. else
  21964. pTDefRegMap(@Self)^.&set := $00002000;
  21965. end;
  21966. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  21967. begin
  21968. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21969. end;
  21970. procedure TPORTC_PORTC.setRC14; inline;
  21971. begin
  21972. pTDefRegMap(@Self)^.&set := $00004000;
  21973. end;
  21974. procedure TPORTC_PORTC.clearRC14; inline;
  21975. begin
  21976. pTDefRegMap(@Self)^.clr := $00004000;
  21977. end;
  21978. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  21979. begin
  21980. if thebits = 0 then
  21981. pTDefRegMap(@Self)^.clr := $00004000
  21982. else
  21983. pTDefRegMap(@Self)^.&set := $00004000;
  21984. end;
  21985. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  21986. begin
  21987. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21988. end;
  21989. procedure TPORTC_PORTC.setRC15; inline;
  21990. begin
  21991. pTDefRegMap(@Self)^.&set := $00008000;
  21992. end;
  21993. procedure TPORTC_PORTC.clearRC15; inline;
  21994. begin
  21995. pTDefRegMap(@Self)^.clr := $00008000;
  21996. end;
  21997. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  21998. begin
  21999. if thebits = 0 then
  22000. pTDefRegMap(@Self)^.clr := $00008000
  22001. else
  22002. pTDefRegMap(@Self)^.&set := $00008000;
  22003. end;
  22004. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  22005. begin
  22006. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22007. end;
  22008. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  22009. begin
  22010. pTDefRegMap(@Self)^.val := thebits;
  22011. end;
  22012. function TPORTC_PORTC.getw : TBits_32; inline;
  22013. begin
  22014. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22015. end;
  22016. procedure TPORTC_LATC.setLATC1; inline;
  22017. begin
  22018. pTDefRegMap(@Self)^.&set := $00000002;
  22019. end;
  22020. procedure TPORTC_LATC.clearLATC1; inline;
  22021. begin
  22022. pTDefRegMap(@Self)^.clr := $00000002;
  22023. end;
  22024. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  22025. begin
  22026. if thebits = 0 then
  22027. pTDefRegMap(@Self)^.clr := $00000002
  22028. else
  22029. pTDefRegMap(@Self)^.&set := $00000002;
  22030. end;
  22031. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  22032. begin
  22033. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22034. end;
  22035. procedure TPORTC_LATC.setLATC2; inline;
  22036. begin
  22037. pTDefRegMap(@Self)^.&set := $00000004;
  22038. end;
  22039. procedure TPORTC_LATC.clearLATC2; inline;
  22040. begin
  22041. pTDefRegMap(@Self)^.clr := $00000004;
  22042. end;
  22043. procedure TPORTC_LATC.setLATC2(thebits : TBits_1); inline;
  22044. begin
  22045. if thebits = 0 then
  22046. pTDefRegMap(@Self)^.clr := $00000004
  22047. else
  22048. pTDefRegMap(@Self)^.&set := $00000004;
  22049. end;
  22050. function TPORTC_LATC.getLATC2 : TBits_1; inline;
  22051. begin
  22052. getLATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22053. end;
  22054. procedure TPORTC_LATC.setLATC3; inline;
  22055. begin
  22056. pTDefRegMap(@Self)^.&set := $00000008;
  22057. end;
  22058. procedure TPORTC_LATC.clearLATC3; inline;
  22059. begin
  22060. pTDefRegMap(@Self)^.clr := $00000008;
  22061. end;
  22062. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  22063. begin
  22064. if thebits = 0 then
  22065. pTDefRegMap(@Self)^.clr := $00000008
  22066. else
  22067. pTDefRegMap(@Self)^.&set := $00000008;
  22068. end;
  22069. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  22070. begin
  22071. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22072. end;
  22073. procedure TPORTC_LATC.setLATC4; inline;
  22074. begin
  22075. pTDefRegMap(@Self)^.&set := $00000010;
  22076. end;
  22077. procedure TPORTC_LATC.clearLATC4; inline;
  22078. begin
  22079. pTDefRegMap(@Self)^.clr := $00000010;
  22080. end;
  22081. procedure TPORTC_LATC.setLATC4(thebits : TBits_1); inline;
  22082. begin
  22083. if thebits = 0 then
  22084. pTDefRegMap(@Self)^.clr := $00000010
  22085. else
  22086. pTDefRegMap(@Self)^.&set := $00000010;
  22087. end;
  22088. function TPORTC_LATC.getLATC4 : TBits_1; inline;
  22089. begin
  22090. getLATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22091. end;
  22092. procedure TPORTC_LATC.setLATC12; inline;
  22093. begin
  22094. pTDefRegMap(@Self)^.&set := $00001000;
  22095. end;
  22096. procedure TPORTC_LATC.clearLATC12; inline;
  22097. begin
  22098. pTDefRegMap(@Self)^.clr := $00001000;
  22099. end;
  22100. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  22101. begin
  22102. if thebits = 0 then
  22103. pTDefRegMap(@Self)^.clr := $00001000
  22104. else
  22105. pTDefRegMap(@Self)^.&set := $00001000;
  22106. end;
  22107. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  22108. begin
  22109. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22110. end;
  22111. procedure TPORTC_LATC.setLATC13; inline;
  22112. begin
  22113. pTDefRegMap(@Self)^.&set := $00002000;
  22114. end;
  22115. procedure TPORTC_LATC.clearLATC13; inline;
  22116. begin
  22117. pTDefRegMap(@Self)^.clr := $00002000;
  22118. end;
  22119. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  22120. begin
  22121. if thebits = 0 then
  22122. pTDefRegMap(@Self)^.clr := $00002000
  22123. else
  22124. pTDefRegMap(@Self)^.&set := $00002000;
  22125. end;
  22126. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  22127. begin
  22128. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22129. end;
  22130. procedure TPORTC_LATC.setLATC14; inline;
  22131. begin
  22132. pTDefRegMap(@Self)^.&set := $00004000;
  22133. end;
  22134. procedure TPORTC_LATC.clearLATC14; inline;
  22135. begin
  22136. pTDefRegMap(@Self)^.clr := $00004000;
  22137. end;
  22138. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  22139. begin
  22140. if thebits = 0 then
  22141. pTDefRegMap(@Self)^.clr := $00004000
  22142. else
  22143. pTDefRegMap(@Self)^.&set := $00004000;
  22144. end;
  22145. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  22146. begin
  22147. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22148. end;
  22149. procedure TPORTC_LATC.setLATC15; inline;
  22150. begin
  22151. pTDefRegMap(@Self)^.&set := $00008000;
  22152. end;
  22153. procedure TPORTC_LATC.clearLATC15; inline;
  22154. begin
  22155. pTDefRegMap(@Self)^.clr := $00008000;
  22156. end;
  22157. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  22158. begin
  22159. if thebits = 0 then
  22160. pTDefRegMap(@Self)^.clr := $00008000
  22161. else
  22162. pTDefRegMap(@Self)^.&set := $00008000;
  22163. end;
  22164. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  22165. begin
  22166. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22167. end;
  22168. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  22169. begin
  22170. pTDefRegMap(@Self)^.val := thebits;
  22171. end;
  22172. function TPORTC_LATC.getw : TBits_32; inline;
  22173. begin
  22174. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22175. end;
  22176. procedure TPORTC_ODCC.setODCC1; inline;
  22177. begin
  22178. pTDefRegMap(@Self)^.&set := $00000002;
  22179. end;
  22180. procedure TPORTC_ODCC.clearODCC1; inline;
  22181. begin
  22182. pTDefRegMap(@Self)^.clr := $00000002;
  22183. end;
  22184. procedure TPORTC_ODCC.setODCC1(thebits : TBits_1); inline;
  22185. begin
  22186. if thebits = 0 then
  22187. pTDefRegMap(@Self)^.clr := $00000002
  22188. else
  22189. pTDefRegMap(@Self)^.&set := $00000002;
  22190. end;
  22191. function TPORTC_ODCC.getODCC1 : TBits_1; inline;
  22192. begin
  22193. getODCC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22194. end;
  22195. procedure TPORTC_ODCC.setODCC2; inline;
  22196. begin
  22197. pTDefRegMap(@Self)^.&set := $00000004;
  22198. end;
  22199. procedure TPORTC_ODCC.clearODCC2; inline;
  22200. begin
  22201. pTDefRegMap(@Self)^.clr := $00000004;
  22202. end;
  22203. procedure TPORTC_ODCC.setODCC2(thebits : TBits_1); inline;
  22204. begin
  22205. if thebits = 0 then
  22206. pTDefRegMap(@Self)^.clr := $00000004
  22207. else
  22208. pTDefRegMap(@Self)^.&set := $00000004;
  22209. end;
  22210. function TPORTC_ODCC.getODCC2 : TBits_1; inline;
  22211. begin
  22212. getODCC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22213. end;
  22214. procedure TPORTC_ODCC.setODCC3; inline;
  22215. begin
  22216. pTDefRegMap(@Self)^.&set := $00000008;
  22217. end;
  22218. procedure TPORTC_ODCC.clearODCC3; inline;
  22219. begin
  22220. pTDefRegMap(@Self)^.clr := $00000008;
  22221. end;
  22222. procedure TPORTC_ODCC.setODCC3(thebits : TBits_1); inline;
  22223. begin
  22224. if thebits = 0 then
  22225. pTDefRegMap(@Self)^.clr := $00000008
  22226. else
  22227. pTDefRegMap(@Self)^.&set := $00000008;
  22228. end;
  22229. function TPORTC_ODCC.getODCC3 : TBits_1; inline;
  22230. begin
  22231. getODCC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22232. end;
  22233. procedure TPORTC_ODCC.setODCC4; inline;
  22234. begin
  22235. pTDefRegMap(@Self)^.&set := $00000010;
  22236. end;
  22237. procedure TPORTC_ODCC.clearODCC4; inline;
  22238. begin
  22239. pTDefRegMap(@Self)^.clr := $00000010;
  22240. end;
  22241. procedure TPORTC_ODCC.setODCC4(thebits : TBits_1); inline;
  22242. begin
  22243. if thebits = 0 then
  22244. pTDefRegMap(@Self)^.clr := $00000010
  22245. else
  22246. pTDefRegMap(@Self)^.&set := $00000010;
  22247. end;
  22248. function TPORTC_ODCC.getODCC4 : TBits_1; inline;
  22249. begin
  22250. getODCC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22251. end;
  22252. procedure TPORTC_ODCC.setODCC12; inline;
  22253. begin
  22254. pTDefRegMap(@Self)^.&set := $00001000;
  22255. end;
  22256. procedure TPORTC_ODCC.clearODCC12; inline;
  22257. begin
  22258. pTDefRegMap(@Self)^.clr := $00001000;
  22259. end;
  22260. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  22261. begin
  22262. if thebits = 0 then
  22263. pTDefRegMap(@Self)^.clr := $00001000
  22264. else
  22265. pTDefRegMap(@Self)^.&set := $00001000;
  22266. end;
  22267. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  22268. begin
  22269. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22270. end;
  22271. procedure TPORTC_ODCC.setODCC13; inline;
  22272. begin
  22273. pTDefRegMap(@Self)^.&set := $00002000;
  22274. end;
  22275. procedure TPORTC_ODCC.clearODCC13; inline;
  22276. begin
  22277. pTDefRegMap(@Self)^.clr := $00002000;
  22278. end;
  22279. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  22280. begin
  22281. if thebits = 0 then
  22282. pTDefRegMap(@Self)^.clr := $00002000
  22283. else
  22284. pTDefRegMap(@Self)^.&set := $00002000;
  22285. end;
  22286. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  22287. begin
  22288. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22289. end;
  22290. procedure TPORTC_ODCC.setODCC14; inline;
  22291. begin
  22292. pTDefRegMap(@Self)^.&set := $00004000;
  22293. end;
  22294. procedure TPORTC_ODCC.clearODCC14; inline;
  22295. begin
  22296. pTDefRegMap(@Self)^.clr := $00004000;
  22297. end;
  22298. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  22299. begin
  22300. if thebits = 0 then
  22301. pTDefRegMap(@Self)^.clr := $00004000
  22302. else
  22303. pTDefRegMap(@Self)^.&set := $00004000;
  22304. end;
  22305. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  22306. begin
  22307. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22308. end;
  22309. procedure TPORTC_ODCC.setODCC15; inline;
  22310. begin
  22311. pTDefRegMap(@Self)^.&set := $00008000;
  22312. end;
  22313. procedure TPORTC_ODCC.clearODCC15; inline;
  22314. begin
  22315. pTDefRegMap(@Self)^.clr := $00008000;
  22316. end;
  22317. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  22318. begin
  22319. if thebits = 0 then
  22320. pTDefRegMap(@Self)^.clr := $00008000
  22321. else
  22322. pTDefRegMap(@Self)^.&set := $00008000;
  22323. end;
  22324. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  22325. begin
  22326. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22327. end;
  22328. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  22329. begin
  22330. pTDefRegMap(@Self)^.val := thebits;
  22331. end;
  22332. function TPORTC_ODCC.getw : TBits_32; inline;
  22333. begin
  22334. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22335. end;
  22336. procedure TPORTD_TRISD.setTRISD0; inline;
  22337. begin
  22338. pTDefRegMap(@Self)^.&set := $00000001;
  22339. end;
  22340. procedure TPORTD_TRISD.clearTRISD0; inline;
  22341. begin
  22342. pTDefRegMap(@Self)^.clr := $00000001;
  22343. end;
  22344. procedure TPORTD_TRISD.setTRISD0(thebits : TBits_1); inline;
  22345. begin
  22346. if thebits = 0 then
  22347. pTDefRegMap(@Self)^.clr := $00000001
  22348. else
  22349. pTDefRegMap(@Self)^.&set := $00000001;
  22350. end;
  22351. function TPORTD_TRISD.getTRISD0 : TBits_1; inline;
  22352. begin
  22353. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22354. end;
  22355. procedure TPORTD_TRISD.setTRISD1; inline;
  22356. begin
  22357. pTDefRegMap(@Self)^.&set := $00000002;
  22358. end;
  22359. procedure TPORTD_TRISD.clearTRISD1; inline;
  22360. begin
  22361. pTDefRegMap(@Self)^.clr := $00000002;
  22362. end;
  22363. procedure TPORTD_TRISD.setTRISD1(thebits : TBits_1); inline;
  22364. begin
  22365. if thebits = 0 then
  22366. pTDefRegMap(@Self)^.clr := $00000002
  22367. else
  22368. pTDefRegMap(@Self)^.&set := $00000002;
  22369. end;
  22370. function TPORTD_TRISD.getTRISD1 : TBits_1; inline;
  22371. begin
  22372. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22373. end;
  22374. procedure TPORTD_TRISD.setTRISD2; inline;
  22375. begin
  22376. pTDefRegMap(@Self)^.&set := $00000004;
  22377. end;
  22378. procedure TPORTD_TRISD.clearTRISD2; inline;
  22379. begin
  22380. pTDefRegMap(@Self)^.clr := $00000004;
  22381. end;
  22382. procedure TPORTD_TRISD.setTRISD2(thebits : TBits_1); inline;
  22383. begin
  22384. if thebits = 0 then
  22385. pTDefRegMap(@Self)^.clr := $00000004
  22386. else
  22387. pTDefRegMap(@Self)^.&set := $00000004;
  22388. end;
  22389. function TPORTD_TRISD.getTRISD2 : TBits_1; inline;
  22390. begin
  22391. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22392. end;
  22393. procedure TPORTD_TRISD.setTRISD3; inline;
  22394. begin
  22395. pTDefRegMap(@Self)^.&set := $00000008;
  22396. end;
  22397. procedure TPORTD_TRISD.clearTRISD3; inline;
  22398. begin
  22399. pTDefRegMap(@Self)^.clr := $00000008;
  22400. end;
  22401. procedure TPORTD_TRISD.setTRISD3(thebits : TBits_1); inline;
  22402. begin
  22403. if thebits = 0 then
  22404. pTDefRegMap(@Self)^.clr := $00000008
  22405. else
  22406. pTDefRegMap(@Self)^.&set := $00000008;
  22407. end;
  22408. function TPORTD_TRISD.getTRISD3 : TBits_1; inline;
  22409. begin
  22410. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22411. end;
  22412. procedure TPORTD_TRISD.setTRISD4; inline;
  22413. begin
  22414. pTDefRegMap(@Self)^.&set := $00000010;
  22415. end;
  22416. procedure TPORTD_TRISD.clearTRISD4; inline;
  22417. begin
  22418. pTDefRegMap(@Self)^.clr := $00000010;
  22419. end;
  22420. procedure TPORTD_TRISD.setTRISD4(thebits : TBits_1); inline;
  22421. begin
  22422. if thebits = 0 then
  22423. pTDefRegMap(@Self)^.clr := $00000010
  22424. else
  22425. pTDefRegMap(@Self)^.&set := $00000010;
  22426. end;
  22427. function TPORTD_TRISD.getTRISD4 : TBits_1; inline;
  22428. begin
  22429. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22430. end;
  22431. procedure TPORTD_TRISD.setTRISD5; inline;
  22432. begin
  22433. pTDefRegMap(@Self)^.&set := $00000020;
  22434. end;
  22435. procedure TPORTD_TRISD.clearTRISD5; inline;
  22436. begin
  22437. pTDefRegMap(@Self)^.clr := $00000020;
  22438. end;
  22439. procedure TPORTD_TRISD.setTRISD5(thebits : TBits_1); inline;
  22440. begin
  22441. if thebits = 0 then
  22442. pTDefRegMap(@Self)^.clr := $00000020
  22443. else
  22444. pTDefRegMap(@Self)^.&set := $00000020;
  22445. end;
  22446. function TPORTD_TRISD.getTRISD5 : TBits_1; inline;
  22447. begin
  22448. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22449. end;
  22450. procedure TPORTD_TRISD.setTRISD6; inline;
  22451. begin
  22452. pTDefRegMap(@Self)^.&set := $00000040;
  22453. end;
  22454. procedure TPORTD_TRISD.clearTRISD6; inline;
  22455. begin
  22456. pTDefRegMap(@Self)^.clr := $00000040;
  22457. end;
  22458. procedure TPORTD_TRISD.setTRISD6(thebits : TBits_1); inline;
  22459. begin
  22460. if thebits = 0 then
  22461. pTDefRegMap(@Self)^.clr := $00000040
  22462. else
  22463. pTDefRegMap(@Self)^.&set := $00000040;
  22464. end;
  22465. function TPORTD_TRISD.getTRISD6 : TBits_1; inline;
  22466. begin
  22467. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22468. end;
  22469. procedure TPORTD_TRISD.setTRISD7; inline;
  22470. begin
  22471. pTDefRegMap(@Self)^.&set := $00000080;
  22472. end;
  22473. procedure TPORTD_TRISD.clearTRISD7; inline;
  22474. begin
  22475. pTDefRegMap(@Self)^.clr := $00000080;
  22476. end;
  22477. procedure TPORTD_TRISD.setTRISD7(thebits : TBits_1); inline;
  22478. begin
  22479. if thebits = 0 then
  22480. pTDefRegMap(@Self)^.clr := $00000080
  22481. else
  22482. pTDefRegMap(@Self)^.&set := $00000080;
  22483. end;
  22484. function TPORTD_TRISD.getTRISD7 : TBits_1; inline;
  22485. begin
  22486. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22487. end;
  22488. procedure TPORTD_TRISD.setTRISD8; inline;
  22489. begin
  22490. pTDefRegMap(@Self)^.&set := $00000100;
  22491. end;
  22492. procedure TPORTD_TRISD.clearTRISD8; inline;
  22493. begin
  22494. pTDefRegMap(@Self)^.clr := $00000100;
  22495. end;
  22496. procedure TPORTD_TRISD.setTRISD8(thebits : TBits_1); inline;
  22497. begin
  22498. if thebits = 0 then
  22499. pTDefRegMap(@Self)^.clr := $00000100
  22500. else
  22501. pTDefRegMap(@Self)^.&set := $00000100;
  22502. end;
  22503. function TPORTD_TRISD.getTRISD8 : TBits_1; inline;
  22504. begin
  22505. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22506. end;
  22507. procedure TPORTD_TRISD.setTRISD9; inline;
  22508. begin
  22509. pTDefRegMap(@Self)^.&set := $00000200;
  22510. end;
  22511. procedure TPORTD_TRISD.clearTRISD9; inline;
  22512. begin
  22513. pTDefRegMap(@Self)^.clr := $00000200;
  22514. end;
  22515. procedure TPORTD_TRISD.setTRISD9(thebits : TBits_1); inline;
  22516. begin
  22517. if thebits = 0 then
  22518. pTDefRegMap(@Self)^.clr := $00000200
  22519. else
  22520. pTDefRegMap(@Self)^.&set := $00000200;
  22521. end;
  22522. function TPORTD_TRISD.getTRISD9 : TBits_1; inline;
  22523. begin
  22524. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22525. end;
  22526. procedure TPORTD_TRISD.setTRISD10; inline;
  22527. begin
  22528. pTDefRegMap(@Self)^.&set := $00000400;
  22529. end;
  22530. procedure TPORTD_TRISD.clearTRISD10; inline;
  22531. begin
  22532. pTDefRegMap(@Self)^.clr := $00000400;
  22533. end;
  22534. procedure TPORTD_TRISD.setTRISD10(thebits : TBits_1); inline;
  22535. begin
  22536. if thebits = 0 then
  22537. pTDefRegMap(@Self)^.clr := $00000400
  22538. else
  22539. pTDefRegMap(@Self)^.&set := $00000400;
  22540. end;
  22541. function TPORTD_TRISD.getTRISD10 : TBits_1; inline;
  22542. begin
  22543. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22544. end;
  22545. procedure TPORTD_TRISD.setTRISD11; inline;
  22546. begin
  22547. pTDefRegMap(@Self)^.&set := $00000800;
  22548. end;
  22549. procedure TPORTD_TRISD.clearTRISD11; inline;
  22550. begin
  22551. pTDefRegMap(@Self)^.clr := $00000800;
  22552. end;
  22553. procedure TPORTD_TRISD.setTRISD11(thebits : TBits_1); inline;
  22554. begin
  22555. if thebits = 0 then
  22556. pTDefRegMap(@Self)^.clr := $00000800
  22557. else
  22558. pTDefRegMap(@Self)^.&set := $00000800;
  22559. end;
  22560. function TPORTD_TRISD.getTRISD11 : TBits_1; inline;
  22561. begin
  22562. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22563. end;
  22564. procedure TPORTD_TRISD.setTRISD12; inline;
  22565. begin
  22566. pTDefRegMap(@Self)^.&set := $00001000;
  22567. end;
  22568. procedure TPORTD_TRISD.clearTRISD12; inline;
  22569. begin
  22570. pTDefRegMap(@Self)^.clr := $00001000;
  22571. end;
  22572. procedure TPORTD_TRISD.setTRISD12(thebits : TBits_1); inline;
  22573. begin
  22574. if thebits = 0 then
  22575. pTDefRegMap(@Self)^.clr := $00001000
  22576. else
  22577. pTDefRegMap(@Self)^.&set := $00001000;
  22578. end;
  22579. function TPORTD_TRISD.getTRISD12 : TBits_1; inline;
  22580. begin
  22581. getTRISD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22582. end;
  22583. procedure TPORTD_TRISD.setTRISD13; inline;
  22584. begin
  22585. pTDefRegMap(@Self)^.&set := $00002000;
  22586. end;
  22587. procedure TPORTD_TRISD.clearTRISD13; inline;
  22588. begin
  22589. pTDefRegMap(@Self)^.clr := $00002000;
  22590. end;
  22591. procedure TPORTD_TRISD.setTRISD13(thebits : TBits_1); inline;
  22592. begin
  22593. if thebits = 0 then
  22594. pTDefRegMap(@Self)^.clr := $00002000
  22595. else
  22596. pTDefRegMap(@Self)^.&set := $00002000;
  22597. end;
  22598. function TPORTD_TRISD.getTRISD13 : TBits_1; inline;
  22599. begin
  22600. getTRISD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22601. end;
  22602. procedure TPORTD_TRISD.setTRISD14; inline;
  22603. begin
  22604. pTDefRegMap(@Self)^.&set := $00004000;
  22605. end;
  22606. procedure TPORTD_TRISD.clearTRISD14; inline;
  22607. begin
  22608. pTDefRegMap(@Self)^.clr := $00004000;
  22609. end;
  22610. procedure TPORTD_TRISD.setTRISD14(thebits : TBits_1); inline;
  22611. begin
  22612. if thebits = 0 then
  22613. pTDefRegMap(@Self)^.clr := $00004000
  22614. else
  22615. pTDefRegMap(@Self)^.&set := $00004000;
  22616. end;
  22617. function TPORTD_TRISD.getTRISD14 : TBits_1; inline;
  22618. begin
  22619. getTRISD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22620. end;
  22621. procedure TPORTD_TRISD.setTRISD15; inline;
  22622. begin
  22623. pTDefRegMap(@Self)^.&set := $00008000;
  22624. end;
  22625. procedure TPORTD_TRISD.clearTRISD15; inline;
  22626. begin
  22627. pTDefRegMap(@Self)^.clr := $00008000;
  22628. end;
  22629. procedure TPORTD_TRISD.setTRISD15(thebits : TBits_1); inline;
  22630. begin
  22631. if thebits = 0 then
  22632. pTDefRegMap(@Self)^.clr := $00008000
  22633. else
  22634. pTDefRegMap(@Self)^.&set := $00008000;
  22635. end;
  22636. function TPORTD_TRISD.getTRISD15 : TBits_1; inline;
  22637. begin
  22638. getTRISD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22639. end;
  22640. procedure TPORTD_TRISD.setw(thebits : TBits_32); inline;
  22641. begin
  22642. pTDefRegMap(@Self)^.val := thebits;
  22643. end;
  22644. function TPORTD_TRISD.getw : TBits_32; inline;
  22645. begin
  22646. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22647. end;
  22648. procedure TPORTD_PORTD.setRD0; inline;
  22649. begin
  22650. pTDefRegMap(@Self)^.&set := $00000001;
  22651. end;
  22652. procedure TPORTD_PORTD.clearRD0; inline;
  22653. begin
  22654. pTDefRegMap(@Self)^.clr := $00000001;
  22655. end;
  22656. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  22657. begin
  22658. if thebits = 0 then
  22659. pTDefRegMap(@Self)^.clr := $00000001
  22660. else
  22661. pTDefRegMap(@Self)^.&set := $00000001;
  22662. end;
  22663. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  22664. begin
  22665. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22666. end;
  22667. procedure TPORTD_PORTD.setRD1; inline;
  22668. begin
  22669. pTDefRegMap(@Self)^.&set := $00000002;
  22670. end;
  22671. procedure TPORTD_PORTD.clearRD1; inline;
  22672. begin
  22673. pTDefRegMap(@Self)^.clr := $00000002;
  22674. end;
  22675. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  22676. begin
  22677. if thebits = 0 then
  22678. pTDefRegMap(@Self)^.clr := $00000002
  22679. else
  22680. pTDefRegMap(@Self)^.&set := $00000002;
  22681. end;
  22682. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  22683. begin
  22684. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22685. end;
  22686. procedure TPORTD_PORTD.setRD2; inline;
  22687. begin
  22688. pTDefRegMap(@Self)^.&set := $00000004;
  22689. end;
  22690. procedure TPORTD_PORTD.clearRD2; inline;
  22691. begin
  22692. pTDefRegMap(@Self)^.clr := $00000004;
  22693. end;
  22694. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  22695. begin
  22696. if thebits = 0 then
  22697. pTDefRegMap(@Self)^.clr := $00000004
  22698. else
  22699. pTDefRegMap(@Self)^.&set := $00000004;
  22700. end;
  22701. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  22702. begin
  22703. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22704. end;
  22705. procedure TPORTD_PORTD.setRD3; inline;
  22706. begin
  22707. pTDefRegMap(@Self)^.&set := $00000008;
  22708. end;
  22709. procedure TPORTD_PORTD.clearRD3; inline;
  22710. begin
  22711. pTDefRegMap(@Self)^.clr := $00000008;
  22712. end;
  22713. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  22714. begin
  22715. if thebits = 0 then
  22716. pTDefRegMap(@Self)^.clr := $00000008
  22717. else
  22718. pTDefRegMap(@Self)^.&set := $00000008;
  22719. end;
  22720. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  22721. begin
  22722. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22723. end;
  22724. procedure TPORTD_PORTD.setRD4; inline;
  22725. begin
  22726. pTDefRegMap(@Self)^.&set := $00000010;
  22727. end;
  22728. procedure TPORTD_PORTD.clearRD4; inline;
  22729. begin
  22730. pTDefRegMap(@Self)^.clr := $00000010;
  22731. end;
  22732. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  22733. begin
  22734. if thebits = 0 then
  22735. pTDefRegMap(@Self)^.clr := $00000010
  22736. else
  22737. pTDefRegMap(@Self)^.&set := $00000010;
  22738. end;
  22739. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  22740. begin
  22741. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22742. end;
  22743. procedure TPORTD_PORTD.setRD5; inline;
  22744. begin
  22745. pTDefRegMap(@Self)^.&set := $00000020;
  22746. end;
  22747. procedure TPORTD_PORTD.clearRD5; inline;
  22748. begin
  22749. pTDefRegMap(@Self)^.clr := $00000020;
  22750. end;
  22751. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  22752. begin
  22753. if thebits = 0 then
  22754. pTDefRegMap(@Self)^.clr := $00000020
  22755. else
  22756. pTDefRegMap(@Self)^.&set := $00000020;
  22757. end;
  22758. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  22759. begin
  22760. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22761. end;
  22762. procedure TPORTD_PORTD.setRD6; inline;
  22763. begin
  22764. pTDefRegMap(@Self)^.&set := $00000040;
  22765. end;
  22766. procedure TPORTD_PORTD.clearRD6; inline;
  22767. begin
  22768. pTDefRegMap(@Self)^.clr := $00000040;
  22769. end;
  22770. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  22771. begin
  22772. if thebits = 0 then
  22773. pTDefRegMap(@Self)^.clr := $00000040
  22774. else
  22775. pTDefRegMap(@Self)^.&set := $00000040;
  22776. end;
  22777. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  22778. begin
  22779. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22780. end;
  22781. procedure TPORTD_PORTD.setRD7; inline;
  22782. begin
  22783. pTDefRegMap(@Self)^.&set := $00000080;
  22784. end;
  22785. procedure TPORTD_PORTD.clearRD7; inline;
  22786. begin
  22787. pTDefRegMap(@Self)^.clr := $00000080;
  22788. end;
  22789. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  22790. begin
  22791. if thebits = 0 then
  22792. pTDefRegMap(@Self)^.clr := $00000080
  22793. else
  22794. pTDefRegMap(@Self)^.&set := $00000080;
  22795. end;
  22796. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  22797. begin
  22798. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22799. end;
  22800. procedure TPORTD_PORTD.setRD8; inline;
  22801. begin
  22802. pTDefRegMap(@Self)^.&set := $00000100;
  22803. end;
  22804. procedure TPORTD_PORTD.clearRD8; inline;
  22805. begin
  22806. pTDefRegMap(@Self)^.clr := $00000100;
  22807. end;
  22808. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  22809. begin
  22810. if thebits = 0 then
  22811. pTDefRegMap(@Self)^.clr := $00000100
  22812. else
  22813. pTDefRegMap(@Self)^.&set := $00000100;
  22814. end;
  22815. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  22816. begin
  22817. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22818. end;
  22819. procedure TPORTD_PORTD.setRD9; inline;
  22820. begin
  22821. pTDefRegMap(@Self)^.&set := $00000200;
  22822. end;
  22823. procedure TPORTD_PORTD.clearRD9; inline;
  22824. begin
  22825. pTDefRegMap(@Self)^.clr := $00000200;
  22826. end;
  22827. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  22828. begin
  22829. if thebits = 0 then
  22830. pTDefRegMap(@Self)^.clr := $00000200
  22831. else
  22832. pTDefRegMap(@Self)^.&set := $00000200;
  22833. end;
  22834. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  22835. begin
  22836. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22837. end;
  22838. procedure TPORTD_PORTD.setRD10; inline;
  22839. begin
  22840. pTDefRegMap(@Self)^.&set := $00000400;
  22841. end;
  22842. procedure TPORTD_PORTD.clearRD10; inline;
  22843. begin
  22844. pTDefRegMap(@Self)^.clr := $00000400;
  22845. end;
  22846. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  22847. begin
  22848. if thebits = 0 then
  22849. pTDefRegMap(@Self)^.clr := $00000400
  22850. else
  22851. pTDefRegMap(@Self)^.&set := $00000400;
  22852. end;
  22853. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  22854. begin
  22855. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22856. end;
  22857. procedure TPORTD_PORTD.setRD11; inline;
  22858. begin
  22859. pTDefRegMap(@Self)^.&set := $00000800;
  22860. end;
  22861. procedure TPORTD_PORTD.clearRD11; inline;
  22862. begin
  22863. pTDefRegMap(@Self)^.clr := $00000800;
  22864. end;
  22865. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  22866. begin
  22867. if thebits = 0 then
  22868. pTDefRegMap(@Self)^.clr := $00000800
  22869. else
  22870. pTDefRegMap(@Self)^.&set := $00000800;
  22871. end;
  22872. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  22873. begin
  22874. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22875. end;
  22876. procedure TPORTD_PORTD.setRD12; inline;
  22877. begin
  22878. pTDefRegMap(@Self)^.&set := $00001000;
  22879. end;
  22880. procedure TPORTD_PORTD.clearRD12; inline;
  22881. begin
  22882. pTDefRegMap(@Self)^.clr := $00001000;
  22883. end;
  22884. procedure TPORTD_PORTD.setRD12(thebits : TBits_1); inline;
  22885. begin
  22886. if thebits = 0 then
  22887. pTDefRegMap(@Self)^.clr := $00001000
  22888. else
  22889. pTDefRegMap(@Self)^.&set := $00001000;
  22890. end;
  22891. function TPORTD_PORTD.getRD12 : TBits_1; inline;
  22892. begin
  22893. getRD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22894. end;
  22895. procedure TPORTD_PORTD.setRD13; inline;
  22896. begin
  22897. pTDefRegMap(@Self)^.&set := $00002000;
  22898. end;
  22899. procedure TPORTD_PORTD.clearRD13; inline;
  22900. begin
  22901. pTDefRegMap(@Self)^.clr := $00002000;
  22902. end;
  22903. procedure TPORTD_PORTD.setRD13(thebits : TBits_1); inline;
  22904. begin
  22905. if thebits = 0 then
  22906. pTDefRegMap(@Self)^.clr := $00002000
  22907. else
  22908. pTDefRegMap(@Self)^.&set := $00002000;
  22909. end;
  22910. function TPORTD_PORTD.getRD13 : TBits_1; inline;
  22911. begin
  22912. getRD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22913. end;
  22914. procedure TPORTD_PORTD.setRD14; inline;
  22915. begin
  22916. pTDefRegMap(@Self)^.&set := $00004000;
  22917. end;
  22918. procedure TPORTD_PORTD.clearRD14; inline;
  22919. begin
  22920. pTDefRegMap(@Self)^.clr := $00004000;
  22921. end;
  22922. procedure TPORTD_PORTD.setRD14(thebits : TBits_1); inline;
  22923. begin
  22924. if thebits = 0 then
  22925. pTDefRegMap(@Self)^.clr := $00004000
  22926. else
  22927. pTDefRegMap(@Self)^.&set := $00004000;
  22928. end;
  22929. function TPORTD_PORTD.getRD14 : TBits_1; inline;
  22930. begin
  22931. getRD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22932. end;
  22933. procedure TPORTD_PORTD.setRD15; inline;
  22934. begin
  22935. pTDefRegMap(@Self)^.&set := $00008000;
  22936. end;
  22937. procedure TPORTD_PORTD.clearRD15; inline;
  22938. begin
  22939. pTDefRegMap(@Self)^.clr := $00008000;
  22940. end;
  22941. procedure TPORTD_PORTD.setRD15(thebits : TBits_1); inline;
  22942. begin
  22943. if thebits = 0 then
  22944. pTDefRegMap(@Self)^.clr := $00008000
  22945. else
  22946. pTDefRegMap(@Self)^.&set := $00008000;
  22947. end;
  22948. function TPORTD_PORTD.getRD15 : TBits_1; inline;
  22949. begin
  22950. getRD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22951. end;
  22952. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  22953. begin
  22954. pTDefRegMap(@Self)^.val := thebits;
  22955. end;
  22956. function TPORTD_PORTD.getw : TBits_32; inline;
  22957. begin
  22958. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22959. end;
  22960. procedure TPORTD_LATD.setLATD0; inline;
  22961. begin
  22962. pTDefRegMap(@Self)^.&set := $00000001;
  22963. end;
  22964. procedure TPORTD_LATD.clearLATD0; inline;
  22965. begin
  22966. pTDefRegMap(@Self)^.clr := $00000001;
  22967. end;
  22968. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  22969. begin
  22970. if thebits = 0 then
  22971. pTDefRegMap(@Self)^.clr := $00000001
  22972. else
  22973. pTDefRegMap(@Self)^.&set := $00000001;
  22974. end;
  22975. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  22976. begin
  22977. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22978. end;
  22979. procedure TPORTD_LATD.setLATD1; inline;
  22980. begin
  22981. pTDefRegMap(@Self)^.&set := $00000002;
  22982. end;
  22983. procedure TPORTD_LATD.clearLATD1; inline;
  22984. begin
  22985. pTDefRegMap(@Self)^.clr := $00000002;
  22986. end;
  22987. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  22988. begin
  22989. if thebits = 0 then
  22990. pTDefRegMap(@Self)^.clr := $00000002
  22991. else
  22992. pTDefRegMap(@Self)^.&set := $00000002;
  22993. end;
  22994. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  22995. begin
  22996. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22997. end;
  22998. procedure TPORTD_LATD.setLATD2; inline;
  22999. begin
  23000. pTDefRegMap(@Self)^.&set := $00000004;
  23001. end;
  23002. procedure TPORTD_LATD.clearLATD2; inline;
  23003. begin
  23004. pTDefRegMap(@Self)^.clr := $00000004;
  23005. end;
  23006. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  23007. begin
  23008. if thebits = 0 then
  23009. pTDefRegMap(@Self)^.clr := $00000004
  23010. else
  23011. pTDefRegMap(@Self)^.&set := $00000004;
  23012. end;
  23013. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  23014. begin
  23015. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23016. end;
  23017. procedure TPORTD_LATD.setLATD3; inline;
  23018. begin
  23019. pTDefRegMap(@Self)^.&set := $00000008;
  23020. end;
  23021. procedure TPORTD_LATD.clearLATD3; inline;
  23022. begin
  23023. pTDefRegMap(@Self)^.clr := $00000008;
  23024. end;
  23025. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  23026. begin
  23027. if thebits = 0 then
  23028. pTDefRegMap(@Self)^.clr := $00000008
  23029. else
  23030. pTDefRegMap(@Self)^.&set := $00000008;
  23031. end;
  23032. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  23033. begin
  23034. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23035. end;
  23036. procedure TPORTD_LATD.setLATD4; inline;
  23037. begin
  23038. pTDefRegMap(@Self)^.&set := $00000010;
  23039. end;
  23040. procedure TPORTD_LATD.clearLATD4; inline;
  23041. begin
  23042. pTDefRegMap(@Self)^.clr := $00000010;
  23043. end;
  23044. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  23045. begin
  23046. if thebits = 0 then
  23047. pTDefRegMap(@Self)^.clr := $00000010
  23048. else
  23049. pTDefRegMap(@Self)^.&set := $00000010;
  23050. end;
  23051. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  23052. begin
  23053. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23054. end;
  23055. procedure TPORTD_LATD.setLATD5; inline;
  23056. begin
  23057. pTDefRegMap(@Self)^.&set := $00000020;
  23058. end;
  23059. procedure TPORTD_LATD.clearLATD5; inline;
  23060. begin
  23061. pTDefRegMap(@Self)^.clr := $00000020;
  23062. end;
  23063. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  23064. begin
  23065. if thebits = 0 then
  23066. pTDefRegMap(@Self)^.clr := $00000020
  23067. else
  23068. pTDefRegMap(@Self)^.&set := $00000020;
  23069. end;
  23070. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  23071. begin
  23072. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23073. end;
  23074. procedure TPORTD_LATD.setLATD6; inline;
  23075. begin
  23076. pTDefRegMap(@Self)^.&set := $00000040;
  23077. end;
  23078. procedure TPORTD_LATD.clearLATD6; inline;
  23079. begin
  23080. pTDefRegMap(@Self)^.clr := $00000040;
  23081. end;
  23082. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  23083. begin
  23084. if thebits = 0 then
  23085. pTDefRegMap(@Self)^.clr := $00000040
  23086. else
  23087. pTDefRegMap(@Self)^.&set := $00000040;
  23088. end;
  23089. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  23090. begin
  23091. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23092. end;
  23093. procedure TPORTD_LATD.setLATD7; inline;
  23094. begin
  23095. pTDefRegMap(@Self)^.&set := $00000080;
  23096. end;
  23097. procedure TPORTD_LATD.clearLATD7; inline;
  23098. begin
  23099. pTDefRegMap(@Self)^.clr := $00000080;
  23100. end;
  23101. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  23102. begin
  23103. if thebits = 0 then
  23104. pTDefRegMap(@Self)^.clr := $00000080
  23105. else
  23106. pTDefRegMap(@Self)^.&set := $00000080;
  23107. end;
  23108. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  23109. begin
  23110. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23111. end;
  23112. procedure TPORTD_LATD.setLATD8; inline;
  23113. begin
  23114. pTDefRegMap(@Self)^.&set := $00000100;
  23115. end;
  23116. procedure TPORTD_LATD.clearLATD8; inline;
  23117. begin
  23118. pTDefRegMap(@Self)^.clr := $00000100;
  23119. end;
  23120. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  23121. begin
  23122. if thebits = 0 then
  23123. pTDefRegMap(@Self)^.clr := $00000100
  23124. else
  23125. pTDefRegMap(@Self)^.&set := $00000100;
  23126. end;
  23127. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  23128. begin
  23129. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23130. end;
  23131. procedure TPORTD_LATD.setLATD9; inline;
  23132. begin
  23133. pTDefRegMap(@Self)^.&set := $00000200;
  23134. end;
  23135. procedure TPORTD_LATD.clearLATD9; inline;
  23136. begin
  23137. pTDefRegMap(@Self)^.clr := $00000200;
  23138. end;
  23139. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  23140. begin
  23141. if thebits = 0 then
  23142. pTDefRegMap(@Self)^.clr := $00000200
  23143. else
  23144. pTDefRegMap(@Self)^.&set := $00000200;
  23145. end;
  23146. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  23147. begin
  23148. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23149. end;
  23150. procedure TPORTD_LATD.setLATD10; inline;
  23151. begin
  23152. pTDefRegMap(@Self)^.&set := $00000400;
  23153. end;
  23154. procedure TPORTD_LATD.clearLATD10; inline;
  23155. begin
  23156. pTDefRegMap(@Self)^.clr := $00000400;
  23157. end;
  23158. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  23159. begin
  23160. if thebits = 0 then
  23161. pTDefRegMap(@Self)^.clr := $00000400
  23162. else
  23163. pTDefRegMap(@Self)^.&set := $00000400;
  23164. end;
  23165. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  23166. begin
  23167. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23168. end;
  23169. procedure TPORTD_LATD.setLATD11; inline;
  23170. begin
  23171. pTDefRegMap(@Self)^.&set := $00000800;
  23172. end;
  23173. procedure TPORTD_LATD.clearLATD11; inline;
  23174. begin
  23175. pTDefRegMap(@Self)^.clr := $00000800;
  23176. end;
  23177. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  23178. begin
  23179. if thebits = 0 then
  23180. pTDefRegMap(@Self)^.clr := $00000800
  23181. else
  23182. pTDefRegMap(@Self)^.&set := $00000800;
  23183. end;
  23184. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  23185. begin
  23186. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23187. end;
  23188. procedure TPORTD_LATD.setLATD12; inline;
  23189. begin
  23190. pTDefRegMap(@Self)^.&set := $00001000;
  23191. end;
  23192. procedure TPORTD_LATD.clearLATD12; inline;
  23193. begin
  23194. pTDefRegMap(@Self)^.clr := $00001000;
  23195. end;
  23196. procedure TPORTD_LATD.setLATD12(thebits : TBits_1); inline;
  23197. begin
  23198. if thebits = 0 then
  23199. pTDefRegMap(@Self)^.clr := $00001000
  23200. else
  23201. pTDefRegMap(@Self)^.&set := $00001000;
  23202. end;
  23203. function TPORTD_LATD.getLATD12 : TBits_1; inline;
  23204. begin
  23205. getLATD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23206. end;
  23207. procedure TPORTD_LATD.setLATD13; inline;
  23208. begin
  23209. pTDefRegMap(@Self)^.&set := $00002000;
  23210. end;
  23211. procedure TPORTD_LATD.clearLATD13; inline;
  23212. begin
  23213. pTDefRegMap(@Self)^.clr := $00002000;
  23214. end;
  23215. procedure TPORTD_LATD.setLATD13(thebits : TBits_1); inline;
  23216. begin
  23217. if thebits = 0 then
  23218. pTDefRegMap(@Self)^.clr := $00002000
  23219. else
  23220. pTDefRegMap(@Self)^.&set := $00002000;
  23221. end;
  23222. function TPORTD_LATD.getLATD13 : TBits_1; inline;
  23223. begin
  23224. getLATD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23225. end;
  23226. procedure TPORTD_LATD.setLATD14; inline;
  23227. begin
  23228. pTDefRegMap(@Self)^.&set := $00004000;
  23229. end;
  23230. procedure TPORTD_LATD.clearLATD14; inline;
  23231. begin
  23232. pTDefRegMap(@Self)^.clr := $00004000;
  23233. end;
  23234. procedure TPORTD_LATD.setLATD14(thebits : TBits_1); inline;
  23235. begin
  23236. if thebits = 0 then
  23237. pTDefRegMap(@Self)^.clr := $00004000
  23238. else
  23239. pTDefRegMap(@Self)^.&set := $00004000;
  23240. end;
  23241. function TPORTD_LATD.getLATD14 : TBits_1; inline;
  23242. begin
  23243. getLATD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23244. end;
  23245. procedure TPORTD_LATD.setLATD15; inline;
  23246. begin
  23247. pTDefRegMap(@Self)^.&set := $00008000;
  23248. end;
  23249. procedure TPORTD_LATD.clearLATD15; inline;
  23250. begin
  23251. pTDefRegMap(@Self)^.clr := $00008000;
  23252. end;
  23253. procedure TPORTD_LATD.setLATD15(thebits : TBits_1); inline;
  23254. begin
  23255. if thebits = 0 then
  23256. pTDefRegMap(@Self)^.clr := $00008000
  23257. else
  23258. pTDefRegMap(@Self)^.&set := $00008000;
  23259. end;
  23260. function TPORTD_LATD.getLATD15 : TBits_1; inline;
  23261. begin
  23262. getLATD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23263. end;
  23264. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  23265. begin
  23266. pTDefRegMap(@Self)^.val := thebits;
  23267. end;
  23268. function TPORTD_LATD.getw : TBits_32; inline;
  23269. begin
  23270. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23271. end;
  23272. procedure TPORTD_ODCD.setODCD0; inline;
  23273. begin
  23274. pTDefRegMap(@Self)^.&set := $00000001;
  23275. end;
  23276. procedure TPORTD_ODCD.clearODCD0; inline;
  23277. begin
  23278. pTDefRegMap(@Self)^.clr := $00000001;
  23279. end;
  23280. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  23281. begin
  23282. if thebits = 0 then
  23283. pTDefRegMap(@Self)^.clr := $00000001
  23284. else
  23285. pTDefRegMap(@Self)^.&set := $00000001;
  23286. end;
  23287. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  23288. begin
  23289. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23290. end;
  23291. procedure TPORTD_ODCD.setODCD1; inline;
  23292. begin
  23293. pTDefRegMap(@Self)^.&set := $00000002;
  23294. end;
  23295. procedure TPORTD_ODCD.clearODCD1; inline;
  23296. begin
  23297. pTDefRegMap(@Self)^.clr := $00000002;
  23298. end;
  23299. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  23300. begin
  23301. if thebits = 0 then
  23302. pTDefRegMap(@Self)^.clr := $00000002
  23303. else
  23304. pTDefRegMap(@Self)^.&set := $00000002;
  23305. end;
  23306. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  23307. begin
  23308. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23309. end;
  23310. procedure TPORTD_ODCD.setODCD2; inline;
  23311. begin
  23312. pTDefRegMap(@Self)^.&set := $00000004;
  23313. end;
  23314. procedure TPORTD_ODCD.clearODCD2; inline;
  23315. begin
  23316. pTDefRegMap(@Self)^.clr := $00000004;
  23317. end;
  23318. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  23319. begin
  23320. if thebits = 0 then
  23321. pTDefRegMap(@Self)^.clr := $00000004
  23322. else
  23323. pTDefRegMap(@Self)^.&set := $00000004;
  23324. end;
  23325. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  23326. begin
  23327. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23328. end;
  23329. procedure TPORTD_ODCD.setODCD3; inline;
  23330. begin
  23331. pTDefRegMap(@Self)^.&set := $00000008;
  23332. end;
  23333. procedure TPORTD_ODCD.clearODCD3; inline;
  23334. begin
  23335. pTDefRegMap(@Self)^.clr := $00000008;
  23336. end;
  23337. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  23338. begin
  23339. if thebits = 0 then
  23340. pTDefRegMap(@Self)^.clr := $00000008
  23341. else
  23342. pTDefRegMap(@Self)^.&set := $00000008;
  23343. end;
  23344. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  23345. begin
  23346. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23347. end;
  23348. procedure TPORTD_ODCD.setODCD4; inline;
  23349. begin
  23350. pTDefRegMap(@Self)^.&set := $00000010;
  23351. end;
  23352. procedure TPORTD_ODCD.clearODCD4; inline;
  23353. begin
  23354. pTDefRegMap(@Self)^.clr := $00000010;
  23355. end;
  23356. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  23357. begin
  23358. if thebits = 0 then
  23359. pTDefRegMap(@Self)^.clr := $00000010
  23360. else
  23361. pTDefRegMap(@Self)^.&set := $00000010;
  23362. end;
  23363. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  23364. begin
  23365. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23366. end;
  23367. procedure TPORTD_ODCD.setODCD5; inline;
  23368. begin
  23369. pTDefRegMap(@Self)^.&set := $00000020;
  23370. end;
  23371. procedure TPORTD_ODCD.clearODCD5; inline;
  23372. begin
  23373. pTDefRegMap(@Self)^.clr := $00000020;
  23374. end;
  23375. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  23376. begin
  23377. if thebits = 0 then
  23378. pTDefRegMap(@Self)^.clr := $00000020
  23379. else
  23380. pTDefRegMap(@Self)^.&set := $00000020;
  23381. end;
  23382. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  23383. begin
  23384. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23385. end;
  23386. procedure TPORTD_ODCD.setODCD6; inline;
  23387. begin
  23388. pTDefRegMap(@Self)^.&set := $00000040;
  23389. end;
  23390. procedure TPORTD_ODCD.clearODCD6; inline;
  23391. begin
  23392. pTDefRegMap(@Self)^.clr := $00000040;
  23393. end;
  23394. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  23395. begin
  23396. if thebits = 0 then
  23397. pTDefRegMap(@Self)^.clr := $00000040
  23398. else
  23399. pTDefRegMap(@Self)^.&set := $00000040;
  23400. end;
  23401. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  23402. begin
  23403. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23404. end;
  23405. procedure TPORTD_ODCD.setODCD7; inline;
  23406. begin
  23407. pTDefRegMap(@Self)^.&set := $00000080;
  23408. end;
  23409. procedure TPORTD_ODCD.clearODCD7; inline;
  23410. begin
  23411. pTDefRegMap(@Self)^.clr := $00000080;
  23412. end;
  23413. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  23414. begin
  23415. if thebits = 0 then
  23416. pTDefRegMap(@Self)^.clr := $00000080
  23417. else
  23418. pTDefRegMap(@Self)^.&set := $00000080;
  23419. end;
  23420. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  23421. begin
  23422. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23423. end;
  23424. procedure TPORTD_ODCD.setODCD8; inline;
  23425. begin
  23426. pTDefRegMap(@Self)^.&set := $00000100;
  23427. end;
  23428. procedure TPORTD_ODCD.clearODCD8; inline;
  23429. begin
  23430. pTDefRegMap(@Self)^.clr := $00000100;
  23431. end;
  23432. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  23433. begin
  23434. if thebits = 0 then
  23435. pTDefRegMap(@Self)^.clr := $00000100
  23436. else
  23437. pTDefRegMap(@Self)^.&set := $00000100;
  23438. end;
  23439. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  23440. begin
  23441. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23442. end;
  23443. procedure TPORTD_ODCD.setODCD9; inline;
  23444. begin
  23445. pTDefRegMap(@Self)^.&set := $00000200;
  23446. end;
  23447. procedure TPORTD_ODCD.clearODCD9; inline;
  23448. begin
  23449. pTDefRegMap(@Self)^.clr := $00000200;
  23450. end;
  23451. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  23452. begin
  23453. if thebits = 0 then
  23454. pTDefRegMap(@Self)^.clr := $00000200
  23455. else
  23456. pTDefRegMap(@Self)^.&set := $00000200;
  23457. end;
  23458. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  23459. begin
  23460. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23461. end;
  23462. procedure TPORTD_ODCD.setODCD10; inline;
  23463. begin
  23464. pTDefRegMap(@Self)^.&set := $00000400;
  23465. end;
  23466. procedure TPORTD_ODCD.clearODCD10; inline;
  23467. begin
  23468. pTDefRegMap(@Self)^.clr := $00000400;
  23469. end;
  23470. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  23471. begin
  23472. if thebits = 0 then
  23473. pTDefRegMap(@Self)^.clr := $00000400
  23474. else
  23475. pTDefRegMap(@Self)^.&set := $00000400;
  23476. end;
  23477. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  23478. begin
  23479. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23480. end;
  23481. procedure TPORTD_ODCD.setODCD11; inline;
  23482. begin
  23483. pTDefRegMap(@Self)^.&set := $00000800;
  23484. end;
  23485. procedure TPORTD_ODCD.clearODCD11; inline;
  23486. begin
  23487. pTDefRegMap(@Self)^.clr := $00000800;
  23488. end;
  23489. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  23490. begin
  23491. if thebits = 0 then
  23492. pTDefRegMap(@Self)^.clr := $00000800
  23493. else
  23494. pTDefRegMap(@Self)^.&set := $00000800;
  23495. end;
  23496. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  23497. begin
  23498. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23499. end;
  23500. procedure TPORTD_ODCD.setODCD12; inline;
  23501. begin
  23502. pTDefRegMap(@Self)^.&set := $00001000;
  23503. end;
  23504. procedure TPORTD_ODCD.clearODCD12; inline;
  23505. begin
  23506. pTDefRegMap(@Self)^.clr := $00001000;
  23507. end;
  23508. procedure TPORTD_ODCD.setODCD12(thebits : TBits_1); inline;
  23509. begin
  23510. if thebits = 0 then
  23511. pTDefRegMap(@Self)^.clr := $00001000
  23512. else
  23513. pTDefRegMap(@Self)^.&set := $00001000;
  23514. end;
  23515. function TPORTD_ODCD.getODCD12 : TBits_1; inline;
  23516. begin
  23517. getODCD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23518. end;
  23519. procedure TPORTD_ODCD.setODCD13; inline;
  23520. begin
  23521. pTDefRegMap(@Self)^.&set := $00002000;
  23522. end;
  23523. procedure TPORTD_ODCD.clearODCD13; inline;
  23524. begin
  23525. pTDefRegMap(@Self)^.clr := $00002000;
  23526. end;
  23527. procedure TPORTD_ODCD.setODCD13(thebits : TBits_1); inline;
  23528. begin
  23529. if thebits = 0 then
  23530. pTDefRegMap(@Self)^.clr := $00002000
  23531. else
  23532. pTDefRegMap(@Self)^.&set := $00002000;
  23533. end;
  23534. function TPORTD_ODCD.getODCD13 : TBits_1; inline;
  23535. begin
  23536. getODCD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23537. end;
  23538. procedure TPORTD_ODCD.setODCD14; inline;
  23539. begin
  23540. pTDefRegMap(@Self)^.&set := $00004000;
  23541. end;
  23542. procedure TPORTD_ODCD.clearODCD14; inline;
  23543. begin
  23544. pTDefRegMap(@Self)^.clr := $00004000;
  23545. end;
  23546. procedure TPORTD_ODCD.setODCD14(thebits : TBits_1); inline;
  23547. begin
  23548. if thebits = 0 then
  23549. pTDefRegMap(@Self)^.clr := $00004000
  23550. else
  23551. pTDefRegMap(@Self)^.&set := $00004000;
  23552. end;
  23553. function TPORTD_ODCD.getODCD14 : TBits_1; inline;
  23554. begin
  23555. getODCD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23556. end;
  23557. procedure TPORTD_ODCD.setODCD15; inline;
  23558. begin
  23559. pTDefRegMap(@Self)^.&set := $00008000;
  23560. end;
  23561. procedure TPORTD_ODCD.clearODCD15; inline;
  23562. begin
  23563. pTDefRegMap(@Self)^.clr := $00008000;
  23564. end;
  23565. procedure TPORTD_ODCD.setODCD15(thebits : TBits_1); inline;
  23566. begin
  23567. if thebits = 0 then
  23568. pTDefRegMap(@Self)^.clr := $00008000
  23569. else
  23570. pTDefRegMap(@Self)^.&set := $00008000;
  23571. end;
  23572. function TPORTD_ODCD.getODCD15 : TBits_1; inline;
  23573. begin
  23574. getODCD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23575. end;
  23576. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  23577. begin
  23578. pTDefRegMap(@Self)^.val := thebits;
  23579. end;
  23580. function TPORTD_ODCD.getw : TBits_32; inline;
  23581. begin
  23582. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23583. end;
  23584. procedure TPORTE_TRISE.setTRISE0; inline;
  23585. begin
  23586. pTDefRegMap(@Self)^.&set := $00000001;
  23587. end;
  23588. procedure TPORTE_TRISE.clearTRISE0; inline;
  23589. begin
  23590. pTDefRegMap(@Self)^.clr := $00000001;
  23591. end;
  23592. procedure TPORTE_TRISE.setTRISE0(thebits : TBits_1); inline;
  23593. begin
  23594. if thebits = 0 then
  23595. pTDefRegMap(@Self)^.clr := $00000001
  23596. else
  23597. pTDefRegMap(@Self)^.&set := $00000001;
  23598. end;
  23599. function TPORTE_TRISE.getTRISE0 : TBits_1; inline;
  23600. begin
  23601. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23602. end;
  23603. procedure TPORTE_TRISE.setTRISE1; inline;
  23604. begin
  23605. pTDefRegMap(@Self)^.&set := $00000002;
  23606. end;
  23607. procedure TPORTE_TRISE.clearTRISE1; inline;
  23608. begin
  23609. pTDefRegMap(@Self)^.clr := $00000002;
  23610. end;
  23611. procedure TPORTE_TRISE.setTRISE1(thebits : TBits_1); inline;
  23612. begin
  23613. if thebits = 0 then
  23614. pTDefRegMap(@Self)^.clr := $00000002
  23615. else
  23616. pTDefRegMap(@Self)^.&set := $00000002;
  23617. end;
  23618. function TPORTE_TRISE.getTRISE1 : TBits_1; inline;
  23619. begin
  23620. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23621. end;
  23622. procedure TPORTE_TRISE.setTRISE2; inline;
  23623. begin
  23624. pTDefRegMap(@Self)^.&set := $00000004;
  23625. end;
  23626. procedure TPORTE_TRISE.clearTRISE2; inline;
  23627. begin
  23628. pTDefRegMap(@Self)^.clr := $00000004;
  23629. end;
  23630. procedure TPORTE_TRISE.setTRISE2(thebits : TBits_1); inline;
  23631. begin
  23632. if thebits = 0 then
  23633. pTDefRegMap(@Self)^.clr := $00000004
  23634. else
  23635. pTDefRegMap(@Self)^.&set := $00000004;
  23636. end;
  23637. function TPORTE_TRISE.getTRISE2 : TBits_1; inline;
  23638. begin
  23639. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23640. end;
  23641. procedure TPORTE_TRISE.setTRISE3; inline;
  23642. begin
  23643. pTDefRegMap(@Self)^.&set := $00000008;
  23644. end;
  23645. procedure TPORTE_TRISE.clearTRISE3; inline;
  23646. begin
  23647. pTDefRegMap(@Self)^.clr := $00000008;
  23648. end;
  23649. procedure TPORTE_TRISE.setTRISE3(thebits : TBits_1); inline;
  23650. begin
  23651. if thebits = 0 then
  23652. pTDefRegMap(@Self)^.clr := $00000008
  23653. else
  23654. pTDefRegMap(@Self)^.&set := $00000008;
  23655. end;
  23656. function TPORTE_TRISE.getTRISE3 : TBits_1; inline;
  23657. begin
  23658. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23659. end;
  23660. procedure TPORTE_TRISE.setTRISE4; inline;
  23661. begin
  23662. pTDefRegMap(@Self)^.&set := $00000010;
  23663. end;
  23664. procedure TPORTE_TRISE.clearTRISE4; inline;
  23665. begin
  23666. pTDefRegMap(@Self)^.clr := $00000010;
  23667. end;
  23668. procedure TPORTE_TRISE.setTRISE4(thebits : TBits_1); inline;
  23669. begin
  23670. if thebits = 0 then
  23671. pTDefRegMap(@Self)^.clr := $00000010
  23672. else
  23673. pTDefRegMap(@Self)^.&set := $00000010;
  23674. end;
  23675. function TPORTE_TRISE.getTRISE4 : TBits_1; inline;
  23676. begin
  23677. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23678. end;
  23679. procedure TPORTE_TRISE.setTRISE5; inline;
  23680. begin
  23681. pTDefRegMap(@Self)^.&set := $00000020;
  23682. end;
  23683. procedure TPORTE_TRISE.clearTRISE5; inline;
  23684. begin
  23685. pTDefRegMap(@Self)^.clr := $00000020;
  23686. end;
  23687. procedure TPORTE_TRISE.setTRISE5(thebits : TBits_1); inline;
  23688. begin
  23689. if thebits = 0 then
  23690. pTDefRegMap(@Self)^.clr := $00000020
  23691. else
  23692. pTDefRegMap(@Self)^.&set := $00000020;
  23693. end;
  23694. function TPORTE_TRISE.getTRISE5 : TBits_1; inline;
  23695. begin
  23696. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23697. end;
  23698. procedure TPORTE_TRISE.setTRISE6; inline;
  23699. begin
  23700. pTDefRegMap(@Self)^.&set := $00000040;
  23701. end;
  23702. procedure TPORTE_TRISE.clearTRISE6; inline;
  23703. begin
  23704. pTDefRegMap(@Self)^.clr := $00000040;
  23705. end;
  23706. procedure TPORTE_TRISE.setTRISE6(thebits : TBits_1); inline;
  23707. begin
  23708. if thebits = 0 then
  23709. pTDefRegMap(@Self)^.clr := $00000040
  23710. else
  23711. pTDefRegMap(@Self)^.&set := $00000040;
  23712. end;
  23713. function TPORTE_TRISE.getTRISE6 : TBits_1; inline;
  23714. begin
  23715. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23716. end;
  23717. procedure TPORTE_TRISE.setTRISE7; inline;
  23718. begin
  23719. pTDefRegMap(@Self)^.&set := $00000080;
  23720. end;
  23721. procedure TPORTE_TRISE.clearTRISE7; inline;
  23722. begin
  23723. pTDefRegMap(@Self)^.clr := $00000080;
  23724. end;
  23725. procedure TPORTE_TRISE.setTRISE7(thebits : TBits_1); inline;
  23726. begin
  23727. if thebits = 0 then
  23728. pTDefRegMap(@Self)^.clr := $00000080
  23729. else
  23730. pTDefRegMap(@Self)^.&set := $00000080;
  23731. end;
  23732. function TPORTE_TRISE.getTRISE7 : TBits_1; inline;
  23733. begin
  23734. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23735. end;
  23736. procedure TPORTE_TRISE.setTRISE8; inline;
  23737. begin
  23738. pTDefRegMap(@Self)^.&set := $00000100;
  23739. end;
  23740. procedure TPORTE_TRISE.clearTRISE8; inline;
  23741. begin
  23742. pTDefRegMap(@Self)^.clr := $00000100;
  23743. end;
  23744. procedure TPORTE_TRISE.setTRISE8(thebits : TBits_1); inline;
  23745. begin
  23746. if thebits = 0 then
  23747. pTDefRegMap(@Self)^.clr := $00000100
  23748. else
  23749. pTDefRegMap(@Self)^.&set := $00000100;
  23750. end;
  23751. function TPORTE_TRISE.getTRISE8 : TBits_1; inline;
  23752. begin
  23753. getTRISE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23754. end;
  23755. procedure TPORTE_TRISE.setTRISE9; inline;
  23756. begin
  23757. pTDefRegMap(@Self)^.&set := $00000200;
  23758. end;
  23759. procedure TPORTE_TRISE.clearTRISE9; inline;
  23760. begin
  23761. pTDefRegMap(@Self)^.clr := $00000200;
  23762. end;
  23763. procedure TPORTE_TRISE.setTRISE9(thebits : TBits_1); inline;
  23764. begin
  23765. if thebits = 0 then
  23766. pTDefRegMap(@Self)^.clr := $00000200
  23767. else
  23768. pTDefRegMap(@Self)^.&set := $00000200;
  23769. end;
  23770. function TPORTE_TRISE.getTRISE9 : TBits_1; inline;
  23771. begin
  23772. getTRISE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23773. end;
  23774. procedure TPORTE_TRISE.setw(thebits : TBits_32); inline;
  23775. begin
  23776. pTDefRegMap(@Self)^.val := thebits;
  23777. end;
  23778. function TPORTE_TRISE.getw : TBits_32; inline;
  23779. begin
  23780. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23781. end;
  23782. procedure TPORTE_PORTE.setRE0; inline;
  23783. begin
  23784. pTDefRegMap(@Self)^.&set := $00000001;
  23785. end;
  23786. procedure TPORTE_PORTE.clearRE0; inline;
  23787. begin
  23788. pTDefRegMap(@Self)^.clr := $00000001;
  23789. end;
  23790. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  23791. begin
  23792. if thebits = 0 then
  23793. pTDefRegMap(@Self)^.clr := $00000001
  23794. else
  23795. pTDefRegMap(@Self)^.&set := $00000001;
  23796. end;
  23797. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  23798. begin
  23799. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23800. end;
  23801. procedure TPORTE_PORTE.setRE1; inline;
  23802. begin
  23803. pTDefRegMap(@Self)^.&set := $00000002;
  23804. end;
  23805. procedure TPORTE_PORTE.clearRE1; inline;
  23806. begin
  23807. pTDefRegMap(@Self)^.clr := $00000002;
  23808. end;
  23809. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  23810. begin
  23811. if thebits = 0 then
  23812. pTDefRegMap(@Self)^.clr := $00000002
  23813. else
  23814. pTDefRegMap(@Self)^.&set := $00000002;
  23815. end;
  23816. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  23817. begin
  23818. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23819. end;
  23820. procedure TPORTE_PORTE.setRE2; inline;
  23821. begin
  23822. pTDefRegMap(@Self)^.&set := $00000004;
  23823. end;
  23824. procedure TPORTE_PORTE.clearRE2; inline;
  23825. begin
  23826. pTDefRegMap(@Self)^.clr := $00000004;
  23827. end;
  23828. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  23829. begin
  23830. if thebits = 0 then
  23831. pTDefRegMap(@Self)^.clr := $00000004
  23832. else
  23833. pTDefRegMap(@Self)^.&set := $00000004;
  23834. end;
  23835. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  23836. begin
  23837. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23838. end;
  23839. procedure TPORTE_PORTE.setRE3; inline;
  23840. begin
  23841. pTDefRegMap(@Self)^.&set := $00000008;
  23842. end;
  23843. procedure TPORTE_PORTE.clearRE3; inline;
  23844. begin
  23845. pTDefRegMap(@Self)^.clr := $00000008;
  23846. end;
  23847. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  23848. begin
  23849. if thebits = 0 then
  23850. pTDefRegMap(@Self)^.clr := $00000008
  23851. else
  23852. pTDefRegMap(@Self)^.&set := $00000008;
  23853. end;
  23854. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  23855. begin
  23856. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23857. end;
  23858. procedure TPORTE_PORTE.setRE4; inline;
  23859. begin
  23860. pTDefRegMap(@Self)^.&set := $00000010;
  23861. end;
  23862. procedure TPORTE_PORTE.clearRE4; inline;
  23863. begin
  23864. pTDefRegMap(@Self)^.clr := $00000010;
  23865. end;
  23866. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  23867. begin
  23868. if thebits = 0 then
  23869. pTDefRegMap(@Self)^.clr := $00000010
  23870. else
  23871. pTDefRegMap(@Self)^.&set := $00000010;
  23872. end;
  23873. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  23874. begin
  23875. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23876. end;
  23877. procedure TPORTE_PORTE.setRE5; inline;
  23878. begin
  23879. pTDefRegMap(@Self)^.&set := $00000020;
  23880. end;
  23881. procedure TPORTE_PORTE.clearRE5; inline;
  23882. begin
  23883. pTDefRegMap(@Self)^.clr := $00000020;
  23884. end;
  23885. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  23886. begin
  23887. if thebits = 0 then
  23888. pTDefRegMap(@Self)^.clr := $00000020
  23889. else
  23890. pTDefRegMap(@Self)^.&set := $00000020;
  23891. end;
  23892. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  23893. begin
  23894. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23895. end;
  23896. procedure TPORTE_PORTE.setRE6; inline;
  23897. begin
  23898. pTDefRegMap(@Self)^.&set := $00000040;
  23899. end;
  23900. procedure TPORTE_PORTE.clearRE6; inline;
  23901. begin
  23902. pTDefRegMap(@Self)^.clr := $00000040;
  23903. end;
  23904. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  23905. begin
  23906. if thebits = 0 then
  23907. pTDefRegMap(@Self)^.clr := $00000040
  23908. else
  23909. pTDefRegMap(@Self)^.&set := $00000040;
  23910. end;
  23911. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  23912. begin
  23913. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23914. end;
  23915. procedure TPORTE_PORTE.setRE7; inline;
  23916. begin
  23917. pTDefRegMap(@Self)^.&set := $00000080;
  23918. end;
  23919. procedure TPORTE_PORTE.clearRE7; inline;
  23920. begin
  23921. pTDefRegMap(@Self)^.clr := $00000080;
  23922. end;
  23923. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  23924. begin
  23925. if thebits = 0 then
  23926. pTDefRegMap(@Self)^.clr := $00000080
  23927. else
  23928. pTDefRegMap(@Self)^.&set := $00000080;
  23929. end;
  23930. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  23931. begin
  23932. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23933. end;
  23934. procedure TPORTE_PORTE.setRE8; inline;
  23935. begin
  23936. pTDefRegMap(@Self)^.&set := $00000100;
  23937. end;
  23938. procedure TPORTE_PORTE.clearRE8; inline;
  23939. begin
  23940. pTDefRegMap(@Self)^.clr := $00000100;
  23941. end;
  23942. procedure TPORTE_PORTE.setRE8(thebits : TBits_1); inline;
  23943. begin
  23944. if thebits = 0 then
  23945. pTDefRegMap(@Self)^.clr := $00000100
  23946. else
  23947. pTDefRegMap(@Self)^.&set := $00000100;
  23948. end;
  23949. function TPORTE_PORTE.getRE8 : TBits_1; inline;
  23950. begin
  23951. getRE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23952. end;
  23953. procedure TPORTE_PORTE.setRE9; inline;
  23954. begin
  23955. pTDefRegMap(@Self)^.&set := $00000200;
  23956. end;
  23957. procedure TPORTE_PORTE.clearRE9; inline;
  23958. begin
  23959. pTDefRegMap(@Self)^.clr := $00000200;
  23960. end;
  23961. procedure TPORTE_PORTE.setRE9(thebits : TBits_1); inline;
  23962. begin
  23963. if thebits = 0 then
  23964. pTDefRegMap(@Self)^.clr := $00000200
  23965. else
  23966. pTDefRegMap(@Self)^.&set := $00000200;
  23967. end;
  23968. function TPORTE_PORTE.getRE9 : TBits_1; inline;
  23969. begin
  23970. getRE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23971. end;
  23972. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  23973. begin
  23974. pTDefRegMap(@Self)^.val := thebits;
  23975. end;
  23976. function TPORTE_PORTE.getw : TBits_32; inline;
  23977. begin
  23978. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23979. end;
  23980. procedure TPORTE_LATE.setLATE0; inline;
  23981. begin
  23982. pTDefRegMap(@Self)^.&set := $00000001;
  23983. end;
  23984. procedure TPORTE_LATE.clearLATE0; inline;
  23985. begin
  23986. pTDefRegMap(@Self)^.clr := $00000001;
  23987. end;
  23988. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  23989. begin
  23990. if thebits = 0 then
  23991. pTDefRegMap(@Self)^.clr := $00000001
  23992. else
  23993. pTDefRegMap(@Self)^.&set := $00000001;
  23994. end;
  23995. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  23996. begin
  23997. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23998. end;
  23999. procedure TPORTE_LATE.setLATE1; inline;
  24000. begin
  24001. pTDefRegMap(@Self)^.&set := $00000002;
  24002. end;
  24003. procedure TPORTE_LATE.clearLATE1; inline;
  24004. begin
  24005. pTDefRegMap(@Self)^.clr := $00000002;
  24006. end;
  24007. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  24008. begin
  24009. if thebits = 0 then
  24010. pTDefRegMap(@Self)^.clr := $00000002
  24011. else
  24012. pTDefRegMap(@Self)^.&set := $00000002;
  24013. end;
  24014. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  24015. begin
  24016. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24017. end;
  24018. procedure TPORTE_LATE.setLATE2; inline;
  24019. begin
  24020. pTDefRegMap(@Self)^.&set := $00000004;
  24021. end;
  24022. procedure TPORTE_LATE.clearLATE2; inline;
  24023. begin
  24024. pTDefRegMap(@Self)^.clr := $00000004;
  24025. end;
  24026. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  24027. begin
  24028. if thebits = 0 then
  24029. pTDefRegMap(@Self)^.clr := $00000004
  24030. else
  24031. pTDefRegMap(@Self)^.&set := $00000004;
  24032. end;
  24033. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  24034. begin
  24035. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24036. end;
  24037. procedure TPORTE_LATE.setLATE3; inline;
  24038. begin
  24039. pTDefRegMap(@Self)^.&set := $00000008;
  24040. end;
  24041. procedure TPORTE_LATE.clearLATE3; inline;
  24042. begin
  24043. pTDefRegMap(@Self)^.clr := $00000008;
  24044. end;
  24045. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  24046. begin
  24047. if thebits = 0 then
  24048. pTDefRegMap(@Self)^.clr := $00000008
  24049. else
  24050. pTDefRegMap(@Self)^.&set := $00000008;
  24051. end;
  24052. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  24053. begin
  24054. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24055. end;
  24056. procedure TPORTE_LATE.setLATE4; inline;
  24057. begin
  24058. pTDefRegMap(@Self)^.&set := $00000010;
  24059. end;
  24060. procedure TPORTE_LATE.clearLATE4; inline;
  24061. begin
  24062. pTDefRegMap(@Self)^.clr := $00000010;
  24063. end;
  24064. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  24065. begin
  24066. if thebits = 0 then
  24067. pTDefRegMap(@Self)^.clr := $00000010
  24068. else
  24069. pTDefRegMap(@Self)^.&set := $00000010;
  24070. end;
  24071. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  24072. begin
  24073. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24074. end;
  24075. procedure TPORTE_LATE.setLATE5; inline;
  24076. begin
  24077. pTDefRegMap(@Self)^.&set := $00000020;
  24078. end;
  24079. procedure TPORTE_LATE.clearLATE5; inline;
  24080. begin
  24081. pTDefRegMap(@Self)^.clr := $00000020;
  24082. end;
  24083. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  24084. begin
  24085. if thebits = 0 then
  24086. pTDefRegMap(@Self)^.clr := $00000020
  24087. else
  24088. pTDefRegMap(@Self)^.&set := $00000020;
  24089. end;
  24090. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  24091. begin
  24092. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24093. end;
  24094. procedure TPORTE_LATE.setLATE6; inline;
  24095. begin
  24096. pTDefRegMap(@Self)^.&set := $00000040;
  24097. end;
  24098. procedure TPORTE_LATE.clearLATE6; inline;
  24099. begin
  24100. pTDefRegMap(@Self)^.clr := $00000040;
  24101. end;
  24102. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  24103. begin
  24104. if thebits = 0 then
  24105. pTDefRegMap(@Self)^.clr := $00000040
  24106. else
  24107. pTDefRegMap(@Self)^.&set := $00000040;
  24108. end;
  24109. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  24110. begin
  24111. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24112. end;
  24113. procedure TPORTE_LATE.setLATE7; inline;
  24114. begin
  24115. pTDefRegMap(@Self)^.&set := $00000080;
  24116. end;
  24117. procedure TPORTE_LATE.clearLATE7; inline;
  24118. begin
  24119. pTDefRegMap(@Self)^.clr := $00000080;
  24120. end;
  24121. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  24122. begin
  24123. if thebits = 0 then
  24124. pTDefRegMap(@Self)^.clr := $00000080
  24125. else
  24126. pTDefRegMap(@Self)^.&set := $00000080;
  24127. end;
  24128. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  24129. begin
  24130. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24131. end;
  24132. procedure TPORTE_LATE.setLATE8; inline;
  24133. begin
  24134. pTDefRegMap(@Self)^.&set := $00000100;
  24135. end;
  24136. procedure TPORTE_LATE.clearLATE8; inline;
  24137. begin
  24138. pTDefRegMap(@Self)^.clr := $00000100;
  24139. end;
  24140. procedure TPORTE_LATE.setLATE8(thebits : TBits_1); inline;
  24141. begin
  24142. if thebits = 0 then
  24143. pTDefRegMap(@Self)^.clr := $00000100
  24144. else
  24145. pTDefRegMap(@Self)^.&set := $00000100;
  24146. end;
  24147. function TPORTE_LATE.getLATE8 : TBits_1; inline;
  24148. begin
  24149. getLATE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24150. end;
  24151. procedure TPORTE_LATE.setLATE9; inline;
  24152. begin
  24153. pTDefRegMap(@Self)^.&set := $00000200;
  24154. end;
  24155. procedure TPORTE_LATE.clearLATE9; inline;
  24156. begin
  24157. pTDefRegMap(@Self)^.clr := $00000200;
  24158. end;
  24159. procedure TPORTE_LATE.setLATE9(thebits : TBits_1); inline;
  24160. begin
  24161. if thebits = 0 then
  24162. pTDefRegMap(@Self)^.clr := $00000200
  24163. else
  24164. pTDefRegMap(@Self)^.&set := $00000200;
  24165. end;
  24166. function TPORTE_LATE.getLATE9 : TBits_1; inline;
  24167. begin
  24168. getLATE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24169. end;
  24170. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  24171. begin
  24172. pTDefRegMap(@Self)^.val := thebits;
  24173. end;
  24174. function TPORTE_LATE.getw : TBits_32; inline;
  24175. begin
  24176. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24177. end;
  24178. procedure TPORTE_ODCE.setODCE0; inline;
  24179. begin
  24180. pTDefRegMap(@Self)^.&set := $00000001;
  24181. end;
  24182. procedure TPORTE_ODCE.clearODCE0; inline;
  24183. begin
  24184. pTDefRegMap(@Self)^.clr := $00000001;
  24185. end;
  24186. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  24187. begin
  24188. if thebits = 0 then
  24189. pTDefRegMap(@Self)^.clr := $00000001
  24190. else
  24191. pTDefRegMap(@Self)^.&set := $00000001;
  24192. end;
  24193. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  24194. begin
  24195. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24196. end;
  24197. procedure TPORTE_ODCE.setODCE1; inline;
  24198. begin
  24199. pTDefRegMap(@Self)^.&set := $00000002;
  24200. end;
  24201. procedure TPORTE_ODCE.clearODCE1; inline;
  24202. begin
  24203. pTDefRegMap(@Self)^.clr := $00000002;
  24204. end;
  24205. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  24206. begin
  24207. if thebits = 0 then
  24208. pTDefRegMap(@Self)^.clr := $00000002
  24209. else
  24210. pTDefRegMap(@Self)^.&set := $00000002;
  24211. end;
  24212. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  24213. begin
  24214. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24215. end;
  24216. procedure TPORTE_ODCE.setODCE2; inline;
  24217. begin
  24218. pTDefRegMap(@Self)^.&set := $00000004;
  24219. end;
  24220. procedure TPORTE_ODCE.clearODCE2; inline;
  24221. begin
  24222. pTDefRegMap(@Self)^.clr := $00000004;
  24223. end;
  24224. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  24225. begin
  24226. if thebits = 0 then
  24227. pTDefRegMap(@Self)^.clr := $00000004
  24228. else
  24229. pTDefRegMap(@Self)^.&set := $00000004;
  24230. end;
  24231. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  24232. begin
  24233. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24234. end;
  24235. procedure TPORTE_ODCE.setODCE3; inline;
  24236. begin
  24237. pTDefRegMap(@Self)^.&set := $00000008;
  24238. end;
  24239. procedure TPORTE_ODCE.clearODCE3; inline;
  24240. begin
  24241. pTDefRegMap(@Self)^.clr := $00000008;
  24242. end;
  24243. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  24244. begin
  24245. if thebits = 0 then
  24246. pTDefRegMap(@Self)^.clr := $00000008
  24247. else
  24248. pTDefRegMap(@Self)^.&set := $00000008;
  24249. end;
  24250. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  24251. begin
  24252. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24253. end;
  24254. procedure TPORTE_ODCE.setODCE4; inline;
  24255. begin
  24256. pTDefRegMap(@Self)^.&set := $00000010;
  24257. end;
  24258. procedure TPORTE_ODCE.clearODCE4; inline;
  24259. begin
  24260. pTDefRegMap(@Self)^.clr := $00000010;
  24261. end;
  24262. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  24263. begin
  24264. if thebits = 0 then
  24265. pTDefRegMap(@Self)^.clr := $00000010
  24266. else
  24267. pTDefRegMap(@Self)^.&set := $00000010;
  24268. end;
  24269. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  24270. begin
  24271. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24272. end;
  24273. procedure TPORTE_ODCE.setODCE5; inline;
  24274. begin
  24275. pTDefRegMap(@Self)^.&set := $00000020;
  24276. end;
  24277. procedure TPORTE_ODCE.clearODCE5; inline;
  24278. begin
  24279. pTDefRegMap(@Self)^.clr := $00000020;
  24280. end;
  24281. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  24282. begin
  24283. if thebits = 0 then
  24284. pTDefRegMap(@Self)^.clr := $00000020
  24285. else
  24286. pTDefRegMap(@Self)^.&set := $00000020;
  24287. end;
  24288. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  24289. begin
  24290. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24291. end;
  24292. procedure TPORTE_ODCE.setODCE6; inline;
  24293. begin
  24294. pTDefRegMap(@Self)^.&set := $00000040;
  24295. end;
  24296. procedure TPORTE_ODCE.clearODCE6; inline;
  24297. begin
  24298. pTDefRegMap(@Self)^.clr := $00000040;
  24299. end;
  24300. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  24301. begin
  24302. if thebits = 0 then
  24303. pTDefRegMap(@Self)^.clr := $00000040
  24304. else
  24305. pTDefRegMap(@Self)^.&set := $00000040;
  24306. end;
  24307. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  24308. begin
  24309. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24310. end;
  24311. procedure TPORTE_ODCE.setODCE7; inline;
  24312. begin
  24313. pTDefRegMap(@Self)^.&set := $00000080;
  24314. end;
  24315. procedure TPORTE_ODCE.clearODCE7; inline;
  24316. begin
  24317. pTDefRegMap(@Self)^.clr := $00000080;
  24318. end;
  24319. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  24320. begin
  24321. if thebits = 0 then
  24322. pTDefRegMap(@Self)^.clr := $00000080
  24323. else
  24324. pTDefRegMap(@Self)^.&set := $00000080;
  24325. end;
  24326. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  24327. begin
  24328. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24329. end;
  24330. procedure TPORTE_ODCE.setODCE8; inline;
  24331. begin
  24332. pTDefRegMap(@Self)^.&set := $00000100;
  24333. end;
  24334. procedure TPORTE_ODCE.clearODCE8; inline;
  24335. begin
  24336. pTDefRegMap(@Self)^.clr := $00000100;
  24337. end;
  24338. procedure TPORTE_ODCE.setODCE8(thebits : TBits_1); inline;
  24339. begin
  24340. if thebits = 0 then
  24341. pTDefRegMap(@Self)^.clr := $00000100
  24342. else
  24343. pTDefRegMap(@Self)^.&set := $00000100;
  24344. end;
  24345. function TPORTE_ODCE.getODCE8 : TBits_1; inline;
  24346. begin
  24347. getODCE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24348. end;
  24349. procedure TPORTE_ODCE.setODCE9; inline;
  24350. begin
  24351. pTDefRegMap(@Self)^.&set := $00000200;
  24352. end;
  24353. procedure TPORTE_ODCE.clearODCE9; inline;
  24354. begin
  24355. pTDefRegMap(@Self)^.clr := $00000200;
  24356. end;
  24357. procedure TPORTE_ODCE.setODCE9(thebits : TBits_1); inline;
  24358. begin
  24359. if thebits = 0 then
  24360. pTDefRegMap(@Self)^.clr := $00000200
  24361. else
  24362. pTDefRegMap(@Self)^.&set := $00000200;
  24363. end;
  24364. function TPORTE_ODCE.getODCE9 : TBits_1; inline;
  24365. begin
  24366. getODCE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24367. end;
  24368. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  24369. begin
  24370. pTDefRegMap(@Self)^.val := thebits;
  24371. end;
  24372. function TPORTE_ODCE.getw : TBits_32; inline;
  24373. begin
  24374. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24375. end;
  24376. procedure TPORTF_TRISF.setTRISF0; inline;
  24377. begin
  24378. pTDefRegMap(@Self)^.&set := $00000001;
  24379. end;
  24380. procedure TPORTF_TRISF.clearTRISF0; inline;
  24381. begin
  24382. pTDefRegMap(@Self)^.clr := $00000001;
  24383. end;
  24384. procedure TPORTF_TRISF.setTRISF0(thebits : TBits_1); inline;
  24385. begin
  24386. if thebits = 0 then
  24387. pTDefRegMap(@Self)^.clr := $00000001
  24388. else
  24389. pTDefRegMap(@Self)^.&set := $00000001;
  24390. end;
  24391. function TPORTF_TRISF.getTRISF0 : TBits_1; inline;
  24392. begin
  24393. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24394. end;
  24395. procedure TPORTF_TRISF.setTRISF1; inline;
  24396. begin
  24397. pTDefRegMap(@Self)^.&set := $00000002;
  24398. end;
  24399. procedure TPORTF_TRISF.clearTRISF1; inline;
  24400. begin
  24401. pTDefRegMap(@Self)^.clr := $00000002;
  24402. end;
  24403. procedure TPORTF_TRISF.setTRISF1(thebits : TBits_1); inline;
  24404. begin
  24405. if thebits = 0 then
  24406. pTDefRegMap(@Self)^.clr := $00000002
  24407. else
  24408. pTDefRegMap(@Self)^.&set := $00000002;
  24409. end;
  24410. function TPORTF_TRISF.getTRISF1 : TBits_1; inline;
  24411. begin
  24412. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24413. end;
  24414. procedure TPORTF_TRISF.setTRISF2; inline;
  24415. begin
  24416. pTDefRegMap(@Self)^.&set := $00000004;
  24417. end;
  24418. procedure TPORTF_TRISF.clearTRISF2; inline;
  24419. begin
  24420. pTDefRegMap(@Self)^.clr := $00000004;
  24421. end;
  24422. procedure TPORTF_TRISF.setTRISF2(thebits : TBits_1); inline;
  24423. begin
  24424. if thebits = 0 then
  24425. pTDefRegMap(@Self)^.clr := $00000004
  24426. else
  24427. pTDefRegMap(@Self)^.&set := $00000004;
  24428. end;
  24429. function TPORTF_TRISF.getTRISF2 : TBits_1; inline;
  24430. begin
  24431. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24432. end;
  24433. procedure TPORTF_TRISF.setTRISF3; inline;
  24434. begin
  24435. pTDefRegMap(@Self)^.&set := $00000008;
  24436. end;
  24437. procedure TPORTF_TRISF.clearTRISF3; inline;
  24438. begin
  24439. pTDefRegMap(@Self)^.clr := $00000008;
  24440. end;
  24441. procedure TPORTF_TRISF.setTRISF3(thebits : TBits_1); inline;
  24442. begin
  24443. if thebits = 0 then
  24444. pTDefRegMap(@Self)^.clr := $00000008
  24445. else
  24446. pTDefRegMap(@Self)^.&set := $00000008;
  24447. end;
  24448. function TPORTF_TRISF.getTRISF3 : TBits_1; inline;
  24449. begin
  24450. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24451. end;
  24452. procedure TPORTF_TRISF.setTRISF4; inline;
  24453. begin
  24454. pTDefRegMap(@Self)^.&set := $00000010;
  24455. end;
  24456. procedure TPORTF_TRISF.clearTRISF4; inline;
  24457. begin
  24458. pTDefRegMap(@Self)^.clr := $00000010;
  24459. end;
  24460. procedure TPORTF_TRISF.setTRISF4(thebits : TBits_1); inline;
  24461. begin
  24462. if thebits = 0 then
  24463. pTDefRegMap(@Self)^.clr := $00000010
  24464. else
  24465. pTDefRegMap(@Self)^.&set := $00000010;
  24466. end;
  24467. function TPORTF_TRISF.getTRISF4 : TBits_1; inline;
  24468. begin
  24469. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24470. end;
  24471. procedure TPORTF_TRISF.setTRISF5; inline;
  24472. begin
  24473. pTDefRegMap(@Self)^.&set := $00000020;
  24474. end;
  24475. procedure TPORTF_TRISF.clearTRISF5; inline;
  24476. begin
  24477. pTDefRegMap(@Self)^.clr := $00000020;
  24478. end;
  24479. procedure TPORTF_TRISF.setTRISF5(thebits : TBits_1); inline;
  24480. begin
  24481. if thebits = 0 then
  24482. pTDefRegMap(@Self)^.clr := $00000020
  24483. else
  24484. pTDefRegMap(@Self)^.&set := $00000020;
  24485. end;
  24486. function TPORTF_TRISF.getTRISF5 : TBits_1; inline;
  24487. begin
  24488. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24489. end;
  24490. procedure TPORTF_TRISF.setTRISF6; inline;
  24491. begin
  24492. pTDefRegMap(@Self)^.&set := $00000040;
  24493. end;
  24494. procedure TPORTF_TRISF.clearTRISF6; inline;
  24495. begin
  24496. pTDefRegMap(@Self)^.clr := $00000040;
  24497. end;
  24498. procedure TPORTF_TRISF.setTRISF6(thebits : TBits_1); inline;
  24499. begin
  24500. if thebits = 0 then
  24501. pTDefRegMap(@Self)^.clr := $00000040
  24502. else
  24503. pTDefRegMap(@Self)^.&set := $00000040;
  24504. end;
  24505. function TPORTF_TRISF.getTRISF6 : TBits_1; inline;
  24506. begin
  24507. getTRISF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24508. end;
  24509. procedure TPORTF_TRISF.setTRISF7; inline;
  24510. begin
  24511. pTDefRegMap(@Self)^.&set := $00000080;
  24512. end;
  24513. procedure TPORTF_TRISF.clearTRISF7; inline;
  24514. begin
  24515. pTDefRegMap(@Self)^.clr := $00000080;
  24516. end;
  24517. procedure TPORTF_TRISF.setTRISF7(thebits : TBits_1); inline;
  24518. begin
  24519. if thebits = 0 then
  24520. pTDefRegMap(@Self)^.clr := $00000080
  24521. else
  24522. pTDefRegMap(@Self)^.&set := $00000080;
  24523. end;
  24524. function TPORTF_TRISF.getTRISF7 : TBits_1; inline;
  24525. begin
  24526. getTRISF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24527. end;
  24528. procedure TPORTF_TRISF.setTRISF8; inline;
  24529. begin
  24530. pTDefRegMap(@Self)^.&set := $00000100;
  24531. end;
  24532. procedure TPORTF_TRISF.clearTRISF8; inline;
  24533. begin
  24534. pTDefRegMap(@Self)^.clr := $00000100;
  24535. end;
  24536. procedure TPORTF_TRISF.setTRISF8(thebits : TBits_1); inline;
  24537. begin
  24538. if thebits = 0 then
  24539. pTDefRegMap(@Self)^.clr := $00000100
  24540. else
  24541. pTDefRegMap(@Self)^.&set := $00000100;
  24542. end;
  24543. function TPORTF_TRISF.getTRISF8 : TBits_1; inline;
  24544. begin
  24545. getTRISF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24546. end;
  24547. procedure TPORTF_TRISF.setTRISF12; inline;
  24548. begin
  24549. pTDefRegMap(@Self)^.&set := $00001000;
  24550. end;
  24551. procedure TPORTF_TRISF.clearTRISF12; inline;
  24552. begin
  24553. pTDefRegMap(@Self)^.clr := $00001000;
  24554. end;
  24555. procedure TPORTF_TRISF.setTRISF12(thebits : TBits_1); inline;
  24556. begin
  24557. if thebits = 0 then
  24558. pTDefRegMap(@Self)^.clr := $00001000
  24559. else
  24560. pTDefRegMap(@Self)^.&set := $00001000;
  24561. end;
  24562. function TPORTF_TRISF.getTRISF12 : TBits_1; inline;
  24563. begin
  24564. getTRISF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24565. end;
  24566. procedure TPORTF_TRISF.setTRISF13; inline;
  24567. begin
  24568. pTDefRegMap(@Self)^.&set := $00002000;
  24569. end;
  24570. procedure TPORTF_TRISF.clearTRISF13; inline;
  24571. begin
  24572. pTDefRegMap(@Self)^.clr := $00002000;
  24573. end;
  24574. procedure TPORTF_TRISF.setTRISF13(thebits : TBits_1); inline;
  24575. begin
  24576. if thebits = 0 then
  24577. pTDefRegMap(@Self)^.clr := $00002000
  24578. else
  24579. pTDefRegMap(@Self)^.&set := $00002000;
  24580. end;
  24581. function TPORTF_TRISF.getTRISF13 : TBits_1; inline;
  24582. begin
  24583. getTRISF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24584. end;
  24585. procedure TPORTF_TRISF.setw(thebits : TBits_32); inline;
  24586. begin
  24587. pTDefRegMap(@Self)^.val := thebits;
  24588. end;
  24589. function TPORTF_TRISF.getw : TBits_32; inline;
  24590. begin
  24591. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24592. end;
  24593. procedure TPORTF_PORTF.setRF0; inline;
  24594. begin
  24595. pTDefRegMap(@Self)^.&set := $00000001;
  24596. end;
  24597. procedure TPORTF_PORTF.clearRF0; inline;
  24598. begin
  24599. pTDefRegMap(@Self)^.clr := $00000001;
  24600. end;
  24601. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  24602. begin
  24603. if thebits = 0 then
  24604. pTDefRegMap(@Self)^.clr := $00000001
  24605. else
  24606. pTDefRegMap(@Self)^.&set := $00000001;
  24607. end;
  24608. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  24609. begin
  24610. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24611. end;
  24612. procedure TPORTF_PORTF.setRF1; inline;
  24613. begin
  24614. pTDefRegMap(@Self)^.&set := $00000002;
  24615. end;
  24616. procedure TPORTF_PORTF.clearRF1; inline;
  24617. begin
  24618. pTDefRegMap(@Self)^.clr := $00000002;
  24619. end;
  24620. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  24621. begin
  24622. if thebits = 0 then
  24623. pTDefRegMap(@Self)^.clr := $00000002
  24624. else
  24625. pTDefRegMap(@Self)^.&set := $00000002;
  24626. end;
  24627. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  24628. begin
  24629. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24630. end;
  24631. procedure TPORTF_PORTF.setRF2; inline;
  24632. begin
  24633. pTDefRegMap(@Self)^.&set := $00000004;
  24634. end;
  24635. procedure TPORTF_PORTF.clearRF2; inline;
  24636. begin
  24637. pTDefRegMap(@Self)^.clr := $00000004;
  24638. end;
  24639. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  24640. begin
  24641. if thebits = 0 then
  24642. pTDefRegMap(@Self)^.clr := $00000004
  24643. else
  24644. pTDefRegMap(@Self)^.&set := $00000004;
  24645. end;
  24646. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  24647. begin
  24648. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24649. end;
  24650. procedure TPORTF_PORTF.setRF3; inline;
  24651. begin
  24652. pTDefRegMap(@Self)^.&set := $00000008;
  24653. end;
  24654. procedure TPORTF_PORTF.clearRF3; inline;
  24655. begin
  24656. pTDefRegMap(@Self)^.clr := $00000008;
  24657. end;
  24658. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  24659. begin
  24660. if thebits = 0 then
  24661. pTDefRegMap(@Self)^.clr := $00000008
  24662. else
  24663. pTDefRegMap(@Self)^.&set := $00000008;
  24664. end;
  24665. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  24666. begin
  24667. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24668. end;
  24669. procedure TPORTF_PORTF.setRF4; inline;
  24670. begin
  24671. pTDefRegMap(@Self)^.&set := $00000010;
  24672. end;
  24673. procedure TPORTF_PORTF.clearRF4; inline;
  24674. begin
  24675. pTDefRegMap(@Self)^.clr := $00000010;
  24676. end;
  24677. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  24678. begin
  24679. if thebits = 0 then
  24680. pTDefRegMap(@Self)^.clr := $00000010
  24681. else
  24682. pTDefRegMap(@Self)^.&set := $00000010;
  24683. end;
  24684. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  24685. begin
  24686. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24687. end;
  24688. procedure TPORTF_PORTF.setRF5; inline;
  24689. begin
  24690. pTDefRegMap(@Self)^.&set := $00000020;
  24691. end;
  24692. procedure TPORTF_PORTF.clearRF5; inline;
  24693. begin
  24694. pTDefRegMap(@Self)^.clr := $00000020;
  24695. end;
  24696. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  24697. begin
  24698. if thebits = 0 then
  24699. pTDefRegMap(@Self)^.clr := $00000020
  24700. else
  24701. pTDefRegMap(@Self)^.&set := $00000020;
  24702. end;
  24703. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  24704. begin
  24705. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24706. end;
  24707. procedure TPORTF_PORTF.setRF6; inline;
  24708. begin
  24709. pTDefRegMap(@Self)^.&set := $00000040;
  24710. end;
  24711. procedure TPORTF_PORTF.clearRF6; inline;
  24712. begin
  24713. pTDefRegMap(@Self)^.clr := $00000040;
  24714. end;
  24715. procedure TPORTF_PORTF.setRF6(thebits : TBits_1); inline;
  24716. begin
  24717. if thebits = 0 then
  24718. pTDefRegMap(@Self)^.clr := $00000040
  24719. else
  24720. pTDefRegMap(@Self)^.&set := $00000040;
  24721. end;
  24722. function TPORTF_PORTF.getRF6 : TBits_1; inline;
  24723. begin
  24724. getRF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24725. end;
  24726. procedure TPORTF_PORTF.setRF7; inline;
  24727. begin
  24728. pTDefRegMap(@Self)^.&set := $00000080;
  24729. end;
  24730. procedure TPORTF_PORTF.clearRF7; inline;
  24731. begin
  24732. pTDefRegMap(@Self)^.clr := $00000080;
  24733. end;
  24734. procedure TPORTF_PORTF.setRF7(thebits : TBits_1); inline;
  24735. begin
  24736. if thebits = 0 then
  24737. pTDefRegMap(@Self)^.clr := $00000080
  24738. else
  24739. pTDefRegMap(@Self)^.&set := $00000080;
  24740. end;
  24741. function TPORTF_PORTF.getRF7 : TBits_1; inline;
  24742. begin
  24743. getRF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24744. end;
  24745. procedure TPORTF_PORTF.setRF8; inline;
  24746. begin
  24747. pTDefRegMap(@Self)^.&set := $00000100;
  24748. end;
  24749. procedure TPORTF_PORTF.clearRF8; inline;
  24750. begin
  24751. pTDefRegMap(@Self)^.clr := $00000100;
  24752. end;
  24753. procedure TPORTF_PORTF.setRF8(thebits : TBits_1); inline;
  24754. begin
  24755. if thebits = 0 then
  24756. pTDefRegMap(@Self)^.clr := $00000100
  24757. else
  24758. pTDefRegMap(@Self)^.&set := $00000100;
  24759. end;
  24760. function TPORTF_PORTF.getRF8 : TBits_1; inline;
  24761. begin
  24762. getRF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24763. end;
  24764. procedure TPORTF_PORTF.setRF12; inline;
  24765. begin
  24766. pTDefRegMap(@Self)^.&set := $00001000;
  24767. end;
  24768. procedure TPORTF_PORTF.clearRF12; inline;
  24769. begin
  24770. pTDefRegMap(@Self)^.clr := $00001000;
  24771. end;
  24772. procedure TPORTF_PORTF.setRF12(thebits : TBits_1); inline;
  24773. begin
  24774. if thebits = 0 then
  24775. pTDefRegMap(@Self)^.clr := $00001000
  24776. else
  24777. pTDefRegMap(@Self)^.&set := $00001000;
  24778. end;
  24779. function TPORTF_PORTF.getRF12 : TBits_1; inline;
  24780. begin
  24781. getRF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24782. end;
  24783. procedure TPORTF_PORTF.setRF13; inline;
  24784. begin
  24785. pTDefRegMap(@Self)^.&set := $00002000;
  24786. end;
  24787. procedure TPORTF_PORTF.clearRF13; inline;
  24788. begin
  24789. pTDefRegMap(@Self)^.clr := $00002000;
  24790. end;
  24791. procedure TPORTF_PORTF.setRF13(thebits : TBits_1); inline;
  24792. begin
  24793. if thebits = 0 then
  24794. pTDefRegMap(@Self)^.clr := $00002000
  24795. else
  24796. pTDefRegMap(@Self)^.&set := $00002000;
  24797. end;
  24798. function TPORTF_PORTF.getRF13 : TBits_1; inline;
  24799. begin
  24800. getRF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24801. end;
  24802. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  24803. begin
  24804. pTDefRegMap(@Self)^.val := thebits;
  24805. end;
  24806. function TPORTF_PORTF.getw : TBits_32; inline;
  24807. begin
  24808. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24809. end;
  24810. procedure TPORTF_LATF.setLATF0; inline;
  24811. begin
  24812. pTDefRegMap(@Self)^.&set := $00000001;
  24813. end;
  24814. procedure TPORTF_LATF.clearLATF0; inline;
  24815. begin
  24816. pTDefRegMap(@Self)^.clr := $00000001;
  24817. end;
  24818. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  24819. begin
  24820. if thebits = 0 then
  24821. pTDefRegMap(@Self)^.clr := $00000001
  24822. else
  24823. pTDefRegMap(@Self)^.&set := $00000001;
  24824. end;
  24825. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  24826. begin
  24827. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24828. end;
  24829. procedure TPORTF_LATF.setLATF1; inline;
  24830. begin
  24831. pTDefRegMap(@Self)^.&set := $00000002;
  24832. end;
  24833. procedure TPORTF_LATF.clearLATF1; inline;
  24834. begin
  24835. pTDefRegMap(@Self)^.clr := $00000002;
  24836. end;
  24837. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  24838. begin
  24839. if thebits = 0 then
  24840. pTDefRegMap(@Self)^.clr := $00000002
  24841. else
  24842. pTDefRegMap(@Self)^.&set := $00000002;
  24843. end;
  24844. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  24845. begin
  24846. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24847. end;
  24848. procedure TPORTF_LATF.setLATF2; inline;
  24849. begin
  24850. pTDefRegMap(@Self)^.&set := $00000004;
  24851. end;
  24852. procedure TPORTF_LATF.clearLATF2; inline;
  24853. begin
  24854. pTDefRegMap(@Self)^.clr := $00000004;
  24855. end;
  24856. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  24857. begin
  24858. if thebits = 0 then
  24859. pTDefRegMap(@Self)^.clr := $00000004
  24860. else
  24861. pTDefRegMap(@Self)^.&set := $00000004;
  24862. end;
  24863. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  24864. begin
  24865. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24866. end;
  24867. procedure TPORTF_LATF.setLATF3; inline;
  24868. begin
  24869. pTDefRegMap(@Self)^.&set := $00000008;
  24870. end;
  24871. procedure TPORTF_LATF.clearLATF3; inline;
  24872. begin
  24873. pTDefRegMap(@Self)^.clr := $00000008;
  24874. end;
  24875. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  24876. begin
  24877. if thebits = 0 then
  24878. pTDefRegMap(@Self)^.clr := $00000008
  24879. else
  24880. pTDefRegMap(@Self)^.&set := $00000008;
  24881. end;
  24882. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  24883. begin
  24884. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24885. end;
  24886. procedure TPORTF_LATF.setLATF4; inline;
  24887. begin
  24888. pTDefRegMap(@Self)^.&set := $00000010;
  24889. end;
  24890. procedure TPORTF_LATF.clearLATF4; inline;
  24891. begin
  24892. pTDefRegMap(@Self)^.clr := $00000010;
  24893. end;
  24894. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  24895. begin
  24896. if thebits = 0 then
  24897. pTDefRegMap(@Self)^.clr := $00000010
  24898. else
  24899. pTDefRegMap(@Self)^.&set := $00000010;
  24900. end;
  24901. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  24902. begin
  24903. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24904. end;
  24905. procedure TPORTF_LATF.setLATF5; inline;
  24906. begin
  24907. pTDefRegMap(@Self)^.&set := $00000020;
  24908. end;
  24909. procedure TPORTF_LATF.clearLATF5; inline;
  24910. begin
  24911. pTDefRegMap(@Self)^.clr := $00000020;
  24912. end;
  24913. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  24914. begin
  24915. if thebits = 0 then
  24916. pTDefRegMap(@Self)^.clr := $00000020
  24917. else
  24918. pTDefRegMap(@Self)^.&set := $00000020;
  24919. end;
  24920. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  24921. begin
  24922. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24923. end;
  24924. procedure TPORTF_LATF.setLATF6; inline;
  24925. begin
  24926. pTDefRegMap(@Self)^.&set := $00000040;
  24927. end;
  24928. procedure TPORTF_LATF.clearLATF6; inline;
  24929. begin
  24930. pTDefRegMap(@Self)^.clr := $00000040;
  24931. end;
  24932. procedure TPORTF_LATF.setLATF6(thebits : TBits_1); inline;
  24933. begin
  24934. if thebits = 0 then
  24935. pTDefRegMap(@Self)^.clr := $00000040
  24936. else
  24937. pTDefRegMap(@Self)^.&set := $00000040;
  24938. end;
  24939. function TPORTF_LATF.getLATF6 : TBits_1; inline;
  24940. begin
  24941. getLATF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24942. end;
  24943. procedure TPORTF_LATF.setLATF7; inline;
  24944. begin
  24945. pTDefRegMap(@Self)^.&set := $00000080;
  24946. end;
  24947. procedure TPORTF_LATF.clearLATF7; inline;
  24948. begin
  24949. pTDefRegMap(@Self)^.clr := $00000080;
  24950. end;
  24951. procedure TPORTF_LATF.setLATF7(thebits : TBits_1); inline;
  24952. begin
  24953. if thebits = 0 then
  24954. pTDefRegMap(@Self)^.clr := $00000080
  24955. else
  24956. pTDefRegMap(@Self)^.&set := $00000080;
  24957. end;
  24958. function TPORTF_LATF.getLATF7 : TBits_1; inline;
  24959. begin
  24960. getLATF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24961. end;
  24962. procedure TPORTF_LATF.setLATF8; inline;
  24963. begin
  24964. pTDefRegMap(@Self)^.&set := $00000100;
  24965. end;
  24966. procedure TPORTF_LATF.clearLATF8; inline;
  24967. begin
  24968. pTDefRegMap(@Self)^.clr := $00000100;
  24969. end;
  24970. procedure TPORTF_LATF.setLATF8(thebits : TBits_1); inline;
  24971. begin
  24972. if thebits = 0 then
  24973. pTDefRegMap(@Self)^.clr := $00000100
  24974. else
  24975. pTDefRegMap(@Self)^.&set := $00000100;
  24976. end;
  24977. function TPORTF_LATF.getLATF8 : TBits_1; inline;
  24978. begin
  24979. getLATF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24980. end;
  24981. procedure TPORTF_LATF.setLATF12; inline;
  24982. begin
  24983. pTDefRegMap(@Self)^.&set := $00001000;
  24984. end;
  24985. procedure TPORTF_LATF.clearLATF12; inline;
  24986. begin
  24987. pTDefRegMap(@Self)^.clr := $00001000;
  24988. end;
  24989. procedure TPORTF_LATF.setLATF12(thebits : TBits_1); inline;
  24990. begin
  24991. if thebits = 0 then
  24992. pTDefRegMap(@Self)^.clr := $00001000
  24993. else
  24994. pTDefRegMap(@Self)^.&set := $00001000;
  24995. end;
  24996. function TPORTF_LATF.getLATF12 : TBits_1; inline;
  24997. begin
  24998. getLATF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24999. end;
  25000. procedure TPORTF_LATF.setLATF13; inline;
  25001. begin
  25002. pTDefRegMap(@Self)^.&set := $00002000;
  25003. end;
  25004. procedure TPORTF_LATF.clearLATF13; inline;
  25005. begin
  25006. pTDefRegMap(@Self)^.clr := $00002000;
  25007. end;
  25008. procedure TPORTF_LATF.setLATF13(thebits : TBits_1); inline;
  25009. begin
  25010. if thebits = 0 then
  25011. pTDefRegMap(@Self)^.clr := $00002000
  25012. else
  25013. pTDefRegMap(@Self)^.&set := $00002000;
  25014. end;
  25015. function TPORTF_LATF.getLATF13 : TBits_1; inline;
  25016. begin
  25017. getLATF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25018. end;
  25019. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  25020. begin
  25021. pTDefRegMap(@Self)^.val := thebits;
  25022. end;
  25023. function TPORTF_LATF.getw : TBits_32; inline;
  25024. begin
  25025. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25026. end;
  25027. procedure TPORTF_ODCF.setODCF0; inline;
  25028. begin
  25029. pTDefRegMap(@Self)^.&set := $00000001;
  25030. end;
  25031. procedure TPORTF_ODCF.clearODCF0; inline;
  25032. begin
  25033. pTDefRegMap(@Self)^.clr := $00000001;
  25034. end;
  25035. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  25036. begin
  25037. if thebits = 0 then
  25038. pTDefRegMap(@Self)^.clr := $00000001
  25039. else
  25040. pTDefRegMap(@Self)^.&set := $00000001;
  25041. end;
  25042. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  25043. begin
  25044. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25045. end;
  25046. procedure TPORTF_ODCF.setODCF1; inline;
  25047. begin
  25048. pTDefRegMap(@Self)^.&set := $00000002;
  25049. end;
  25050. procedure TPORTF_ODCF.clearODCF1; inline;
  25051. begin
  25052. pTDefRegMap(@Self)^.clr := $00000002;
  25053. end;
  25054. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  25055. begin
  25056. if thebits = 0 then
  25057. pTDefRegMap(@Self)^.clr := $00000002
  25058. else
  25059. pTDefRegMap(@Self)^.&set := $00000002;
  25060. end;
  25061. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  25062. begin
  25063. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25064. end;
  25065. procedure TPORTF_ODCF.setODCF2; inline;
  25066. begin
  25067. pTDefRegMap(@Self)^.&set := $00000004;
  25068. end;
  25069. procedure TPORTF_ODCF.clearODCF2; inline;
  25070. begin
  25071. pTDefRegMap(@Self)^.clr := $00000004;
  25072. end;
  25073. procedure TPORTF_ODCF.setODCF2(thebits : TBits_1); inline;
  25074. begin
  25075. if thebits = 0 then
  25076. pTDefRegMap(@Self)^.clr := $00000004
  25077. else
  25078. pTDefRegMap(@Self)^.&set := $00000004;
  25079. end;
  25080. function TPORTF_ODCF.getODCF2 : TBits_1; inline;
  25081. begin
  25082. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25083. end;
  25084. procedure TPORTF_ODCF.setODCF3; inline;
  25085. begin
  25086. pTDefRegMap(@Self)^.&set := $00000008;
  25087. end;
  25088. procedure TPORTF_ODCF.clearODCF3; inline;
  25089. begin
  25090. pTDefRegMap(@Self)^.clr := $00000008;
  25091. end;
  25092. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  25093. begin
  25094. if thebits = 0 then
  25095. pTDefRegMap(@Self)^.clr := $00000008
  25096. else
  25097. pTDefRegMap(@Self)^.&set := $00000008;
  25098. end;
  25099. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  25100. begin
  25101. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25102. end;
  25103. procedure TPORTF_ODCF.setODCF4; inline;
  25104. begin
  25105. pTDefRegMap(@Self)^.&set := $00000010;
  25106. end;
  25107. procedure TPORTF_ODCF.clearODCF4; inline;
  25108. begin
  25109. pTDefRegMap(@Self)^.clr := $00000010;
  25110. end;
  25111. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  25112. begin
  25113. if thebits = 0 then
  25114. pTDefRegMap(@Self)^.clr := $00000010
  25115. else
  25116. pTDefRegMap(@Self)^.&set := $00000010;
  25117. end;
  25118. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  25119. begin
  25120. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25121. end;
  25122. procedure TPORTF_ODCF.setODCF5; inline;
  25123. begin
  25124. pTDefRegMap(@Self)^.&set := $00000020;
  25125. end;
  25126. procedure TPORTF_ODCF.clearODCF5; inline;
  25127. begin
  25128. pTDefRegMap(@Self)^.clr := $00000020;
  25129. end;
  25130. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  25131. begin
  25132. if thebits = 0 then
  25133. pTDefRegMap(@Self)^.clr := $00000020
  25134. else
  25135. pTDefRegMap(@Self)^.&set := $00000020;
  25136. end;
  25137. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  25138. begin
  25139. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25140. end;
  25141. procedure TPORTF_ODCF.setODCF6; inline;
  25142. begin
  25143. pTDefRegMap(@Self)^.&set := $00000040;
  25144. end;
  25145. procedure TPORTF_ODCF.clearODCF6; inline;
  25146. begin
  25147. pTDefRegMap(@Self)^.clr := $00000040;
  25148. end;
  25149. procedure TPORTF_ODCF.setODCF6(thebits : TBits_1); inline;
  25150. begin
  25151. if thebits = 0 then
  25152. pTDefRegMap(@Self)^.clr := $00000040
  25153. else
  25154. pTDefRegMap(@Self)^.&set := $00000040;
  25155. end;
  25156. function TPORTF_ODCF.getODCF6 : TBits_1; inline;
  25157. begin
  25158. getODCF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25159. end;
  25160. procedure TPORTF_ODCF.setODCF7; inline;
  25161. begin
  25162. pTDefRegMap(@Self)^.&set := $00000080;
  25163. end;
  25164. procedure TPORTF_ODCF.clearODCF7; inline;
  25165. begin
  25166. pTDefRegMap(@Self)^.clr := $00000080;
  25167. end;
  25168. procedure TPORTF_ODCF.setODCF7(thebits : TBits_1); inline;
  25169. begin
  25170. if thebits = 0 then
  25171. pTDefRegMap(@Self)^.clr := $00000080
  25172. else
  25173. pTDefRegMap(@Self)^.&set := $00000080;
  25174. end;
  25175. function TPORTF_ODCF.getODCF7 : TBits_1; inline;
  25176. begin
  25177. getODCF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25178. end;
  25179. procedure TPORTF_ODCF.setODCF8; inline;
  25180. begin
  25181. pTDefRegMap(@Self)^.&set := $00000100;
  25182. end;
  25183. procedure TPORTF_ODCF.clearODCF8; inline;
  25184. begin
  25185. pTDefRegMap(@Self)^.clr := $00000100;
  25186. end;
  25187. procedure TPORTF_ODCF.setODCF8(thebits : TBits_1); inline;
  25188. begin
  25189. if thebits = 0 then
  25190. pTDefRegMap(@Self)^.clr := $00000100
  25191. else
  25192. pTDefRegMap(@Self)^.&set := $00000100;
  25193. end;
  25194. function TPORTF_ODCF.getODCF8 : TBits_1; inline;
  25195. begin
  25196. getODCF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25197. end;
  25198. procedure TPORTF_ODCF.setODCF12; inline;
  25199. begin
  25200. pTDefRegMap(@Self)^.&set := $00001000;
  25201. end;
  25202. procedure TPORTF_ODCF.clearODCF12; inline;
  25203. begin
  25204. pTDefRegMap(@Self)^.clr := $00001000;
  25205. end;
  25206. procedure TPORTF_ODCF.setODCF12(thebits : TBits_1); inline;
  25207. begin
  25208. if thebits = 0 then
  25209. pTDefRegMap(@Self)^.clr := $00001000
  25210. else
  25211. pTDefRegMap(@Self)^.&set := $00001000;
  25212. end;
  25213. function TPORTF_ODCF.getODCF12 : TBits_1; inline;
  25214. begin
  25215. getODCF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25216. end;
  25217. procedure TPORTF_ODCF.setODCF13; inline;
  25218. begin
  25219. pTDefRegMap(@Self)^.&set := $00002000;
  25220. end;
  25221. procedure TPORTF_ODCF.clearODCF13; inline;
  25222. begin
  25223. pTDefRegMap(@Self)^.clr := $00002000;
  25224. end;
  25225. procedure TPORTF_ODCF.setODCF13(thebits : TBits_1); inline;
  25226. begin
  25227. if thebits = 0 then
  25228. pTDefRegMap(@Self)^.clr := $00002000
  25229. else
  25230. pTDefRegMap(@Self)^.&set := $00002000;
  25231. end;
  25232. function TPORTF_ODCF.getODCF13 : TBits_1; inline;
  25233. begin
  25234. getODCF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25235. end;
  25236. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  25237. begin
  25238. pTDefRegMap(@Self)^.val := thebits;
  25239. end;
  25240. function TPORTF_ODCF.getw : TBits_32; inline;
  25241. begin
  25242. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25243. end;
  25244. procedure TPORTG_TRISG.setTRISG0; inline;
  25245. begin
  25246. pTDefRegMap(@Self)^.&set := $00000001;
  25247. end;
  25248. procedure TPORTG_TRISG.clearTRISG0; inline;
  25249. begin
  25250. pTDefRegMap(@Self)^.clr := $00000001;
  25251. end;
  25252. procedure TPORTG_TRISG.setTRISG0(thebits : TBits_1); inline;
  25253. begin
  25254. if thebits = 0 then
  25255. pTDefRegMap(@Self)^.clr := $00000001
  25256. else
  25257. pTDefRegMap(@Self)^.&set := $00000001;
  25258. end;
  25259. function TPORTG_TRISG.getTRISG0 : TBits_1; inline;
  25260. begin
  25261. getTRISG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25262. end;
  25263. procedure TPORTG_TRISG.setTRISG1; inline;
  25264. begin
  25265. pTDefRegMap(@Self)^.&set := $00000002;
  25266. end;
  25267. procedure TPORTG_TRISG.clearTRISG1; inline;
  25268. begin
  25269. pTDefRegMap(@Self)^.clr := $00000002;
  25270. end;
  25271. procedure TPORTG_TRISG.setTRISG1(thebits : TBits_1); inline;
  25272. begin
  25273. if thebits = 0 then
  25274. pTDefRegMap(@Self)^.clr := $00000002
  25275. else
  25276. pTDefRegMap(@Self)^.&set := $00000002;
  25277. end;
  25278. function TPORTG_TRISG.getTRISG1 : TBits_1; inline;
  25279. begin
  25280. getTRISG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25281. end;
  25282. procedure TPORTG_TRISG.setTRISG2; inline;
  25283. begin
  25284. pTDefRegMap(@Self)^.&set := $00000004;
  25285. end;
  25286. procedure TPORTG_TRISG.clearTRISG2; inline;
  25287. begin
  25288. pTDefRegMap(@Self)^.clr := $00000004;
  25289. end;
  25290. procedure TPORTG_TRISG.setTRISG2(thebits : TBits_1); inline;
  25291. begin
  25292. if thebits = 0 then
  25293. pTDefRegMap(@Self)^.clr := $00000004
  25294. else
  25295. pTDefRegMap(@Self)^.&set := $00000004;
  25296. end;
  25297. function TPORTG_TRISG.getTRISG2 : TBits_1; inline;
  25298. begin
  25299. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25300. end;
  25301. procedure TPORTG_TRISG.setTRISG3; inline;
  25302. begin
  25303. pTDefRegMap(@Self)^.&set := $00000008;
  25304. end;
  25305. procedure TPORTG_TRISG.clearTRISG3; inline;
  25306. begin
  25307. pTDefRegMap(@Self)^.clr := $00000008;
  25308. end;
  25309. procedure TPORTG_TRISG.setTRISG3(thebits : TBits_1); inline;
  25310. begin
  25311. if thebits = 0 then
  25312. pTDefRegMap(@Self)^.clr := $00000008
  25313. else
  25314. pTDefRegMap(@Self)^.&set := $00000008;
  25315. end;
  25316. function TPORTG_TRISG.getTRISG3 : TBits_1; inline;
  25317. begin
  25318. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25319. end;
  25320. procedure TPORTG_TRISG.setTRISG6; inline;
  25321. begin
  25322. pTDefRegMap(@Self)^.&set := $00000040;
  25323. end;
  25324. procedure TPORTG_TRISG.clearTRISG6; inline;
  25325. begin
  25326. pTDefRegMap(@Self)^.clr := $00000040;
  25327. end;
  25328. procedure TPORTG_TRISG.setTRISG6(thebits : TBits_1); inline;
  25329. begin
  25330. if thebits = 0 then
  25331. pTDefRegMap(@Self)^.clr := $00000040
  25332. else
  25333. pTDefRegMap(@Self)^.&set := $00000040;
  25334. end;
  25335. function TPORTG_TRISG.getTRISG6 : TBits_1; inline;
  25336. begin
  25337. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25338. end;
  25339. procedure TPORTG_TRISG.setTRISG7; inline;
  25340. begin
  25341. pTDefRegMap(@Self)^.&set := $00000080;
  25342. end;
  25343. procedure TPORTG_TRISG.clearTRISG7; inline;
  25344. begin
  25345. pTDefRegMap(@Self)^.clr := $00000080;
  25346. end;
  25347. procedure TPORTG_TRISG.setTRISG7(thebits : TBits_1); inline;
  25348. begin
  25349. if thebits = 0 then
  25350. pTDefRegMap(@Self)^.clr := $00000080
  25351. else
  25352. pTDefRegMap(@Self)^.&set := $00000080;
  25353. end;
  25354. function TPORTG_TRISG.getTRISG7 : TBits_1; inline;
  25355. begin
  25356. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25357. end;
  25358. procedure TPORTG_TRISG.setTRISG8; inline;
  25359. begin
  25360. pTDefRegMap(@Self)^.&set := $00000100;
  25361. end;
  25362. procedure TPORTG_TRISG.clearTRISG8; inline;
  25363. begin
  25364. pTDefRegMap(@Self)^.clr := $00000100;
  25365. end;
  25366. procedure TPORTG_TRISG.setTRISG8(thebits : TBits_1); inline;
  25367. begin
  25368. if thebits = 0 then
  25369. pTDefRegMap(@Self)^.clr := $00000100
  25370. else
  25371. pTDefRegMap(@Self)^.&set := $00000100;
  25372. end;
  25373. function TPORTG_TRISG.getTRISG8 : TBits_1; inline;
  25374. begin
  25375. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25376. end;
  25377. procedure TPORTG_TRISG.setTRISG9; inline;
  25378. begin
  25379. pTDefRegMap(@Self)^.&set := $00000200;
  25380. end;
  25381. procedure TPORTG_TRISG.clearTRISG9; inline;
  25382. begin
  25383. pTDefRegMap(@Self)^.clr := $00000200;
  25384. end;
  25385. procedure TPORTG_TRISG.setTRISG9(thebits : TBits_1); inline;
  25386. begin
  25387. if thebits = 0 then
  25388. pTDefRegMap(@Self)^.clr := $00000200
  25389. else
  25390. pTDefRegMap(@Self)^.&set := $00000200;
  25391. end;
  25392. function TPORTG_TRISG.getTRISG9 : TBits_1; inline;
  25393. begin
  25394. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25395. end;
  25396. procedure TPORTG_TRISG.setTRISG12; inline;
  25397. begin
  25398. pTDefRegMap(@Self)^.&set := $00001000;
  25399. end;
  25400. procedure TPORTG_TRISG.clearTRISG12; inline;
  25401. begin
  25402. pTDefRegMap(@Self)^.clr := $00001000;
  25403. end;
  25404. procedure TPORTG_TRISG.setTRISG12(thebits : TBits_1); inline;
  25405. begin
  25406. if thebits = 0 then
  25407. pTDefRegMap(@Self)^.clr := $00001000
  25408. else
  25409. pTDefRegMap(@Self)^.&set := $00001000;
  25410. end;
  25411. function TPORTG_TRISG.getTRISG12 : TBits_1; inline;
  25412. begin
  25413. getTRISG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25414. end;
  25415. procedure TPORTG_TRISG.setTRISG13; inline;
  25416. begin
  25417. pTDefRegMap(@Self)^.&set := $00002000;
  25418. end;
  25419. procedure TPORTG_TRISG.clearTRISG13; inline;
  25420. begin
  25421. pTDefRegMap(@Self)^.clr := $00002000;
  25422. end;
  25423. procedure TPORTG_TRISG.setTRISG13(thebits : TBits_1); inline;
  25424. begin
  25425. if thebits = 0 then
  25426. pTDefRegMap(@Self)^.clr := $00002000
  25427. else
  25428. pTDefRegMap(@Self)^.&set := $00002000;
  25429. end;
  25430. function TPORTG_TRISG.getTRISG13 : TBits_1; inline;
  25431. begin
  25432. getTRISG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25433. end;
  25434. procedure TPORTG_TRISG.setTRISG14; inline;
  25435. begin
  25436. pTDefRegMap(@Self)^.&set := $00004000;
  25437. end;
  25438. procedure TPORTG_TRISG.clearTRISG14; inline;
  25439. begin
  25440. pTDefRegMap(@Self)^.clr := $00004000;
  25441. end;
  25442. procedure TPORTG_TRISG.setTRISG14(thebits : TBits_1); inline;
  25443. begin
  25444. if thebits = 0 then
  25445. pTDefRegMap(@Self)^.clr := $00004000
  25446. else
  25447. pTDefRegMap(@Self)^.&set := $00004000;
  25448. end;
  25449. function TPORTG_TRISG.getTRISG14 : TBits_1; inline;
  25450. begin
  25451. getTRISG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25452. end;
  25453. procedure TPORTG_TRISG.setTRISG15; inline;
  25454. begin
  25455. pTDefRegMap(@Self)^.&set := $00008000;
  25456. end;
  25457. procedure TPORTG_TRISG.clearTRISG15; inline;
  25458. begin
  25459. pTDefRegMap(@Self)^.clr := $00008000;
  25460. end;
  25461. procedure TPORTG_TRISG.setTRISG15(thebits : TBits_1); inline;
  25462. begin
  25463. if thebits = 0 then
  25464. pTDefRegMap(@Self)^.clr := $00008000
  25465. else
  25466. pTDefRegMap(@Self)^.&set := $00008000;
  25467. end;
  25468. function TPORTG_TRISG.getTRISG15 : TBits_1; inline;
  25469. begin
  25470. getTRISG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25471. end;
  25472. procedure TPORTG_TRISG.setw(thebits : TBits_32); inline;
  25473. begin
  25474. pTDefRegMap(@Self)^.val := thebits;
  25475. end;
  25476. function TPORTG_TRISG.getw : TBits_32; inline;
  25477. begin
  25478. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25479. end;
  25480. procedure TPORTG_PORTG.setRG0; inline;
  25481. begin
  25482. pTDefRegMap(@Self)^.&set := $00000001;
  25483. end;
  25484. procedure TPORTG_PORTG.clearRG0; inline;
  25485. begin
  25486. pTDefRegMap(@Self)^.clr := $00000001;
  25487. end;
  25488. procedure TPORTG_PORTG.setRG0(thebits : TBits_1); inline;
  25489. begin
  25490. if thebits = 0 then
  25491. pTDefRegMap(@Self)^.clr := $00000001
  25492. else
  25493. pTDefRegMap(@Self)^.&set := $00000001;
  25494. end;
  25495. function TPORTG_PORTG.getRG0 : TBits_1; inline;
  25496. begin
  25497. getRG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25498. end;
  25499. procedure TPORTG_PORTG.setRG1; inline;
  25500. begin
  25501. pTDefRegMap(@Self)^.&set := $00000002;
  25502. end;
  25503. procedure TPORTG_PORTG.clearRG1; inline;
  25504. begin
  25505. pTDefRegMap(@Self)^.clr := $00000002;
  25506. end;
  25507. procedure TPORTG_PORTG.setRG1(thebits : TBits_1); inline;
  25508. begin
  25509. if thebits = 0 then
  25510. pTDefRegMap(@Self)^.clr := $00000002
  25511. else
  25512. pTDefRegMap(@Self)^.&set := $00000002;
  25513. end;
  25514. function TPORTG_PORTG.getRG1 : TBits_1; inline;
  25515. begin
  25516. getRG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25517. end;
  25518. procedure TPORTG_PORTG.setRG2; inline;
  25519. begin
  25520. pTDefRegMap(@Self)^.&set := $00000004;
  25521. end;
  25522. procedure TPORTG_PORTG.clearRG2; inline;
  25523. begin
  25524. pTDefRegMap(@Self)^.clr := $00000004;
  25525. end;
  25526. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  25527. begin
  25528. if thebits = 0 then
  25529. pTDefRegMap(@Self)^.clr := $00000004
  25530. else
  25531. pTDefRegMap(@Self)^.&set := $00000004;
  25532. end;
  25533. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  25534. begin
  25535. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25536. end;
  25537. procedure TPORTG_PORTG.setRG3; inline;
  25538. begin
  25539. pTDefRegMap(@Self)^.&set := $00000008;
  25540. end;
  25541. procedure TPORTG_PORTG.clearRG3; inline;
  25542. begin
  25543. pTDefRegMap(@Self)^.clr := $00000008;
  25544. end;
  25545. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  25546. begin
  25547. if thebits = 0 then
  25548. pTDefRegMap(@Self)^.clr := $00000008
  25549. else
  25550. pTDefRegMap(@Self)^.&set := $00000008;
  25551. end;
  25552. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  25553. begin
  25554. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25555. end;
  25556. procedure TPORTG_PORTG.setRG6; inline;
  25557. begin
  25558. pTDefRegMap(@Self)^.&set := $00000040;
  25559. end;
  25560. procedure TPORTG_PORTG.clearRG6; inline;
  25561. begin
  25562. pTDefRegMap(@Self)^.clr := $00000040;
  25563. end;
  25564. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  25565. begin
  25566. if thebits = 0 then
  25567. pTDefRegMap(@Self)^.clr := $00000040
  25568. else
  25569. pTDefRegMap(@Self)^.&set := $00000040;
  25570. end;
  25571. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  25572. begin
  25573. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25574. end;
  25575. procedure TPORTG_PORTG.setRG7; inline;
  25576. begin
  25577. pTDefRegMap(@Self)^.&set := $00000080;
  25578. end;
  25579. procedure TPORTG_PORTG.clearRG7; inline;
  25580. begin
  25581. pTDefRegMap(@Self)^.clr := $00000080;
  25582. end;
  25583. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  25584. begin
  25585. if thebits = 0 then
  25586. pTDefRegMap(@Self)^.clr := $00000080
  25587. else
  25588. pTDefRegMap(@Self)^.&set := $00000080;
  25589. end;
  25590. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  25591. begin
  25592. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25593. end;
  25594. procedure TPORTG_PORTG.setRG8; inline;
  25595. begin
  25596. pTDefRegMap(@Self)^.&set := $00000100;
  25597. end;
  25598. procedure TPORTG_PORTG.clearRG8; inline;
  25599. begin
  25600. pTDefRegMap(@Self)^.clr := $00000100;
  25601. end;
  25602. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  25603. begin
  25604. if thebits = 0 then
  25605. pTDefRegMap(@Self)^.clr := $00000100
  25606. else
  25607. pTDefRegMap(@Self)^.&set := $00000100;
  25608. end;
  25609. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  25610. begin
  25611. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25612. end;
  25613. procedure TPORTG_PORTG.setRG9; inline;
  25614. begin
  25615. pTDefRegMap(@Self)^.&set := $00000200;
  25616. end;
  25617. procedure TPORTG_PORTG.clearRG9; inline;
  25618. begin
  25619. pTDefRegMap(@Self)^.clr := $00000200;
  25620. end;
  25621. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  25622. begin
  25623. if thebits = 0 then
  25624. pTDefRegMap(@Self)^.clr := $00000200
  25625. else
  25626. pTDefRegMap(@Self)^.&set := $00000200;
  25627. end;
  25628. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  25629. begin
  25630. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25631. end;
  25632. procedure TPORTG_PORTG.setRG12; inline;
  25633. begin
  25634. pTDefRegMap(@Self)^.&set := $00001000;
  25635. end;
  25636. procedure TPORTG_PORTG.clearRG12; inline;
  25637. begin
  25638. pTDefRegMap(@Self)^.clr := $00001000;
  25639. end;
  25640. procedure TPORTG_PORTG.setRG12(thebits : TBits_1); inline;
  25641. begin
  25642. if thebits = 0 then
  25643. pTDefRegMap(@Self)^.clr := $00001000
  25644. else
  25645. pTDefRegMap(@Self)^.&set := $00001000;
  25646. end;
  25647. function TPORTG_PORTG.getRG12 : TBits_1; inline;
  25648. begin
  25649. getRG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25650. end;
  25651. procedure TPORTG_PORTG.setRG13; inline;
  25652. begin
  25653. pTDefRegMap(@Self)^.&set := $00002000;
  25654. end;
  25655. procedure TPORTG_PORTG.clearRG13; inline;
  25656. begin
  25657. pTDefRegMap(@Self)^.clr := $00002000;
  25658. end;
  25659. procedure TPORTG_PORTG.setRG13(thebits : TBits_1); inline;
  25660. begin
  25661. if thebits = 0 then
  25662. pTDefRegMap(@Self)^.clr := $00002000
  25663. else
  25664. pTDefRegMap(@Self)^.&set := $00002000;
  25665. end;
  25666. function TPORTG_PORTG.getRG13 : TBits_1; inline;
  25667. begin
  25668. getRG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25669. end;
  25670. procedure TPORTG_PORTG.setRG14; inline;
  25671. begin
  25672. pTDefRegMap(@Self)^.&set := $00004000;
  25673. end;
  25674. procedure TPORTG_PORTG.clearRG14; inline;
  25675. begin
  25676. pTDefRegMap(@Self)^.clr := $00004000;
  25677. end;
  25678. procedure TPORTG_PORTG.setRG14(thebits : TBits_1); inline;
  25679. begin
  25680. if thebits = 0 then
  25681. pTDefRegMap(@Self)^.clr := $00004000
  25682. else
  25683. pTDefRegMap(@Self)^.&set := $00004000;
  25684. end;
  25685. function TPORTG_PORTG.getRG14 : TBits_1; inline;
  25686. begin
  25687. getRG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25688. end;
  25689. procedure TPORTG_PORTG.setRG15; inline;
  25690. begin
  25691. pTDefRegMap(@Self)^.&set := $00008000;
  25692. end;
  25693. procedure TPORTG_PORTG.clearRG15; inline;
  25694. begin
  25695. pTDefRegMap(@Self)^.clr := $00008000;
  25696. end;
  25697. procedure TPORTG_PORTG.setRG15(thebits : TBits_1); inline;
  25698. begin
  25699. if thebits = 0 then
  25700. pTDefRegMap(@Self)^.clr := $00008000
  25701. else
  25702. pTDefRegMap(@Self)^.&set := $00008000;
  25703. end;
  25704. function TPORTG_PORTG.getRG15 : TBits_1; inline;
  25705. begin
  25706. getRG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25707. end;
  25708. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  25709. begin
  25710. pTDefRegMap(@Self)^.val := thebits;
  25711. end;
  25712. function TPORTG_PORTG.getw : TBits_32; inline;
  25713. begin
  25714. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25715. end;
  25716. procedure TPORTG_LATG.setLATG0; inline;
  25717. begin
  25718. pTDefRegMap(@Self)^.&set := $00000001;
  25719. end;
  25720. procedure TPORTG_LATG.clearLATG0; inline;
  25721. begin
  25722. pTDefRegMap(@Self)^.clr := $00000001;
  25723. end;
  25724. procedure TPORTG_LATG.setLATG0(thebits : TBits_1); inline;
  25725. begin
  25726. if thebits = 0 then
  25727. pTDefRegMap(@Self)^.clr := $00000001
  25728. else
  25729. pTDefRegMap(@Self)^.&set := $00000001;
  25730. end;
  25731. function TPORTG_LATG.getLATG0 : TBits_1; inline;
  25732. begin
  25733. getLATG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25734. end;
  25735. procedure TPORTG_LATG.setLATG1; inline;
  25736. begin
  25737. pTDefRegMap(@Self)^.&set := $00000002;
  25738. end;
  25739. procedure TPORTG_LATG.clearLATG1; inline;
  25740. begin
  25741. pTDefRegMap(@Self)^.clr := $00000002;
  25742. end;
  25743. procedure TPORTG_LATG.setLATG1(thebits : TBits_1); inline;
  25744. begin
  25745. if thebits = 0 then
  25746. pTDefRegMap(@Self)^.clr := $00000002
  25747. else
  25748. pTDefRegMap(@Self)^.&set := $00000002;
  25749. end;
  25750. function TPORTG_LATG.getLATG1 : TBits_1; inline;
  25751. begin
  25752. getLATG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25753. end;
  25754. procedure TPORTG_LATG.setLATG2; inline;
  25755. begin
  25756. pTDefRegMap(@Self)^.&set := $00000004;
  25757. end;
  25758. procedure TPORTG_LATG.clearLATG2; inline;
  25759. begin
  25760. pTDefRegMap(@Self)^.clr := $00000004;
  25761. end;
  25762. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  25763. begin
  25764. if thebits = 0 then
  25765. pTDefRegMap(@Self)^.clr := $00000004
  25766. else
  25767. pTDefRegMap(@Self)^.&set := $00000004;
  25768. end;
  25769. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  25770. begin
  25771. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25772. end;
  25773. procedure TPORTG_LATG.setLATG3; inline;
  25774. begin
  25775. pTDefRegMap(@Self)^.&set := $00000008;
  25776. end;
  25777. procedure TPORTG_LATG.clearLATG3; inline;
  25778. begin
  25779. pTDefRegMap(@Self)^.clr := $00000008;
  25780. end;
  25781. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  25782. begin
  25783. if thebits = 0 then
  25784. pTDefRegMap(@Self)^.clr := $00000008
  25785. else
  25786. pTDefRegMap(@Self)^.&set := $00000008;
  25787. end;
  25788. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  25789. begin
  25790. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25791. end;
  25792. procedure TPORTG_LATG.setLATG6; inline;
  25793. begin
  25794. pTDefRegMap(@Self)^.&set := $00000040;
  25795. end;
  25796. procedure TPORTG_LATG.clearLATG6; inline;
  25797. begin
  25798. pTDefRegMap(@Self)^.clr := $00000040;
  25799. end;
  25800. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  25801. begin
  25802. if thebits = 0 then
  25803. pTDefRegMap(@Self)^.clr := $00000040
  25804. else
  25805. pTDefRegMap(@Self)^.&set := $00000040;
  25806. end;
  25807. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  25808. begin
  25809. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25810. end;
  25811. procedure TPORTG_LATG.setLATG7; inline;
  25812. begin
  25813. pTDefRegMap(@Self)^.&set := $00000080;
  25814. end;
  25815. procedure TPORTG_LATG.clearLATG7; inline;
  25816. begin
  25817. pTDefRegMap(@Self)^.clr := $00000080;
  25818. end;
  25819. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  25820. begin
  25821. if thebits = 0 then
  25822. pTDefRegMap(@Self)^.clr := $00000080
  25823. else
  25824. pTDefRegMap(@Self)^.&set := $00000080;
  25825. end;
  25826. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  25827. begin
  25828. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25829. end;
  25830. procedure TPORTG_LATG.setLATG8; inline;
  25831. begin
  25832. pTDefRegMap(@Self)^.&set := $00000100;
  25833. end;
  25834. procedure TPORTG_LATG.clearLATG8; inline;
  25835. begin
  25836. pTDefRegMap(@Self)^.clr := $00000100;
  25837. end;
  25838. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  25839. begin
  25840. if thebits = 0 then
  25841. pTDefRegMap(@Self)^.clr := $00000100
  25842. else
  25843. pTDefRegMap(@Self)^.&set := $00000100;
  25844. end;
  25845. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  25846. begin
  25847. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25848. end;
  25849. procedure TPORTG_LATG.setLATG9; inline;
  25850. begin
  25851. pTDefRegMap(@Self)^.&set := $00000200;
  25852. end;
  25853. procedure TPORTG_LATG.clearLATG9; inline;
  25854. begin
  25855. pTDefRegMap(@Self)^.clr := $00000200;
  25856. end;
  25857. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  25858. begin
  25859. if thebits = 0 then
  25860. pTDefRegMap(@Self)^.clr := $00000200
  25861. else
  25862. pTDefRegMap(@Self)^.&set := $00000200;
  25863. end;
  25864. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  25865. begin
  25866. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25867. end;
  25868. procedure TPORTG_LATG.setLATG12; inline;
  25869. begin
  25870. pTDefRegMap(@Self)^.&set := $00001000;
  25871. end;
  25872. procedure TPORTG_LATG.clearLATG12; inline;
  25873. begin
  25874. pTDefRegMap(@Self)^.clr := $00001000;
  25875. end;
  25876. procedure TPORTG_LATG.setLATG12(thebits : TBits_1); inline;
  25877. begin
  25878. if thebits = 0 then
  25879. pTDefRegMap(@Self)^.clr := $00001000
  25880. else
  25881. pTDefRegMap(@Self)^.&set := $00001000;
  25882. end;
  25883. function TPORTG_LATG.getLATG12 : TBits_1; inline;
  25884. begin
  25885. getLATG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25886. end;
  25887. procedure TPORTG_LATG.setLATG13; inline;
  25888. begin
  25889. pTDefRegMap(@Self)^.&set := $00002000;
  25890. end;
  25891. procedure TPORTG_LATG.clearLATG13; inline;
  25892. begin
  25893. pTDefRegMap(@Self)^.clr := $00002000;
  25894. end;
  25895. procedure TPORTG_LATG.setLATG13(thebits : TBits_1); inline;
  25896. begin
  25897. if thebits = 0 then
  25898. pTDefRegMap(@Self)^.clr := $00002000
  25899. else
  25900. pTDefRegMap(@Self)^.&set := $00002000;
  25901. end;
  25902. function TPORTG_LATG.getLATG13 : TBits_1; inline;
  25903. begin
  25904. getLATG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25905. end;
  25906. procedure TPORTG_LATG.setLATG14; inline;
  25907. begin
  25908. pTDefRegMap(@Self)^.&set := $00004000;
  25909. end;
  25910. procedure TPORTG_LATG.clearLATG14; inline;
  25911. begin
  25912. pTDefRegMap(@Self)^.clr := $00004000;
  25913. end;
  25914. procedure TPORTG_LATG.setLATG14(thebits : TBits_1); inline;
  25915. begin
  25916. if thebits = 0 then
  25917. pTDefRegMap(@Self)^.clr := $00004000
  25918. else
  25919. pTDefRegMap(@Self)^.&set := $00004000;
  25920. end;
  25921. function TPORTG_LATG.getLATG14 : TBits_1; inline;
  25922. begin
  25923. getLATG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25924. end;
  25925. procedure TPORTG_LATG.setLATG15; inline;
  25926. begin
  25927. pTDefRegMap(@Self)^.&set := $00008000;
  25928. end;
  25929. procedure TPORTG_LATG.clearLATG15; inline;
  25930. begin
  25931. pTDefRegMap(@Self)^.clr := $00008000;
  25932. end;
  25933. procedure TPORTG_LATG.setLATG15(thebits : TBits_1); inline;
  25934. begin
  25935. if thebits = 0 then
  25936. pTDefRegMap(@Self)^.clr := $00008000
  25937. else
  25938. pTDefRegMap(@Self)^.&set := $00008000;
  25939. end;
  25940. function TPORTG_LATG.getLATG15 : TBits_1; inline;
  25941. begin
  25942. getLATG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25943. end;
  25944. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  25945. begin
  25946. pTDefRegMap(@Self)^.val := thebits;
  25947. end;
  25948. function TPORTG_LATG.getw : TBits_32; inline;
  25949. begin
  25950. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25951. end;
  25952. procedure TPORTG_ODCG.setODCG0; inline;
  25953. begin
  25954. pTDefRegMap(@Self)^.&set := $00000001;
  25955. end;
  25956. procedure TPORTG_ODCG.clearODCG0; inline;
  25957. begin
  25958. pTDefRegMap(@Self)^.clr := $00000001;
  25959. end;
  25960. procedure TPORTG_ODCG.setODCG0(thebits : TBits_1); inline;
  25961. begin
  25962. if thebits = 0 then
  25963. pTDefRegMap(@Self)^.clr := $00000001
  25964. else
  25965. pTDefRegMap(@Self)^.&set := $00000001;
  25966. end;
  25967. function TPORTG_ODCG.getODCG0 : TBits_1; inline;
  25968. begin
  25969. getODCG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25970. end;
  25971. procedure TPORTG_ODCG.setODCG1; inline;
  25972. begin
  25973. pTDefRegMap(@Self)^.&set := $00000002;
  25974. end;
  25975. procedure TPORTG_ODCG.clearODCG1; inline;
  25976. begin
  25977. pTDefRegMap(@Self)^.clr := $00000002;
  25978. end;
  25979. procedure TPORTG_ODCG.setODCG1(thebits : TBits_1); inline;
  25980. begin
  25981. if thebits = 0 then
  25982. pTDefRegMap(@Self)^.clr := $00000002
  25983. else
  25984. pTDefRegMap(@Self)^.&set := $00000002;
  25985. end;
  25986. function TPORTG_ODCG.getODCG1 : TBits_1; inline;
  25987. begin
  25988. getODCG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25989. end;
  25990. procedure TPORTG_ODCG.setODCG2; inline;
  25991. begin
  25992. pTDefRegMap(@Self)^.&set := $00000004;
  25993. end;
  25994. procedure TPORTG_ODCG.clearODCG2; inline;
  25995. begin
  25996. pTDefRegMap(@Self)^.clr := $00000004;
  25997. end;
  25998. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  25999. begin
  26000. if thebits = 0 then
  26001. pTDefRegMap(@Self)^.clr := $00000004
  26002. else
  26003. pTDefRegMap(@Self)^.&set := $00000004;
  26004. end;
  26005. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  26006. begin
  26007. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26008. end;
  26009. procedure TPORTG_ODCG.setODCG3; inline;
  26010. begin
  26011. pTDefRegMap(@Self)^.&set := $00000008;
  26012. end;
  26013. procedure TPORTG_ODCG.clearODCG3; inline;
  26014. begin
  26015. pTDefRegMap(@Self)^.clr := $00000008;
  26016. end;
  26017. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  26018. begin
  26019. if thebits = 0 then
  26020. pTDefRegMap(@Self)^.clr := $00000008
  26021. else
  26022. pTDefRegMap(@Self)^.&set := $00000008;
  26023. end;
  26024. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  26025. begin
  26026. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26027. end;
  26028. procedure TPORTG_ODCG.setODCG6; inline;
  26029. begin
  26030. pTDefRegMap(@Self)^.&set := $00000040;
  26031. end;
  26032. procedure TPORTG_ODCG.clearODCG6; inline;
  26033. begin
  26034. pTDefRegMap(@Self)^.clr := $00000040;
  26035. end;
  26036. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  26037. begin
  26038. if thebits = 0 then
  26039. pTDefRegMap(@Self)^.clr := $00000040
  26040. else
  26041. pTDefRegMap(@Self)^.&set := $00000040;
  26042. end;
  26043. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  26044. begin
  26045. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26046. end;
  26047. procedure TPORTG_ODCG.setODCG7; inline;
  26048. begin
  26049. pTDefRegMap(@Self)^.&set := $00000080;
  26050. end;
  26051. procedure TPORTG_ODCG.clearODCG7; inline;
  26052. begin
  26053. pTDefRegMap(@Self)^.clr := $00000080;
  26054. end;
  26055. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  26056. begin
  26057. if thebits = 0 then
  26058. pTDefRegMap(@Self)^.clr := $00000080
  26059. else
  26060. pTDefRegMap(@Self)^.&set := $00000080;
  26061. end;
  26062. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  26063. begin
  26064. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26065. end;
  26066. procedure TPORTG_ODCG.setODCG8; inline;
  26067. begin
  26068. pTDefRegMap(@Self)^.&set := $00000100;
  26069. end;
  26070. procedure TPORTG_ODCG.clearODCG8; inline;
  26071. begin
  26072. pTDefRegMap(@Self)^.clr := $00000100;
  26073. end;
  26074. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  26075. begin
  26076. if thebits = 0 then
  26077. pTDefRegMap(@Self)^.clr := $00000100
  26078. else
  26079. pTDefRegMap(@Self)^.&set := $00000100;
  26080. end;
  26081. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  26082. begin
  26083. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26084. end;
  26085. procedure TPORTG_ODCG.setODCG9; inline;
  26086. begin
  26087. pTDefRegMap(@Self)^.&set := $00000200;
  26088. end;
  26089. procedure TPORTG_ODCG.clearODCG9; inline;
  26090. begin
  26091. pTDefRegMap(@Self)^.clr := $00000200;
  26092. end;
  26093. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  26094. begin
  26095. if thebits = 0 then
  26096. pTDefRegMap(@Self)^.clr := $00000200
  26097. else
  26098. pTDefRegMap(@Self)^.&set := $00000200;
  26099. end;
  26100. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  26101. begin
  26102. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26103. end;
  26104. procedure TPORTG_ODCG.setODCG12; inline;
  26105. begin
  26106. pTDefRegMap(@Self)^.&set := $00001000;
  26107. end;
  26108. procedure TPORTG_ODCG.clearODCG12; inline;
  26109. begin
  26110. pTDefRegMap(@Self)^.clr := $00001000;
  26111. end;
  26112. procedure TPORTG_ODCG.setODCG12(thebits : TBits_1); inline;
  26113. begin
  26114. if thebits = 0 then
  26115. pTDefRegMap(@Self)^.clr := $00001000
  26116. else
  26117. pTDefRegMap(@Self)^.&set := $00001000;
  26118. end;
  26119. function TPORTG_ODCG.getODCG12 : TBits_1; inline;
  26120. begin
  26121. getODCG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26122. end;
  26123. procedure TPORTG_ODCG.setODCG13; inline;
  26124. begin
  26125. pTDefRegMap(@Self)^.&set := $00002000;
  26126. end;
  26127. procedure TPORTG_ODCG.clearODCG13; inline;
  26128. begin
  26129. pTDefRegMap(@Self)^.clr := $00002000;
  26130. end;
  26131. procedure TPORTG_ODCG.setODCG13(thebits : TBits_1); inline;
  26132. begin
  26133. if thebits = 0 then
  26134. pTDefRegMap(@Self)^.clr := $00002000
  26135. else
  26136. pTDefRegMap(@Self)^.&set := $00002000;
  26137. end;
  26138. function TPORTG_ODCG.getODCG13 : TBits_1; inline;
  26139. begin
  26140. getODCG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26141. end;
  26142. procedure TPORTG_ODCG.setODCG14; inline;
  26143. begin
  26144. pTDefRegMap(@Self)^.&set := $00004000;
  26145. end;
  26146. procedure TPORTG_ODCG.clearODCG14; inline;
  26147. begin
  26148. pTDefRegMap(@Self)^.clr := $00004000;
  26149. end;
  26150. procedure TPORTG_ODCG.setODCG14(thebits : TBits_1); inline;
  26151. begin
  26152. if thebits = 0 then
  26153. pTDefRegMap(@Self)^.clr := $00004000
  26154. else
  26155. pTDefRegMap(@Self)^.&set := $00004000;
  26156. end;
  26157. function TPORTG_ODCG.getODCG14 : TBits_1; inline;
  26158. begin
  26159. getODCG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26160. end;
  26161. procedure TPORTG_ODCG.setODCG15; inline;
  26162. begin
  26163. pTDefRegMap(@Self)^.&set := $00008000;
  26164. end;
  26165. procedure TPORTG_ODCG.clearODCG15; inline;
  26166. begin
  26167. pTDefRegMap(@Self)^.clr := $00008000;
  26168. end;
  26169. procedure TPORTG_ODCG.setODCG15(thebits : TBits_1); inline;
  26170. begin
  26171. if thebits = 0 then
  26172. pTDefRegMap(@Self)^.clr := $00008000
  26173. else
  26174. pTDefRegMap(@Self)^.&set := $00008000;
  26175. end;
  26176. function TPORTG_ODCG.getODCG15 : TBits_1; inline;
  26177. begin
  26178. getODCG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26179. end;
  26180. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  26181. begin
  26182. pTDefRegMap(@Self)^.val := thebits;
  26183. end;
  26184. function TPORTG_ODCG.getw : TBits_32; inline;
  26185. begin
  26186. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26187. end;
  26188. procedure TPORTG_CNCON.setSIDL; inline;
  26189. begin
  26190. pTDefRegMap(@Self)^.&set := $00002000;
  26191. end;
  26192. procedure TPORTG_CNCON.clearSIDL; inline;
  26193. begin
  26194. pTDefRegMap(@Self)^.clr := $00002000;
  26195. end;
  26196. procedure TPORTG_CNCON.setSIDL(thebits : TBits_1); inline;
  26197. begin
  26198. if thebits = 0 then
  26199. pTDefRegMap(@Self)^.clr := $00002000
  26200. else
  26201. pTDefRegMap(@Self)^.&set := $00002000;
  26202. end;
  26203. function TPORTG_CNCON.getSIDL : TBits_1; inline;
  26204. begin
  26205. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26206. end;
  26207. procedure TPORTG_CNCON.setON; inline;
  26208. begin
  26209. pTDefRegMap(@Self)^.&set := $00008000;
  26210. end;
  26211. procedure TPORTG_CNCON.clearON; inline;
  26212. begin
  26213. pTDefRegMap(@Self)^.clr := $00008000;
  26214. end;
  26215. procedure TPORTG_CNCON.setON(thebits : TBits_1); inline;
  26216. begin
  26217. if thebits = 0 then
  26218. pTDefRegMap(@Self)^.clr := $00008000
  26219. else
  26220. pTDefRegMap(@Self)^.&set := $00008000;
  26221. end;
  26222. function TPORTG_CNCON.getON : TBits_1; inline;
  26223. begin
  26224. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26225. end;
  26226. procedure TPORTG_CNCON.setw(thebits : TBits_32); inline;
  26227. begin
  26228. pTDefRegMap(@Self)^.val := thebits;
  26229. end;
  26230. function TPORTG_CNCON.getw : TBits_32; inline;
  26231. begin
  26232. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26233. end;
  26234. procedure TPORTG_CNEN.setCNEN0; inline;
  26235. begin
  26236. pTDefRegMap(@Self)^.&set := $00000001;
  26237. end;
  26238. procedure TPORTG_CNEN.clearCNEN0; inline;
  26239. begin
  26240. pTDefRegMap(@Self)^.clr := $00000001;
  26241. end;
  26242. procedure TPORTG_CNEN.setCNEN0(thebits : TBits_1); inline;
  26243. begin
  26244. if thebits = 0 then
  26245. pTDefRegMap(@Self)^.clr := $00000001
  26246. else
  26247. pTDefRegMap(@Self)^.&set := $00000001;
  26248. end;
  26249. function TPORTG_CNEN.getCNEN0 : TBits_1; inline;
  26250. begin
  26251. getCNEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26252. end;
  26253. procedure TPORTG_CNEN.setCNEN1; inline;
  26254. begin
  26255. pTDefRegMap(@Self)^.&set := $00000002;
  26256. end;
  26257. procedure TPORTG_CNEN.clearCNEN1; inline;
  26258. begin
  26259. pTDefRegMap(@Self)^.clr := $00000002;
  26260. end;
  26261. procedure TPORTG_CNEN.setCNEN1(thebits : TBits_1); inline;
  26262. begin
  26263. if thebits = 0 then
  26264. pTDefRegMap(@Self)^.clr := $00000002
  26265. else
  26266. pTDefRegMap(@Self)^.&set := $00000002;
  26267. end;
  26268. function TPORTG_CNEN.getCNEN1 : TBits_1; inline;
  26269. begin
  26270. getCNEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26271. end;
  26272. procedure TPORTG_CNEN.setCNEN2; inline;
  26273. begin
  26274. pTDefRegMap(@Self)^.&set := $00000004;
  26275. end;
  26276. procedure TPORTG_CNEN.clearCNEN2; inline;
  26277. begin
  26278. pTDefRegMap(@Self)^.clr := $00000004;
  26279. end;
  26280. procedure TPORTG_CNEN.setCNEN2(thebits : TBits_1); inline;
  26281. begin
  26282. if thebits = 0 then
  26283. pTDefRegMap(@Self)^.clr := $00000004
  26284. else
  26285. pTDefRegMap(@Self)^.&set := $00000004;
  26286. end;
  26287. function TPORTG_CNEN.getCNEN2 : TBits_1; inline;
  26288. begin
  26289. getCNEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26290. end;
  26291. procedure TPORTG_CNEN.setCNEN3; inline;
  26292. begin
  26293. pTDefRegMap(@Self)^.&set := $00000008;
  26294. end;
  26295. procedure TPORTG_CNEN.clearCNEN3; inline;
  26296. begin
  26297. pTDefRegMap(@Self)^.clr := $00000008;
  26298. end;
  26299. procedure TPORTG_CNEN.setCNEN3(thebits : TBits_1); inline;
  26300. begin
  26301. if thebits = 0 then
  26302. pTDefRegMap(@Self)^.clr := $00000008
  26303. else
  26304. pTDefRegMap(@Self)^.&set := $00000008;
  26305. end;
  26306. function TPORTG_CNEN.getCNEN3 : TBits_1; inline;
  26307. begin
  26308. getCNEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26309. end;
  26310. procedure TPORTG_CNEN.setCNEN4; inline;
  26311. begin
  26312. pTDefRegMap(@Self)^.&set := $00000010;
  26313. end;
  26314. procedure TPORTG_CNEN.clearCNEN4; inline;
  26315. begin
  26316. pTDefRegMap(@Self)^.clr := $00000010;
  26317. end;
  26318. procedure TPORTG_CNEN.setCNEN4(thebits : TBits_1); inline;
  26319. begin
  26320. if thebits = 0 then
  26321. pTDefRegMap(@Self)^.clr := $00000010
  26322. else
  26323. pTDefRegMap(@Self)^.&set := $00000010;
  26324. end;
  26325. function TPORTG_CNEN.getCNEN4 : TBits_1; inline;
  26326. begin
  26327. getCNEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26328. end;
  26329. procedure TPORTG_CNEN.setCNEN5; inline;
  26330. begin
  26331. pTDefRegMap(@Self)^.&set := $00000020;
  26332. end;
  26333. procedure TPORTG_CNEN.clearCNEN5; inline;
  26334. begin
  26335. pTDefRegMap(@Self)^.clr := $00000020;
  26336. end;
  26337. procedure TPORTG_CNEN.setCNEN5(thebits : TBits_1); inline;
  26338. begin
  26339. if thebits = 0 then
  26340. pTDefRegMap(@Self)^.clr := $00000020
  26341. else
  26342. pTDefRegMap(@Self)^.&set := $00000020;
  26343. end;
  26344. function TPORTG_CNEN.getCNEN5 : TBits_1; inline;
  26345. begin
  26346. getCNEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26347. end;
  26348. procedure TPORTG_CNEN.setCNEN6; inline;
  26349. begin
  26350. pTDefRegMap(@Self)^.&set := $00000040;
  26351. end;
  26352. procedure TPORTG_CNEN.clearCNEN6; inline;
  26353. begin
  26354. pTDefRegMap(@Self)^.clr := $00000040;
  26355. end;
  26356. procedure TPORTG_CNEN.setCNEN6(thebits : TBits_1); inline;
  26357. begin
  26358. if thebits = 0 then
  26359. pTDefRegMap(@Self)^.clr := $00000040
  26360. else
  26361. pTDefRegMap(@Self)^.&set := $00000040;
  26362. end;
  26363. function TPORTG_CNEN.getCNEN6 : TBits_1; inline;
  26364. begin
  26365. getCNEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26366. end;
  26367. procedure TPORTG_CNEN.setCNEN7; inline;
  26368. begin
  26369. pTDefRegMap(@Self)^.&set := $00000080;
  26370. end;
  26371. procedure TPORTG_CNEN.clearCNEN7; inline;
  26372. begin
  26373. pTDefRegMap(@Self)^.clr := $00000080;
  26374. end;
  26375. procedure TPORTG_CNEN.setCNEN7(thebits : TBits_1); inline;
  26376. begin
  26377. if thebits = 0 then
  26378. pTDefRegMap(@Self)^.clr := $00000080
  26379. else
  26380. pTDefRegMap(@Self)^.&set := $00000080;
  26381. end;
  26382. function TPORTG_CNEN.getCNEN7 : TBits_1; inline;
  26383. begin
  26384. getCNEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26385. end;
  26386. procedure TPORTG_CNEN.setCNEN8; inline;
  26387. begin
  26388. pTDefRegMap(@Self)^.&set := $00000100;
  26389. end;
  26390. procedure TPORTG_CNEN.clearCNEN8; inline;
  26391. begin
  26392. pTDefRegMap(@Self)^.clr := $00000100;
  26393. end;
  26394. procedure TPORTG_CNEN.setCNEN8(thebits : TBits_1); inline;
  26395. begin
  26396. if thebits = 0 then
  26397. pTDefRegMap(@Self)^.clr := $00000100
  26398. else
  26399. pTDefRegMap(@Self)^.&set := $00000100;
  26400. end;
  26401. function TPORTG_CNEN.getCNEN8 : TBits_1; inline;
  26402. begin
  26403. getCNEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26404. end;
  26405. procedure TPORTG_CNEN.setCNEN9; inline;
  26406. begin
  26407. pTDefRegMap(@Self)^.&set := $00000200;
  26408. end;
  26409. procedure TPORTG_CNEN.clearCNEN9; inline;
  26410. begin
  26411. pTDefRegMap(@Self)^.clr := $00000200;
  26412. end;
  26413. procedure TPORTG_CNEN.setCNEN9(thebits : TBits_1); inline;
  26414. begin
  26415. if thebits = 0 then
  26416. pTDefRegMap(@Self)^.clr := $00000200
  26417. else
  26418. pTDefRegMap(@Self)^.&set := $00000200;
  26419. end;
  26420. function TPORTG_CNEN.getCNEN9 : TBits_1; inline;
  26421. begin
  26422. getCNEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26423. end;
  26424. procedure TPORTG_CNEN.setCNEN10; inline;
  26425. begin
  26426. pTDefRegMap(@Self)^.&set := $00000400;
  26427. end;
  26428. procedure TPORTG_CNEN.clearCNEN10; inline;
  26429. begin
  26430. pTDefRegMap(@Self)^.clr := $00000400;
  26431. end;
  26432. procedure TPORTG_CNEN.setCNEN10(thebits : TBits_1); inline;
  26433. begin
  26434. if thebits = 0 then
  26435. pTDefRegMap(@Self)^.clr := $00000400
  26436. else
  26437. pTDefRegMap(@Self)^.&set := $00000400;
  26438. end;
  26439. function TPORTG_CNEN.getCNEN10 : TBits_1; inline;
  26440. begin
  26441. getCNEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26442. end;
  26443. procedure TPORTG_CNEN.setCNEN11; inline;
  26444. begin
  26445. pTDefRegMap(@Self)^.&set := $00000800;
  26446. end;
  26447. procedure TPORTG_CNEN.clearCNEN11; inline;
  26448. begin
  26449. pTDefRegMap(@Self)^.clr := $00000800;
  26450. end;
  26451. procedure TPORTG_CNEN.setCNEN11(thebits : TBits_1); inline;
  26452. begin
  26453. if thebits = 0 then
  26454. pTDefRegMap(@Self)^.clr := $00000800
  26455. else
  26456. pTDefRegMap(@Self)^.&set := $00000800;
  26457. end;
  26458. function TPORTG_CNEN.getCNEN11 : TBits_1; inline;
  26459. begin
  26460. getCNEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26461. end;
  26462. procedure TPORTG_CNEN.setCNEN12; inline;
  26463. begin
  26464. pTDefRegMap(@Self)^.&set := $00001000;
  26465. end;
  26466. procedure TPORTG_CNEN.clearCNEN12; inline;
  26467. begin
  26468. pTDefRegMap(@Self)^.clr := $00001000;
  26469. end;
  26470. procedure TPORTG_CNEN.setCNEN12(thebits : TBits_1); inline;
  26471. begin
  26472. if thebits = 0 then
  26473. pTDefRegMap(@Self)^.clr := $00001000
  26474. else
  26475. pTDefRegMap(@Self)^.&set := $00001000;
  26476. end;
  26477. function TPORTG_CNEN.getCNEN12 : TBits_1; inline;
  26478. begin
  26479. getCNEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26480. end;
  26481. procedure TPORTG_CNEN.setCNEN13; inline;
  26482. begin
  26483. pTDefRegMap(@Self)^.&set := $00002000;
  26484. end;
  26485. procedure TPORTG_CNEN.clearCNEN13; inline;
  26486. begin
  26487. pTDefRegMap(@Self)^.clr := $00002000;
  26488. end;
  26489. procedure TPORTG_CNEN.setCNEN13(thebits : TBits_1); inline;
  26490. begin
  26491. if thebits = 0 then
  26492. pTDefRegMap(@Self)^.clr := $00002000
  26493. else
  26494. pTDefRegMap(@Self)^.&set := $00002000;
  26495. end;
  26496. function TPORTG_CNEN.getCNEN13 : TBits_1; inline;
  26497. begin
  26498. getCNEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26499. end;
  26500. procedure TPORTG_CNEN.setCNEN14; inline;
  26501. begin
  26502. pTDefRegMap(@Self)^.&set := $00004000;
  26503. end;
  26504. procedure TPORTG_CNEN.clearCNEN14; inline;
  26505. begin
  26506. pTDefRegMap(@Self)^.clr := $00004000;
  26507. end;
  26508. procedure TPORTG_CNEN.setCNEN14(thebits : TBits_1); inline;
  26509. begin
  26510. if thebits = 0 then
  26511. pTDefRegMap(@Self)^.clr := $00004000
  26512. else
  26513. pTDefRegMap(@Self)^.&set := $00004000;
  26514. end;
  26515. function TPORTG_CNEN.getCNEN14 : TBits_1; inline;
  26516. begin
  26517. getCNEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26518. end;
  26519. procedure TPORTG_CNEN.setCNEN15; inline;
  26520. begin
  26521. pTDefRegMap(@Self)^.&set := $00008000;
  26522. end;
  26523. procedure TPORTG_CNEN.clearCNEN15; inline;
  26524. begin
  26525. pTDefRegMap(@Self)^.clr := $00008000;
  26526. end;
  26527. procedure TPORTG_CNEN.setCNEN15(thebits : TBits_1); inline;
  26528. begin
  26529. if thebits = 0 then
  26530. pTDefRegMap(@Self)^.clr := $00008000
  26531. else
  26532. pTDefRegMap(@Self)^.&set := $00008000;
  26533. end;
  26534. function TPORTG_CNEN.getCNEN15 : TBits_1; inline;
  26535. begin
  26536. getCNEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26537. end;
  26538. procedure TPORTG_CNEN.setCNEN16; inline;
  26539. begin
  26540. pTDefRegMap(@Self)^.&set := $00010000;
  26541. end;
  26542. procedure TPORTG_CNEN.clearCNEN16; inline;
  26543. begin
  26544. pTDefRegMap(@Self)^.clr := $00010000;
  26545. end;
  26546. procedure TPORTG_CNEN.setCNEN16(thebits : TBits_1); inline;
  26547. begin
  26548. if thebits = 0 then
  26549. pTDefRegMap(@Self)^.clr := $00010000
  26550. else
  26551. pTDefRegMap(@Self)^.&set := $00010000;
  26552. end;
  26553. function TPORTG_CNEN.getCNEN16 : TBits_1; inline;
  26554. begin
  26555. getCNEN16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26556. end;
  26557. procedure TPORTG_CNEN.setCNEN17; inline;
  26558. begin
  26559. pTDefRegMap(@Self)^.&set := $00020000;
  26560. end;
  26561. procedure TPORTG_CNEN.clearCNEN17; inline;
  26562. begin
  26563. pTDefRegMap(@Self)^.clr := $00020000;
  26564. end;
  26565. procedure TPORTG_CNEN.setCNEN17(thebits : TBits_1); inline;
  26566. begin
  26567. if thebits = 0 then
  26568. pTDefRegMap(@Self)^.clr := $00020000
  26569. else
  26570. pTDefRegMap(@Self)^.&set := $00020000;
  26571. end;
  26572. function TPORTG_CNEN.getCNEN17 : TBits_1; inline;
  26573. begin
  26574. getCNEN17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26575. end;
  26576. procedure TPORTG_CNEN.setCNEN18; inline;
  26577. begin
  26578. pTDefRegMap(@Self)^.&set := $00040000;
  26579. end;
  26580. procedure TPORTG_CNEN.clearCNEN18; inline;
  26581. begin
  26582. pTDefRegMap(@Self)^.clr := $00040000;
  26583. end;
  26584. procedure TPORTG_CNEN.setCNEN18(thebits : TBits_1); inline;
  26585. begin
  26586. if thebits = 0 then
  26587. pTDefRegMap(@Self)^.clr := $00040000
  26588. else
  26589. pTDefRegMap(@Self)^.&set := $00040000;
  26590. end;
  26591. function TPORTG_CNEN.getCNEN18 : TBits_1; inline;
  26592. begin
  26593. getCNEN18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26594. end;
  26595. procedure TPORTG_CNEN.setCNEN19; inline;
  26596. begin
  26597. pTDefRegMap(@Self)^.&set := $00080000;
  26598. end;
  26599. procedure TPORTG_CNEN.clearCNEN19; inline;
  26600. begin
  26601. pTDefRegMap(@Self)^.clr := $00080000;
  26602. end;
  26603. procedure TPORTG_CNEN.setCNEN19(thebits : TBits_1); inline;
  26604. begin
  26605. if thebits = 0 then
  26606. pTDefRegMap(@Self)^.clr := $00080000
  26607. else
  26608. pTDefRegMap(@Self)^.&set := $00080000;
  26609. end;
  26610. function TPORTG_CNEN.getCNEN19 : TBits_1; inline;
  26611. begin
  26612. getCNEN19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  26613. end;
  26614. procedure TPORTG_CNEN.setCNEN20; inline;
  26615. begin
  26616. pTDefRegMap(@Self)^.&set := $00100000;
  26617. end;
  26618. procedure TPORTG_CNEN.clearCNEN20; inline;
  26619. begin
  26620. pTDefRegMap(@Self)^.clr := $00100000;
  26621. end;
  26622. procedure TPORTG_CNEN.setCNEN20(thebits : TBits_1); inline;
  26623. begin
  26624. if thebits = 0 then
  26625. pTDefRegMap(@Self)^.clr := $00100000
  26626. else
  26627. pTDefRegMap(@Self)^.&set := $00100000;
  26628. end;
  26629. function TPORTG_CNEN.getCNEN20 : TBits_1; inline;
  26630. begin
  26631. getCNEN20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  26632. end;
  26633. procedure TPORTG_CNEN.setCNEN21; inline;
  26634. begin
  26635. pTDefRegMap(@Self)^.&set := $00200000;
  26636. end;
  26637. procedure TPORTG_CNEN.clearCNEN21; inline;
  26638. begin
  26639. pTDefRegMap(@Self)^.clr := $00200000;
  26640. end;
  26641. procedure TPORTG_CNEN.setCNEN21(thebits : TBits_1); inline;
  26642. begin
  26643. if thebits = 0 then
  26644. pTDefRegMap(@Self)^.clr := $00200000
  26645. else
  26646. pTDefRegMap(@Self)^.&set := $00200000;
  26647. end;
  26648. function TPORTG_CNEN.getCNEN21 : TBits_1; inline;
  26649. begin
  26650. getCNEN21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  26651. end;
  26652. procedure TPORTG_CNEN.setw(thebits : TBits_32); inline;
  26653. begin
  26654. pTDefRegMap(@Self)^.val := thebits;
  26655. end;
  26656. function TPORTG_CNEN.getw : TBits_32; inline;
  26657. begin
  26658. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26659. end;
  26660. procedure TPORTG_CNPUE.setCNPUE0; inline;
  26661. begin
  26662. pTDefRegMap(@Self)^.&set := $00000001;
  26663. end;
  26664. procedure TPORTG_CNPUE.clearCNPUE0; inline;
  26665. begin
  26666. pTDefRegMap(@Self)^.clr := $00000001;
  26667. end;
  26668. procedure TPORTG_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  26669. begin
  26670. if thebits = 0 then
  26671. pTDefRegMap(@Self)^.clr := $00000001
  26672. else
  26673. pTDefRegMap(@Self)^.&set := $00000001;
  26674. end;
  26675. function TPORTG_CNPUE.getCNPUE0 : TBits_1; inline;
  26676. begin
  26677. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26678. end;
  26679. procedure TPORTG_CNPUE.setCNPUE1; inline;
  26680. begin
  26681. pTDefRegMap(@Self)^.&set := $00000002;
  26682. end;
  26683. procedure TPORTG_CNPUE.clearCNPUE1; inline;
  26684. begin
  26685. pTDefRegMap(@Self)^.clr := $00000002;
  26686. end;
  26687. procedure TPORTG_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  26688. begin
  26689. if thebits = 0 then
  26690. pTDefRegMap(@Self)^.clr := $00000002
  26691. else
  26692. pTDefRegMap(@Self)^.&set := $00000002;
  26693. end;
  26694. function TPORTG_CNPUE.getCNPUE1 : TBits_1; inline;
  26695. begin
  26696. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26697. end;
  26698. procedure TPORTG_CNPUE.setCNPUE2; inline;
  26699. begin
  26700. pTDefRegMap(@Self)^.&set := $00000004;
  26701. end;
  26702. procedure TPORTG_CNPUE.clearCNPUE2; inline;
  26703. begin
  26704. pTDefRegMap(@Self)^.clr := $00000004;
  26705. end;
  26706. procedure TPORTG_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  26707. begin
  26708. if thebits = 0 then
  26709. pTDefRegMap(@Self)^.clr := $00000004
  26710. else
  26711. pTDefRegMap(@Self)^.&set := $00000004;
  26712. end;
  26713. function TPORTG_CNPUE.getCNPUE2 : TBits_1; inline;
  26714. begin
  26715. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26716. end;
  26717. procedure TPORTG_CNPUE.setCNPUE3; inline;
  26718. begin
  26719. pTDefRegMap(@Self)^.&set := $00000008;
  26720. end;
  26721. procedure TPORTG_CNPUE.clearCNPUE3; inline;
  26722. begin
  26723. pTDefRegMap(@Self)^.clr := $00000008;
  26724. end;
  26725. procedure TPORTG_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  26726. begin
  26727. if thebits = 0 then
  26728. pTDefRegMap(@Self)^.clr := $00000008
  26729. else
  26730. pTDefRegMap(@Self)^.&set := $00000008;
  26731. end;
  26732. function TPORTG_CNPUE.getCNPUE3 : TBits_1; inline;
  26733. begin
  26734. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26735. end;
  26736. procedure TPORTG_CNPUE.setCNPUE4; inline;
  26737. begin
  26738. pTDefRegMap(@Self)^.&set := $00000010;
  26739. end;
  26740. procedure TPORTG_CNPUE.clearCNPUE4; inline;
  26741. begin
  26742. pTDefRegMap(@Self)^.clr := $00000010;
  26743. end;
  26744. procedure TPORTG_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  26745. begin
  26746. if thebits = 0 then
  26747. pTDefRegMap(@Self)^.clr := $00000010
  26748. else
  26749. pTDefRegMap(@Self)^.&set := $00000010;
  26750. end;
  26751. function TPORTG_CNPUE.getCNPUE4 : TBits_1; inline;
  26752. begin
  26753. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26754. end;
  26755. procedure TPORTG_CNPUE.setCNPUE5; inline;
  26756. begin
  26757. pTDefRegMap(@Self)^.&set := $00000020;
  26758. end;
  26759. procedure TPORTG_CNPUE.clearCNPUE5; inline;
  26760. begin
  26761. pTDefRegMap(@Self)^.clr := $00000020;
  26762. end;
  26763. procedure TPORTG_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  26764. begin
  26765. if thebits = 0 then
  26766. pTDefRegMap(@Self)^.clr := $00000020
  26767. else
  26768. pTDefRegMap(@Self)^.&set := $00000020;
  26769. end;
  26770. function TPORTG_CNPUE.getCNPUE5 : TBits_1; inline;
  26771. begin
  26772. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26773. end;
  26774. procedure TPORTG_CNPUE.setCNPUE6; inline;
  26775. begin
  26776. pTDefRegMap(@Self)^.&set := $00000040;
  26777. end;
  26778. procedure TPORTG_CNPUE.clearCNPUE6; inline;
  26779. begin
  26780. pTDefRegMap(@Self)^.clr := $00000040;
  26781. end;
  26782. procedure TPORTG_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  26783. begin
  26784. if thebits = 0 then
  26785. pTDefRegMap(@Self)^.clr := $00000040
  26786. else
  26787. pTDefRegMap(@Self)^.&set := $00000040;
  26788. end;
  26789. function TPORTG_CNPUE.getCNPUE6 : TBits_1; inline;
  26790. begin
  26791. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26792. end;
  26793. procedure TPORTG_CNPUE.setCNPUE7; inline;
  26794. begin
  26795. pTDefRegMap(@Self)^.&set := $00000080;
  26796. end;
  26797. procedure TPORTG_CNPUE.clearCNPUE7; inline;
  26798. begin
  26799. pTDefRegMap(@Self)^.clr := $00000080;
  26800. end;
  26801. procedure TPORTG_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  26802. begin
  26803. if thebits = 0 then
  26804. pTDefRegMap(@Self)^.clr := $00000080
  26805. else
  26806. pTDefRegMap(@Self)^.&set := $00000080;
  26807. end;
  26808. function TPORTG_CNPUE.getCNPUE7 : TBits_1; inline;
  26809. begin
  26810. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26811. end;
  26812. procedure TPORTG_CNPUE.setCNPUE8; inline;
  26813. begin
  26814. pTDefRegMap(@Self)^.&set := $00000100;
  26815. end;
  26816. procedure TPORTG_CNPUE.clearCNPUE8; inline;
  26817. begin
  26818. pTDefRegMap(@Self)^.clr := $00000100;
  26819. end;
  26820. procedure TPORTG_CNPUE.setCNPUE8(thebits : TBits_1); inline;
  26821. begin
  26822. if thebits = 0 then
  26823. pTDefRegMap(@Self)^.clr := $00000100
  26824. else
  26825. pTDefRegMap(@Self)^.&set := $00000100;
  26826. end;
  26827. function TPORTG_CNPUE.getCNPUE8 : TBits_1; inline;
  26828. begin
  26829. getCNPUE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26830. end;
  26831. procedure TPORTG_CNPUE.setCNPUE9; inline;
  26832. begin
  26833. pTDefRegMap(@Self)^.&set := $00000200;
  26834. end;
  26835. procedure TPORTG_CNPUE.clearCNPUE9; inline;
  26836. begin
  26837. pTDefRegMap(@Self)^.clr := $00000200;
  26838. end;
  26839. procedure TPORTG_CNPUE.setCNPUE9(thebits : TBits_1); inline;
  26840. begin
  26841. if thebits = 0 then
  26842. pTDefRegMap(@Self)^.clr := $00000200
  26843. else
  26844. pTDefRegMap(@Self)^.&set := $00000200;
  26845. end;
  26846. function TPORTG_CNPUE.getCNPUE9 : TBits_1; inline;
  26847. begin
  26848. getCNPUE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26849. end;
  26850. procedure TPORTG_CNPUE.setCNPUE10; inline;
  26851. begin
  26852. pTDefRegMap(@Self)^.&set := $00000400;
  26853. end;
  26854. procedure TPORTG_CNPUE.clearCNPUE10; inline;
  26855. begin
  26856. pTDefRegMap(@Self)^.clr := $00000400;
  26857. end;
  26858. procedure TPORTG_CNPUE.setCNPUE10(thebits : TBits_1); inline;
  26859. begin
  26860. if thebits = 0 then
  26861. pTDefRegMap(@Self)^.clr := $00000400
  26862. else
  26863. pTDefRegMap(@Self)^.&set := $00000400;
  26864. end;
  26865. function TPORTG_CNPUE.getCNPUE10 : TBits_1; inline;
  26866. begin
  26867. getCNPUE10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26868. end;
  26869. procedure TPORTG_CNPUE.setCNPUE11; inline;
  26870. begin
  26871. pTDefRegMap(@Self)^.&set := $00000800;
  26872. end;
  26873. procedure TPORTG_CNPUE.clearCNPUE11; inline;
  26874. begin
  26875. pTDefRegMap(@Self)^.clr := $00000800;
  26876. end;
  26877. procedure TPORTG_CNPUE.setCNPUE11(thebits : TBits_1); inline;
  26878. begin
  26879. if thebits = 0 then
  26880. pTDefRegMap(@Self)^.clr := $00000800
  26881. else
  26882. pTDefRegMap(@Self)^.&set := $00000800;
  26883. end;
  26884. function TPORTG_CNPUE.getCNPUE11 : TBits_1; inline;
  26885. begin
  26886. getCNPUE11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26887. end;
  26888. procedure TPORTG_CNPUE.setCNPUE12; inline;
  26889. begin
  26890. pTDefRegMap(@Self)^.&set := $00001000;
  26891. end;
  26892. procedure TPORTG_CNPUE.clearCNPUE12; inline;
  26893. begin
  26894. pTDefRegMap(@Self)^.clr := $00001000;
  26895. end;
  26896. procedure TPORTG_CNPUE.setCNPUE12(thebits : TBits_1); inline;
  26897. begin
  26898. if thebits = 0 then
  26899. pTDefRegMap(@Self)^.clr := $00001000
  26900. else
  26901. pTDefRegMap(@Self)^.&set := $00001000;
  26902. end;
  26903. function TPORTG_CNPUE.getCNPUE12 : TBits_1; inline;
  26904. begin
  26905. getCNPUE12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26906. end;
  26907. procedure TPORTG_CNPUE.setCNPUE13; inline;
  26908. begin
  26909. pTDefRegMap(@Self)^.&set := $00002000;
  26910. end;
  26911. procedure TPORTG_CNPUE.clearCNPUE13; inline;
  26912. begin
  26913. pTDefRegMap(@Self)^.clr := $00002000;
  26914. end;
  26915. procedure TPORTG_CNPUE.setCNPUE13(thebits : TBits_1); inline;
  26916. begin
  26917. if thebits = 0 then
  26918. pTDefRegMap(@Self)^.clr := $00002000
  26919. else
  26920. pTDefRegMap(@Self)^.&set := $00002000;
  26921. end;
  26922. function TPORTG_CNPUE.getCNPUE13 : TBits_1; inline;
  26923. begin
  26924. getCNPUE13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26925. end;
  26926. procedure TPORTG_CNPUE.setCNPUE14; inline;
  26927. begin
  26928. pTDefRegMap(@Self)^.&set := $00004000;
  26929. end;
  26930. procedure TPORTG_CNPUE.clearCNPUE14; inline;
  26931. begin
  26932. pTDefRegMap(@Self)^.clr := $00004000;
  26933. end;
  26934. procedure TPORTG_CNPUE.setCNPUE14(thebits : TBits_1); inline;
  26935. begin
  26936. if thebits = 0 then
  26937. pTDefRegMap(@Self)^.clr := $00004000
  26938. else
  26939. pTDefRegMap(@Self)^.&set := $00004000;
  26940. end;
  26941. function TPORTG_CNPUE.getCNPUE14 : TBits_1; inline;
  26942. begin
  26943. getCNPUE14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26944. end;
  26945. procedure TPORTG_CNPUE.setCNPUE15; inline;
  26946. begin
  26947. pTDefRegMap(@Self)^.&set := $00008000;
  26948. end;
  26949. procedure TPORTG_CNPUE.clearCNPUE15; inline;
  26950. begin
  26951. pTDefRegMap(@Self)^.clr := $00008000;
  26952. end;
  26953. procedure TPORTG_CNPUE.setCNPUE15(thebits : TBits_1); inline;
  26954. begin
  26955. if thebits = 0 then
  26956. pTDefRegMap(@Self)^.clr := $00008000
  26957. else
  26958. pTDefRegMap(@Self)^.&set := $00008000;
  26959. end;
  26960. function TPORTG_CNPUE.getCNPUE15 : TBits_1; inline;
  26961. begin
  26962. getCNPUE15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26963. end;
  26964. procedure TPORTG_CNPUE.setCNPUE16; inline;
  26965. begin
  26966. pTDefRegMap(@Self)^.&set := $00010000;
  26967. end;
  26968. procedure TPORTG_CNPUE.clearCNPUE16; inline;
  26969. begin
  26970. pTDefRegMap(@Self)^.clr := $00010000;
  26971. end;
  26972. procedure TPORTG_CNPUE.setCNPUE16(thebits : TBits_1); inline;
  26973. begin
  26974. if thebits = 0 then
  26975. pTDefRegMap(@Self)^.clr := $00010000
  26976. else
  26977. pTDefRegMap(@Self)^.&set := $00010000;
  26978. end;
  26979. function TPORTG_CNPUE.getCNPUE16 : TBits_1; inline;
  26980. begin
  26981. getCNPUE16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26982. end;
  26983. procedure TPORTG_CNPUE.setCNPUE17; inline;
  26984. begin
  26985. pTDefRegMap(@Self)^.&set := $00020000;
  26986. end;
  26987. procedure TPORTG_CNPUE.clearCNPUE17; inline;
  26988. begin
  26989. pTDefRegMap(@Self)^.clr := $00020000;
  26990. end;
  26991. procedure TPORTG_CNPUE.setCNPUE17(thebits : TBits_1); inline;
  26992. begin
  26993. if thebits = 0 then
  26994. pTDefRegMap(@Self)^.clr := $00020000
  26995. else
  26996. pTDefRegMap(@Self)^.&set := $00020000;
  26997. end;
  26998. function TPORTG_CNPUE.getCNPUE17 : TBits_1; inline;
  26999. begin
  27000. getCNPUE17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27001. end;
  27002. procedure TPORTG_CNPUE.setCNPUE18; inline;
  27003. begin
  27004. pTDefRegMap(@Self)^.&set := $00040000;
  27005. end;
  27006. procedure TPORTG_CNPUE.clearCNPUE18; inline;
  27007. begin
  27008. pTDefRegMap(@Self)^.clr := $00040000;
  27009. end;
  27010. procedure TPORTG_CNPUE.setCNPUE18(thebits : TBits_1); inline;
  27011. begin
  27012. if thebits = 0 then
  27013. pTDefRegMap(@Self)^.clr := $00040000
  27014. else
  27015. pTDefRegMap(@Self)^.&set := $00040000;
  27016. end;
  27017. function TPORTG_CNPUE.getCNPUE18 : TBits_1; inline;
  27018. begin
  27019. getCNPUE18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27020. end;
  27021. procedure TPORTG_CNPUE.setCNPUE19; inline;
  27022. begin
  27023. pTDefRegMap(@Self)^.&set := $00080000;
  27024. end;
  27025. procedure TPORTG_CNPUE.clearCNPUE19; inline;
  27026. begin
  27027. pTDefRegMap(@Self)^.clr := $00080000;
  27028. end;
  27029. procedure TPORTG_CNPUE.setCNPUE19(thebits : TBits_1); inline;
  27030. begin
  27031. if thebits = 0 then
  27032. pTDefRegMap(@Self)^.clr := $00080000
  27033. else
  27034. pTDefRegMap(@Self)^.&set := $00080000;
  27035. end;
  27036. function TPORTG_CNPUE.getCNPUE19 : TBits_1; inline;
  27037. begin
  27038. getCNPUE19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27039. end;
  27040. procedure TPORTG_CNPUE.setCNPUE20; inline;
  27041. begin
  27042. pTDefRegMap(@Self)^.&set := $00100000;
  27043. end;
  27044. procedure TPORTG_CNPUE.clearCNPUE20; inline;
  27045. begin
  27046. pTDefRegMap(@Self)^.clr := $00100000;
  27047. end;
  27048. procedure TPORTG_CNPUE.setCNPUE20(thebits : TBits_1); inline;
  27049. begin
  27050. if thebits = 0 then
  27051. pTDefRegMap(@Self)^.clr := $00100000
  27052. else
  27053. pTDefRegMap(@Self)^.&set := $00100000;
  27054. end;
  27055. function TPORTG_CNPUE.getCNPUE20 : TBits_1; inline;
  27056. begin
  27057. getCNPUE20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27058. end;
  27059. procedure TPORTG_CNPUE.setCNPUE21; inline;
  27060. begin
  27061. pTDefRegMap(@Self)^.&set := $00200000;
  27062. end;
  27063. procedure TPORTG_CNPUE.clearCNPUE21; inline;
  27064. begin
  27065. pTDefRegMap(@Self)^.clr := $00200000;
  27066. end;
  27067. procedure TPORTG_CNPUE.setCNPUE21(thebits : TBits_1); inline;
  27068. begin
  27069. if thebits = 0 then
  27070. pTDefRegMap(@Self)^.clr := $00200000
  27071. else
  27072. pTDefRegMap(@Self)^.&set := $00200000;
  27073. end;
  27074. function TPORTG_CNPUE.getCNPUE21 : TBits_1; inline;
  27075. begin
  27076. getCNPUE21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27077. end;
  27078. procedure TPORTG_CNPUE.setw(thebits : TBits_32); inline;
  27079. begin
  27080. pTDefRegMap(@Self)^.val := thebits;
  27081. end;
  27082. function TPORTG_CNPUE.getw : TBits_32; inline;
  27083. begin
  27084. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27085. end;
  27086. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  27087. begin
  27088. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  27089. end;
  27090. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  27091. begin
  27092. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  27093. end;
  27094. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  27095. begin
  27096. pTDefRegMap(@Self)^.val := thebits;
  27097. end;
  27098. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  27099. begin
  27100. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27101. end;
  27102. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  27103. begin
  27104. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  27105. end;
  27106. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  27107. begin
  27108. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  27109. end;
  27110. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  27111. begin
  27112. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  27113. end;
  27114. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  27115. begin
  27116. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  27117. end;
  27118. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  27119. begin
  27120. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  27121. end;
  27122. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  27123. begin
  27124. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  27125. end;
  27126. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  27127. begin
  27128. pTDefRegMap(@Self)^.val := thebits;
  27129. end;
  27130. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  27131. begin
  27132. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27133. end;
  27134. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  27135. begin
  27136. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  27137. end;
  27138. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  27139. begin
  27140. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  27141. end;
  27142. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  27143. begin
  27144. pTDefRegMap(@Self)^.&set := $00000020;
  27145. end;
  27146. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  27147. begin
  27148. pTDefRegMap(@Self)^.clr := $00000020;
  27149. end;
  27150. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  27151. begin
  27152. if thebits = 0 then
  27153. pTDefRegMap(@Self)^.clr := $00000020
  27154. else
  27155. pTDefRegMap(@Self)^.&set := $00000020;
  27156. end;
  27157. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  27158. begin
  27159. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27160. end;
  27161. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  27162. begin
  27163. pTDefRegMap(@Self)^.&set := $00000080;
  27164. end;
  27165. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  27166. begin
  27167. pTDefRegMap(@Self)^.clr := $00000080;
  27168. end;
  27169. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  27170. begin
  27171. if thebits = 0 then
  27172. pTDefRegMap(@Self)^.clr := $00000080
  27173. else
  27174. pTDefRegMap(@Self)^.&set := $00000080;
  27175. end;
  27176. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  27177. begin
  27178. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27179. end;
  27180. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  27181. begin
  27182. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  27183. end;
  27184. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  27185. begin
  27186. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  27187. end;
  27188. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  27189. begin
  27190. pTDefRegMap(@Self)^.&set := $00000400;
  27191. end;
  27192. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  27193. begin
  27194. pTDefRegMap(@Self)^.clr := $00000400;
  27195. end;
  27196. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  27197. begin
  27198. if thebits = 0 then
  27199. pTDefRegMap(@Self)^.clr := $00000400
  27200. else
  27201. pTDefRegMap(@Self)^.&set := $00000400;
  27202. end;
  27203. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  27204. begin
  27205. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27206. end;
  27207. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  27208. begin
  27209. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  27210. end;
  27211. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  27212. begin
  27213. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  27214. end;
  27215. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  27216. begin
  27217. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  27218. end;
  27219. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  27220. begin
  27221. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  27222. end;
  27223. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  27224. begin
  27225. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  27226. end;
  27227. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  27228. begin
  27229. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  27230. end;
  27231. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  27232. begin
  27233. pTDefRegMap(@Self)^.&set := $00800000;
  27234. end;
  27235. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  27236. begin
  27237. pTDefRegMap(@Self)^.clr := $00800000;
  27238. end;
  27239. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  27240. begin
  27241. if thebits = 0 then
  27242. pTDefRegMap(@Self)^.clr := $00800000
  27243. else
  27244. pTDefRegMap(@Self)^.&set := $00800000;
  27245. end;
  27246. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  27247. begin
  27248. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27249. end;
  27250. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  27251. begin
  27252. pTDefRegMap(@Self)^.val := thebits;
  27253. end;
  27254. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  27255. begin
  27256. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27257. end;
  27258. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  27259. begin
  27260. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  27261. end;
  27262. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  27263. begin
  27264. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  27265. end;
  27266. procedure TDEVCFG_DEVCFG0.setICESEL; inline;
  27267. begin
  27268. pTDefRegMap(@Self)^.&set := $00000008;
  27269. end;
  27270. procedure TDEVCFG_DEVCFG0.clearICESEL; inline;
  27271. begin
  27272. pTDefRegMap(@Self)^.clr := $00000008;
  27273. end;
  27274. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_1); inline;
  27275. begin
  27276. if thebits = 0 then
  27277. pTDefRegMap(@Self)^.clr := $00000008
  27278. else
  27279. pTDefRegMap(@Self)^.&set := $00000008;
  27280. end;
  27281. function TDEVCFG_DEVCFG0.getICESEL : TBits_1; inline;
  27282. begin
  27283. getICESEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27284. end;
  27285. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  27286. begin
  27287. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  27288. end;
  27289. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  27290. begin
  27291. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  27292. end;
  27293. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  27294. begin
  27295. pTDefRegMap(@Self)^.&set := $01000000;
  27296. end;
  27297. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  27298. begin
  27299. pTDefRegMap(@Self)^.clr := $01000000;
  27300. end;
  27301. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  27302. begin
  27303. if thebits = 0 then
  27304. pTDefRegMap(@Self)^.clr := $01000000
  27305. else
  27306. pTDefRegMap(@Self)^.&set := $01000000;
  27307. end;
  27308. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  27309. begin
  27310. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27311. end;
  27312. procedure TDEVCFG_DEVCFG0.setCP; inline;
  27313. begin
  27314. pTDefRegMap(@Self)^.&set := $10000000;
  27315. end;
  27316. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  27317. begin
  27318. pTDefRegMap(@Self)^.clr := $10000000;
  27319. end;
  27320. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  27321. begin
  27322. if thebits = 0 then
  27323. pTDefRegMap(@Self)^.clr := $10000000
  27324. else
  27325. pTDefRegMap(@Self)^.&set := $10000000;
  27326. end;
  27327. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  27328. begin
  27329. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27330. end;
  27331. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  27332. begin
  27333. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  27334. end;
  27335. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  27336. begin
  27337. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  27338. end;
  27339. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  27340. begin
  27341. pTDefRegMap(@Self)^.val := thebits;
  27342. end;
  27343. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  27344. begin
  27345. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27346. end;
  27347. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  27348. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  27349. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  27350. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  27351. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  27352. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  27353. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  27354. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  27355. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  27356. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  27357. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  27358. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  27359. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  27360. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  27361. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  27362. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  27363. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  27364. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  27365. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  27366. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  27367. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  27368. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  27369. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  27370. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  27371. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  27372. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  27373. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  27374. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  27375. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  27376. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  27377. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  27378. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  27379. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  27380. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  27381. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  27382. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  27383. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  27384. procedure Vectors; assembler; nostackframe;
  27385. label interrupt_vectors;
  27386. asm
  27387. .section ".init.interrupt_vectors,\"ax\",@progbits"
  27388. interrupt_vectors:
  27389. j _CORE_TIMER_VECTOR_interrupt
  27390. nop
  27391. nop
  27392. nop
  27393. nop
  27394. nop
  27395. nop
  27396. nop
  27397. j _CORE_SOFTWARE_0_VECTOR_interrupt
  27398. nop
  27399. nop
  27400. nop
  27401. nop
  27402. nop
  27403. nop
  27404. nop
  27405. j _CORE_SOFTWARE_1_VECTOR_interrupt
  27406. nop
  27407. nop
  27408. nop
  27409. nop
  27410. nop
  27411. nop
  27412. nop
  27413. j _EXTERNAL_0_VECTOR_interrupt
  27414. nop
  27415. nop
  27416. nop
  27417. nop
  27418. nop
  27419. nop
  27420. nop
  27421. j _TIMER_1_VECTOR_interrupt
  27422. nop
  27423. nop
  27424. nop
  27425. nop
  27426. nop
  27427. nop
  27428. nop
  27429. j _INPUT_CAPTURE_1_VECTOR_interrupt
  27430. nop
  27431. nop
  27432. nop
  27433. nop
  27434. nop
  27435. nop
  27436. nop
  27437. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  27438. nop
  27439. nop
  27440. nop
  27441. nop
  27442. nop
  27443. nop
  27444. nop
  27445. j _EXTERNAL_1_VECTOR_interrupt
  27446. nop
  27447. nop
  27448. nop
  27449. nop
  27450. nop
  27451. nop
  27452. nop
  27453. j _TIMER_2_VECTOR_interrupt
  27454. nop
  27455. nop
  27456. nop
  27457. nop
  27458. nop
  27459. nop
  27460. nop
  27461. j _INPUT_CAPTURE_2_VECTOR_interrupt
  27462. nop
  27463. nop
  27464. nop
  27465. nop
  27466. nop
  27467. nop
  27468. nop
  27469. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  27470. nop
  27471. nop
  27472. nop
  27473. nop
  27474. nop
  27475. nop
  27476. nop
  27477. j _EXTERNAL_2_VECTOR_interrupt
  27478. nop
  27479. nop
  27480. nop
  27481. nop
  27482. nop
  27483. nop
  27484. nop
  27485. j _TIMER_3_VECTOR_interrupt
  27486. nop
  27487. nop
  27488. nop
  27489. nop
  27490. nop
  27491. nop
  27492. nop
  27493. j _INPUT_CAPTURE_3_VECTOR_interrupt
  27494. nop
  27495. nop
  27496. nop
  27497. nop
  27498. nop
  27499. nop
  27500. nop
  27501. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  27502. nop
  27503. nop
  27504. nop
  27505. nop
  27506. nop
  27507. nop
  27508. nop
  27509. j _EXTERNAL_3_VECTOR_interrupt
  27510. nop
  27511. nop
  27512. nop
  27513. nop
  27514. nop
  27515. nop
  27516. nop
  27517. j _TIMER_4_VECTOR_interrupt
  27518. nop
  27519. nop
  27520. nop
  27521. nop
  27522. nop
  27523. nop
  27524. nop
  27525. j _INPUT_CAPTURE_4_VECTOR_interrupt
  27526. nop
  27527. nop
  27528. nop
  27529. nop
  27530. nop
  27531. nop
  27532. nop
  27533. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  27534. nop
  27535. nop
  27536. nop
  27537. nop
  27538. nop
  27539. nop
  27540. nop
  27541. j _EXTERNAL_4_VECTOR_interrupt
  27542. nop
  27543. nop
  27544. nop
  27545. nop
  27546. nop
  27547. nop
  27548. nop
  27549. j _TIMER_5_VECTOR_interrupt
  27550. nop
  27551. nop
  27552. nop
  27553. nop
  27554. nop
  27555. nop
  27556. nop
  27557. j _INPUT_CAPTURE_5_VECTOR_interrupt
  27558. nop
  27559. nop
  27560. nop
  27561. nop
  27562. nop
  27563. nop
  27564. nop
  27565. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  27566. nop
  27567. nop
  27568. nop
  27569. nop
  27570. nop
  27571. nop
  27572. nop
  27573. j _SPI_1_VECTOR_interrupt
  27574. nop
  27575. nop
  27576. nop
  27577. nop
  27578. nop
  27579. nop
  27580. nop
  27581. j _UART_1_VECTOR_interrupt
  27582. nop
  27583. nop
  27584. nop
  27585. nop
  27586. nop
  27587. nop
  27588. nop
  27589. j _I2C_1_VECTOR_interrupt
  27590. nop
  27591. nop
  27592. nop
  27593. nop
  27594. nop
  27595. nop
  27596. nop
  27597. j _CHANGE_NOTICE_VECTOR_interrupt
  27598. nop
  27599. nop
  27600. nop
  27601. nop
  27602. nop
  27603. nop
  27604. nop
  27605. j _ADC_VECTOR_interrupt
  27606. nop
  27607. nop
  27608. nop
  27609. nop
  27610. nop
  27611. nop
  27612. nop
  27613. j _PMP_VECTOR_interrupt
  27614. nop
  27615. nop
  27616. nop
  27617. nop
  27618. nop
  27619. nop
  27620. nop
  27621. j _COMPARATOR_1_VECTOR_interrupt
  27622. nop
  27623. nop
  27624. nop
  27625. nop
  27626. nop
  27627. nop
  27628. nop
  27629. j _COMPARATOR_2_VECTOR_interrupt
  27630. nop
  27631. nop
  27632. nop
  27633. nop
  27634. nop
  27635. nop
  27636. nop
  27637. j _SPI_2_VECTOR_interrupt
  27638. nop
  27639. nop
  27640. nop
  27641. nop
  27642. nop
  27643. nop
  27644. nop
  27645. j _UART_2_VECTOR_interrupt
  27646. nop
  27647. nop
  27648. nop
  27649. nop
  27650. nop
  27651. nop
  27652. nop
  27653. j _I2C_2_VECTOR_interrupt
  27654. nop
  27655. nop
  27656. nop
  27657. nop
  27658. nop
  27659. nop
  27660. nop
  27661. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  27662. nop
  27663. nop
  27664. nop
  27665. nop
  27666. nop
  27667. nop
  27668. nop
  27669. j _RTCC_VECTOR_interrupt
  27670. nop
  27671. nop
  27672. nop
  27673. nop
  27674. nop
  27675. nop
  27676. nop
  27677. nop
  27678. nop
  27679. nop
  27680. nop
  27681. nop
  27682. nop
  27683. nop
  27684. nop
  27685. nop
  27686. nop
  27687. nop
  27688. nop
  27689. nop
  27690. nop
  27691. nop
  27692. nop
  27693. nop
  27694. nop
  27695. nop
  27696. nop
  27697. nop
  27698. nop
  27699. nop
  27700. nop
  27701. nop
  27702. nop
  27703. nop
  27704. nop
  27705. nop
  27706. nop
  27707. nop
  27708. nop
  27709. nop
  27710. nop
  27711. nop
  27712. nop
  27713. nop
  27714. nop
  27715. nop
  27716. nop
  27717. nop
  27718. nop
  27719. nop
  27720. nop
  27721. nop
  27722. nop
  27723. nop
  27724. nop
  27725. nop
  27726. nop
  27727. nop
  27728. nop
  27729. nop
  27730. nop
  27731. nop
  27732. nop
  27733. nop
  27734. nop
  27735. nop
  27736. nop
  27737. nop
  27738. nop
  27739. nop
  27740. nop
  27741. j _FCE_VECTOR_interrupt
  27742. nop
  27743. nop
  27744. nop
  27745. nop
  27746. nop
  27747. nop
  27748. nop
  27749. .weak _CORE_TIMER_VECTOR_interrupt
  27750. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  27751. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  27752. .weak _EXTERNAL_0_VECTOR_interrupt
  27753. .weak _TIMER_1_VECTOR_interrupt
  27754. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  27755. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  27756. .weak _EXTERNAL_1_VECTOR_interrupt
  27757. .weak _TIMER_2_VECTOR_interrupt
  27758. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  27759. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  27760. .weak _EXTERNAL_2_VECTOR_interrupt
  27761. .weak _TIMER_3_VECTOR_interrupt
  27762. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  27763. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  27764. .weak _EXTERNAL_3_VECTOR_interrupt
  27765. .weak _TIMER_4_VECTOR_interrupt
  27766. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  27767. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  27768. .weak _EXTERNAL_4_VECTOR_interrupt
  27769. .weak _TIMER_5_VECTOR_interrupt
  27770. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  27771. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  27772. .weak _SPI_1_VECTOR_interrupt
  27773. .weak _UART_1_VECTOR_interrupt
  27774. .weak _I2C_1_VECTOR_interrupt
  27775. .weak _CHANGE_NOTICE_VECTOR_interrupt
  27776. .weak _ADC_VECTOR_interrupt
  27777. .weak _PMP_VECTOR_interrupt
  27778. .weak _COMPARATOR_1_VECTOR_interrupt
  27779. .weak _COMPARATOR_2_VECTOR_interrupt
  27780. .weak _SPI_2_VECTOR_interrupt
  27781. .weak _UART_2_VECTOR_interrupt
  27782. .weak _I2C_2_VECTOR_interrupt
  27783. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  27784. .weak _RTCC_VECTOR_interrupt
  27785. .weak _FCE_VECTOR_interrupt
  27786. .text
  27787. end;
  27788. end.