pic32mx360f256l.pp 907 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280
  1. unit pic32mx360f256l;
  2. interface
  3. {$goto on}
  4. {$modeswitch advancedrecords}
  5. {$INLINE ON}
  6. {$OPTIMIZATION STACKFRAME}
  7. {$L startup.o}
  8. {$PACKRECORDS 2}
  9. type
  10. TBits_1 = 0..1;
  11. TBits_2 = 0..3;
  12. TBits_3 = 0..7;
  13. TBits_4 = 0..15;
  14. TBits_5 = 0..31;
  15. TBits_6 = 0..63;
  16. TBits_7 = 0..127;
  17. TBits_8 = 0..255;
  18. TBits_9 = 0..511;
  19. TBits_10 = 0..1023;
  20. TBits_11 = 0..2047;
  21. TBits_12 = 0..4095;
  22. TBits_13 = 0..8191;
  23. TBits_14 = 0..16383;
  24. TBits_15 = 0..32767;
  25. TBits_16 = 0..65535;
  26. TBits_17 = 0..131071;
  27. TBits_18 = 0..262143;
  28. TBits_19 = 0..524287;
  29. TBits_20 = 0..1048575;
  30. TBits_21 = 0..2097151;
  31. TBits_22 = 0..4194303;
  32. TBits_23 = 0..8388607;
  33. TBits_24 = 0..16777215;
  34. TBits_25 = 0..33554431;
  35. TBits_26 = 0..67108863;
  36. TBits_27 = 0..134217727;
  37. TBits_28 = 0..268435455;
  38. TBits_29 = 0..536870911;
  39. TBits_30 = 0..1073741823;
  40. TBits_31 = 0..2147483647;
  41. TBits_32 = 0..4294967295;
  42. TWDT_WDTCON = record
  43. private
  44. function getON : TBits_1; inline;
  45. function getSWDTPS : TBits_5; inline;
  46. function getSWDTPS0 : TBits_1; inline;
  47. function getSWDTPS1 : TBits_1; inline;
  48. function getSWDTPS2 : TBits_1; inline;
  49. function getSWDTPS3 : TBits_1; inline;
  50. function getSWDTPS4 : TBits_1; inline;
  51. function getWDTCLR : TBits_1; inline;
  52. function getWDTPS : TBits_5; inline;
  53. function getWDTPSTA : TBits_5; inline;
  54. function getw : TBits_32; inline;
  55. procedure setON(thebits : TBits_1); inline;
  56. procedure setSWDTPS(thebits : TBits_5); inline;
  57. procedure setSWDTPS0(thebits : TBits_1); inline;
  58. procedure setSWDTPS1(thebits : TBits_1); inline;
  59. procedure setSWDTPS2(thebits : TBits_1); inline;
  60. procedure setSWDTPS3(thebits : TBits_1); inline;
  61. procedure setSWDTPS4(thebits : TBits_1); inline;
  62. procedure setWDTCLR(thebits : TBits_1); inline;
  63. procedure setWDTPS(thebits : TBits_5); inline;
  64. procedure setWDTPSTA(thebits : TBits_5); inline;
  65. procedure setw(thebits : TBits_32); inline;
  66. public
  67. procedure clearON; inline;
  68. procedure clearSWDTPS0; inline;
  69. procedure clearSWDTPS1; inline;
  70. procedure clearSWDTPS2; inline;
  71. procedure clearSWDTPS3; inline;
  72. procedure clearSWDTPS4; inline;
  73. procedure clearWDTCLR; inline;
  74. procedure setON; inline;
  75. procedure setSWDTPS0; inline;
  76. procedure setSWDTPS1; inline;
  77. procedure setSWDTPS2; inline;
  78. procedure setSWDTPS3; inline;
  79. procedure setSWDTPS4; inline;
  80. procedure setWDTCLR; inline;
  81. property ON : TBits_1 read getON write setON;
  82. property SWDTPS : TBits_5 read getSWDTPS write setSWDTPS;
  83. property SWDTPS0 : TBits_1 read getSWDTPS0 write setSWDTPS0;
  84. property SWDTPS1 : TBits_1 read getSWDTPS1 write setSWDTPS1;
  85. property SWDTPS2 : TBits_1 read getSWDTPS2 write setSWDTPS2;
  86. property SWDTPS3 : TBits_1 read getSWDTPS3 write setSWDTPS3;
  87. property SWDTPS4 : TBits_1 read getSWDTPS4 write setSWDTPS4;
  88. property WDTCLR : TBits_1 read getWDTCLR write setWDTCLR;
  89. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  90. property WDTPSTA : TBits_5 read getWDTPSTA write setWDTPSTA;
  91. property w : TBits_32 read getw write setw;
  92. end;
  93. type
  94. TWDTRegisters = record
  95. WDTCONbits : TWDT_WDTCON;
  96. WDTCON : longWord;
  97. WDTCONCLR : longWord;
  98. WDTCONSET : longWord;
  99. WDTCONINV : longWord;
  100. end;
  101. TRTCC_RTCCON = record
  102. private
  103. function getCAL : TBits_10; inline;
  104. function getHALFSEC : TBits_1; inline;
  105. function getON : TBits_1; inline;
  106. function getRTCCLKON : TBits_1; inline;
  107. function getRTCOE : TBits_1; inline;
  108. function getRTCSYNC : TBits_1; inline;
  109. function getRTCWREN : TBits_1; inline;
  110. function getRTSECSEL : TBits_1; inline;
  111. function getSIDL : TBits_1; inline;
  112. function getw : TBits_32; inline;
  113. procedure setCAL(thebits : TBits_10); inline;
  114. procedure setHALFSEC(thebits : TBits_1); inline;
  115. procedure setON(thebits : TBits_1); inline;
  116. procedure setRTCCLKON(thebits : TBits_1); inline;
  117. procedure setRTCOE(thebits : TBits_1); inline;
  118. procedure setRTCSYNC(thebits : TBits_1); inline;
  119. procedure setRTCWREN(thebits : TBits_1); inline;
  120. procedure setRTSECSEL(thebits : TBits_1); inline;
  121. procedure setSIDL(thebits : TBits_1); inline;
  122. procedure setw(thebits : TBits_32); inline;
  123. public
  124. procedure clearHALFSEC; inline;
  125. procedure clearON; inline;
  126. procedure clearRTCCLKON; inline;
  127. procedure clearRTCOE; inline;
  128. procedure clearRTCSYNC; inline;
  129. procedure clearRTCWREN; inline;
  130. procedure clearRTSECSEL; inline;
  131. procedure clearSIDL; inline;
  132. procedure setHALFSEC; inline;
  133. procedure setON; inline;
  134. procedure setRTCCLKON; inline;
  135. procedure setRTCOE; inline;
  136. procedure setRTCSYNC; inline;
  137. procedure setRTCWREN; inline;
  138. procedure setRTSECSEL; inline;
  139. procedure setSIDL; inline;
  140. property CAL : TBits_10 read getCAL write setCAL;
  141. property HALFSEC : TBits_1 read getHALFSEC write setHALFSEC;
  142. property ON : TBits_1 read getON write setON;
  143. property RTCCLKON : TBits_1 read getRTCCLKON write setRTCCLKON;
  144. property RTCOE : TBits_1 read getRTCOE write setRTCOE;
  145. property RTCSYNC : TBits_1 read getRTCSYNC write setRTCSYNC;
  146. property RTCWREN : TBits_1 read getRTCWREN write setRTCWREN;
  147. property RTSECSEL : TBits_1 read getRTSECSEL write setRTSECSEL;
  148. property SIDL : TBits_1 read getSIDL write setSIDL;
  149. property w : TBits_32 read getw write setw;
  150. end;
  151. TRTCC_RTCALRM = record
  152. private
  153. function getALRMEN : TBits_1; inline;
  154. function getALRMSYNC : TBits_1; inline;
  155. function getAMASK : TBits_4; inline;
  156. function getARPT : TBits_8; inline;
  157. function getCHIME : TBits_1; inline;
  158. function getPIV : TBits_1; inline;
  159. function getw : TBits_32; inline;
  160. procedure setALRMEN(thebits : TBits_1); inline;
  161. procedure setALRMSYNC(thebits : TBits_1); inline;
  162. procedure setAMASK(thebits : TBits_4); inline;
  163. procedure setARPT(thebits : TBits_8); inline;
  164. procedure setCHIME(thebits : TBits_1); inline;
  165. procedure setPIV(thebits : TBits_1); inline;
  166. procedure setw(thebits : TBits_32); inline;
  167. public
  168. procedure clearALRMEN; inline;
  169. procedure clearALRMSYNC; inline;
  170. procedure clearCHIME; inline;
  171. procedure clearPIV; inline;
  172. procedure setALRMEN; inline;
  173. procedure setALRMSYNC; inline;
  174. procedure setCHIME; inline;
  175. procedure setPIV; inline;
  176. property ALRMEN : TBits_1 read getALRMEN write setALRMEN;
  177. property ALRMSYNC : TBits_1 read getALRMSYNC write setALRMSYNC;
  178. property AMASK : TBits_4 read getAMASK write setAMASK;
  179. property ARPT : TBits_8 read getARPT write setARPT;
  180. property CHIME : TBits_1 read getCHIME write setCHIME;
  181. property PIV : TBits_1 read getPIV write setPIV;
  182. property w : TBits_32 read getw write setw;
  183. end;
  184. TRTCC_RTCTIME = record
  185. private
  186. function getHR01 : TBits_4; inline;
  187. function getHR10 : TBits_4; inline;
  188. function getMIN01 : TBits_4; inline;
  189. function getMIN10 : TBits_4; inline;
  190. function getSEC01 : TBits_4; inline;
  191. function getSEC10 : TBits_4; inline;
  192. function getw : TBits_32; inline;
  193. procedure setHR01(thebits : TBits_4); inline;
  194. procedure setHR10(thebits : TBits_4); inline;
  195. procedure setMIN01(thebits : TBits_4); inline;
  196. procedure setMIN10(thebits : TBits_4); inline;
  197. procedure setSEC01(thebits : TBits_4); inline;
  198. procedure setSEC10(thebits : TBits_4); inline;
  199. procedure setw(thebits : TBits_32); inline;
  200. public
  201. property HR01 : TBits_4 read getHR01 write setHR01;
  202. property HR10 : TBits_4 read getHR10 write setHR10;
  203. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  204. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  205. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  206. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  207. property w : TBits_32 read getw write setw;
  208. end;
  209. TRTCC_RTCDATE = record
  210. private
  211. function getDAY01 : TBits_4; inline;
  212. function getDAY10 : TBits_4; inline;
  213. function getMONTH01 : TBits_4; inline;
  214. function getMONTH10 : TBits_4; inline;
  215. function getWDAY01 : TBits_4; inline;
  216. function getYEAR01 : TBits_4; inline;
  217. function getYEAR10 : TBits_4; inline;
  218. function getw : TBits_32; inline;
  219. procedure setDAY01(thebits : TBits_4); inline;
  220. procedure setDAY10(thebits : TBits_4); inline;
  221. procedure setMONTH01(thebits : TBits_4); inline;
  222. procedure setMONTH10(thebits : TBits_4); inline;
  223. procedure setWDAY01(thebits : TBits_4); inline;
  224. procedure setYEAR01(thebits : TBits_4); inline;
  225. procedure setYEAR10(thebits : TBits_4); inline;
  226. procedure setw(thebits : TBits_32); inline;
  227. public
  228. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  229. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  230. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  231. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  232. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  233. property YEAR01 : TBits_4 read getYEAR01 write setYEAR01;
  234. property YEAR10 : TBits_4 read getYEAR10 write setYEAR10;
  235. property w : TBits_32 read getw write setw;
  236. end;
  237. TRTCC_ALRMTIME = record
  238. private
  239. function getHR01 : TBits_4; inline;
  240. function getHR10 : TBits_4; inline;
  241. function getMIN01 : TBits_4; inline;
  242. function getMIN10 : TBits_4; inline;
  243. function getSEC01 : TBits_4; inline;
  244. function getSEC10 : TBits_4; inline;
  245. function getw : TBits_32; inline;
  246. procedure setHR01(thebits : TBits_4); inline;
  247. procedure setHR10(thebits : TBits_4); inline;
  248. procedure setMIN01(thebits : TBits_4); inline;
  249. procedure setMIN10(thebits : TBits_4); inline;
  250. procedure setSEC01(thebits : TBits_4); inline;
  251. procedure setSEC10(thebits : TBits_4); inline;
  252. procedure setw(thebits : TBits_32); inline;
  253. public
  254. property HR01 : TBits_4 read getHR01 write setHR01;
  255. property HR10 : TBits_4 read getHR10 write setHR10;
  256. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  257. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  258. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  259. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  260. property w : TBits_32 read getw write setw;
  261. end;
  262. TRTCC_ALRMDATE = record
  263. private
  264. function getDAY01 : TBits_4; inline;
  265. function getDAY10 : TBits_4; inline;
  266. function getMONTH01 : TBits_4; inline;
  267. function getMONTH10 : TBits_4; inline;
  268. function getWDAY01 : TBits_4; inline;
  269. function getw : TBits_32; inline;
  270. procedure setDAY01(thebits : TBits_4); inline;
  271. procedure setDAY10(thebits : TBits_4); inline;
  272. procedure setMONTH01(thebits : TBits_4); inline;
  273. procedure setMONTH10(thebits : TBits_4); inline;
  274. procedure setWDAY01(thebits : TBits_4); inline;
  275. procedure setw(thebits : TBits_32); inline;
  276. public
  277. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  278. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  279. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  280. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  281. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  282. property w : TBits_32 read getw write setw;
  283. end;
  284. type
  285. TRTCCRegisters = record
  286. RTCCONbits : TRTCC_RTCCON;
  287. RTCCON : longWord;
  288. RTCCONCLR : longWord;
  289. RTCCONSET : longWord;
  290. RTCCONINV : longWord;
  291. RTCALRMbits : TRTCC_RTCALRM;
  292. RTCALRM : longWord;
  293. RTCALRMCLR : longWord;
  294. RTCALRMSET : longWord;
  295. RTCALRMINV : longWord;
  296. RTCTIMEbits : TRTCC_RTCTIME;
  297. RTCTIME : longWord;
  298. RTCTIMECLR : longWord;
  299. RTCTIMESET : longWord;
  300. RTCTIMEINV : longWord;
  301. RTCDATEbits : TRTCC_RTCDATE;
  302. RTCDATE : longWord;
  303. RTCDATECLR : longWord;
  304. RTCDATESET : longWord;
  305. RTCDATEINV : longWord;
  306. ALRMTIMEbits : TRTCC_ALRMTIME;
  307. ALRMTIME : longWord;
  308. ALRMTIMECLR : longWord;
  309. ALRMTIMESET : longWord;
  310. ALRMTIMEINV : longWord;
  311. ALRMDATEbits : TRTCC_ALRMDATE;
  312. ALRMDATE : longWord;
  313. ALRMDATECLR : longWord;
  314. ALRMDATESET : longWord;
  315. ALRMDATEINV : longWord;
  316. end;
  317. TTMR1_T1CON = record
  318. private
  319. function getON : TBits_1; inline;
  320. function getSIDL : TBits_1; inline;
  321. function getTCKPS : TBits_2; inline;
  322. function getTCKPS0 : TBits_1; inline;
  323. function getTCKPS1 : TBits_1; inline;
  324. function getTCS : TBits_1; inline;
  325. function getTGATE : TBits_1; inline;
  326. function getTON : TBits_1; inline;
  327. function getTSIDL : TBits_1; inline;
  328. function getTSYNC : TBits_1; inline;
  329. function getTWDIS : TBits_1; inline;
  330. function getTWIP : TBits_1; inline;
  331. function getw : TBits_32; inline;
  332. procedure setON(thebits : TBits_1); inline;
  333. procedure setSIDL(thebits : TBits_1); inline;
  334. procedure setTCKPS(thebits : TBits_2); inline;
  335. procedure setTCKPS0(thebits : TBits_1); inline;
  336. procedure setTCKPS1(thebits : TBits_1); inline;
  337. procedure setTCS(thebits : TBits_1); inline;
  338. procedure setTGATE(thebits : TBits_1); inline;
  339. procedure setTON(thebits : TBits_1); inline;
  340. procedure setTSIDL(thebits : TBits_1); inline;
  341. procedure setTSYNC(thebits : TBits_1); inline;
  342. procedure setTWDIS(thebits : TBits_1); inline;
  343. procedure setTWIP(thebits : TBits_1); inline;
  344. procedure setw(thebits : TBits_32); inline;
  345. public
  346. procedure clearON; inline;
  347. procedure clearSIDL; inline;
  348. procedure clearTCKPS0; inline;
  349. procedure clearTCKPS1; inline;
  350. procedure clearTCS; inline;
  351. procedure clearTGATE; inline;
  352. procedure clearTON; inline;
  353. procedure clearTSIDL; inline;
  354. procedure clearTSYNC; inline;
  355. procedure clearTWDIS; inline;
  356. procedure clearTWIP; inline;
  357. procedure setON; inline;
  358. procedure setSIDL; inline;
  359. procedure setTCKPS0; inline;
  360. procedure setTCKPS1; inline;
  361. procedure setTCS; inline;
  362. procedure setTGATE; inline;
  363. procedure setTON; inline;
  364. procedure setTSIDL; inline;
  365. procedure setTSYNC; inline;
  366. procedure setTWDIS; inline;
  367. procedure setTWIP; inline;
  368. property ON : TBits_1 read getON write setON;
  369. property SIDL : TBits_1 read getSIDL write setSIDL;
  370. property TCKPS : TBits_2 read getTCKPS write setTCKPS;
  371. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  372. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  373. property TCS : TBits_1 read getTCS write setTCS;
  374. property TGATE : TBits_1 read getTGATE write setTGATE;
  375. property TON : TBits_1 read getTON write setTON;
  376. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  377. property TSYNC : TBits_1 read getTSYNC write setTSYNC;
  378. property TWDIS : TBits_1 read getTWDIS write setTWDIS;
  379. property TWIP : TBits_1 read getTWIP write setTWIP;
  380. property w : TBits_32 read getw write setw;
  381. end;
  382. type
  383. TTMR1Registers = record
  384. T1CONbits : TTMR1_T1CON;
  385. T1CON : longWord;
  386. T1CONCLR : longWord;
  387. T1CONSET : longWord;
  388. T1CONINV : longWord;
  389. TMR1 : longWord;
  390. TMR1CLR : longWord;
  391. TMR1SET : longWord;
  392. TMR1INV : longWord;
  393. PR1 : longWord;
  394. PR1CLR : longWord;
  395. PR1SET : longWord;
  396. PR1INV : longWord;
  397. end;
  398. TTMR23_T2CON = record
  399. private
  400. function getON : TBits_1; inline;
  401. function getSIDL : TBits_1; inline;
  402. function getT32 : TBits_1; inline;
  403. function getTCKPS : TBits_3; inline;
  404. function getTCKPS0 : TBits_1; inline;
  405. function getTCKPS1 : TBits_1; inline;
  406. function getTCKPS2 : TBits_1; inline;
  407. function getTCS : TBits_1; inline;
  408. function getTGATE : TBits_1; inline;
  409. function getTON : TBits_1; inline;
  410. function getTSIDL : TBits_1; inline;
  411. function getw : TBits_32; inline;
  412. procedure setON(thebits : TBits_1); inline;
  413. procedure setSIDL(thebits : TBits_1); inline;
  414. procedure setT32(thebits : TBits_1); inline;
  415. procedure setTCKPS(thebits : TBits_3); inline;
  416. procedure setTCKPS0(thebits : TBits_1); inline;
  417. procedure setTCKPS1(thebits : TBits_1); inline;
  418. procedure setTCKPS2(thebits : TBits_1); inline;
  419. procedure setTCS(thebits : TBits_1); inline;
  420. procedure setTGATE(thebits : TBits_1); inline;
  421. procedure setTON(thebits : TBits_1); inline;
  422. procedure setTSIDL(thebits : TBits_1); inline;
  423. procedure setw(thebits : TBits_32); inline;
  424. public
  425. procedure clearON; inline;
  426. procedure clearSIDL; inline;
  427. procedure clearT32; inline;
  428. procedure clearTCKPS0; inline;
  429. procedure clearTCKPS1; inline;
  430. procedure clearTCKPS2; inline;
  431. procedure clearTCS; inline;
  432. procedure clearTGATE; inline;
  433. procedure clearTON; inline;
  434. procedure clearTSIDL; inline;
  435. procedure setON; inline;
  436. procedure setSIDL; inline;
  437. procedure setT32; inline;
  438. procedure setTCKPS0; inline;
  439. procedure setTCKPS1; inline;
  440. procedure setTCKPS2; inline;
  441. procedure setTCS; inline;
  442. procedure setTGATE; inline;
  443. procedure setTON; inline;
  444. procedure setTSIDL; inline;
  445. property ON : TBits_1 read getON write setON;
  446. property SIDL : TBits_1 read getSIDL write setSIDL;
  447. property T32 : TBits_1 read getT32 write setT32;
  448. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  449. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  450. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  451. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  452. property TCS : TBits_1 read getTCS write setTCS;
  453. property TGATE : TBits_1 read getTGATE write setTGATE;
  454. property TON : TBits_1 read getTON write setTON;
  455. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  456. property w : TBits_32 read getw write setw;
  457. end;
  458. type
  459. TTMR23Registers = record
  460. T2CONbits : TTMR23_T2CON;
  461. T2CON : longWord;
  462. T2CONCLR : longWord;
  463. T2CONSET : longWord;
  464. T2CONINV : longWord;
  465. TMR2 : longWord;
  466. TMR2CLR : longWord;
  467. TMR2SET : longWord;
  468. TMR2INV : longWord;
  469. PR2 : longWord;
  470. PR2CLR : longWord;
  471. PR2SET : longWord;
  472. PR2INV : longWord;
  473. end;
  474. TTMR3_T3CON = record
  475. private
  476. function getON : TBits_1; inline;
  477. function getSIDL : TBits_1; inline;
  478. function getTCKPS : TBits_3; inline;
  479. function getTCKPS0 : TBits_1; inline;
  480. function getTCKPS1 : TBits_1; inline;
  481. function getTCKPS2 : TBits_1; inline;
  482. function getTCS : TBits_1; inline;
  483. function getTGATE : TBits_1; inline;
  484. function getTON : TBits_1; inline;
  485. function getTSIDL : TBits_1; inline;
  486. function getw : TBits_32; inline;
  487. procedure setON(thebits : TBits_1); inline;
  488. procedure setSIDL(thebits : TBits_1); inline;
  489. procedure setTCKPS(thebits : TBits_3); inline;
  490. procedure setTCKPS0(thebits : TBits_1); inline;
  491. procedure setTCKPS1(thebits : TBits_1); inline;
  492. procedure setTCKPS2(thebits : TBits_1); inline;
  493. procedure setTCS(thebits : TBits_1); inline;
  494. procedure setTGATE(thebits : TBits_1); inline;
  495. procedure setTON(thebits : TBits_1); inline;
  496. procedure setTSIDL(thebits : TBits_1); inline;
  497. procedure setw(thebits : TBits_32); inline;
  498. public
  499. procedure clearON; inline;
  500. procedure clearSIDL; inline;
  501. procedure clearTCKPS0; inline;
  502. procedure clearTCKPS1; inline;
  503. procedure clearTCKPS2; inline;
  504. procedure clearTCS; inline;
  505. procedure clearTGATE; inline;
  506. procedure clearTON; inline;
  507. procedure clearTSIDL; inline;
  508. procedure setON; inline;
  509. procedure setSIDL; inline;
  510. procedure setTCKPS0; inline;
  511. procedure setTCKPS1; inline;
  512. procedure setTCKPS2; inline;
  513. procedure setTCS; inline;
  514. procedure setTGATE; inline;
  515. procedure setTON; inline;
  516. procedure setTSIDL; inline;
  517. property ON : TBits_1 read getON write setON;
  518. property SIDL : TBits_1 read getSIDL write setSIDL;
  519. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  520. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  521. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  522. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  523. property TCS : TBits_1 read getTCS write setTCS;
  524. property TGATE : TBits_1 read getTGATE write setTGATE;
  525. property TON : TBits_1 read getTON write setTON;
  526. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  527. property w : TBits_32 read getw write setw;
  528. end;
  529. type
  530. TTMR3Registers = record
  531. T3CONbits : TTMR3_T3CON;
  532. T3CON : longWord;
  533. T3CONCLR : longWord;
  534. T3CONSET : longWord;
  535. T3CONINV : longWord;
  536. TMR3 : longWord;
  537. TMR3CLR : longWord;
  538. TMR3SET : longWord;
  539. TMR3INV : longWord;
  540. PR3 : longWord;
  541. PR3CLR : longWord;
  542. PR3SET : longWord;
  543. PR3INV : longWord;
  544. end;
  545. TTMR4_T4CON = record
  546. private
  547. function getON : TBits_1; inline;
  548. function getSIDL : TBits_1; inline;
  549. function getT32 : TBits_1; inline;
  550. function getTCKPS : TBits_3; inline;
  551. function getTCKPS0 : TBits_1; inline;
  552. function getTCKPS1 : TBits_1; inline;
  553. function getTCKPS2 : TBits_1; inline;
  554. function getTCS : TBits_1; inline;
  555. function getTGATE : TBits_1; inline;
  556. function getTON : TBits_1; inline;
  557. function getTSIDL : TBits_1; inline;
  558. function getw : TBits_32; inline;
  559. procedure setON(thebits : TBits_1); inline;
  560. procedure setSIDL(thebits : TBits_1); inline;
  561. procedure setT32(thebits : TBits_1); inline;
  562. procedure setTCKPS(thebits : TBits_3); inline;
  563. procedure setTCKPS0(thebits : TBits_1); inline;
  564. procedure setTCKPS1(thebits : TBits_1); inline;
  565. procedure setTCKPS2(thebits : TBits_1); inline;
  566. procedure setTCS(thebits : TBits_1); inline;
  567. procedure setTGATE(thebits : TBits_1); inline;
  568. procedure setTON(thebits : TBits_1); inline;
  569. procedure setTSIDL(thebits : TBits_1); inline;
  570. procedure setw(thebits : TBits_32); inline;
  571. public
  572. procedure clearON; inline;
  573. procedure clearSIDL; inline;
  574. procedure clearT32; inline;
  575. procedure clearTCKPS0; inline;
  576. procedure clearTCKPS1; inline;
  577. procedure clearTCKPS2; inline;
  578. procedure clearTCS; inline;
  579. procedure clearTGATE; inline;
  580. procedure clearTON; inline;
  581. procedure clearTSIDL; inline;
  582. procedure setON; inline;
  583. procedure setSIDL; inline;
  584. procedure setT32; inline;
  585. procedure setTCKPS0; inline;
  586. procedure setTCKPS1; inline;
  587. procedure setTCKPS2; inline;
  588. procedure setTCS; inline;
  589. procedure setTGATE; inline;
  590. procedure setTON; inline;
  591. procedure setTSIDL; inline;
  592. property ON : TBits_1 read getON write setON;
  593. property SIDL : TBits_1 read getSIDL write setSIDL;
  594. property T32 : TBits_1 read getT32 write setT32;
  595. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  596. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  597. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  598. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  599. property TCS : TBits_1 read getTCS write setTCS;
  600. property TGATE : TBits_1 read getTGATE write setTGATE;
  601. property TON : TBits_1 read getTON write setTON;
  602. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  603. property w : TBits_32 read getw write setw;
  604. end;
  605. type
  606. TTMR4Registers = record
  607. T4CONbits : TTMR4_T4CON;
  608. T4CON : longWord;
  609. T4CONCLR : longWord;
  610. T4CONSET : longWord;
  611. T4CONINV : longWord;
  612. TMR4 : longWord;
  613. TMR4CLR : longWord;
  614. TMR4SET : longWord;
  615. TMR4INV : longWord;
  616. PR4 : longWord;
  617. PR4CLR : longWord;
  618. PR4SET : longWord;
  619. PR4INV : longWord;
  620. end;
  621. TTMR5_T5CON = record
  622. private
  623. function getON : TBits_1; inline;
  624. function getSIDL : TBits_1; inline;
  625. function getTCKPS : TBits_3; inline;
  626. function getTCKPS0 : TBits_1; inline;
  627. function getTCKPS1 : TBits_1; inline;
  628. function getTCKPS2 : TBits_1; inline;
  629. function getTCS : TBits_1; inline;
  630. function getTGATE : TBits_1; inline;
  631. function getTON : TBits_1; inline;
  632. function getTSIDL : TBits_1; inline;
  633. function getw : TBits_32; inline;
  634. procedure setON(thebits : TBits_1); inline;
  635. procedure setSIDL(thebits : TBits_1); inline;
  636. procedure setTCKPS(thebits : TBits_3); inline;
  637. procedure setTCKPS0(thebits : TBits_1); inline;
  638. procedure setTCKPS1(thebits : TBits_1); inline;
  639. procedure setTCKPS2(thebits : TBits_1); inline;
  640. procedure setTCS(thebits : TBits_1); inline;
  641. procedure setTGATE(thebits : TBits_1); inline;
  642. procedure setTON(thebits : TBits_1); inline;
  643. procedure setTSIDL(thebits : TBits_1); inline;
  644. procedure setw(thebits : TBits_32); inline;
  645. public
  646. procedure clearON; inline;
  647. procedure clearSIDL; inline;
  648. procedure clearTCKPS0; inline;
  649. procedure clearTCKPS1; inline;
  650. procedure clearTCKPS2; inline;
  651. procedure clearTCS; inline;
  652. procedure clearTGATE; inline;
  653. procedure clearTON; inline;
  654. procedure clearTSIDL; inline;
  655. procedure setON; inline;
  656. procedure setSIDL; inline;
  657. procedure setTCKPS0; inline;
  658. procedure setTCKPS1; inline;
  659. procedure setTCKPS2; inline;
  660. procedure setTCS; inline;
  661. procedure setTGATE; inline;
  662. procedure setTON; inline;
  663. procedure setTSIDL; inline;
  664. property ON : TBits_1 read getON write setON;
  665. property SIDL : TBits_1 read getSIDL write setSIDL;
  666. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  667. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  668. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  669. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  670. property TCS : TBits_1 read getTCS write setTCS;
  671. property TGATE : TBits_1 read getTGATE write setTGATE;
  672. property TON : TBits_1 read getTON write setTON;
  673. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  674. property w : TBits_32 read getw write setw;
  675. end;
  676. type
  677. TTMR5Registers = record
  678. T5CONbits : TTMR5_T5CON;
  679. T5CON : longWord;
  680. T5CONCLR : longWord;
  681. T5CONSET : longWord;
  682. T5CONINV : longWord;
  683. TMR5 : longWord;
  684. TMR5CLR : longWord;
  685. TMR5SET : longWord;
  686. TMR5INV : longWord;
  687. PR5 : longWord;
  688. PR5CLR : longWord;
  689. PR5SET : longWord;
  690. PR5INV : longWord;
  691. end;
  692. TICAP1_IC1CON = record
  693. private
  694. function getC32 : TBits_1; inline;
  695. function getFEDGE : TBits_1; inline;
  696. function getICBNE : TBits_1; inline;
  697. function getICI : TBits_2; inline;
  698. function getICI0 : TBits_1; inline;
  699. function getICI1 : TBits_1; inline;
  700. function getICM : TBits_3; inline;
  701. function getICM0 : TBits_1; inline;
  702. function getICM1 : TBits_1; inline;
  703. function getICM2 : TBits_1; inline;
  704. function getICOV : TBits_1; inline;
  705. function getICSIDL : TBits_1; inline;
  706. function getICTMR : TBits_1; inline;
  707. function getON : TBits_1; inline;
  708. function getSIDL : TBits_1; inline;
  709. function getw : TBits_32; inline;
  710. procedure setC32(thebits : TBits_1); inline;
  711. procedure setFEDGE(thebits : TBits_1); inline;
  712. procedure setICBNE(thebits : TBits_1); inline;
  713. procedure setICI(thebits : TBits_2); inline;
  714. procedure setICI0(thebits : TBits_1); inline;
  715. procedure setICI1(thebits : TBits_1); inline;
  716. procedure setICM(thebits : TBits_3); inline;
  717. procedure setICM0(thebits : TBits_1); inline;
  718. procedure setICM1(thebits : TBits_1); inline;
  719. procedure setICM2(thebits : TBits_1); inline;
  720. procedure setICOV(thebits : TBits_1); inline;
  721. procedure setICSIDL(thebits : TBits_1); inline;
  722. procedure setICTMR(thebits : TBits_1); inline;
  723. procedure setON(thebits : TBits_1); inline;
  724. procedure setSIDL(thebits : TBits_1); inline;
  725. procedure setw(thebits : TBits_32); inline;
  726. public
  727. procedure clearC32; inline;
  728. procedure clearFEDGE; inline;
  729. procedure clearICBNE; inline;
  730. procedure clearICI0; inline;
  731. procedure clearICI1; inline;
  732. procedure clearICM0; inline;
  733. procedure clearICM1; inline;
  734. procedure clearICM2; inline;
  735. procedure clearICOV; inline;
  736. procedure clearICSIDL; inline;
  737. procedure clearICTMR; inline;
  738. procedure clearON; inline;
  739. procedure clearSIDL; inline;
  740. procedure setC32; inline;
  741. procedure setFEDGE; inline;
  742. procedure setICBNE; inline;
  743. procedure setICI0; inline;
  744. procedure setICI1; inline;
  745. procedure setICM0; inline;
  746. procedure setICM1; inline;
  747. procedure setICM2; inline;
  748. procedure setICOV; inline;
  749. procedure setICSIDL; inline;
  750. procedure setICTMR; inline;
  751. procedure setON; inline;
  752. procedure setSIDL; inline;
  753. property C32 : TBits_1 read getC32 write setC32;
  754. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  755. property ICBNE : TBits_1 read getICBNE write setICBNE;
  756. property ICI : TBits_2 read getICI write setICI;
  757. property ICI0 : TBits_1 read getICI0 write setICI0;
  758. property ICI1 : TBits_1 read getICI1 write setICI1;
  759. property ICM : TBits_3 read getICM write setICM;
  760. property ICM0 : TBits_1 read getICM0 write setICM0;
  761. property ICM1 : TBits_1 read getICM1 write setICM1;
  762. property ICM2 : TBits_1 read getICM2 write setICM2;
  763. property ICOV : TBits_1 read getICOV write setICOV;
  764. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  765. property ICTMR : TBits_1 read getICTMR write setICTMR;
  766. property ON : TBits_1 read getON write setON;
  767. property SIDL : TBits_1 read getSIDL write setSIDL;
  768. property w : TBits_32 read getw write setw;
  769. end;
  770. type
  771. TICAP1Registers = record
  772. IC1CONbits : TICAP1_IC1CON;
  773. IC1CON : longWord;
  774. IC1CONCLR : longWord;
  775. IC1CONSET : longWord;
  776. IC1CONINV : longWord;
  777. IC1BUF : longWord;
  778. end;
  779. TICAP2_IC2CON = record
  780. private
  781. function getC32 : TBits_1; inline;
  782. function getFEDGE : TBits_1; inline;
  783. function getICBNE : TBits_1; inline;
  784. function getICI : TBits_2; inline;
  785. function getICI0 : TBits_1; inline;
  786. function getICI1 : TBits_1; inline;
  787. function getICM : TBits_3; inline;
  788. function getICM0 : TBits_1; inline;
  789. function getICM1 : TBits_1; inline;
  790. function getICM2 : TBits_1; inline;
  791. function getICOV : TBits_1; inline;
  792. function getICSIDL : TBits_1; inline;
  793. function getICTMR : TBits_1; inline;
  794. function getON : TBits_1; inline;
  795. function getSIDL : TBits_1; inline;
  796. function getw : TBits_32; inline;
  797. procedure setC32(thebits : TBits_1); inline;
  798. procedure setFEDGE(thebits : TBits_1); inline;
  799. procedure setICBNE(thebits : TBits_1); inline;
  800. procedure setICI(thebits : TBits_2); inline;
  801. procedure setICI0(thebits : TBits_1); inline;
  802. procedure setICI1(thebits : TBits_1); inline;
  803. procedure setICM(thebits : TBits_3); inline;
  804. procedure setICM0(thebits : TBits_1); inline;
  805. procedure setICM1(thebits : TBits_1); inline;
  806. procedure setICM2(thebits : TBits_1); inline;
  807. procedure setICOV(thebits : TBits_1); inline;
  808. procedure setICSIDL(thebits : TBits_1); inline;
  809. procedure setICTMR(thebits : TBits_1); inline;
  810. procedure setON(thebits : TBits_1); inline;
  811. procedure setSIDL(thebits : TBits_1); inline;
  812. procedure setw(thebits : TBits_32); inline;
  813. public
  814. procedure clearC32; inline;
  815. procedure clearFEDGE; inline;
  816. procedure clearICBNE; inline;
  817. procedure clearICI0; inline;
  818. procedure clearICI1; inline;
  819. procedure clearICM0; inline;
  820. procedure clearICM1; inline;
  821. procedure clearICM2; inline;
  822. procedure clearICOV; inline;
  823. procedure clearICSIDL; inline;
  824. procedure clearICTMR; inline;
  825. procedure clearON; inline;
  826. procedure clearSIDL; inline;
  827. procedure setC32; inline;
  828. procedure setFEDGE; inline;
  829. procedure setICBNE; inline;
  830. procedure setICI0; inline;
  831. procedure setICI1; inline;
  832. procedure setICM0; inline;
  833. procedure setICM1; inline;
  834. procedure setICM2; inline;
  835. procedure setICOV; inline;
  836. procedure setICSIDL; inline;
  837. procedure setICTMR; inline;
  838. procedure setON; inline;
  839. procedure setSIDL; inline;
  840. property C32 : TBits_1 read getC32 write setC32;
  841. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  842. property ICBNE : TBits_1 read getICBNE write setICBNE;
  843. property ICI : TBits_2 read getICI write setICI;
  844. property ICI0 : TBits_1 read getICI0 write setICI0;
  845. property ICI1 : TBits_1 read getICI1 write setICI1;
  846. property ICM : TBits_3 read getICM write setICM;
  847. property ICM0 : TBits_1 read getICM0 write setICM0;
  848. property ICM1 : TBits_1 read getICM1 write setICM1;
  849. property ICM2 : TBits_1 read getICM2 write setICM2;
  850. property ICOV : TBits_1 read getICOV write setICOV;
  851. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  852. property ICTMR : TBits_1 read getICTMR write setICTMR;
  853. property ON : TBits_1 read getON write setON;
  854. property SIDL : TBits_1 read getSIDL write setSIDL;
  855. property w : TBits_32 read getw write setw;
  856. end;
  857. type
  858. TICAP2Registers = record
  859. IC2CONbits : TICAP2_IC2CON;
  860. IC2CON : longWord;
  861. IC2CONCLR : longWord;
  862. IC2CONSET : longWord;
  863. IC2CONINV : longWord;
  864. IC2BUF : longWord;
  865. end;
  866. TICAP3_IC3CON = record
  867. private
  868. function getC32 : TBits_1; inline;
  869. function getFEDGE : TBits_1; inline;
  870. function getICBNE : TBits_1; inline;
  871. function getICI : TBits_2; inline;
  872. function getICI0 : TBits_1; inline;
  873. function getICI1 : TBits_1; inline;
  874. function getICM : TBits_3; inline;
  875. function getICM0 : TBits_1; inline;
  876. function getICM1 : TBits_1; inline;
  877. function getICM2 : TBits_1; inline;
  878. function getICOV : TBits_1; inline;
  879. function getICSIDL : TBits_1; inline;
  880. function getICTMR : TBits_1; inline;
  881. function getON : TBits_1; inline;
  882. function getSIDL : TBits_1; inline;
  883. function getw : TBits_32; inline;
  884. procedure setC32(thebits : TBits_1); inline;
  885. procedure setFEDGE(thebits : TBits_1); inline;
  886. procedure setICBNE(thebits : TBits_1); inline;
  887. procedure setICI(thebits : TBits_2); inline;
  888. procedure setICI0(thebits : TBits_1); inline;
  889. procedure setICI1(thebits : TBits_1); inline;
  890. procedure setICM(thebits : TBits_3); inline;
  891. procedure setICM0(thebits : TBits_1); inline;
  892. procedure setICM1(thebits : TBits_1); inline;
  893. procedure setICM2(thebits : TBits_1); inline;
  894. procedure setICOV(thebits : TBits_1); inline;
  895. procedure setICSIDL(thebits : TBits_1); inline;
  896. procedure setICTMR(thebits : TBits_1); inline;
  897. procedure setON(thebits : TBits_1); inline;
  898. procedure setSIDL(thebits : TBits_1); inline;
  899. procedure setw(thebits : TBits_32); inline;
  900. public
  901. procedure clearC32; inline;
  902. procedure clearFEDGE; inline;
  903. procedure clearICBNE; inline;
  904. procedure clearICI0; inline;
  905. procedure clearICI1; inline;
  906. procedure clearICM0; inline;
  907. procedure clearICM1; inline;
  908. procedure clearICM2; inline;
  909. procedure clearICOV; inline;
  910. procedure clearICSIDL; inline;
  911. procedure clearICTMR; inline;
  912. procedure clearON; inline;
  913. procedure clearSIDL; inline;
  914. procedure setC32; inline;
  915. procedure setFEDGE; inline;
  916. procedure setICBNE; inline;
  917. procedure setICI0; inline;
  918. procedure setICI1; inline;
  919. procedure setICM0; inline;
  920. procedure setICM1; inline;
  921. procedure setICM2; inline;
  922. procedure setICOV; inline;
  923. procedure setICSIDL; inline;
  924. procedure setICTMR; inline;
  925. procedure setON; inline;
  926. procedure setSIDL; inline;
  927. property C32 : TBits_1 read getC32 write setC32;
  928. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  929. property ICBNE : TBits_1 read getICBNE write setICBNE;
  930. property ICI : TBits_2 read getICI write setICI;
  931. property ICI0 : TBits_1 read getICI0 write setICI0;
  932. property ICI1 : TBits_1 read getICI1 write setICI1;
  933. property ICM : TBits_3 read getICM write setICM;
  934. property ICM0 : TBits_1 read getICM0 write setICM0;
  935. property ICM1 : TBits_1 read getICM1 write setICM1;
  936. property ICM2 : TBits_1 read getICM2 write setICM2;
  937. property ICOV : TBits_1 read getICOV write setICOV;
  938. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  939. property ICTMR : TBits_1 read getICTMR write setICTMR;
  940. property ON : TBits_1 read getON write setON;
  941. property SIDL : TBits_1 read getSIDL write setSIDL;
  942. property w : TBits_32 read getw write setw;
  943. end;
  944. type
  945. TICAP3Registers = record
  946. IC3CONbits : TICAP3_IC3CON;
  947. IC3CON : longWord;
  948. IC3CONCLR : longWord;
  949. IC3CONSET : longWord;
  950. IC3CONINV : longWord;
  951. IC3BUF : longWord;
  952. end;
  953. TICAP4_IC4CON = record
  954. private
  955. function getC32 : TBits_1; inline;
  956. function getFEDGE : TBits_1; inline;
  957. function getICBNE : TBits_1; inline;
  958. function getICI : TBits_2; inline;
  959. function getICI0 : TBits_1; inline;
  960. function getICI1 : TBits_1; inline;
  961. function getICM : TBits_3; inline;
  962. function getICM0 : TBits_1; inline;
  963. function getICM1 : TBits_1; inline;
  964. function getICM2 : TBits_1; inline;
  965. function getICOV : TBits_1; inline;
  966. function getICSIDL : TBits_1; inline;
  967. function getICTMR : TBits_1; inline;
  968. function getON : TBits_1; inline;
  969. function getSIDL : TBits_1; inline;
  970. function getw : TBits_32; inline;
  971. procedure setC32(thebits : TBits_1); inline;
  972. procedure setFEDGE(thebits : TBits_1); inline;
  973. procedure setICBNE(thebits : TBits_1); inline;
  974. procedure setICI(thebits : TBits_2); inline;
  975. procedure setICI0(thebits : TBits_1); inline;
  976. procedure setICI1(thebits : TBits_1); inline;
  977. procedure setICM(thebits : TBits_3); inline;
  978. procedure setICM0(thebits : TBits_1); inline;
  979. procedure setICM1(thebits : TBits_1); inline;
  980. procedure setICM2(thebits : TBits_1); inline;
  981. procedure setICOV(thebits : TBits_1); inline;
  982. procedure setICSIDL(thebits : TBits_1); inline;
  983. procedure setICTMR(thebits : TBits_1); inline;
  984. procedure setON(thebits : TBits_1); inline;
  985. procedure setSIDL(thebits : TBits_1); inline;
  986. procedure setw(thebits : TBits_32); inline;
  987. public
  988. procedure clearC32; inline;
  989. procedure clearFEDGE; inline;
  990. procedure clearICBNE; inline;
  991. procedure clearICI0; inline;
  992. procedure clearICI1; inline;
  993. procedure clearICM0; inline;
  994. procedure clearICM1; inline;
  995. procedure clearICM2; inline;
  996. procedure clearICOV; inline;
  997. procedure clearICSIDL; inline;
  998. procedure clearICTMR; inline;
  999. procedure clearON; inline;
  1000. procedure clearSIDL; inline;
  1001. procedure setC32; inline;
  1002. procedure setFEDGE; inline;
  1003. procedure setICBNE; inline;
  1004. procedure setICI0; inline;
  1005. procedure setICI1; inline;
  1006. procedure setICM0; inline;
  1007. procedure setICM1; inline;
  1008. procedure setICM2; inline;
  1009. procedure setICOV; inline;
  1010. procedure setICSIDL; inline;
  1011. procedure setICTMR; inline;
  1012. procedure setON; inline;
  1013. procedure setSIDL; inline;
  1014. property C32 : TBits_1 read getC32 write setC32;
  1015. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1016. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1017. property ICI : TBits_2 read getICI write setICI;
  1018. property ICI0 : TBits_1 read getICI0 write setICI0;
  1019. property ICI1 : TBits_1 read getICI1 write setICI1;
  1020. property ICM : TBits_3 read getICM write setICM;
  1021. property ICM0 : TBits_1 read getICM0 write setICM0;
  1022. property ICM1 : TBits_1 read getICM1 write setICM1;
  1023. property ICM2 : TBits_1 read getICM2 write setICM2;
  1024. property ICOV : TBits_1 read getICOV write setICOV;
  1025. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1026. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1027. property ON : TBits_1 read getON write setON;
  1028. property SIDL : TBits_1 read getSIDL write setSIDL;
  1029. property w : TBits_32 read getw write setw;
  1030. end;
  1031. type
  1032. TICAP4Registers = record
  1033. IC4CONbits : TICAP4_IC4CON;
  1034. IC4CON : longWord;
  1035. IC4CONCLR : longWord;
  1036. IC4CONSET : longWord;
  1037. IC4CONINV : longWord;
  1038. IC4BUF : longWord;
  1039. end;
  1040. TICAP5_IC5CON = record
  1041. private
  1042. function getC32 : TBits_1; inline;
  1043. function getFEDGE : TBits_1; inline;
  1044. function getICBNE : TBits_1; inline;
  1045. function getICI : TBits_2; inline;
  1046. function getICI0 : TBits_1; inline;
  1047. function getICI1 : TBits_1; inline;
  1048. function getICM : TBits_3; inline;
  1049. function getICM0 : TBits_1; inline;
  1050. function getICM1 : TBits_1; inline;
  1051. function getICM2 : TBits_1; inline;
  1052. function getICOV : TBits_1; inline;
  1053. function getICSIDL : TBits_1; inline;
  1054. function getICTMR : TBits_1; inline;
  1055. function getON : TBits_1; inline;
  1056. function getSIDL : TBits_1; inline;
  1057. function getw : TBits_32; inline;
  1058. procedure setC32(thebits : TBits_1); inline;
  1059. procedure setFEDGE(thebits : TBits_1); inline;
  1060. procedure setICBNE(thebits : TBits_1); inline;
  1061. procedure setICI(thebits : TBits_2); inline;
  1062. procedure setICI0(thebits : TBits_1); inline;
  1063. procedure setICI1(thebits : TBits_1); inline;
  1064. procedure setICM(thebits : TBits_3); inline;
  1065. procedure setICM0(thebits : TBits_1); inline;
  1066. procedure setICM1(thebits : TBits_1); inline;
  1067. procedure setICM2(thebits : TBits_1); inline;
  1068. procedure setICOV(thebits : TBits_1); inline;
  1069. procedure setICSIDL(thebits : TBits_1); inline;
  1070. procedure setICTMR(thebits : TBits_1); inline;
  1071. procedure setON(thebits : TBits_1); inline;
  1072. procedure setSIDL(thebits : TBits_1); inline;
  1073. procedure setw(thebits : TBits_32); inline;
  1074. public
  1075. procedure clearC32; inline;
  1076. procedure clearFEDGE; inline;
  1077. procedure clearICBNE; inline;
  1078. procedure clearICI0; inline;
  1079. procedure clearICI1; inline;
  1080. procedure clearICM0; inline;
  1081. procedure clearICM1; inline;
  1082. procedure clearICM2; inline;
  1083. procedure clearICOV; inline;
  1084. procedure clearICSIDL; inline;
  1085. procedure clearICTMR; inline;
  1086. procedure clearON; inline;
  1087. procedure clearSIDL; inline;
  1088. procedure setC32; inline;
  1089. procedure setFEDGE; inline;
  1090. procedure setICBNE; inline;
  1091. procedure setICI0; inline;
  1092. procedure setICI1; inline;
  1093. procedure setICM0; inline;
  1094. procedure setICM1; inline;
  1095. procedure setICM2; inline;
  1096. procedure setICOV; inline;
  1097. procedure setICSIDL; inline;
  1098. procedure setICTMR; inline;
  1099. procedure setON; inline;
  1100. procedure setSIDL; inline;
  1101. property C32 : TBits_1 read getC32 write setC32;
  1102. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1103. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1104. property ICI : TBits_2 read getICI write setICI;
  1105. property ICI0 : TBits_1 read getICI0 write setICI0;
  1106. property ICI1 : TBits_1 read getICI1 write setICI1;
  1107. property ICM : TBits_3 read getICM write setICM;
  1108. property ICM0 : TBits_1 read getICM0 write setICM0;
  1109. property ICM1 : TBits_1 read getICM1 write setICM1;
  1110. property ICM2 : TBits_1 read getICM2 write setICM2;
  1111. property ICOV : TBits_1 read getICOV write setICOV;
  1112. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1113. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1114. property ON : TBits_1 read getON write setON;
  1115. property SIDL : TBits_1 read getSIDL write setSIDL;
  1116. property w : TBits_32 read getw write setw;
  1117. end;
  1118. type
  1119. TICAP5Registers = record
  1120. IC5CONbits : TICAP5_IC5CON;
  1121. IC5CON : longWord;
  1122. IC5CONCLR : longWord;
  1123. IC5CONSET : longWord;
  1124. IC5CONINV : longWord;
  1125. IC5BUF : longWord;
  1126. end;
  1127. TOCMP1_OC1CON = record
  1128. private
  1129. function getOC32 : TBits_1; inline;
  1130. function getOCFLT : TBits_1; inline;
  1131. function getOCM : TBits_3; inline;
  1132. function getOCM0 : TBits_1; inline;
  1133. function getOCM1 : TBits_1; inline;
  1134. function getOCM2 : TBits_1; inline;
  1135. function getOCSIDL : TBits_1; inline;
  1136. function getOCTSEL : TBits_1; inline;
  1137. function getON : TBits_1; inline;
  1138. function getSIDL : TBits_1; inline;
  1139. function getw : TBits_32; inline;
  1140. procedure setOC32(thebits : TBits_1); inline;
  1141. procedure setOCFLT(thebits : TBits_1); inline;
  1142. procedure setOCM(thebits : TBits_3); inline;
  1143. procedure setOCM0(thebits : TBits_1); inline;
  1144. procedure setOCM1(thebits : TBits_1); inline;
  1145. procedure setOCM2(thebits : TBits_1); inline;
  1146. procedure setOCSIDL(thebits : TBits_1); inline;
  1147. procedure setOCTSEL(thebits : TBits_1); inline;
  1148. procedure setON(thebits : TBits_1); inline;
  1149. procedure setSIDL(thebits : TBits_1); inline;
  1150. procedure setw(thebits : TBits_32); inline;
  1151. public
  1152. procedure clearOC32; inline;
  1153. procedure clearOCFLT; inline;
  1154. procedure clearOCM0; inline;
  1155. procedure clearOCM1; inline;
  1156. procedure clearOCM2; inline;
  1157. procedure clearOCSIDL; inline;
  1158. procedure clearOCTSEL; inline;
  1159. procedure clearON; inline;
  1160. procedure clearSIDL; inline;
  1161. procedure setOC32; inline;
  1162. procedure setOCFLT; inline;
  1163. procedure setOCM0; inline;
  1164. procedure setOCM1; inline;
  1165. procedure setOCM2; inline;
  1166. procedure setOCSIDL; inline;
  1167. procedure setOCTSEL; inline;
  1168. procedure setON; inline;
  1169. procedure setSIDL; inline;
  1170. property OC32 : TBits_1 read getOC32 write setOC32;
  1171. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1172. property OCM : TBits_3 read getOCM write setOCM;
  1173. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1174. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1175. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1176. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1177. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1178. property ON : TBits_1 read getON write setON;
  1179. property SIDL : TBits_1 read getSIDL write setSIDL;
  1180. property w : TBits_32 read getw write setw;
  1181. end;
  1182. type
  1183. TOCMP1Registers = record
  1184. OC1CONbits : TOCMP1_OC1CON;
  1185. OC1CON : longWord;
  1186. OC1CONCLR : longWord;
  1187. OC1CONSET : longWord;
  1188. OC1CONINV : longWord;
  1189. OC1R : longWord;
  1190. OC1RCLR : longWord;
  1191. OC1RSET : longWord;
  1192. OC1RINV : longWord;
  1193. OC1RS : longWord;
  1194. OC1RSCLR : longWord;
  1195. OC1RSSET : longWord;
  1196. OC1RSINV : longWord;
  1197. end;
  1198. TOCMP2_OC2CON = record
  1199. private
  1200. function getOC32 : TBits_1; inline;
  1201. function getOCFLT : TBits_1; inline;
  1202. function getOCM : TBits_3; inline;
  1203. function getOCM0 : TBits_1; inline;
  1204. function getOCM1 : TBits_1; inline;
  1205. function getOCM2 : TBits_1; inline;
  1206. function getOCSIDL : TBits_1; inline;
  1207. function getOCTSEL : TBits_1; inline;
  1208. function getON : TBits_1; inline;
  1209. function getSIDL : TBits_1; inline;
  1210. function getw : TBits_32; inline;
  1211. procedure setOC32(thebits : TBits_1); inline;
  1212. procedure setOCFLT(thebits : TBits_1); inline;
  1213. procedure setOCM(thebits : TBits_3); inline;
  1214. procedure setOCM0(thebits : TBits_1); inline;
  1215. procedure setOCM1(thebits : TBits_1); inline;
  1216. procedure setOCM2(thebits : TBits_1); inline;
  1217. procedure setOCSIDL(thebits : TBits_1); inline;
  1218. procedure setOCTSEL(thebits : TBits_1); inline;
  1219. procedure setON(thebits : TBits_1); inline;
  1220. procedure setSIDL(thebits : TBits_1); inline;
  1221. procedure setw(thebits : TBits_32); inline;
  1222. public
  1223. procedure clearOC32; inline;
  1224. procedure clearOCFLT; inline;
  1225. procedure clearOCM0; inline;
  1226. procedure clearOCM1; inline;
  1227. procedure clearOCM2; inline;
  1228. procedure clearOCSIDL; inline;
  1229. procedure clearOCTSEL; inline;
  1230. procedure clearON; inline;
  1231. procedure clearSIDL; inline;
  1232. procedure setOC32; inline;
  1233. procedure setOCFLT; inline;
  1234. procedure setOCM0; inline;
  1235. procedure setOCM1; inline;
  1236. procedure setOCM2; inline;
  1237. procedure setOCSIDL; inline;
  1238. procedure setOCTSEL; inline;
  1239. procedure setON; inline;
  1240. procedure setSIDL; inline;
  1241. property OC32 : TBits_1 read getOC32 write setOC32;
  1242. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1243. property OCM : TBits_3 read getOCM write setOCM;
  1244. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1245. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1246. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1247. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1248. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1249. property ON : TBits_1 read getON write setON;
  1250. property SIDL : TBits_1 read getSIDL write setSIDL;
  1251. property w : TBits_32 read getw write setw;
  1252. end;
  1253. type
  1254. TOCMP2Registers = record
  1255. OC2CONbits : TOCMP2_OC2CON;
  1256. OC2CON : longWord;
  1257. OC2CONCLR : longWord;
  1258. OC2CONSET : longWord;
  1259. OC2CONINV : longWord;
  1260. OC2R : longWord;
  1261. OC2RCLR : longWord;
  1262. OC2RSET : longWord;
  1263. OC2RINV : longWord;
  1264. OC2RS : longWord;
  1265. OC2RSCLR : longWord;
  1266. OC2RSSET : longWord;
  1267. OC2RSINV : longWord;
  1268. end;
  1269. TOCMP3_OC3CON = record
  1270. private
  1271. function getOC32 : TBits_1; inline;
  1272. function getOCFLT : TBits_1; inline;
  1273. function getOCM : TBits_3; inline;
  1274. function getOCM0 : TBits_1; inline;
  1275. function getOCM1 : TBits_1; inline;
  1276. function getOCM2 : TBits_1; inline;
  1277. function getOCSIDL : TBits_1; inline;
  1278. function getOCTSEL : TBits_1; inline;
  1279. function getON : TBits_1; inline;
  1280. function getSIDL : TBits_1; inline;
  1281. function getw : TBits_32; inline;
  1282. procedure setOC32(thebits : TBits_1); inline;
  1283. procedure setOCFLT(thebits : TBits_1); inline;
  1284. procedure setOCM(thebits : TBits_3); inline;
  1285. procedure setOCM0(thebits : TBits_1); inline;
  1286. procedure setOCM1(thebits : TBits_1); inline;
  1287. procedure setOCM2(thebits : TBits_1); inline;
  1288. procedure setOCSIDL(thebits : TBits_1); inline;
  1289. procedure setOCTSEL(thebits : TBits_1); inline;
  1290. procedure setON(thebits : TBits_1); inline;
  1291. procedure setSIDL(thebits : TBits_1); inline;
  1292. procedure setw(thebits : TBits_32); inline;
  1293. public
  1294. procedure clearOC32; inline;
  1295. procedure clearOCFLT; inline;
  1296. procedure clearOCM0; inline;
  1297. procedure clearOCM1; inline;
  1298. procedure clearOCM2; inline;
  1299. procedure clearOCSIDL; inline;
  1300. procedure clearOCTSEL; inline;
  1301. procedure clearON; inline;
  1302. procedure clearSIDL; inline;
  1303. procedure setOC32; inline;
  1304. procedure setOCFLT; inline;
  1305. procedure setOCM0; inline;
  1306. procedure setOCM1; inline;
  1307. procedure setOCM2; inline;
  1308. procedure setOCSIDL; inline;
  1309. procedure setOCTSEL; inline;
  1310. procedure setON; inline;
  1311. procedure setSIDL; inline;
  1312. property OC32 : TBits_1 read getOC32 write setOC32;
  1313. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1314. property OCM : TBits_3 read getOCM write setOCM;
  1315. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1316. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1317. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1318. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1319. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1320. property ON : TBits_1 read getON write setON;
  1321. property SIDL : TBits_1 read getSIDL write setSIDL;
  1322. property w : TBits_32 read getw write setw;
  1323. end;
  1324. type
  1325. TOCMP3Registers = record
  1326. OC3CONbits : TOCMP3_OC3CON;
  1327. OC3CON : longWord;
  1328. OC3CONCLR : longWord;
  1329. OC3CONSET : longWord;
  1330. OC3CONINV : longWord;
  1331. OC3R : longWord;
  1332. OC3RCLR : longWord;
  1333. OC3RSET : longWord;
  1334. OC3RINV : longWord;
  1335. OC3RS : longWord;
  1336. OC3RSCLR : longWord;
  1337. OC3RSSET : longWord;
  1338. OC3RSINV : longWord;
  1339. end;
  1340. TOCMP4_OC4CON = record
  1341. private
  1342. function getOC32 : TBits_1; inline;
  1343. function getOCFLT : TBits_1; inline;
  1344. function getOCM : TBits_3; inline;
  1345. function getOCM0 : TBits_1; inline;
  1346. function getOCM1 : TBits_1; inline;
  1347. function getOCM2 : TBits_1; inline;
  1348. function getOCSIDL : TBits_1; inline;
  1349. function getOCTSEL : TBits_1; inline;
  1350. function getON : TBits_1; inline;
  1351. function getSIDL : TBits_1; inline;
  1352. function getw : TBits_32; inline;
  1353. procedure setOC32(thebits : TBits_1); inline;
  1354. procedure setOCFLT(thebits : TBits_1); inline;
  1355. procedure setOCM(thebits : TBits_3); inline;
  1356. procedure setOCM0(thebits : TBits_1); inline;
  1357. procedure setOCM1(thebits : TBits_1); inline;
  1358. procedure setOCM2(thebits : TBits_1); inline;
  1359. procedure setOCSIDL(thebits : TBits_1); inline;
  1360. procedure setOCTSEL(thebits : TBits_1); inline;
  1361. procedure setON(thebits : TBits_1); inline;
  1362. procedure setSIDL(thebits : TBits_1); inline;
  1363. procedure setw(thebits : TBits_32); inline;
  1364. public
  1365. procedure clearOC32; inline;
  1366. procedure clearOCFLT; inline;
  1367. procedure clearOCM0; inline;
  1368. procedure clearOCM1; inline;
  1369. procedure clearOCM2; inline;
  1370. procedure clearOCSIDL; inline;
  1371. procedure clearOCTSEL; inline;
  1372. procedure clearON; inline;
  1373. procedure clearSIDL; inline;
  1374. procedure setOC32; inline;
  1375. procedure setOCFLT; inline;
  1376. procedure setOCM0; inline;
  1377. procedure setOCM1; inline;
  1378. procedure setOCM2; inline;
  1379. procedure setOCSIDL; inline;
  1380. procedure setOCTSEL; inline;
  1381. procedure setON; inline;
  1382. procedure setSIDL; inline;
  1383. property OC32 : TBits_1 read getOC32 write setOC32;
  1384. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1385. property OCM : TBits_3 read getOCM write setOCM;
  1386. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1387. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1388. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1389. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1390. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1391. property ON : TBits_1 read getON write setON;
  1392. property SIDL : TBits_1 read getSIDL write setSIDL;
  1393. property w : TBits_32 read getw write setw;
  1394. end;
  1395. type
  1396. TOCMP4Registers = record
  1397. OC4CONbits : TOCMP4_OC4CON;
  1398. OC4CON : longWord;
  1399. OC4CONCLR : longWord;
  1400. OC4CONSET : longWord;
  1401. OC4CONINV : longWord;
  1402. OC4R : longWord;
  1403. OC4RCLR : longWord;
  1404. OC4RSET : longWord;
  1405. OC4RINV : longWord;
  1406. OC4RS : longWord;
  1407. OC4RSCLR : longWord;
  1408. OC4RSSET : longWord;
  1409. OC4RSINV : longWord;
  1410. end;
  1411. TOCMP5_OC5CON = record
  1412. private
  1413. function getOC32 : TBits_1; inline;
  1414. function getOCFLT : TBits_1; inline;
  1415. function getOCM : TBits_3; inline;
  1416. function getOCM0 : TBits_1; inline;
  1417. function getOCM1 : TBits_1; inline;
  1418. function getOCM2 : TBits_1; inline;
  1419. function getOCSIDL : TBits_1; inline;
  1420. function getOCTSEL : TBits_1; inline;
  1421. function getON : TBits_1; inline;
  1422. function getSIDL : TBits_1; inline;
  1423. function getw : TBits_32; inline;
  1424. procedure setOC32(thebits : TBits_1); inline;
  1425. procedure setOCFLT(thebits : TBits_1); inline;
  1426. procedure setOCM(thebits : TBits_3); inline;
  1427. procedure setOCM0(thebits : TBits_1); inline;
  1428. procedure setOCM1(thebits : TBits_1); inline;
  1429. procedure setOCM2(thebits : TBits_1); inline;
  1430. procedure setOCSIDL(thebits : TBits_1); inline;
  1431. procedure setOCTSEL(thebits : TBits_1); inline;
  1432. procedure setON(thebits : TBits_1); inline;
  1433. procedure setSIDL(thebits : TBits_1); inline;
  1434. procedure setw(thebits : TBits_32); inline;
  1435. public
  1436. procedure clearOC32; inline;
  1437. procedure clearOCFLT; inline;
  1438. procedure clearOCM0; inline;
  1439. procedure clearOCM1; inline;
  1440. procedure clearOCM2; inline;
  1441. procedure clearOCSIDL; inline;
  1442. procedure clearOCTSEL; inline;
  1443. procedure clearON; inline;
  1444. procedure clearSIDL; inline;
  1445. procedure setOC32; inline;
  1446. procedure setOCFLT; inline;
  1447. procedure setOCM0; inline;
  1448. procedure setOCM1; inline;
  1449. procedure setOCM2; inline;
  1450. procedure setOCSIDL; inline;
  1451. procedure setOCTSEL; inline;
  1452. procedure setON; inline;
  1453. procedure setSIDL; inline;
  1454. property OC32 : TBits_1 read getOC32 write setOC32;
  1455. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1456. property OCM : TBits_3 read getOCM write setOCM;
  1457. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1458. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1459. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1460. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1461. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1462. property ON : TBits_1 read getON write setON;
  1463. property SIDL : TBits_1 read getSIDL write setSIDL;
  1464. property w : TBits_32 read getw write setw;
  1465. end;
  1466. type
  1467. TOCMP5Registers = record
  1468. OC5CONbits : TOCMP5_OC5CON;
  1469. OC5CON : longWord;
  1470. OC5CONCLR : longWord;
  1471. OC5CONSET : longWord;
  1472. OC5CONINV : longWord;
  1473. OC5R : longWord;
  1474. OC5RCLR : longWord;
  1475. OC5RSET : longWord;
  1476. OC5RINV : longWord;
  1477. OC5RS : longWord;
  1478. OC5RSCLR : longWord;
  1479. OC5RSSET : longWord;
  1480. OC5RSINV : longWord;
  1481. end;
  1482. TI2C1_I2C1CON = record
  1483. private
  1484. function getA10M : TBits_1; inline;
  1485. function getACKDT : TBits_1; inline;
  1486. function getACKEN : TBits_1; inline;
  1487. function getDISSLW : TBits_1; inline;
  1488. function getGCEN : TBits_1; inline;
  1489. function getI2CEN : TBits_1; inline;
  1490. function getI2CSIDL : TBits_1; inline;
  1491. function getIPMIEN : TBits_1; inline;
  1492. function getON : TBits_1; inline;
  1493. function getPEN : TBits_1; inline;
  1494. function getRCEN : TBits_1; inline;
  1495. function getRSEN : TBits_1; inline;
  1496. function getSCLREL : TBits_1; inline;
  1497. function getSEN : TBits_1; inline;
  1498. function getSIDL : TBits_1; inline;
  1499. function getSMEN : TBits_1; inline;
  1500. function getSTREN : TBits_1; inline;
  1501. function getSTRICT : TBits_1; inline;
  1502. function getw : TBits_32; inline;
  1503. procedure setA10M(thebits : TBits_1); inline;
  1504. procedure setACKDT(thebits : TBits_1); inline;
  1505. procedure setACKEN(thebits : TBits_1); inline;
  1506. procedure setDISSLW(thebits : TBits_1); inline;
  1507. procedure setGCEN(thebits : TBits_1); inline;
  1508. procedure setI2CEN(thebits : TBits_1); inline;
  1509. procedure setI2CSIDL(thebits : TBits_1); inline;
  1510. procedure setIPMIEN(thebits : TBits_1); inline;
  1511. procedure setON(thebits : TBits_1); inline;
  1512. procedure setPEN(thebits : TBits_1); inline;
  1513. procedure setRCEN(thebits : TBits_1); inline;
  1514. procedure setRSEN(thebits : TBits_1); inline;
  1515. procedure setSCLREL(thebits : TBits_1); inline;
  1516. procedure setSEN(thebits : TBits_1); inline;
  1517. procedure setSIDL(thebits : TBits_1); inline;
  1518. procedure setSMEN(thebits : TBits_1); inline;
  1519. procedure setSTREN(thebits : TBits_1); inline;
  1520. procedure setSTRICT(thebits : TBits_1); inline;
  1521. procedure setw(thebits : TBits_32); inline;
  1522. public
  1523. procedure clearA10M; inline;
  1524. procedure clearACKDT; inline;
  1525. procedure clearACKEN; inline;
  1526. procedure clearDISSLW; inline;
  1527. procedure clearGCEN; inline;
  1528. procedure clearI2CEN; inline;
  1529. procedure clearI2CSIDL; inline;
  1530. procedure clearIPMIEN; inline;
  1531. procedure clearON; inline;
  1532. procedure clearPEN; inline;
  1533. procedure clearRCEN; inline;
  1534. procedure clearRSEN; inline;
  1535. procedure clearSCLREL; inline;
  1536. procedure clearSEN; inline;
  1537. procedure clearSIDL; inline;
  1538. procedure clearSMEN; inline;
  1539. procedure clearSTREN; inline;
  1540. procedure clearSTRICT; inline;
  1541. procedure setA10M; inline;
  1542. procedure setACKDT; inline;
  1543. procedure setACKEN; inline;
  1544. procedure setDISSLW; inline;
  1545. procedure setGCEN; inline;
  1546. procedure setI2CEN; inline;
  1547. procedure setI2CSIDL; inline;
  1548. procedure setIPMIEN; inline;
  1549. procedure setON; inline;
  1550. procedure setPEN; inline;
  1551. procedure setRCEN; inline;
  1552. procedure setRSEN; inline;
  1553. procedure setSCLREL; inline;
  1554. procedure setSEN; inline;
  1555. procedure setSIDL; inline;
  1556. procedure setSMEN; inline;
  1557. procedure setSTREN; inline;
  1558. procedure setSTRICT; inline;
  1559. property A10M : TBits_1 read getA10M write setA10M;
  1560. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1561. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1562. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1563. property GCEN : TBits_1 read getGCEN write setGCEN;
  1564. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1565. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1566. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1567. property ON : TBits_1 read getON write setON;
  1568. property PEN : TBits_1 read getPEN write setPEN;
  1569. property RCEN : TBits_1 read getRCEN write setRCEN;
  1570. property RSEN : TBits_1 read getRSEN write setRSEN;
  1571. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1572. property SEN : TBits_1 read getSEN write setSEN;
  1573. property SIDL : TBits_1 read getSIDL write setSIDL;
  1574. property SMEN : TBits_1 read getSMEN write setSMEN;
  1575. property STREN : TBits_1 read getSTREN write setSTREN;
  1576. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1577. property w : TBits_32 read getw write setw;
  1578. end;
  1579. TI2C1_I2C1STAT = record
  1580. private
  1581. function getACKSTAT : TBits_1; inline;
  1582. function getADD10 : TBits_1; inline;
  1583. function getBCL : TBits_1; inline;
  1584. function getD_A : TBits_1; inline;
  1585. function getGCSTAT : TBits_1; inline;
  1586. function getI2COV : TBits_1; inline;
  1587. function getI2CPOV : TBits_1; inline;
  1588. function getIWCOL : TBits_1; inline;
  1589. function getP : TBits_1; inline;
  1590. function getRBF : TBits_1; inline;
  1591. function getR_W : TBits_1; inline;
  1592. function getS : TBits_1; inline;
  1593. function getTBF : TBits_1; inline;
  1594. function getTRSTAT : TBits_1; inline;
  1595. function getw : TBits_32; inline;
  1596. procedure setACKSTAT(thebits : TBits_1); inline;
  1597. procedure setADD10(thebits : TBits_1); inline;
  1598. procedure setBCL(thebits : TBits_1); inline;
  1599. procedure setD_A(thebits : TBits_1); inline;
  1600. procedure setGCSTAT(thebits : TBits_1); inline;
  1601. procedure setI2COV(thebits : TBits_1); inline;
  1602. procedure setI2CPOV(thebits : TBits_1); inline;
  1603. procedure setIWCOL(thebits : TBits_1); inline;
  1604. procedure setP(thebits : TBits_1); inline;
  1605. procedure setRBF(thebits : TBits_1); inline;
  1606. procedure setR_W(thebits : TBits_1); inline;
  1607. procedure setS(thebits : TBits_1); inline;
  1608. procedure setTBF(thebits : TBits_1); inline;
  1609. procedure setTRSTAT(thebits : TBits_1); inline;
  1610. procedure setw(thebits : TBits_32); inline;
  1611. public
  1612. procedure clearACKSTAT; inline;
  1613. procedure clearADD10; inline;
  1614. procedure clearBCL; inline;
  1615. procedure clearD_A; inline;
  1616. procedure clearGCSTAT; inline;
  1617. procedure clearI2COV; inline;
  1618. procedure clearI2CPOV; inline;
  1619. procedure clearIWCOL; inline;
  1620. procedure clearP; inline;
  1621. procedure clearRBF; inline;
  1622. procedure clearR_W; inline;
  1623. procedure clearS; inline;
  1624. procedure clearTBF; inline;
  1625. procedure clearTRSTAT; inline;
  1626. procedure setACKSTAT; inline;
  1627. procedure setADD10; inline;
  1628. procedure setBCL; inline;
  1629. procedure setD_A; inline;
  1630. procedure setGCSTAT; inline;
  1631. procedure setI2COV; inline;
  1632. procedure setI2CPOV; inline;
  1633. procedure setIWCOL; inline;
  1634. procedure setP; inline;
  1635. procedure setRBF; inline;
  1636. procedure setR_W; inline;
  1637. procedure setS; inline;
  1638. procedure setTBF; inline;
  1639. procedure setTRSTAT; inline;
  1640. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1641. property ADD10 : TBits_1 read getADD10 write setADD10;
  1642. property BCL : TBits_1 read getBCL write setBCL;
  1643. property D_A : TBits_1 read getD_A write setD_A;
  1644. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1645. property I2COV : TBits_1 read getI2COV write setI2COV;
  1646. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1647. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1648. property P : TBits_1 read getP write setP;
  1649. property RBF : TBits_1 read getRBF write setRBF;
  1650. property R_W : TBits_1 read getR_W write setR_W;
  1651. property S : TBits_1 read getS write setS;
  1652. property TBF : TBits_1 read getTBF write setTBF;
  1653. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1654. property w : TBits_32 read getw write setw;
  1655. end;
  1656. type
  1657. TI2C1Registers = record
  1658. I2C1CONbits : TI2C1_I2C1CON;
  1659. I2C1CON : longWord;
  1660. I2C1CONCLR : longWord;
  1661. I2C1CONSET : longWord;
  1662. I2C1CONINV : longWord;
  1663. I2C1STATbits : TI2C1_I2C1STAT;
  1664. I2C1STAT : longWord;
  1665. I2C1STATCLR : longWord;
  1666. I2C1STATSET : longWord;
  1667. I2C1STATINV : longWord;
  1668. I2C1ADD : longWord;
  1669. I2C1ADDCLR : longWord;
  1670. I2C1ADDSET : longWord;
  1671. I2C1ADDINV : longWord;
  1672. I2C1MSK : longWord;
  1673. I2C1MSKCLR : longWord;
  1674. I2C1MSKSET : longWord;
  1675. I2C1MSKINV : longWord;
  1676. I2C1BRG : longWord;
  1677. I2C1BRGCLR : longWord;
  1678. I2C1BRGSET : longWord;
  1679. I2C1BRGINV : longWord;
  1680. I2C1TRN : longWord;
  1681. I2C1TRNCLR : longWord;
  1682. I2C1TRNSET : longWord;
  1683. I2C1TRNINV : longWord;
  1684. I2C1RCV : longWord;
  1685. end;
  1686. TI2C2_I2C2CON = record
  1687. private
  1688. function getA10M : TBits_1; inline;
  1689. function getACKDT : TBits_1; inline;
  1690. function getACKEN : TBits_1; inline;
  1691. function getDISSLW : TBits_1; inline;
  1692. function getGCEN : TBits_1; inline;
  1693. function getI2CEN : TBits_1; inline;
  1694. function getI2CSIDL : TBits_1; inline;
  1695. function getIPMIEN : TBits_1; inline;
  1696. function getON : TBits_1; inline;
  1697. function getPEN : TBits_1; inline;
  1698. function getRCEN : TBits_1; inline;
  1699. function getRSEN : TBits_1; inline;
  1700. function getSCLREL : TBits_1; inline;
  1701. function getSEN : TBits_1; inline;
  1702. function getSIDL : TBits_1; inline;
  1703. function getSMEN : TBits_1; inline;
  1704. function getSTREN : TBits_1; inline;
  1705. function getSTRICT : TBits_1; inline;
  1706. function getw : TBits_32; inline;
  1707. procedure setA10M(thebits : TBits_1); inline;
  1708. procedure setACKDT(thebits : TBits_1); inline;
  1709. procedure setACKEN(thebits : TBits_1); inline;
  1710. procedure setDISSLW(thebits : TBits_1); inline;
  1711. procedure setGCEN(thebits : TBits_1); inline;
  1712. procedure setI2CEN(thebits : TBits_1); inline;
  1713. procedure setI2CSIDL(thebits : TBits_1); inline;
  1714. procedure setIPMIEN(thebits : TBits_1); inline;
  1715. procedure setON(thebits : TBits_1); inline;
  1716. procedure setPEN(thebits : TBits_1); inline;
  1717. procedure setRCEN(thebits : TBits_1); inline;
  1718. procedure setRSEN(thebits : TBits_1); inline;
  1719. procedure setSCLREL(thebits : TBits_1); inline;
  1720. procedure setSEN(thebits : TBits_1); inline;
  1721. procedure setSIDL(thebits : TBits_1); inline;
  1722. procedure setSMEN(thebits : TBits_1); inline;
  1723. procedure setSTREN(thebits : TBits_1); inline;
  1724. procedure setSTRICT(thebits : TBits_1); inline;
  1725. procedure setw(thebits : TBits_32); inline;
  1726. public
  1727. procedure clearA10M; inline;
  1728. procedure clearACKDT; inline;
  1729. procedure clearACKEN; inline;
  1730. procedure clearDISSLW; inline;
  1731. procedure clearGCEN; inline;
  1732. procedure clearI2CEN; inline;
  1733. procedure clearI2CSIDL; inline;
  1734. procedure clearIPMIEN; inline;
  1735. procedure clearON; inline;
  1736. procedure clearPEN; inline;
  1737. procedure clearRCEN; inline;
  1738. procedure clearRSEN; inline;
  1739. procedure clearSCLREL; inline;
  1740. procedure clearSEN; inline;
  1741. procedure clearSIDL; inline;
  1742. procedure clearSMEN; inline;
  1743. procedure clearSTREN; inline;
  1744. procedure clearSTRICT; inline;
  1745. procedure setA10M; inline;
  1746. procedure setACKDT; inline;
  1747. procedure setACKEN; inline;
  1748. procedure setDISSLW; inline;
  1749. procedure setGCEN; inline;
  1750. procedure setI2CEN; inline;
  1751. procedure setI2CSIDL; inline;
  1752. procedure setIPMIEN; inline;
  1753. procedure setON; inline;
  1754. procedure setPEN; inline;
  1755. procedure setRCEN; inline;
  1756. procedure setRSEN; inline;
  1757. procedure setSCLREL; inline;
  1758. procedure setSEN; inline;
  1759. procedure setSIDL; inline;
  1760. procedure setSMEN; inline;
  1761. procedure setSTREN; inline;
  1762. procedure setSTRICT; inline;
  1763. property A10M : TBits_1 read getA10M write setA10M;
  1764. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1765. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1766. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1767. property GCEN : TBits_1 read getGCEN write setGCEN;
  1768. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1769. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1770. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1771. property ON : TBits_1 read getON write setON;
  1772. property PEN : TBits_1 read getPEN write setPEN;
  1773. property RCEN : TBits_1 read getRCEN write setRCEN;
  1774. property RSEN : TBits_1 read getRSEN write setRSEN;
  1775. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1776. property SEN : TBits_1 read getSEN write setSEN;
  1777. property SIDL : TBits_1 read getSIDL write setSIDL;
  1778. property SMEN : TBits_1 read getSMEN write setSMEN;
  1779. property STREN : TBits_1 read getSTREN write setSTREN;
  1780. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1781. property w : TBits_32 read getw write setw;
  1782. end;
  1783. TI2C2_I2C2STAT = record
  1784. private
  1785. function getACKSTAT : TBits_1; inline;
  1786. function getADD10 : TBits_1; inline;
  1787. function getBCL : TBits_1; inline;
  1788. function getD_A : TBits_1; inline;
  1789. function getGCSTAT : TBits_1; inline;
  1790. function getI2COV : TBits_1; inline;
  1791. function getI2CPOV : TBits_1; inline;
  1792. function getIWCOL : TBits_1; inline;
  1793. function getP : TBits_1; inline;
  1794. function getRBF : TBits_1; inline;
  1795. function getR_W : TBits_1; inline;
  1796. function getS : TBits_1; inline;
  1797. function getTBF : TBits_1; inline;
  1798. function getTRSTAT : TBits_1; inline;
  1799. function getw : TBits_32; inline;
  1800. procedure setACKSTAT(thebits : TBits_1); inline;
  1801. procedure setADD10(thebits : TBits_1); inline;
  1802. procedure setBCL(thebits : TBits_1); inline;
  1803. procedure setD_A(thebits : TBits_1); inline;
  1804. procedure setGCSTAT(thebits : TBits_1); inline;
  1805. procedure setI2COV(thebits : TBits_1); inline;
  1806. procedure setI2CPOV(thebits : TBits_1); inline;
  1807. procedure setIWCOL(thebits : TBits_1); inline;
  1808. procedure setP(thebits : TBits_1); inline;
  1809. procedure setRBF(thebits : TBits_1); inline;
  1810. procedure setR_W(thebits : TBits_1); inline;
  1811. procedure setS(thebits : TBits_1); inline;
  1812. procedure setTBF(thebits : TBits_1); inline;
  1813. procedure setTRSTAT(thebits : TBits_1); inline;
  1814. procedure setw(thebits : TBits_32); inline;
  1815. public
  1816. procedure clearACKSTAT; inline;
  1817. procedure clearADD10; inline;
  1818. procedure clearBCL; inline;
  1819. procedure clearD_A; inline;
  1820. procedure clearGCSTAT; inline;
  1821. procedure clearI2COV; inline;
  1822. procedure clearI2CPOV; inline;
  1823. procedure clearIWCOL; inline;
  1824. procedure clearP; inline;
  1825. procedure clearRBF; inline;
  1826. procedure clearR_W; inline;
  1827. procedure clearS; inline;
  1828. procedure clearTBF; inline;
  1829. procedure clearTRSTAT; inline;
  1830. procedure setACKSTAT; inline;
  1831. procedure setADD10; inline;
  1832. procedure setBCL; inline;
  1833. procedure setD_A; inline;
  1834. procedure setGCSTAT; inline;
  1835. procedure setI2COV; inline;
  1836. procedure setI2CPOV; inline;
  1837. procedure setIWCOL; inline;
  1838. procedure setP; inline;
  1839. procedure setRBF; inline;
  1840. procedure setR_W; inline;
  1841. procedure setS; inline;
  1842. procedure setTBF; inline;
  1843. procedure setTRSTAT; inline;
  1844. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1845. property ADD10 : TBits_1 read getADD10 write setADD10;
  1846. property BCL : TBits_1 read getBCL write setBCL;
  1847. property D_A : TBits_1 read getD_A write setD_A;
  1848. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1849. property I2COV : TBits_1 read getI2COV write setI2COV;
  1850. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1851. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1852. property P : TBits_1 read getP write setP;
  1853. property RBF : TBits_1 read getRBF write setRBF;
  1854. property R_W : TBits_1 read getR_W write setR_W;
  1855. property S : TBits_1 read getS write setS;
  1856. property TBF : TBits_1 read getTBF write setTBF;
  1857. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1858. property w : TBits_32 read getw write setw;
  1859. end;
  1860. type
  1861. TI2C2Registers = record
  1862. I2C2CONbits : TI2C2_I2C2CON;
  1863. I2C2CON : longWord;
  1864. I2C2CONCLR : longWord;
  1865. I2C2CONSET : longWord;
  1866. I2C2CONINV : longWord;
  1867. I2C2STATbits : TI2C2_I2C2STAT;
  1868. I2C2STAT : longWord;
  1869. I2C2STATCLR : longWord;
  1870. I2C2STATSET : longWord;
  1871. I2C2STATINV : longWord;
  1872. I2C2ADD : longWord;
  1873. I2C2ADDCLR : longWord;
  1874. I2C2ADDSET : longWord;
  1875. I2C2ADDINV : longWord;
  1876. I2C2MSK : longWord;
  1877. I2C2MSKCLR : longWord;
  1878. I2C2MSKSET : longWord;
  1879. I2C2MSKINV : longWord;
  1880. I2C2BRG : longWord;
  1881. I2C2BRGCLR : longWord;
  1882. I2C2BRGSET : longWord;
  1883. I2C2BRGINV : longWord;
  1884. I2C2TRN : longWord;
  1885. I2C2TRNCLR : longWord;
  1886. I2C2TRNSET : longWord;
  1887. I2C2TRNINV : longWord;
  1888. I2C2RCV : longWord;
  1889. end;
  1890. TSPI1_SPI1CON = record
  1891. private
  1892. function getCKE : TBits_1; inline;
  1893. function getCKP : TBits_1; inline;
  1894. function getDISSDO : TBits_1; inline;
  1895. function getFRMEN : TBits_1; inline;
  1896. function getFRMPOL : TBits_1; inline;
  1897. function getFRMSYNC : TBits_1; inline;
  1898. function getMODE16 : TBits_1; inline;
  1899. function getMODE32 : TBits_1; inline;
  1900. function getMSTEN : TBits_1; inline;
  1901. function getON : TBits_1; inline;
  1902. function getSIDL : TBits_1; inline;
  1903. function getSMP : TBits_1; inline;
  1904. function getSPIFE : TBits_1; inline;
  1905. function getSSEN : TBits_1; inline;
  1906. function getw : TBits_32; inline;
  1907. procedure setCKE(thebits : TBits_1); inline;
  1908. procedure setCKP(thebits : TBits_1); inline;
  1909. procedure setDISSDO(thebits : TBits_1); inline;
  1910. procedure setFRMEN(thebits : TBits_1); inline;
  1911. procedure setFRMPOL(thebits : TBits_1); inline;
  1912. procedure setFRMSYNC(thebits : TBits_1); inline;
  1913. procedure setMODE16(thebits : TBits_1); inline;
  1914. procedure setMODE32(thebits : TBits_1); inline;
  1915. procedure setMSTEN(thebits : TBits_1); inline;
  1916. procedure setON(thebits : TBits_1); inline;
  1917. procedure setSIDL(thebits : TBits_1); inline;
  1918. procedure setSMP(thebits : TBits_1); inline;
  1919. procedure setSPIFE(thebits : TBits_1); inline;
  1920. procedure setSSEN(thebits : TBits_1); inline;
  1921. procedure setw(thebits : TBits_32); inline;
  1922. public
  1923. procedure clearCKE; inline;
  1924. procedure clearCKP; inline;
  1925. procedure clearDISSDO; inline;
  1926. procedure clearFRMEN; inline;
  1927. procedure clearFRMPOL; inline;
  1928. procedure clearFRMSYNC; inline;
  1929. procedure clearMODE16; inline;
  1930. procedure clearMODE32; inline;
  1931. procedure clearMSTEN; inline;
  1932. procedure clearON; inline;
  1933. procedure clearSIDL; inline;
  1934. procedure clearSMP; inline;
  1935. procedure clearSPIFE; inline;
  1936. procedure clearSSEN; inline;
  1937. procedure setCKE; inline;
  1938. procedure setCKP; inline;
  1939. procedure setDISSDO; inline;
  1940. procedure setFRMEN; inline;
  1941. procedure setFRMPOL; inline;
  1942. procedure setFRMSYNC; inline;
  1943. procedure setMODE16; inline;
  1944. procedure setMODE32; inline;
  1945. procedure setMSTEN; inline;
  1946. procedure setON; inline;
  1947. procedure setSIDL; inline;
  1948. procedure setSMP; inline;
  1949. procedure setSPIFE; inline;
  1950. procedure setSSEN; inline;
  1951. property CKE : TBits_1 read getCKE write setCKE;
  1952. property CKP : TBits_1 read getCKP write setCKP;
  1953. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  1954. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  1955. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  1956. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  1957. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  1958. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  1959. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  1960. property ON : TBits_1 read getON write setON;
  1961. property SIDL : TBits_1 read getSIDL write setSIDL;
  1962. property SMP : TBits_1 read getSMP write setSMP;
  1963. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  1964. property SSEN : TBits_1 read getSSEN write setSSEN;
  1965. property w : TBits_32 read getw write setw;
  1966. end;
  1967. TSPI1_SPI1STAT = record
  1968. private
  1969. function getSPIBUSY : TBits_1; inline;
  1970. function getSPIRBF : TBits_1; inline;
  1971. function getSPIROV : TBits_1; inline;
  1972. function getSPITBE : TBits_1; inline;
  1973. function getw : TBits_32; inline;
  1974. procedure setSPIBUSY(thebits : TBits_1); inline;
  1975. procedure setSPIRBF(thebits : TBits_1); inline;
  1976. procedure setSPIROV(thebits : TBits_1); inline;
  1977. procedure setSPITBE(thebits : TBits_1); inline;
  1978. procedure setw(thebits : TBits_32); inline;
  1979. public
  1980. procedure clearSPIBUSY; inline;
  1981. procedure clearSPIRBF; inline;
  1982. procedure clearSPIROV; inline;
  1983. procedure clearSPITBE; inline;
  1984. procedure setSPIBUSY; inline;
  1985. procedure setSPIRBF; inline;
  1986. procedure setSPIROV; inline;
  1987. procedure setSPITBE; inline;
  1988. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  1989. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  1990. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  1991. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  1992. property w : TBits_32 read getw write setw;
  1993. end;
  1994. type
  1995. TSPI1Registers = record
  1996. SPI1CONbits : TSPI1_SPI1CON;
  1997. SPI1CON : longWord;
  1998. SPI1CONCLR : longWord;
  1999. SPI1CONSET : longWord;
  2000. SPI1CONINV : longWord;
  2001. SPI1STATbits : TSPI1_SPI1STAT;
  2002. SPI1STAT : longWord;
  2003. SPI1STATCLR : longWord;
  2004. SPI1STATSET : longWord;
  2005. SPI1STATINV : longWord;
  2006. SPI1BUF : longWord;
  2007. SPI1BRG : longWord;
  2008. SPI1BRGCLR : longWord;
  2009. SPI1BRGSET : longWord;
  2010. SPI1BRGINV : longWord;
  2011. end;
  2012. TSPI2_SPI2CON = record
  2013. private
  2014. function getCKE : TBits_1; inline;
  2015. function getCKP : TBits_1; inline;
  2016. function getDISSDO : TBits_1; inline;
  2017. function getFRMEN : TBits_1; inline;
  2018. function getFRMPOL : TBits_1; inline;
  2019. function getFRMSYNC : TBits_1; inline;
  2020. function getMODE16 : TBits_1; inline;
  2021. function getMODE32 : TBits_1; inline;
  2022. function getMSTEN : TBits_1; inline;
  2023. function getON : TBits_1; inline;
  2024. function getSIDL : TBits_1; inline;
  2025. function getSMP : TBits_1; inline;
  2026. function getSPIFE : TBits_1; inline;
  2027. function getSSEN : TBits_1; inline;
  2028. function getw : TBits_32; inline;
  2029. procedure setCKE(thebits : TBits_1); inline;
  2030. procedure setCKP(thebits : TBits_1); inline;
  2031. procedure setDISSDO(thebits : TBits_1); inline;
  2032. procedure setFRMEN(thebits : TBits_1); inline;
  2033. procedure setFRMPOL(thebits : TBits_1); inline;
  2034. procedure setFRMSYNC(thebits : TBits_1); inline;
  2035. procedure setMODE16(thebits : TBits_1); inline;
  2036. procedure setMODE32(thebits : TBits_1); inline;
  2037. procedure setMSTEN(thebits : TBits_1); inline;
  2038. procedure setON(thebits : TBits_1); inline;
  2039. procedure setSIDL(thebits : TBits_1); inline;
  2040. procedure setSMP(thebits : TBits_1); inline;
  2041. procedure setSPIFE(thebits : TBits_1); inline;
  2042. procedure setSSEN(thebits : TBits_1); inline;
  2043. procedure setw(thebits : TBits_32); inline;
  2044. public
  2045. procedure clearCKE; inline;
  2046. procedure clearCKP; inline;
  2047. procedure clearDISSDO; inline;
  2048. procedure clearFRMEN; inline;
  2049. procedure clearFRMPOL; inline;
  2050. procedure clearFRMSYNC; inline;
  2051. procedure clearMODE16; inline;
  2052. procedure clearMODE32; inline;
  2053. procedure clearMSTEN; inline;
  2054. procedure clearON; inline;
  2055. procedure clearSIDL; inline;
  2056. procedure clearSMP; inline;
  2057. procedure clearSPIFE; inline;
  2058. procedure clearSSEN; inline;
  2059. procedure setCKE; inline;
  2060. procedure setCKP; inline;
  2061. procedure setDISSDO; inline;
  2062. procedure setFRMEN; inline;
  2063. procedure setFRMPOL; inline;
  2064. procedure setFRMSYNC; inline;
  2065. procedure setMODE16; inline;
  2066. procedure setMODE32; inline;
  2067. procedure setMSTEN; inline;
  2068. procedure setON; inline;
  2069. procedure setSIDL; inline;
  2070. procedure setSMP; inline;
  2071. procedure setSPIFE; inline;
  2072. procedure setSSEN; inline;
  2073. property CKE : TBits_1 read getCKE write setCKE;
  2074. property CKP : TBits_1 read getCKP write setCKP;
  2075. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2076. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2077. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2078. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2079. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2080. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2081. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2082. property ON : TBits_1 read getON write setON;
  2083. property SIDL : TBits_1 read getSIDL write setSIDL;
  2084. property SMP : TBits_1 read getSMP write setSMP;
  2085. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2086. property SSEN : TBits_1 read getSSEN write setSSEN;
  2087. property w : TBits_32 read getw write setw;
  2088. end;
  2089. TSPI2_SPI2STAT = record
  2090. private
  2091. function getSPIBUSY : TBits_1; inline;
  2092. function getSPIRBF : TBits_1; inline;
  2093. function getSPIROV : TBits_1; inline;
  2094. function getSPITBE : TBits_1; inline;
  2095. function getw : TBits_32; inline;
  2096. procedure setSPIBUSY(thebits : TBits_1); inline;
  2097. procedure setSPIRBF(thebits : TBits_1); inline;
  2098. procedure setSPIROV(thebits : TBits_1); inline;
  2099. procedure setSPITBE(thebits : TBits_1); inline;
  2100. procedure setw(thebits : TBits_32); inline;
  2101. public
  2102. procedure clearSPIBUSY; inline;
  2103. procedure clearSPIRBF; inline;
  2104. procedure clearSPIROV; inline;
  2105. procedure clearSPITBE; inline;
  2106. procedure setSPIBUSY; inline;
  2107. procedure setSPIRBF; inline;
  2108. procedure setSPIROV; inline;
  2109. procedure setSPITBE; inline;
  2110. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2111. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2112. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2113. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2114. property w : TBits_32 read getw write setw;
  2115. end;
  2116. type
  2117. TSPI2Registers = record
  2118. SPI2CONbits : TSPI2_SPI2CON;
  2119. SPI2CON : longWord;
  2120. SPI2CONCLR : longWord;
  2121. SPI2CONSET : longWord;
  2122. SPI2CONINV : longWord;
  2123. SPI2STATbits : TSPI2_SPI2STAT;
  2124. SPI2STAT : longWord;
  2125. SPI2STATCLR : longWord;
  2126. SPI2STATSET : longWord;
  2127. SPI2STATINV : longWord;
  2128. SPI2BUF : longWord;
  2129. SPI2BRG : longWord;
  2130. SPI2BRGCLR : longWord;
  2131. SPI2BRGSET : longWord;
  2132. SPI2BRGINV : longWord;
  2133. end;
  2134. TUART1_U1MODE = record
  2135. private
  2136. function getABAUD : TBits_1; inline;
  2137. function getBRGH : TBits_1; inline;
  2138. function getIREN : TBits_1; inline;
  2139. function getLPBACK : TBits_1; inline;
  2140. function getON : TBits_1; inline;
  2141. function getPDSEL : TBits_2; inline;
  2142. function getPDSEL0 : TBits_1; inline;
  2143. function getPDSEL1 : TBits_1; inline;
  2144. function getRTSMD : TBits_1; inline;
  2145. function getRXINV : TBits_1; inline;
  2146. function getSIDL : TBits_1; inline;
  2147. function getSTSEL : TBits_1; inline;
  2148. function getUARTEN : TBits_1; inline;
  2149. function getUEN : TBits_2; inline;
  2150. function getUEN0 : TBits_1; inline;
  2151. function getUEN1 : TBits_1; inline;
  2152. function getUSIDL : TBits_1; inline;
  2153. function getWAKE : TBits_1; inline;
  2154. function getw : TBits_32; inline;
  2155. procedure setABAUD(thebits : TBits_1); inline;
  2156. procedure setBRGH(thebits : TBits_1); inline;
  2157. procedure setIREN(thebits : TBits_1); inline;
  2158. procedure setLPBACK(thebits : TBits_1); inline;
  2159. procedure setON(thebits : TBits_1); inline;
  2160. procedure setPDSEL(thebits : TBits_2); inline;
  2161. procedure setPDSEL0(thebits : TBits_1); inline;
  2162. procedure setPDSEL1(thebits : TBits_1); inline;
  2163. procedure setRTSMD(thebits : TBits_1); inline;
  2164. procedure setRXINV(thebits : TBits_1); inline;
  2165. procedure setSIDL(thebits : TBits_1); inline;
  2166. procedure setSTSEL(thebits : TBits_1); inline;
  2167. procedure setUARTEN(thebits : TBits_1); inline;
  2168. procedure setUEN(thebits : TBits_2); inline;
  2169. procedure setUEN0(thebits : TBits_1); inline;
  2170. procedure setUEN1(thebits : TBits_1); inline;
  2171. procedure setUSIDL(thebits : TBits_1); inline;
  2172. procedure setWAKE(thebits : TBits_1); inline;
  2173. procedure setw(thebits : TBits_32); inline;
  2174. public
  2175. procedure clearABAUD; inline;
  2176. procedure clearBRGH; inline;
  2177. procedure clearIREN; inline;
  2178. procedure clearLPBACK; inline;
  2179. procedure clearON; inline;
  2180. procedure clearPDSEL0; inline;
  2181. procedure clearPDSEL1; inline;
  2182. procedure clearRTSMD; inline;
  2183. procedure clearRXINV; inline;
  2184. procedure clearSIDL; inline;
  2185. procedure clearSTSEL; inline;
  2186. procedure clearUARTEN; inline;
  2187. procedure clearUEN0; inline;
  2188. procedure clearUEN1; inline;
  2189. procedure clearUSIDL; inline;
  2190. procedure clearWAKE; inline;
  2191. procedure setABAUD; inline;
  2192. procedure setBRGH; inline;
  2193. procedure setIREN; inline;
  2194. procedure setLPBACK; inline;
  2195. procedure setON; inline;
  2196. procedure setPDSEL0; inline;
  2197. procedure setPDSEL1; inline;
  2198. procedure setRTSMD; inline;
  2199. procedure setRXINV; inline;
  2200. procedure setSIDL; inline;
  2201. procedure setSTSEL; inline;
  2202. procedure setUARTEN; inline;
  2203. procedure setUEN0; inline;
  2204. procedure setUEN1; inline;
  2205. procedure setUSIDL; inline;
  2206. procedure setWAKE; inline;
  2207. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2208. property BRGH : TBits_1 read getBRGH write setBRGH;
  2209. property IREN : TBits_1 read getIREN write setIREN;
  2210. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2211. property ON : TBits_1 read getON write setON;
  2212. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2213. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2214. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2215. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2216. property RXINV : TBits_1 read getRXINV write setRXINV;
  2217. property SIDL : TBits_1 read getSIDL write setSIDL;
  2218. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2219. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2220. property UEN : TBits_2 read getUEN write setUEN;
  2221. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2222. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2223. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2224. property WAKE : TBits_1 read getWAKE write setWAKE;
  2225. property w : TBits_32 read getw write setw;
  2226. end;
  2227. TUART1_U1STA = record
  2228. private
  2229. function getADDEN : TBits_1; inline;
  2230. function getADDR : TBits_8; inline;
  2231. function getADM_EN : TBits_1; inline;
  2232. function getFERR : TBits_1; inline;
  2233. function getOERR : TBits_1; inline;
  2234. function getPERR : TBits_1; inline;
  2235. function getRIDLE : TBits_1; inline;
  2236. function getTRMT : TBits_1; inline;
  2237. function getURXDA : TBits_1; inline;
  2238. function getURXEN : TBits_1; inline;
  2239. function getURXISEL : TBits_2; inline;
  2240. function getURXISEL0 : TBits_1; inline;
  2241. function getURXISEL1 : TBits_1; inline;
  2242. function getUTXBF : TBits_1; inline;
  2243. function getUTXBRK : TBits_1; inline;
  2244. function getUTXEN : TBits_1; inline;
  2245. function getUTXINV : TBits_1; inline;
  2246. function getUTXISEL : TBits_2; inline;
  2247. function getUTXISEL0 : TBits_1; inline;
  2248. function getUTXISEL1 : TBits_1; inline;
  2249. function getUTXSEL : TBits_2; inline;
  2250. function getw : TBits_32; inline;
  2251. procedure setADDEN(thebits : TBits_1); inline;
  2252. procedure setADDR(thebits : TBits_8); inline;
  2253. procedure setADM_EN(thebits : TBits_1); inline;
  2254. procedure setFERR(thebits : TBits_1); inline;
  2255. procedure setOERR(thebits : TBits_1); inline;
  2256. procedure setPERR(thebits : TBits_1); inline;
  2257. procedure setRIDLE(thebits : TBits_1); inline;
  2258. procedure setTRMT(thebits : TBits_1); inline;
  2259. procedure setURXDA(thebits : TBits_1); inline;
  2260. procedure setURXEN(thebits : TBits_1); inline;
  2261. procedure setURXISEL(thebits : TBits_2); inline;
  2262. procedure setURXISEL0(thebits : TBits_1); inline;
  2263. procedure setURXISEL1(thebits : TBits_1); inline;
  2264. procedure setUTXBF(thebits : TBits_1); inline;
  2265. procedure setUTXBRK(thebits : TBits_1); inline;
  2266. procedure setUTXEN(thebits : TBits_1); inline;
  2267. procedure setUTXINV(thebits : TBits_1); inline;
  2268. procedure setUTXISEL(thebits : TBits_2); inline;
  2269. procedure setUTXISEL0(thebits : TBits_1); inline;
  2270. procedure setUTXISEL1(thebits : TBits_1); inline;
  2271. procedure setUTXSEL(thebits : TBits_2); inline;
  2272. procedure setw(thebits : TBits_32); inline;
  2273. public
  2274. procedure clearADDEN; inline;
  2275. procedure clearADM_EN; inline;
  2276. procedure clearFERR; inline;
  2277. procedure clearOERR; inline;
  2278. procedure clearPERR; inline;
  2279. procedure clearRIDLE; inline;
  2280. procedure clearTRMT; inline;
  2281. procedure clearURXDA; inline;
  2282. procedure clearURXEN; inline;
  2283. procedure clearURXISEL0; inline;
  2284. procedure clearURXISEL1; inline;
  2285. procedure clearUTXBF; inline;
  2286. procedure clearUTXBRK; inline;
  2287. procedure clearUTXEN; inline;
  2288. procedure clearUTXINV; inline;
  2289. procedure clearUTXISEL0; inline;
  2290. procedure clearUTXISEL1; inline;
  2291. procedure setADDEN; inline;
  2292. procedure setADM_EN; inline;
  2293. procedure setFERR; inline;
  2294. procedure setOERR; inline;
  2295. procedure setPERR; inline;
  2296. procedure setRIDLE; inline;
  2297. procedure setTRMT; inline;
  2298. procedure setURXDA; inline;
  2299. procedure setURXEN; inline;
  2300. procedure setURXISEL0; inline;
  2301. procedure setURXISEL1; inline;
  2302. procedure setUTXBF; inline;
  2303. procedure setUTXBRK; inline;
  2304. procedure setUTXEN; inline;
  2305. procedure setUTXINV; inline;
  2306. procedure setUTXISEL0; inline;
  2307. procedure setUTXISEL1; inline;
  2308. property ADDEN : TBits_1 read getADDEN write setADDEN;
  2309. property ADDR : TBits_8 read getADDR write setADDR;
  2310. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  2311. property FERR : TBits_1 read getFERR write setFERR;
  2312. property OERR : TBits_1 read getOERR write setOERR;
  2313. property PERR : TBits_1 read getPERR write setPERR;
  2314. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  2315. property TRMT : TBits_1 read getTRMT write setTRMT;
  2316. property URXDA : TBits_1 read getURXDA write setURXDA;
  2317. property URXEN : TBits_1 read getURXEN write setURXEN;
  2318. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  2319. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  2320. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  2321. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  2322. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  2323. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  2324. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  2325. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  2326. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  2327. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  2328. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  2329. property w : TBits_32 read getw write setw;
  2330. end;
  2331. type
  2332. TUART1Registers = record
  2333. U1MODEbits : TUART1_U1MODE;
  2334. U1MODE : longWord;
  2335. U1MODECLR : longWord;
  2336. U1MODESET : longWord;
  2337. U1MODEINV : longWord;
  2338. U1STAbits : TUART1_U1STA;
  2339. U1STA : longWord;
  2340. U1STACLR : longWord;
  2341. U1STASET : longWord;
  2342. U1STAINV : longWord;
  2343. U1TXREG : longWord;
  2344. U1RXREG : longWord;
  2345. U1BRG : longWord;
  2346. U1BRGCLR : longWord;
  2347. U1BRGSET : longWord;
  2348. U1BRGINV : longWord;
  2349. end;
  2350. TUART2_U2MODE = record
  2351. private
  2352. function getABAUD : TBits_1; inline;
  2353. function getBRGH : TBits_1; inline;
  2354. function getIREN : TBits_1; inline;
  2355. function getLPBACK : TBits_1; inline;
  2356. function getON : TBits_1; inline;
  2357. function getPDSEL : TBits_2; inline;
  2358. function getPDSEL0 : TBits_1; inline;
  2359. function getPDSEL1 : TBits_1; inline;
  2360. function getRTSMD : TBits_1; inline;
  2361. function getRXINV : TBits_1; inline;
  2362. function getSIDL : TBits_1; inline;
  2363. function getSTSEL : TBits_1; inline;
  2364. function getUARTEN : TBits_1; inline;
  2365. function getUEN : TBits_2; inline;
  2366. function getUEN0 : TBits_1; inline;
  2367. function getUEN1 : TBits_1; inline;
  2368. function getUSIDL : TBits_1; inline;
  2369. function getWAKE : TBits_1; inline;
  2370. function getw : TBits_32; inline;
  2371. procedure setABAUD(thebits : TBits_1); inline;
  2372. procedure setBRGH(thebits : TBits_1); inline;
  2373. procedure setIREN(thebits : TBits_1); inline;
  2374. procedure setLPBACK(thebits : TBits_1); inline;
  2375. procedure setON(thebits : TBits_1); inline;
  2376. procedure setPDSEL(thebits : TBits_2); inline;
  2377. procedure setPDSEL0(thebits : TBits_1); inline;
  2378. procedure setPDSEL1(thebits : TBits_1); inline;
  2379. procedure setRTSMD(thebits : TBits_1); inline;
  2380. procedure setRXINV(thebits : TBits_1); inline;
  2381. procedure setSIDL(thebits : TBits_1); inline;
  2382. procedure setSTSEL(thebits : TBits_1); inline;
  2383. procedure setUARTEN(thebits : TBits_1); inline;
  2384. procedure setUEN(thebits : TBits_2); inline;
  2385. procedure setUEN0(thebits : TBits_1); inline;
  2386. procedure setUEN1(thebits : TBits_1); inline;
  2387. procedure setUSIDL(thebits : TBits_1); inline;
  2388. procedure setWAKE(thebits : TBits_1); inline;
  2389. procedure setw(thebits : TBits_32); inline;
  2390. public
  2391. procedure clearABAUD; inline;
  2392. procedure clearBRGH; inline;
  2393. procedure clearIREN; inline;
  2394. procedure clearLPBACK; inline;
  2395. procedure clearON; inline;
  2396. procedure clearPDSEL0; inline;
  2397. procedure clearPDSEL1; inline;
  2398. procedure clearRTSMD; inline;
  2399. procedure clearRXINV; inline;
  2400. procedure clearSIDL; inline;
  2401. procedure clearSTSEL; inline;
  2402. procedure clearUARTEN; inline;
  2403. procedure clearUEN0; inline;
  2404. procedure clearUEN1; inline;
  2405. procedure clearUSIDL; inline;
  2406. procedure clearWAKE; inline;
  2407. procedure setABAUD; inline;
  2408. procedure setBRGH; inline;
  2409. procedure setIREN; inline;
  2410. procedure setLPBACK; inline;
  2411. procedure setON; inline;
  2412. procedure setPDSEL0; inline;
  2413. procedure setPDSEL1; inline;
  2414. procedure setRTSMD; inline;
  2415. procedure setRXINV; inline;
  2416. procedure setSIDL; inline;
  2417. procedure setSTSEL; inline;
  2418. procedure setUARTEN; inline;
  2419. procedure setUEN0; inline;
  2420. procedure setUEN1; inline;
  2421. procedure setUSIDL; inline;
  2422. procedure setWAKE; inline;
  2423. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2424. property BRGH : TBits_1 read getBRGH write setBRGH;
  2425. property IREN : TBits_1 read getIREN write setIREN;
  2426. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2427. property ON : TBits_1 read getON write setON;
  2428. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2429. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2430. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2431. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2432. property RXINV : TBits_1 read getRXINV write setRXINV;
  2433. property SIDL : TBits_1 read getSIDL write setSIDL;
  2434. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2435. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2436. property UEN : TBits_2 read getUEN write setUEN;
  2437. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2438. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2439. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2440. property WAKE : TBits_1 read getWAKE write setWAKE;
  2441. property w : TBits_32 read getw write setw;
  2442. end;
  2443. TUART2_U2STA = record
  2444. private
  2445. function getADDEN : TBits_1; inline;
  2446. function getADDR : TBits_8; inline;
  2447. function getADM_EN : TBits_1; inline;
  2448. function getFERR : TBits_1; inline;
  2449. function getOERR : TBits_1; inline;
  2450. function getPERR : TBits_1; inline;
  2451. function getRIDLE : TBits_1; inline;
  2452. function getTRMT : TBits_1; inline;
  2453. function getURXDA : TBits_1; inline;
  2454. function getURXEN : TBits_1; inline;
  2455. function getURXISEL : TBits_2; inline;
  2456. function getURXISEL0 : TBits_1; inline;
  2457. function getURXISEL1 : TBits_1; inline;
  2458. function getUTXBF : TBits_1; inline;
  2459. function getUTXBRK : TBits_1; inline;
  2460. function getUTXEN : TBits_1; inline;
  2461. function getUTXINV : TBits_1; inline;
  2462. function getUTXISEL : TBits_2; inline;
  2463. function getUTXISEL0 : TBits_1; inline;
  2464. function getUTXISEL1 : TBits_1; inline;
  2465. function getUTXSEL : TBits_2; inline;
  2466. function getw : TBits_32; inline;
  2467. procedure setADDEN(thebits : TBits_1); inline;
  2468. procedure setADDR(thebits : TBits_8); inline;
  2469. procedure setADM_EN(thebits : TBits_1); inline;
  2470. procedure setFERR(thebits : TBits_1); inline;
  2471. procedure setOERR(thebits : TBits_1); inline;
  2472. procedure setPERR(thebits : TBits_1); inline;
  2473. procedure setRIDLE(thebits : TBits_1); inline;
  2474. procedure setTRMT(thebits : TBits_1); inline;
  2475. procedure setURXDA(thebits : TBits_1); inline;
  2476. procedure setURXEN(thebits : TBits_1); inline;
  2477. procedure setURXISEL(thebits : TBits_2); inline;
  2478. procedure setURXISEL0(thebits : TBits_1); inline;
  2479. procedure setURXISEL1(thebits : TBits_1); inline;
  2480. procedure setUTXBF(thebits : TBits_1); inline;
  2481. procedure setUTXBRK(thebits : TBits_1); inline;
  2482. procedure setUTXEN(thebits : TBits_1); inline;
  2483. procedure setUTXINV(thebits : TBits_1); inline;
  2484. procedure setUTXISEL(thebits : TBits_2); inline;
  2485. procedure setUTXISEL0(thebits : TBits_1); inline;
  2486. procedure setUTXISEL1(thebits : TBits_1); inline;
  2487. procedure setUTXSEL(thebits : TBits_2); inline;
  2488. procedure setw(thebits : TBits_32); inline;
  2489. public
  2490. procedure clearADDEN; inline;
  2491. procedure clearADM_EN; inline;
  2492. procedure clearFERR; inline;
  2493. procedure clearOERR; inline;
  2494. procedure clearPERR; inline;
  2495. procedure clearRIDLE; inline;
  2496. procedure clearTRMT; inline;
  2497. procedure clearURXDA; inline;
  2498. procedure clearURXEN; inline;
  2499. procedure clearURXISEL0; inline;
  2500. procedure clearURXISEL1; inline;
  2501. procedure clearUTXBF; inline;
  2502. procedure clearUTXBRK; inline;
  2503. procedure clearUTXEN; inline;
  2504. procedure clearUTXINV; inline;
  2505. procedure clearUTXISEL0; inline;
  2506. procedure clearUTXISEL1; inline;
  2507. procedure setADDEN; inline;
  2508. procedure setADM_EN; inline;
  2509. procedure setFERR; inline;
  2510. procedure setOERR; inline;
  2511. procedure setPERR; inline;
  2512. procedure setRIDLE; inline;
  2513. procedure setTRMT; inline;
  2514. procedure setURXDA; inline;
  2515. procedure setURXEN; inline;
  2516. procedure setURXISEL0; inline;
  2517. procedure setURXISEL1; inline;
  2518. procedure setUTXBF; inline;
  2519. procedure setUTXBRK; inline;
  2520. procedure setUTXEN; inline;
  2521. procedure setUTXINV; inline;
  2522. procedure setUTXISEL0; inline;
  2523. procedure setUTXISEL1; inline;
  2524. property ADDEN : TBits_1 read getADDEN write setADDEN;
  2525. property ADDR : TBits_8 read getADDR write setADDR;
  2526. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  2527. property FERR : TBits_1 read getFERR write setFERR;
  2528. property OERR : TBits_1 read getOERR write setOERR;
  2529. property PERR : TBits_1 read getPERR write setPERR;
  2530. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  2531. property TRMT : TBits_1 read getTRMT write setTRMT;
  2532. property URXDA : TBits_1 read getURXDA write setURXDA;
  2533. property URXEN : TBits_1 read getURXEN write setURXEN;
  2534. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  2535. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  2536. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  2537. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  2538. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  2539. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  2540. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  2541. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  2542. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  2543. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  2544. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  2545. property w : TBits_32 read getw write setw;
  2546. end;
  2547. type
  2548. TUART2Registers = record
  2549. U2MODEbits : TUART2_U2MODE;
  2550. U2MODE : longWord;
  2551. U2MODECLR : longWord;
  2552. U2MODESET : longWord;
  2553. U2MODEINV : longWord;
  2554. U2STAbits : TUART2_U2STA;
  2555. U2STA : longWord;
  2556. U2STACLR : longWord;
  2557. U2STASET : longWord;
  2558. U2STAINV : longWord;
  2559. U2TXREG : longWord;
  2560. U2RXREG : longWord;
  2561. U2BRG : longWord;
  2562. U2BRGCLR : longWord;
  2563. U2BRGSET : longWord;
  2564. U2BRGINV : longWord;
  2565. end;
  2566. TPMP_PMCON = record
  2567. private
  2568. function getADRMUX : TBits_2; inline;
  2569. function getADRMUX0 : TBits_1; inline;
  2570. function getADRMUX1 : TBits_1; inline;
  2571. function getALP : TBits_1; inline;
  2572. function getCS1P : TBits_1; inline;
  2573. function getCS2P : TBits_1; inline;
  2574. function getCSF : TBits_2; inline;
  2575. function getCSF0 : TBits_1; inline;
  2576. function getCSF1 : TBits_1; inline;
  2577. function getON : TBits_1; inline;
  2578. function getPMPEN : TBits_1; inline;
  2579. function getPMPTTL : TBits_1; inline;
  2580. function getPSIDL : TBits_1; inline;
  2581. function getPTRDEN : TBits_1; inline;
  2582. function getPTWREN : TBits_1; inline;
  2583. function getRDSP : TBits_1; inline;
  2584. function getSIDL : TBits_1; inline;
  2585. function getWRSP : TBits_1; inline;
  2586. function getw : TBits_32; inline;
  2587. procedure setADRMUX(thebits : TBits_2); inline;
  2588. procedure setADRMUX0(thebits : TBits_1); inline;
  2589. procedure setADRMUX1(thebits : TBits_1); inline;
  2590. procedure setALP(thebits : TBits_1); inline;
  2591. procedure setCS1P(thebits : TBits_1); inline;
  2592. procedure setCS2P(thebits : TBits_1); inline;
  2593. procedure setCSF(thebits : TBits_2); inline;
  2594. procedure setCSF0(thebits : TBits_1); inline;
  2595. procedure setCSF1(thebits : TBits_1); inline;
  2596. procedure setON(thebits : TBits_1); inline;
  2597. procedure setPMPEN(thebits : TBits_1); inline;
  2598. procedure setPMPTTL(thebits : TBits_1); inline;
  2599. procedure setPSIDL(thebits : TBits_1); inline;
  2600. procedure setPTRDEN(thebits : TBits_1); inline;
  2601. procedure setPTWREN(thebits : TBits_1); inline;
  2602. procedure setRDSP(thebits : TBits_1); inline;
  2603. procedure setSIDL(thebits : TBits_1); inline;
  2604. procedure setWRSP(thebits : TBits_1); inline;
  2605. procedure setw(thebits : TBits_32); inline;
  2606. public
  2607. procedure clearADRMUX0; inline;
  2608. procedure clearADRMUX1; inline;
  2609. procedure clearALP; inline;
  2610. procedure clearCS1P; inline;
  2611. procedure clearCS2P; inline;
  2612. procedure clearCSF0; inline;
  2613. procedure clearCSF1; inline;
  2614. procedure clearON; inline;
  2615. procedure clearPMPEN; inline;
  2616. procedure clearPMPTTL; inline;
  2617. procedure clearPSIDL; inline;
  2618. procedure clearPTRDEN; inline;
  2619. procedure clearPTWREN; inline;
  2620. procedure clearRDSP; inline;
  2621. procedure clearSIDL; inline;
  2622. procedure clearWRSP; inline;
  2623. procedure setADRMUX0; inline;
  2624. procedure setADRMUX1; inline;
  2625. procedure setALP; inline;
  2626. procedure setCS1P; inline;
  2627. procedure setCS2P; inline;
  2628. procedure setCSF0; inline;
  2629. procedure setCSF1; inline;
  2630. procedure setON; inline;
  2631. procedure setPMPEN; inline;
  2632. procedure setPMPTTL; inline;
  2633. procedure setPSIDL; inline;
  2634. procedure setPTRDEN; inline;
  2635. procedure setPTWREN; inline;
  2636. procedure setRDSP; inline;
  2637. procedure setSIDL; inline;
  2638. procedure setWRSP; inline;
  2639. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  2640. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  2641. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  2642. property ALP : TBits_1 read getALP write setALP;
  2643. property CS1P : TBits_1 read getCS1P write setCS1P;
  2644. property CS2P : TBits_1 read getCS2P write setCS2P;
  2645. property CSF : TBits_2 read getCSF write setCSF;
  2646. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  2647. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  2648. property ON : TBits_1 read getON write setON;
  2649. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  2650. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  2651. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  2652. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  2653. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  2654. property RDSP : TBits_1 read getRDSP write setRDSP;
  2655. property SIDL : TBits_1 read getSIDL write setSIDL;
  2656. property WRSP : TBits_1 read getWRSP write setWRSP;
  2657. property w : TBits_32 read getw write setw;
  2658. end;
  2659. TPMP_PMMODE = record
  2660. private
  2661. function getBUSY : TBits_1; inline;
  2662. function getINCM : TBits_2; inline;
  2663. function getINCM0 : TBits_1; inline;
  2664. function getINCM1 : TBits_1; inline;
  2665. function getIRQM : TBits_2; inline;
  2666. function getIRQM0 : TBits_1; inline;
  2667. function getIRQM1 : TBits_1; inline;
  2668. function getMODE : TBits_2; inline;
  2669. function getMODE0 : TBits_1; inline;
  2670. function getMODE1 : TBits_1; inline;
  2671. function getMODE16 : TBits_1; inline;
  2672. function getWAITB : TBits_2; inline;
  2673. function getWAITB0 : TBits_1; inline;
  2674. function getWAITB1 : TBits_1; inline;
  2675. function getWAITE : TBits_2; inline;
  2676. function getWAITE0 : TBits_1; inline;
  2677. function getWAITE1 : TBits_1; inline;
  2678. function getWAITM : TBits_4; inline;
  2679. function getWAITM0 : TBits_1; inline;
  2680. function getWAITM1 : TBits_1; inline;
  2681. function getWAITM2 : TBits_1; inline;
  2682. function getWAITM3 : TBits_1; inline;
  2683. function getw : TBits_32; inline;
  2684. procedure setBUSY(thebits : TBits_1); inline;
  2685. procedure setINCM(thebits : TBits_2); inline;
  2686. procedure setINCM0(thebits : TBits_1); inline;
  2687. procedure setINCM1(thebits : TBits_1); inline;
  2688. procedure setIRQM(thebits : TBits_2); inline;
  2689. procedure setIRQM0(thebits : TBits_1); inline;
  2690. procedure setIRQM1(thebits : TBits_1); inline;
  2691. procedure setMODE(thebits : TBits_2); inline;
  2692. procedure setMODE0(thebits : TBits_1); inline;
  2693. procedure setMODE1(thebits : TBits_1); inline;
  2694. procedure setMODE16(thebits : TBits_1); inline;
  2695. procedure setWAITB(thebits : TBits_2); inline;
  2696. procedure setWAITB0(thebits : TBits_1); inline;
  2697. procedure setWAITB1(thebits : TBits_1); inline;
  2698. procedure setWAITE(thebits : TBits_2); inline;
  2699. procedure setWAITE0(thebits : TBits_1); inline;
  2700. procedure setWAITE1(thebits : TBits_1); inline;
  2701. procedure setWAITM(thebits : TBits_4); inline;
  2702. procedure setWAITM0(thebits : TBits_1); inline;
  2703. procedure setWAITM1(thebits : TBits_1); inline;
  2704. procedure setWAITM2(thebits : TBits_1); inline;
  2705. procedure setWAITM3(thebits : TBits_1); inline;
  2706. procedure setw(thebits : TBits_32); inline;
  2707. public
  2708. procedure clearBUSY; inline;
  2709. procedure clearINCM0; inline;
  2710. procedure clearINCM1; inline;
  2711. procedure clearIRQM0; inline;
  2712. procedure clearIRQM1; inline;
  2713. procedure clearMODE0; inline;
  2714. procedure clearMODE16; inline;
  2715. procedure clearMODE1; inline;
  2716. procedure clearWAITB0; inline;
  2717. procedure clearWAITB1; inline;
  2718. procedure clearWAITE0; inline;
  2719. procedure clearWAITE1; inline;
  2720. procedure clearWAITM0; inline;
  2721. procedure clearWAITM1; inline;
  2722. procedure clearWAITM2; inline;
  2723. procedure clearWAITM3; inline;
  2724. procedure setBUSY; inline;
  2725. procedure setINCM0; inline;
  2726. procedure setINCM1; inline;
  2727. procedure setIRQM0; inline;
  2728. procedure setIRQM1; inline;
  2729. procedure setMODE0; inline;
  2730. procedure setMODE16; inline;
  2731. procedure setMODE1; inline;
  2732. procedure setWAITB0; inline;
  2733. procedure setWAITB1; inline;
  2734. procedure setWAITE0; inline;
  2735. procedure setWAITE1; inline;
  2736. procedure setWAITM0; inline;
  2737. procedure setWAITM1; inline;
  2738. procedure setWAITM2; inline;
  2739. procedure setWAITM3; inline;
  2740. property BUSY : TBits_1 read getBUSY write setBUSY;
  2741. property INCM : TBits_2 read getINCM write setINCM;
  2742. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  2743. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  2744. property IRQM : TBits_2 read getIRQM write setIRQM;
  2745. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  2746. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  2747. property MODE : TBits_2 read getMODE write setMODE;
  2748. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  2749. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  2750. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2751. property WAITB : TBits_2 read getWAITB write setWAITB;
  2752. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  2753. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  2754. property WAITE : TBits_2 read getWAITE write setWAITE;
  2755. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  2756. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  2757. property WAITM : TBits_4 read getWAITM write setWAITM;
  2758. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  2759. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  2760. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  2761. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  2762. property w : TBits_32 read getw write setw;
  2763. end;
  2764. TPMP_PMADDR = record
  2765. private
  2766. function getADDR : TBits_14; inline;
  2767. function getCS : TBits_2; inline;
  2768. function getCS1 : TBits_1; inline;
  2769. function getCS2 : TBits_1; inline;
  2770. function getPADDR : TBits_14; inline;
  2771. function getw : TBits_32; inline;
  2772. procedure setADDR(thebits : TBits_14); inline;
  2773. procedure setCS(thebits : TBits_2); inline;
  2774. procedure setCS1(thebits : TBits_1); inline;
  2775. procedure setCS2(thebits : TBits_1); inline;
  2776. procedure setPADDR(thebits : TBits_14); inline;
  2777. procedure setw(thebits : TBits_32); inline;
  2778. public
  2779. procedure clearCS1; inline;
  2780. procedure clearCS2; inline;
  2781. procedure setCS1; inline;
  2782. procedure setCS2; inline;
  2783. property ADDR : TBits_14 read getADDR write setADDR;
  2784. property CS : TBits_2 read getCS write setCS;
  2785. property CS1 : TBits_1 read getCS1 write setCS1;
  2786. property CS2 : TBits_1 read getCS2 write setCS2;
  2787. property PADDR : TBits_14 read getPADDR write setPADDR;
  2788. property w : TBits_32 read getw write setw;
  2789. end;
  2790. TPMP_PMDOUT = record
  2791. private
  2792. function getDATAOUT : TBits_32; inline;
  2793. function getw : TBits_32; inline;
  2794. procedure setDATAOUT(thebits : TBits_32); inline;
  2795. procedure setw(thebits : TBits_32); inline;
  2796. public
  2797. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  2798. property w : TBits_32 read getw write setw;
  2799. end;
  2800. TPMP_PMDIN = record
  2801. private
  2802. function getDATAIN : TBits_32; inline;
  2803. function getw : TBits_32; inline;
  2804. procedure setDATAIN(thebits : TBits_32); inline;
  2805. procedure setw(thebits : TBits_32); inline;
  2806. public
  2807. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  2808. property w : TBits_32 read getw write setw;
  2809. end;
  2810. TPMP_PMAEN = record
  2811. private
  2812. function getPTEN : TBits_16; inline;
  2813. function getPTEN0 : TBits_1; inline;
  2814. function getPTEN1 : TBits_1; inline;
  2815. function getPTEN10 : TBits_1; inline;
  2816. function getPTEN11 : TBits_1; inline;
  2817. function getPTEN12 : TBits_1; inline;
  2818. function getPTEN13 : TBits_1; inline;
  2819. function getPTEN14 : TBits_1; inline;
  2820. function getPTEN15 : TBits_1; inline;
  2821. function getPTEN2 : TBits_1; inline;
  2822. function getPTEN3 : TBits_1; inline;
  2823. function getPTEN4 : TBits_1; inline;
  2824. function getPTEN5 : TBits_1; inline;
  2825. function getPTEN6 : TBits_1; inline;
  2826. function getPTEN7 : TBits_1; inline;
  2827. function getPTEN8 : TBits_1; inline;
  2828. function getPTEN9 : TBits_1; inline;
  2829. function getw : TBits_32; inline;
  2830. procedure setPTEN(thebits : TBits_16); inline;
  2831. procedure setPTEN0(thebits : TBits_1); inline;
  2832. procedure setPTEN1(thebits : TBits_1); inline;
  2833. procedure setPTEN10(thebits : TBits_1); inline;
  2834. procedure setPTEN11(thebits : TBits_1); inline;
  2835. procedure setPTEN12(thebits : TBits_1); inline;
  2836. procedure setPTEN13(thebits : TBits_1); inline;
  2837. procedure setPTEN14(thebits : TBits_1); inline;
  2838. procedure setPTEN15(thebits : TBits_1); inline;
  2839. procedure setPTEN2(thebits : TBits_1); inline;
  2840. procedure setPTEN3(thebits : TBits_1); inline;
  2841. procedure setPTEN4(thebits : TBits_1); inline;
  2842. procedure setPTEN5(thebits : TBits_1); inline;
  2843. procedure setPTEN6(thebits : TBits_1); inline;
  2844. procedure setPTEN7(thebits : TBits_1); inline;
  2845. procedure setPTEN8(thebits : TBits_1); inline;
  2846. procedure setPTEN9(thebits : TBits_1); inline;
  2847. procedure setw(thebits : TBits_32); inline;
  2848. public
  2849. procedure clearPTEN0; inline;
  2850. procedure clearPTEN10; inline;
  2851. procedure clearPTEN11; inline;
  2852. procedure clearPTEN12; inline;
  2853. procedure clearPTEN13; inline;
  2854. procedure clearPTEN14; inline;
  2855. procedure clearPTEN15; inline;
  2856. procedure clearPTEN1; inline;
  2857. procedure clearPTEN2; inline;
  2858. procedure clearPTEN3; inline;
  2859. procedure clearPTEN4; inline;
  2860. procedure clearPTEN5; inline;
  2861. procedure clearPTEN6; inline;
  2862. procedure clearPTEN7; inline;
  2863. procedure clearPTEN8; inline;
  2864. procedure clearPTEN9; inline;
  2865. procedure setPTEN0; inline;
  2866. procedure setPTEN10; inline;
  2867. procedure setPTEN11; inline;
  2868. procedure setPTEN12; inline;
  2869. procedure setPTEN13; inline;
  2870. procedure setPTEN14; inline;
  2871. procedure setPTEN15; inline;
  2872. procedure setPTEN1; inline;
  2873. procedure setPTEN2; inline;
  2874. procedure setPTEN3; inline;
  2875. procedure setPTEN4; inline;
  2876. procedure setPTEN5; inline;
  2877. procedure setPTEN6; inline;
  2878. procedure setPTEN7; inline;
  2879. procedure setPTEN8; inline;
  2880. procedure setPTEN9; inline;
  2881. property PTEN : TBits_16 read getPTEN write setPTEN;
  2882. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  2883. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  2884. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  2885. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  2886. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  2887. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  2888. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  2889. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  2890. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  2891. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  2892. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  2893. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  2894. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  2895. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  2896. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  2897. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  2898. property w : TBits_32 read getw write setw;
  2899. end;
  2900. TPMP_PMSTAT = record
  2901. private
  2902. function getIB0F : TBits_1; inline;
  2903. function getIB1F : TBits_1; inline;
  2904. function getIB2F : TBits_1; inline;
  2905. function getIB3F : TBits_1; inline;
  2906. function getIBF : TBits_1; inline;
  2907. function getIBOV : TBits_1; inline;
  2908. function getOB0E : TBits_1; inline;
  2909. function getOB1E : TBits_1; inline;
  2910. function getOB2E : TBits_1; inline;
  2911. function getOB3E : TBits_1; inline;
  2912. function getOBE : TBits_1; inline;
  2913. function getOBUF : TBits_1; inline;
  2914. function getw : TBits_32; inline;
  2915. procedure setIB0F(thebits : TBits_1); inline;
  2916. procedure setIB1F(thebits : TBits_1); inline;
  2917. procedure setIB2F(thebits : TBits_1); inline;
  2918. procedure setIB3F(thebits : TBits_1); inline;
  2919. procedure setIBF(thebits : TBits_1); inline;
  2920. procedure setIBOV(thebits : TBits_1); inline;
  2921. procedure setOB0E(thebits : TBits_1); inline;
  2922. procedure setOB1E(thebits : TBits_1); inline;
  2923. procedure setOB2E(thebits : TBits_1); inline;
  2924. procedure setOB3E(thebits : TBits_1); inline;
  2925. procedure setOBE(thebits : TBits_1); inline;
  2926. procedure setOBUF(thebits : TBits_1); inline;
  2927. procedure setw(thebits : TBits_32); inline;
  2928. public
  2929. procedure clearIB0F; inline;
  2930. procedure clearIB1F; inline;
  2931. procedure clearIB2F; inline;
  2932. procedure clearIB3F; inline;
  2933. procedure clearIBF; inline;
  2934. procedure clearIBOV; inline;
  2935. procedure clearOB0E; inline;
  2936. procedure clearOB1E; inline;
  2937. procedure clearOB2E; inline;
  2938. procedure clearOB3E; inline;
  2939. procedure clearOBE; inline;
  2940. procedure clearOBUF; inline;
  2941. procedure setIB0F; inline;
  2942. procedure setIB1F; inline;
  2943. procedure setIB2F; inline;
  2944. procedure setIB3F; inline;
  2945. procedure setIBF; inline;
  2946. procedure setIBOV; inline;
  2947. procedure setOB0E; inline;
  2948. procedure setOB1E; inline;
  2949. procedure setOB2E; inline;
  2950. procedure setOB3E; inline;
  2951. procedure setOBE; inline;
  2952. procedure setOBUF; inline;
  2953. property IB0F : TBits_1 read getIB0F write setIB0F;
  2954. property IB1F : TBits_1 read getIB1F write setIB1F;
  2955. property IB2F : TBits_1 read getIB2F write setIB2F;
  2956. property IB3F : TBits_1 read getIB3F write setIB3F;
  2957. property IBF : TBits_1 read getIBF write setIBF;
  2958. property IBOV : TBits_1 read getIBOV write setIBOV;
  2959. property OB0E : TBits_1 read getOB0E write setOB0E;
  2960. property OB1E : TBits_1 read getOB1E write setOB1E;
  2961. property OB2E : TBits_1 read getOB2E write setOB2E;
  2962. property OB3E : TBits_1 read getOB3E write setOB3E;
  2963. property OBE : TBits_1 read getOBE write setOBE;
  2964. property OBUF : TBits_1 read getOBUF write setOBUF;
  2965. property w : TBits_32 read getw write setw;
  2966. end;
  2967. type
  2968. TPMPRegisters = record
  2969. PMCONbits : TPMP_PMCON;
  2970. PMCON : longWord;
  2971. PMCONCLR : longWord;
  2972. PMCONSET : longWord;
  2973. PMCONINV : longWord;
  2974. PMMODEbits : TPMP_PMMODE;
  2975. PMMODE : longWord;
  2976. PMMODECLR : longWord;
  2977. PMMODESET : longWord;
  2978. PMMODEINV : longWord;
  2979. PMADDRbits : TPMP_PMADDR;
  2980. PMADDR : longWord;
  2981. PMADDRCLR : longWord;
  2982. PMADDRSET : longWord;
  2983. PMADDRINV : longWord;
  2984. PMDOUTbits : TPMP_PMDOUT;
  2985. PMDOUT : longWord;
  2986. PMDOUTCLR : longWord;
  2987. PMDOUTSET : longWord;
  2988. PMDOUTINV : longWord;
  2989. PMDINbits : TPMP_PMDIN;
  2990. PMDIN : longWord;
  2991. PMDINCLR : longWord;
  2992. PMDINSET : longWord;
  2993. PMDININV : longWord;
  2994. PMAENbits : TPMP_PMAEN;
  2995. PMAEN : longWord;
  2996. PMAENCLR : longWord;
  2997. PMAENSET : longWord;
  2998. PMAENINV : longWord;
  2999. PMSTATbits : TPMP_PMSTAT;
  3000. PMSTAT : longWord;
  3001. PMSTATCLR : longWord;
  3002. PMSTATSET : longWord;
  3003. PMSTATINV : longWord;
  3004. end;
  3005. TADC10_AD1CON1 = record
  3006. private
  3007. function getADON : TBits_1; inline;
  3008. function getADSIDL : TBits_1; inline;
  3009. function getASAM : TBits_1; inline;
  3010. function getCLRASAM : TBits_1; inline;
  3011. function getDONE : TBits_1; inline;
  3012. function getFORM : TBits_3; inline;
  3013. function getFORM0 : TBits_1; inline;
  3014. function getFORM1 : TBits_1; inline;
  3015. function getFORM2 : TBits_1; inline;
  3016. function getON : TBits_1; inline;
  3017. function getSAMP : TBits_1; inline;
  3018. function getSIDL : TBits_1; inline;
  3019. function getSSRC : TBits_3; inline;
  3020. function getSSRC0 : TBits_1; inline;
  3021. function getSSRC1 : TBits_1; inline;
  3022. function getSSRC2 : TBits_1; inline;
  3023. function getw : TBits_32; inline;
  3024. procedure setADON(thebits : TBits_1); inline;
  3025. procedure setADSIDL(thebits : TBits_1); inline;
  3026. procedure setASAM(thebits : TBits_1); inline;
  3027. procedure setCLRASAM(thebits : TBits_1); inline;
  3028. procedure setDONE(thebits : TBits_1); inline;
  3029. procedure setFORM(thebits : TBits_3); inline;
  3030. procedure setFORM0(thebits : TBits_1); inline;
  3031. procedure setFORM1(thebits : TBits_1); inline;
  3032. procedure setFORM2(thebits : TBits_1); inline;
  3033. procedure setON(thebits : TBits_1); inline;
  3034. procedure setSAMP(thebits : TBits_1); inline;
  3035. procedure setSIDL(thebits : TBits_1); inline;
  3036. procedure setSSRC(thebits : TBits_3); inline;
  3037. procedure setSSRC0(thebits : TBits_1); inline;
  3038. procedure setSSRC1(thebits : TBits_1); inline;
  3039. procedure setSSRC2(thebits : TBits_1); inline;
  3040. procedure setw(thebits : TBits_32); inline;
  3041. public
  3042. procedure clearADON; inline;
  3043. procedure clearADSIDL; inline;
  3044. procedure clearASAM; inline;
  3045. procedure clearCLRASAM; inline;
  3046. procedure clearDONE; inline;
  3047. procedure clearFORM0; inline;
  3048. procedure clearFORM1; inline;
  3049. procedure clearFORM2; inline;
  3050. procedure clearON; inline;
  3051. procedure clearSAMP; inline;
  3052. procedure clearSIDL; inline;
  3053. procedure clearSSRC0; inline;
  3054. procedure clearSSRC1; inline;
  3055. procedure clearSSRC2; inline;
  3056. procedure setADON; inline;
  3057. procedure setADSIDL; inline;
  3058. procedure setASAM; inline;
  3059. procedure setCLRASAM; inline;
  3060. procedure setDONE; inline;
  3061. procedure setFORM0; inline;
  3062. procedure setFORM1; inline;
  3063. procedure setFORM2; inline;
  3064. procedure setON; inline;
  3065. procedure setSAMP; inline;
  3066. procedure setSIDL; inline;
  3067. procedure setSSRC0; inline;
  3068. procedure setSSRC1; inline;
  3069. procedure setSSRC2; inline;
  3070. property ADON : TBits_1 read getADON write setADON;
  3071. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  3072. property ASAM : TBits_1 read getASAM write setASAM;
  3073. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  3074. property DONE : TBits_1 read getDONE write setDONE;
  3075. property FORM : TBits_3 read getFORM write setFORM;
  3076. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  3077. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  3078. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  3079. property ON : TBits_1 read getON write setON;
  3080. property SAMP : TBits_1 read getSAMP write setSAMP;
  3081. property SIDL : TBits_1 read getSIDL write setSIDL;
  3082. property SSRC : TBits_3 read getSSRC write setSSRC;
  3083. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  3084. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  3085. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  3086. property w : TBits_32 read getw write setw;
  3087. end;
  3088. TADC10_AD1CON2 = record
  3089. private
  3090. function getALTS : TBits_1; inline;
  3091. function getBUFM : TBits_1; inline;
  3092. function getBUFS : TBits_1; inline;
  3093. function getCSCNA : TBits_1; inline;
  3094. function getOFFCAL : TBits_1; inline;
  3095. function getSMPI : TBits_4; inline;
  3096. function getSMPI0 : TBits_1; inline;
  3097. function getSMPI1 : TBits_1; inline;
  3098. function getSMPI2 : TBits_1; inline;
  3099. function getSMPI3 : TBits_1; inline;
  3100. function getVCFG : TBits_3; inline;
  3101. function getVCFG0 : TBits_1; inline;
  3102. function getVCFG1 : TBits_1; inline;
  3103. function getVCFG2 : TBits_1; inline;
  3104. function getw : TBits_32; inline;
  3105. procedure setALTS(thebits : TBits_1); inline;
  3106. procedure setBUFM(thebits : TBits_1); inline;
  3107. procedure setBUFS(thebits : TBits_1); inline;
  3108. procedure setCSCNA(thebits : TBits_1); inline;
  3109. procedure setOFFCAL(thebits : TBits_1); inline;
  3110. procedure setSMPI(thebits : TBits_4); inline;
  3111. procedure setSMPI0(thebits : TBits_1); inline;
  3112. procedure setSMPI1(thebits : TBits_1); inline;
  3113. procedure setSMPI2(thebits : TBits_1); inline;
  3114. procedure setSMPI3(thebits : TBits_1); inline;
  3115. procedure setVCFG(thebits : TBits_3); inline;
  3116. procedure setVCFG0(thebits : TBits_1); inline;
  3117. procedure setVCFG1(thebits : TBits_1); inline;
  3118. procedure setVCFG2(thebits : TBits_1); inline;
  3119. procedure setw(thebits : TBits_32); inline;
  3120. public
  3121. procedure clearALTS; inline;
  3122. procedure clearBUFM; inline;
  3123. procedure clearBUFS; inline;
  3124. procedure clearCSCNA; inline;
  3125. procedure clearOFFCAL; inline;
  3126. procedure clearSMPI0; inline;
  3127. procedure clearSMPI1; inline;
  3128. procedure clearSMPI2; inline;
  3129. procedure clearSMPI3; inline;
  3130. procedure clearVCFG0; inline;
  3131. procedure clearVCFG1; inline;
  3132. procedure clearVCFG2; inline;
  3133. procedure setALTS; inline;
  3134. procedure setBUFM; inline;
  3135. procedure setBUFS; inline;
  3136. procedure setCSCNA; inline;
  3137. procedure setOFFCAL; inline;
  3138. procedure setSMPI0; inline;
  3139. procedure setSMPI1; inline;
  3140. procedure setSMPI2; inline;
  3141. procedure setSMPI3; inline;
  3142. procedure setVCFG0; inline;
  3143. procedure setVCFG1; inline;
  3144. procedure setVCFG2; inline;
  3145. property ALTS : TBits_1 read getALTS write setALTS;
  3146. property BUFM : TBits_1 read getBUFM write setBUFM;
  3147. property BUFS : TBits_1 read getBUFS write setBUFS;
  3148. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  3149. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  3150. property SMPI : TBits_4 read getSMPI write setSMPI;
  3151. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  3152. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  3153. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  3154. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  3155. property VCFG : TBits_3 read getVCFG write setVCFG;
  3156. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  3157. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  3158. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  3159. property w : TBits_32 read getw write setw;
  3160. end;
  3161. TADC10_AD1CON3 = record
  3162. private
  3163. function getADCS : TBits_8; inline;
  3164. function getADCS0 : TBits_1; inline;
  3165. function getADCS1 : TBits_1; inline;
  3166. function getADCS2 : TBits_1; inline;
  3167. function getADCS3 : TBits_1; inline;
  3168. function getADCS4 : TBits_1; inline;
  3169. function getADCS5 : TBits_1; inline;
  3170. function getADCS6 : TBits_1; inline;
  3171. function getADCS7 : TBits_1; inline;
  3172. function getADRC : TBits_1; inline;
  3173. function getSAMC : TBits_5; inline;
  3174. function getSAMC0 : TBits_1; inline;
  3175. function getSAMC1 : TBits_1; inline;
  3176. function getSAMC2 : TBits_1; inline;
  3177. function getSAMC3 : TBits_1; inline;
  3178. function getSAMC4 : TBits_1; inline;
  3179. function getw : TBits_32; inline;
  3180. procedure setADCS(thebits : TBits_8); inline;
  3181. procedure setADCS0(thebits : TBits_1); inline;
  3182. procedure setADCS1(thebits : TBits_1); inline;
  3183. procedure setADCS2(thebits : TBits_1); inline;
  3184. procedure setADCS3(thebits : TBits_1); inline;
  3185. procedure setADCS4(thebits : TBits_1); inline;
  3186. procedure setADCS5(thebits : TBits_1); inline;
  3187. procedure setADCS6(thebits : TBits_1); inline;
  3188. procedure setADCS7(thebits : TBits_1); inline;
  3189. procedure setADRC(thebits : TBits_1); inline;
  3190. procedure setSAMC(thebits : TBits_5); inline;
  3191. procedure setSAMC0(thebits : TBits_1); inline;
  3192. procedure setSAMC1(thebits : TBits_1); inline;
  3193. procedure setSAMC2(thebits : TBits_1); inline;
  3194. procedure setSAMC3(thebits : TBits_1); inline;
  3195. procedure setSAMC4(thebits : TBits_1); inline;
  3196. procedure setw(thebits : TBits_32); inline;
  3197. public
  3198. procedure clearADCS0; inline;
  3199. procedure clearADCS1; inline;
  3200. procedure clearADCS2; inline;
  3201. procedure clearADCS3; inline;
  3202. procedure clearADCS4; inline;
  3203. procedure clearADCS5; inline;
  3204. procedure clearADCS6; inline;
  3205. procedure clearADCS7; inline;
  3206. procedure clearADRC; inline;
  3207. procedure clearSAMC0; inline;
  3208. procedure clearSAMC1; inline;
  3209. procedure clearSAMC2; inline;
  3210. procedure clearSAMC3; inline;
  3211. procedure clearSAMC4; inline;
  3212. procedure setADCS0; inline;
  3213. procedure setADCS1; inline;
  3214. procedure setADCS2; inline;
  3215. procedure setADCS3; inline;
  3216. procedure setADCS4; inline;
  3217. procedure setADCS5; inline;
  3218. procedure setADCS6; inline;
  3219. procedure setADCS7; inline;
  3220. procedure setADRC; inline;
  3221. procedure setSAMC0; inline;
  3222. procedure setSAMC1; inline;
  3223. procedure setSAMC2; inline;
  3224. procedure setSAMC3; inline;
  3225. procedure setSAMC4; inline;
  3226. property ADCS : TBits_8 read getADCS write setADCS;
  3227. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  3228. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  3229. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  3230. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  3231. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  3232. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  3233. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  3234. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  3235. property ADRC : TBits_1 read getADRC write setADRC;
  3236. property SAMC : TBits_5 read getSAMC write setSAMC;
  3237. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  3238. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  3239. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  3240. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  3241. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  3242. property w : TBits_32 read getw write setw;
  3243. end;
  3244. TADC10_AD1CHS = record
  3245. private
  3246. function getCH0NA : TBits_1; inline;
  3247. function getCH0NB : TBits_1; inline;
  3248. function getCH0SA : TBits_4; inline;
  3249. function getCH0SA0 : TBits_1; inline;
  3250. function getCH0SA1 : TBits_1; inline;
  3251. function getCH0SA2 : TBits_1; inline;
  3252. function getCH0SA3 : TBits_1; inline;
  3253. function getCH0SB : TBits_4; inline;
  3254. function getCH0SB0 : TBits_1; inline;
  3255. function getCH0SB1 : TBits_1; inline;
  3256. function getCH0SB2 : TBits_1; inline;
  3257. function getCH0SB3 : TBits_1; inline;
  3258. function getw : TBits_32; inline;
  3259. procedure setCH0NA(thebits : TBits_1); inline;
  3260. procedure setCH0NB(thebits : TBits_1); inline;
  3261. procedure setCH0SA(thebits : TBits_4); inline;
  3262. procedure setCH0SA0(thebits : TBits_1); inline;
  3263. procedure setCH0SA1(thebits : TBits_1); inline;
  3264. procedure setCH0SA2(thebits : TBits_1); inline;
  3265. procedure setCH0SA3(thebits : TBits_1); inline;
  3266. procedure setCH0SB(thebits : TBits_4); inline;
  3267. procedure setCH0SB0(thebits : TBits_1); inline;
  3268. procedure setCH0SB1(thebits : TBits_1); inline;
  3269. procedure setCH0SB2(thebits : TBits_1); inline;
  3270. procedure setCH0SB3(thebits : TBits_1); inline;
  3271. procedure setw(thebits : TBits_32); inline;
  3272. public
  3273. procedure clearCH0NA; inline;
  3274. procedure clearCH0NB; inline;
  3275. procedure clearCH0SA0; inline;
  3276. procedure clearCH0SA1; inline;
  3277. procedure clearCH0SA2; inline;
  3278. procedure clearCH0SA3; inline;
  3279. procedure clearCH0SB0; inline;
  3280. procedure clearCH0SB1; inline;
  3281. procedure clearCH0SB2; inline;
  3282. procedure clearCH0SB3; inline;
  3283. procedure setCH0NA; inline;
  3284. procedure setCH0NB; inline;
  3285. procedure setCH0SA0; inline;
  3286. procedure setCH0SA1; inline;
  3287. procedure setCH0SA2; inline;
  3288. procedure setCH0SA3; inline;
  3289. procedure setCH0SB0; inline;
  3290. procedure setCH0SB1; inline;
  3291. procedure setCH0SB2; inline;
  3292. procedure setCH0SB3; inline;
  3293. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  3294. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  3295. property CH0SA : TBits_4 read getCH0SA write setCH0SA;
  3296. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  3297. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  3298. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  3299. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  3300. property CH0SB : TBits_4 read getCH0SB write setCH0SB;
  3301. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  3302. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  3303. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  3304. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  3305. property w : TBits_32 read getw write setw;
  3306. end;
  3307. TADC10_AD1CSSL = record
  3308. private
  3309. function getCSSL : TBits_16; inline;
  3310. function getCSSL0 : TBits_1; inline;
  3311. function getCSSL1 : TBits_1; inline;
  3312. function getCSSL10 : TBits_1; inline;
  3313. function getCSSL11 : TBits_1; inline;
  3314. function getCSSL12 : TBits_1; inline;
  3315. function getCSSL13 : TBits_1; inline;
  3316. function getCSSL14 : TBits_1; inline;
  3317. function getCSSL15 : TBits_1; inline;
  3318. function getCSSL2 : TBits_1; inline;
  3319. function getCSSL3 : TBits_1; inline;
  3320. function getCSSL4 : TBits_1; inline;
  3321. function getCSSL5 : TBits_1; inline;
  3322. function getCSSL6 : TBits_1; inline;
  3323. function getCSSL7 : TBits_1; inline;
  3324. function getCSSL8 : TBits_1; inline;
  3325. function getCSSL9 : TBits_1; inline;
  3326. function getw : TBits_32; inline;
  3327. procedure setCSSL(thebits : TBits_16); inline;
  3328. procedure setCSSL0(thebits : TBits_1); inline;
  3329. procedure setCSSL1(thebits : TBits_1); inline;
  3330. procedure setCSSL10(thebits : TBits_1); inline;
  3331. procedure setCSSL11(thebits : TBits_1); inline;
  3332. procedure setCSSL12(thebits : TBits_1); inline;
  3333. procedure setCSSL13(thebits : TBits_1); inline;
  3334. procedure setCSSL14(thebits : TBits_1); inline;
  3335. procedure setCSSL15(thebits : TBits_1); inline;
  3336. procedure setCSSL2(thebits : TBits_1); inline;
  3337. procedure setCSSL3(thebits : TBits_1); inline;
  3338. procedure setCSSL4(thebits : TBits_1); inline;
  3339. procedure setCSSL5(thebits : TBits_1); inline;
  3340. procedure setCSSL6(thebits : TBits_1); inline;
  3341. procedure setCSSL7(thebits : TBits_1); inline;
  3342. procedure setCSSL8(thebits : TBits_1); inline;
  3343. procedure setCSSL9(thebits : TBits_1); inline;
  3344. procedure setw(thebits : TBits_32); inline;
  3345. public
  3346. procedure clearCSSL0; inline;
  3347. procedure clearCSSL10; inline;
  3348. procedure clearCSSL11; inline;
  3349. procedure clearCSSL12; inline;
  3350. procedure clearCSSL13; inline;
  3351. procedure clearCSSL14; inline;
  3352. procedure clearCSSL15; inline;
  3353. procedure clearCSSL1; inline;
  3354. procedure clearCSSL2; inline;
  3355. procedure clearCSSL3; inline;
  3356. procedure clearCSSL4; inline;
  3357. procedure clearCSSL5; inline;
  3358. procedure clearCSSL6; inline;
  3359. procedure clearCSSL7; inline;
  3360. procedure clearCSSL8; inline;
  3361. procedure clearCSSL9; inline;
  3362. procedure setCSSL0; inline;
  3363. procedure setCSSL10; inline;
  3364. procedure setCSSL11; inline;
  3365. procedure setCSSL12; inline;
  3366. procedure setCSSL13; inline;
  3367. procedure setCSSL14; inline;
  3368. procedure setCSSL15; inline;
  3369. procedure setCSSL1; inline;
  3370. procedure setCSSL2; inline;
  3371. procedure setCSSL3; inline;
  3372. procedure setCSSL4; inline;
  3373. procedure setCSSL5; inline;
  3374. procedure setCSSL6; inline;
  3375. procedure setCSSL7; inline;
  3376. procedure setCSSL8; inline;
  3377. procedure setCSSL9; inline;
  3378. property CSSL : TBits_16 read getCSSL write setCSSL;
  3379. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  3380. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  3381. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  3382. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  3383. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  3384. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  3385. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  3386. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  3387. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  3388. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  3389. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  3390. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  3391. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  3392. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  3393. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  3394. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  3395. property w : TBits_32 read getw write setw;
  3396. end;
  3397. TADC10_AD1PCFG = record
  3398. private
  3399. function getPCFG : TBits_16; inline;
  3400. function getPCFG0 : TBits_1; inline;
  3401. function getPCFG1 : TBits_1; inline;
  3402. function getPCFG10 : TBits_1; inline;
  3403. function getPCFG11 : TBits_1; inline;
  3404. function getPCFG12 : TBits_1; inline;
  3405. function getPCFG13 : TBits_1; inline;
  3406. function getPCFG14 : TBits_1; inline;
  3407. function getPCFG15 : TBits_1; inline;
  3408. function getPCFG2 : TBits_1; inline;
  3409. function getPCFG3 : TBits_1; inline;
  3410. function getPCFG4 : TBits_1; inline;
  3411. function getPCFG5 : TBits_1; inline;
  3412. function getPCFG6 : TBits_1; inline;
  3413. function getPCFG7 : TBits_1; inline;
  3414. function getPCFG8 : TBits_1; inline;
  3415. function getPCFG9 : TBits_1; inline;
  3416. function getw : TBits_32; inline;
  3417. procedure setPCFG(thebits : TBits_16); inline;
  3418. procedure setPCFG0(thebits : TBits_1); inline;
  3419. procedure setPCFG1(thebits : TBits_1); inline;
  3420. procedure setPCFG10(thebits : TBits_1); inline;
  3421. procedure setPCFG11(thebits : TBits_1); inline;
  3422. procedure setPCFG12(thebits : TBits_1); inline;
  3423. procedure setPCFG13(thebits : TBits_1); inline;
  3424. procedure setPCFG14(thebits : TBits_1); inline;
  3425. procedure setPCFG15(thebits : TBits_1); inline;
  3426. procedure setPCFG2(thebits : TBits_1); inline;
  3427. procedure setPCFG3(thebits : TBits_1); inline;
  3428. procedure setPCFG4(thebits : TBits_1); inline;
  3429. procedure setPCFG5(thebits : TBits_1); inline;
  3430. procedure setPCFG6(thebits : TBits_1); inline;
  3431. procedure setPCFG7(thebits : TBits_1); inline;
  3432. procedure setPCFG8(thebits : TBits_1); inline;
  3433. procedure setPCFG9(thebits : TBits_1); inline;
  3434. procedure setw(thebits : TBits_32); inline;
  3435. public
  3436. procedure clearPCFG0; inline;
  3437. procedure clearPCFG10; inline;
  3438. procedure clearPCFG11; inline;
  3439. procedure clearPCFG12; inline;
  3440. procedure clearPCFG13; inline;
  3441. procedure clearPCFG14; inline;
  3442. procedure clearPCFG15; inline;
  3443. procedure clearPCFG1; inline;
  3444. procedure clearPCFG2; inline;
  3445. procedure clearPCFG3; inline;
  3446. procedure clearPCFG4; inline;
  3447. procedure clearPCFG5; inline;
  3448. procedure clearPCFG6; inline;
  3449. procedure clearPCFG7; inline;
  3450. procedure clearPCFG8; inline;
  3451. procedure clearPCFG9; inline;
  3452. procedure setPCFG0; inline;
  3453. procedure setPCFG10; inline;
  3454. procedure setPCFG11; inline;
  3455. procedure setPCFG12; inline;
  3456. procedure setPCFG13; inline;
  3457. procedure setPCFG14; inline;
  3458. procedure setPCFG15; inline;
  3459. procedure setPCFG1; inline;
  3460. procedure setPCFG2; inline;
  3461. procedure setPCFG3; inline;
  3462. procedure setPCFG4; inline;
  3463. procedure setPCFG5; inline;
  3464. procedure setPCFG6; inline;
  3465. procedure setPCFG7; inline;
  3466. procedure setPCFG8; inline;
  3467. procedure setPCFG9; inline;
  3468. property PCFG : TBits_16 read getPCFG write setPCFG;
  3469. property PCFG0 : TBits_1 read getPCFG0 write setPCFG0;
  3470. property PCFG1 : TBits_1 read getPCFG1 write setPCFG1;
  3471. property PCFG10 : TBits_1 read getPCFG10 write setPCFG10;
  3472. property PCFG11 : TBits_1 read getPCFG11 write setPCFG11;
  3473. property PCFG12 : TBits_1 read getPCFG12 write setPCFG12;
  3474. property PCFG13 : TBits_1 read getPCFG13 write setPCFG13;
  3475. property PCFG14 : TBits_1 read getPCFG14 write setPCFG14;
  3476. property PCFG15 : TBits_1 read getPCFG15 write setPCFG15;
  3477. property PCFG2 : TBits_1 read getPCFG2 write setPCFG2;
  3478. property PCFG3 : TBits_1 read getPCFG3 write setPCFG3;
  3479. property PCFG4 : TBits_1 read getPCFG4 write setPCFG4;
  3480. property PCFG5 : TBits_1 read getPCFG5 write setPCFG5;
  3481. property PCFG6 : TBits_1 read getPCFG6 write setPCFG6;
  3482. property PCFG7 : TBits_1 read getPCFG7 write setPCFG7;
  3483. property PCFG8 : TBits_1 read getPCFG8 write setPCFG8;
  3484. property PCFG9 : TBits_1 read getPCFG9 write setPCFG9;
  3485. property w : TBits_32 read getw write setw;
  3486. end;
  3487. type
  3488. TADC10Registers = record
  3489. AD1CON1bits : TADC10_AD1CON1;
  3490. AD1CON1 : longWord;
  3491. AD1CON1CLR : longWord;
  3492. AD1CON1SET : longWord;
  3493. AD1CON1INV : longWord;
  3494. AD1CON2bits : TADC10_AD1CON2;
  3495. AD1CON2 : longWord;
  3496. AD1CON2CLR : longWord;
  3497. AD1CON2SET : longWord;
  3498. AD1CON2INV : longWord;
  3499. AD1CON3bits : TADC10_AD1CON3;
  3500. AD1CON3 : longWord;
  3501. AD1CON3CLR : longWord;
  3502. AD1CON3SET : longWord;
  3503. AD1CON3INV : longWord;
  3504. AD1CHSbits : TADC10_AD1CHS;
  3505. AD1CHS : longWord;
  3506. AD1CHSCLR : longWord;
  3507. AD1CHSSET : longWord;
  3508. AD1CHSINV : longWord;
  3509. AD1CSSLbits : TADC10_AD1CSSL;
  3510. AD1CSSL : longWord;
  3511. AD1CSSLCLR : longWord;
  3512. AD1CSSLSET : longWord;
  3513. AD1CSSLINV : longWord;
  3514. AD1PCFGbits : TADC10_AD1PCFG;
  3515. AD1PCFG : longWord;
  3516. AD1PCFGCLR : longWord;
  3517. AD1PCFGSET : longWord;
  3518. AD1PCFGINV : longWord;
  3519. ADC1BUF0 : longWord;
  3520. ADC1BUF1 : longWord;
  3521. ADC1BUF2 : longWord;
  3522. ADC1BUF3 : longWord;
  3523. ADC1BUF4 : longWord;
  3524. ADC1BUF5 : longWord;
  3525. ADC1BUF6 : longWord;
  3526. ADC1BUF7 : longWord;
  3527. ADC1BUF8 : longWord;
  3528. ADC1BUF9 : longWord;
  3529. ADC1BUFA : longWord;
  3530. ADC1BUFB : longWord;
  3531. ADC1BUFC : longWord;
  3532. ADC1BUFD : longWord;
  3533. ADC1BUFE : longWord;
  3534. ADC1BUFF : longWord;
  3535. end;
  3536. TCVR_CVRCON = record
  3537. private
  3538. function getCVR : TBits_4; inline;
  3539. function getCVR0 : TBits_1; inline;
  3540. function getCVR1 : TBits_1; inline;
  3541. function getCVR2 : TBits_1; inline;
  3542. function getCVR3 : TBits_1; inline;
  3543. function getCVROE : TBits_1; inline;
  3544. function getCVRR : TBits_1; inline;
  3545. function getCVRSS : TBits_1; inline;
  3546. function getON : TBits_1; inline;
  3547. function getw : TBits_32; inline;
  3548. procedure setCVR(thebits : TBits_4); inline;
  3549. procedure setCVR0(thebits : TBits_1); inline;
  3550. procedure setCVR1(thebits : TBits_1); inline;
  3551. procedure setCVR2(thebits : TBits_1); inline;
  3552. procedure setCVR3(thebits : TBits_1); inline;
  3553. procedure setCVROE(thebits : TBits_1); inline;
  3554. procedure setCVRR(thebits : TBits_1); inline;
  3555. procedure setCVRSS(thebits : TBits_1); inline;
  3556. procedure setON(thebits : TBits_1); inline;
  3557. procedure setw(thebits : TBits_32); inline;
  3558. public
  3559. procedure clearCVR0; inline;
  3560. procedure clearCVR1; inline;
  3561. procedure clearCVR2; inline;
  3562. procedure clearCVR3; inline;
  3563. procedure clearCVROE; inline;
  3564. procedure clearCVRR; inline;
  3565. procedure clearCVRSS; inline;
  3566. procedure clearON; inline;
  3567. procedure setCVR0; inline;
  3568. procedure setCVR1; inline;
  3569. procedure setCVR2; inline;
  3570. procedure setCVR3; inline;
  3571. procedure setCVROE; inline;
  3572. procedure setCVRR; inline;
  3573. procedure setCVRSS; inline;
  3574. procedure setON; inline;
  3575. property CVR : TBits_4 read getCVR write setCVR;
  3576. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  3577. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  3578. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  3579. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  3580. property CVROE : TBits_1 read getCVROE write setCVROE;
  3581. property CVRR : TBits_1 read getCVRR write setCVRR;
  3582. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  3583. property ON : TBits_1 read getON write setON;
  3584. property w : TBits_32 read getw write setw;
  3585. end;
  3586. type
  3587. TCVRRegisters = record
  3588. CVRCONbits : TCVR_CVRCON;
  3589. CVRCON : longWord;
  3590. CVRCONCLR : longWord;
  3591. CVRCONSET : longWord;
  3592. CVRCONINV : longWord;
  3593. end;
  3594. TCMP_CM1CON = record
  3595. private
  3596. function getCCH : TBits_2; inline;
  3597. function getCCH0 : TBits_1; inline;
  3598. function getCCH1 : TBits_1; inline;
  3599. function getCOE : TBits_1; inline;
  3600. function getCOUT : TBits_1; inline;
  3601. function getCPOL : TBits_1; inline;
  3602. function getCREF : TBits_1; inline;
  3603. function getEVPOL : TBits_2; inline;
  3604. function getEVPOL0 : TBits_1; inline;
  3605. function getEVPOL1 : TBits_1; inline;
  3606. function getON : TBits_1; inline;
  3607. function getw : TBits_32; inline;
  3608. procedure setCCH(thebits : TBits_2); inline;
  3609. procedure setCCH0(thebits : TBits_1); inline;
  3610. procedure setCCH1(thebits : TBits_1); inline;
  3611. procedure setCOE(thebits : TBits_1); inline;
  3612. procedure setCOUT(thebits : TBits_1); inline;
  3613. procedure setCPOL(thebits : TBits_1); inline;
  3614. procedure setCREF(thebits : TBits_1); inline;
  3615. procedure setEVPOL(thebits : TBits_2); inline;
  3616. procedure setEVPOL0(thebits : TBits_1); inline;
  3617. procedure setEVPOL1(thebits : TBits_1); inline;
  3618. procedure setON(thebits : TBits_1); inline;
  3619. procedure setw(thebits : TBits_32); inline;
  3620. public
  3621. procedure clearCCH0; inline;
  3622. procedure clearCCH1; inline;
  3623. procedure clearCOE; inline;
  3624. procedure clearCOUT; inline;
  3625. procedure clearCPOL; inline;
  3626. procedure clearCREF; inline;
  3627. procedure clearEVPOL0; inline;
  3628. procedure clearEVPOL1; inline;
  3629. procedure clearON; inline;
  3630. procedure setCCH0; inline;
  3631. procedure setCCH1; inline;
  3632. procedure setCOE; inline;
  3633. procedure setCOUT; inline;
  3634. procedure setCPOL; inline;
  3635. procedure setCREF; inline;
  3636. procedure setEVPOL0; inline;
  3637. procedure setEVPOL1; inline;
  3638. procedure setON; inline;
  3639. property CCH : TBits_2 read getCCH write setCCH;
  3640. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  3641. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  3642. property COE : TBits_1 read getCOE write setCOE;
  3643. property COUT : TBits_1 read getCOUT write setCOUT;
  3644. property CPOL : TBits_1 read getCPOL write setCPOL;
  3645. property CREF : TBits_1 read getCREF write setCREF;
  3646. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  3647. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  3648. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  3649. property ON : TBits_1 read getON write setON;
  3650. property w : TBits_32 read getw write setw;
  3651. end;
  3652. TCMP_CM2CON = record
  3653. private
  3654. function getCCH : TBits_2; inline;
  3655. function getCCH0 : TBits_1; inline;
  3656. function getCCH1 : TBits_1; inline;
  3657. function getCOE : TBits_1; inline;
  3658. function getCOUT : TBits_1; inline;
  3659. function getCPOL : TBits_1; inline;
  3660. function getCREF : TBits_1; inline;
  3661. function getEVPOL : TBits_2; inline;
  3662. function getEVPOL0 : TBits_1; inline;
  3663. function getEVPOL1 : TBits_1; inline;
  3664. function getON : TBits_1; inline;
  3665. function getw : TBits_32; inline;
  3666. procedure setCCH(thebits : TBits_2); inline;
  3667. procedure setCCH0(thebits : TBits_1); inline;
  3668. procedure setCCH1(thebits : TBits_1); inline;
  3669. procedure setCOE(thebits : TBits_1); inline;
  3670. procedure setCOUT(thebits : TBits_1); inline;
  3671. procedure setCPOL(thebits : TBits_1); inline;
  3672. procedure setCREF(thebits : TBits_1); inline;
  3673. procedure setEVPOL(thebits : TBits_2); inline;
  3674. procedure setEVPOL0(thebits : TBits_1); inline;
  3675. procedure setEVPOL1(thebits : TBits_1); inline;
  3676. procedure setON(thebits : TBits_1); inline;
  3677. procedure setw(thebits : TBits_32); inline;
  3678. public
  3679. procedure clearCCH0; inline;
  3680. procedure clearCCH1; inline;
  3681. procedure clearCOE; inline;
  3682. procedure clearCOUT; inline;
  3683. procedure clearCPOL; inline;
  3684. procedure clearCREF; inline;
  3685. procedure clearEVPOL0; inline;
  3686. procedure clearEVPOL1; inline;
  3687. procedure clearON; inline;
  3688. procedure setCCH0; inline;
  3689. procedure setCCH1; inline;
  3690. procedure setCOE; inline;
  3691. procedure setCOUT; inline;
  3692. procedure setCPOL; inline;
  3693. procedure setCREF; inline;
  3694. procedure setEVPOL0; inline;
  3695. procedure setEVPOL1; inline;
  3696. procedure setON; inline;
  3697. property CCH : TBits_2 read getCCH write setCCH;
  3698. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  3699. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  3700. property COE : TBits_1 read getCOE write setCOE;
  3701. property COUT : TBits_1 read getCOUT write setCOUT;
  3702. property CPOL : TBits_1 read getCPOL write setCPOL;
  3703. property CREF : TBits_1 read getCREF write setCREF;
  3704. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  3705. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  3706. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  3707. property ON : TBits_1 read getON write setON;
  3708. property w : TBits_32 read getw write setw;
  3709. end;
  3710. TCMP_CMSTAT = record
  3711. private
  3712. function getC1OUT : TBits_1; inline;
  3713. function getC2OUT : TBits_1; inline;
  3714. function getSIDL : TBits_1; inline;
  3715. function getw : TBits_32; inline;
  3716. procedure setC1OUT(thebits : TBits_1); inline;
  3717. procedure setC2OUT(thebits : TBits_1); inline;
  3718. procedure setSIDL(thebits : TBits_1); inline;
  3719. procedure setw(thebits : TBits_32); inline;
  3720. public
  3721. procedure clearC1OUT; inline;
  3722. procedure clearC2OUT; inline;
  3723. procedure clearSIDL; inline;
  3724. procedure setC1OUT; inline;
  3725. procedure setC2OUT; inline;
  3726. procedure setSIDL; inline;
  3727. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  3728. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  3729. property SIDL : TBits_1 read getSIDL write setSIDL;
  3730. property w : TBits_32 read getw write setw;
  3731. end;
  3732. type
  3733. TCMPRegisters = record
  3734. CM1CONbits : TCMP_CM1CON;
  3735. CM1CON : longWord;
  3736. CM1CONCLR : longWord;
  3737. CM1CONSET : longWord;
  3738. CM1CONINV : longWord;
  3739. CM2CONbits : TCMP_CM2CON;
  3740. CM2CON : longWord;
  3741. CM2CONCLR : longWord;
  3742. CM2CONSET : longWord;
  3743. CM2CONINV : longWord;
  3744. CMSTATbits : TCMP_CMSTAT;
  3745. CMSTAT : longWord;
  3746. CMSTATCLR : longWord;
  3747. CMSTATSET : longWord;
  3748. CMSTATINV : longWord;
  3749. end;
  3750. TOSC_OSCCON = record
  3751. private
  3752. function getCF : TBits_1; inline;
  3753. function getCLKLOCK : TBits_1; inline;
  3754. function getCOSC : TBits_3; inline;
  3755. function getCOSC0 : TBits_1; inline;
  3756. function getCOSC1 : TBits_1; inline;
  3757. function getCOSC2 : TBits_1; inline;
  3758. function getFRCDIV : TBits_3; inline;
  3759. function getFRCDIV0 : TBits_1; inline;
  3760. function getFRCDIV1 : TBits_1; inline;
  3761. function getFRCDIV2 : TBits_1; inline;
  3762. function getLOCK : TBits_1; inline;
  3763. function getNOSC : TBits_3; inline;
  3764. function getNOSC0 : TBits_1; inline;
  3765. function getNOSC1 : TBits_1; inline;
  3766. function getNOSC2 : TBits_1; inline;
  3767. function getOSWEN : TBits_1; inline;
  3768. function getPBDIV : TBits_2; inline;
  3769. function getPBDIV0 : TBits_1; inline;
  3770. function getPBDIV1 : TBits_1; inline;
  3771. function getPLLMULT : TBits_3; inline;
  3772. function getPLLMULT0 : TBits_1; inline;
  3773. function getPLLMULT1 : TBits_1; inline;
  3774. function getPLLMULT2 : TBits_1; inline;
  3775. function getPLLODIV : TBits_3; inline;
  3776. function getPLLODIV0 : TBits_1; inline;
  3777. function getPLLODIV1 : TBits_1; inline;
  3778. function getPLLODIV2 : TBits_1; inline;
  3779. function getSLPEN : TBits_1; inline;
  3780. function getSOSCEN : TBits_1; inline;
  3781. function getSOSCRDY : TBits_1; inline;
  3782. function getUFRCEN : TBits_1; inline;
  3783. function getULOCK : TBits_1; inline;
  3784. function getw : TBits_32; inline;
  3785. procedure setCF(thebits : TBits_1); inline;
  3786. procedure setCLKLOCK(thebits : TBits_1); inline;
  3787. procedure setCOSC(thebits : TBits_3); inline;
  3788. procedure setCOSC0(thebits : TBits_1); inline;
  3789. procedure setCOSC1(thebits : TBits_1); inline;
  3790. procedure setCOSC2(thebits : TBits_1); inline;
  3791. procedure setFRCDIV(thebits : TBits_3); inline;
  3792. procedure setFRCDIV0(thebits : TBits_1); inline;
  3793. procedure setFRCDIV1(thebits : TBits_1); inline;
  3794. procedure setFRCDIV2(thebits : TBits_1); inline;
  3795. procedure setLOCK(thebits : TBits_1); inline;
  3796. procedure setNOSC(thebits : TBits_3); inline;
  3797. procedure setNOSC0(thebits : TBits_1); inline;
  3798. procedure setNOSC1(thebits : TBits_1); inline;
  3799. procedure setNOSC2(thebits : TBits_1); inline;
  3800. procedure setOSWEN(thebits : TBits_1); inline;
  3801. procedure setPBDIV(thebits : TBits_2); inline;
  3802. procedure setPBDIV0(thebits : TBits_1); inline;
  3803. procedure setPBDIV1(thebits : TBits_1); inline;
  3804. procedure setPLLMULT(thebits : TBits_3); inline;
  3805. procedure setPLLMULT0(thebits : TBits_1); inline;
  3806. procedure setPLLMULT1(thebits : TBits_1); inline;
  3807. procedure setPLLMULT2(thebits : TBits_1); inline;
  3808. procedure setPLLODIV(thebits : TBits_3); inline;
  3809. procedure setPLLODIV0(thebits : TBits_1); inline;
  3810. procedure setPLLODIV1(thebits : TBits_1); inline;
  3811. procedure setPLLODIV2(thebits : TBits_1); inline;
  3812. procedure setSLPEN(thebits : TBits_1); inline;
  3813. procedure setSOSCEN(thebits : TBits_1); inline;
  3814. procedure setSOSCRDY(thebits : TBits_1); inline;
  3815. procedure setUFRCEN(thebits : TBits_1); inline;
  3816. procedure setULOCK(thebits : TBits_1); inline;
  3817. procedure setw(thebits : TBits_32); inline;
  3818. public
  3819. procedure clearCF; inline;
  3820. procedure clearCLKLOCK; inline;
  3821. procedure clearCOSC0; inline;
  3822. procedure clearCOSC1; inline;
  3823. procedure clearCOSC2; inline;
  3824. procedure clearFRCDIV0; inline;
  3825. procedure clearFRCDIV1; inline;
  3826. procedure clearFRCDIV2; inline;
  3827. procedure clearLOCK; inline;
  3828. procedure clearNOSC0; inline;
  3829. procedure clearNOSC1; inline;
  3830. procedure clearNOSC2; inline;
  3831. procedure clearOSWEN; inline;
  3832. procedure clearPBDIV0; inline;
  3833. procedure clearPBDIV1; inline;
  3834. procedure clearPLLMULT0; inline;
  3835. procedure clearPLLMULT1; inline;
  3836. procedure clearPLLMULT2; inline;
  3837. procedure clearPLLODIV0; inline;
  3838. procedure clearPLLODIV1; inline;
  3839. procedure clearPLLODIV2; inline;
  3840. procedure clearSLPEN; inline;
  3841. procedure clearSOSCEN; inline;
  3842. procedure clearSOSCRDY; inline;
  3843. procedure clearUFRCEN; inline;
  3844. procedure clearULOCK; inline;
  3845. procedure setCF; inline;
  3846. procedure setCLKLOCK; inline;
  3847. procedure setCOSC0; inline;
  3848. procedure setCOSC1; inline;
  3849. procedure setCOSC2; inline;
  3850. procedure setFRCDIV0; inline;
  3851. procedure setFRCDIV1; inline;
  3852. procedure setFRCDIV2; inline;
  3853. procedure setLOCK; inline;
  3854. procedure setNOSC0; inline;
  3855. procedure setNOSC1; inline;
  3856. procedure setNOSC2; inline;
  3857. procedure setOSWEN; inline;
  3858. procedure setPBDIV0; inline;
  3859. procedure setPBDIV1; inline;
  3860. procedure setPLLMULT0; inline;
  3861. procedure setPLLMULT1; inline;
  3862. procedure setPLLMULT2; inline;
  3863. procedure setPLLODIV0; inline;
  3864. procedure setPLLODIV1; inline;
  3865. procedure setPLLODIV2; inline;
  3866. procedure setSLPEN; inline;
  3867. procedure setSOSCEN; inline;
  3868. procedure setSOSCRDY; inline;
  3869. procedure setUFRCEN; inline;
  3870. procedure setULOCK; inline;
  3871. property CF : TBits_1 read getCF write setCF;
  3872. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  3873. property COSC : TBits_3 read getCOSC write setCOSC;
  3874. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  3875. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  3876. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  3877. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  3878. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  3879. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  3880. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  3881. property LOCK : TBits_1 read getLOCK write setLOCK;
  3882. property NOSC : TBits_3 read getNOSC write setNOSC;
  3883. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  3884. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  3885. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  3886. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  3887. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  3888. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  3889. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  3890. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  3891. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  3892. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  3893. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  3894. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  3895. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  3896. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  3897. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  3898. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  3899. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  3900. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  3901. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  3902. property ULOCK : TBits_1 read getULOCK write setULOCK;
  3903. property w : TBits_32 read getw write setw;
  3904. end;
  3905. TOSC_OSCTUN = record
  3906. private
  3907. function getTUN : TBits_6; inline;
  3908. function getTUN0 : TBits_1; inline;
  3909. function getTUN1 : TBits_1; inline;
  3910. function getTUN2 : TBits_1; inline;
  3911. function getTUN3 : TBits_1; inline;
  3912. function getTUN4 : TBits_1; inline;
  3913. function getTUN5 : TBits_1; inline;
  3914. function getw : TBits_32; inline;
  3915. procedure setTUN(thebits : TBits_6); inline;
  3916. procedure setTUN0(thebits : TBits_1); inline;
  3917. procedure setTUN1(thebits : TBits_1); inline;
  3918. procedure setTUN2(thebits : TBits_1); inline;
  3919. procedure setTUN3(thebits : TBits_1); inline;
  3920. procedure setTUN4(thebits : TBits_1); inline;
  3921. procedure setTUN5(thebits : TBits_1); inline;
  3922. procedure setw(thebits : TBits_32); inline;
  3923. public
  3924. procedure clearTUN0; inline;
  3925. procedure clearTUN1; inline;
  3926. procedure clearTUN2; inline;
  3927. procedure clearTUN3; inline;
  3928. procedure clearTUN4; inline;
  3929. procedure clearTUN5; inline;
  3930. procedure setTUN0; inline;
  3931. procedure setTUN1; inline;
  3932. procedure setTUN2; inline;
  3933. procedure setTUN3; inline;
  3934. procedure setTUN4; inline;
  3935. procedure setTUN5; inline;
  3936. property TUN : TBits_6 read getTUN write setTUN;
  3937. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  3938. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  3939. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  3940. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  3941. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  3942. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  3943. property w : TBits_32 read getw write setw;
  3944. end;
  3945. type
  3946. TOSCRegisters = record
  3947. OSCCONbits : TOSC_OSCCON;
  3948. OSCCON : longWord;
  3949. OSCCONCLR : longWord;
  3950. OSCCONSET : longWord;
  3951. OSCCONINV : longWord;
  3952. OSCTUNbits : TOSC_OSCTUN;
  3953. OSCTUN : longWord;
  3954. OSCTUNCLR : longWord;
  3955. OSCTUNSET : longWord;
  3956. OSCTUNINV : longWord;
  3957. end;
  3958. type
  3959. TCFGRegisters = record
  3960. DDPCON : longWord;
  3961. DEVID : longWord;
  3962. SYSKEY : longWord;
  3963. SYSKEYCLR : longWord;
  3964. SYSKEYSET : longWord;
  3965. SYSKEYINV : longWord;
  3966. end;
  3967. TNVM_NVMCON = record
  3968. private
  3969. function getLVDERR : TBits_1; inline;
  3970. function getLVDSTAT : TBits_1; inline;
  3971. function getNVMOP : TBits_4; inline;
  3972. function getNVMOP0 : TBits_1; inline;
  3973. function getNVMOP1 : TBits_1; inline;
  3974. function getNVMOP2 : TBits_1; inline;
  3975. function getNVMOP3 : TBits_1; inline;
  3976. function getPROGOP : TBits_4; inline;
  3977. function getPROGOP0 : TBits_1; inline;
  3978. function getPROGOP1 : TBits_1; inline;
  3979. function getPROGOP2 : TBits_1; inline;
  3980. function getPROGOP3 : TBits_1; inline;
  3981. function getWR : TBits_1; inline;
  3982. function getWREN : TBits_1; inline;
  3983. function getWRERR : TBits_1; inline;
  3984. function getw : TBits_32; inline;
  3985. procedure setLVDERR(thebits : TBits_1); inline;
  3986. procedure setLVDSTAT(thebits : TBits_1); inline;
  3987. procedure setNVMOP(thebits : TBits_4); inline;
  3988. procedure setNVMOP0(thebits : TBits_1); inline;
  3989. procedure setNVMOP1(thebits : TBits_1); inline;
  3990. procedure setNVMOP2(thebits : TBits_1); inline;
  3991. procedure setNVMOP3(thebits : TBits_1); inline;
  3992. procedure setPROGOP(thebits : TBits_4); inline;
  3993. procedure setPROGOP0(thebits : TBits_1); inline;
  3994. procedure setPROGOP1(thebits : TBits_1); inline;
  3995. procedure setPROGOP2(thebits : TBits_1); inline;
  3996. procedure setPROGOP3(thebits : TBits_1); inline;
  3997. procedure setWR(thebits : TBits_1); inline;
  3998. procedure setWREN(thebits : TBits_1); inline;
  3999. procedure setWRERR(thebits : TBits_1); inline;
  4000. procedure setw(thebits : TBits_32); inline;
  4001. public
  4002. procedure clearLVDERR; inline;
  4003. procedure clearLVDSTAT; inline;
  4004. procedure clearNVMOP0; inline;
  4005. procedure clearNVMOP1; inline;
  4006. procedure clearNVMOP2; inline;
  4007. procedure clearNVMOP3; inline;
  4008. procedure clearPROGOP0; inline;
  4009. procedure clearPROGOP1; inline;
  4010. procedure clearPROGOP2; inline;
  4011. procedure clearPROGOP3; inline;
  4012. procedure clearWR; inline;
  4013. procedure clearWREN; inline;
  4014. procedure clearWRERR; inline;
  4015. procedure setLVDERR; inline;
  4016. procedure setLVDSTAT; inline;
  4017. procedure setNVMOP0; inline;
  4018. procedure setNVMOP1; inline;
  4019. procedure setNVMOP2; inline;
  4020. procedure setNVMOP3; inline;
  4021. procedure setPROGOP0; inline;
  4022. procedure setPROGOP1; inline;
  4023. procedure setPROGOP2; inline;
  4024. procedure setPROGOP3; inline;
  4025. procedure setWR; inline;
  4026. procedure setWREN; inline;
  4027. procedure setWRERR; inline;
  4028. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  4029. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  4030. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  4031. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  4032. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  4033. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  4034. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  4035. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  4036. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  4037. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  4038. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  4039. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  4040. property WR : TBits_1 read getWR write setWR;
  4041. property WREN : TBits_1 read getWREN write setWREN;
  4042. property WRERR : TBits_1 read getWRERR write setWRERR;
  4043. property w : TBits_32 read getw write setw;
  4044. end;
  4045. type
  4046. TNVMRegisters = record
  4047. NVMCONbits : TNVM_NVMCON;
  4048. NVMCON : longWord;
  4049. NVMCONCLR : longWord;
  4050. NVMCONSET : longWord;
  4051. NVMCONINV : longWord;
  4052. NVMKEY : longWord;
  4053. NVMADDR : longWord;
  4054. NVMADDRCLR : longWord;
  4055. NVMADDRSET : longWord;
  4056. NVMADDRINV : longWord;
  4057. NVMDATA : longWord;
  4058. NVMSRCADDR : longWord;
  4059. end;
  4060. TRCON_RCON = record
  4061. private
  4062. function getBOR : TBits_1; inline;
  4063. function getCMR : TBits_1; inline;
  4064. function getEXTR : TBits_1; inline;
  4065. function getIDLE : TBits_1; inline;
  4066. function getPOR : TBits_1; inline;
  4067. function getSLEEP : TBits_1; inline;
  4068. function getSWR : TBits_1; inline;
  4069. function getVREGS : TBits_1; inline;
  4070. function getWDTO : TBits_1; inline;
  4071. function getw : TBits_32; inline;
  4072. procedure setBOR(thebits : TBits_1); inline;
  4073. procedure setCMR(thebits : TBits_1); inline;
  4074. procedure setEXTR(thebits : TBits_1); inline;
  4075. procedure setIDLE(thebits : TBits_1); inline;
  4076. procedure setPOR(thebits : TBits_1); inline;
  4077. procedure setSLEEP(thebits : TBits_1); inline;
  4078. procedure setSWR(thebits : TBits_1); inline;
  4079. procedure setVREGS(thebits : TBits_1); inline;
  4080. procedure setWDTO(thebits : TBits_1); inline;
  4081. procedure setw(thebits : TBits_32); inline;
  4082. public
  4083. procedure clearBOR; inline;
  4084. procedure clearCMR; inline;
  4085. procedure clearEXTR; inline;
  4086. procedure clearIDLE; inline;
  4087. procedure clearPOR; inline;
  4088. procedure clearSLEEP; inline;
  4089. procedure clearSWR; inline;
  4090. procedure clearVREGS; inline;
  4091. procedure clearWDTO; inline;
  4092. procedure setBOR; inline;
  4093. procedure setCMR; inline;
  4094. procedure setEXTR; inline;
  4095. procedure setIDLE; inline;
  4096. procedure setPOR; inline;
  4097. procedure setSLEEP; inline;
  4098. procedure setSWR; inline;
  4099. procedure setVREGS; inline;
  4100. procedure setWDTO; inline;
  4101. property BOR : TBits_1 read getBOR write setBOR;
  4102. property CMR : TBits_1 read getCMR write setCMR;
  4103. property EXTR : TBits_1 read getEXTR write setEXTR;
  4104. property IDLE : TBits_1 read getIDLE write setIDLE;
  4105. property POR : TBits_1 read getPOR write setPOR;
  4106. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  4107. property SWR : TBits_1 read getSWR write setSWR;
  4108. property VREGS : TBits_1 read getVREGS write setVREGS;
  4109. property WDTO : TBits_1 read getWDTO write setWDTO;
  4110. property w : TBits_32 read getw write setw;
  4111. end;
  4112. TRCON_RSWRST = record
  4113. private
  4114. function getSWRST : TBits_1; inline;
  4115. function getw : TBits_32; inline;
  4116. procedure setSWRST(thebits : TBits_1); inline;
  4117. procedure setw(thebits : TBits_32); inline;
  4118. public
  4119. procedure clearSWRST; inline;
  4120. procedure setSWRST; inline;
  4121. property SWRST : TBits_1 read getSWRST write setSWRST;
  4122. property w : TBits_32 read getw write setw;
  4123. end;
  4124. type
  4125. TRCONRegisters = record
  4126. RCONbits : TRCON_RCON;
  4127. RCON : longWord;
  4128. RCONCLR : longWord;
  4129. RCONSET : longWord;
  4130. RCONINV : longWord;
  4131. RSWRSTbits : TRCON_RSWRST;
  4132. RSWRST : longWord;
  4133. RSWRSTCLR : longWord;
  4134. RSWRSTSET : longWord;
  4135. RSWRSTINV : longWord;
  4136. end;
  4137. type
  4138. T_DDPSTATRegisters = record
  4139. _DDPSTAT : longWord;
  4140. end;
  4141. type
  4142. T_STRORegisters = record
  4143. _STRO : longWord;
  4144. _STROCLR : longWord;
  4145. _STROSET : longWord;
  4146. _STROINV : longWord;
  4147. end;
  4148. type
  4149. T_APPORegisters = record
  4150. _APPO : longWord;
  4151. _APPOCLR : longWord;
  4152. _APPOSET : longWord;
  4153. _APPOINV : longWord;
  4154. end;
  4155. type
  4156. T_APPIRegisters = record
  4157. _APPI : longWord;
  4158. end;
  4159. TINT_INTSTAT = record
  4160. private
  4161. function getRIPL : TBits_3; inline;
  4162. function getSRIPL : TBits_3; inline;
  4163. function getVEC : TBits_6; inline;
  4164. procedure setRIPL(thebits : TBits_3); inline;
  4165. procedure setSRIPL(thebits : TBits_3); inline;
  4166. procedure setVEC(thebits : TBits_6); inline;
  4167. public
  4168. property RIPL : TBits_3 read getRIPL write setRIPL;
  4169. property SRIPL : TBits_3 read getSRIPL write setSRIPL;
  4170. property VEC : TBits_6 read getVEC write setVEC;
  4171. end;
  4172. type
  4173. TINTRegisters = record
  4174. INTCON : longWord;
  4175. INTCONCLR : longWord;
  4176. INTCONSET : longWord;
  4177. INTCONINV : longWord;
  4178. INTSTATbits : TINT_INTSTAT;
  4179. INTSTAT : longWord;
  4180. IPTMR : longWord;
  4181. IPTMRCLR : longWord;
  4182. IPTMRSET : longWord;
  4183. IPTMRINV : longWord;
  4184. IFS0 : longWord;
  4185. IFS0CLR : longWord;
  4186. IFS0SET : longWord;
  4187. IFS0INV : longWord;
  4188. IFS1 : longWord;
  4189. IFS1CLR : longWord;
  4190. IFS1SET : longWord;
  4191. IFS1INV : longWord;
  4192. IEC0 : longWord;
  4193. IEC0CLR : longWord;
  4194. IEC0SET : longWord;
  4195. IEC0INV : longWord;
  4196. IEC1 : longWord;
  4197. IEC1CLR : longWord;
  4198. IEC1SET : longWord;
  4199. IEC1INV : longWord;
  4200. IPC0 : longWord;
  4201. IPC0CLR : longWord;
  4202. IPC0SET : longWord;
  4203. IPC0INV : longWord;
  4204. IPC1 : longWord;
  4205. IPC1CLR : longWord;
  4206. IPC1SET : longWord;
  4207. IPC1INV : longWord;
  4208. IPC2 : longWord;
  4209. IPC2CLR : longWord;
  4210. IPC2SET : longWord;
  4211. IPC2INV : longWord;
  4212. IPC3 : longWord;
  4213. IPC3CLR : longWord;
  4214. IPC3SET : longWord;
  4215. IPC3INV : longWord;
  4216. IPC4 : longWord;
  4217. IPC4CLR : longWord;
  4218. IPC4SET : longWord;
  4219. IPC4INV : longWord;
  4220. IPC5 : longWord;
  4221. IPC5CLR : longWord;
  4222. IPC5SET : longWord;
  4223. IPC5INV : longWord;
  4224. IPC6 : longWord;
  4225. IPC6CLR : longWord;
  4226. IPC6SET : longWord;
  4227. IPC6INV : longWord;
  4228. IPC7 : longWord;
  4229. IPC7CLR : longWord;
  4230. IPC7SET : longWord;
  4231. IPC7INV : longWord;
  4232. IPC8 : longWord;
  4233. IPC8CLR : longWord;
  4234. IPC8SET : longWord;
  4235. IPC8INV : longWord;
  4236. IPC9 : longWord;
  4237. IPC9CLR : longWord;
  4238. IPC9SET : longWord;
  4239. IPC9INV : longWord;
  4240. IPC11 : longWord;
  4241. IPC11CLR : longWord;
  4242. IPC11SET : longWord;
  4243. IPC11INV : longWord;
  4244. end;
  4245. TBMX_BMXCON = record
  4246. private
  4247. function getBMXARB : TBits_3; inline;
  4248. function getBMXCHEDMA : TBits_1; inline;
  4249. function getBMXERRDMA : TBits_1; inline;
  4250. function getBMXERRDS : TBits_1; inline;
  4251. function getBMXERRICD : TBits_1; inline;
  4252. function getBMXERRIS : TBits_1; inline;
  4253. function getBMXERRIXI : TBits_1; inline;
  4254. function getBMXWSDRM : TBits_1; inline;
  4255. function getw : TBits_32; inline;
  4256. procedure setBMXARB(thebits : TBits_3); inline;
  4257. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  4258. procedure setBMXERRDMA(thebits : TBits_1); inline;
  4259. procedure setBMXERRDS(thebits : TBits_1); inline;
  4260. procedure setBMXERRICD(thebits : TBits_1); inline;
  4261. procedure setBMXERRIS(thebits : TBits_1); inline;
  4262. procedure setBMXERRIXI(thebits : TBits_1); inline;
  4263. procedure setBMXWSDRM(thebits : TBits_1); inline;
  4264. procedure setw(thebits : TBits_32); inline;
  4265. public
  4266. procedure clearBMXCHEDMA; inline;
  4267. procedure clearBMXERRDMA; inline;
  4268. procedure clearBMXERRDS; inline;
  4269. procedure clearBMXERRICD; inline;
  4270. procedure clearBMXERRIS; inline;
  4271. procedure clearBMXERRIXI; inline;
  4272. procedure clearBMXWSDRM; inline;
  4273. procedure setBMXCHEDMA; inline;
  4274. procedure setBMXERRDMA; inline;
  4275. procedure setBMXERRDS; inline;
  4276. procedure setBMXERRICD; inline;
  4277. procedure setBMXERRIS; inline;
  4278. procedure setBMXERRIXI; inline;
  4279. procedure setBMXWSDRM; inline;
  4280. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  4281. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  4282. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  4283. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  4284. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  4285. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  4286. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  4287. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  4288. property w : TBits_32 read getw write setw;
  4289. end;
  4290. type
  4291. TBMXRegisters = record
  4292. BMXCONbits : TBMX_BMXCON;
  4293. BMXCON : longWord;
  4294. BMXCONCLR : longWord;
  4295. BMXCONSET : longWord;
  4296. BMXCONINV : longWord;
  4297. BMXDKPBA : longWord;
  4298. BMXDKPBACLR : longWord;
  4299. BMXDKPBASET : longWord;
  4300. BMXDKPBAINV : longWord;
  4301. BMXDUDBA : longWord;
  4302. BMXDUDBACLR : longWord;
  4303. BMXDUDBASET : longWord;
  4304. BMXDUDBAINV : longWord;
  4305. BMXDUPBA : longWord;
  4306. BMXDUPBACLR : longWord;
  4307. BMXDUPBASET : longWord;
  4308. BMXDUPBAINV : longWord;
  4309. BMXDRMSZ : longWord;
  4310. BMXPUPBA : longWord;
  4311. BMXPUPBACLR : longWord;
  4312. BMXPUPBASET : longWord;
  4313. BMXPUPBAINV : longWord;
  4314. BMXPFMSZ : longWord;
  4315. BMXBOOTSZ : longWord;
  4316. end;
  4317. TDMAC_DMACON = record
  4318. private
  4319. function getON : TBits_1; inline;
  4320. function getSIDL : TBits_1; inline;
  4321. function getSUSPEND : TBits_1; inline;
  4322. function getw : TBits_32; inline;
  4323. procedure setON(thebits : TBits_1); inline;
  4324. procedure setSIDL(thebits : TBits_1); inline;
  4325. procedure setSUSPEND(thebits : TBits_1); inline;
  4326. procedure setw(thebits : TBits_32); inline;
  4327. public
  4328. procedure clearON; inline;
  4329. procedure clearSIDL; inline;
  4330. procedure clearSUSPEND; inline;
  4331. procedure setON; inline;
  4332. procedure setSIDL; inline;
  4333. procedure setSUSPEND; inline;
  4334. property ON : TBits_1 read getON write setON;
  4335. property SIDL : TBits_1 read getSIDL write setSIDL;
  4336. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  4337. property w : TBits_32 read getw write setw;
  4338. end;
  4339. TDMAC_DMASTAT = record
  4340. private
  4341. function getDMACH : TBits_2; inline;
  4342. function getRDWR : TBits_1; inline;
  4343. function getw : TBits_32; inline;
  4344. procedure setDMACH(thebits : TBits_2); inline;
  4345. procedure setRDWR(thebits : TBits_1); inline;
  4346. procedure setw(thebits : TBits_32); inline;
  4347. public
  4348. procedure clearRDWR; inline;
  4349. procedure setRDWR; inline;
  4350. property DMACH : TBits_2 read getDMACH write setDMACH;
  4351. property RDWR : TBits_1 read getRDWR write setRDWR;
  4352. property w : TBits_32 read getw write setw;
  4353. end;
  4354. TDMAC_DCRCCON = record
  4355. private
  4356. function getBITO : TBits_1; inline;
  4357. function getBYTO : TBits_2; inline;
  4358. function getCRCAPP : TBits_1; inline;
  4359. function getCRCCH : TBits_2; inline;
  4360. function getCRCEN : TBits_1; inline;
  4361. function getCRCTYP : TBits_1; inline;
  4362. function getPLEN : TBits_4; inline;
  4363. function getWBO : TBits_1; inline;
  4364. function getw : TBits_32; inline;
  4365. procedure setBITO(thebits : TBits_1); inline;
  4366. procedure setBYTO(thebits : TBits_2); inline;
  4367. procedure setCRCAPP(thebits : TBits_1); inline;
  4368. procedure setCRCCH(thebits : TBits_2); inline;
  4369. procedure setCRCEN(thebits : TBits_1); inline;
  4370. procedure setCRCTYP(thebits : TBits_1); inline;
  4371. procedure setPLEN(thebits : TBits_4); inline;
  4372. procedure setWBO(thebits : TBits_1); inline;
  4373. procedure setw(thebits : TBits_32); inline;
  4374. public
  4375. procedure clearBITO; inline;
  4376. procedure clearCRCAPP; inline;
  4377. procedure clearCRCEN; inline;
  4378. procedure clearCRCTYP; inline;
  4379. procedure clearWBO; inline;
  4380. procedure setBITO; inline;
  4381. procedure setCRCAPP; inline;
  4382. procedure setCRCEN; inline;
  4383. procedure setCRCTYP; inline;
  4384. procedure setWBO; inline;
  4385. property BITO : TBits_1 read getBITO write setBITO;
  4386. property BYTO : TBits_2 read getBYTO write setBYTO;
  4387. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  4388. property CRCCH : TBits_2 read getCRCCH write setCRCCH;
  4389. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  4390. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  4391. property PLEN : TBits_4 read getPLEN write setPLEN;
  4392. property WBO : TBits_1 read getWBO write setWBO;
  4393. property w : TBits_32 read getw write setw;
  4394. end;
  4395. type
  4396. TDMACRegisters = record
  4397. DMACONbits : TDMAC_DMACON;
  4398. DMACON : longWord;
  4399. DMACONCLR : longWord;
  4400. DMACONSET : longWord;
  4401. DMACONINV : longWord;
  4402. DMASTATbits : TDMAC_DMASTAT;
  4403. DMASTAT : longWord;
  4404. DMASTATCLR : longWord;
  4405. DMASTATSET : longWord;
  4406. DMASTATINV : longWord;
  4407. DMAADDR : longWord;
  4408. DMAADDRCLR : longWord;
  4409. DMAADDRSET : longWord;
  4410. DMAADDRINV : longWord;
  4411. DCRCCONbits : TDMAC_DCRCCON;
  4412. DCRCCON : longWord;
  4413. DCRCCONCLR : longWord;
  4414. DCRCCONSET : longWord;
  4415. DCRCCONINV : longWord;
  4416. DCRCDATA : longWord;
  4417. DCRCDATACLR : longWord;
  4418. DCRCDATASET : longWord;
  4419. DCRCDATAINV : longWord;
  4420. DCRCXOR : longWord;
  4421. DCRCXORCLR : longWord;
  4422. DCRCXORSET : longWord;
  4423. DCRCXORINV : longWord;
  4424. end;
  4425. TDMAC0_DCH0CON = record
  4426. private
  4427. function getCHAED : TBits_1; inline;
  4428. function getCHAEN : TBits_1; inline;
  4429. function getCHCHN : TBits_1; inline;
  4430. function getCHCHNS : TBits_1; inline;
  4431. function getCHEDET : TBits_1; inline;
  4432. function getCHEN : TBits_1; inline;
  4433. function getCHPRI : TBits_2; inline;
  4434. function getw : TBits_32; inline;
  4435. procedure setCHAED(thebits : TBits_1); inline;
  4436. procedure setCHAEN(thebits : TBits_1); inline;
  4437. procedure setCHCHN(thebits : TBits_1); inline;
  4438. procedure setCHCHNS(thebits : TBits_1); inline;
  4439. procedure setCHEDET(thebits : TBits_1); inline;
  4440. procedure setCHEN(thebits : TBits_1); inline;
  4441. procedure setCHPRI(thebits : TBits_2); inline;
  4442. procedure setw(thebits : TBits_32); inline;
  4443. public
  4444. procedure clearCHAED; inline;
  4445. procedure clearCHAEN; inline;
  4446. procedure clearCHCHN; inline;
  4447. procedure clearCHCHNS; inline;
  4448. procedure clearCHEDET; inline;
  4449. procedure clearCHEN; inline;
  4450. procedure setCHAED; inline;
  4451. procedure setCHAEN; inline;
  4452. procedure setCHCHN; inline;
  4453. procedure setCHCHNS; inline;
  4454. procedure setCHEDET; inline;
  4455. procedure setCHEN; inline;
  4456. property CHAED : TBits_1 read getCHAED write setCHAED;
  4457. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  4458. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  4459. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  4460. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  4461. property CHEN : TBits_1 read getCHEN write setCHEN;
  4462. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  4463. property w : TBits_32 read getw write setw;
  4464. end;
  4465. TDMAC0_DCH0ECON = record
  4466. private
  4467. function getAIRQEN : TBits_1; inline;
  4468. function getCABORT : TBits_1; inline;
  4469. function getCFORCE : TBits_1; inline;
  4470. function getCHAIRQ : TBits_8; inline;
  4471. function getCHSIRQ : TBits_8; inline;
  4472. function getPATEN : TBits_1; inline;
  4473. function getSIRQEN : TBits_1; inline;
  4474. function getw : TBits_32; inline;
  4475. procedure setAIRQEN(thebits : TBits_1); inline;
  4476. procedure setCABORT(thebits : TBits_1); inline;
  4477. procedure setCFORCE(thebits : TBits_1); inline;
  4478. procedure setCHAIRQ(thebits : TBits_8); inline;
  4479. procedure setCHSIRQ(thebits : TBits_8); inline;
  4480. procedure setPATEN(thebits : TBits_1); inline;
  4481. procedure setSIRQEN(thebits : TBits_1); inline;
  4482. procedure setw(thebits : TBits_32); inline;
  4483. public
  4484. procedure clearAIRQEN; inline;
  4485. procedure clearCABORT; inline;
  4486. procedure clearCFORCE; inline;
  4487. procedure clearPATEN; inline;
  4488. procedure clearSIRQEN; inline;
  4489. procedure setAIRQEN; inline;
  4490. procedure setCABORT; inline;
  4491. procedure setCFORCE; inline;
  4492. procedure setPATEN; inline;
  4493. procedure setSIRQEN; inline;
  4494. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  4495. property CABORT : TBits_1 read getCABORT write setCABORT;
  4496. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  4497. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  4498. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  4499. property PATEN : TBits_1 read getPATEN write setPATEN;
  4500. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  4501. property w : TBits_32 read getw write setw;
  4502. end;
  4503. TDMAC0_DCH0INT = record
  4504. private
  4505. function getCHBCIE : TBits_1; inline;
  4506. function getCHBCIF : TBits_1; inline;
  4507. function getCHCCIE : TBits_1; inline;
  4508. function getCHCCIF : TBits_1; inline;
  4509. function getCHDDIE : TBits_1; inline;
  4510. function getCHDDIF : TBits_1; inline;
  4511. function getCHDHIE : TBits_1; inline;
  4512. function getCHDHIF : TBits_1; inline;
  4513. function getCHERIE : TBits_1; inline;
  4514. function getCHERIF : TBits_1; inline;
  4515. function getCHSDIE : TBits_1; inline;
  4516. function getCHSDIF : TBits_1; inline;
  4517. function getCHSHIE : TBits_1; inline;
  4518. function getCHSHIF : TBits_1; inline;
  4519. function getCHTAIE : TBits_1; inline;
  4520. function getCHTAIF : TBits_1; inline;
  4521. function getw : TBits_32; inline;
  4522. procedure setCHBCIE(thebits : TBits_1); inline;
  4523. procedure setCHBCIF(thebits : TBits_1); inline;
  4524. procedure setCHCCIE(thebits : TBits_1); inline;
  4525. procedure setCHCCIF(thebits : TBits_1); inline;
  4526. procedure setCHDDIE(thebits : TBits_1); inline;
  4527. procedure setCHDDIF(thebits : TBits_1); inline;
  4528. procedure setCHDHIE(thebits : TBits_1); inline;
  4529. procedure setCHDHIF(thebits : TBits_1); inline;
  4530. procedure setCHERIE(thebits : TBits_1); inline;
  4531. procedure setCHERIF(thebits : TBits_1); inline;
  4532. procedure setCHSDIE(thebits : TBits_1); inline;
  4533. procedure setCHSDIF(thebits : TBits_1); inline;
  4534. procedure setCHSHIE(thebits : TBits_1); inline;
  4535. procedure setCHSHIF(thebits : TBits_1); inline;
  4536. procedure setCHTAIE(thebits : TBits_1); inline;
  4537. procedure setCHTAIF(thebits : TBits_1); inline;
  4538. procedure setw(thebits : TBits_32); inline;
  4539. public
  4540. procedure clearCHBCIE; inline;
  4541. procedure clearCHBCIF; inline;
  4542. procedure clearCHCCIE; inline;
  4543. procedure clearCHCCIF; inline;
  4544. procedure clearCHDDIE; inline;
  4545. procedure clearCHDDIF; inline;
  4546. procedure clearCHDHIE; inline;
  4547. procedure clearCHDHIF; inline;
  4548. procedure clearCHERIE; inline;
  4549. procedure clearCHERIF; inline;
  4550. procedure clearCHSDIE; inline;
  4551. procedure clearCHSDIF; inline;
  4552. procedure clearCHSHIE; inline;
  4553. procedure clearCHSHIF; inline;
  4554. procedure clearCHTAIE; inline;
  4555. procedure clearCHTAIF; inline;
  4556. procedure setCHBCIE; inline;
  4557. procedure setCHBCIF; inline;
  4558. procedure setCHCCIE; inline;
  4559. procedure setCHCCIF; inline;
  4560. procedure setCHDDIE; inline;
  4561. procedure setCHDDIF; inline;
  4562. procedure setCHDHIE; inline;
  4563. procedure setCHDHIF; inline;
  4564. procedure setCHERIE; inline;
  4565. procedure setCHERIF; inline;
  4566. procedure setCHSDIE; inline;
  4567. procedure setCHSDIF; inline;
  4568. procedure setCHSHIE; inline;
  4569. procedure setCHSHIF; inline;
  4570. procedure setCHTAIE; inline;
  4571. procedure setCHTAIF; inline;
  4572. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  4573. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  4574. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  4575. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  4576. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  4577. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  4578. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  4579. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  4580. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  4581. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  4582. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  4583. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  4584. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  4585. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  4586. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  4587. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  4588. property w : TBits_32 read getw write setw;
  4589. end;
  4590. type
  4591. TDMAC0Registers = record
  4592. DCH0CONbits : TDMAC0_DCH0CON;
  4593. DCH0CON : longWord;
  4594. DCH0CONCLR : longWord;
  4595. DCH0CONSET : longWord;
  4596. DCH0CONINV : longWord;
  4597. DCH0ECONbits : TDMAC0_DCH0ECON;
  4598. DCH0ECON : longWord;
  4599. DCH0ECONCLR : longWord;
  4600. DCH0ECONSET : longWord;
  4601. DCH0ECONINV : longWord;
  4602. DCH0INTbits : TDMAC0_DCH0INT;
  4603. DCH0INT : longWord;
  4604. DCH0INTCLR : longWord;
  4605. DCH0INTSET : longWord;
  4606. DCH0INTINV : longWord;
  4607. DCH0SSA : longWord;
  4608. DCH0SSACLR : longWord;
  4609. DCH0SSASET : longWord;
  4610. DCH0SSAINV : longWord;
  4611. DCH0DSA : longWord;
  4612. DCH0DSACLR : longWord;
  4613. DCH0DSASET : longWord;
  4614. DCH0DSAINV : longWord;
  4615. DCH0SSIZ : longWord;
  4616. DCH0SSIZCLR : longWord;
  4617. DCH0SSIZSET : longWord;
  4618. DCH0SSIZINV : longWord;
  4619. DCH0DSIZ : longWord;
  4620. DCH0DSIZCLR : longWord;
  4621. DCH0DSIZSET : longWord;
  4622. DCH0DSIZINV : longWord;
  4623. DCH0SPTR : longWord;
  4624. DCH0SPTRCLR : longWord;
  4625. DCH0SPTRSET : longWord;
  4626. DCH0SPTRINV : longWord;
  4627. DCH0DPTR : longWord;
  4628. DCH0DPTRCLR : longWord;
  4629. DCH0DPTRSET : longWord;
  4630. DCH0DPTRINV : longWord;
  4631. DCH0CSIZ : longWord;
  4632. DCH0CSIZCLR : longWord;
  4633. DCH0CSIZSET : longWord;
  4634. DCH0CSIZINV : longWord;
  4635. DCH0CPTR : longWord;
  4636. DCH0CPTRCLR : longWord;
  4637. DCH0CPTRSET : longWord;
  4638. DCH0CPTRINV : longWord;
  4639. DCH0DAT : longWord;
  4640. DCH0DATCLR : longWord;
  4641. DCH0DATSET : longWord;
  4642. DCH0DATINV : longWord;
  4643. end;
  4644. TDMAC1_DCH1CON = record
  4645. private
  4646. function getCHAED : TBits_1; inline;
  4647. function getCHAEN : TBits_1; inline;
  4648. function getCHCHN : TBits_1; inline;
  4649. function getCHCHNS : TBits_1; inline;
  4650. function getCHEDET : TBits_1; inline;
  4651. function getCHEN : TBits_1; inline;
  4652. function getCHPRI : TBits_2; inline;
  4653. function getw : TBits_32; inline;
  4654. procedure setCHAED(thebits : TBits_1); inline;
  4655. procedure setCHAEN(thebits : TBits_1); inline;
  4656. procedure setCHCHN(thebits : TBits_1); inline;
  4657. procedure setCHCHNS(thebits : TBits_1); inline;
  4658. procedure setCHEDET(thebits : TBits_1); inline;
  4659. procedure setCHEN(thebits : TBits_1); inline;
  4660. procedure setCHPRI(thebits : TBits_2); inline;
  4661. procedure setw(thebits : TBits_32); inline;
  4662. public
  4663. procedure clearCHAED; inline;
  4664. procedure clearCHAEN; inline;
  4665. procedure clearCHCHN; inline;
  4666. procedure clearCHCHNS; inline;
  4667. procedure clearCHEDET; inline;
  4668. procedure clearCHEN; inline;
  4669. procedure setCHAED; inline;
  4670. procedure setCHAEN; inline;
  4671. procedure setCHCHN; inline;
  4672. procedure setCHCHNS; inline;
  4673. procedure setCHEDET; inline;
  4674. procedure setCHEN; inline;
  4675. property CHAED : TBits_1 read getCHAED write setCHAED;
  4676. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  4677. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  4678. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  4679. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  4680. property CHEN : TBits_1 read getCHEN write setCHEN;
  4681. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  4682. property w : TBits_32 read getw write setw;
  4683. end;
  4684. TDMAC1_DCH1ECON = record
  4685. private
  4686. function getAIRQEN : TBits_1; inline;
  4687. function getCABORT : TBits_1; inline;
  4688. function getCFORCE : TBits_1; inline;
  4689. function getCHAIRQ : TBits_8; inline;
  4690. function getCHSIRQ : TBits_8; inline;
  4691. function getPATEN : TBits_1; inline;
  4692. function getSIRQEN : TBits_1; inline;
  4693. function getw : TBits_32; inline;
  4694. procedure setAIRQEN(thebits : TBits_1); inline;
  4695. procedure setCABORT(thebits : TBits_1); inline;
  4696. procedure setCFORCE(thebits : TBits_1); inline;
  4697. procedure setCHAIRQ(thebits : TBits_8); inline;
  4698. procedure setCHSIRQ(thebits : TBits_8); inline;
  4699. procedure setPATEN(thebits : TBits_1); inline;
  4700. procedure setSIRQEN(thebits : TBits_1); inline;
  4701. procedure setw(thebits : TBits_32); inline;
  4702. public
  4703. procedure clearAIRQEN; inline;
  4704. procedure clearCABORT; inline;
  4705. procedure clearCFORCE; inline;
  4706. procedure clearPATEN; inline;
  4707. procedure clearSIRQEN; inline;
  4708. procedure setAIRQEN; inline;
  4709. procedure setCABORT; inline;
  4710. procedure setCFORCE; inline;
  4711. procedure setPATEN; inline;
  4712. procedure setSIRQEN; inline;
  4713. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  4714. property CABORT : TBits_1 read getCABORT write setCABORT;
  4715. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  4716. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  4717. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  4718. property PATEN : TBits_1 read getPATEN write setPATEN;
  4719. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  4720. property w : TBits_32 read getw write setw;
  4721. end;
  4722. TDMAC1_DCH1INT = record
  4723. private
  4724. function getCHBCIE : TBits_1; inline;
  4725. function getCHBCIF : TBits_1; inline;
  4726. function getCHCCIE : TBits_1; inline;
  4727. function getCHCCIF : TBits_1; inline;
  4728. function getCHDDIE : TBits_1; inline;
  4729. function getCHDDIF : TBits_1; inline;
  4730. function getCHDHIE : TBits_1; inline;
  4731. function getCHDHIF : TBits_1; inline;
  4732. function getCHERIE : TBits_1; inline;
  4733. function getCHERIF : TBits_1; inline;
  4734. function getCHSDIE : TBits_1; inline;
  4735. function getCHSDIF : TBits_1; inline;
  4736. function getCHSHIE : TBits_1; inline;
  4737. function getCHSHIF : TBits_1; inline;
  4738. function getCHTAIE : TBits_1; inline;
  4739. function getCHTAIF : TBits_1; inline;
  4740. function getw : TBits_32; inline;
  4741. procedure setCHBCIE(thebits : TBits_1); inline;
  4742. procedure setCHBCIF(thebits : TBits_1); inline;
  4743. procedure setCHCCIE(thebits : TBits_1); inline;
  4744. procedure setCHCCIF(thebits : TBits_1); inline;
  4745. procedure setCHDDIE(thebits : TBits_1); inline;
  4746. procedure setCHDDIF(thebits : TBits_1); inline;
  4747. procedure setCHDHIE(thebits : TBits_1); inline;
  4748. procedure setCHDHIF(thebits : TBits_1); inline;
  4749. procedure setCHERIE(thebits : TBits_1); inline;
  4750. procedure setCHERIF(thebits : TBits_1); inline;
  4751. procedure setCHSDIE(thebits : TBits_1); inline;
  4752. procedure setCHSDIF(thebits : TBits_1); inline;
  4753. procedure setCHSHIE(thebits : TBits_1); inline;
  4754. procedure setCHSHIF(thebits : TBits_1); inline;
  4755. procedure setCHTAIE(thebits : TBits_1); inline;
  4756. procedure setCHTAIF(thebits : TBits_1); inline;
  4757. procedure setw(thebits : TBits_32); inline;
  4758. public
  4759. procedure clearCHBCIE; inline;
  4760. procedure clearCHBCIF; inline;
  4761. procedure clearCHCCIE; inline;
  4762. procedure clearCHCCIF; inline;
  4763. procedure clearCHDDIE; inline;
  4764. procedure clearCHDDIF; inline;
  4765. procedure clearCHDHIE; inline;
  4766. procedure clearCHDHIF; inline;
  4767. procedure clearCHERIE; inline;
  4768. procedure clearCHERIF; inline;
  4769. procedure clearCHSDIE; inline;
  4770. procedure clearCHSDIF; inline;
  4771. procedure clearCHSHIE; inline;
  4772. procedure clearCHSHIF; inline;
  4773. procedure clearCHTAIE; inline;
  4774. procedure clearCHTAIF; inline;
  4775. procedure setCHBCIE; inline;
  4776. procedure setCHBCIF; inline;
  4777. procedure setCHCCIE; inline;
  4778. procedure setCHCCIF; inline;
  4779. procedure setCHDDIE; inline;
  4780. procedure setCHDDIF; inline;
  4781. procedure setCHDHIE; inline;
  4782. procedure setCHDHIF; inline;
  4783. procedure setCHERIE; inline;
  4784. procedure setCHERIF; inline;
  4785. procedure setCHSDIE; inline;
  4786. procedure setCHSDIF; inline;
  4787. procedure setCHSHIE; inline;
  4788. procedure setCHSHIF; inline;
  4789. procedure setCHTAIE; inline;
  4790. procedure setCHTAIF; inline;
  4791. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  4792. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  4793. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  4794. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  4795. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  4796. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  4797. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  4798. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  4799. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  4800. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  4801. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  4802. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  4803. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  4804. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  4805. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  4806. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  4807. property w : TBits_32 read getw write setw;
  4808. end;
  4809. type
  4810. TDMAC1Registers = record
  4811. DCH1CONbits : TDMAC1_DCH1CON;
  4812. DCH1CON : longWord;
  4813. DCH1CONCLR : longWord;
  4814. DCH1CONSET : longWord;
  4815. DCH1CONINV : longWord;
  4816. DCH1ECONbits : TDMAC1_DCH1ECON;
  4817. DCH1ECON : longWord;
  4818. DCH1ECONCLR : longWord;
  4819. DCH1ECONSET : longWord;
  4820. DCH1ECONINV : longWord;
  4821. DCH1INTbits : TDMAC1_DCH1INT;
  4822. DCH1INT : longWord;
  4823. DCH1INTCLR : longWord;
  4824. DCH1INTSET : longWord;
  4825. DCH1INTINV : longWord;
  4826. DCH1SSA : longWord;
  4827. DCH1SSACLR : longWord;
  4828. DCH1SSASET : longWord;
  4829. DCH1SSAINV : longWord;
  4830. DCH1DSA : longWord;
  4831. DCH1DSACLR : longWord;
  4832. DCH1DSASET : longWord;
  4833. DCH1DSAINV : longWord;
  4834. DCH1SSIZ : longWord;
  4835. DCH1SSIZCLR : longWord;
  4836. DCH1SSIZSET : longWord;
  4837. DCH1SSIZINV : longWord;
  4838. DCH1DSIZ : longWord;
  4839. DCH1DSIZCLR : longWord;
  4840. DCH1DSIZSET : longWord;
  4841. DCH1DSIZINV : longWord;
  4842. DCH1SPTR : longWord;
  4843. DCH1SPTRCLR : longWord;
  4844. DCH1SPTRSET : longWord;
  4845. DCH1SPTRINV : longWord;
  4846. DCH1DPTR : longWord;
  4847. DCH1DPTRCLR : longWord;
  4848. DCH1DPTRSET : longWord;
  4849. DCH1DPTRINV : longWord;
  4850. DCH1CSIZ : longWord;
  4851. DCH1CSIZCLR : longWord;
  4852. DCH1CSIZSET : longWord;
  4853. DCH1CSIZINV : longWord;
  4854. DCH1CPTR : longWord;
  4855. DCH1CPTRCLR : longWord;
  4856. DCH1CPTRSET : longWord;
  4857. DCH1CPTRINV : longWord;
  4858. DCH1DAT : longWord;
  4859. DCH1DATCLR : longWord;
  4860. DCH1DATSET : longWord;
  4861. DCH1DATINV : longWord;
  4862. end;
  4863. TDMAC2_DCH2CON = record
  4864. private
  4865. function getCHAED : TBits_1; inline;
  4866. function getCHAEN : TBits_1; inline;
  4867. function getCHCHN : TBits_1; inline;
  4868. function getCHCHNS : TBits_1; inline;
  4869. function getCHEDET : TBits_1; inline;
  4870. function getCHEN : TBits_1; inline;
  4871. function getCHPRI : TBits_2; inline;
  4872. function getw : TBits_32; inline;
  4873. procedure setCHAED(thebits : TBits_1); inline;
  4874. procedure setCHAEN(thebits : TBits_1); inline;
  4875. procedure setCHCHN(thebits : TBits_1); inline;
  4876. procedure setCHCHNS(thebits : TBits_1); inline;
  4877. procedure setCHEDET(thebits : TBits_1); inline;
  4878. procedure setCHEN(thebits : TBits_1); inline;
  4879. procedure setCHPRI(thebits : TBits_2); inline;
  4880. procedure setw(thebits : TBits_32); inline;
  4881. public
  4882. procedure clearCHAED; inline;
  4883. procedure clearCHAEN; inline;
  4884. procedure clearCHCHN; inline;
  4885. procedure clearCHCHNS; inline;
  4886. procedure clearCHEDET; inline;
  4887. procedure clearCHEN; inline;
  4888. procedure setCHAED; inline;
  4889. procedure setCHAEN; inline;
  4890. procedure setCHCHN; inline;
  4891. procedure setCHCHNS; inline;
  4892. procedure setCHEDET; inline;
  4893. procedure setCHEN; inline;
  4894. property CHAED : TBits_1 read getCHAED write setCHAED;
  4895. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  4896. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  4897. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  4898. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  4899. property CHEN : TBits_1 read getCHEN write setCHEN;
  4900. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  4901. property w : TBits_32 read getw write setw;
  4902. end;
  4903. TDMAC2_DCH2ECON = record
  4904. private
  4905. function getAIRQEN : TBits_1; inline;
  4906. function getCABORT : TBits_1; inline;
  4907. function getCFORCE : TBits_1; inline;
  4908. function getCHAIRQ : TBits_8; inline;
  4909. function getCHSIRQ : TBits_8; inline;
  4910. function getPATEN : TBits_1; inline;
  4911. function getSIRQEN : TBits_1; inline;
  4912. function getw : TBits_32; inline;
  4913. procedure setAIRQEN(thebits : TBits_1); inline;
  4914. procedure setCABORT(thebits : TBits_1); inline;
  4915. procedure setCFORCE(thebits : TBits_1); inline;
  4916. procedure setCHAIRQ(thebits : TBits_8); inline;
  4917. procedure setCHSIRQ(thebits : TBits_8); inline;
  4918. procedure setPATEN(thebits : TBits_1); inline;
  4919. procedure setSIRQEN(thebits : TBits_1); inline;
  4920. procedure setw(thebits : TBits_32); inline;
  4921. public
  4922. procedure clearAIRQEN; inline;
  4923. procedure clearCABORT; inline;
  4924. procedure clearCFORCE; inline;
  4925. procedure clearPATEN; inline;
  4926. procedure clearSIRQEN; inline;
  4927. procedure setAIRQEN; inline;
  4928. procedure setCABORT; inline;
  4929. procedure setCFORCE; inline;
  4930. procedure setPATEN; inline;
  4931. procedure setSIRQEN; inline;
  4932. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  4933. property CABORT : TBits_1 read getCABORT write setCABORT;
  4934. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  4935. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  4936. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  4937. property PATEN : TBits_1 read getPATEN write setPATEN;
  4938. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  4939. property w : TBits_32 read getw write setw;
  4940. end;
  4941. TDMAC2_DCH2INT = record
  4942. private
  4943. function getCHBCIE : TBits_1; inline;
  4944. function getCHBCIF : TBits_1; inline;
  4945. function getCHCCIE : TBits_1; inline;
  4946. function getCHCCIF : TBits_1; inline;
  4947. function getCHDDIE : TBits_1; inline;
  4948. function getCHDDIF : TBits_1; inline;
  4949. function getCHDHIE : TBits_1; inline;
  4950. function getCHDHIF : TBits_1; inline;
  4951. function getCHERIE : TBits_1; inline;
  4952. function getCHERIF : TBits_1; inline;
  4953. function getCHSDIE : TBits_1; inline;
  4954. function getCHSDIF : TBits_1; inline;
  4955. function getCHSHIE : TBits_1; inline;
  4956. function getCHSHIF : TBits_1; inline;
  4957. function getCHTAIE : TBits_1; inline;
  4958. function getCHTAIF : TBits_1; inline;
  4959. function getw : TBits_32; inline;
  4960. procedure setCHBCIE(thebits : TBits_1); inline;
  4961. procedure setCHBCIF(thebits : TBits_1); inline;
  4962. procedure setCHCCIE(thebits : TBits_1); inline;
  4963. procedure setCHCCIF(thebits : TBits_1); inline;
  4964. procedure setCHDDIE(thebits : TBits_1); inline;
  4965. procedure setCHDDIF(thebits : TBits_1); inline;
  4966. procedure setCHDHIE(thebits : TBits_1); inline;
  4967. procedure setCHDHIF(thebits : TBits_1); inline;
  4968. procedure setCHERIE(thebits : TBits_1); inline;
  4969. procedure setCHERIF(thebits : TBits_1); inline;
  4970. procedure setCHSDIE(thebits : TBits_1); inline;
  4971. procedure setCHSDIF(thebits : TBits_1); inline;
  4972. procedure setCHSHIE(thebits : TBits_1); inline;
  4973. procedure setCHSHIF(thebits : TBits_1); inline;
  4974. procedure setCHTAIE(thebits : TBits_1); inline;
  4975. procedure setCHTAIF(thebits : TBits_1); inline;
  4976. procedure setw(thebits : TBits_32); inline;
  4977. public
  4978. procedure clearCHBCIE; inline;
  4979. procedure clearCHBCIF; inline;
  4980. procedure clearCHCCIE; inline;
  4981. procedure clearCHCCIF; inline;
  4982. procedure clearCHDDIE; inline;
  4983. procedure clearCHDDIF; inline;
  4984. procedure clearCHDHIE; inline;
  4985. procedure clearCHDHIF; inline;
  4986. procedure clearCHERIE; inline;
  4987. procedure clearCHERIF; inline;
  4988. procedure clearCHSDIE; inline;
  4989. procedure clearCHSDIF; inline;
  4990. procedure clearCHSHIE; inline;
  4991. procedure clearCHSHIF; inline;
  4992. procedure clearCHTAIE; inline;
  4993. procedure clearCHTAIF; inline;
  4994. procedure setCHBCIE; inline;
  4995. procedure setCHBCIF; inline;
  4996. procedure setCHCCIE; inline;
  4997. procedure setCHCCIF; inline;
  4998. procedure setCHDDIE; inline;
  4999. procedure setCHDDIF; inline;
  5000. procedure setCHDHIE; inline;
  5001. procedure setCHDHIF; inline;
  5002. procedure setCHERIE; inline;
  5003. procedure setCHERIF; inline;
  5004. procedure setCHSDIE; inline;
  5005. procedure setCHSDIF; inline;
  5006. procedure setCHSHIE; inline;
  5007. procedure setCHSHIF; inline;
  5008. procedure setCHTAIE; inline;
  5009. procedure setCHTAIF; inline;
  5010. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  5011. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  5012. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  5013. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  5014. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  5015. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  5016. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  5017. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  5018. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  5019. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  5020. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  5021. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  5022. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  5023. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  5024. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  5025. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  5026. property w : TBits_32 read getw write setw;
  5027. end;
  5028. type
  5029. TDMAC2Registers = record
  5030. DCH2CONbits : TDMAC2_DCH2CON;
  5031. DCH2CON : longWord;
  5032. DCH2CONCLR : longWord;
  5033. DCH2CONSET : longWord;
  5034. DCH2CONINV : longWord;
  5035. DCH2ECONbits : TDMAC2_DCH2ECON;
  5036. DCH2ECON : longWord;
  5037. DCH2ECONCLR : longWord;
  5038. DCH2ECONSET : longWord;
  5039. DCH2ECONINV : longWord;
  5040. DCH2INTbits : TDMAC2_DCH2INT;
  5041. DCH2INT : longWord;
  5042. DCH2INTCLR : longWord;
  5043. DCH2INTSET : longWord;
  5044. DCH2INTINV : longWord;
  5045. DCH2SSA : longWord;
  5046. DCH2SSACLR : longWord;
  5047. DCH2SSASET : longWord;
  5048. DCH2SSAINV : longWord;
  5049. DCH2DSA : longWord;
  5050. DCH2DSACLR : longWord;
  5051. DCH2DSASET : longWord;
  5052. DCH2DSAINV : longWord;
  5053. DCH2SSIZ : longWord;
  5054. DCH2SSIZCLR : longWord;
  5055. DCH2SSIZSET : longWord;
  5056. DCH2SSIZINV : longWord;
  5057. DCH2DSIZ : longWord;
  5058. DCH2DSIZCLR : longWord;
  5059. DCH2DSIZSET : longWord;
  5060. DCH2DSIZINV : longWord;
  5061. DCH2SPTR : longWord;
  5062. DCH2SPTRCLR : longWord;
  5063. DCH2SPTRSET : longWord;
  5064. DCH2SPTRINV : longWord;
  5065. DCH2DPTR : longWord;
  5066. DCH2DPTRCLR : longWord;
  5067. DCH2DPTRSET : longWord;
  5068. DCH2DPTRINV : longWord;
  5069. DCH2CSIZ : longWord;
  5070. DCH2CSIZCLR : longWord;
  5071. DCH2CSIZSET : longWord;
  5072. DCH2CSIZINV : longWord;
  5073. DCH2CPTR : longWord;
  5074. DCH2CPTRCLR : longWord;
  5075. DCH2CPTRSET : longWord;
  5076. DCH2CPTRINV : longWord;
  5077. DCH2DAT : longWord;
  5078. DCH2DATCLR : longWord;
  5079. DCH2DATSET : longWord;
  5080. DCH2DATINV : longWord;
  5081. end;
  5082. TDMAC3_DCH3CON = record
  5083. private
  5084. function getCHAED : TBits_1; inline;
  5085. function getCHAEN : TBits_1; inline;
  5086. function getCHCHN : TBits_1; inline;
  5087. function getCHCHNS : TBits_1; inline;
  5088. function getCHEDET : TBits_1; inline;
  5089. function getCHEN : TBits_1; inline;
  5090. function getCHPRI : TBits_2; inline;
  5091. function getw : TBits_32; inline;
  5092. procedure setCHAED(thebits : TBits_1); inline;
  5093. procedure setCHAEN(thebits : TBits_1); inline;
  5094. procedure setCHCHN(thebits : TBits_1); inline;
  5095. procedure setCHCHNS(thebits : TBits_1); inline;
  5096. procedure setCHEDET(thebits : TBits_1); inline;
  5097. procedure setCHEN(thebits : TBits_1); inline;
  5098. procedure setCHPRI(thebits : TBits_2); inline;
  5099. procedure setw(thebits : TBits_32); inline;
  5100. public
  5101. procedure clearCHAED; inline;
  5102. procedure clearCHAEN; inline;
  5103. procedure clearCHCHN; inline;
  5104. procedure clearCHCHNS; inline;
  5105. procedure clearCHEDET; inline;
  5106. procedure clearCHEN; inline;
  5107. procedure setCHAED; inline;
  5108. procedure setCHAEN; inline;
  5109. procedure setCHCHN; inline;
  5110. procedure setCHCHNS; inline;
  5111. procedure setCHEDET; inline;
  5112. procedure setCHEN; inline;
  5113. property CHAED : TBits_1 read getCHAED write setCHAED;
  5114. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  5115. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  5116. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  5117. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  5118. property CHEN : TBits_1 read getCHEN write setCHEN;
  5119. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  5120. property w : TBits_32 read getw write setw;
  5121. end;
  5122. TDMAC3_DCH3ECON = record
  5123. private
  5124. function getAIRQEN : TBits_1; inline;
  5125. function getCABORT : TBits_1; inline;
  5126. function getCFORCE : TBits_1; inline;
  5127. function getCHAIRQ : TBits_8; inline;
  5128. function getCHSIRQ : TBits_8; inline;
  5129. function getPATEN : TBits_1; inline;
  5130. function getSIRQEN : TBits_1; inline;
  5131. function getw : TBits_32; inline;
  5132. procedure setAIRQEN(thebits : TBits_1); inline;
  5133. procedure setCABORT(thebits : TBits_1); inline;
  5134. procedure setCFORCE(thebits : TBits_1); inline;
  5135. procedure setCHAIRQ(thebits : TBits_8); inline;
  5136. procedure setCHSIRQ(thebits : TBits_8); inline;
  5137. procedure setPATEN(thebits : TBits_1); inline;
  5138. procedure setSIRQEN(thebits : TBits_1); inline;
  5139. procedure setw(thebits : TBits_32); inline;
  5140. public
  5141. procedure clearAIRQEN; inline;
  5142. procedure clearCABORT; inline;
  5143. procedure clearCFORCE; inline;
  5144. procedure clearPATEN; inline;
  5145. procedure clearSIRQEN; inline;
  5146. procedure setAIRQEN; inline;
  5147. procedure setCABORT; inline;
  5148. procedure setCFORCE; inline;
  5149. procedure setPATEN; inline;
  5150. procedure setSIRQEN; inline;
  5151. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  5152. property CABORT : TBits_1 read getCABORT write setCABORT;
  5153. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  5154. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  5155. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  5156. property PATEN : TBits_1 read getPATEN write setPATEN;
  5157. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  5158. property w : TBits_32 read getw write setw;
  5159. end;
  5160. TDMAC3_DCH3INT = record
  5161. private
  5162. function getCHBCIE : TBits_1; inline;
  5163. function getCHBCIF : TBits_1; inline;
  5164. function getCHCCIE : TBits_1; inline;
  5165. function getCHCCIF : TBits_1; inline;
  5166. function getCHDDIE : TBits_1; inline;
  5167. function getCHDDIF : TBits_1; inline;
  5168. function getCHDHIE : TBits_1; inline;
  5169. function getCHDHIF : TBits_1; inline;
  5170. function getCHERIE : TBits_1; inline;
  5171. function getCHERIF : TBits_1; inline;
  5172. function getCHSDIE : TBits_1; inline;
  5173. function getCHSDIF : TBits_1; inline;
  5174. function getCHSHIE : TBits_1; inline;
  5175. function getCHSHIF : TBits_1; inline;
  5176. function getCHTAIE : TBits_1; inline;
  5177. function getCHTAIF : TBits_1; inline;
  5178. function getw : TBits_32; inline;
  5179. procedure setCHBCIE(thebits : TBits_1); inline;
  5180. procedure setCHBCIF(thebits : TBits_1); inline;
  5181. procedure setCHCCIE(thebits : TBits_1); inline;
  5182. procedure setCHCCIF(thebits : TBits_1); inline;
  5183. procedure setCHDDIE(thebits : TBits_1); inline;
  5184. procedure setCHDDIF(thebits : TBits_1); inline;
  5185. procedure setCHDHIE(thebits : TBits_1); inline;
  5186. procedure setCHDHIF(thebits : TBits_1); inline;
  5187. procedure setCHERIE(thebits : TBits_1); inline;
  5188. procedure setCHERIF(thebits : TBits_1); inline;
  5189. procedure setCHSDIE(thebits : TBits_1); inline;
  5190. procedure setCHSDIF(thebits : TBits_1); inline;
  5191. procedure setCHSHIE(thebits : TBits_1); inline;
  5192. procedure setCHSHIF(thebits : TBits_1); inline;
  5193. procedure setCHTAIE(thebits : TBits_1); inline;
  5194. procedure setCHTAIF(thebits : TBits_1); inline;
  5195. procedure setw(thebits : TBits_32); inline;
  5196. public
  5197. procedure clearCHBCIE; inline;
  5198. procedure clearCHBCIF; inline;
  5199. procedure clearCHCCIE; inline;
  5200. procedure clearCHCCIF; inline;
  5201. procedure clearCHDDIE; inline;
  5202. procedure clearCHDDIF; inline;
  5203. procedure clearCHDHIE; inline;
  5204. procedure clearCHDHIF; inline;
  5205. procedure clearCHERIE; inline;
  5206. procedure clearCHERIF; inline;
  5207. procedure clearCHSDIE; inline;
  5208. procedure clearCHSDIF; inline;
  5209. procedure clearCHSHIE; inline;
  5210. procedure clearCHSHIF; inline;
  5211. procedure clearCHTAIE; inline;
  5212. procedure clearCHTAIF; inline;
  5213. procedure setCHBCIE; inline;
  5214. procedure setCHBCIF; inline;
  5215. procedure setCHCCIE; inline;
  5216. procedure setCHCCIF; inline;
  5217. procedure setCHDDIE; inline;
  5218. procedure setCHDDIF; inline;
  5219. procedure setCHDHIE; inline;
  5220. procedure setCHDHIF; inline;
  5221. procedure setCHERIE; inline;
  5222. procedure setCHERIF; inline;
  5223. procedure setCHSDIE; inline;
  5224. procedure setCHSDIF; inline;
  5225. procedure setCHSHIE; inline;
  5226. procedure setCHSHIF; inline;
  5227. procedure setCHTAIE; inline;
  5228. procedure setCHTAIF; inline;
  5229. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  5230. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  5231. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  5232. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  5233. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  5234. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  5235. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  5236. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  5237. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  5238. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  5239. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  5240. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  5241. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  5242. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  5243. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  5244. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  5245. property w : TBits_32 read getw write setw;
  5246. end;
  5247. type
  5248. TDMAC3Registers = record
  5249. DCH3CONbits : TDMAC3_DCH3CON;
  5250. DCH3CON : longWord;
  5251. DCH3CONCLR : longWord;
  5252. DCH3CONSET : longWord;
  5253. DCH3CONINV : longWord;
  5254. DCH3ECONbits : TDMAC3_DCH3ECON;
  5255. DCH3ECON : longWord;
  5256. DCH3ECONCLR : longWord;
  5257. DCH3ECONSET : longWord;
  5258. DCH3ECONINV : longWord;
  5259. DCH3INTbits : TDMAC3_DCH3INT;
  5260. DCH3INT : longWord;
  5261. DCH3INTCLR : longWord;
  5262. DCH3INTSET : longWord;
  5263. DCH3INTINV : longWord;
  5264. DCH3SSA : longWord;
  5265. DCH3SSACLR : longWord;
  5266. DCH3SSASET : longWord;
  5267. DCH3SSAINV : longWord;
  5268. DCH3DSA : longWord;
  5269. DCH3DSACLR : longWord;
  5270. DCH3DSASET : longWord;
  5271. DCH3DSAINV : longWord;
  5272. DCH3SSIZ : longWord;
  5273. DCH3SSIZCLR : longWord;
  5274. DCH3SSIZSET : longWord;
  5275. DCH3SSIZINV : longWord;
  5276. DCH3DSIZ : longWord;
  5277. DCH3DSIZCLR : longWord;
  5278. DCH3DSIZSET : longWord;
  5279. DCH3DSIZINV : longWord;
  5280. DCH3SPTR : longWord;
  5281. DCH3SPTRCLR : longWord;
  5282. DCH3SPTRSET : longWord;
  5283. DCH3SPTRINV : longWord;
  5284. DCH3DPTR : longWord;
  5285. DCH3DPTRCLR : longWord;
  5286. DCH3DPTRSET : longWord;
  5287. DCH3DPTRINV : longWord;
  5288. DCH3CSIZ : longWord;
  5289. DCH3CSIZCLR : longWord;
  5290. DCH3CSIZSET : longWord;
  5291. DCH3CSIZINV : longWord;
  5292. DCH3CPTR : longWord;
  5293. DCH3CPTRCLR : longWord;
  5294. DCH3CPTRSET : longWord;
  5295. DCH3CPTRINV : longWord;
  5296. DCH3DAT : longWord;
  5297. DCH3DATCLR : longWord;
  5298. DCH3DATSET : longWord;
  5299. DCH3DATINV : longWord;
  5300. end;
  5301. TPCACHE_CHECON = record
  5302. private
  5303. function getCHECOH : TBits_1; inline;
  5304. function getDCSZ : TBits_2; inline;
  5305. function getPFMWS : TBits_3; inline;
  5306. function getPREFEN : TBits_2; inline;
  5307. function getw : TBits_32; inline;
  5308. procedure setCHECOH(thebits : TBits_1); inline;
  5309. procedure setDCSZ(thebits : TBits_2); inline;
  5310. procedure setPFMWS(thebits : TBits_3); inline;
  5311. procedure setPREFEN(thebits : TBits_2); inline;
  5312. procedure setw(thebits : TBits_32); inline;
  5313. public
  5314. procedure clearCHECOH; inline;
  5315. procedure setCHECOH; inline;
  5316. property CHECOH : TBits_1 read getCHECOH write setCHECOH;
  5317. property DCSZ : TBits_2 read getDCSZ write setDCSZ;
  5318. property PFMWS : TBits_3 read getPFMWS write setPFMWS;
  5319. property PREFEN : TBits_2 read getPREFEN write setPREFEN;
  5320. property w : TBits_32 read getw write setw;
  5321. end;
  5322. TPCACHE_CHETAG = record
  5323. private
  5324. function getLLOCK : TBits_1; inline;
  5325. function getLTAG : TBits_20; inline;
  5326. function getLTAGBOOT : TBits_1; inline;
  5327. function getLTYPE : TBits_1; inline;
  5328. function getLVALID : TBits_1; inline;
  5329. function getw : TBits_32; inline;
  5330. procedure setLLOCK(thebits : TBits_1); inline;
  5331. procedure setLTAG(thebits : TBits_20); inline;
  5332. procedure setLTAGBOOT(thebits : TBits_1); inline;
  5333. procedure setLTYPE(thebits : TBits_1); inline;
  5334. procedure setLVALID(thebits : TBits_1); inline;
  5335. procedure setw(thebits : TBits_32); inline;
  5336. public
  5337. procedure clearLLOCK; inline;
  5338. procedure clearLTAGBOOT; inline;
  5339. procedure clearLTYPE; inline;
  5340. procedure clearLVALID; inline;
  5341. procedure setLLOCK; inline;
  5342. procedure setLTAGBOOT; inline;
  5343. procedure setLTYPE; inline;
  5344. procedure setLVALID; inline;
  5345. property LLOCK : TBits_1 read getLLOCK write setLLOCK;
  5346. property LTAG : TBits_20 read getLTAG write setLTAG;
  5347. property LTAGBOOT : TBits_1 read getLTAGBOOT write setLTAGBOOT;
  5348. property LTYPE : TBits_1 read getLTYPE write setLTYPE;
  5349. property LVALID : TBits_1 read getLVALID write setLVALID;
  5350. property w : TBits_32 read getw write setw;
  5351. end;
  5352. type
  5353. TPCACHERegisters = record
  5354. CHECONbits : TPCACHE_CHECON;
  5355. CHECON : longWord;
  5356. CHECONCLR : longWord;
  5357. CHECONSET : longWord;
  5358. CHECONINV : longWord;
  5359. CHEACC : longWord;
  5360. CHEACCCLR : longWord;
  5361. CHEACCSET : longWord;
  5362. CHEACCINV : longWord;
  5363. CHETAGbits : TPCACHE_CHETAG;
  5364. CHETAG : longWord;
  5365. CHETAGCLR : longWord;
  5366. CHETAGSET : longWord;
  5367. CHETAGINV : longWord;
  5368. CHEMSK : longWord;
  5369. CHEMSKCLR : longWord;
  5370. CHEMSKSET : longWord;
  5371. CHEMSKINV : longWord;
  5372. CHEW0 : longWord;
  5373. CHEW1 : longWord;
  5374. CHEW2 : longWord;
  5375. CHEW3 : longWord;
  5376. CHELRU : longWord;
  5377. CHEHIT : longWord;
  5378. CHEMIS : longWord;
  5379. CHEPFABT : longWord;
  5380. end;
  5381. TPORTA_TRISA = record
  5382. private
  5383. function getTRISA0 : TBits_1; inline;
  5384. function getTRISA1 : TBits_1; inline;
  5385. function getTRISA10 : TBits_1; inline;
  5386. function getTRISA14 : TBits_1; inline;
  5387. function getTRISA15 : TBits_1; inline;
  5388. function getTRISA2 : TBits_1; inline;
  5389. function getTRISA3 : TBits_1; inline;
  5390. function getTRISA4 : TBits_1; inline;
  5391. function getTRISA5 : TBits_1; inline;
  5392. function getTRISA6 : TBits_1; inline;
  5393. function getTRISA7 : TBits_1; inline;
  5394. function getTRISA9 : TBits_1; inline;
  5395. function getw : TBits_32; inline;
  5396. procedure setTRISA0(thebits : TBits_1); inline;
  5397. procedure setTRISA1(thebits : TBits_1); inline;
  5398. procedure setTRISA10(thebits : TBits_1); inline;
  5399. procedure setTRISA14(thebits : TBits_1); inline;
  5400. procedure setTRISA15(thebits : TBits_1); inline;
  5401. procedure setTRISA2(thebits : TBits_1); inline;
  5402. procedure setTRISA3(thebits : TBits_1); inline;
  5403. procedure setTRISA4(thebits : TBits_1); inline;
  5404. procedure setTRISA5(thebits : TBits_1); inline;
  5405. procedure setTRISA6(thebits : TBits_1); inline;
  5406. procedure setTRISA7(thebits : TBits_1); inline;
  5407. procedure setTRISA9(thebits : TBits_1); inline;
  5408. procedure setw(thebits : TBits_32); inline;
  5409. public
  5410. procedure clearTRISA0; inline;
  5411. procedure clearTRISA10; inline;
  5412. procedure clearTRISA14; inline;
  5413. procedure clearTRISA15; inline;
  5414. procedure clearTRISA1; inline;
  5415. procedure clearTRISA2; inline;
  5416. procedure clearTRISA3; inline;
  5417. procedure clearTRISA4; inline;
  5418. procedure clearTRISA5; inline;
  5419. procedure clearTRISA6; inline;
  5420. procedure clearTRISA7; inline;
  5421. procedure clearTRISA9; inline;
  5422. procedure setTRISA0; inline;
  5423. procedure setTRISA10; inline;
  5424. procedure setTRISA14; inline;
  5425. procedure setTRISA15; inline;
  5426. procedure setTRISA1; inline;
  5427. procedure setTRISA2; inline;
  5428. procedure setTRISA3; inline;
  5429. procedure setTRISA4; inline;
  5430. procedure setTRISA5; inline;
  5431. procedure setTRISA6; inline;
  5432. procedure setTRISA7; inline;
  5433. procedure setTRISA9; inline;
  5434. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  5435. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  5436. property TRISA10 : TBits_1 read getTRISA10 write setTRISA10;
  5437. property TRISA14 : TBits_1 read getTRISA14 write setTRISA14;
  5438. property TRISA15 : TBits_1 read getTRISA15 write setTRISA15;
  5439. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  5440. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  5441. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  5442. property TRISA5 : TBits_1 read getTRISA5 write setTRISA5;
  5443. property TRISA6 : TBits_1 read getTRISA6 write setTRISA6;
  5444. property TRISA7 : TBits_1 read getTRISA7 write setTRISA7;
  5445. property TRISA9 : TBits_1 read getTRISA9 write setTRISA9;
  5446. property w : TBits_32 read getw write setw;
  5447. end;
  5448. TPORTA_PORTA = record
  5449. private
  5450. function getRA0 : TBits_1; inline;
  5451. function getRA1 : TBits_1; inline;
  5452. function getRA10 : TBits_1; inline;
  5453. function getRA14 : TBits_1; inline;
  5454. function getRA15 : TBits_1; inline;
  5455. function getRA2 : TBits_1; inline;
  5456. function getRA3 : TBits_1; inline;
  5457. function getRA4 : TBits_1; inline;
  5458. function getRA5 : TBits_1; inline;
  5459. function getRA6 : TBits_1; inline;
  5460. function getRA7 : TBits_1; inline;
  5461. function getRA9 : TBits_1; inline;
  5462. function getw : TBits_32; inline;
  5463. procedure setRA0(thebits : TBits_1); inline;
  5464. procedure setRA1(thebits : TBits_1); inline;
  5465. procedure setRA10(thebits : TBits_1); inline;
  5466. procedure setRA14(thebits : TBits_1); inline;
  5467. procedure setRA15(thebits : TBits_1); inline;
  5468. procedure setRA2(thebits : TBits_1); inline;
  5469. procedure setRA3(thebits : TBits_1); inline;
  5470. procedure setRA4(thebits : TBits_1); inline;
  5471. procedure setRA5(thebits : TBits_1); inline;
  5472. procedure setRA6(thebits : TBits_1); inline;
  5473. procedure setRA7(thebits : TBits_1); inline;
  5474. procedure setRA9(thebits : TBits_1); inline;
  5475. procedure setw(thebits : TBits_32); inline;
  5476. public
  5477. procedure clearRA0; inline;
  5478. procedure clearRA10; inline;
  5479. procedure clearRA14; inline;
  5480. procedure clearRA15; inline;
  5481. procedure clearRA1; inline;
  5482. procedure clearRA2; inline;
  5483. procedure clearRA3; inline;
  5484. procedure clearRA4; inline;
  5485. procedure clearRA5; inline;
  5486. procedure clearRA6; inline;
  5487. procedure clearRA7; inline;
  5488. procedure clearRA9; inline;
  5489. procedure setRA0; inline;
  5490. procedure setRA10; inline;
  5491. procedure setRA14; inline;
  5492. procedure setRA15; inline;
  5493. procedure setRA1; inline;
  5494. procedure setRA2; inline;
  5495. procedure setRA3; inline;
  5496. procedure setRA4; inline;
  5497. procedure setRA5; inline;
  5498. procedure setRA6; inline;
  5499. procedure setRA7; inline;
  5500. procedure setRA9; inline;
  5501. property RA0 : TBits_1 read getRA0 write setRA0;
  5502. property RA1 : TBits_1 read getRA1 write setRA1;
  5503. property RA10 : TBits_1 read getRA10 write setRA10;
  5504. property RA14 : TBits_1 read getRA14 write setRA14;
  5505. property RA15 : TBits_1 read getRA15 write setRA15;
  5506. property RA2 : TBits_1 read getRA2 write setRA2;
  5507. property RA3 : TBits_1 read getRA3 write setRA3;
  5508. property RA4 : TBits_1 read getRA4 write setRA4;
  5509. property RA5 : TBits_1 read getRA5 write setRA5;
  5510. property RA6 : TBits_1 read getRA6 write setRA6;
  5511. property RA7 : TBits_1 read getRA7 write setRA7;
  5512. property RA9 : TBits_1 read getRA9 write setRA9;
  5513. property w : TBits_32 read getw write setw;
  5514. end;
  5515. 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);
  5516. TPortA_bitset = set of TPortA_bits;
  5517. TPORTA_LATA = record
  5518. private
  5519. function getLATA0 : TBits_1; inline;
  5520. function getLATA1 : TBits_1; inline;
  5521. function getLATA10 : TBits_1; inline;
  5522. function getLATA14 : TBits_1; inline;
  5523. function getLATA15 : TBits_1; inline;
  5524. function getLATA2 : TBits_1; inline;
  5525. function getLATA3 : TBits_1; inline;
  5526. function getLATA4 : TBits_1; inline;
  5527. function getLATA5 : TBits_1; inline;
  5528. function getLATA6 : TBits_1; inline;
  5529. function getLATA7 : TBits_1; inline;
  5530. function getLATA9 : TBits_1; inline;
  5531. function getw : TBits_32; inline;
  5532. procedure setLATA0(thebits : TBits_1); inline;
  5533. procedure setLATA1(thebits : TBits_1); inline;
  5534. procedure setLATA10(thebits : TBits_1); inline;
  5535. procedure setLATA14(thebits : TBits_1); inline;
  5536. procedure setLATA15(thebits : TBits_1); inline;
  5537. procedure setLATA2(thebits : TBits_1); inline;
  5538. procedure setLATA3(thebits : TBits_1); inline;
  5539. procedure setLATA4(thebits : TBits_1); inline;
  5540. procedure setLATA5(thebits : TBits_1); inline;
  5541. procedure setLATA6(thebits : TBits_1); inline;
  5542. procedure setLATA7(thebits : TBits_1); inline;
  5543. procedure setLATA9(thebits : TBits_1); inline;
  5544. procedure setw(thebits : TBits_32); inline;
  5545. public
  5546. procedure clearLATA0; inline;
  5547. procedure clearLATA10; inline;
  5548. procedure clearLATA14; inline;
  5549. procedure clearLATA15; inline;
  5550. procedure clearLATA1; inline;
  5551. procedure clearLATA2; inline;
  5552. procedure clearLATA3; inline;
  5553. procedure clearLATA4; inline;
  5554. procedure clearLATA5; inline;
  5555. procedure clearLATA6; inline;
  5556. procedure clearLATA7; inline;
  5557. procedure clearLATA9; inline;
  5558. procedure setLATA0; inline;
  5559. procedure setLATA10; inline;
  5560. procedure setLATA14; inline;
  5561. procedure setLATA15; inline;
  5562. procedure setLATA1; inline;
  5563. procedure setLATA2; inline;
  5564. procedure setLATA3; inline;
  5565. procedure setLATA4; inline;
  5566. procedure setLATA5; inline;
  5567. procedure setLATA6; inline;
  5568. procedure setLATA7; inline;
  5569. procedure setLATA9; inline;
  5570. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  5571. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  5572. property LATA10 : TBits_1 read getLATA10 write setLATA10;
  5573. property LATA14 : TBits_1 read getLATA14 write setLATA14;
  5574. property LATA15 : TBits_1 read getLATA15 write setLATA15;
  5575. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  5576. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  5577. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  5578. property LATA5 : TBits_1 read getLATA5 write setLATA5;
  5579. property LATA6 : TBits_1 read getLATA6 write setLATA6;
  5580. property LATA7 : TBits_1 read getLATA7 write setLATA7;
  5581. property LATA9 : TBits_1 read getLATA9 write setLATA9;
  5582. property w : TBits_32 read getw write setw;
  5583. end;
  5584. TPORTA_ODCA = record
  5585. private
  5586. function getODCA0 : TBits_1; inline;
  5587. function getODCA1 : TBits_1; inline;
  5588. function getODCA10 : TBits_1; inline;
  5589. function getODCA14 : TBits_1; inline;
  5590. function getODCA15 : TBits_1; inline;
  5591. function getODCA2 : TBits_1; inline;
  5592. function getODCA3 : TBits_1; inline;
  5593. function getODCA4 : TBits_1; inline;
  5594. function getODCA5 : TBits_1; inline;
  5595. function getODCA6 : TBits_1; inline;
  5596. function getODCA7 : TBits_1; inline;
  5597. function getODCA9 : TBits_1; inline;
  5598. function getw : TBits_32; inline;
  5599. procedure setODCA0(thebits : TBits_1); inline;
  5600. procedure setODCA1(thebits : TBits_1); inline;
  5601. procedure setODCA10(thebits : TBits_1); inline;
  5602. procedure setODCA14(thebits : TBits_1); inline;
  5603. procedure setODCA15(thebits : TBits_1); inline;
  5604. procedure setODCA2(thebits : TBits_1); inline;
  5605. procedure setODCA3(thebits : TBits_1); inline;
  5606. procedure setODCA4(thebits : TBits_1); inline;
  5607. procedure setODCA5(thebits : TBits_1); inline;
  5608. procedure setODCA6(thebits : TBits_1); inline;
  5609. procedure setODCA7(thebits : TBits_1); inline;
  5610. procedure setODCA9(thebits : TBits_1); inline;
  5611. procedure setw(thebits : TBits_32); inline;
  5612. public
  5613. procedure clearODCA0; inline;
  5614. procedure clearODCA10; inline;
  5615. procedure clearODCA14; inline;
  5616. procedure clearODCA15; inline;
  5617. procedure clearODCA1; inline;
  5618. procedure clearODCA2; inline;
  5619. procedure clearODCA3; inline;
  5620. procedure clearODCA4; inline;
  5621. procedure clearODCA5; inline;
  5622. procedure clearODCA6; inline;
  5623. procedure clearODCA7; inline;
  5624. procedure clearODCA9; inline;
  5625. procedure setODCA0; inline;
  5626. procedure setODCA10; inline;
  5627. procedure setODCA14; inline;
  5628. procedure setODCA15; inline;
  5629. procedure setODCA1; inline;
  5630. procedure setODCA2; inline;
  5631. procedure setODCA3; inline;
  5632. procedure setODCA4; inline;
  5633. procedure setODCA5; inline;
  5634. procedure setODCA6; inline;
  5635. procedure setODCA7; inline;
  5636. procedure setODCA9; inline;
  5637. property ODCA0 : TBits_1 read getODCA0 write setODCA0;
  5638. property ODCA1 : TBits_1 read getODCA1 write setODCA1;
  5639. property ODCA10 : TBits_1 read getODCA10 write setODCA10;
  5640. property ODCA14 : TBits_1 read getODCA14 write setODCA14;
  5641. property ODCA15 : TBits_1 read getODCA15 write setODCA15;
  5642. property ODCA2 : TBits_1 read getODCA2 write setODCA2;
  5643. property ODCA3 : TBits_1 read getODCA3 write setODCA3;
  5644. property ODCA4 : TBits_1 read getODCA4 write setODCA4;
  5645. property ODCA5 : TBits_1 read getODCA5 write setODCA5;
  5646. property ODCA6 : TBits_1 read getODCA6 write setODCA6;
  5647. property ODCA7 : TBits_1 read getODCA7 write setODCA7;
  5648. property ODCA9 : TBits_1 read getODCA9 write setODCA9;
  5649. property w : TBits_32 read getw write setw;
  5650. end;
  5651. type
  5652. TPORTARegisters = record
  5653. TRISAbits : TPORTA_TRISA;
  5654. TRISA : longWord;
  5655. TRISACLR : longWord;
  5656. TRISASET : longWord;
  5657. TRISAINV : longWord;
  5658. PORTAbits : TPORTA_PORTA;
  5659. PORTA : longWord;
  5660. PORTACLR : longWord;
  5661. PORTASET : longWord;
  5662. PORTAINV : longWord;
  5663. LATAbits : TPORTA_LATA;
  5664. LATA : longWord;
  5665. LATACLR : longWord;
  5666. LATASET : longWord;
  5667. LATAINV : longWord;
  5668. ODCAbits : TPORTA_ODCA;
  5669. ODCA : longWord;
  5670. ODCACLR : longWord;
  5671. ODCASET : longWord;
  5672. ODCAINV : longWord;
  5673. end;
  5674. TPORTB_TRISB = record
  5675. private
  5676. function getTRISB0 : TBits_1; inline;
  5677. function getTRISB1 : TBits_1; inline;
  5678. function getTRISB10 : TBits_1; inline;
  5679. function getTRISB11 : TBits_1; inline;
  5680. function getTRISB12 : TBits_1; inline;
  5681. function getTRISB13 : TBits_1; inline;
  5682. function getTRISB14 : TBits_1; inline;
  5683. function getTRISB15 : TBits_1; inline;
  5684. function getTRISB2 : TBits_1; inline;
  5685. function getTRISB3 : TBits_1; inline;
  5686. function getTRISB4 : TBits_1; inline;
  5687. function getTRISB5 : TBits_1; inline;
  5688. function getTRISB6 : TBits_1; inline;
  5689. function getTRISB7 : TBits_1; inline;
  5690. function getTRISB8 : TBits_1; inline;
  5691. function getTRISB9 : TBits_1; inline;
  5692. function getw : TBits_32; inline;
  5693. procedure setTRISB0(thebits : TBits_1); inline;
  5694. procedure setTRISB1(thebits : TBits_1); inline;
  5695. procedure setTRISB10(thebits : TBits_1); inline;
  5696. procedure setTRISB11(thebits : TBits_1); inline;
  5697. procedure setTRISB12(thebits : TBits_1); inline;
  5698. procedure setTRISB13(thebits : TBits_1); inline;
  5699. procedure setTRISB14(thebits : TBits_1); inline;
  5700. procedure setTRISB15(thebits : TBits_1); inline;
  5701. procedure setTRISB2(thebits : TBits_1); inline;
  5702. procedure setTRISB3(thebits : TBits_1); inline;
  5703. procedure setTRISB4(thebits : TBits_1); inline;
  5704. procedure setTRISB5(thebits : TBits_1); inline;
  5705. procedure setTRISB6(thebits : TBits_1); inline;
  5706. procedure setTRISB7(thebits : TBits_1); inline;
  5707. procedure setTRISB8(thebits : TBits_1); inline;
  5708. procedure setTRISB9(thebits : TBits_1); inline;
  5709. procedure setw(thebits : TBits_32); inline;
  5710. public
  5711. procedure clearTRISB0; inline;
  5712. procedure clearTRISB10; inline;
  5713. procedure clearTRISB11; inline;
  5714. procedure clearTRISB12; inline;
  5715. procedure clearTRISB13; inline;
  5716. procedure clearTRISB14; inline;
  5717. procedure clearTRISB15; inline;
  5718. procedure clearTRISB1; inline;
  5719. procedure clearTRISB2; inline;
  5720. procedure clearTRISB3; inline;
  5721. procedure clearTRISB4; inline;
  5722. procedure clearTRISB5; inline;
  5723. procedure clearTRISB6; inline;
  5724. procedure clearTRISB7; inline;
  5725. procedure clearTRISB8; inline;
  5726. procedure clearTRISB9; inline;
  5727. procedure setTRISB0; inline;
  5728. procedure setTRISB10; inline;
  5729. procedure setTRISB11; inline;
  5730. procedure setTRISB12; inline;
  5731. procedure setTRISB13; inline;
  5732. procedure setTRISB14; inline;
  5733. procedure setTRISB15; inline;
  5734. procedure setTRISB1; inline;
  5735. procedure setTRISB2; inline;
  5736. procedure setTRISB3; inline;
  5737. procedure setTRISB4; inline;
  5738. procedure setTRISB5; inline;
  5739. procedure setTRISB6; inline;
  5740. procedure setTRISB7; inline;
  5741. procedure setTRISB8; inline;
  5742. procedure setTRISB9; inline;
  5743. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  5744. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  5745. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  5746. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  5747. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  5748. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  5749. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  5750. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  5751. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  5752. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  5753. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  5754. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  5755. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  5756. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  5757. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  5758. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  5759. property w : TBits_32 read getw write setw;
  5760. end;
  5761. TPORTB_PORTB = record
  5762. private
  5763. function getRB0 : TBits_1; inline;
  5764. function getRB1 : TBits_1; inline;
  5765. function getRB10 : TBits_1; inline;
  5766. function getRB11 : TBits_1; inline;
  5767. function getRB12 : TBits_1; inline;
  5768. function getRB13 : TBits_1; inline;
  5769. function getRB14 : TBits_1; inline;
  5770. function getRB15 : TBits_1; inline;
  5771. function getRB2 : TBits_1; inline;
  5772. function getRB3 : TBits_1; inline;
  5773. function getRB4 : TBits_1; inline;
  5774. function getRB5 : TBits_1; inline;
  5775. function getRB6 : TBits_1; inline;
  5776. function getRB7 : TBits_1; inline;
  5777. function getRB8 : TBits_1; inline;
  5778. function getRB9 : TBits_1; inline;
  5779. function getw : TBits_32; inline;
  5780. procedure setRB0(thebits : TBits_1); inline;
  5781. procedure setRB1(thebits : TBits_1); inline;
  5782. procedure setRB10(thebits : TBits_1); inline;
  5783. procedure setRB11(thebits : TBits_1); inline;
  5784. procedure setRB12(thebits : TBits_1); inline;
  5785. procedure setRB13(thebits : TBits_1); inline;
  5786. procedure setRB14(thebits : TBits_1); inline;
  5787. procedure setRB15(thebits : TBits_1); inline;
  5788. procedure setRB2(thebits : TBits_1); inline;
  5789. procedure setRB3(thebits : TBits_1); inline;
  5790. procedure setRB4(thebits : TBits_1); inline;
  5791. procedure setRB5(thebits : TBits_1); inline;
  5792. procedure setRB6(thebits : TBits_1); inline;
  5793. procedure setRB7(thebits : TBits_1); inline;
  5794. procedure setRB8(thebits : TBits_1); inline;
  5795. procedure setRB9(thebits : TBits_1); inline;
  5796. procedure setw(thebits : TBits_32); inline;
  5797. public
  5798. procedure clearRB0; inline;
  5799. procedure clearRB10; inline;
  5800. procedure clearRB11; inline;
  5801. procedure clearRB12; inline;
  5802. procedure clearRB13; inline;
  5803. procedure clearRB14; inline;
  5804. procedure clearRB15; inline;
  5805. procedure clearRB1; inline;
  5806. procedure clearRB2; inline;
  5807. procedure clearRB3; inline;
  5808. procedure clearRB4; inline;
  5809. procedure clearRB5; inline;
  5810. procedure clearRB6; inline;
  5811. procedure clearRB7; inline;
  5812. procedure clearRB8; inline;
  5813. procedure clearRB9; inline;
  5814. procedure setRB0; inline;
  5815. procedure setRB10; inline;
  5816. procedure setRB11; inline;
  5817. procedure setRB12; inline;
  5818. procedure setRB13; inline;
  5819. procedure setRB14; inline;
  5820. procedure setRB15; inline;
  5821. procedure setRB1; inline;
  5822. procedure setRB2; inline;
  5823. procedure setRB3; inline;
  5824. procedure setRB4; inline;
  5825. procedure setRB5; inline;
  5826. procedure setRB6; inline;
  5827. procedure setRB7; inline;
  5828. procedure setRB8; inline;
  5829. procedure setRB9; inline;
  5830. property RB0 : TBits_1 read getRB0 write setRB0;
  5831. property RB1 : TBits_1 read getRB1 write setRB1;
  5832. property RB10 : TBits_1 read getRB10 write setRB10;
  5833. property RB11 : TBits_1 read getRB11 write setRB11;
  5834. property RB12 : TBits_1 read getRB12 write setRB12;
  5835. property RB13 : TBits_1 read getRB13 write setRB13;
  5836. property RB14 : TBits_1 read getRB14 write setRB14;
  5837. property RB15 : TBits_1 read getRB15 write setRB15;
  5838. property RB2 : TBits_1 read getRB2 write setRB2;
  5839. property RB3 : TBits_1 read getRB3 write setRB3;
  5840. property RB4 : TBits_1 read getRB4 write setRB4;
  5841. property RB5 : TBits_1 read getRB5 write setRB5;
  5842. property RB6 : TBits_1 read getRB6 write setRB6;
  5843. property RB7 : TBits_1 read getRB7 write setRB7;
  5844. property RB8 : TBits_1 read getRB8 write setRB8;
  5845. property RB9 : TBits_1 read getRB9 write setRB9;
  5846. property w : TBits_32 read getw write setw;
  5847. end;
  5848. 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);
  5849. TPortB_bitset = set of TPortB_bits;
  5850. TPORTB_LATB = record
  5851. private
  5852. function getLATB0 : TBits_1; inline;
  5853. function getLATB1 : TBits_1; inline;
  5854. function getLATB10 : TBits_1; inline;
  5855. function getLATB11 : TBits_1; inline;
  5856. function getLATB12 : TBits_1; inline;
  5857. function getLATB13 : TBits_1; inline;
  5858. function getLATB14 : TBits_1; inline;
  5859. function getLATB15 : TBits_1; inline;
  5860. function getLATB2 : TBits_1; inline;
  5861. function getLATB3 : TBits_1; inline;
  5862. function getLATB4 : TBits_1; inline;
  5863. function getLATB5 : TBits_1; inline;
  5864. function getLATB6 : TBits_1; inline;
  5865. function getLATB7 : TBits_1; inline;
  5866. function getLATB8 : TBits_1; inline;
  5867. function getLATB9 : TBits_1; inline;
  5868. function getw : TBits_32; inline;
  5869. procedure setLATB0(thebits : TBits_1); inline;
  5870. procedure setLATB1(thebits : TBits_1); inline;
  5871. procedure setLATB10(thebits : TBits_1); inline;
  5872. procedure setLATB11(thebits : TBits_1); inline;
  5873. procedure setLATB12(thebits : TBits_1); inline;
  5874. procedure setLATB13(thebits : TBits_1); inline;
  5875. procedure setLATB14(thebits : TBits_1); inline;
  5876. procedure setLATB15(thebits : TBits_1); inline;
  5877. procedure setLATB2(thebits : TBits_1); inline;
  5878. procedure setLATB3(thebits : TBits_1); inline;
  5879. procedure setLATB4(thebits : TBits_1); inline;
  5880. procedure setLATB5(thebits : TBits_1); inline;
  5881. procedure setLATB6(thebits : TBits_1); inline;
  5882. procedure setLATB7(thebits : TBits_1); inline;
  5883. procedure setLATB8(thebits : TBits_1); inline;
  5884. procedure setLATB9(thebits : TBits_1); inline;
  5885. procedure setw(thebits : TBits_32); inline;
  5886. public
  5887. procedure clearLATB0; inline;
  5888. procedure clearLATB10; inline;
  5889. procedure clearLATB11; inline;
  5890. procedure clearLATB12; inline;
  5891. procedure clearLATB13; inline;
  5892. procedure clearLATB14; inline;
  5893. procedure clearLATB15; inline;
  5894. procedure clearLATB1; inline;
  5895. procedure clearLATB2; inline;
  5896. procedure clearLATB3; inline;
  5897. procedure clearLATB4; inline;
  5898. procedure clearLATB5; inline;
  5899. procedure clearLATB6; inline;
  5900. procedure clearLATB7; inline;
  5901. procedure clearLATB8; inline;
  5902. procedure clearLATB9; inline;
  5903. procedure setLATB0; inline;
  5904. procedure setLATB10; inline;
  5905. procedure setLATB11; inline;
  5906. procedure setLATB12; inline;
  5907. procedure setLATB13; inline;
  5908. procedure setLATB14; inline;
  5909. procedure setLATB15; inline;
  5910. procedure setLATB1; inline;
  5911. procedure setLATB2; inline;
  5912. procedure setLATB3; inline;
  5913. procedure setLATB4; inline;
  5914. procedure setLATB5; inline;
  5915. procedure setLATB6; inline;
  5916. procedure setLATB7; inline;
  5917. procedure setLATB8; inline;
  5918. procedure setLATB9; inline;
  5919. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  5920. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  5921. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  5922. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  5923. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  5924. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  5925. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  5926. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  5927. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  5928. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  5929. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  5930. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  5931. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  5932. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  5933. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  5934. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  5935. property w : TBits_32 read getw write setw;
  5936. end;
  5937. TPORTB_ODCB = record
  5938. private
  5939. function getODCB0 : TBits_1; inline;
  5940. function getODCB1 : TBits_1; inline;
  5941. function getODCB10 : TBits_1; inline;
  5942. function getODCB11 : TBits_1; inline;
  5943. function getODCB12 : TBits_1; inline;
  5944. function getODCB13 : TBits_1; inline;
  5945. function getODCB14 : TBits_1; inline;
  5946. function getODCB15 : TBits_1; inline;
  5947. function getODCB2 : TBits_1; inline;
  5948. function getODCB3 : TBits_1; inline;
  5949. function getODCB4 : TBits_1; inline;
  5950. function getODCB5 : TBits_1; inline;
  5951. function getODCB6 : TBits_1; inline;
  5952. function getODCB7 : TBits_1; inline;
  5953. function getODCB8 : TBits_1; inline;
  5954. function getODCB9 : TBits_1; inline;
  5955. function getw : TBits_32; inline;
  5956. procedure setODCB0(thebits : TBits_1); inline;
  5957. procedure setODCB1(thebits : TBits_1); inline;
  5958. procedure setODCB10(thebits : TBits_1); inline;
  5959. procedure setODCB11(thebits : TBits_1); inline;
  5960. procedure setODCB12(thebits : TBits_1); inline;
  5961. procedure setODCB13(thebits : TBits_1); inline;
  5962. procedure setODCB14(thebits : TBits_1); inline;
  5963. procedure setODCB15(thebits : TBits_1); inline;
  5964. procedure setODCB2(thebits : TBits_1); inline;
  5965. procedure setODCB3(thebits : TBits_1); inline;
  5966. procedure setODCB4(thebits : TBits_1); inline;
  5967. procedure setODCB5(thebits : TBits_1); inline;
  5968. procedure setODCB6(thebits : TBits_1); inline;
  5969. procedure setODCB7(thebits : TBits_1); inline;
  5970. procedure setODCB8(thebits : TBits_1); inline;
  5971. procedure setODCB9(thebits : TBits_1); inline;
  5972. procedure setw(thebits : TBits_32); inline;
  5973. public
  5974. procedure clearODCB0; inline;
  5975. procedure clearODCB10; inline;
  5976. procedure clearODCB11; inline;
  5977. procedure clearODCB12; inline;
  5978. procedure clearODCB13; inline;
  5979. procedure clearODCB14; inline;
  5980. procedure clearODCB15; inline;
  5981. procedure clearODCB1; inline;
  5982. procedure clearODCB2; inline;
  5983. procedure clearODCB3; inline;
  5984. procedure clearODCB4; inline;
  5985. procedure clearODCB5; inline;
  5986. procedure clearODCB6; inline;
  5987. procedure clearODCB7; inline;
  5988. procedure clearODCB8; inline;
  5989. procedure clearODCB9; inline;
  5990. procedure setODCB0; inline;
  5991. procedure setODCB10; inline;
  5992. procedure setODCB11; inline;
  5993. procedure setODCB12; inline;
  5994. procedure setODCB13; inline;
  5995. procedure setODCB14; inline;
  5996. procedure setODCB15; inline;
  5997. procedure setODCB1; inline;
  5998. procedure setODCB2; inline;
  5999. procedure setODCB3; inline;
  6000. procedure setODCB4; inline;
  6001. procedure setODCB5; inline;
  6002. procedure setODCB6; inline;
  6003. procedure setODCB7; inline;
  6004. procedure setODCB8; inline;
  6005. procedure setODCB9; inline;
  6006. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  6007. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  6008. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  6009. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  6010. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  6011. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  6012. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  6013. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  6014. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  6015. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  6016. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  6017. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  6018. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  6019. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  6020. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  6021. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  6022. property w : TBits_32 read getw write setw;
  6023. end;
  6024. type
  6025. TPORTBRegisters = record
  6026. TRISBbits : TPORTB_TRISB;
  6027. TRISB : longWord;
  6028. TRISBCLR : longWord;
  6029. TRISBSET : longWord;
  6030. TRISBINV : longWord;
  6031. PORTBbits : TPORTB_PORTB;
  6032. PORTB : longWord;
  6033. PORTBCLR : longWord;
  6034. PORTBSET : longWord;
  6035. PORTBINV : longWord;
  6036. LATBbits : TPORTB_LATB;
  6037. LATB : longWord;
  6038. LATBCLR : longWord;
  6039. LATBSET : longWord;
  6040. LATBINV : longWord;
  6041. ODCBbits : TPORTB_ODCB;
  6042. ODCB : longWord;
  6043. ODCBCLR : longWord;
  6044. ODCBSET : longWord;
  6045. ODCBINV : longWord;
  6046. end;
  6047. TPORTC_TRISC = record
  6048. private
  6049. function getTRISC1 : TBits_1; inline;
  6050. function getTRISC12 : TBits_1; inline;
  6051. function getTRISC13 : TBits_1; inline;
  6052. function getTRISC14 : TBits_1; inline;
  6053. function getTRISC15 : TBits_1; inline;
  6054. function getTRISC2 : TBits_1; inline;
  6055. function getTRISC3 : TBits_1; inline;
  6056. function getTRISC4 : TBits_1; inline;
  6057. function getw : TBits_32; inline;
  6058. procedure setTRISC1(thebits : TBits_1); inline;
  6059. procedure setTRISC12(thebits : TBits_1); inline;
  6060. procedure setTRISC13(thebits : TBits_1); inline;
  6061. procedure setTRISC14(thebits : TBits_1); inline;
  6062. procedure setTRISC15(thebits : TBits_1); inline;
  6063. procedure setTRISC2(thebits : TBits_1); inline;
  6064. procedure setTRISC3(thebits : TBits_1); inline;
  6065. procedure setTRISC4(thebits : TBits_1); inline;
  6066. procedure setw(thebits : TBits_32); inline;
  6067. public
  6068. procedure clearTRISC12; inline;
  6069. procedure clearTRISC13; inline;
  6070. procedure clearTRISC14; inline;
  6071. procedure clearTRISC15; inline;
  6072. procedure clearTRISC1; inline;
  6073. procedure clearTRISC2; inline;
  6074. procedure clearTRISC3; inline;
  6075. procedure clearTRISC4; inline;
  6076. procedure setTRISC12; inline;
  6077. procedure setTRISC13; inline;
  6078. procedure setTRISC14; inline;
  6079. procedure setTRISC15; inline;
  6080. procedure setTRISC1; inline;
  6081. procedure setTRISC2; inline;
  6082. procedure setTRISC3; inline;
  6083. procedure setTRISC4; inline;
  6084. property TRISC1 : TBits_1 read getTRISC1 write setTRISC1;
  6085. property TRISC12 : TBits_1 read getTRISC12 write setTRISC12;
  6086. property TRISC13 : TBits_1 read getTRISC13 write setTRISC13;
  6087. property TRISC14 : TBits_1 read getTRISC14 write setTRISC14;
  6088. property TRISC15 : TBits_1 read getTRISC15 write setTRISC15;
  6089. property TRISC2 : TBits_1 read getTRISC2 write setTRISC2;
  6090. property TRISC3 : TBits_1 read getTRISC3 write setTRISC3;
  6091. property TRISC4 : TBits_1 read getTRISC4 write setTRISC4;
  6092. property w : TBits_32 read getw write setw;
  6093. end;
  6094. TPORTC_PORTC = record
  6095. private
  6096. function getRC1 : TBits_1; inline;
  6097. function getRC12 : TBits_1; inline;
  6098. function getRC13 : TBits_1; inline;
  6099. function getRC14 : TBits_1; inline;
  6100. function getRC15 : TBits_1; inline;
  6101. function getRC2 : TBits_1; inline;
  6102. function getRC3 : TBits_1; inline;
  6103. function getRC4 : TBits_1; inline;
  6104. function getw : TBits_32; inline;
  6105. procedure setRC1(thebits : TBits_1); inline;
  6106. procedure setRC12(thebits : TBits_1); inline;
  6107. procedure setRC13(thebits : TBits_1); inline;
  6108. procedure setRC14(thebits : TBits_1); inline;
  6109. procedure setRC15(thebits : TBits_1); inline;
  6110. procedure setRC2(thebits : TBits_1); inline;
  6111. procedure setRC3(thebits : TBits_1); inline;
  6112. procedure setRC4(thebits : TBits_1); inline;
  6113. procedure setw(thebits : TBits_32); inline;
  6114. public
  6115. procedure clearRC12; inline;
  6116. procedure clearRC13; inline;
  6117. procedure clearRC14; inline;
  6118. procedure clearRC15; inline;
  6119. procedure clearRC1; inline;
  6120. procedure clearRC2; inline;
  6121. procedure clearRC3; inline;
  6122. procedure clearRC4; inline;
  6123. procedure setRC12; inline;
  6124. procedure setRC13; inline;
  6125. procedure setRC14; inline;
  6126. procedure setRC15; inline;
  6127. procedure setRC1; inline;
  6128. procedure setRC2; inline;
  6129. procedure setRC3; inline;
  6130. procedure setRC4; inline;
  6131. property RC1 : TBits_1 read getRC1 write setRC1;
  6132. property RC12 : TBits_1 read getRC12 write setRC12;
  6133. property RC13 : TBits_1 read getRC13 write setRC13;
  6134. property RC14 : TBits_1 read getRC14 write setRC14;
  6135. property RC15 : TBits_1 read getRC15 write setRC15;
  6136. property RC2 : TBits_1 read getRC2 write setRC2;
  6137. property RC3 : TBits_1 read getRC3 write setRC3;
  6138. property RC4 : TBits_1 read getRC4 write setRC4;
  6139. property w : TBits_32 read getw write setw;
  6140. end;
  6141. TPortC_bits=(RC1=1,RC2=2,RC3=3,RC4=4,RC12=12,RC13=13,RC14=14,RC15=15);
  6142. TPortC_bitset = set of TPortC_bits;
  6143. TPORTC_LATC = record
  6144. private
  6145. function getLATC1 : TBits_1; inline;
  6146. function getLATC12 : TBits_1; inline;
  6147. function getLATC13 : TBits_1; inline;
  6148. function getLATC14 : TBits_1; inline;
  6149. function getLATC15 : TBits_1; inline;
  6150. function getLATC2 : TBits_1; inline;
  6151. function getLATC3 : TBits_1; inline;
  6152. function getLATC4 : TBits_1; inline;
  6153. function getw : TBits_32; inline;
  6154. procedure setLATC1(thebits : TBits_1); inline;
  6155. procedure setLATC12(thebits : TBits_1); inline;
  6156. procedure setLATC13(thebits : TBits_1); inline;
  6157. procedure setLATC14(thebits : TBits_1); inline;
  6158. procedure setLATC15(thebits : TBits_1); inline;
  6159. procedure setLATC2(thebits : TBits_1); inline;
  6160. procedure setLATC3(thebits : TBits_1); inline;
  6161. procedure setLATC4(thebits : TBits_1); inline;
  6162. procedure setw(thebits : TBits_32); inline;
  6163. public
  6164. procedure clearLATC12; inline;
  6165. procedure clearLATC13; inline;
  6166. procedure clearLATC14; inline;
  6167. procedure clearLATC15; inline;
  6168. procedure clearLATC1; inline;
  6169. procedure clearLATC2; inline;
  6170. procedure clearLATC3; inline;
  6171. procedure clearLATC4; inline;
  6172. procedure setLATC12; inline;
  6173. procedure setLATC13; inline;
  6174. procedure setLATC14; inline;
  6175. procedure setLATC15; inline;
  6176. procedure setLATC1; inline;
  6177. procedure setLATC2; inline;
  6178. procedure setLATC3; inline;
  6179. procedure setLATC4; inline;
  6180. property LATC1 : TBits_1 read getLATC1 write setLATC1;
  6181. property LATC12 : TBits_1 read getLATC12 write setLATC12;
  6182. property LATC13 : TBits_1 read getLATC13 write setLATC13;
  6183. property LATC14 : TBits_1 read getLATC14 write setLATC14;
  6184. property LATC15 : TBits_1 read getLATC15 write setLATC15;
  6185. property LATC2 : TBits_1 read getLATC2 write setLATC2;
  6186. property LATC3 : TBits_1 read getLATC3 write setLATC3;
  6187. property LATC4 : TBits_1 read getLATC4 write setLATC4;
  6188. property w : TBits_32 read getw write setw;
  6189. end;
  6190. TPORTC_ODCC = record
  6191. private
  6192. function getODCC1 : TBits_1; inline;
  6193. function getODCC12 : TBits_1; inline;
  6194. function getODCC13 : TBits_1; inline;
  6195. function getODCC14 : TBits_1; inline;
  6196. function getODCC15 : TBits_1; inline;
  6197. function getODCC2 : TBits_1; inline;
  6198. function getODCC3 : TBits_1; inline;
  6199. function getODCC4 : TBits_1; inline;
  6200. function getw : TBits_32; inline;
  6201. procedure setODCC1(thebits : TBits_1); inline;
  6202. procedure setODCC12(thebits : TBits_1); inline;
  6203. procedure setODCC13(thebits : TBits_1); inline;
  6204. procedure setODCC14(thebits : TBits_1); inline;
  6205. procedure setODCC15(thebits : TBits_1); inline;
  6206. procedure setODCC2(thebits : TBits_1); inline;
  6207. procedure setODCC3(thebits : TBits_1); inline;
  6208. procedure setODCC4(thebits : TBits_1); inline;
  6209. procedure setw(thebits : TBits_32); inline;
  6210. public
  6211. procedure clearODCC12; inline;
  6212. procedure clearODCC13; inline;
  6213. procedure clearODCC14; inline;
  6214. procedure clearODCC15; inline;
  6215. procedure clearODCC1; inline;
  6216. procedure clearODCC2; inline;
  6217. procedure clearODCC3; inline;
  6218. procedure clearODCC4; inline;
  6219. procedure setODCC12; inline;
  6220. procedure setODCC13; inline;
  6221. procedure setODCC14; inline;
  6222. procedure setODCC15; inline;
  6223. procedure setODCC1; inline;
  6224. procedure setODCC2; inline;
  6225. procedure setODCC3; inline;
  6226. procedure setODCC4; inline;
  6227. property ODCC1 : TBits_1 read getODCC1 write setODCC1;
  6228. property ODCC12 : TBits_1 read getODCC12 write setODCC12;
  6229. property ODCC13 : TBits_1 read getODCC13 write setODCC13;
  6230. property ODCC14 : TBits_1 read getODCC14 write setODCC14;
  6231. property ODCC15 : TBits_1 read getODCC15 write setODCC15;
  6232. property ODCC2 : TBits_1 read getODCC2 write setODCC2;
  6233. property ODCC3 : TBits_1 read getODCC3 write setODCC3;
  6234. property ODCC4 : TBits_1 read getODCC4 write setODCC4;
  6235. property w : TBits_32 read getw write setw;
  6236. end;
  6237. type
  6238. TPORTCRegisters = record
  6239. TRISCbits : TPORTC_TRISC;
  6240. TRISC : longWord;
  6241. TRISCCLR : longWord;
  6242. TRISCSET : longWord;
  6243. TRISCINV : longWord;
  6244. PORTCbits : TPORTC_PORTC;
  6245. PORTC : longWord;
  6246. PORTCCLR : longWord;
  6247. PORTCSET : longWord;
  6248. PORTCINV : longWord;
  6249. LATCbits : TPORTC_LATC;
  6250. LATC : longWord;
  6251. LATCCLR : longWord;
  6252. LATCSET : longWord;
  6253. LATCINV : longWord;
  6254. ODCCbits : TPORTC_ODCC;
  6255. ODCC : longWord;
  6256. ODCCCLR : longWord;
  6257. ODCCSET : longWord;
  6258. ODCCINV : longWord;
  6259. end;
  6260. TPORTD_TRISD = record
  6261. private
  6262. function getTRISD0 : TBits_1; inline;
  6263. function getTRISD1 : TBits_1; inline;
  6264. function getTRISD10 : TBits_1; inline;
  6265. function getTRISD11 : TBits_1; inline;
  6266. function getTRISD12 : TBits_1; inline;
  6267. function getTRISD13 : TBits_1; inline;
  6268. function getTRISD14 : TBits_1; inline;
  6269. function getTRISD15 : TBits_1; inline;
  6270. function getTRISD2 : TBits_1; inline;
  6271. function getTRISD3 : TBits_1; inline;
  6272. function getTRISD4 : TBits_1; inline;
  6273. function getTRISD5 : TBits_1; inline;
  6274. function getTRISD6 : TBits_1; inline;
  6275. function getTRISD7 : TBits_1; inline;
  6276. function getTRISD8 : TBits_1; inline;
  6277. function getTRISD9 : TBits_1; inline;
  6278. function getw : TBits_32; inline;
  6279. procedure setTRISD0(thebits : TBits_1); inline;
  6280. procedure setTRISD1(thebits : TBits_1); inline;
  6281. procedure setTRISD10(thebits : TBits_1); inline;
  6282. procedure setTRISD11(thebits : TBits_1); inline;
  6283. procedure setTRISD12(thebits : TBits_1); inline;
  6284. procedure setTRISD13(thebits : TBits_1); inline;
  6285. procedure setTRISD14(thebits : TBits_1); inline;
  6286. procedure setTRISD15(thebits : TBits_1); inline;
  6287. procedure setTRISD2(thebits : TBits_1); inline;
  6288. procedure setTRISD3(thebits : TBits_1); inline;
  6289. procedure setTRISD4(thebits : TBits_1); inline;
  6290. procedure setTRISD5(thebits : TBits_1); inline;
  6291. procedure setTRISD6(thebits : TBits_1); inline;
  6292. procedure setTRISD7(thebits : TBits_1); inline;
  6293. procedure setTRISD8(thebits : TBits_1); inline;
  6294. procedure setTRISD9(thebits : TBits_1); inline;
  6295. procedure setw(thebits : TBits_32); inline;
  6296. public
  6297. procedure clearTRISD0; inline;
  6298. procedure clearTRISD10; inline;
  6299. procedure clearTRISD11; inline;
  6300. procedure clearTRISD12; inline;
  6301. procedure clearTRISD13; inline;
  6302. procedure clearTRISD14; inline;
  6303. procedure clearTRISD15; inline;
  6304. procedure clearTRISD1; inline;
  6305. procedure clearTRISD2; inline;
  6306. procedure clearTRISD3; inline;
  6307. procedure clearTRISD4; inline;
  6308. procedure clearTRISD5; inline;
  6309. procedure clearTRISD6; inline;
  6310. procedure clearTRISD7; inline;
  6311. procedure clearTRISD8; inline;
  6312. procedure clearTRISD9; inline;
  6313. procedure setTRISD0; inline;
  6314. procedure setTRISD10; inline;
  6315. procedure setTRISD11; inline;
  6316. procedure setTRISD12; inline;
  6317. procedure setTRISD13; inline;
  6318. procedure setTRISD14; inline;
  6319. procedure setTRISD15; inline;
  6320. procedure setTRISD1; inline;
  6321. procedure setTRISD2; inline;
  6322. procedure setTRISD3; inline;
  6323. procedure setTRISD4; inline;
  6324. procedure setTRISD5; inline;
  6325. procedure setTRISD6; inline;
  6326. procedure setTRISD7; inline;
  6327. procedure setTRISD8; inline;
  6328. procedure setTRISD9; inline;
  6329. property TRISD0 : TBits_1 read getTRISD0 write setTRISD0;
  6330. property TRISD1 : TBits_1 read getTRISD1 write setTRISD1;
  6331. property TRISD10 : TBits_1 read getTRISD10 write setTRISD10;
  6332. property TRISD11 : TBits_1 read getTRISD11 write setTRISD11;
  6333. property TRISD12 : TBits_1 read getTRISD12 write setTRISD12;
  6334. property TRISD13 : TBits_1 read getTRISD13 write setTRISD13;
  6335. property TRISD14 : TBits_1 read getTRISD14 write setTRISD14;
  6336. property TRISD15 : TBits_1 read getTRISD15 write setTRISD15;
  6337. property TRISD2 : TBits_1 read getTRISD2 write setTRISD2;
  6338. property TRISD3 : TBits_1 read getTRISD3 write setTRISD3;
  6339. property TRISD4 : TBits_1 read getTRISD4 write setTRISD4;
  6340. property TRISD5 : TBits_1 read getTRISD5 write setTRISD5;
  6341. property TRISD6 : TBits_1 read getTRISD6 write setTRISD6;
  6342. property TRISD7 : TBits_1 read getTRISD7 write setTRISD7;
  6343. property TRISD8 : TBits_1 read getTRISD8 write setTRISD8;
  6344. property TRISD9 : TBits_1 read getTRISD9 write setTRISD9;
  6345. property w : TBits_32 read getw write setw;
  6346. end;
  6347. TPORTD_PORTD = record
  6348. private
  6349. function getRD0 : TBits_1; inline;
  6350. function getRD1 : TBits_1; inline;
  6351. function getRD10 : TBits_1; inline;
  6352. function getRD11 : TBits_1; inline;
  6353. function getRD12 : TBits_1; inline;
  6354. function getRD13 : TBits_1; inline;
  6355. function getRD14 : TBits_1; inline;
  6356. function getRD15 : TBits_1; inline;
  6357. function getRD2 : TBits_1; inline;
  6358. function getRD3 : TBits_1; inline;
  6359. function getRD4 : TBits_1; inline;
  6360. function getRD5 : TBits_1; inline;
  6361. function getRD6 : TBits_1; inline;
  6362. function getRD7 : TBits_1; inline;
  6363. function getRD8 : TBits_1; inline;
  6364. function getRD9 : TBits_1; inline;
  6365. function getw : TBits_32; inline;
  6366. procedure setRD0(thebits : TBits_1); inline;
  6367. procedure setRD1(thebits : TBits_1); inline;
  6368. procedure setRD10(thebits : TBits_1); inline;
  6369. procedure setRD11(thebits : TBits_1); inline;
  6370. procedure setRD12(thebits : TBits_1); inline;
  6371. procedure setRD13(thebits : TBits_1); inline;
  6372. procedure setRD14(thebits : TBits_1); inline;
  6373. procedure setRD15(thebits : TBits_1); inline;
  6374. procedure setRD2(thebits : TBits_1); inline;
  6375. procedure setRD3(thebits : TBits_1); inline;
  6376. procedure setRD4(thebits : TBits_1); inline;
  6377. procedure setRD5(thebits : TBits_1); inline;
  6378. procedure setRD6(thebits : TBits_1); inline;
  6379. procedure setRD7(thebits : TBits_1); inline;
  6380. procedure setRD8(thebits : TBits_1); inline;
  6381. procedure setRD9(thebits : TBits_1); inline;
  6382. procedure setw(thebits : TBits_32); inline;
  6383. public
  6384. procedure clearRD0; inline;
  6385. procedure clearRD10; inline;
  6386. procedure clearRD11; inline;
  6387. procedure clearRD12; inline;
  6388. procedure clearRD13; inline;
  6389. procedure clearRD14; inline;
  6390. procedure clearRD15; inline;
  6391. procedure clearRD1; inline;
  6392. procedure clearRD2; inline;
  6393. procedure clearRD3; inline;
  6394. procedure clearRD4; inline;
  6395. procedure clearRD5; inline;
  6396. procedure clearRD6; inline;
  6397. procedure clearRD7; inline;
  6398. procedure clearRD8; inline;
  6399. procedure clearRD9; inline;
  6400. procedure setRD0; inline;
  6401. procedure setRD10; inline;
  6402. procedure setRD11; inline;
  6403. procedure setRD12; inline;
  6404. procedure setRD13; inline;
  6405. procedure setRD14; inline;
  6406. procedure setRD15; inline;
  6407. procedure setRD1; inline;
  6408. procedure setRD2; inline;
  6409. procedure setRD3; inline;
  6410. procedure setRD4; inline;
  6411. procedure setRD5; inline;
  6412. procedure setRD6; inline;
  6413. procedure setRD7; inline;
  6414. procedure setRD8; inline;
  6415. procedure setRD9; inline;
  6416. property RD0 : TBits_1 read getRD0 write setRD0;
  6417. property RD1 : TBits_1 read getRD1 write setRD1;
  6418. property RD10 : TBits_1 read getRD10 write setRD10;
  6419. property RD11 : TBits_1 read getRD11 write setRD11;
  6420. property RD12 : TBits_1 read getRD12 write setRD12;
  6421. property RD13 : TBits_1 read getRD13 write setRD13;
  6422. property RD14 : TBits_1 read getRD14 write setRD14;
  6423. property RD15 : TBits_1 read getRD15 write setRD15;
  6424. property RD2 : TBits_1 read getRD2 write setRD2;
  6425. property RD3 : TBits_1 read getRD3 write setRD3;
  6426. property RD4 : TBits_1 read getRD4 write setRD4;
  6427. property RD5 : TBits_1 read getRD5 write setRD5;
  6428. property RD6 : TBits_1 read getRD6 write setRD6;
  6429. property RD7 : TBits_1 read getRD7 write setRD7;
  6430. property RD8 : TBits_1 read getRD8 write setRD8;
  6431. property RD9 : TBits_1 read getRD9 write setRD9;
  6432. property w : TBits_32 read getw write setw;
  6433. end;
  6434. 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);
  6435. TPortD_bitset = set of TPortD_bits;
  6436. TPORTD_LATD = record
  6437. private
  6438. function getLATD0 : TBits_1; inline;
  6439. function getLATD1 : TBits_1; inline;
  6440. function getLATD10 : TBits_1; inline;
  6441. function getLATD11 : TBits_1; inline;
  6442. function getLATD12 : TBits_1; inline;
  6443. function getLATD13 : TBits_1; inline;
  6444. function getLATD14 : TBits_1; inline;
  6445. function getLATD15 : TBits_1; inline;
  6446. function getLATD2 : TBits_1; inline;
  6447. function getLATD3 : TBits_1; inline;
  6448. function getLATD4 : TBits_1; inline;
  6449. function getLATD5 : TBits_1; inline;
  6450. function getLATD6 : TBits_1; inline;
  6451. function getLATD7 : TBits_1; inline;
  6452. function getLATD8 : TBits_1; inline;
  6453. function getLATD9 : TBits_1; inline;
  6454. function getw : TBits_32; inline;
  6455. procedure setLATD0(thebits : TBits_1); inline;
  6456. procedure setLATD1(thebits : TBits_1); inline;
  6457. procedure setLATD10(thebits : TBits_1); inline;
  6458. procedure setLATD11(thebits : TBits_1); inline;
  6459. procedure setLATD12(thebits : TBits_1); inline;
  6460. procedure setLATD13(thebits : TBits_1); inline;
  6461. procedure setLATD14(thebits : TBits_1); inline;
  6462. procedure setLATD15(thebits : TBits_1); inline;
  6463. procedure setLATD2(thebits : TBits_1); inline;
  6464. procedure setLATD3(thebits : TBits_1); inline;
  6465. procedure setLATD4(thebits : TBits_1); inline;
  6466. procedure setLATD5(thebits : TBits_1); inline;
  6467. procedure setLATD6(thebits : TBits_1); inline;
  6468. procedure setLATD7(thebits : TBits_1); inline;
  6469. procedure setLATD8(thebits : TBits_1); inline;
  6470. procedure setLATD9(thebits : TBits_1); inline;
  6471. procedure setw(thebits : TBits_32); inline;
  6472. public
  6473. procedure clearLATD0; inline;
  6474. procedure clearLATD10; inline;
  6475. procedure clearLATD11; inline;
  6476. procedure clearLATD12; inline;
  6477. procedure clearLATD13; inline;
  6478. procedure clearLATD14; inline;
  6479. procedure clearLATD15; inline;
  6480. procedure clearLATD1; inline;
  6481. procedure clearLATD2; inline;
  6482. procedure clearLATD3; inline;
  6483. procedure clearLATD4; inline;
  6484. procedure clearLATD5; inline;
  6485. procedure clearLATD6; inline;
  6486. procedure clearLATD7; inline;
  6487. procedure clearLATD8; inline;
  6488. procedure clearLATD9; inline;
  6489. procedure setLATD0; inline;
  6490. procedure setLATD10; inline;
  6491. procedure setLATD11; inline;
  6492. procedure setLATD12; inline;
  6493. procedure setLATD13; inline;
  6494. procedure setLATD14; inline;
  6495. procedure setLATD15; inline;
  6496. procedure setLATD1; inline;
  6497. procedure setLATD2; inline;
  6498. procedure setLATD3; inline;
  6499. procedure setLATD4; inline;
  6500. procedure setLATD5; inline;
  6501. procedure setLATD6; inline;
  6502. procedure setLATD7; inline;
  6503. procedure setLATD8; inline;
  6504. procedure setLATD9; inline;
  6505. property LATD0 : TBits_1 read getLATD0 write setLATD0;
  6506. property LATD1 : TBits_1 read getLATD1 write setLATD1;
  6507. property LATD10 : TBits_1 read getLATD10 write setLATD10;
  6508. property LATD11 : TBits_1 read getLATD11 write setLATD11;
  6509. property LATD12 : TBits_1 read getLATD12 write setLATD12;
  6510. property LATD13 : TBits_1 read getLATD13 write setLATD13;
  6511. property LATD14 : TBits_1 read getLATD14 write setLATD14;
  6512. property LATD15 : TBits_1 read getLATD15 write setLATD15;
  6513. property LATD2 : TBits_1 read getLATD2 write setLATD2;
  6514. property LATD3 : TBits_1 read getLATD3 write setLATD3;
  6515. property LATD4 : TBits_1 read getLATD4 write setLATD4;
  6516. property LATD5 : TBits_1 read getLATD5 write setLATD5;
  6517. property LATD6 : TBits_1 read getLATD6 write setLATD6;
  6518. property LATD7 : TBits_1 read getLATD7 write setLATD7;
  6519. property LATD8 : TBits_1 read getLATD8 write setLATD8;
  6520. property LATD9 : TBits_1 read getLATD9 write setLATD9;
  6521. property w : TBits_32 read getw write setw;
  6522. end;
  6523. TPORTD_ODCD = record
  6524. private
  6525. function getODCD0 : TBits_1; inline;
  6526. function getODCD1 : TBits_1; inline;
  6527. function getODCD10 : TBits_1; inline;
  6528. function getODCD11 : TBits_1; inline;
  6529. function getODCD12 : TBits_1; inline;
  6530. function getODCD13 : TBits_1; inline;
  6531. function getODCD14 : TBits_1; inline;
  6532. function getODCD15 : TBits_1; inline;
  6533. function getODCD2 : TBits_1; inline;
  6534. function getODCD3 : TBits_1; inline;
  6535. function getODCD4 : TBits_1; inline;
  6536. function getODCD5 : TBits_1; inline;
  6537. function getODCD6 : TBits_1; inline;
  6538. function getODCD7 : TBits_1; inline;
  6539. function getODCD8 : TBits_1; inline;
  6540. function getODCD9 : TBits_1; inline;
  6541. function getw : TBits_32; inline;
  6542. procedure setODCD0(thebits : TBits_1); inline;
  6543. procedure setODCD1(thebits : TBits_1); inline;
  6544. procedure setODCD10(thebits : TBits_1); inline;
  6545. procedure setODCD11(thebits : TBits_1); inline;
  6546. procedure setODCD12(thebits : TBits_1); inline;
  6547. procedure setODCD13(thebits : TBits_1); inline;
  6548. procedure setODCD14(thebits : TBits_1); inline;
  6549. procedure setODCD15(thebits : TBits_1); inline;
  6550. procedure setODCD2(thebits : TBits_1); inline;
  6551. procedure setODCD3(thebits : TBits_1); inline;
  6552. procedure setODCD4(thebits : TBits_1); inline;
  6553. procedure setODCD5(thebits : TBits_1); inline;
  6554. procedure setODCD6(thebits : TBits_1); inline;
  6555. procedure setODCD7(thebits : TBits_1); inline;
  6556. procedure setODCD8(thebits : TBits_1); inline;
  6557. procedure setODCD9(thebits : TBits_1); inline;
  6558. procedure setw(thebits : TBits_32); inline;
  6559. public
  6560. procedure clearODCD0; inline;
  6561. procedure clearODCD10; inline;
  6562. procedure clearODCD11; inline;
  6563. procedure clearODCD12; inline;
  6564. procedure clearODCD13; inline;
  6565. procedure clearODCD14; inline;
  6566. procedure clearODCD15; inline;
  6567. procedure clearODCD1; inline;
  6568. procedure clearODCD2; inline;
  6569. procedure clearODCD3; inline;
  6570. procedure clearODCD4; inline;
  6571. procedure clearODCD5; inline;
  6572. procedure clearODCD6; inline;
  6573. procedure clearODCD7; inline;
  6574. procedure clearODCD8; inline;
  6575. procedure clearODCD9; inline;
  6576. procedure setODCD0; inline;
  6577. procedure setODCD10; inline;
  6578. procedure setODCD11; inline;
  6579. procedure setODCD12; inline;
  6580. procedure setODCD13; inline;
  6581. procedure setODCD14; inline;
  6582. procedure setODCD15; inline;
  6583. procedure setODCD1; inline;
  6584. procedure setODCD2; inline;
  6585. procedure setODCD3; inline;
  6586. procedure setODCD4; inline;
  6587. procedure setODCD5; inline;
  6588. procedure setODCD6; inline;
  6589. procedure setODCD7; inline;
  6590. procedure setODCD8; inline;
  6591. procedure setODCD9; inline;
  6592. property ODCD0 : TBits_1 read getODCD0 write setODCD0;
  6593. property ODCD1 : TBits_1 read getODCD1 write setODCD1;
  6594. property ODCD10 : TBits_1 read getODCD10 write setODCD10;
  6595. property ODCD11 : TBits_1 read getODCD11 write setODCD11;
  6596. property ODCD12 : TBits_1 read getODCD12 write setODCD12;
  6597. property ODCD13 : TBits_1 read getODCD13 write setODCD13;
  6598. property ODCD14 : TBits_1 read getODCD14 write setODCD14;
  6599. property ODCD15 : TBits_1 read getODCD15 write setODCD15;
  6600. property ODCD2 : TBits_1 read getODCD2 write setODCD2;
  6601. property ODCD3 : TBits_1 read getODCD3 write setODCD3;
  6602. property ODCD4 : TBits_1 read getODCD4 write setODCD4;
  6603. property ODCD5 : TBits_1 read getODCD5 write setODCD5;
  6604. property ODCD6 : TBits_1 read getODCD6 write setODCD6;
  6605. property ODCD7 : TBits_1 read getODCD7 write setODCD7;
  6606. property ODCD8 : TBits_1 read getODCD8 write setODCD8;
  6607. property ODCD9 : TBits_1 read getODCD9 write setODCD9;
  6608. property w : TBits_32 read getw write setw;
  6609. end;
  6610. type
  6611. TPORTDRegisters = record
  6612. TRISDbits : TPORTD_TRISD;
  6613. TRISD : longWord;
  6614. TRISDCLR : longWord;
  6615. TRISDSET : longWord;
  6616. TRISDINV : longWord;
  6617. PORTDbits : TPORTD_PORTD;
  6618. PORTD : longWord;
  6619. PORTDCLR : longWord;
  6620. PORTDSET : longWord;
  6621. PORTDINV : longWord;
  6622. LATDbits : TPORTD_LATD;
  6623. LATD : longWord;
  6624. LATDCLR : longWord;
  6625. LATDSET : longWord;
  6626. LATDINV : longWord;
  6627. ODCDbits : TPORTD_ODCD;
  6628. ODCD : longWord;
  6629. ODCDCLR : longWord;
  6630. ODCDSET : longWord;
  6631. ODCDINV : longWord;
  6632. end;
  6633. TPORTE_TRISE = record
  6634. private
  6635. function getTRISE0 : TBits_1; inline;
  6636. function getTRISE1 : TBits_1; inline;
  6637. function getTRISE2 : TBits_1; inline;
  6638. function getTRISE3 : TBits_1; inline;
  6639. function getTRISE4 : TBits_1; inline;
  6640. function getTRISE5 : TBits_1; inline;
  6641. function getTRISE6 : TBits_1; inline;
  6642. function getTRISE7 : TBits_1; inline;
  6643. function getTRISE8 : TBits_1; inline;
  6644. function getTRISE9 : TBits_1; inline;
  6645. function getw : TBits_32; inline;
  6646. procedure setTRISE0(thebits : TBits_1); inline;
  6647. procedure setTRISE1(thebits : TBits_1); inline;
  6648. procedure setTRISE2(thebits : TBits_1); inline;
  6649. procedure setTRISE3(thebits : TBits_1); inline;
  6650. procedure setTRISE4(thebits : TBits_1); inline;
  6651. procedure setTRISE5(thebits : TBits_1); inline;
  6652. procedure setTRISE6(thebits : TBits_1); inline;
  6653. procedure setTRISE7(thebits : TBits_1); inline;
  6654. procedure setTRISE8(thebits : TBits_1); inline;
  6655. procedure setTRISE9(thebits : TBits_1); inline;
  6656. procedure setw(thebits : TBits_32); inline;
  6657. public
  6658. procedure clearTRISE0; inline;
  6659. procedure clearTRISE1; inline;
  6660. procedure clearTRISE2; inline;
  6661. procedure clearTRISE3; inline;
  6662. procedure clearTRISE4; inline;
  6663. procedure clearTRISE5; inline;
  6664. procedure clearTRISE6; inline;
  6665. procedure clearTRISE7; inline;
  6666. procedure clearTRISE8; inline;
  6667. procedure clearTRISE9; inline;
  6668. procedure setTRISE0; inline;
  6669. procedure setTRISE1; inline;
  6670. procedure setTRISE2; inline;
  6671. procedure setTRISE3; inline;
  6672. procedure setTRISE4; inline;
  6673. procedure setTRISE5; inline;
  6674. procedure setTRISE6; inline;
  6675. procedure setTRISE7; inline;
  6676. procedure setTRISE8; inline;
  6677. procedure setTRISE9; inline;
  6678. property TRISE0 : TBits_1 read getTRISE0 write setTRISE0;
  6679. property TRISE1 : TBits_1 read getTRISE1 write setTRISE1;
  6680. property TRISE2 : TBits_1 read getTRISE2 write setTRISE2;
  6681. property TRISE3 : TBits_1 read getTRISE3 write setTRISE3;
  6682. property TRISE4 : TBits_1 read getTRISE4 write setTRISE4;
  6683. property TRISE5 : TBits_1 read getTRISE5 write setTRISE5;
  6684. property TRISE6 : TBits_1 read getTRISE6 write setTRISE6;
  6685. property TRISE7 : TBits_1 read getTRISE7 write setTRISE7;
  6686. property TRISE8 : TBits_1 read getTRISE8 write setTRISE8;
  6687. property TRISE9 : TBits_1 read getTRISE9 write setTRISE9;
  6688. property w : TBits_32 read getw write setw;
  6689. end;
  6690. TPORTE_PORTE = record
  6691. private
  6692. function getRE0 : TBits_1; inline;
  6693. function getRE1 : TBits_1; inline;
  6694. function getRE2 : TBits_1; inline;
  6695. function getRE3 : TBits_1; inline;
  6696. function getRE4 : TBits_1; inline;
  6697. function getRE5 : TBits_1; inline;
  6698. function getRE6 : TBits_1; inline;
  6699. function getRE7 : TBits_1; inline;
  6700. function getRE8 : TBits_1; inline;
  6701. function getRE9 : TBits_1; inline;
  6702. function getw : TBits_32; inline;
  6703. procedure setRE0(thebits : TBits_1); inline;
  6704. procedure setRE1(thebits : TBits_1); inline;
  6705. procedure setRE2(thebits : TBits_1); inline;
  6706. procedure setRE3(thebits : TBits_1); inline;
  6707. procedure setRE4(thebits : TBits_1); inline;
  6708. procedure setRE5(thebits : TBits_1); inline;
  6709. procedure setRE6(thebits : TBits_1); inline;
  6710. procedure setRE7(thebits : TBits_1); inline;
  6711. procedure setRE8(thebits : TBits_1); inline;
  6712. procedure setRE9(thebits : TBits_1); inline;
  6713. procedure setw(thebits : TBits_32); inline;
  6714. public
  6715. procedure clearRE0; inline;
  6716. procedure clearRE1; inline;
  6717. procedure clearRE2; inline;
  6718. procedure clearRE3; inline;
  6719. procedure clearRE4; inline;
  6720. procedure clearRE5; inline;
  6721. procedure clearRE6; inline;
  6722. procedure clearRE7; inline;
  6723. procedure clearRE8; inline;
  6724. procedure clearRE9; inline;
  6725. procedure setRE0; inline;
  6726. procedure setRE1; inline;
  6727. procedure setRE2; inline;
  6728. procedure setRE3; inline;
  6729. procedure setRE4; inline;
  6730. procedure setRE5; inline;
  6731. procedure setRE6; inline;
  6732. procedure setRE7; inline;
  6733. procedure setRE8; inline;
  6734. procedure setRE9; inline;
  6735. property RE0 : TBits_1 read getRE0 write setRE0;
  6736. property RE1 : TBits_1 read getRE1 write setRE1;
  6737. property RE2 : TBits_1 read getRE2 write setRE2;
  6738. property RE3 : TBits_1 read getRE3 write setRE3;
  6739. property RE4 : TBits_1 read getRE4 write setRE4;
  6740. property RE5 : TBits_1 read getRE5 write setRE5;
  6741. property RE6 : TBits_1 read getRE6 write setRE6;
  6742. property RE7 : TBits_1 read getRE7 write setRE7;
  6743. property RE8 : TBits_1 read getRE8 write setRE8;
  6744. property RE9 : TBits_1 read getRE9 write setRE9;
  6745. property w : TBits_32 read getw write setw;
  6746. end;
  6747. TPortE_bits=(RE0=0,RE1=1,RE2=2,RE3=3,RE4=4,RE5=5,RE6=6,RE7=7,RE8=8,RE9=9);
  6748. TPortE_bitset = set of TPortE_bits;
  6749. TPORTE_LATE = record
  6750. private
  6751. function getLATE0 : TBits_1; inline;
  6752. function getLATE1 : TBits_1; inline;
  6753. function getLATE2 : TBits_1; inline;
  6754. function getLATE3 : TBits_1; inline;
  6755. function getLATE4 : TBits_1; inline;
  6756. function getLATE5 : TBits_1; inline;
  6757. function getLATE6 : TBits_1; inline;
  6758. function getLATE7 : TBits_1; inline;
  6759. function getLATE8 : TBits_1; inline;
  6760. function getLATE9 : TBits_1; inline;
  6761. function getw : TBits_32; inline;
  6762. procedure setLATE0(thebits : TBits_1); inline;
  6763. procedure setLATE1(thebits : TBits_1); inline;
  6764. procedure setLATE2(thebits : TBits_1); inline;
  6765. procedure setLATE3(thebits : TBits_1); inline;
  6766. procedure setLATE4(thebits : TBits_1); inline;
  6767. procedure setLATE5(thebits : TBits_1); inline;
  6768. procedure setLATE6(thebits : TBits_1); inline;
  6769. procedure setLATE7(thebits : TBits_1); inline;
  6770. procedure setLATE8(thebits : TBits_1); inline;
  6771. procedure setLATE9(thebits : TBits_1); inline;
  6772. procedure setw(thebits : TBits_32); inline;
  6773. public
  6774. procedure clearLATE0; inline;
  6775. procedure clearLATE1; inline;
  6776. procedure clearLATE2; inline;
  6777. procedure clearLATE3; inline;
  6778. procedure clearLATE4; inline;
  6779. procedure clearLATE5; inline;
  6780. procedure clearLATE6; inline;
  6781. procedure clearLATE7; inline;
  6782. procedure clearLATE8; inline;
  6783. procedure clearLATE9; inline;
  6784. procedure setLATE0; inline;
  6785. procedure setLATE1; inline;
  6786. procedure setLATE2; inline;
  6787. procedure setLATE3; inline;
  6788. procedure setLATE4; inline;
  6789. procedure setLATE5; inline;
  6790. procedure setLATE6; inline;
  6791. procedure setLATE7; inline;
  6792. procedure setLATE8; inline;
  6793. procedure setLATE9; inline;
  6794. property LATE0 : TBits_1 read getLATE0 write setLATE0;
  6795. property LATE1 : TBits_1 read getLATE1 write setLATE1;
  6796. property LATE2 : TBits_1 read getLATE2 write setLATE2;
  6797. property LATE3 : TBits_1 read getLATE3 write setLATE3;
  6798. property LATE4 : TBits_1 read getLATE4 write setLATE4;
  6799. property LATE5 : TBits_1 read getLATE5 write setLATE5;
  6800. property LATE6 : TBits_1 read getLATE6 write setLATE6;
  6801. property LATE7 : TBits_1 read getLATE7 write setLATE7;
  6802. property LATE8 : TBits_1 read getLATE8 write setLATE8;
  6803. property LATE9 : TBits_1 read getLATE9 write setLATE9;
  6804. property w : TBits_32 read getw write setw;
  6805. end;
  6806. TPORTE_ODCE = record
  6807. private
  6808. function getODCE0 : TBits_1; inline;
  6809. function getODCE1 : TBits_1; inline;
  6810. function getODCE2 : TBits_1; inline;
  6811. function getODCE3 : TBits_1; inline;
  6812. function getODCE4 : TBits_1; inline;
  6813. function getODCE5 : TBits_1; inline;
  6814. function getODCE6 : TBits_1; inline;
  6815. function getODCE7 : TBits_1; inline;
  6816. function getODCE8 : TBits_1; inline;
  6817. function getODCE9 : TBits_1; inline;
  6818. function getw : TBits_32; inline;
  6819. procedure setODCE0(thebits : TBits_1); inline;
  6820. procedure setODCE1(thebits : TBits_1); inline;
  6821. procedure setODCE2(thebits : TBits_1); inline;
  6822. procedure setODCE3(thebits : TBits_1); inline;
  6823. procedure setODCE4(thebits : TBits_1); inline;
  6824. procedure setODCE5(thebits : TBits_1); inline;
  6825. procedure setODCE6(thebits : TBits_1); inline;
  6826. procedure setODCE7(thebits : TBits_1); inline;
  6827. procedure setODCE8(thebits : TBits_1); inline;
  6828. procedure setODCE9(thebits : TBits_1); inline;
  6829. procedure setw(thebits : TBits_32); inline;
  6830. public
  6831. procedure clearODCE0; inline;
  6832. procedure clearODCE1; inline;
  6833. procedure clearODCE2; inline;
  6834. procedure clearODCE3; inline;
  6835. procedure clearODCE4; inline;
  6836. procedure clearODCE5; inline;
  6837. procedure clearODCE6; inline;
  6838. procedure clearODCE7; inline;
  6839. procedure clearODCE8; inline;
  6840. procedure clearODCE9; inline;
  6841. procedure setODCE0; inline;
  6842. procedure setODCE1; inline;
  6843. procedure setODCE2; inline;
  6844. procedure setODCE3; inline;
  6845. procedure setODCE4; inline;
  6846. procedure setODCE5; inline;
  6847. procedure setODCE6; inline;
  6848. procedure setODCE7; inline;
  6849. procedure setODCE8; inline;
  6850. procedure setODCE9; inline;
  6851. property ODCE0 : TBits_1 read getODCE0 write setODCE0;
  6852. property ODCE1 : TBits_1 read getODCE1 write setODCE1;
  6853. property ODCE2 : TBits_1 read getODCE2 write setODCE2;
  6854. property ODCE3 : TBits_1 read getODCE3 write setODCE3;
  6855. property ODCE4 : TBits_1 read getODCE4 write setODCE4;
  6856. property ODCE5 : TBits_1 read getODCE5 write setODCE5;
  6857. property ODCE6 : TBits_1 read getODCE6 write setODCE6;
  6858. property ODCE7 : TBits_1 read getODCE7 write setODCE7;
  6859. property ODCE8 : TBits_1 read getODCE8 write setODCE8;
  6860. property ODCE9 : TBits_1 read getODCE9 write setODCE9;
  6861. property w : TBits_32 read getw write setw;
  6862. end;
  6863. type
  6864. TPORTERegisters = record
  6865. TRISEbits : TPORTE_TRISE;
  6866. TRISE : longWord;
  6867. TRISECLR : longWord;
  6868. TRISESET : longWord;
  6869. TRISEINV : longWord;
  6870. PORTEbits : TPORTE_PORTE;
  6871. PORTE : longWord;
  6872. PORTECLR : longWord;
  6873. PORTESET : longWord;
  6874. PORTEINV : longWord;
  6875. LATEbits : TPORTE_LATE;
  6876. LATE : longWord;
  6877. LATECLR : longWord;
  6878. LATESET : longWord;
  6879. LATEINV : longWord;
  6880. ODCEbits : TPORTE_ODCE;
  6881. ODCE : longWord;
  6882. ODCECLR : longWord;
  6883. ODCESET : longWord;
  6884. ODCEINV : longWord;
  6885. end;
  6886. TPORTF_TRISF = record
  6887. private
  6888. function getTRISF0 : TBits_1; inline;
  6889. function getTRISF1 : TBits_1; inline;
  6890. function getTRISF12 : TBits_1; inline;
  6891. function getTRISF13 : TBits_1; inline;
  6892. function getTRISF2 : TBits_1; inline;
  6893. function getTRISF3 : TBits_1; inline;
  6894. function getTRISF4 : TBits_1; inline;
  6895. function getTRISF5 : TBits_1; inline;
  6896. function getTRISF6 : TBits_1; inline;
  6897. function getTRISF7 : TBits_1; inline;
  6898. function getTRISF8 : TBits_1; inline;
  6899. function getw : TBits_32; inline;
  6900. procedure setTRISF0(thebits : TBits_1); inline;
  6901. procedure setTRISF1(thebits : TBits_1); inline;
  6902. procedure setTRISF12(thebits : TBits_1); inline;
  6903. procedure setTRISF13(thebits : TBits_1); inline;
  6904. procedure setTRISF2(thebits : TBits_1); inline;
  6905. procedure setTRISF3(thebits : TBits_1); inline;
  6906. procedure setTRISF4(thebits : TBits_1); inline;
  6907. procedure setTRISF5(thebits : TBits_1); inline;
  6908. procedure setTRISF6(thebits : TBits_1); inline;
  6909. procedure setTRISF7(thebits : TBits_1); inline;
  6910. procedure setTRISF8(thebits : TBits_1); inline;
  6911. procedure setw(thebits : TBits_32); inline;
  6912. public
  6913. procedure clearTRISF0; inline;
  6914. procedure clearTRISF12; inline;
  6915. procedure clearTRISF13; inline;
  6916. procedure clearTRISF1; inline;
  6917. procedure clearTRISF2; inline;
  6918. procedure clearTRISF3; inline;
  6919. procedure clearTRISF4; inline;
  6920. procedure clearTRISF5; inline;
  6921. procedure clearTRISF6; inline;
  6922. procedure clearTRISF7; inline;
  6923. procedure clearTRISF8; inline;
  6924. procedure setTRISF0; inline;
  6925. procedure setTRISF12; inline;
  6926. procedure setTRISF13; inline;
  6927. procedure setTRISF1; inline;
  6928. procedure setTRISF2; inline;
  6929. procedure setTRISF3; inline;
  6930. procedure setTRISF4; inline;
  6931. procedure setTRISF5; inline;
  6932. procedure setTRISF6; inline;
  6933. procedure setTRISF7; inline;
  6934. procedure setTRISF8; inline;
  6935. property TRISF0 : TBits_1 read getTRISF0 write setTRISF0;
  6936. property TRISF1 : TBits_1 read getTRISF1 write setTRISF1;
  6937. property TRISF12 : TBits_1 read getTRISF12 write setTRISF12;
  6938. property TRISF13 : TBits_1 read getTRISF13 write setTRISF13;
  6939. property TRISF2 : TBits_1 read getTRISF2 write setTRISF2;
  6940. property TRISF3 : TBits_1 read getTRISF3 write setTRISF3;
  6941. property TRISF4 : TBits_1 read getTRISF4 write setTRISF4;
  6942. property TRISF5 : TBits_1 read getTRISF5 write setTRISF5;
  6943. property TRISF6 : TBits_1 read getTRISF6 write setTRISF6;
  6944. property TRISF7 : TBits_1 read getTRISF7 write setTRISF7;
  6945. property TRISF8 : TBits_1 read getTRISF8 write setTRISF8;
  6946. property w : TBits_32 read getw write setw;
  6947. end;
  6948. TPORTF_PORTF = record
  6949. private
  6950. function getRF0 : TBits_1; inline;
  6951. function getRF1 : TBits_1; inline;
  6952. function getRF12 : TBits_1; inline;
  6953. function getRF13 : TBits_1; inline;
  6954. function getRF2 : TBits_1; inline;
  6955. function getRF3 : TBits_1; inline;
  6956. function getRF4 : TBits_1; inline;
  6957. function getRF5 : TBits_1; inline;
  6958. function getRF6 : TBits_1; inline;
  6959. function getRF7 : TBits_1; inline;
  6960. function getRF8 : TBits_1; inline;
  6961. function getw : TBits_32; inline;
  6962. procedure setRF0(thebits : TBits_1); inline;
  6963. procedure setRF1(thebits : TBits_1); inline;
  6964. procedure setRF12(thebits : TBits_1); inline;
  6965. procedure setRF13(thebits : TBits_1); inline;
  6966. procedure setRF2(thebits : TBits_1); inline;
  6967. procedure setRF3(thebits : TBits_1); inline;
  6968. procedure setRF4(thebits : TBits_1); inline;
  6969. procedure setRF5(thebits : TBits_1); inline;
  6970. procedure setRF6(thebits : TBits_1); inline;
  6971. procedure setRF7(thebits : TBits_1); inline;
  6972. procedure setRF8(thebits : TBits_1); inline;
  6973. procedure setw(thebits : TBits_32); inline;
  6974. public
  6975. procedure clearRF0; inline;
  6976. procedure clearRF12; inline;
  6977. procedure clearRF13; inline;
  6978. procedure clearRF1; inline;
  6979. procedure clearRF2; inline;
  6980. procedure clearRF3; inline;
  6981. procedure clearRF4; inline;
  6982. procedure clearRF5; inline;
  6983. procedure clearRF6; inline;
  6984. procedure clearRF7; inline;
  6985. procedure clearRF8; inline;
  6986. procedure setRF0; inline;
  6987. procedure setRF12; inline;
  6988. procedure setRF13; inline;
  6989. procedure setRF1; inline;
  6990. procedure setRF2; inline;
  6991. procedure setRF3; inline;
  6992. procedure setRF4; inline;
  6993. procedure setRF5; inline;
  6994. procedure setRF6; inline;
  6995. procedure setRF7; inline;
  6996. procedure setRF8; inline;
  6997. property RF0 : TBits_1 read getRF0 write setRF0;
  6998. property RF1 : TBits_1 read getRF1 write setRF1;
  6999. property RF12 : TBits_1 read getRF12 write setRF12;
  7000. property RF13 : TBits_1 read getRF13 write setRF13;
  7001. property RF2 : TBits_1 read getRF2 write setRF2;
  7002. property RF3 : TBits_1 read getRF3 write setRF3;
  7003. property RF4 : TBits_1 read getRF4 write setRF4;
  7004. property RF5 : TBits_1 read getRF5 write setRF5;
  7005. property RF6 : TBits_1 read getRF6 write setRF6;
  7006. property RF7 : TBits_1 read getRF7 write setRF7;
  7007. property RF8 : TBits_1 read getRF8 write setRF8;
  7008. property w : TBits_32 read getw write setw;
  7009. end;
  7010. TPortF_bits=(RF0=0,RF1=1,RF2=2,RF3=3,RF4=4,RF5=5,RF6=6,RF7=7,RF8=8,RF12=12,RF13=13);
  7011. TPortF_bitset = set of TPortF_bits;
  7012. TPORTF_LATF = record
  7013. private
  7014. function getLATF0 : TBits_1; inline;
  7015. function getLATF1 : TBits_1; inline;
  7016. function getLATF12 : TBits_1; inline;
  7017. function getLATF13 : TBits_1; inline;
  7018. function getLATF2 : TBits_1; inline;
  7019. function getLATF3 : TBits_1; inline;
  7020. function getLATF4 : TBits_1; inline;
  7021. function getLATF5 : TBits_1; inline;
  7022. function getLATF6 : TBits_1; inline;
  7023. function getLATF7 : TBits_1; inline;
  7024. function getLATF8 : TBits_1; inline;
  7025. function getw : TBits_32; inline;
  7026. procedure setLATF0(thebits : TBits_1); inline;
  7027. procedure setLATF1(thebits : TBits_1); inline;
  7028. procedure setLATF12(thebits : TBits_1); inline;
  7029. procedure setLATF13(thebits : TBits_1); inline;
  7030. procedure setLATF2(thebits : TBits_1); inline;
  7031. procedure setLATF3(thebits : TBits_1); inline;
  7032. procedure setLATF4(thebits : TBits_1); inline;
  7033. procedure setLATF5(thebits : TBits_1); inline;
  7034. procedure setLATF6(thebits : TBits_1); inline;
  7035. procedure setLATF7(thebits : TBits_1); inline;
  7036. procedure setLATF8(thebits : TBits_1); inline;
  7037. procedure setw(thebits : TBits_32); inline;
  7038. public
  7039. procedure clearLATF0; inline;
  7040. procedure clearLATF12; inline;
  7041. procedure clearLATF13; inline;
  7042. procedure clearLATF1; inline;
  7043. procedure clearLATF2; inline;
  7044. procedure clearLATF3; inline;
  7045. procedure clearLATF4; inline;
  7046. procedure clearLATF5; inline;
  7047. procedure clearLATF6; inline;
  7048. procedure clearLATF7; inline;
  7049. procedure clearLATF8; inline;
  7050. procedure setLATF0; inline;
  7051. procedure setLATF12; inline;
  7052. procedure setLATF13; inline;
  7053. procedure setLATF1; inline;
  7054. procedure setLATF2; inline;
  7055. procedure setLATF3; inline;
  7056. procedure setLATF4; inline;
  7057. procedure setLATF5; inline;
  7058. procedure setLATF6; inline;
  7059. procedure setLATF7; inline;
  7060. procedure setLATF8; inline;
  7061. property LATF0 : TBits_1 read getLATF0 write setLATF0;
  7062. property LATF1 : TBits_1 read getLATF1 write setLATF1;
  7063. property LATF12 : TBits_1 read getLATF12 write setLATF12;
  7064. property LATF13 : TBits_1 read getLATF13 write setLATF13;
  7065. property LATF2 : TBits_1 read getLATF2 write setLATF2;
  7066. property LATF3 : TBits_1 read getLATF3 write setLATF3;
  7067. property LATF4 : TBits_1 read getLATF4 write setLATF4;
  7068. property LATF5 : TBits_1 read getLATF5 write setLATF5;
  7069. property LATF6 : TBits_1 read getLATF6 write setLATF6;
  7070. property LATF7 : TBits_1 read getLATF7 write setLATF7;
  7071. property LATF8 : TBits_1 read getLATF8 write setLATF8;
  7072. property w : TBits_32 read getw write setw;
  7073. end;
  7074. TPORTF_ODCF = record
  7075. private
  7076. function getODCF0 : TBits_1; inline;
  7077. function getODCF1 : TBits_1; inline;
  7078. function getODCF12 : TBits_1; inline;
  7079. function getODCF13 : TBits_1; inline;
  7080. function getODCF2 : TBits_1; inline;
  7081. function getODCF3 : TBits_1; inline;
  7082. function getODCF4 : TBits_1; inline;
  7083. function getODCF5 : TBits_1; inline;
  7084. function getODCF6 : TBits_1; inline;
  7085. function getODCF7 : TBits_1; inline;
  7086. function getODCF8 : TBits_1; inline;
  7087. function getw : TBits_32; inline;
  7088. procedure setODCF0(thebits : TBits_1); inline;
  7089. procedure setODCF1(thebits : TBits_1); inline;
  7090. procedure setODCF12(thebits : TBits_1); inline;
  7091. procedure setODCF13(thebits : TBits_1); inline;
  7092. procedure setODCF2(thebits : TBits_1); inline;
  7093. procedure setODCF3(thebits : TBits_1); inline;
  7094. procedure setODCF4(thebits : TBits_1); inline;
  7095. procedure setODCF5(thebits : TBits_1); inline;
  7096. procedure setODCF6(thebits : TBits_1); inline;
  7097. procedure setODCF7(thebits : TBits_1); inline;
  7098. procedure setODCF8(thebits : TBits_1); inline;
  7099. procedure setw(thebits : TBits_32); inline;
  7100. public
  7101. procedure clearODCF0; inline;
  7102. procedure clearODCF12; inline;
  7103. procedure clearODCF13; inline;
  7104. procedure clearODCF1; inline;
  7105. procedure clearODCF2; inline;
  7106. procedure clearODCF3; inline;
  7107. procedure clearODCF4; inline;
  7108. procedure clearODCF5; inline;
  7109. procedure clearODCF6; inline;
  7110. procedure clearODCF7; inline;
  7111. procedure clearODCF8; inline;
  7112. procedure setODCF0; inline;
  7113. procedure setODCF12; inline;
  7114. procedure setODCF13; inline;
  7115. procedure setODCF1; inline;
  7116. procedure setODCF2; inline;
  7117. procedure setODCF3; inline;
  7118. procedure setODCF4; inline;
  7119. procedure setODCF5; inline;
  7120. procedure setODCF6; inline;
  7121. procedure setODCF7; inline;
  7122. procedure setODCF8; inline;
  7123. property ODCF0 : TBits_1 read getODCF0 write setODCF0;
  7124. property ODCF1 : TBits_1 read getODCF1 write setODCF1;
  7125. property ODCF12 : TBits_1 read getODCF12 write setODCF12;
  7126. property ODCF13 : TBits_1 read getODCF13 write setODCF13;
  7127. property ODCF2 : TBits_1 read getODCF2 write setODCF2;
  7128. property ODCF3 : TBits_1 read getODCF3 write setODCF3;
  7129. property ODCF4 : TBits_1 read getODCF4 write setODCF4;
  7130. property ODCF5 : TBits_1 read getODCF5 write setODCF5;
  7131. property ODCF6 : TBits_1 read getODCF6 write setODCF6;
  7132. property ODCF7 : TBits_1 read getODCF7 write setODCF7;
  7133. property ODCF8 : TBits_1 read getODCF8 write setODCF8;
  7134. property w : TBits_32 read getw write setw;
  7135. end;
  7136. type
  7137. TPORTFRegisters = record
  7138. TRISFbits : TPORTF_TRISF;
  7139. TRISF : longWord;
  7140. TRISFCLR : longWord;
  7141. TRISFSET : longWord;
  7142. TRISFINV : longWord;
  7143. PORTFbits : TPORTF_PORTF;
  7144. PORTF : longWord;
  7145. PORTFCLR : longWord;
  7146. PORTFSET : longWord;
  7147. PORTFINV : longWord;
  7148. LATFbits : TPORTF_LATF;
  7149. LATF : longWord;
  7150. LATFCLR : longWord;
  7151. LATFSET : longWord;
  7152. LATFINV : longWord;
  7153. ODCFbits : TPORTF_ODCF;
  7154. ODCF : longWord;
  7155. ODCFCLR : longWord;
  7156. ODCFSET : longWord;
  7157. ODCFINV : longWord;
  7158. end;
  7159. TPORTG_TRISG = record
  7160. private
  7161. function getTRISG0 : TBits_1; inline;
  7162. function getTRISG1 : TBits_1; inline;
  7163. function getTRISG12 : TBits_1; inline;
  7164. function getTRISG13 : TBits_1; inline;
  7165. function getTRISG14 : TBits_1; inline;
  7166. function getTRISG15 : TBits_1; inline;
  7167. function getTRISG2 : TBits_1; inline;
  7168. function getTRISG3 : TBits_1; inline;
  7169. function getTRISG6 : TBits_1; inline;
  7170. function getTRISG7 : TBits_1; inline;
  7171. function getTRISG8 : TBits_1; inline;
  7172. function getTRISG9 : TBits_1; inline;
  7173. function getw : TBits_32; inline;
  7174. procedure setTRISG0(thebits : TBits_1); inline;
  7175. procedure setTRISG1(thebits : TBits_1); inline;
  7176. procedure setTRISG12(thebits : TBits_1); inline;
  7177. procedure setTRISG13(thebits : TBits_1); inline;
  7178. procedure setTRISG14(thebits : TBits_1); inline;
  7179. procedure setTRISG15(thebits : TBits_1); inline;
  7180. procedure setTRISG2(thebits : TBits_1); inline;
  7181. procedure setTRISG3(thebits : TBits_1); inline;
  7182. procedure setTRISG6(thebits : TBits_1); inline;
  7183. procedure setTRISG7(thebits : TBits_1); inline;
  7184. procedure setTRISG8(thebits : TBits_1); inline;
  7185. procedure setTRISG9(thebits : TBits_1); inline;
  7186. procedure setw(thebits : TBits_32); inline;
  7187. public
  7188. procedure clearTRISG0; inline;
  7189. procedure clearTRISG12; inline;
  7190. procedure clearTRISG13; inline;
  7191. procedure clearTRISG14; inline;
  7192. procedure clearTRISG15; inline;
  7193. procedure clearTRISG1; inline;
  7194. procedure clearTRISG2; inline;
  7195. procedure clearTRISG3; inline;
  7196. procedure clearTRISG6; inline;
  7197. procedure clearTRISG7; inline;
  7198. procedure clearTRISG8; inline;
  7199. procedure clearTRISG9; inline;
  7200. procedure setTRISG0; inline;
  7201. procedure setTRISG12; inline;
  7202. procedure setTRISG13; inline;
  7203. procedure setTRISG14; inline;
  7204. procedure setTRISG15; inline;
  7205. procedure setTRISG1; inline;
  7206. procedure setTRISG2; inline;
  7207. procedure setTRISG3; inline;
  7208. procedure setTRISG6; inline;
  7209. procedure setTRISG7; inline;
  7210. procedure setTRISG8; inline;
  7211. procedure setTRISG9; inline;
  7212. property TRISG0 : TBits_1 read getTRISG0 write setTRISG0;
  7213. property TRISG1 : TBits_1 read getTRISG1 write setTRISG1;
  7214. property TRISG12 : TBits_1 read getTRISG12 write setTRISG12;
  7215. property TRISG13 : TBits_1 read getTRISG13 write setTRISG13;
  7216. property TRISG14 : TBits_1 read getTRISG14 write setTRISG14;
  7217. property TRISG15 : TBits_1 read getTRISG15 write setTRISG15;
  7218. property TRISG2 : TBits_1 read getTRISG2 write setTRISG2;
  7219. property TRISG3 : TBits_1 read getTRISG3 write setTRISG3;
  7220. property TRISG6 : TBits_1 read getTRISG6 write setTRISG6;
  7221. property TRISG7 : TBits_1 read getTRISG7 write setTRISG7;
  7222. property TRISG8 : TBits_1 read getTRISG8 write setTRISG8;
  7223. property TRISG9 : TBits_1 read getTRISG9 write setTRISG9;
  7224. property w : TBits_32 read getw write setw;
  7225. end;
  7226. TPORTG_PORTG = record
  7227. private
  7228. function getRG0 : TBits_1; inline;
  7229. function getRG1 : TBits_1; inline;
  7230. function getRG12 : TBits_1; inline;
  7231. function getRG13 : TBits_1; inline;
  7232. function getRG14 : TBits_1; inline;
  7233. function getRG15 : TBits_1; inline;
  7234. function getRG2 : TBits_1; inline;
  7235. function getRG3 : TBits_1; inline;
  7236. function getRG6 : TBits_1; inline;
  7237. function getRG7 : TBits_1; inline;
  7238. function getRG8 : TBits_1; inline;
  7239. function getRG9 : TBits_1; inline;
  7240. function getw : TBits_32; inline;
  7241. procedure setRG0(thebits : TBits_1); inline;
  7242. procedure setRG1(thebits : TBits_1); inline;
  7243. procedure setRG12(thebits : TBits_1); inline;
  7244. procedure setRG13(thebits : TBits_1); inline;
  7245. procedure setRG14(thebits : TBits_1); inline;
  7246. procedure setRG15(thebits : TBits_1); inline;
  7247. procedure setRG2(thebits : TBits_1); inline;
  7248. procedure setRG3(thebits : TBits_1); inline;
  7249. procedure setRG6(thebits : TBits_1); inline;
  7250. procedure setRG7(thebits : TBits_1); inline;
  7251. procedure setRG8(thebits : TBits_1); inline;
  7252. procedure setRG9(thebits : TBits_1); inline;
  7253. procedure setw(thebits : TBits_32); inline;
  7254. public
  7255. procedure clearRG0; inline;
  7256. procedure clearRG12; inline;
  7257. procedure clearRG13; inline;
  7258. procedure clearRG14; inline;
  7259. procedure clearRG15; inline;
  7260. procedure clearRG1; inline;
  7261. procedure clearRG2; inline;
  7262. procedure clearRG3; inline;
  7263. procedure clearRG6; inline;
  7264. procedure clearRG7; inline;
  7265. procedure clearRG8; inline;
  7266. procedure clearRG9; inline;
  7267. procedure setRG0; inline;
  7268. procedure setRG12; inline;
  7269. procedure setRG13; inline;
  7270. procedure setRG14; inline;
  7271. procedure setRG15; inline;
  7272. procedure setRG1; inline;
  7273. procedure setRG2; inline;
  7274. procedure setRG3; inline;
  7275. procedure setRG6; inline;
  7276. procedure setRG7; inline;
  7277. procedure setRG8; inline;
  7278. procedure setRG9; inline;
  7279. property RG0 : TBits_1 read getRG0 write setRG0;
  7280. property RG1 : TBits_1 read getRG1 write setRG1;
  7281. property RG12 : TBits_1 read getRG12 write setRG12;
  7282. property RG13 : TBits_1 read getRG13 write setRG13;
  7283. property RG14 : TBits_1 read getRG14 write setRG14;
  7284. property RG15 : TBits_1 read getRG15 write setRG15;
  7285. property RG2 : TBits_1 read getRG2 write setRG2;
  7286. property RG3 : TBits_1 read getRG3 write setRG3;
  7287. property RG6 : TBits_1 read getRG6 write setRG6;
  7288. property RG7 : TBits_1 read getRG7 write setRG7;
  7289. property RG8 : TBits_1 read getRG8 write setRG8;
  7290. property RG9 : TBits_1 read getRG9 write setRG9;
  7291. property w : TBits_32 read getw write setw;
  7292. end;
  7293. 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);
  7294. TPortG_bitset = set of TPortG_bits;
  7295. TPORTG_LATG = record
  7296. private
  7297. function getLATG0 : TBits_1; inline;
  7298. function getLATG1 : TBits_1; inline;
  7299. function getLATG12 : TBits_1; inline;
  7300. function getLATG13 : TBits_1; inline;
  7301. function getLATG14 : TBits_1; inline;
  7302. function getLATG15 : TBits_1; inline;
  7303. function getLATG2 : TBits_1; inline;
  7304. function getLATG3 : TBits_1; inline;
  7305. function getLATG6 : TBits_1; inline;
  7306. function getLATG7 : TBits_1; inline;
  7307. function getLATG8 : TBits_1; inline;
  7308. function getLATG9 : TBits_1; inline;
  7309. function getw : TBits_32; inline;
  7310. procedure setLATG0(thebits : TBits_1); inline;
  7311. procedure setLATG1(thebits : TBits_1); inline;
  7312. procedure setLATG12(thebits : TBits_1); inline;
  7313. procedure setLATG13(thebits : TBits_1); inline;
  7314. procedure setLATG14(thebits : TBits_1); inline;
  7315. procedure setLATG15(thebits : TBits_1); inline;
  7316. procedure setLATG2(thebits : TBits_1); inline;
  7317. procedure setLATG3(thebits : TBits_1); inline;
  7318. procedure setLATG6(thebits : TBits_1); inline;
  7319. procedure setLATG7(thebits : TBits_1); inline;
  7320. procedure setLATG8(thebits : TBits_1); inline;
  7321. procedure setLATG9(thebits : TBits_1); inline;
  7322. procedure setw(thebits : TBits_32); inline;
  7323. public
  7324. procedure clearLATG0; inline;
  7325. procedure clearLATG12; inline;
  7326. procedure clearLATG13; inline;
  7327. procedure clearLATG14; inline;
  7328. procedure clearLATG15; inline;
  7329. procedure clearLATG1; inline;
  7330. procedure clearLATG2; inline;
  7331. procedure clearLATG3; inline;
  7332. procedure clearLATG6; inline;
  7333. procedure clearLATG7; inline;
  7334. procedure clearLATG8; inline;
  7335. procedure clearLATG9; inline;
  7336. procedure setLATG0; inline;
  7337. procedure setLATG12; inline;
  7338. procedure setLATG13; inline;
  7339. procedure setLATG14; inline;
  7340. procedure setLATG15; inline;
  7341. procedure setLATG1; inline;
  7342. procedure setLATG2; inline;
  7343. procedure setLATG3; inline;
  7344. procedure setLATG6; inline;
  7345. procedure setLATG7; inline;
  7346. procedure setLATG8; inline;
  7347. procedure setLATG9; inline;
  7348. property LATG0 : TBits_1 read getLATG0 write setLATG0;
  7349. property LATG1 : TBits_1 read getLATG1 write setLATG1;
  7350. property LATG12 : TBits_1 read getLATG12 write setLATG12;
  7351. property LATG13 : TBits_1 read getLATG13 write setLATG13;
  7352. property LATG14 : TBits_1 read getLATG14 write setLATG14;
  7353. property LATG15 : TBits_1 read getLATG15 write setLATG15;
  7354. property LATG2 : TBits_1 read getLATG2 write setLATG2;
  7355. property LATG3 : TBits_1 read getLATG3 write setLATG3;
  7356. property LATG6 : TBits_1 read getLATG6 write setLATG6;
  7357. property LATG7 : TBits_1 read getLATG7 write setLATG7;
  7358. property LATG8 : TBits_1 read getLATG8 write setLATG8;
  7359. property LATG9 : TBits_1 read getLATG9 write setLATG9;
  7360. property w : TBits_32 read getw write setw;
  7361. end;
  7362. TPORTG_ODCG = record
  7363. private
  7364. function getODCG0 : TBits_1; inline;
  7365. function getODCG1 : TBits_1; inline;
  7366. function getODCG12 : TBits_1; inline;
  7367. function getODCG13 : TBits_1; inline;
  7368. function getODCG14 : TBits_1; inline;
  7369. function getODCG15 : TBits_1; inline;
  7370. function getODCG2 : TBits_1; inline;
  7371. function getODCG3 : TBits_1; inline;
  7372. function getODCG6 : TBits_1; inline;
  7373. function getODCG7 : TBits_1; inline;
  7374. function getODCG8 : TBits_1; inline;
  7375. function getODCG9 : TBits_1; inline;
  7376. function getw : TBits_32; inline;
  7377. procedure setODCG0(thebits : TBits_1); inline;
  7378. procedure setODCG1(thebits : TBits_1); inline;
  7379. procedure setODCG12(thebits : TBits_1); inline;
  7380. procedure setODCG13(thebits : TBits_1); inline;
  7381. procedure setODCG14(thebits : TBits_1); inline;
  7382. procedure setODCG15(thebits : TBits_1); inline;
  7383. procedure setODCG2(thebits : TBits_1); inline;
  7384. procedure setODCG3(thebits : TBits_1); inline;
  7385. procedure setODCG6(thebits : TBits_1); inline;
  7386. procedure setODCG7(thebits : TBits_1); inline;
  7387. procedure setODCG8(thebits : TBits_1); inline;
  7388. procedure setODCG9(thebits : TBits_1); inline;
  7389. procedure setw(thebits : TBits_32); inline;
  7390. public
  7391. procedure clearODCG0; inline;
  7392. procedure clearODCG12; inline;
  7393. procedure clearODCG13; inline;
  7394. procedure clearODCG14; inline;
  7395. procedure clearODCG15; inline;
  7396. procedure clearODCG1; inline;
  7397. procedure clearODCG2; inline;
  7398. procedure clearODCG3; inline;
  7399. procedure clearODCG6; inline;
  7400. procedure clearODCG7; inline;
  7401. procedure clearODCG8; inline;
  7402. procedure clearODCG9; inline;
  7403. procedure setODCG0; inline;
  7404. procedure setODCG12; inline;
  7405. procedure setODCG13; inline;
  7406. procedure setODCG14; inline;
  7407. procedure setODCG15; inline;
  7408. procedure setODCG1; inline;
  7409. procedure setODCG2; inline;
  7410. procedure setODCG3; inline;
  7411. procedure setODCG6; inline;
  7412. procedure setODCG7; inline;
  7413. procedure setODCG8; inline;
  7414. procedure setODCG9; inline;
  7415. property ODCG0 : TBits_1 read getODCG0 write setODCG0;
  7416. property ODCG1 : TBits_1 read getODCG1 write setODCG1;
  7417. property ODCG12 : TBits_1 read getODCG12 write setODCG12;
  7418. property ODCG13 : TBits_1 read getODCG13 write setODCG13;
  7419. property ODCG14 : TBits_1 read getODCG14 write setODCG14;
  7420. property ODCG15 : TBits_1 read getODCG15 write setODCG15;
  7421. property ODCG2 : TBits_1 read getODCG2 write setODCG2;
  7422. property ODCG3 : TBits_1 read getODCG3 write setODCG3;
  7423. property ODCG6 : TBits_1 read getODCG6 write setODCG6;
  7424. property ODCG7 : TBits_1 read getODCG7 write setODCG7;
  7425. property ODCG8 : TBits_1 read getODCG8 write setODCG8;
  7426. property ODCG9 : TBits_1 read getODCG9 write setODCG9;
  7427. property w : TBits_32 read getw write setw;
  7428. end;
  7429. TPORTG_CNCON = record
  7430. private
  7431. function getON : TBits_1; inline;
  7432. function getSIDL : TBits_1; inline;
  7433. function getw : TBits_32; inline;
  7434. procedure setON(thebits : TBits_1); inline;
  7435. procedure setSIDL(thebits : TBits_1); inline;
  7436. procedure setw(thebits : TBits_32); inline;
  7437. public
  7438. procedure clearON; inline;
  7439. procedure clearSIDL; inline;
  7440. procedure setON; inline;
  7441. procedure setSIDL; inline;
  7442. property ON : TBits_1 read getON write setON;
  7443. property SIDL : TBits_1 read getSIDL write setSIDL;
  7444. property w : TBits_32 read getw write setw;
  7445. end;
  7446. TPORTG_CNEN = record
  7447. private
  7448. function getCNEN0 : TBits_1; inline;
  7449. function getCNEN1 : TBits_1; inline;
  7450. function getCNEN10 : TBits_1; inline;
  7451. function getCNEN11 : TBits_1; inline;
  7452. function getCNEN12 : TBits_1; inline;
  7453. function getCNEN13 : TBits_1; inline;
  7454. function getCNEN14 : TBits_1; inline;
  7455. function getCNEN15 : TBits_1; inline;
  7456. function getCNEN16 : TBits_1; inline;
  7457. function getCNEN17 : TBits_1; inline;
  7458. function getCNEN18 : TBits_1; inline;
  7459. function getCNEN19 : TBits_1; inline;
  7460. function getCNEN2 : TBits_1; inline;
  7461. function getCNEN20 : TBits_1; inline;
  7462. function getCNEN21 : TBits_1; inline;
  7463. function getCNEN3 : TBits_1; inline;
  7464. function getCNEN4 : TBits_1; inline;
  7465. function getCNEN5 : TBits_1; inline;
  7466. function getCNEN6 : TBits_1; inline;
  7467. function getCNEN7 : TBits_1; inline;
  7468. function getCNEN8 : TBits_1; inline;
  7469. function getCNEN9 : TBits_1; inline;
  7470. function getw : TBits_32; inline;
  7471. procedure setCNEN0(thebits : TBits_1); inline;
  7472. procedure setCNEN1(thebits : TBits_1); inline;
  7473. procedure setCNEN10(thebits : TBits_1); inline;
  7474. procedure setCNEN11(thebits : TBits_1); inline;
  7475. procedure setCNEN12(thebits : TBits_1); inline;
  7476. procedure setCNEN13(thebits : TBits_1); inline;
  7477. procedure setCNEN14(thebits : TBits_1); inline;
  7478. procedure setCNEN15(thebits : TBits_1); inline;
  7479. procedure setCNEN16(thebits : TBits_1); inline;
  7480. procedure setCNEN17(thebits : TBits_1); inline;
  7481. procedure setCNEN18(thebits : TBits_1); inline;
  7482. procedure setCNEN19(thebits : TBits_1); inline;
  7483. procedure setCNEN2(thebits : TBits_1); inline;
  7484. procedure setCNEN20(thebits : TBits_1); inline;
  7485. procedure setCNEN21(thebits : TBits_1); inline;
  7486. procedure setCNEN3(thebits : TBits_1); inline;
  7487. procedure setCNEN4(thebits : TBits_1); inline;
  7488. procedure setCNEN5(thebits : TBits_1); inline;
  7489. procedure setCNEN6(thebits : TBits_1); inline;
  7490. procedure setCNEN7(thebits : TBits_1); inline;
  7491. procedure setCNEN8(thebits : TBits_1); inline;
  7492. procedure setCNEN9(thebits : TBits_1); inline;
  7493. procedure setw(thebits : TBits_32); inline;
  7494. public
  7495. procedure clearCNEN0; inline;
  7496. procedure clearCNEN10; inline;
  7497. procedure clearCNEN11; inline;
  7498. procedure clearCNEN12; inline;
  7499. procedure clearCNEN13; inline;
  7500. procedure clearCNEN14; inline;
  7501. procedure clearCNEN15; inline;
  7502. procedure clearCNEN16; inline;
  7503. procedure clearCNEN17; inline;
  7504. procedure clearCNEN18; inline;
  7505. procedure clearCNEN19; inline;
  7506. procedure clearCNEN1; inline;
  7507. procedure clearCNEN20; inline;
  7508. procedure clearCNEN21; inline;
  7509. procedure clearCNEN2; inline;
  7510. procedure clearCNEN3; inline;
  7511. procedure clearCNEN4; inline;
  7512. procedure clearCNEN5; inline;
  7513. procedure clearCNEN6; inline;
  7514. procedure clearCNEN7; inline;
  7515. procedure clearCNEN8; inline;
  7516. procedure clearCNEN9; inline;
  7517. procedure setCNEN0; inline;
  7518. procedure setCNEN10; inline;
  7519. procedure setCNEN11; inline;
  7520. procedure setCNEN12; inline;
  7521. procedure setCNEN13; inline;
  7522. procedure setCNEN14; inline;
  7523. procedure setCNEN15; inline;
  7524. procedure setCNEN16; inline;
  7525. procedure setCNEN17; inline;
  7526. procedure setCNEN18; inline;
  7527. procedure setCNEN19; inline;
  7528. procedure setCNEN1; inline;
  7529. procedure setCNEN20; inline;
  7530. procedure setCNEN21; inline;
  7531. procedure setCNEN2; inline;
  7532. procedure setCNEN3; inline;
  7533. procedure setCNEN4; inline;
  7534. procedure setCNEN5; inline;
  7535. procedure setCNEN6; inline;
  7536. procedure setCNEN7; inline;
  7537. procedure setCNEN8; inline;
  7538. procedure setCNEN9; inline;
  7539. property CNEN0 : TBits_1 read getCNEN0 write setCNEN0;
  7540. property CNEN1 : TBits_1 read getCNEN1 write setCNEN1;
  7541. property CNEN10 : TBits_1 read getCNEN10 write setCNEN10;
  7542. property CNEN11 : TBits_1 read getCNEN11 write setCNEN11;
  7543. property CNEN12 : TBits_1 read getCNEN12 write setCNEN12;
  7544. property CNEN13 : TBits_1 read getCNEN13 write setCNEN13;
  7545. property CNEN14 : TBits_1 read getCNEN14 write setCNEN14;
  7546. property CNEN15 : TBits_1 read getCNEN15 write setCNEN15;
  7547. property CNEN16 : TBits_1 read getCNEN16 write setCNEN16;
  7548. property CNEN17 : TBits_1 read getCNEN17 write setCNEN17;
  7549. property CNEN18 : TBits_1 read getCNEN18 write setCNEN18;
  7550. property CNEN19 : TBits_1 read getCNEN19 write setCNEN19;
  7551. property CNEN2 : TBits_1 read getCNEN2 write setCNEN2;
  7552. property CNEN20 : TBits_1 read getCNEN20 write setCNEN20;
  7553. property CNEN21 : TBits_1 read getCNEN21 write setCNEN21;
  7554. property CNEN3 : TBits_1 read getCNEN3 write setCNEN3;
  7555. property CNEN4 : TBits_1 read getCNEN4 write setCNEN4;
  7556. property CNEN5 : TBits_1 read getCNEN5 write setCNEN5;
  7557. property CNEN6 : TBits_1 read getCNEN6 write setCNEN6;
  7558. property CNEN7 : TBits_1 read getCNEN7 write setCNEN7;
  7559. property CNEN8 : TBits_1 read getCNEN8 write setCNEN8;
  7560. property CNEN9 : TBits_1 read getCNEN9 write setCNEN9;
  7561. property w : TBits_32 read getw write setw;
  7562. end;
  7563. TPORTG_CNPUE = record
  7564. private
  7565. function getCNPUE0 : TBits_1; inline;
  7566. function getCNPUE1 : TBits_1; inline;
  7567. function getCNPUE10 : TBits_1; inline;
  7568. function getCNPUE11 : TBits_1; inline;
  7569. function getCNPUE12 : TBits_1; inline;
  7570. function getCNPUE13 : TBits_1; inline;
  7571. function getCNPUE14 : TBits_1; inline;
  7572. function getCNPUE15 : TBits_1; inline;
  7573. function getCNPUE16 : TBits_1; inline;
  7574. function getCNPUE17 : TBits_1; inline;
  7575. function getCNPUE18 : TBits_1; inline;
  7576. function getCNPUE19 : TBits_1; inline;
  7577. function getCNPUE2 : TBits_1; inline;
  7578. function getCNPUE20 : TBits_1; inline;
  7579. function getCNPUE21 : TBits_1; inline;
  7580. function getCNPUE3 : TBits_1; inline;
  7581. function getCNPUE4 : TBits_1; inline;
  7582. function getCNPUE5 : TBits_1; inline;
  7583. function getCNPUE6 : TBits_1; inline;
  7584. function getCNPUE7 : TBits_1; inline;
  7585. function getCNPUE8 : TBits_1; inline;
  7586. function getCNPUE9 : TBits_1; inline;
  7587. function getw : TBits_32; inline;
  7588. procedure setCNPUE0(thebits : TBits_1); inline;
  7589. procedure setCNPUE1(thebits : TBits_1); inline;
  7590. procedure setCNPUE10(thebits : TBits_1); inline;
  7591. procedure setCNPUE11(thebits : TBits_1); inline;
  7592. procedure setCNPUE12(thebits : TBits_1); inline;
  7593. procedure setCNPUE13(thebits : TBits_1); inline;
  7594. procedure setCNPUE14(thebits : TBits_1); inline;
  7595. procedure setCNPUE15(thebits : TBits_1); inline;
  7596. procedure setCNPUE16(thebits : TBits_1); inline;
  7597. procedure setCNPUE17(thebits : TBits_1); inline;
  7598. procedure setCNPUE18(thebits : TBits_1); inline;
  7599. procedure setCNPUE19(thebits : TBits_1); inline;
  7600. procedure setCNPUE2(thebits : TBits_1); inline;
  7601. procedure setCNPUE20(thebits : TBits_1); inline;
  7602. procedure setCNPUE21(thebits : TBits_1); inline;
  7603. procedure setCNPUE3(thebits : TBits_1); inline;
  7604. procedure setCNPUE4(thebits : TBits_1); inline;
  7605. procedure setCNPUE5(thebits : TBits_1); inline;
  7606. procedure setCNPUE6(thebits : TBits_1); inline;
  7607. procedure setCNPUE7(thebits : TBits_1); inline;
  7608. procedure setCNPUE8(thebits : TBits_1); inline;
  7609. procedure setCNPUE9(thebits : TBits_1); inline;
  7610. procedure setw(thebits : TBits_32); inline;
  7611. public
  7612. procedure clearCNPUE0; inline;
  7613. procedure clearCNPUE10; inline;
  7614. procedure clearCNPUE11; inline;
  7615. procedure clearCNPUE12; inline;
  7616. procedure clearCNPUE13; inline;
  7617. procedure clearCNPUE14; inline;
  7618. procedure clearCNPUE15; inline;
  7619. procedure clearCNPUE16; inline;
  7620. procedure clearCNPUE17; inline;
  7621. procedure clearCNPUE18; inline;
  7622. procedure clearCNPUE19; inline;
  7623. procedure clearCNPUE1; inline;
  7624. procedure clearCNPUE20; inline;
  7625. procedure clearCNPUE21; inline;
  7626. procedure clearCNPUE2; inline;
  7627. procedure clearCNPUE3; inline;
  7628. procedure clearCNPUE4; inline;
  7629. procedure clearCNPUE5; inline;
  7630. procedure clearCNPUE6; inline;
  7631. procedure clearCNPUE7; inline;
  7632. procedure clearCNPUE8; inline;
  7633. procedure clearCNPUE9; inline;
  7634. procedure setCNPUE0; inline;
  7635. procedure setCNPUE10; inline;
  7636. procedure setCNPUE11; inline;
  7637. procedure setCNPUE12; inline;
  7638. procedure setCNPUE13; inline;
  7639. procedure setCNPUE14; inline;
  7640. procedure setCNPUE15; inline;
  7641. procedure setCNPUE16; inline;
  7642. procedure setCNPUE17; inline;
  7643. procedure setCNPUE18; inline;
  7644. procedure setCNPUE19; inline;
  7645. procedure setCNPUE1; inline;
  7646. procedure setCNPUE20; inline;
  7647. procedure setCNPUE21; inline;
  7648. procedure setCNPUE2; inline;
  7649. procedure setCNPUE3; inline;
  7650. procedure setCNPUE4; inline;
  7651. procedure setCNPUE5; inline;
  7652. procedure setCNPUE6; inline;
  7653. procedure setCNPUE7; inline;
  7654. procedure setCNPUE8; inline;
  7655. procedure setCNPUE9; inline;
  7656. property CNPUE0 : TBits_1 read getCNPUE0 write setCNPUE0;
  7657. property CNPUE1 : TBits_1 read getCNPUE1 write setCNPUE1;
  7658. property CNPUE10 : TBits_1 read getCNPUE10 write setCNPUE10;
  7659. property CNPUE11 : TBits_1 read getCNPUE11 write setCNPUE11;
  7660. property CNPUE12 : TBits_1 read getCNPUE12 write setCNPUE12;
  7661. property CNPUE13 : TBits_1 read getCNPUE13 write setCNPUE13;
  7662. property CNPUE14 : TBits_1 read getCNPUE14 write setCNPUE14;
  7663. property CNPUE15 : TBits_1 read getCNPUE15 write setCNPUE15;
  7664. property CNPUE16 : TBits_1 read getCNPUE16 write setCNPUE16;
  7665. property CNPUE17 : TBits_1 read getCNPUE17 write setCNPUE17;
  7666. property CNPUE18 : TBits_1 read getCNPUE18 write setCNPUE18;
  7667. property CNPUE19 : TBits_1 read getCNPUE19 write setCNPUE19;
  7668. property CNPUE2 : TBits_1 read getCNPUE2 write setCNPUE2;
  7669. property CNPUE20 : TBits_1 read getCNPUE20 write setCNPUE20;
  7670. property CNPUE21 : TBits_1 read getCNPUE21 write setCNPUE21;
  7671. property CNPUE3 : TBits_1 read getCNPUE3 write setCNPUE3;
  7672. property CNPUE4 : TBits_1 read getCNPUE4 write setCNPUE4;
  7673. property CNPUE5 : TBits_1 read getCNPUE5 write setCNPUE5;
  7674. property CNPUE6 : TBits_1 read getCNPUE6 write setCNPUE6;
  7675. property CNPUE7 : TBits_1 read getCNPUE7 write setCNPUE7;
  7676. property CNPUE8 : TBits_1 read getCNPUE8 write setCNPUE8;
  7677. property CNPUE9 : TBits_1 read getCNPUE9 write setCNPUE9;
  7678. property w : TBits_32 read getw write setw;
  7679. end;
  7680. type
  7681. TPORTGRegisters = record
  7682. TRISGbits : TPORTG_TRISG;
  7683. TRISG : longWord;
  7684. TRISGCLR : longWord;
  7685. TRISGSET : longWord;
  7686. TRISGINV : longWord;
  7687. PORTGbits : TPORTG_PORTG;
  7688. PORTG : longWord;
  7689. PORTGCLR : longWord;
  7690. PORTGSET : longWord;
  7691. PORTGINV : longWord;
  7692. LATGbits : TPORTG_LATG;
  7693. LATG : longWord;
  7694. LATGCLR : longWord;
  7695. LATGSET : longWord;
  7696. LATGINV : longWord;
  7697. ODCGbits : TPORTG_ODCG;
  7698. ODCG : longWord;
  7699. ODCGCLR : longWord;
  7700. ODCGSET : longWord;
  7701. ODCGINV : longWord;
  7702. CNCONbits : TPORTG_CNCON;
  7703. CNCON : longWord;
  7704. CNCONCLR : longWord;
  7705. CNCONSET : longWord;
  7706. CNCONINV : longWord;
  7707. CNENbits : TPORTG_CNEN;
  7708. CNEN : longWord;
  7709. CNENCLR : longWord;
  7710. CNENSET : longWord;
  7711. CNENINV : longWord;
  7712. CNPUEbits : TPORTG_CNPUE;
  7713. CNPUE : longWord;
  7714. CNPUECLR : longWord;
  7715. CNPUESET : longWord;
  7716. CNPUEINV : longWord;
  7717. end;
  7718. TDEVCFG_DEVCFG3 = record
  7719. private
  7720. function getUSERID : TBits_16; inline;
  7721. function getw : TBits_32; inline;
  7722. procedure setUSERID(thebits : TBits_16); inline;
  7723. procedure setw(thebits : TBits_32); inline;
  7724. public
  7725. property USERID : TBits_16 read getUSERID write setUSERID;
  7726. property w : TBits_32 read getw write setw;
  7727. end;
  7728. TDEVCFG_DEVCFG2 = record
  7729. private
  7730. function getFPLLIDIV : TBits_3; inline;
  7731. function getFPLLMUL : TBits_3; inline;
  7732. function getFPLLODIV : TBits_3; inline;
  7733. function getw : TBits_32; inline;
  7734. procedure setFPLLIDIV(thebits : TBits_3); inline;
  7735. procedure setFPLLMUL(thebits : TBits_3); inline;
  7736. procedure setFPLLODIV(thebits : TBits_3); inline;
  7737. procedure setw(thebits : TBits_32); inline;
  7738. public
  7739. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  7740. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  7741. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  7742. property w : TBits_32 read getw write setw;
  7743. end;
  7744. TDEVCFG_DEVCFG1 = record
  7745. private
  7746. function getFCKSM : TBits_2; inline;
  7747. function getFNOSC : TBits_3; inline;
  7748. function getFPBDIV : TBits_2; inline;
  7749. function getFSOSCEN : TBits_1; inline;
  7750. function getFWDTEN : TBits_1; inline;
  7751. function getIESO : TBits_1; inline;
  7752. function getOSCIOFNC : TBits_1; inline;
  7753. function getPOSCMOD : TBits_2; inline;
  7754. function getWDTPS : TBits_5; inline;
  7755. function getw : TBits_32; inline;
  7756. procedure setFCKSM(thebits : TBits_2); inline;
  7757. procedure setFNOSC(thebits : TBits_3); inline;
  7758. procedure setFPBDIV(thebits : TBits_2); inline;
  7759. procedure setFSOSCEN(thebits : TBits_1); inline;
  7760. procedure setFWDTEN(thebits : TBits_1); inline;
  7761. procedure setIESO(thebits : TBits_1); inline;
  7762. procedure setOSCIOFNC(thebits : TBits_1); inline;
  7763. procedure setPOSCMOD(thebits : TBits_2); inline;
  7764. procedure setWDTPS(thebits : TBits_5); inline;
  7765. procedure setw(thebits : TBits_32); inline;
  7766. public
  7767. procedure clearFSOSCEN; inline;
  7768. procedure clearFWDTEN; inline;
  7769. procedure clearIESO; inline;
  7770. procedure clearOSCIOFNC; inline;
  7771. procedure setFSOSCEN; inline;
  7772. procedure setFWDTEN; inline;
  7773. procedure setIESO; inline;
  7774. procedure setOSCIOFNC; inline;
  7775. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  7776. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  7777. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  7778. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  7779. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  7780. property IESO : TBits_1 read getIESO write setIESO;
  7781. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  7782. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  7783. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  7784. property w : TBits_32 read getw write setw;
  7785. end;
  7786. TDEVCFG_DEVCFG0 = record
  7787. private
  7788. function getBWP : TBits_1; inline;
  7789. function getCP : TBits_1; inline;
  7790. function getDEBUG : TBits_2; inline;
  7791. function getFDEBUG : TBits_2; inline;
  7792. function getICESEL : TBits_1; inline;
  7793. function getPWP : TBits_8; inline;
  7794. function getw : TBits_32; inline;
  7795. procedure setBWP(thebits : TBits_1); inline;
  7796. procedure setCP(thebits : TBits_1); inline;
  7797. procedure setDEBUG(thebits : TBits_2); inline;
  7798. procedure setFDEBUG(thebits : TBits_2); inline;
  7799. procedure setICESEL(thebits : TBits_1); inline;
  7800. procedure setPWP(thebits : TBits_8); inline;
  7801. procedure setw(thebits : TBits_32); inline;
  7802. public
  7803. procedure clearBWP; inline;
  7804. procedure clearCP; inline;
  7805. procedure clearICESEL; inline;
  7806. procedure setBWP; inline;
  7807. procedure setCP; inline;
  7808. procedure setICESEL; inline;
  7809. property BWP : TBits_1 read getBWP write setBWP;
  7810. property CP : TBits_1 read getCP write setCP;
  7811. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  7812. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  7813. property ICESEL : TBits_1 read getICESEL write setICESEL;
  7814. property PWP : TBits_8 read getPWP write setPWP;
  7815. property w : TBits_32 read getw write setw;
  7816. end;
  7817. const
  7818. _CORE_TIMER_IRQ = 0;
  7819. _CORE_SOFTWARE_0_IRQ = 1;
  7820. _CORE_SOFTWARE_1_IRQ = 2;
  7821. _EXTERNAL_0_IRQ = 3;
  7822. _TIMER_1_IRQ = 4;
  7823. _INPUT_CAPTURE_1_IRQ = 5;
  7824. _OUTPUT_COMPARE_1_IRQ = 6;
  7825. _EXTERNAL_1_IRQ = 7;
  7826. _TIMER_2_IRQ = 8;
  7827. _INPUT_CAPTURE_2_IRQ = 9;
  7828. _OUTPUT_COMPARE_2_IRQ = 10;
  7829. _EXTERNAL_2_IRQ = 11;
  7830. _TIMER_3_IRQ = 12;
  7831. _INPUT_CAPTURE_3_IRQ = 13;
  7832. _OUTPUT_COMPARE_3_IRQ = 14;
  7833. _EXTERNAL_3_IRQ = 15;
  7834. _TIMER_4_IRQ = 16;
  7835. _INPUT_CAPTURE_4_IRQ = 17;
  7836. _OUTPUT_COMPARE_4_IRQ = 18;
  7837. _EXTERNAL_4_IRQ = 19;
  7838. _TIMER_5_IRQ = 20;
  7839. _INPUT_CAPTURE_5_IRQ = 21;
  7840. _OUTPUT_COMPARE_5_IRQ = 22;
  7841. _SPI1_ERR_IRQ = 23;
  7842. _SPI1_TX_IRQ = 24;
  7843. _SPI1_RX_IRQ = 25;
  7844. _UART1_ERR_IRQ = 26;
  7845. _UART1_RX_IRQ = 27;
  7846. _UART1_TX_IRQ = 28;
  7847. _I2C1_BUS_IRQ = 29;
  7848. _I2C1_SLAVE_IRQ = 30;
  7849. _I2C1_MASTER_IRQ = 31;
  7850. _CHANGE_NOTICE_IRQ = 32;
  7851. _ADC_IRQ = 33;
  7852. _PMP_IRQ = 34;
  7853. _COMPARATOR_1_IRQ = 35;
  7854. _COMPARATOR_2_IRQ = 36;
  7855. _SPI2_ERR_IRQ = 37;
  7856. _SPI2_TX_IRQ = 38;
  7857. _SPI2_RX_IRQ = 39;
  7858. _UART2_ERR_IRQ = 40;
  7859. _UART2_RX_IRQ = 41;
  7860. _UART2_TX_IRQ = 42;
  7861. _I2C2_BUS_IRQ = 43;
  7862. _I2C2_SLAVE_IRQ = 44;
  7863. _I2C2_MASTER_IRQ = 45;
  7864. _FAIL_SAFE_MONITOR_IRQ = 46;
  7865. _RTCC_IRQ = 47;
  7866. _DMA0_IRQ = 48;
  7867. _DMA1_IRQ = 49;
  7868. _DMA2_IRQ = 50;
  7869. _DMA3_IRQ = 51;
  7870. _FLASH_CONTROL_IRQ = 56;
  7871. const
  7872. ADC10_BASE_ADDRESS = $BF809000;
  7873. var
  7874. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  7875. const
  7876. BMX_BASE_ADDRESS = $BF882000;
  7877. var
  7878. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  7879. const
  7880. CFG_BASE_ADDRESS = $BF80F200;
  7881. var
  7882. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  7883. const
  7884. CMP_BASE_ADDRESS = $BF80A000;
  7885. var
  7886. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  7887. const
  7888. CVR_BASE_ADDRESS = $BF809800;
  7889. var
  7890. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  7891. const
  7892. DMAC_BASE_ADDRESS = $BF883000;
  7893. var
  7894. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  7895. const
  7896. DMAC0_BASE_ADDRESS = $BF883060;
  7897. var
  7898. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  7899. const
  7900. DMAC1_BASE_ADDRESS = $BF883120;
  7901. var
  7902. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  7903. const
  7904. DMAC2_BASE_ADDRESS = $BF8831E0;
  7905. var
  7906. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  7907. const
  7908. DMAC3_BASE_ADDRESS = $BF8832A0;
  7909. var
  7910. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  7911. const
  7912. I2C1_BASE_ADDRESS = $BF805000;
  7913. var
  7914. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  7915. const
  7916. I2C2_BASE_ADDRESS = $BF805200;
  7917. var
  7918. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  7919. const
  7920. ICAP1_BASE_ADDRESS = $BF802000;
  7921. var
  7922. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  7923. const
  7924. ICAP2_BASE_ADDRESS = $BF802200;
  7925. var
  7926. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  7927. const
  7928. ICAP3_BASE_ADDRESS = $BF802400;
  7929. var
  7930. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  7931. const
  7932. ICAP4_BASE_ADDRESS = $BF802600;
  7933. var
  7934. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  7935. const
  7936. ICAP5_BASE_ADDRESS = $BF802800;
  7937. var
  7938. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  7939. const
  7940. INT_BASE_ADDRESS = $BF881000;
  7941. var
  7942. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  7943. const
  7944. NVM_BASE_ADDRESS = $BF80F400;
  7945. var
  7946. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  7947. const
  7948. OCMP1_BASE_ADDRESS = $BF803000;
  7949. var
  7950. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  7951. const
  7952. OCMP2_BASE_ADDRESS = $BF803200;
  7953. var
  7954. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  7955. const
  7956. OCMP3_BASE_ADDRESS = $BF803400;
  7957. var
  7958. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  7959. const
  7960. OCMP4_BASE_ADDRESS = $BF803600;
  7961. var
  7962. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  7963. const
  7964. OCMP5_BASE_ADDRESS = $BF803800;
  7965. var
  7966. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  7967. const
  7968. OSC_BASE_ADDRESS = $BF80F000;
  7969. var
  7970. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  7971. const
  7972. PCACHE_BASE_ADDRESS = $BF884000;
  7973. var
  7974. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  7975. const
  7976. PMP_BASE_ADDRESS = $BF807000;
  7977. var
  7978. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  7979. const
  7980. PORTA_BASE_ADDRESS = $BF886000;
  7981. var
  7982. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  7983. const
  7984. PORTB_BASE_ADDRESS = $BF886040;
  7985. var
  7986. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  7987. const
  7988. PORTC_BASE_ADDRESS = $BF886080;
  7989. var
  7990. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  7991. const
  7992. PORTD_BASE_ADDRESS = $BF8860C0;
  7993. var
  7994. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  7995. const
  7996. PORTE_BASE_ADDRESS = $BF886100;
  7997. var
  7998. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  7999. const
  8000. PORTF_BASE_ADDRESS = $BF886140;
  8001. var
  8002. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  8003. const
  8004. PORTG_BASE_ADDRESS = $BF886180;
  8005. var
  8006. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  8007. const
  8008. RCON_BASE_ADDRESS = $BF80F600;
  8009. var
  8010. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  8011. const
  8012. RTCC_BASE_ADDRESS = $BF800200;
  8013. var
  8014. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  8015. const
  8016. SPI1_BASE_ADDRESS = $BF805800;
  8017. var
  8018. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  8019. const
  8020. SPI2_BASE_ADDRESS = $BF805A00;
  8021. var
  8022. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  8023. const
  8024. TMR1_BASE_ADDRESS = $BF800600;
  8025. var
  8026. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  8027. const
  8028. TMR23_BASE_ADDRESS = $BF800800;
  8029. var
  8030. TMR23 : TTMR23Registers absolute TMR23_BASE_ADDRESS;
  8031. const
  8032. TMR3_BASE_ADDRESS = $BF800A00;
  8033. var
  8034. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  8035. const
  8036. TMR4_BASE_ADDRESS = $BF800C00;
  8037. var
  8038. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  8039. const
  8040. TMR5_BASE_ADDRESS = $BF800E00;
  8041. var
  8042. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  8043. const
  8044. UART1_BASE_ADDRESS = $BF806000;
  8045. var
  8046. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  8047. const
  8048. UART2_BASE_ADDRESS = $BF806200;
  8049. var
  8050. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  8051. const
  8052. WDT_BASE_ADDRESS = $BF800000;
  8053. var
  8054. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  8055. const
  8056. _APPI_BASE_ADDRESS = $BF880190;
  8057. var
  8058. _APPI : T_APPIRegisters absolute _APPI_BASE_ADDRESS;
  8059. const
  8060. _APPO_BASE_ADDRESS = $BF880180;
  8061. var
  8062. _APPO : T_APPORegisters absolute _APPO_BASE_ADDRESS;
  8063. const
  8064. _DDPSTAT_BASE_ADDRESS = $BF880140;
  8065. var
  8066. _DDPSTAT : T_DDPSTATRegisters absolute _DDPSTAT_BASE_ADDRESS;
  8067. const
  8068. _STRO_BASE_ADDRESS = $BF880170;
  8069. var
  8070. _STRO : T_STRORegisters absolute _STRO_BASE_ADDRESS;
  8071. implementation
  8072. type
  8073. TDefRegMap = record
  8074. val : longWord;
  8075. clr : longWord;
  8076. &set : longWord;
  8077. inv : longWord;
  8078. end;
  8079. pTDefRegMap = ^TDefRegMap;
  8080. procedure TWDT_WDTCON.setWDTCLR; inline;
  8081. begin
  8082. pTDefRegMap(@Self)^.&set := $00000001;
  8083. end;
  8084. procedure TWDT_WDTCON.clearWDTCLR; inline;
  8085. begin
  8086. pTDefRegMap(@Self)^.clr := $00000001;
  8087. end;
  8088. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  8089. begin
  8090. if thebits = 0 then
  8091. pTDefRegMap(@Self)^.clr := $00000001
  8092. else
  8093. pTDefRegMap(@Self)^.&set := $00000001;
  8094. end;
  8095. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  8096. begin
  8097. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  8098. end;
  8099. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  8100. begin
  8101. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  8102. end;
  8103. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  8104. begin
  8105. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  8106. end;
  8107. procedure TWDT_WDTCON.setON; inline;
  8108. begin
  8109. pTDefRegMap(@Self)^.&set := $00008000;
  8110. end;
  8111. procedure TWDT_WDTCON.clearON; inline;
  8112. begin
  8113. pTDefRegMap(@Self)^.clr := $00008000;
  8114. end;
  8115. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  8116. begin
  8117. if thebits = 0 then
  8118. pTDefRegMap(@Self)^.clr := $00008000
  8119. else
  8120. pTDefRegMap(@Self)^.&set := $00008000;
  8121. end;
  8122. function TWDT_WDTCON.getON : TBits_1; inline;
  8123. begin
  8124. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8125. end;
  8126. procedure TWDT_WDTCON.setSWDTPS0; inline;
  8127. begin
  8128. pTDefRegMap(@Self)^.&set := $00000004;
  8129. end;
  8130. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  8131. begin
  8132. pTDefRegMap(@Self)^.clr := $00000004;
  8133. end;
  8134. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  8135. begin
  8136. if thebits = 0 then
  8137. pTDefRegMap(@Self)^.clr := $00000004
  8138. else
  8139. pTDefRegMap(@Self)^.&set := $00000004;
  8140. end;
  8141. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  8142. begin
  8143. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  8144. end;
  8145. procedure TWDT_WDTCON.setSWDTPS1; inline;
  8146. begin
  8147. pTDefRegMap(@Self)^.&set := $00000008;
  8148. end;
  8149. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  8150. begin
  8151. pTDefRegMap(@Self)^.clr := $00000008;
  8152. end;
  8153. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  8154. begin
  8155. if thebits = 0 then
  8156. pTDefRegMap(@Self)^.clr := $00000008
  8157. else
  8158. pTDefRegMap(@Self)^.&set := $00000008;
  8159. end;
  8160. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  8161. begin
  8162. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8163. end;
  8164. procedure TWDT_WDTCON.setSWDTPS2; inline;
  8165. begin
  8166. pTDefRegMap(@Self)^.&set := $00000010;
  8167. end;
  8168. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  8169. begin
  8170. pTDefRegMap(@Self)^.clr := $00000010;
  8171. end;
  8172. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  8173. begin
  8174. if thebits = 0 then
  8175. pTDefRegMap(@Self)^.clr := $00000010
  8176. else
  8177. pTDefRegMap(@Self)^.&set := $00000010;
  8178. end;
  8179. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  8180. begin
  8181. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8182. end;
  8183. procedure TWDT_WDTCON.setSWDTPS3; inline;
  8184. begin
  8185. pTDefRegMap(@Self)^.&set := $00000020;
  8186. end;
  8187. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  8188. begin
  8189. pTDefRegMap(@Self)^.clr := $00000020;
  8190. end;
  8191. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  8192. begin
  8193. if thebits = 0 then
  8194. pTDefRegMap(@Self)^.clr := $00000020
  8195. else
  8196. pTDefRegMap(@Self)^.&set := $00000020;
  8197. end;
  8198. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  8199. begin
  8200. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8201. end;
  8202. procedure TWDT_WDTCON.setSWDTPS4; inline;
  8203. begin
  8204. pTDefRegMap(@Self)^.&set := $00000040;
  8205. end;
  8206. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  8207. begin
  8208. pTDefRegMap(@Self)^.clr := $00000040;
  8209. end;
  8210. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  8211. begin
  8212. if thebits = 0 then
  8213. pTDefRegMap(@Self)^.clr := $00000040
  8214. else
  8215. pTDefRegMap(@Self)^.&set := $00000040;
  8216. end;
  8217. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  8218. begin
  8219. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8220. end;
  8221. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  8222. begin
  8223. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  8224. end;
  8225. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  8226. begin
  8227. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  8228. end;
  8229. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  8230. begin
  8231. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  8232. end;
  8233. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  8234. begin
  8235. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  8236. end;
  8237. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  8238. begin
  8239. pTDefRegMap(@Self)^.val := thebits;
  8240. end;
  8241. function TWDT_WDTCON.getw : TBits_32; inline;
  8242. begin
  8243. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8244. end;
  8245. procedure TRTCC_RTCCON.setRTCOE; inline;
  8246. begin
  8247. pTDefRegMap(@Self)^.&set := $00000001;
  8248. end;
  8249. procedure TRTCC_RTCCON.clearRTCOE; inline;
  8250. begin
  8251. pTDefRegMap(@Self)^.clr := $00000001;
  8252. end;
  8253. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  8254. begin
  8255. if thebits = 0 then
  8256. pTDefRegMap(@Self)^.clr := $00000001
  8257. else
  8258. pTDefRegMap(@Self)^.&set := $00000001;
  8259. end;
  8260. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  8261. begin
  8262. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  8263. end;
  8264. procedure TRTCC_RTCCON.setHALFSEC; inline;
  8265. begin
  8266. pTDefRegMap(@Self)^.&set := $00000002;
  8267. end;
  8268. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  8269. begin
  8270. pTDefRegMap(@Self)^.clr := $00000002;
  8271. end;
  8272. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  8273. begin
  8274. if thebits = 0 then
  8275. pTDefRegMap(@Self)^.clr := $00000002
  8276. else
  8277. pTDefRegMap(@Self)^.&set := $00000002;
  8278. end;
  8279. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  8280. begin
  8281. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8282. end;
  8283. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  8284. begin
  8285. pTDefRegMap(@Self)^.&set := $00000004;
  8286. end;
  8287. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  8288. begin
  8289. pTDefRegMap(@Self)^.clr := $00000004;
  8290. end;
  8291. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  8292. begin
  8293. if thebits = 0 then
  8294. pTDefRegMap(@Self)^.clr := $00000004
  8295. else
  8296. pTDefRegMap(@Self)^.&set := $00000004;
  8297. end;
  8298. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  8299. begin
  8300. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  8301. end;
  8302. procedure TRTCC_RTCCON.setRTCWREN; inline;
  8303. begin
  8304. pTDefRegMap(@Self)^.&set := $00000008;
  8305. end;
  8306. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  8307. begin
  8308. pTDefRegMap(@Self)^.clr := $00000008;
  8309. end;
  8310. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  8311. begin
  8312. if thebits = 0 then
  8313. pTDefRegMap(@Self)^.clr := $00000008
  8314. else
  8315. pTDefRegMap(@Self)^.&set := $00000008;
  8316. end;
  8317. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  8318. begin
  8319. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8320. end;
  8321. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  8322. begin
  8323. pTDefRegMap(@Self)^.&set := $00000040;
  8324. end;
  8325. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  8326. begin
  8327. pTDefRegMap(@Self)^.clr := $00000040;
  8328. end;
  8329. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  8330. begin
  8331. if thebits = 0 then
  8332. pTDefRegMap(@Self)^.clr := $00000040
  8333. else
  8334. pTDefRegMap(@Self)^.&set := $00000040;
  8335. end;
  8336. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  8337. begin
  8338. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  8339. end;
  8340. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  8341. begin
  8342. pTDefRegMap(@Self)^.&set := $00000080;
  8343. end;
  8344. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  8345. begin
  8346. pTDefRegMap(@Self)^.clr := $00000080;
  8347. end;
  8348. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  8349. begin
  8350. if thebits = 0 then
  8351. pTDefRegMap(@Self)^.clr := $00000080
  8352. else
  8353. pTDefRegMap(@Self)^.&set := $00000080;
  8354. end;
  8355. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  8356. begin
  8357. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8358. end;
  8359. procedure TRTCC_RTCCON.setSIDL; inline;
  8360. begin
  8361. pTDefRegMap(@Self)^.&set := $00002000;
  8362. end;
  8363. procedure TRTCC_RTCCON.clearSIDL; inline;
  8364. begin
  8365. pTDefRegMap(@Self)^.clr := $00002000;
  8366. end;
  8367. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  8368. begin
  8369. if thebits = 0 then
  8370. pTDefRegMap(@Self)^.clr := $00002000
  8371. else
  8372. pTDefRegMap(@Self)^.&set := $00002000;
  8373. end;
  8374. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  8375. begin
  8376. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8377. end;
  8378. procedure TRTCC_RTCCON.setON; inline;
  8379. begin
  8380. pTDefRegMap(@Self)^.&set := $00008000;
  8381. end;
  8382. procedure TRTCC_RTCCON.clearON; inline;
  8383. begin
  8384. pTDefRegMap(@Self)^.clr := $00008000;
  8385. end;
  8386. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  8387. begin
  8388. if thebits = 0 then
  8389. pTDefRegMap(@Self)^.clr := $00008000
  8390. else
  8391. pTDefRegMap(@Self)^.&set := $00008000;
  8392. end;
  8393. function TRTCC_RTCCON.getON : TBits_1; inline;
  8394. begin
  8395. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8396. end;
  8397. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  8398. begin
  8399. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  8400. end;
  8401. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  8402. begin
  8403. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  8404. end;
  8405. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  8406. begin
  8407. pTDefRegMap(@Self)^.val := thebits;
  8408. end;
  8409. function TRTCC_RTCCON.getw : TBits_32; inline;
  8410. begin
  8411. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8412. end;
  8413. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  8414. begin
  8415. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  8416. end;
  8417. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  8418. begin
  8419. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  8420. end;
  8421. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  8422. begin
  8423. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  8424. end;
  8425. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  8426. begin
  8427. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  8428. end;
  8429. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  8430. begin
  8431. pTDefRegMap(@Self)^.&set := $00001000;
  8432. end;
  8433. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  8434. begin
  8435. pTDefRegMap(@Self)^.clr := $00001000;
  8436. end;
  8437. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  8438. begin
  8439. if thebits = 0 then
  8440. pTDefRegMap(@Self)^.clr := $00001000
  8441. else
  8442. pTDefRegMap(@Self)^.&set := $00001000;
  8443. end;
  8444. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  8445. begin
  8446. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  8447. end;
  8448. procedure TRTCC_RTCALRM.setPIV; inline;
  8449. begin
  8450. pTDefRegMap(@Self)^.&set := $00002000;
  8451. end;
  8452. procedure TRTCC_RTCALRM.clearPIV; inline;
  8453. begin
  8454. pTDefRegMap(@Self)^.clr := $00002000;
  8455. end;
  8456. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  8457. begin
  8458. if thebits = 0 then
  8459. pTDefRegMap(@Self)^.clr := $00002000
  8460. else
  8461. pTDefRegMap(@Self)^.&set := $00002000;
  8462. end;
  8463. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  8464. begin
  8465. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8466. end;
  8467. procedure TRTCC_RTCALRM.setCHIME; inline;
  8468. begin
  8469. pTDefRegMap(@Self)^.&set := $00004000;
  8470. end;
  8471. procedure TRTCC_RTCALRM.clearCHIME; inline;
  8472. begin
  8473. pTDefRegMap(@Self)^.clr := $00004000;
  8474. end;
  8475. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  8476. begin
  8477. if thebits = 0 then
  8478. pTDefRegMap(@Self)^.clr := $00004000
  8479. else
  8480. pTDefRegMap(@Self)^.&set := $00004000;
  8481. end;
  8482. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  8483. begin
  8484. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  8485. end;
  8486. procedure TRTCC_RTCALRM.setALRMEN; inline;
  8487. begin
  8488. pTDefRegMap(@Self)^.&set := $00008000;
  8489. end;
  8490. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  8491. begin
  8492. pTDefRegMap(@Self)^.clr := $00008000;
  8493. end;
  8494. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  8495. begin
  8496. if thebits = 0 then
  8497. pTDefRegMap(@Self)^.clr := $00008000
  8498. else
  8499. pTDefRegMap(@Self)^.&set := $00008000;
  8500. end;
  8501. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  8502. begin
  8503. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8504. end;
  8505. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  8506. begin
  8507. pTDefRegMap(@Self)^.val := thebits;
  8508. end;
  8509. function TRTCC_RTCALRM.getw : TBits_32; inline;
  8510. begin
  8511. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8512. end;
  8513. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  8514. begin
  8515. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  8516. end;
  8517. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  8518. begin
  8519. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  8520. end;
  8521. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  8522. begin
  8523. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  8524. end;
  8525. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  8526. begin
  8527. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  8528. end;
  8529. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  8530. begin
  8531. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  8532. end;
  8533. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  8534. begin
  8535. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  8536. end;
  8537. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  8538. begin
  8539. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  8540. end;
  8541. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  8542. begin
  8543. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  8544. end;
  8545. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  8546. begin
  8547. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  8548. end;
  8549. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  8550. begin
  8551. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  8552. end;
  8553. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  8554. begin
  8555. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  8556. end;
  8557. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  8558. begin
  8559. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  8560. end;
  8561. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  8562. begin
  8563. pTDefRegMap(@Self)^.val := thebits;
  8564. end;
  8565. function TRTCC_RTCTIME.getw : TBits_32; inline;
  8566. begin
  8567. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8568. end;
  8569. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  8570. begin
  8571. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  8572. end;
  8573. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  8574. begin
  8575. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  8576. end;
  8577. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  8578. begin
  8579. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  8580. end;
  8581. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  8582. begin
  8583. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  8584. end;
  8585. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  8586. begin
  8587. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  8588. end;
  8589. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  8590. begin
  8591. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  8592. end;
  8593. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  8594. begin
  8595. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  8596. end;
  8597. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  8598. begin
  8599. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  8600. end;
  8601. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  8602. begin
  8603. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  8604. end;
  8605. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  8606. begin
  8607. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  8608. end;
  8609. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  8610. begin
  8611. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  8612. end;
  8613. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  8614. begin
  8615. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  8616. end;
  8617. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  8618. begin
  8619. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  8620. end;
  8621. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  8622. begin
  8623. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  8624. end;
  8625. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  8626. begin
  8627. pTDefRegMap(@Self)^.val := thebits;
  8628. end;
  8629. function TRTCC_RTCDATE.getw : TBits_32; inline;
  8630. begin
  8631. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8632. end;
  8633. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  8634. begin
  8635. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  8636. end;
  8637. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  8638. begin
  8639. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  8640. end;
  8641. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  8642. begin
  8643. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  8644. end;
  8645. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  8646. begin
  8647. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  8648. end;
  8649. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  8650. begin
  8651. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  8652. end;
  8653. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  8654. begin
  8655. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  8656. end;
  8657. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  8658. begin
  8659. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  8660. end;
  8661. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  8662. begin
  8663. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  8664. end;
  8665. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  8666. begin
  8667. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  8668. end;
  8669. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  8670. begin
  8671. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  8672. end;
  8673. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  8674. begin
  8675. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  8676. end;
  8677. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  8678. begin
  8679. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  8680. end;
  8681. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  8682. begin
  8683. pTDefRegMap(@Self)^.val := thebits;
  8684. end;
  8685. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  8686. begin
  8687. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8688. end;
  8689. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  8690. begin
  8691. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  8692. end;
  8693. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  8694. begin
  8695. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  8696. end;
  8697. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  8698. begin
  8699. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  8700. end;
  8701. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  8702. begin
  8703. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  8704. end;
  8705. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  8706. begin
  8707. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  8708. end;
  8709. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  8710. begin
  8711. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  8712. end;
  8713. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  8714. begin
  8715. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  8716. end;
  8717. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  8718. begin
  8719. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  8720. end;
  8721. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  8722. begin
  8723. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  8724. end;
  8725. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  8726. begin
  8727. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  8728. end;
  8729. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  8730. begin
  8731. pTDefRegMap(@Self)^.val := thebits;
  8732. end;
  8733. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  8734. begin
  8735. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8736. end;
  8737. procedure TTMR1_T1CON.setTCS; inline;
  8738. begin
  8739. pTDefRegMap(@Self)^.&set := $00000002;
  8740. end;
  8741. procedure TTMR1_T1CON.clearTCS; inline;
  8742. begin
  8743. pTDefRegMap(@Self)^.clr := $00000002;
  8744. end;
  8745. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  8746. begin
  8747. if thebits = 0 then
  8748. pTDefRegMap(@Self)^.clr := $00000002
  8749. else
  8750. pTDefRegMap(@Self)^.&set := $00000002;
  8751. end;
  8752. function TTMR1_T1CON.getTCS : TBits_1; inline;
  8753. begin
  8754. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8755. end;
  8756. procedure TTMR1_T1CON.setTSYNC; inline;
  8757. begin
  8758. pTDefRegMap(@Self)^.&set := $00000004;
  8759. end;
  8760. procedure TTMR1_T1CON.clearTSYNC; inline;
  8761. begin
  8762. pTDefRegMap(@Self)^.clr := $00000004;
  8763. end;
  8764. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  8765. begin
  8766. if thebits = 0 then
  8767. pTDefRegMap(@Self)^.clr := $00000004
  8768. else
  8769. pTDefRegMap(@Self)^.&set := $00000004;
  8770. end;
  8771. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  8772. begin
  8773. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  8774. end;
  8775. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  8776. begin
  8777. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  8778. end;
  8779. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  8780. begin
  8781. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  8782. end;
  8783. procedure TTMR1_T1CON.setTGATE; inline;
  8784. begin
  8785. pTDefRegMap(@Self)^.&set := $00000080;
  8786. end;
  8787. procedure TTMR1_T1CON.clearTGATE; inline;
  8788. begin
  8789. pTDefRegMap(@Self)^.clr := $00000080;
  8790. end;
  8791. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  8792. begin
  8793. if thebits = 0 then
  8794. pTDefRegMap(@Self)^.clr := $00000080
  8795. else
  8796. pTDefRegMap(@Self)^.&set := $00000080;
  8797. end;
  8798. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  8799. begin
  8800. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  8801. end;
  8802. procedure TTMR1_T1CON.setTWIP; inline;
  8803. begin
  8804. pTDefRegMap(@Self)^.&set := $00000800;
  8805. end;
  8806. procedure TTMR1_T1CON.clearTWIP; inline;
  8807. begin
  8808. pTDefRegMap(@Self)^.clr := $00000800;
  8809. end;
  8810. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  8811. begin
  8812. if thebits = 0 then
  8813. pTDefRegMap(@Self)^.clr := $00000800
  8814. else
  8815. pTDefRegMap(@Self)^.&set := $00000800;
  8816. end;
  8817. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  8818. begin
  8819. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  8820. end;
  8821. procedure TTMR1_T1CON.setTWDIS; inline;
  8822. begin
  8823. pTDefRegMap(@Self)^.&set := $00001000;
  8824. end;
  8825. procedure TTMR1_T1CON.clearTWDIS; inline;
  8826. begin
  8827. pTDefRegMap(@Self)^.clr := $00001000;
  8828. end;
  8829. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  8830. begin
  8831. if thebits = 0 then
  8832. pTDefRegMap(@Self)^.clr := $00001000
  8833. else
  8834. pTDefRegMap(@Self)^.&set := $00001000;
  8835. end;
  8836. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  8837. begin
  8838. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  8839. end;
  8840. procedure TTMR1_T1CON.setSIDL; inline;
  8841. begin
  8842. pTDefRegMap(@Self)^.&set := $00002000;
  8843. end;
  8844. procedure TTMR1_T1CON.clearSIDL; inline;
  8845. begin
  8846. pTDefRegMap(@Self)^.clr := $00002000;
  8847. end;
  8848. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  8849. begin
  8850. if thebits = 0 then
  8851. pTDefRegMap(@Self)^.clr := $00002000
  8852. else
  8853. pTDefRegMap(@Self)^.&set := $00002000;
  8854. end;
  8855. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  8856. begin
  8857. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8858. end;
  8859. procedure TTMR1_T1CON.setON; inline;
  8860. begin
  8861. pTDefRegMap(@Self)^.&set := $00008000;
  8862. end;
  8863. procedure TTMR1_T1CON.clearON; inline;
  8864. begin
  8865. pTDefRegMap(@Self)^.clr := $00008000;
  8866. end;
  8867. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  8868. begin
  8869. if thebits = 0 then
  8870. pTDefRegMap(@Self)^.clr := $00008000
  8871. else
  8872. pTDefRegMap(@Self)^.&set := $00008000;
  8873. end;
  8874. function TTMR1_T1CON.getON : TBits_1; inline;
  8875. begin
  8876. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8877. end;
  8878. procedure TTMR1_T1CON.setTCKPS0; inline;
  8879. begin
  8880. pTDefRegMap(@Self)^.&set := $00000010;
  8881. end;
  8882. procedure TTMR1_T1CON.clearTCKPS0; inline;
  8883. begin
  8884. pTDefRegMap(@Self)^.clr := $00000010;
  8885. end;
  8886. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  8887. begin
  8888. if thebits = 0 then
  8889. pTDefRegMap(@Self)^.clr := $00000010
  8890. else
  8891. pTDefRegMap(@Self)^.&set := $00000010;
  8892. end;
  8893. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  8894. begin
  8895. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  8896. end;
  8897. procedure TTMR1_T1CON.setTCKPS1; inline;
  8898. begin
  8899. pTDefRegMap(@Self)^.&set := $00000020;
  8900. end;
  8901. procedure TTMR1_T1CON.clearTCKPS1; inline;
  8902. begin
  8903. pTDefRegMap(@Self)^.clr := $00000020;
  8904. end;
  8905. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  8906. begin
  8907. if thebits = 0 then
  8908. pTDefRegMap(@Self)^.clr := $00000020
  8909. else
  8910. pTDefRegMap(@Self)^.&set := $00000020;
  8911. end;
  8912. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  8913. begin
  8914. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  8915. end;
  8916. procedure TTMR1_T1CON.setTSIDL; inline;
  8917. begin
  8918. pTDefRegMap(@Self)^.&set := $00002000;
  8919. end;
  8920. procedure TTMR1_T1CON.clearTSIDL; inline;
  8921. begin
  8922. pTDefRegMap(@Self)^.clr := $00002000;
  8923. end;
  8924. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  8925. begin
  8926. if thebits = 0 then
  8927. pTDefRegMap(@Self)^.clr := $00002000
  8928. else
  8929. pTDefRegMap(@Self)^.&set := $00002000;
  8930. end;
  8931. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  8932. begin
  8933. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  8934. end;
  8935. procedure TTMR1_T1CON.setTON; inline;
  8936. begin
  8937. pTDefRegMap(@Self)^.&set := $00008000;
  8938. end;
  8939. procedure TTMR1_T1CON.clearTON; inline;
  8940. begin
  8941. pTDefRegMap(@Self)^.clr := $00008000;
  8942. end;
  8943. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  8944. begin
  8945. if thebits = 0 then
  8946. pTDefRegMap(@Self)^.clr := $00008000
  8947. else
  8948. pTDefRegMap(@Self)^.&set := $00008000;
  8949. end;
  8950. function TTMR1_T1CON.getTON : TBits_1; inline;
  8951. begin
  8952. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  8953. end;
  8954. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  8955. begin
  8956. pTDefRegMap(@Self)^.val := thebits;
  8957. end;
  8958. function TTMR1_T1CON.getw : TBits_32; inline;
  8959. begin
  8960. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  8961. end;
  8962. procedure TTMR23_T2CON.setTCS; inline;
  8963. begin
  8964. pTDefRegMap(@Self)^.&set := $00000002;
  8965. end;
  8966. procedure TTMR23_T2CON.clearTCS; inline;
  8967. begin
  8968. pTDefRegMap(@Self)^.clr := $00000002;
  8969. end;
  8970. procedure TTMR23_T2CON.setTCS(thebits : TBits_1); inline;
  8971. begin
  8972. if thebits = 0 then
  8973. pTDefRegMap(@Self)^.clr := $00000002
  8974. else
  8975. pTDefRegMap(@Self)^.&set := $00000002;
  8976. end;
  8977. function TTMR23_T2CON.getTCS : TBits_1; inline;
  8978. begin
  8979. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  8980. end;
  8981. procedure TTMR23_T2CON.setT32; inline;
  8982. begin
  8983. pTDefRegMap(@Self)^.&set := $00000008;
  8984. end;
  8985. procedure TTMR23_T2CON.clearT32; inline;
  8986. begin
  8987. pTDefRegMap(@Self)^.clr := $00000008;
  8988. end;
  8989. procedure TTMR23_T2CON.setT32(thebits : TBits_1); inline;
  8990. begin
  8991. if thebits = 0 then
  8992. pTDefRegMap(@Self)^.clr := $00000008
  8993. else
  8994. pTDefRegMap(@Self)^.&set := $00000008;
  8995. end;
  8996. function TTMR23_T2CON.getT32 : TBits_1; inline;
  8997. begin
  8998. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  8999. end;
  9000. procedure TTMR23_T2CON.setTCKPS(thebits : TBits_3); inline;
  9001. begin
  9002. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  9003. end;
  9004. function TTMR23_T2CON.getTCKPS : TBits_3; inline;
  9005. begin
  9006. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  9007. end;
  9008. procedure TTMR23_T2CON.setTGATE; inline;
  9009. begin
  9010. pTDefRegMap(@Self)^.&set := $00000080;
  9011. end;
  9012. procedure TTMR23_T2CON.clearTGATE; inline;
  9013. begin
  9014. pTDefRegMap(@Self)^.clr := $00000080;
  9015. end;
  9016. procedure TTMR23_T2CON.setTGATE(thebits : TBits_1); inline;
  9017. begin
  9018. if thebits = 0 then
  9019. pTDefRegMap(@Self)^.clr := $00000080
  9020. else
  9021. pTDefRegMap(@Self)^.&set := $00000080;
  9022. end;
  9023. function TTMR23_T2CON.getTGATE : TBits_1; inline;
  9024. begin
  9025. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9026. end;
  9027. procedure TTMR23_T2CON.setSIDL; inline;
  9028. begin
  9029. pTDefRegMap(@Self)^.&set := $00002000;
  9030. end;
  9031. procedure TTMR23_T2CON.clearSIDL; inline;
  9032. begin
  9033. pTDefRegMap(@Self)^.clr := $00002000;
  9034. end;
  9035. procedure TTMR23_T2CON.setSIDL(thebits : TBits_1); inline;
  9036. begin
  9037. if thebits = 0 then
  9038. pTDefRegMap(@Self)^.clr := $00002000
  9039. else
  9040. pTDefRegMap(@Self)^.&set := $00002000;
  9041. end;
  9042. function TTMR23_T2CON.getSIDL : TBits_1; inline;
  9043. begin
  9044. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9045. end;
  9046. procedure TTMR23_T2CON.setON; inline;
  9047. begin
  9048. pTDefRegMap(@Self)^.&set := $00008000;
  9049. end;
  9050. procedure TTMR23_T2CON.clearON; inline;
  9051. begin
  9052. pTDefRegMap(@Self)^.clr := $00008000;
  9053. end;
  9054. procedure TTMR23_T2CON.setON(thebits : TBits_1); inline;
  9055. begin
  9056. if thebits = 0 then
  9057. pTDefRegMap(@Self)^.clr := $00008000
  9058. else
  9059. pTDefRegMap(@Self)^.&set := $00008000;
  9060. end;
  9061. function TTMR23_T2CON.getON : TBits_1; inline;
  9062. begin
  9063. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9064. end;
  9065. procedure TTMR23_T2CON.setTCKPS0; inline;
  9066. begin
  9067. pTDefRegMap(@Self)^.&set := $00000010;
  9068. end;
  9069. procedure TTMR23_T2CON.clearTCKPS0; inline;
  9070. begin
  9071. pTDefRegMap(@Self)^.clr := $00000010;
  9072. end;
  9073. procedure TTMR23_T2CON.setTCKPS0(thebits : TBits_1); inline;
  9074. begin
  9075. if thebits = 0 then
  9076. pTDefRegMap(@Self)^.clr := $00000010
  9077. else
  9078. pTDefRegMap(@Self)^.&set := $00000010;
  9079. end;
  9080. function TTMR23_T2CON.getTCKPS0 : TBits_1; inline;
  9081. begin
  9082. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9083. end;
  9084. procedure TTMR23_T2CON.setTCKPS1; inline;
  9085. begin
  9086. pTDefRegMap(@Self)^.&set := $00000020;
  9087. end;
  9088. procedure TTMR23_T2CON.clearTCKPS1; inline;
  9089. begin
  9090. pTDefRegMap(@Self)^.clr := $00000020;
  9091. end;
  9092. procedure TTMR23_T2CON.setTCKPS1(thebits : TBits_1); inline;
  9093. begin
  9094. if thebits = 0 then
  9095. pTDefRegMap(@Self)^.clr := $00000020
  9096. else
  9097. pTDefRegMap(@Self)^.&set := $00000020;
  9098. end;
  9099. function TTMR23_T2CON.getTCKPS1 : TBits_1; inline;
  9100. begin
  9101. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9102. end;
  9103. procedure TTMR23_T2CON.setTCKPS2; inline;
  9104. begin
  9105. pTDefRegMap(@Self)^.&set := $00000040;
  9106. end;
  9107. procedure TTMR23_T2CON.clearTCKPS2; inline;
  9108. begin
  9109. pTDefRegMap(@Self)^.clr := $00000040;
  9110. end;
  9111. procedure TTMR23_T2CON.setTCKPS2(thebits : TBits_1); inline;
  9112. begin
  9113. if thebits = 0 then
  9114. pTDefRegMap(@Self)^.clr := $00000040
  9115. else
  9116. pTDefRegMap(@Self)^.&set := $00000040;
  9117. end;
  9118. function TTMR23_T2CON.getTCKPS2 : TBits_1; inline;
  9119. begin
  9120. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9121. end;
  9122. procedure TTMR23_T2CON.setTSIDL; inline;
  9123. begin
  9124. pTDefRegMap(@Self)^.&set := $00002000;
  9125. end;
  9126. procedure TTMR23_T2CON.clearTSIDL; inline;
  9127. begin
  9128. pTDefRegMap(@Self)^.clr := $00002000;
  9129. end;
  9130. procedure TTMR23_T2CON.setTSIDL(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 TTMR23_T2CON.getTSIDL : TBits_1; inline;
  9138. begin
  9139. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9140. end;
  9141. procedure TTMR23_T2CON.setTON; inline;
  9142. begin
  9143. pTDefRegMap(@Self)^.&set := $00008000;
  9144. end;
  9145. procedure TTMR23_T2CON.clearTON; inline;
  9146. begin
  9147. pTDefRegMap(@Self)^.clr := $00008000;
  9148. end;
  9149. procedure TTMR23_T2CON.setTON(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 TTMR23_T2CON.getTON : TBits_1; inline;
  9157. begin
  9158. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9159. end;
  9160. procedure TTMR23_T2CON.setw(thebits : TBits_32); inline;
  9161. begin
  9162. pTDefRegMap(@Self)^.val := thebits;
  9163. end;
  9164. function TTMR23_T2CON.getw : TBits_32; inline;
  9165. begin
  9166. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9167. end;
  9168. procedure TTMR3_T3CON.setTCS; inline;
  9169. begin
  9170. pTDefRegMap(@Self)^.&set := $00000002;
  9171. end;
  9172. procedure TTMR3_T3CON.clearTCS; inline;
  9173. begin
  9174. pTDefRegMap(@Self)^.clr := $00000002;
  9175. end;
  9176. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  9177. begin
  9178. if thebits = 0 then
  9179. pTDefRegMap(@Self)^.clr := $00000002
  9180. else
  9181. pTDefRegMap(@Self)^.&set := $00000002;
  9182. end;
  9183. function TTMR3_T3CON.getTCS : TBits_1; inline;
  9184. begin
  9185. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9186. end;
  9187. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  9188. begin
  9189. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  9190. end;
  9191. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  9192. begin
  9193. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  9194. end;
  9195. procedure TTMR3_T3CON.setTGATE; inline;
  9196. begin
  9197. pTDefRegMap(@Self)^.&set := $00000080;
  9198. end;
  9199. procedure TTMR3_T3CON.clearTGATE; inline;
  9200. begin
  9201. pTDefRegMap(@Self)^.clr := $00000080;
  9202. end;
  9203. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  9204. begin
  9205. if thebits = 0 then
  9206. pTDefRegMap(@Self)^.clr := $00000080
  9207. else
  9208. pTDefRegMap(@Self)^.&set := $00000080;
  9209. end;
  9210. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  9211. begin
  9212. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9213. end;
  9214. procedure TTMR3_T3CON.setSIDL; inline;
  9215. begin
  9216. pTDefRegMap(@Self)^.&set := $00002000;
  9217. end;
  9218. procedure TTMR3_T3CON.clearSIDL; inline;
  9219. begin
  9220. pTDefRegMap(@Self)^.clr := $00002000;
  9221. end;
  9222. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  9223. begin
  9224. if thebits = 0 then
  9225. pTDefRegMap(@Self)^.clr := $00002000
  9226. else
  9227. pTDefRegMap(@Self)^.&set := $00002000;
  9228. end;
  9229. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  9230. begin
  9231. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9232. end;
  9233. procedure TTMR3_T3CON.setON; inline;
  9234. begin
  9235. pTDefRegMap(@Self)^.&set := $00008000;
  9236. end;
  9237. procedure TTMR3_T3CON.clearON; inline;
  9238. begin
  9239. pTDefRegMap(@Self)^.clr := $00008000;
  9240. end;
  9241. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  9242. begin
  9243. if thebits = 0 then
  9244. pTDefRegMap(@Self)^.clr := $00008000
  9245. else
  9246. pTDefRegMap(@Self)^.&set := $00008000;
  9247. end;
  9248. function TTMR3_T3CON.getON : TBits_1; inline;
  9249. begin
  9250. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9251. end;
  9252. procedure TTMR3_T3CON.setTCKPS0; inline;
  9253. begin
  9254. pTDefRegMap(@Self)^.&set := $00000010;
  9255. end;
  9256. procedure TTMR3_T3CON.clearTCKPS0; inline;
  9257. begin
  9258. pTDefRegMap(@Self)^.clr := $00000010;
  9259. end;
  9260. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  9261. begin
  9262. if thebits = 0 then
  9263. pTDefRegMap(@Self)^.clr := $00000010
  9264. else
  9265. pTDefRegMap(@Self)^.&set := $00000010;
  9266. end;
  9267. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  9268. begin
  9269. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9270. end;
  9271. procedure TTMR3_T3CON.setTCKPS1; inline;
  9272. begin
  9273. pTDefRegMap(@Self)^.&set := $00000020;
  9274. end;
  9275. procedure TTMR3_T3CON.clearTCKPS1; inline;
  9276. begin
  9277. pTDefRegMap(@Self)^.clr := $00000020;
  9278. end;
  9279. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  9280. begin
  9281. if thebits = 0 then
  9282. pTDefRegMap(@Self)^.clr := $00000020
  9283. else
  9284. pTDefRegMap(@Self)^.&set := $00000020;
  9285. end;
  9286. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  9287. begin
  9288. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9289. end;
  9290. procedure TTMR3_T3CON.setTCKPS2; inline;
  9291. begin
  9292. pTDefRegMap(@Self)^.&set := $00000040;
  9293. end;
  9294. procedure TTMR3_T3CON.clearTCKPS2; inline;
  9295. begin
  9296. pTDefRegMap(@Self)^.clr := $00000040;
  9297. end;
  9298. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  9299. begin
  9300. if thebits = 0 then
  9301. pTDefRegMap(@Self)^.clr := $00000040
  9302. else
  9303. pTDefRegMap(@Self)^.&set := $00000040;
  9304. end;
  9305. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  9306. begin
  9307. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9308. end;
  9309. procedure TTMR3_T3CON.setTSIDL; inline;
  9310. begin
  9311. pTDefRegMap(@Self)^.&set := $00002000;
  9312. end;
  9313. procedure TTMR3_T3CON.clearTSIDL; inline;
  9314. begin
  9315. pTDefRegMap(@Self)^.clr := $00002000;
  9316. end;
  9317. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  9318. begin
  9319. if thebits = 0 then
  9320. pTDefRegMap(@Self)^.clr := $00002000
  9321. else
  9322. pTDefRegMap(@Self)^.&set := $00002000;
  9323. end;
  9324. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  9325. begin
  9326. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9327. end;
  9328. procedure TTMR3_T3CON.setTON; inline;
  9329. begin
  9330. pTDefRegMap(@Self)^.&set := $00008000;
  9331. end;
  9332. procedure TTMR3_T3CON.clearTON; inline;
  9333. begin
  9334. pTDefRegMap(@Self)^.clr := $00008000;
  9335. end;
  9336. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  9337. begin
  9338. if thebits = 0 then
  9339. pTDefRegMap(@Self)^.clr := $00008000
  9340. else
  9341. pTDefRegMap(@Self)^.&set := $00008000;
  9342. end;
  9343. function TTMR3_T3CON.getTON : TBits_1; inline;
  9344. begin
  9345. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9346. end;
  9347. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  9348. begin
  9349. pTDefRegMap(@Self)^.val := thebits;
  9350. end;
  9351. function TTMR3_T3CON.getw : TBits_32; inline;
  9352. begin
  9353. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9354. end;
  9355. procedure TTMR4_T4CON.setTCS; inline;
  9356. begin
  9357. pTDefRegMap(@Self)^.&set := $00000002;
  9358. end;
  9359. procedure TTMR4_T4CON.clearTCS; inline;
  9360. begin
  9361. pTDefRegMap(@Self)^.clr := $00000002;
  9362. end;
  9363. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  9364. begin
  9365. if thebits = 0 then
  9366. pTDefRegMap(@Self)^.clr := $00000002
  9367. else
  9368. pTDefRegMap(@Self)^.&set := $00000002;
  9369. end;
  9370. function TTMR4_T4CON.getTCS : TBits_1; inline;
  9371. begin
  9372. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9373. end;
  9374. procedure TTMR4_T4CON.setT32; inline;
  9375. begin
  9376. pTDefRegMap(@Self)^.&set := $00000008;
  9377. end;
  9378. procedure TTMR4_T4CON.clearT32; inline;
  9379. begin
  9380. pTDefRegMap(@Self)^.clr := $00000008;
  9381. end;
  9382. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  9383. begin
  9384. if thebits = 0 then
  9385. pTDefRegMap(@Self)^.clr := $00000008
  9386. else
  9387. pTDefRegMap(@Self)^.&set := $00000008;
  9388. end;
  9389. function TTMR4_T4CON.getT32 : TBits_1; inline;
  9390. begin
  9391. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9392. end;
  9393. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  9394. begin
  9395. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  9396. end;
  9397. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  9398. begin
  9399. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  9400. end;
  9401. procedure TTMR4_T4CON.setTGATE; inline;
  9402. begin
  9403. pTDefRegMap(@Self)^.&set := $00000080;
  9404. end;
  9405. procedure TTMR4_T4CON.clearTGATE; inline;
  9406. begin
  9407. pTDefRegMap(@Self)^.clr := $00000080;
  9408. end;
  9409. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  9410. begin
  9411. if thebits = 0 then
  9412. pTDefRegMap(@Self)^.clr := $00000080
  9413. else
  9414. pTDefRegMap(@Self)^.&set := $00000080;
  9415. end;
  9416. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  9417. begin
  9418. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9419. end;
  9420. procedure TTMR4_T4CON.setSIDL; inline;
  9421. begin
  9422. pTDefRegMap(@Self)^.&set := $00002000;
  9423. end;
  9424. procedure TTMR4_T4CON.clearSIDL; inline;
  9425. begin
  9426. pTDefRegMap(@Self)^.clr := $00002000;
  9427. end;
  9428. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  9429. begin
  9430. if thebits = 0 then
  9431. pTDefRegMap(@Self)^.clr := $00002000
  9432. else
  9433. pTDefRegMap(@Self)^.&set := $00002000;
  9434. end;
  9435. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  9436. begin
  9437. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9438. end;
  9439. procedure TTMR4_T4CON.setON; inline;
  9440. begin
  9441. pTDefRegMap(@Self)^.&set := $00008000;
  9442. end;
  9443. procedure TTMR4_T4CON.clearON; inline;
  9444. begin
  9445. pTDefRegMap(@Self)^.clr := $00008000;
  9446. end;
  9447. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  9448. begin
  9449. if thebits = 0 then
  9450. pTDefRegMap(@Self)^.clr := $00008000
  9451. else
  9452. pTDefRegMap(@Self)^.&set := $00008000;
  9453. end;
  9454. function TTMR4_T4CON.getON : TBits_1; inline;
  9455. begin
  9456. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9457. end;
  9458. procedure TTMR4_T4CON.setTCKPS0; inline;
  9459. begin
  9460. pTDefRegMap(@Self)^.&set := $00000010;
  9461. end;
  9462. procedure TTMR4_T4CON.clearTCKPS0; inline;
  9463. begin
  9464. pTDefRegMap(@Self)^.clr := $00000010;
  9465. end;
  9466. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  9467. begin
  9468. if thebits = 0 then
  9469. pTDefRegMap(@Self)^.clr := $00000010
  9470. else
  9471. pTDefRegMap(@Self)^.&set := $00000010;
  9472. end;
  9473. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  9474. begin
  9475. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9476. end;
  9477. procedure TTMR4_T4CON.setTCKPS1; inline;
  9478. begin
  9479. pTDefRegMap(@Self)^.&set := $00000020;
  9480. end;
  9481. procedure TTMR4_T4CON.clearTCKPS1; inline;
  9482. begin
  9483. pTDefRegMap(@Self)^.clr := $00000020;
  9484. end;
  9485. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  9486. begin
  9487. if thebits = 0 then
  9488. pTDefRegMap(@Self)^.clr := $00000020
  9489. else
  9490. pTDefRegMap(@Self)^.&set := $00000020;
  9491. end;
  9492. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  9493. begin
  9494. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9495. end;
  9496. procedure TTMR4_T4CON.setTCKPS2; inline;
  9497. begin
  9498. pTDefRegMap(@Self)^.&set := $00000040;
  9499. end;
  9500. procedure TTMR4_T4CON.clearTCKPS2; inline;
  9501. begin
  9502. pTDefRegMap(@Self)^.clr := $00000040;
  9503. end;
  9504. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  9505. begin
  9506. if thebits = 0 then
  9507. pTDefRegMap(@Self)^.clr := $00000040
  9508. else
  9509. pTDefRegMap(@Self)^.&set := $00000040;
  9510. end;
  9511. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  9512. begin
  9513. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9514. end;
  9515. procedure TTMR4_T4CON.setTSIDL; inline;
  9516. begin
  9517. pTDefRegMap(@Self)^.&set := $00002000;
  9518. end;
  9519. procedure TTMR4_T4CON.clearTSIDL; inline;
  9520. begin
  9521. pTDefRegMap(@Self)^.clr := $00002000;
  9522. end;
  9523. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  9524. begin
  9525. if thebits = 0 then
  9526. pTDefRegMap(@Self)^.clr := $00002000
  9527. else
  9528. pTDefRegMap(@Self)^.&set := $00002000;
  9529. end;
  9530. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  9531. begin
  9532. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9533. end;
  9534. procedure TTMR4_T4CON.setTON; inline;
  9535. begin
  9536. pTDefRegMap(@Self)^.&set := $00008000;
  9537. end;
  9538. procedure TTMR4_T4CON.clearTON; inline;
  9539. begin
  9540. pTDefRegMap(@Self)^.clr := $00008000;
  9541. end;
  9542. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  9543. begin
  9544. if thebits = 0 then
  9545. pTDefRegMap(@Self)^.clr := $00008000
  9546. else
  9547. pTDefRegMap(@Self)^.&set := $00008000;
  9548. end;
  9549. function TTMR4_T4CON.getTON : TBits_1; inline;
  9550. begin
  9551. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9552. end;
  9553. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  9554. begin
  9555. pTDefRegMap(@Self)^.val := thebits;
  9556. end;
  9557. function TTMR4_T4CON.getw : TBits_32; inline;
  9558. begin
  9559. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9560. end;
  9561. procedure TTMR5_T5CON.setTCS; inline;
  9562. begin
  9563. pTDefRegMap(@Self)^.&set := $00000002;
  9564. end;
  9565. procedure TTMR5_T5CON.clearTCS; inline;
  9566. begin
  9567. pTDefRegMap(@Self)^.clr := $00000002;
  9568. end;
  9569. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  9570. begin
  9571. if thebits = 0 then
  9572. pTDefRegMap(@Self)^.clr := $00000002
  9573. else
  9574. pTDefRegMap(@Self)^.&set := $00000002;
  9575. end;
  9576. function TTMR5_T5CON.getTCS : TBits_1; inline;
  9577. begin
  9578. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9579. end;
  9580. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  9581. begin
  9582. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  9583. end;
  9584. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  9585. begin
  9586. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  9587. end;
  9588. procedure TTMR5_T5CON.setTGATE; inline;
  9589. begin
  9590. pTDefRegMap(@Self)^.&set := $00000080;
  9591. end;
  9592. procedure TTMR5_T5CON.clearTGATE; inline;
  9593. begin
  9594. pTDefRegMap(@Self)^.clr := $00000080;
  9595. end;
  9596. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  9597. begin
  9598. if thebits = 0 then
  9599. pTDefRegMap(@Self)^.clr := $00000080
  9600. else
  9601. pTDefRegMap(@Self)^.&set := $00000080;
  9602. end;
  9603. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  9604. begin
  9605. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9606. end;
  9607. procedure TTMR5_T5CON.setSIDL; inline;
  9608. begin
  9609. pTDefRegMap(@Self)^.&set := $00002000;
  9610. end;
  9611. procedure TTMR5_T5CON.clearSIDL; inline;
  9612. begin
  9613. pTDefRegMap(@Self)^.clr := $00002000;
  9614. end;
  9615. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  9616. begin
  9617. if thebits = 0 then
  9618. pTDefRegMap(@Self)^.clr := $00002000
  9619. else
  9620. pTDefRegMap(@Self)^.&set := $00002000;
  9621. end;
  9622. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  9623. begin
  9624. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9625. end;
  9626. procedure TTMR5_T5CON.setON; inline;
  9627. begin
  9628. pTDefRegMap(@Self)^.&set := $00008000;
  9629. end;
  9630. procedure TTMR5_T5CON.clearON; inline;
  9631. begin
  9632. pTDefRegMap(@Self)^.clr := $00008000;
  9633. end;
  9634. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  9635. begin
  9636. if thebits = 0 then
  9637. pTDefRegMap(@Self)^.clr := $00008000
  9638. else
  9639. pTDefRegMap(@Self)^.&set := $00008000;
  9640. end;
  9641. function TTMR5_T5CON.getON : TBits_1; inline;
  9642. begin
  9643. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9644. end;
  9645. procedure TTMR5_T5CON.setTCKPS0; inline;
  9646. begin
  9647. pTDefRegMap(@Self)^.&set := $00000010;
  9648. end;
  9649. procedure TTMR5_T5CON.clearTCKPS0; inline;
  9650. begin
  9651. pTDefRegMap(@Self)^.clr := $00000010;
  9652. end;
  9653. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  9654. begin
  9655. if thebits = 0 then
  9656. pTDefRegMap(@Self)^.clr := $00000010
  9657. else
  9658. pTDefRegMap(@Self)^.&set := $00000010;
  9659. end;
  9660. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  9661. begin
  9662. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9663. end;
  9664. procedure TTMR5_T5CON.setTCKPS1; inline;
  9665. begin
  9666. pTDefRegMap(@Self)^.&set := $00000020;
  9667. end;
  9668. procedure TTMR5_T5CON.clearTCKPS1; inline;
  9669. begin
  9670. pTDefRegMap(@Self)^.clr := $00000020;
  9671. end;
  9672. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  9673. begin
  9674. if thebits = 0 then
  9675. pTDefRegMap(@Self)^.clr := $00000020
  9676. else
  9677. pTDefRegMap(@Self)^.&set := $00000020;
  9678. end;
  9679. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  9680. begin
  9681. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9682. end;
  9683. procedure TTMR5_T5CON.setTCKPS2; inline;
  9684. begin
  9685. pTDefRegMap(@Self)^.&set := $00000040;
  9686. end;
  9687. procedure TTMR5_T5CON.clearTCKPS2; inline;
  9688. begin
  9689. pTDefRegMap(@Self)^.clr := $00000040;
  9690. end;
  9691. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  9692. begin
  9693. if thebits = 0 then
  9694. pTDefRegMap(@Self)^.clr := $00000040
  9695. else
  9696. pTDefRegMap(@Self)^.&set := $00000040;
  9697. end;
  9698. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  9699. begin
  9700. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9701. end;
  9702. procedure TTMR5_T5CON.setTSIDL; inline;
  9703. begin
  9704. pTDefRegMap(@Self)^.&set := $00002000;
  9705. end;
  9706. procedure TTMR5_T5CON.clearTSIDL; inline;
  9707. begin
  9708. pTDefRegMap(@Self)^.clr := $00002000;
  9709. end;
  9710. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  9711. begin
  9712. if thebits = 0 then
  9713. pTDefRegMap(@Self)^.clr := $00002000
  9714. else
  9715. pTDefRegMap(@Self)^.&set := $00002000;
  9716. end;
  9717. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  9718. begin
  9719. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9720. end;
  9721. procedure TTMR5_T5CON.setTON; inline;
  9722. begin
  9723. pTDefRegMap(@Self)^.&set := $00008000;
  9724. end;
  9725. procedure TTMR5_T5CON.clearTON; inline;
  9726. begin
  9727. pTDefRegMap(@Self)^.clr := $00008000;
  9728. end;
  9729. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  9730. begin
  9731. if thebits = 0 then
  9732. pTDefRegMap(@Self)^.clr := $00008000
  9733. else
  9734. pTDefRegMap(@Self)^.&set := $00008000;
  9735. end;
  9736. function TTMR5_T5CON.getTON : TBits_1; inline;
  9737. begin
  9738. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9739. end;
  9740. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  9741. begin
  9742. pTDefRegMap(@Self)^.val := thebits;
  9743. end;
  9744. function TTMR5_T5CON.getw : TBits_32; inline;
  9745. begin
  9746. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9747. end;
  9748. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  9749. begin
  9750. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  9751. end;
  9752. function TICAP1_IC1CON.getICM : TBits_3; inline;
  9753. begin
  9754. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  9755. end;
  9756. procedure TICAP1_IC1CON.setICBNE; inline;
  9757. begin
  9758. pTDefRegMap(@Self)^.&set := $00000008;
  9759. end;
  9760. procedure TICAP1_IC1CON.clearICBNE; inline;
  9761. begin
  9762. pTDefRegMap(@Self)^.clr := $00000008;
  9763. end;
  9764. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  9765. begin
  9766. if thebits = 0 then
  9767. pTDefRegMap(@Self)^.clr := $00000008
  9768. else
  9769. pTDefRegMap(@Self)^.&set := $00000008;
  9770. end;
  9771. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  9772. begin
  9773. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9774. end;
  9775. procedure TICAP1_IC1CON.setICOV; inline;
  9776. begin
  9777. pTDefRegMap(@Self)^.&set := $00000010;
  9778. end;
  9779. procedure TICAP1_IC1CON.clearICOV; inline;
  9780. begin
  9781. pTDefRegMap(@Self)^.clr := $00000010;
  9782. end;
  9783. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  9784. begin
  9785. if thebits = 0 then
  9786. pTDefRegMap(@Self)^.clr := $00000010
  9787. else
  9788. pTDefRegMap(@Self)^.&set := $00000010;
  9789. end;
  9790. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  9791. begin
  9792. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9793. end;
  9794. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  9795. begin
  9796. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  9797. end;
  9798. function TICAP1_IC1CON.getICI : TBits_2; inline;
  9799. begin
  9800. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  9801. end;
  9802. procedure TICAP1_IC1CON.setICTMR; inline;
  9803. begin
  9804. pTDefRegMap(@Self)^.&set := $00000080;
  9805. end;
  9806. procedure TICAP1_IC1CON.clearICTMR; inline;
  9807. begin
  9808. pTDefRegMap(@Self)^.clr := $00000080;
  9809. end;
  9810. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  9811. begin
  9812. if thebits = 0 then
  9813. pTDefRegMap(@Self)^.clr := $00000080
  9814. else
  9815. pTDefRegMap(@Self)^.&set := $00000080;
  9816. end;
  9817. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  9818. begin
  9819. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9820. end;
  9821. procedure TICAP1_IC1CON.setC32; inline;
  9822. begin
  9823. pTDefRegMap(@Self)^.&set := $00000100;
  9824. end;
  9825. procedure TICAP1_IC1CON.clearC32; inline;
  9826. begin
  9827. pTDefRegMap(@Self)^.clr := $00000100;
  9828. end;
  9829. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  9830. begin
  9831. if thebits = 0 then
  9832. pTDefRegMap(@Self)^.clr := $00000100
  9833. else
  9834. pTDefRegMap(@Self)^.&set := $00000100;
  9835. end;
  9836. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  9837. begin
  9838. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  9839. end;
  9840. procedure TICAP1_IC1CON.setFEDGE; inline;
  9841. begin
  9842. pTDefRegMap(@Self)^.&set := $00000200;
  9843. end;
  9844. procedure TICAP1_IC1CON.clearFEDGE; inline;
  9845. begin
  9846. pTDefRegMap(@Self)^.clr := $00000200;
  9847. end;
  9848. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  9849. begin
  9850. if thebits = 0 then
  9851. pTDefRegMap(@Self)^.clr := $00000200
  9852. else
  9853. pTDefRegMap(@Self)^.&set := $00000200;
  9854. end;
  9855. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  9856. begin
  9857. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  9858. end;
  9859. procedure TICAP1_IC1CON.setSIDL; inline;
  9860. begin
  9861. pTDefRegMap(@Self)^.&set := $00002000;
  9862. end;
  9863. procedure TICAP1_IC1CON.clearSIDL; inline;
  9864. begin
  9865. pTDefRegMap(@Self)^.clr := $00002000;
  9866. end;
  9867. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  9868. begin
  9869. if thebits = 0 then
  9870. pTDefRegMap(@Self)^.clr := $00002000
  9871. else
  9872. pTDefRegMap(@Self)^.&set := $00002000;
  9873. end;
  9874. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  9875. begin
  9876. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  9877. end;
  9878. procedure TICAP1_IC1CON.setON; inline;
  9879. begin
  9880. pTDefRegMap(@Self)^.&set := $00008000;
  9881. end;
  9882. procedure TICAP1_IC1CON.clearON; inline;
  9883. begin
  9884. pTDefRegMap(@Self)^.clr := $00008000;
  9885. end;
  9886. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  9887. begin
  9888. if thebits = 0 then
  9889. pTDefRegMap(@Self)^.clr := $00008000
  9890. else
  9891. pTDefRegMap(@Self)^.&set := $00008000;
  9892. end;
  9893. function TICAP1_IC1CON.getON : TBits_1; inline;
  9894. begin
  9895. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9896. end;
  9897. procedure TICAP1_IC1CON.setICM0; inline;
  9898. begin
  9899. pTDefRegMap(@Self)^.&set := $00000001;
  9900. end;
  9901. procedure TICAP1_IC1CON.clearICM0; inline;
  9902. begin
  9903. pTDefRegMap(@Self)^.clr := $00000001;
  9904. end;
  9905. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  9906. begin
  9907. if thebits = 0 then
  9908. pTDefRegMap(@Self)^.clr := $00000001
  9909. else
  9910. pTDefRegMap(@Self)^.&set := $00000001;
  9911. end;
  9912. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  9913. begin
  9914. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9915. end;
  9916. procedure TICAP1_IC1CON.setICM1; inline;
  9917. begin
  9918. pTDefRegMap(@Self)^.&set := $00000002;
  9919. end;
  9920. procedure TICAP1_IC1CON.clearICM1; inline;
  9921. begin
  9922. pTDefRegMap(@Self)^.clr := $00000002;
  9923. end;
  9924. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  9925. begin
  9926. if thebits = 0 then
  9927. pTDefRegMap(@Self)^.clr := $00000002
  9928. else
  9929. pTDefRegMap(@Self)^.&set := $00000002;
  9930. end;
  9931. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  9932. begin
  9933. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9934. end;
  9935. procedure TICAP1_IC1CON.setICM2; inline;
  9936. begin
  9937. pTDefRegMap(@Self)^.&set := $00000004;
  9938. end;
  9939. procedure TICAP1_IC1CON.clearICM2; inline;
  9940. begin
  9941. pTDefRegMap(@Self)^.clr := $00000004;
  9942. end;
  9943. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  9944. begin
  9945. if thebits = 0 then
  9946. pTDefRegMap(@Self)^.clr := $00000004
  9947. else
  9948. pTDefRegMap(@Self)^.&set := $00000004;
  9949. end;
  9950. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  9951. begin
  9952. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9953. end;
  9954. procedure TICAP1_IC1CON.setICI0; inline;
  9955. begin
  9956. pTDefRegMap(@Self)^.&set := $00000020;
  9957. end;
  9958. procedure TICAP1_IC1CON.clearICI0; inline;
  9959. begin
  9960. pTDefRegMap(@Self)^.clr := $00000020;
  9961. end;
  9962. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  9963. begin
  9964. if thebits = 0 then
  9965. pTDefRegMap(@Self)^.clr := $00000020
  9966. else
  9967. pTDefRegMap(@Self)^.&set := $00000020;
  9968. end;
  9969. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  9970. begin
  9971. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9972. end;
  9973. procedure TICAP1_IC1CON.setICI1; inline;
  9974. begin
  9975. pTDefRegMap(@Self)^.&set := $00000040;
  9976. end;
  9977. procedure TICAP1_IC1CON.clearICI1; inline;
  9978. begin
  9979. pTDefRegMap(@Self)^.clr := $00000040;
  9980. end;
  9981. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  9982. begin
  9983. if thebits = 0 then
  9984. pTDefRegMap(@Self)^.clr := $00000040
  9985. else
  9986. pTDefRegMap(@Self)^.&set := $00000040;
  9987. end;
  9988. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  9989. begin
  9990. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9991. end;
  9992. procedure TICAP1_IC1CON.setICSIDL; inline;
  9993. begin
  9994. pTDefRegMap(@Self)^.&set := $00002000;
  9995. end;
  9996. procedure TICAP1_IC1CON.clearICSIDL; inline;
  9997. begin
  9998. pTDefRegMap(@Self)^.clr := $00002000;
  9999. end;
  10000. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  10001. begin
  10002. if thebits = 0 then
  10003. pTDefRegMap(@Self)^.clr := $00002000
  10004. else
  10005. pTDefRegMap(@Self)^.&set := $00002000;
  10006. end;
  10007. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  10008. begin
  10009. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10010. end;
  10011. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  10012. begin
  10013. pTDefRegMap(@Self)^.val := thebits;
  10014. end;
  10015. function TICAP1_IC1CON.getw : TBits_32; inline;
  10016. begin
  10017. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10018. end;
  10019. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  10020. begin
  10021. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10022. end;
  10023. function TICAP2_IC2CON.getICM : TBits_3; inline;
  10024. begin
  10025. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10026. end;
  10027. procedure TICAP2_IC2CON.setICBNE; inline;
  10028. begin
  10029. pTDefRegMap(@Self)^.&set := $00000008;
  10030. end;
  10031. procedure TICAP2_IC2CON.clearICBNE; inline;
  10032. begin
  10033. pTDefRegMap(@Self)^.clr := $00000008;
  10034. end;
  10035. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  10036. begin
  10037. if thebits = 0 then
  10038. pTDefRegMap(@Self)^.clr := $00000008
  10039. else
  10040. pTDefRegMap(@Self)^.&set := $00000008;
  10041. end;
  10042. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  10043. begin
  10044. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10045. end;
  10046. procedure TICAP2_IC2CON.setICOV; inline;
  10047. begin
  10048. pTDefRegMap(@Self)^.&set := $00000010;
  10049. end;
  10050. procedure TICAP2_IC2CON.clearICOV; inline;
  10051. begin
  10052. pTDefRegMap(@Self)^.clr := $00000010;
  10053. end;
  10054. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  10055. begin
  10056. if thebits = 0 then
  10057. pTDefRegMap(@Self)^.clr := $00000010
  10058. else
  10059. pTDefRegMap(@Self)^.&set := $00000010;
  10060. end;
  10061. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  10062. begin
  10063. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10064. end;
  10065. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  10066. begin
  10067. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  10068. end;
  10069. function TICAP2_IC2CON.getICI : TBits_2; inline;
  10070. begin
  10071. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  10072. end;
  10073. procedure TICAP2_IC2CON.setICTMR; inline;
  10074. begin
  10075. pTDefRegMap(@Self)^.&set := $00000080;
  10076. end;
  10077. procedure TICAP2_IC2CON.clearICTMR; inline;
  10078. begin
  10079. pTDefRegMap(@Self)^.clr := $00000080;
  10080. end;
  10081. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  10082. begin
  10083. if thebits = 0 then
  10084. pTDefRegMap(@Self)^.clr := $00000080
  10085. else
  10086. pTDefRegMap(@Self)^.&set := $00000080;
  10087. end;
  10088. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  10089. begin
  10090. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10091. end;
  10092. procedure TICAP2_IC2CON.setC32; inline;
  10093. begin
  10094. pTDefRegMap(@Self)^.&set := $00000100;
  10095. end;
  10096. procedure TICAP2_IC2CON.clearC32; inline;
  10097. begin
  10098. pTDefRegMap(@Self)^.clr := $00000100;
  10099. end;
  10100. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  10101. begin
  10102. if thebits = 0 then
  10103. pTDefRegMap(@Self)^.clr := $00000100
  10104. else
  10105. pTDefRegMap(@Self)^.&set := $00000100;
  10106. end;
  10107. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  10108. begin
  10109. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  10110. end;
  10111. procedure TICAP2_IC2CON.setFEDGE; inline;
  10112. begin
  10113. pTDefRegMap(@Self)^.&set := $00000200;
  10114. end;
  10115. procedure TICAP2_IC2CON.clearFEDGE; inline;
  10116. begin
  10117. pTDefRegMap(@Self)^.clr := $00000200;
  10118. end;
  10119. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  10120. begin
  10121. if thebits = 0 then
  10122. pTDefRegMap(@Self)^.clr := $00000200
  10123. else
  10124. pTDefRegMap(@Self)^.&set := $00000200;
  10125. end;
  10126. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  10127. begin
  10128. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  10129. end;
  10130. procedure TICAP2_IC2CON.setSIDL; inline;
  10131. begin
  10132. pTDefRegMap(@Self)^.&set := $00002000;
  10133. end;
  10134. procedure TICAP2_IC2CON.clearSIDL; inline;
  10135. begin
  10136. pTDefRegMap(@Self)^.clr := $00002000;
  10137. end;
  10138. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  10139. begin
  10140. if thebits = 0 then
  10141. pTDefRegMap(@Self)^.clr := $00002000
  10142. else
  10143. pTDefRegMap(@Self)^.&set := $00002000;
  10144. end;
  10145. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  10146. begin
  10147. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10148. end;
  10149. procedure TICAP2_IC2CON.setON; inline;
  10150. begin
  10151. pTDefRegMap(@Self)^.&set := $00008000;
  10152. end;
  10153. procedure TICAP2_IC2CON.clearON; inline;
  10154. begin
  10155. pTDefRegMap(@Self)^.clr := $00008000;
  10156. end;
  10157. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  10158. begin
  10159. if thebits = 0 then
  10160. pTDefRegMap(@Self)^.clr := $00008000
  10161. else
  10162. pTDefRegMap(@Self)^.&set := $00008000;
  10163. end;
  10164. function TICAP2_IC2CON.getON : TBits_1; inline;
  10165. begin
  10166. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10167. end;
  10168. procedure TICAP2_IC2CON.setICM0; inline;
  10169. begin
  10170. pTDefRegMap(@Self)^.&set := $00000001;
  10171. end;
  10172. procedure TICAP2_IC2CON.clearICM0; inline;
  10173. begin
  10174. pTDefRegMap(@Self)^.clr := $00000001;
  10175. end;
  10176. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  10177. begin
  10178. if thebits = 0 then
  10179. pTDefRegMap(@Self)^.clr := $00000001
  10180. else
  10181. pTDefRegMap(@Self)^.&set := $00000001;
  10182. end;
  10183. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  10184. begin
  10185. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10186. end;
  10187. procedure TICAP2_IC2CON.setICM1; inline;
  10188. begin
  10189. pTDefRegMap(@Self)^.&set := $00000002;
  10190. end;
  10191. procedure TICAP2_IC2CON.clearICM1; inline;
  10192. begin
  10193. pTDefRegMap(@Self)^.clr := $00000002;
  10194. end;
  10195. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  10196. begin
  10197. if thebits = 0 then
  10198. pTDefRegMap(@Self)^.clr := $00000002
  10199. else
  10200. pTDefRegMap(@Self)^.&set := $00000002;
  10201. end;
  10202. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  10203. begin
  10204. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10205. end;
  10206. procedure TICAP2_IC2CON.setICM2; inline;
  10207. begin
  10208. pTDefRegMap(@Self)^.&set := $00000004;
  10209. end;
  10210. procedure TICAP2_IC2CON.clearICM2; inline;
  10211. begin
  10212. pTDefRegMap(@Self)^.clr := $00000004;
  10213. end;
  10214. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  10215. begin
  10216. if thebits = 0 then
  10217. pTDefRegMap(@Self)^.clr := $00000004
  10218. else
  10219. pTDefRegMap(@Self)^.&set := $00000004;
  10220. end;
  10221. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  10222. begin
  10223. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10224. end;
  10225. procedure TICAP2_IC2CON.setICI0; inline;
  10226. begin
  10227. pTDefRegMap(@Self)^.&set := $00000020;
  10228. end;
  10229. procedure TICAP2_IC2CON.clearICI0; inline;
  10230. begin
  10231. pTDefRegMap(@Self)^.clr := $00000020;
  10232. end;
  10233. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  10234. begin
  10235. if thebits = 0 then
  10236. pTDefRegMap(@Self)^.clr := $00000020
  10237. else
  10238. pTDefRegMap(@Self)^.&set := $00000020;
  10239. end;
  10240. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  10241. begin
  10242. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10243. end;
  10244. procedure TICAP2_IC2CON.setICI1; inline;
  10245. begin
  10246. pTDefRegMap(@Self)^.&set := $00000040;
  10247. end;
  10248. procedure TICAP2_IC2CON.clearICI1; inline;
  10249. begin
  10250. pTDefRegMap(@Self)^.clr := $00000040;
  10251. end;
  10252. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  10253. begin
  10254. if thebits = 0 then
  10255. pTDefRegMap(@Self)^.clr := $00000040
  10256. else
  10257. pTDefRegMap(@Self)^.&set := $00000040;
  10258. end;
  10259. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  10260. begin
  10261. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10262. end;
  10263. procedure TICAP2_IC2CON.setICSIDL; inline;
  10264. begin
  10265. pTDefRegMap(@Self)^.&set := $00002000;
  10266. end;
  10267. procedure TICAP2_IC2CON.clearICSIDL; inline;
  10268. begin
  10269. pTDefRegMap(@Self)^.clr := $00002000;
  10270. end;
  10271. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  10272. begin
  10273. if thebits = 0 then
  10274. pTDefRegMap(@Self)^.clr := $00002000
  10275. else
  10276. pTDefRegMap(@Self)^.&set := $00002000;
  10277. end;
  10278. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  10279. begin
  10280. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10281. end;
  10282. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  10283. begin
  10284. pTDefRegMap(@Self)^.val := thebits;
  10285. end;
  10286. function TICAP2_IC2CON.getw : TBits_32; inline;
  10287. begin
  10288. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10289. end;
  10290. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  10291. begin
  10292. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10293. end;
  10294. function TICAP3_IC3CON.getICM : TBits_3; inline;
  10295. begin
  10296. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10297. end;
  10298. procedure TICAP3_IC3CON.setICBNE; inline;
  10299. begin
  10300. pTDefRegMap(@Self)^.&set := $00000008;
  10301. end;
  10302. procedure TICAP3_IC3CON.clearICBNE; inline;
  10303. begin
  10304. pTDefRegMap(@Self)^.clr := $00000008;
  10305. end;
  10306. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  10307. begin
  10308. if thebits = 0 then
  10309. pTDefRegMap(@Self)^.clr := $00000008
  10310. else
  10311. pTDefRegMap(@Self)^.&set := $00000008;
  10312. end;
  10313. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  10314. begin
  10315. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10316. end;
  10317. procedure TICAP3_IC3CON.setICOV; inline;
  10318. begin
  10319. pTDefRegMap(@Self)^.&set := $00000010;
  10320. end;
  10321. procedure TICAP3_IC3CON.clearICOV; inline;
  10322. begin
  10323. pTDefRegMap(@Self)^.clr := $00000010;
  10324. end;
  10325. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  10326. begin
  10327. if thebits = 0 then
  10328. pTDefRegMap(@Self)^.clr := $00000010
  10329. else
  10330. pTDefRegMap(@Self)^.&set := $00000010;
  10331. end;
  10332. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  10333. begin
  10334. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10335. end;
  10336. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  10337. begin
  10338. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  10339. end;
  10340. function TICAP3_IC3CON.getICI : TBits_2; inline;
  10341. begin
  10342. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  10343. end;
  10344. procedure TICAP3_IC3CON.setICTMR; inline;
  10345. begin
  10346. pTDefRegMap(@Self)^.&set := $00000080;
  10347. end;
  10348. procedure TICAP3_IC3CON.clearICTMR; inline;
  10349. begin
  10350. pTDefRegMap(@Self)^.clr := $00000080;
  10351. end;
  10352. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  10353. begin
  10354. if thebits = 0 then
  10355. pTDefRegMap(@Self)^.clr := $00000080
  10356. else
  10357. pTDefRegMap(@Self)^.&set := $00000080;
  10358. end;
  10359. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  10360. begin
  10361. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10362. end;
  10363. procedure TICAP3_IC3CON.setC32; inline;
  10364. begin
  10365. pTDefRegMap(@Self)^.&set := $00000100;
  10366. end;
  10367. procedure TICAP3_IC3CON.clearC32; inline;
  10368. begin
  10369. pTDefRegMap(@Self)^.clr := $00000100;
  10370. end;
  10371. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  10372. begin
  10373. if thebits = 0 then
  10374. pTDefRegMap(@Self)^.clr := $00000100
  10375. else
  10376. pTDefRegMap(@Self)^.&set := $00000100;
  10377. end;
  10378. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  10379. begin
  10380. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  10381. end;
  10382. procedure TICAP3_IC3CON.setFEDGE; inline;
  10383. begin
  10384. pTDefRegMap(@Self)^.&set := $00000200;
  10385. end;
  10386. procedure TICAP3_IC3CON.clearFEDGE; inline;
  10387. begin
  10388. pTDefRegMap(@Self)^.clr := $00000200;
  10389. end;
  10390. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  10391. begin
  10392. if thebits = 0 then
  10393. pTDefRegMap(@Self)^.clr := $00000200
  10394. else
  10395. pTDefRegMap(@Self)^.&set := $00000200;
  10396. end;
  10397. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  10398. begin
  10399. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  10400. end;
  10401. procedure TICAP3_IC3CON.setSIDL; inline;
  10402. begin
  10403. pTDefRegMap(@Self)^.&set := $00002000;
  10404. end;
  10405. procedure TICAP3_IC3CON.clearSIDL; inline;
  10406. begin
  10407. pTDefRegMap(@Self)^.clr := $00002000;
  10408. end;
  10409. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  10410. begin
  10411. if thebits = 0 then
  10412. pTDefRegMap(@Self)^.clr := $00002000
  10413. else
  10414. pTDefRegMap(@Self)^.&set := $00002000;
  10415. end;
  10416. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  10417. begin
  10418. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10419. end;
  10420. procedure TICAP3_IC3CON.setON; inline;
  10421. begin
  10422. pTDefRegMap(@Self)^.&set := $00008000;
  10423. end;
  10424. procedure TICAP3_IC3CON.clearON; inline;
  10425. begin
  10426. pTDefRegMap(@Self)^.clr := $00008000;
  10427. end;
  10428. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  10429. begin
  10430. if thebits = 0 then
  10431. pTDefRegMap(@Self)^.clr := $00008000
  10432. else
  10433. pTDefRegMap(@Self)^.&set := $00008000;
  10434. end;
  10435. function TICAP3_IC3CON.getON : TBits_1; inline;
  10436. begin
  10437. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10438. end;
  10439. procedure TICAP3_IC3CON.setICM0; inline;
  10440. begin
  10441. pTDefRegMap(@Self)^.&set := $00000001;
  10442. end;
  10443. procedure TICAP3_IC3CON.clearICM0; inline;
  10444. begin
  10445. pTDefRegMap(@Self)^.clr := $00000001;
  10446. end;
  10447. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  10448. begin
  10449. if thebits = 0 then
  10450. pTDefRegMap(@Self)^.clr := $00000001
  10451. else
  10452. pTDefRegMap(@Self)^.&set := $00000001;
  10453. end;
  10454. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  10455. begin
  10456. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10457. end;
  10458. procedure TICAP3_IC3CON.setICM1; inline;
  10459. begin
  10460. pTDefRegMap(@Self)^.&set := $00000002;
  10461. end;
  10462. procedure TICAP3_IC3CON.clearICM1; inline;
  10463. begin
  10464. pTDefRegMap(@Self)^.clr := $00000002;
  10465. end;
  10466. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  10467. begin
  10468. if thebits = 0 then
  10469. pTDefRegMap(@Self)^.clr := $00000002
  10470. else
  10471. pTDefRegMap(@Self)^.&set := $00000002;
  10472. end;
  10473. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  10474. begin
  10475. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10476. end;
  10477. procedure TICAP3_IC3CON.setICM2; inline;
  10478. begin
  10479. pTDefRegMap(@Self)^.&set := $00000004;
  10480. end;
  10481. procedure TICAP3_IC3CON.clearICM2; inline;
  10482. begin
  10483. pTDefRegMap(@Self)^.clr := $00000004;
  10484. end;
  10485. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  10486. begin
  10487. if thebits = 0 then
  10488. pTDefRegMap(@Self)^.clr := $00000004
  10489. else
  10490. pTDefRegMap(@Self)^.&set := $00000004;
  10491. end;
  10492. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  10493. begin
  10494. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10495. end;
  10496. procedure TICAP3_IC3CON.setICI0; inline;
  10497. begin
  10498. pTDefRegMap(@Self)^.&set := $00000020;
  10499. end;
  10500. procedure TICAP3_IC3CON.clearICI0; inline;
  10501. begin
  10502. pTDefRegMap(@Self)^.clr := $00000020;
  10503. end;
  10504. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  10505. begin
  10506. if thebits = 0 then
  10507. pTDefRegMap(@Self)^.clr := $00000020
  10508. else
  10509. pTDefRegMap(@Self)^.&set := $00000020;
  10510. end;
  10511. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  10512. begin
  10513. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10514. end;
  10515. procedure TICAP3_IC3CON.setICI1; inline;
  10516. begin
  10517. pTDefRegMap(@Self)^.&set := $00000040;
  10518. end;
  10519. procedure TICAP3_IC3CON.clearICI1; inline;
  10520. begin
  10521. pTDefRegMap(@Self)^.clr := $00000040;
  10522. end;
  10523. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  10524. begin
  10525. if thebits = 0 then
  10526. pTDefRegMap(@Self)^.clr := $00000040
  10527. else
  10528. pTDefRegMap(@Self)^.&set := $00000040;
  10529. end;
  10530. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  10531. begin
  10532. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10533. end;
  10534. procedure TICAP3_IC3CON.setICSIDL; inline;
  10535. begin
  10536. pTDefRegMap(@Self)^.&set := $00002000;
  10537. end;
  10538. procedure TICAP3_IC3CON.clearICSIDL; inline;
  10539. begin
  10540. pTDefRegMap(@Self)^.clr := $00002000;
  10541. end;
  10542. procedure TICAP3_IC3CON.setICSIDL(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 TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  10550. begin
  10551. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10552. end;
  10553. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  10554. begin
  10555. pTDefRegMap(@Self)^.val := thebits;
  10556. end;
  10557. function TICAP3_IC3CON.getw : TBits_32; inline;
  10558. begin
  10559. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10560. end;
  10561. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  10562. begin
  10563. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10564. end;
  10565. function TICAP4_IC4CON.getICM : TBits_3; inline;
  10566. begin
  10567. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10568. end;
  10569. procedure TICAP4_IC4CON.setICBNE; inline;
  10570. begin
  10571. pTDefRegMap(@Self)^.&set := $00000008;
  10572. end;
  10573. procedure TICAP4_IC4CON.clearICBNE; inline;
  10574. begin
  10575. pTDefRegMap(@Self)^.clr := $00000008;
  10576. end;
  10577. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  10578. begin
  10579. if thebits = 0 then
  10580. pTDefRegMap(@Self)^.clr := $00000008
  10581. else
  10582. pTDefRegMap(@Self)^.&set := $00000008;
  10583. end;
  10584. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  10585. begin
  10586. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10587. end;
  10588. procedure TICAP4_IC4CON.setICOV; inline;
  10589. begin
  10590. pTDefRegMap(@Self)^.&set := $00000010;
  10591. end;
  10592. procedure TICAP4_IC4CON.clearICOV; inline;
  10593. begin
  10594. pTDefRegMap(@Self)^.clr := $00000010;
  10595. end;
  10596. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  10597. begin
  10598. if thebits = 0 then
  10599. pTDefRegMap(@Self)^.clr := $00000010
  10600. else
  10601. pTDefRegMap(@Self)^.&set := $00000010;
  10602. end;
  10603. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  10604. begin
  10605. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10606. end;
  10607. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  10608. begin
  10609. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  10610. end;
  10611. function TICAP4_IC4CON.getICI : TBits_2; inline;
  10612. begin
  10613. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  10614. end;
  10615. procedure TICAP4_IC4CON.setICTMR; inline;
  10616. begin
  10617. pTDefRegMap(@Self)^.&set := $00000080;
  10618. end;
  10619. procedure TICAP4_IC4CON.clearICTMR; inline;
  10620. begin
  10621. pTDefRegMap(@Self)^.clr := $00000080;
  10622. end;
  10623. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  10624. begin
  10625. if thebits = 0 then
  10626. pTDefRegMap(@Self)^.clr := $00000080
  10627. else
  10628. pTDefRegMap(@Self)^.&set := $00000080;
  10629. end;
  10630. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  10631. begin
  10632. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10633. end;
  10634. procedure TICAP4_IC4CON.setC32; inline;
  10635. begin
  10636. pTDefRegMap(@Self)^.&set := $00000100;
  10637. end;
  10638. procedure TICAP4_IC4CON.clearC32; inline;
  10639. begin
  10640. pTDefRegMap(@Self)^.clr := $00000100;
  10641. end;
  10642. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  10643. begin
  10644. if thebits = 0 then
  10645. pTDefRegMap(@Self)^.clr := $00000100
  10646. else
  10647. pTDefRegMap(@Self)^.&set := $00000100;
  10648. end;
  10649. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  10650. begin
  10651. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  10652. end;
  10653. procedure TICAP4_IC4CON.setFEDGE; inline;
  10654. begin
  10655. pTDefRegMap(@Self)^.&set := $00000200;
  10656. end;
  10657. procedure TICAP4_IC4CON.clearFEDGE; inline;
  10658. begin
  10659. pTDefRegMap(@Self)^.clr := $00000200;
  10660. end;
  10661. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  10662. begin
  10663. if thebits = 0 then
  10664. pTDefRegMap(@Self)^.clr := $00000200
  10665. else
  10666. pTDefRegMap(@Self)^.&set := $00000200;
  10667. end;
  10668. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  10669. begin
  10670. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  10671. end;
  10672. procedure TICAP4_IC4CON.setSIDL; inline;
  10673. begin
  10674. pTDefRegMap(@Self)^.&set := $00002000;
  10675. end;
  10676. procedure TICAP4_IC4CON.clearSIDL; inline;
  10677. begin
  10678. pTDefRegMap(@Self)^.clr := $00002000;
  10679. end;
  10680. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  10681. begin
  10682. if thebits = 0 then
  10683. pTDefRegMap(@Self)^.clr := $00002000
  10684. else
  10685. pTDefRegMap(@Self)^.&set := $00002000;
  10686. end;
  10687. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  10688. begin
  10689. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10690. end;
  10691. procedure TICAP4_IC4CON.setON; inline;
  10692. begin
  10693. pTDefRegMap(@Self)^.&set := $00008000;
  10694. end;
  10695. procedure TICAP4_IC4CON.clearON; inline;
  10696. begin
  10697. pTDefRegMap(@Self)^.clr := $00008000;
  10698. end;
  10699. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  10700. begin
  10701. if thebits = 0 then
  10702. pTDefRegMap(@Self)^.clr := $00008000
  10703. else
  10704. pTDefRegMap(@Self)^.&set := $00008000;
  10705. end;
  10706. function TICAP4_IC4CON.getON : TBits_1; inline;
  10707. begin
  10708. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10709. end;
  10710. procedure TICAP4_IC4CON.setICM0; inline;
  10711. begin
  10712. pTDefRegMap(@Self)^.&set := $00000001;
  10713. end;
  10714. procedure TICAP4_IC4CON.clearICM0; inline;
  10715. begin
  10716. pTDefRegMap(@Self)^.clr := $00000001;
  10717. end;
  10718. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  10719. begin
  10720. if thebits = 0 then
  10721. pTDefRegMap(@Self)^.clr := $00000001
  10722. else
  10723. pTDefRegMap(@Self)^.&set := $00000001;
  10724. end;
  10725. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  10726. begin
  10727. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10728. end;
  10729. procedure TICAP4_IC4CON.setICM1; inline;
  10730. begin
  10731. pTDefRegMap(@Self)^.&set := $00000002;
  10732. end;
  10733. procedure TICAP4_IC4CON.clearICM1; inline;
  10734. begin
  10735. pTDefRegMap(@Self)^.clr := $00000002;
  10736. end;
  10737. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  10738. begin
  10739. if thebits = 0 then
  10740. pTDefRegMap(@Self)^.clr := $00000002
  10741. else
  10742. pTDefRegMap(@Self)^.&set := $00000002;
  10743. end;
  10744. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  10745. begin
  10746. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10747. end;
  10748. procedure TICAP4_IC4CON.setICM2; inline;
  10749. begin
  10750. pTDefRegMap(@Self)^.&set := $00000004;
  10751. end;
  10752. procedure TICAP4_IC4CON.clearICM2; inline;
  10753. begin
  10754. pTDefRegMap(@Self)^.clr := $00000004;
  10755. end;
  10756. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  10757. begin
  10758. if thebits = 0 then
  10759. pTDefRegMap(@Self)^.clr := $00000004
  10760. else
  10761. pTDefRegMap(@Self)^.&set := $00000004;
  10762. end;
  10763. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  10764. begin
  10765. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10766. end;
  10767. procedure TICAP4_IC4CON.setICI0; inline;
  10768. begin
  10769. pTDefRegMap(@Self)^.&set := $00000020;
  10770. end;
  10771. procedure TICAP4_IC4CON.clearICI0; inline;
  10772. begin
  10773. pTDefRegMap(@Self)^.clr := $00000020;
  10774. end;
  10775. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  10776. begin
  10777. if thebits = 0 then
  10778. pTDefRegMap(@Self)^.clr := $00000020
  10779. else
  10780. pTDefRegMap(@Self)^.&set := $00000020;
  10781. end;
  10782. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  10783. begin
  10784. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10785. end;
  10786. procedure TICAP4_IC4CON.setICI1; inline;
  10787. begin
  10788. pTDefRegMap(@Self)^.&set := $00000040;
  10789. end;
  10790. procedure TICAP4_IC4CON.clearICI1; inline;
  10791. begin
  10792. pTDefRegMap(@Self)^.clr := $00000040;
  10793. end;
  10794. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  10795. begin
  10796. if thebits = 0 then
  10797. pTDefRegMap(@Self)^.clr := $00000040
  10798. else
  10799. pTDefRegMap(@Self)^.&set := $00000040;
  10800. end;
  10801. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  10802. begin
  10803. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10804. end;
  10805. procedure TICAP4_IC4CON.setICSIDL; inline;
  10806. begin
  10807. pTDefRegMap(@Self)^.&set := $00002000;
  10808. end;
  10809. procedure TICAP4_IC4CON.clearICSIDL; inline;
  10810. begin
  10811. pTDefRegMap(@Self)^.clr := $00002000;
  10812. end;
  10813. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  10814. begin
  10815. if thebits = 0 then
  10816. pTDefRegMap(@Self)^.clr := $00002000
  10817. else
  10818. pTDefRegMap(@Self)^.&set := $00002000;
  10819. end;
  10820. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  10821. begin
  10822. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10823. end;
  10824. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  10825. begin
  10826. pTDefRegMap(@Self)^.val := thebits;
  10827. end;
  10828. function TICAP4_IC4CON.getw : TBits_32; inline;
  10829. begin
  10830. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10831. end;
  10832. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  10833. begin
  10834. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  10835. end;
  10836. function TICAP5_IC5CON.getICM : TBits_3; inline;
  10837. begin
  10838. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  10839. end;
  10840. procedure TICAP5_IC5CON.setICBNE; inline;
  10841. begin
  10842. pTDefRegMap(@Self)^.&set := $00000008;
  10843. end;
  10844. procedure TICAP5_IC5CON.clearICBNE; inline;
  10845. begin
  10846. pTDefRegMap(@Self)^.clr := $00000008;
  10847. end;
  10848. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  10849. begin
  10850. if thebits = 0 then
  10851. pTDefRegMap(@Self)^.clr := $00000008
  10852. else
  10853. pTDefRegMap(@Self)^.&set := $00000008;
  10854. end;
  10855. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  10856. begin
  10857. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10858. end;
  10859. procedure TICAP5_IC5CON.setICOV; inline;
  10860. begin
  10861. pTDefRegMap(@Self)^.&set := $00000010;
  10862. end;
  10863. procedure TICAP5_IC5CON.clearICOV; inline;
  10864. begin
  10865. pTDefRegMap(@Self)^.clr := $00000010;
  10866. end;
  10867. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  10868. begin
  10869. if thebits = 0 then
  10870. pTDefRegMap(@Self)^.clr := $00000010
  10871. else
  10872. pTDefRegMap(@Self)^.&set := $00000010;
  10873. end;
  10874. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  10875. begin
  10876. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10877. end;
  10878. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  10879. begin
  10880. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  10881. end;
  10882. function TICAP5_IC5CON.getICI : TBits_2; inline;
  10883. begin
  10884. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  10885. end;
  10886. procedure TICAP5_IC5CON.setICTMR; inline;
  10887. begin
  10888. pTDefRegMap(@Self)^.&set := $00000080;
  10889. end;
  10890. procedure TICAP5_IC5CON.clearICTMR; inline;
  10891. begin
  10892. pTDefRegMap(@Self)^.clr := $00000080;
  10893. end;
  10894. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  10895. begin
  10896. if thebits = 0 then
  10897. pTDefRegMap(@Self)^.clr := $00000080
  10898. else
  10899. pTDefRegMap(@Self)^.&set := $00000080;
  10900. end;
  10901. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  10902. begin
  10903. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10904. end;
  10905. procedure TICAP5_IC5CON.setC32; inline;
  10906. begin
  10907. pTDefRegMap(@Self)^.&set := $00000100;
  10908. end;
  10909. procedure TICAP5_IC5CON.clearC32; inline;
  10910. begin
  10911. pTDefRegMap(@Self)^.clr := $00000100;
  10912. end;
  10913. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  10914. begin
  10915. if thebits = 0 then
  10916. pTDefRegMap(@Self)^.clr := $00000100
  10917. else
  10918. pTDefRegMap(@Self)^.&set := $00000100;
  10919. end;
  10920. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  10921. begin
  10922. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  10923. end;
  10924. procedure TICAP5_IC5CON.setFEDGE; inline;
  10925. begin
  10926. pTDefRegMap(@Self)^.&set := $00000200;
  10927. end;
  10928. procedure TICAP5_IC5CON.clearFEDGE; inline;
  10929. begin
  10930. pTDefRegMap(@Self)^.clr := $00000200;
  10931. end;
  10932. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  10933. begin
  10934. if thebits = 0 then
  10935. pTDefRegMap(@Self)^.clr := $00000200
  10936. else
  10937. pTDefRegMap(@Self)^.&set := $00000200;
  10938. end;
  10939. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  10940. begin
  10941. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  10942. end;
  10943. procedure TICAP5_IC5CON.setSIDL; inline;
  10944. begin
  10945. pTDefRegMap(@Self)^.&set := $00002000;
  10946. end;
  10947. procedure TICAP5_IC5CON.clearSIDL; inline;
  10948. begin
  10949. pTDefRegMap(@Self)^.clr := $00002000;
  10950. end;
  10951. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  10952. begin
  10953. if thebits = 0 then
  10954. pTDefRegMap(@Self)^.clr := $00002000
  10955. else
  10956. pTDefRegMap(@Self)^.&set := $00002000;
  10957. end;
  10958. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  10959. begin
  10960. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10961. end;
  10962. procedure TICAP5_IC5CON.setON; inline;
  10963. begin
  10964. pTDefRegMap(@Self)^.&set := $00008000;
  10965. end;
  10966. procedure TICAP5_IC5CON.clearON; inline;
  10967. begin
  10968. pTDefRegMap(@Self)^.clr := $00008000;
  10969. end;
  10970. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  10971. begin
  10972. if thebits = 0 then
  10973. pTDefRegMap(@Self)^.clr := $00008000
  10974. else
  10975. pTDefRegMap(@Self)^.&set := $00008000;
  10976. end;
  10977. function TICAP5_IC5CON.getON : TBits_1; inline;
  10978. begin
  10979. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10980. end;
  10981. procedure TICAP5_IC5CON.setICM0; inline;
  10982. begin
  10983. pTDefRegMap(@Self)^.&set := $00000001;
  10984. end;
  10985. procedure TICAP5_IC5CON.clearICM0; inline;
  10986. begin
  10987. pTDefRegMap(@Self)^.clr := $00000001;
  10988. end;
  10989. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  10990. begin
  10991. if thebits = 0 then
  10992. pTDefRegMap(@Self)^.clr := $00000001
  10993. else
  10994. pTDefRegMap(@Self)^.&set := $00000001;
  10995. end;
  10996. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  10997. begin
  10998. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10999. end;
  11000. procedure TICAP5_IC5CON.setICM1; inline;
  11001. begin
  11002. pTDefRegMap(@Self)^.&set := $00000002;
  11003. end;
  11004. procedure TICAP5_IC5CON.clearICM1; inline;
  11005. begin
  11006. pTDefRegMap(@Self)^.clr := $00000002;
  11007. end;
  11008. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  11009. begin
  11010. if thebits = 0 then
  11011. pTDefRegMap(@Self)^.clr := $00000002
  11012. else
  11013. pTDefRegMap(@Self)^.&set := $00000002;
  11014. end;
  11015. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  11016. begin
  11017. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11018. end;
  11019. procedure TICAP5_IC5CON.setICM2; inline;
  11020. begin
  11021. pTDefRegMap(@Self)^.&set := $00000004;
  11022. end;
  11023. procedure TICAP5_IC5CON.clearICM2; inline;
  11024. begin
  11025. pTDefRegMap(@Self)^.clr := $00000004;
  11026. end;
  11027. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  11028. begin
  11029. if thebits = 0 then
  11030. pTDefRegMap(@Self)^.clr := $00000004
  11031. else
  11032. pTDefRegMap(@Self)^.&set := $00000004;
  11033. end;
  11034. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  11035. begin
  11036. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11037. end;
  11038. procedure TICAP5_IC5CON.setICI0; inline;
  11039. begin
  11040. pTDefRegMap(@Self)^.&set := $00000020;
  11041. end;
  11042. procedure TICAP5_IC5CON.clearICI0; inline;
  11043. begin
  11044. pTDefRegMap(@Self)^.clr := $00000020;
  11045. end;
  11046. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  11047. begin
  11048. if thebits = 0 then
  11049. pTDefRegMap(@Self)^.clr := $00000020
  11050. else
  11051. pTDefRegMap(@Self)^.&set := $00000020;
  11052. end;
  11053. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  11054. begin
  11055. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11056. end;
  11057. procedure TICAP5_IC5CON.setICI1; inline;
  11058. begin
  11059. pTDefRegMap(@Self)^.&set := $00000040;
  11060. end;
  11061. procedure TICAP5_IC5CON.clearICI1; inline;
  11062. begin
  11063. pTDefRegMap(@Self)^.clr := $00000040;
  11064. end;
  11065. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  11066. begin
  11067. if thebits = 0 then
  11068. pTDefRegMap(@Self)^.clr := $00000040
  11069. else
  11070. pTDefRegMap(@Self)^.&set := $00000040;
  11071. end;
  11072. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  11073. begin
  11074. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11075. end;
  11076. procedure TICAP5_IC5CON.setICSIDL; inline;
  11077. begin
  11078. pTDefRegMap(@Self)^.&set := $00002000;
  11079. end;
  11080. procedure TICAP5_IC5CON.clearICSIDL; inline;
  11081. begin
  11082. pTDefRegMap(@Self)^.clr := $00002000;
  11083. end;
  11084. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  11085. begin
  11086. if thebits = 0 then
  11087. pTDefRegMap(@Self)^.clr := $00002000
  11088. else
  11089. pTDefRegMap(@Self)^.&set := $00002000;
  11090. end;
  11091. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  11092. begin
  11093. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11094. end;
  11095. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  11096. begin
  11097. pTDefRegMap(@Self)^.val := thebits;
  11098. end;
  11099. function TICAP5_IC5CON.getw : TBits_32; inline;
  11100. begin
  11101. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11102. end;
  11103. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  11104. begin
  11105. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11106. end;
  11107. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  11108. begin
  11109. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11110. end;
  11111. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  11112. begin
  11113. pTDefRegMap(@Self)^.&set := $00000008;
  11114. end;
  11115. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  11116. begin
  11117. pTDefRegMap(@Self)^.clr := $00000008;
  11118. end;
  11119. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  11120. begin
  11121. if thebits = 0 then
  11122. pTDefRegMap(@Self)^.clr := $00000008
  11123. else
  11124. pTDefRegMap(@Self)^.&set := $00000008;
  11125. end;
  11126. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  11127. begin
  11128. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11129. end;
  11130. procedure TOCMP1_OC1CON.setOCFLT; inline;
  11131. begin
  11132. pTDefRegMap(@Self)^.&set := $00000010;
  11133. end;
  11134. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  11135. begin
  11136. pTDefRegMap(@Self)^.clr := $00000010;
  11137. end;
  11138. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  11139. begin
  11140. if thebits = 0 then
  11141. pTDefRegMap(@Self)^.clr := $00000010
  11142. else
  11143. pTDefRegMap(@Self)^.&set := $00000010;
  11144. end;
  11145. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  11146. begin
  11147. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11148. end;
  11149. procedure TOCMP1_OC1CON.setOC32; inline;
  11150. begin
  11151. pTDefRegMap(@Self)^.&set := $00000020;
  11152. end;
  11153. procedure TOCMP1_OC1CON.clearOC32; inline;
  11154. begin
  11155. pTDefRegMap(@Self)^.clr := $00000020;
  11156. end;
  11157. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  11158. begin
  11159. if thebits = 0 then
  11160. pTDefRegMap(@Self)^.clr := $00000020
  11161. else
  11162. pTDefRegMap(@Self)^.&set := $00000020;
  11163. end;
  11164. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  11165. begin
  11166. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11167. end;
  11168. procedure TOCMP1_OC1CON.setSIDL; inline;
  11169. begin
  11170. pTDefRegMap(@Self)^.&set := $00002000;
  11171. end;
  11172. procedure TOCMP1_OC1CON.clearSIDL; inline;
  11173. begin
  11174. pTDefRegMap(@Self)^.clr := $00002000;
  11175. end;
  11176. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  11177. begin
  11178. if thebits = 0 then
  11179. pTDefRegMap(@Self)^.clr := $00002000
  11180. else
  11181. pTDefRegMap(@Self)^.&set := $00002000;
  11182. end;
  11183. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  11184. begin
  11185. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11186. end;
  11187. procedure TOCMP1_OC1CON.setON; inline;
  11188. begin
  11189. pTDefRegMap(@Self)^.&set := $00008000;
  11190. end;
  11191. procedure TOCMP1_OC1CON.clearON; inline;
  11192. begin
  11193. pTDefRegMap(@Self)^.clr := $00008000;
  11194. end;
  11195. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  11196. begin
  11197. if thebits = 0 then
  11198. pTDefRegMap(@Self)^.clr := $00008000
  11199. else
  11200. pTDefRegMap(@Self)^.&set := $00008000;
  11201. end;
  11202. function TOCMP1_OC1CON.getON : TBits_1; inline;
  11203. begin
  11204. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11205. end;
  11206. procedure TOCMP1_OC1CON.setOCM0; inline;
  11207. begin
  11208. pTDefRegMap(@Self)^.&set := $00000001;
  11209. end;
  11210. procedure TOCMP1_OC1CON.clearOCM0; inline;
  11211. begin
  11212. pTDefRegMap(@Self)^.clr := $00000001;
  11213. end;
  11214. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  11215. begin
  11216. if thebits = 0 then
  11217. pTDefRegMap(@Self)^.clr := $00000001
  11218. else
  11219. pTDefRegMap(@Self)^.&set := $00000001;
  11220. end;
  11221. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  11222. begin
  11223. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11224. end;
  11225. procedure TOCMP1_OC1CON.setOCM1; inline;
  11226. begin
  11227. pTDefRegMap(@Self)^.&set := $00000002;
  11228. end;
  11229. procedure TOCMP1_OC1CON.clearOCM1; inline;
  11230. begin
  11231. pTDefRegMap(@Self)^.clr := $00000002;
  11232. end;
  11233. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  11234. begin
  11235. if thebits = 0 then
  11236. pTDefRegMap(@Self)^.clr := $00000002
  11237. else
  11238. pTDefRegMap(@Self)^.&set := $00000002;
  11239. end;
  11240. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  11241. begin
  11242. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11243. end;
  11244. procedure TOCMP1_OC1CON.setOCM2; inline;
  11245. begin
  11246. pTDefRegMap(@Self)^.&set := $00000004;
  11247. end;
  11248. procedure TOCMP1_OC1CON.clearOCM2; inline;
  11249. begin
  11250. pTDefRegMap(@Self)^.clr := $00000004;
  11251. end;
  11252. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  11253. begin
  11254. if thebits = 0 then
  11255. pTDefRegMap(@Self)^.clr := $00000004
  11256. else
  11257. pTDefRegMap(@Self)^.&set := $00000004;
  11258. end;
  11259. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  11260. begin
  11261. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11262. end;
  11263. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  11264. begin
  11265. pTDefRegMap(@Self)^.&set := $00002000;
  11266. end;
  11267. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  11268. begin
  11269. pTDefRegMap(@Self)^.clr := $00002000;
  11270. end;
  11271. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  11272. begin
  11273. if thebits = 0 then
  11274. pTDefRegMap(@Self)^.clr := $00002000
  11275. else
  11276. pTDefRegMap(@Self)^.&set := $00002000;
  11277. end;
  11278. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  11279. begin
  11280. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11281. end;
  11282. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  11283. begin
  11284. pTDefRegMap(@Self)^.val := thebits;
  11285. end;
  11286. function TOCMP1_OC1CON.getw : TBits_32; inline;
  11287. begin
  11288. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11289. end;
  11290. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  11291. begin
  11292. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11293. end;
  11294. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  11295. begin
  11296. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11297. end;
  11298. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  11299. begin
  11300. pTDefRegMap(@Self)^.&set := $00000008;
  11301. end;
  11302. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  11303. begin
  11304. pTDefRegMap(@Self)^.clr := $00000008;
  11305. end;
  11306. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  11307. begin
  11308. if thebits = 0 then
  11309. pTDefRegMap(@Self)^.clr := $00000008
  11310. else
  11311. pTDefRegMap(@Self)^.&set := $00000008;
  11312. end;
  11313. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  11314. begin
  11315. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11316. end;
  11317. procedure TOCMP2_OC2CON.setOCFLT; inline;
  11318. begin
  11319. pTDefRegMap(@Self)^.&set := $00000010;
  11320. end;
  11321. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  11322. begin
  11323. pTDefRegMap(@Self)^.clr := $00000010;
  11324. end;
  11325. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  11326. begin
  11327. if thebits = 0 then
  11328. pTDefRegMap(@Self)^.clr := $00000010
  11329. else
  11330. pTDefRegMap(@Self)^.&set := $00000010;
  11331. end;
  11332. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  11333. begin
  11334. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11335. end;
  11336. procedure TOCMP2_OC2CON.setOC32; inline;
  11337. begin
  11338. pTDefRegMap(@Self)^.&set := $00000020;
  11339. end;
  11340. procedure TOCMP2_OC2CON.clearOC32; inline;
  11341. begin
  11342. pTDefRegMap(@Self)^.clr := $00000020;
  11343. end;
  11344. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  11345. begin
  11346. if thebits = 0 then
  11347. pTDefRegMap(@Self)^.clr := $00000020
  11348. else
  11349. pTDefRegMap(@Self)^.&set := $00000020;
  11350. end;
  11351. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  11352. begin
  11353. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11354. end;
  11355. procedure TOCMP2_OC2CON.setSIDL; inline;
  11356. begin
  11357. pTDefRegMap(@Self)^.&set := $00002000;
  11358. end;
  11359. procedure TOCMP2_OC2CON.clearSIDL; inline;
  11360. begin
  11361. pTDefRegMap(@Self)^.clr := $00002000;
  11362. end;
  11363. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  11364. begin
  11365. if thebits = 0 then
  11366. pTDefRegMap(@Self)^.clr := $00002000
  11367. else
  11368. pTDefRegMap(@Self)^.&set := $00002000;
  11369. end;
  11370. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  11371. begin
  11372. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11373. end;
  11374. procedure TOCMP2_OC2CON.setON; inline;
  11375. begin
  11376. pTDefRegMap(@Self)^.&set := $00008000;
  11377. end;
  11378. procedure TOCMP2_OC2CON.clearON; inline;
  11379. begin
  11380. pTDefRegMap(@Self)^.clr := $00008000;
  11381. end;
  11382. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  11383. begin
  11384. if thebits = 0 then
  11385. pTDefRegMap(@Self)^.clr := $00008000
  11386. else
  11387. pTDefRegMap(@Self)^.&set := $00008000;
  11388. end;
  11389. function TOCMP2_OC2CON.getON : TBits_1; inline;
  11390. begin
  11391. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11392. end;
  11393. procedure TOCMP2_OC2CON.setOCM0; inline;
  11394. begin
  11395. pTDefRegMap(@Self)^.&set := $00000001;
  11396. end;
  11397. procedure TOCMP2_OC2CON.clearOCM0; inline;
  11398. begin
  11399. pTDefRegMap(@Self)^.clr := $00000001;
  11400. end;
  11401. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  11402. begin
  11403. if thebits = 0 then
  11404. pTDefRegMap(@Self)^.clr := $00000001
  11405. else
  11406. pTDefRegMap(@Self)^.&set := $00000001;
  11407. end;
  11408. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  11409. begin
  11410. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11411. end;
  11412. procedure TOCMP2_OC2CON.setOCM1; inline;
  11413. begin
  11414. pTDefRegMap(@Self)^.&set := $00000002;
  11415. end;
  11416. procedure TOCMP2_OC2CON.clearOCM1; inline;
  11417. begin
  11418. pTDefRegMap(@Self)^.clr := $00000002;
  11419. end;
  11420. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  11421. begin
  11422. if thebits = 0 then
  11423. pTDefRegMap(@Self)^.clr := $00000002
  11424. else
  11425. pTDefRegMap(@Self)^.&set := $00000002;
  11426. end;
  11427. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  11428. begin
  11429. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11430. end;
  11431. procedure TOCMP2_OC2CON.setOCM2; inline;
  11432. begin
  11433. pTDefRegMap(@Self)^.&set := $00000004;
  11434. end;
  11435. procedure TOCMP2_OC2CON.clearOCM2; inline;
  11436. begin
  11437. pTDefRegMap(@Self)^.clr := $00000004;
  11438. end;
  11439. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  11440. begin
  11441. if thebits = 0 then
  11442. pTDefRegMap(@Self)^.clr := $00000004
  11443. else
  11444. pTDefRegMap(@Self)^.&set := $00000004;
  11445. end;
  11446. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  11447. begin
  11448. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11449. end;
  11450. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  11451. begin
  11452. pTDefRegMap(@Self)^.&set := $00002000;
  11453. end;
  11454. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  11455. begin
  11456. pTDefRegMap(@Self)^.clr := $00002000;
  11457. end;
  11458. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  11459. begin
  11460. if thebits = 0 then
  11461. pTDefRegMap(@Self)^.clr := $00002000
  11462. else
  11463. pTDefRegMap(@Self)^.&set := $00002000;
  11464. end;
  11465. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  11466. begin
  11467. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11468. end;
  11469. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  11470. begin
  11471. pTDefRegMap(@Self)^.val := thebits;
  11472. end;
  11473. function TOCMP2_OC2CON.getw : TBits_32; inline;
  11474. begin
  11475. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11476. end;
  11477. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  11478. begin
  11479. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11480. end;
  11481. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  11482. begin
  11483. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11484. end;
  11485. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  11486. begin
  11487. pTDefRegMap(@Self)^.&set := $00000008;
  11488. end;
  11489. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  11490. begin
  11491. pTDefRegMap(@Self)^.clr := $00000008;
  11492. end;
  11493. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  11494. begin
  11495. if thebits = 0 then
  11496. pTDefRegMap(@Self)^.clr := $00000008
  11497. else
  11498. pTDefRegMap(@Self)^.&set := $00000008;
  11499. end;
  11500. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  11501. begin
  11502. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11503. end;
  11504. procedure TOCMP3_OC3CON.setOCFLT; inline;
  11505. begin
  11506. pTDefRegMap(@Self)^.&set := $00000010;
  11507. end;
  11508. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  11509. begin
  11510. pTDefRegMap(@Self)^.clr := $00000010;
  11511. end;
  11512. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  11513. begin
  11514. if thebits = 0 then
  11515. pTDefRegMap(@Self)^.clr := $00000010
  11516. else
  11517. pTDefRegMap(@Self)^.&set := $00000010;
  11518. end;
  11519. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  11520. begin
  11521. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11522. end;
  11523. procedure TOCMP3_OC3CON.setOC32; inline;
  11524. begin
  11525. pTDefRegMap(@Self)^.&set := $00000020;
  11526. end;
  11527. procedure TOCMP3_OC3CON.clearOC32; inline;
  11528. begin
  11529. pTDefRegMap(@Self)^.clr := $00000020;
  11530. end;
  11531. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  11532. begin
  11533. if thebits = 0 then
  11534. pTDefRegMap(@Self)^.clr := $00000020
  11535. else
  11536. pTDefRegMap(@Self)^.&set := $00000020;
  11537. end;
  11538. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  11539. begin
  11540. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11541. end;
  11542. procedure TOCMP3_OC3CON.setSIDL; inline;
  11543. begin
  11544. pTDefRegMap(@Self)^.&set := $00002000;
  11545. end;
  11546. procedure TOCMP3_OC3CON.clearSIDL; inline;
  11547. begin
  11548. pTDefRegMap(@Self)^.clr := $00002000;
  11549. end;
  11550. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  11551. begin
  11552. if thebits = 0 then
  11553. pTDefRegMap(@Self)^.clr := $00002000
  11554. else
  11555. pTDefRegMap(@Self)^.&set := $00002000;
  11556. end;
  11557. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  11558. begin
  11559. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11560. end;
  11561. procedure TOCMP3_OC3CON.setON; inline;
  11562. begin
  11563. pTDefRegMap(@Self)^.&set := $00008000;
  11564. end;
  11565. procedure TOCMP3_OC3CON.clearON; inline;
  11566. begin
  11567. pTDefRegMap(@Self)^.clr := $00008000;
  11568. end;
  11569. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  11570. begin
  11571. if thebits = 0 then
  11572. pTDefRegMap(@Self)^.clr := $00008000
  11573. else
  11574. pTDefRegMap(@Self)^.&set := $00008000;
  11575. end;
  11576. function TOCMP3_OC3CON.getON : TBits_1; inline;
  11577. begin
  11578. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11579. end;
  11580. procedure TOCMP3_OC3CON.setOCM0; inline;
  11581. begin
  11582. pTDefRegMap(@Self)^.&set := $00000001;
  11583. end;
  11584. procedure TOCMP3_OC3CON.clearOCM0; inline;
  11585. begin
  11586. pTDefRegMap(@Self)^.clr := $00000001;
  11587. end;
  11588. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  11589. begin
  11590. if thebits = 0 then
  11591. pTDefRegMap(@Self)^.clr := $00000001
  11592. else
  11593. pTDefRegMap(@Self)^.&set := $00000001;
  11594. end;
  11595. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  11596. begin
  11597. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11598. end;
  11599. procedure TOCMP3_OC3CON.setOCM1; inline;
  11600. begin
  11601. pTDefRegMap(@Self)^.&set := $00000002;
  11602. end;
  11603. procedure TOCMP3_OC3CON.clearOCM1; inline;
  11604. begin
  11605. pTDefRegMap(@Self)^.clr := $00000002;
  11606. end;
  11607. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  11608. begin
  11609. if thebits = 0 then
  11610. pTDefRegMap(@Self)^.clr := $00000002
  11611. else
  11612. pTDefRegMap(@Self)^.&set := $00000002;
  11613. end;
  11614. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  11615. begin
  11616. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11617. end;
  11618. procedure TOCMP3_OC3CON.setOCM2; inline;
  11619. begin
  11620. pTDefRegMap(@Self)^.&set := $00000004;
  11621. end;
  11622. procedure TOCMP3_OC3CON.clearOCM2; inline;
  11623. begin
  11624. pTDefRegMap(@Self)^.clr := $00000004;
  11625. end;
  11626. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  11627. begin
  11628. if thebits = 0 then
  11629. pTDefRegMap(@Self)^.clr := $00000004
  11630. else
  11631. pTDefRegMap(@Self)^.&set := $00000004;
  11632. end;
  11633. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  11634. begin
  11635. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11636. end;
  11637. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  11638. begin
  11639. pTDefRegMap(@Self)^.&set := $00002000;
  11640. end;
  11641. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  11642. begin
  11643. pTDefRegMap(@Self)^.clr := $00002000;
  11644. end;
  11645. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  11646. begin
  11647. if thebits = 0 then
  11648. pTDefRegMap(@Self)^.clr := $00002000
  11649. else
  11650. pTDefRegMap(@Self)^.&set := $00002000;
  11651. end;
  11652. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  11653. begin
  11654. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11655. end;
  11656. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  11657. begin
  11658. pTDefRegMap(@Self)^.val := thebits;
  11659. end;
  11660. function TOCMP3_OC3CON.getw : TBits_32; inline;
  11661. begin
  11662. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11663. end;
  11664. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  11665. begin
  11666. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11667. end;
  11668. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  11669. begin
  11670. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11671. end;
  11672. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  11673. begin
  11674. pTDefRegMap(@Self)^.&set := $00000008;
  11675. end;
  11676. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  11677. begin
  11678. pTDefRegMap(@Self)^.clr := $00000008;
  11679. end;
  11680. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  11681. begin
  11682. if thebits = 0 then
  11683. pTDefRegMap(@Self)^.clr := $00000008
  11684. else
  11685. pTDefRegMap(@Self)^.&set := $00000008;
  11686. end;
  11687. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  11688. begin
  11689. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11690. end;
  11691. procedure TOCMP4_OC4CON.setOCFLT; inline;
  11692. begin
  11693. pTDefRegMap(@Self)^.&set := $00000010;
  11694. end;
  11695. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  11696. begin
  11697. pTDefRegMap(@Self)^.clr := $00000010;
  11698. end;
  11699. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  11700. begin
  11701. if thebits = 0 then
  11702. pTDefRegMap(@Self)^.clr := $00000010
  11703. else
  11704. pTDefRegMap(@Self)^.&set := $00000010;
  11705. end;
  11706. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  11707. begin
  11708. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11709. end;
  11710. procedure TOCMP4_OC4CON.setOC32; inline;
  11711. begin
  11712. pTDefRegMap(@Self)^.&set := $00000020;
  11713. end;
  11714. procedure TOCMP4_OC4CON.clearOC32; inline;
  11715. begin
  11716. pTDefRegMap(@Self)^.clr := $00000020;
  11717. end;
  11718. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  11719. begin
  11720. if thebits = 0 then
  11721. pTDefRegMap(@Self)^.clr := $00000020
  11722. else
  11723. pTDefRegMap(@Self)^.&set := $00000020;
  11724. end;
  11725. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  11726. begin
  11727. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11728. end;
  11729. procedure TOCMP4_OC4CON.setSIDL; inline;
  11730. begin
  11731. pTDefRegMap(@Self)^.&set := $00002000;
  11732. end;
  11733. procedure TOCMP4_OC4CON.clearSIDL; inline;
  11734. begin
  11735. pTDefRegMap(@Self)^.clr := $00002000;
  11736. end;
  11737. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  11738. begin
  11739. if thebits = 0 then
  11740. pTDefRegMap(@Self)^.clr := $00002000
  11741. else
  11742. pTDefRegMap(@Self)^.&set := $00002000;
  11743. end;
  11744. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  11745. begin
  11746. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11747. end;
  11748. procedure TOCMP4_OC4CON.setON; inline;
  11749. begin
  11750. pTDefRegMap(@Self)^.&set := $00008000;
  11751. end;
  11752. procedure TOCMP4_OC4CON.clearON; inline;
  11753. begin
  11754. pTDefRegMap(@Self)^.clr := $00008000;
  11755. end;
  11756. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  11757. begin
  11758. if thebits = 0 then
  11759. pTDefRegMap(@Self)^.clr := $00008000
  11760. else
  11761. pTDefRegMap(@Self)^.&set := $00008000;
  11762. end;
  11763. function TOCMP4_OC4CON.getON : TBits_1; inline;
  11764. begin
  11765. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11766. end;
  11767. procedure TOCMP4_OC4CON.setOCM0; inline;
  11768. begin
  11769. pTDefRegMap(@Self)^.&set := $00000001;
  11770. end;
  11771. procedure TOCMP4_OC4CON.clearOCM0; inline;
  11772. begin
  11773. pTDefRegMap(@Self)^.clr := $00000001;
  11774. end;
  11775. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  11776. begin
  11777. if thebits = 0 then
  11778. pTDefRegMap(@Self)^.clr := $00000001
  11779. else
  11780. pTDefRegMap(@Self)^.&set := $00000001;
  11781. end;
  11782. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  11783. begin
  11784. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11785. end;
  11786. procedure TOCMP4_OC4CON.setOCM1; inline;
  11787. begin
  11788. pTDefRegMap(@Self)^.&set := $00000002;
  11789. end;
  11790. procedure TOCMP4_OC4CON.clearOCM1; inline;
  11791. begin
  11792. pTDefRegMap(@Self)^.clr := $00000002;
  11793. end;
  11794. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  11795. begin
  11796. if thebits = 0 then
  11797. pTDefRegMap(@Self)^.clr := $00000002
  11798. else
  11799. pTDefRegMap(@Self)^.&set := $00000002;
  11800. end;
  11801. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  11802. begin
  11803. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11804. end;
  11805. procedure TOCMP4_OC4CON.setOCM2; inline;
  11806. begin
  11807. pTDefRegMap(@Self)^.&set := $00000004;
  11808. end;
  11809. procedure TOCMP4_OC4CON.clearOCM2; inline;
  11810. begin
  11811. pTDefRegMap(@Self)^.clr := $00000004;
  11812. end;
  11813. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  11814. begin
  11815. if thebits = 0 then
  11816. pTDefRegMap(@Self)^.clr := $00000004
  11817. else
  11818. pTDefRegMap(@Self)^.&set := $00000004;
  11819. end;
  11820. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  11821. begin
  11822. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11823. end;
  11824. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  11825. begin
  11826. pTDefRegMap(@Self)^.&set := $00002000;
  11827. end;
  11828. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  11829. begin
  11830. pTDefRegMap(@Self)^.clr := $00002000;
  11831. end;
  11832. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  11833. begin
  11834. if thebits = 0 then
  11835. pTDefRegMap(@Self)^.clr := $00002000
  11836. else
  11837. pTDefRegMap(@Self)^.&set := $00002000;
  11838. end;
  11839. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  11840. begin
  11841. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11842. end;
  11843. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  11844. begin
  11845. pTDefRegMap(@Self)^.val := thebits;
  11846. end;
  11847. function TOCMP4_OC4CON.getw : TBits_32; inline;
  11848. begin
  11849. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11850. end;
  11851. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  11852. begin
  11853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11854. end;
  11855. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  11856. begin
  11857. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11858. end;
  11859. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  11860. begin
  11861. pTDefRegMap(@Self)^.&set := $00000008;
  11862. end;
  11863. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  11864. begin
  11865. pTDefRegMap(@Self)^.clr := $00000008;
  11866. end;
  11867. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  11868. begin
  11869. if thebits = 0 then
  11870. pTDefRegMap(@Self)^.clr := $00000008
  11871. else
  11872. pTDefRegMap(@Self)^.&set := $00000008;
  11873. end;
  11874. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  11875. begin
  11876. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11877. end;
  11878. procedure TOCMP5_OC5CON.setOCFLT; inline;
  11879. begin
  11880. pTDefRegMap(@Self)^.&set := $00000010;
  11881. end;
  11882. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  11883. begin
  11884. pTDefRegMap(@Self)^.clr := $00000010;
  11885. end;
  11886. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  11887. begin
  11888. if thebits = 0 then
  11889. pTDefRegMap(@Self)^.clr := $00000010
  11890. else
  11891. pTDefRegMap(@Self)^.&set := $00000010;
  11892. end;
  11893. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  11894. begin
  11895. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11896. end;
  11897. procedure TOCMP5_OC5CON.setOC32; inline;
  11898. begin
  11899. pTDefRegMap(@Self)^.&set := $00000020;
  11900. end;
  11901. procedure TOCMP5_OC5CON.clearOC32; inline;
  11902. begin
  11903. pTDefRegMap(@Self)^.clr := $00000020;
  11904. end;
  11905. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  11906. begin
  11907. if thebits = 0 then
  11908. pTDefRegMap(@Self)^.clr := $00000020
  11909. else
  11910. pTDefRegMap(@Self)^.&set := $00000020;
  11911. end;
  11912. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  11913. begin
  11914. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11915. end;
  11916. procedure TOCMP5_OC5CON.setSIDL; inline;
  11917. begin
  11918. pTDefRegMap(@Self)^.&set := $00002000;
  11919. end;
  11920. procedure TOCMP5_OC5CON.clearSIDL; inline;
  11921. begin
  11922. pTDefRegMap(@Self)^.clr := $00002000;
  11923. end;
  11924. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  11925. begin
  11926. if thebits = 0 then
  11927. pTDefRegMap(@Self)^.clr := $00002000
  11928. else
  11929. pTDefRegMap(@Self)^.&set := $00002000;
  11930. end;
  11931. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  11932. begin
  11933. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11934. end;
  11935. procedure TOCMP5_OC5CON.setON; inline;
  11936. begin
  11937. pTDefRegMap(@Self)^.&set := $00008000;
  11938. end;
  11939. procedure TOCMP5_OC5CON.clearON; inline;
  11940. begin
  11941. pTDefRegMap(@Self)^.clr := $00008000;
  11942. end;
  11943. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  11944. begin
  11945. if thebits = 0 then
  11946. pTDefRegMap(@Self)^.clr := $00008000
  11947. else
  11948. pTDefRegMap(@Self)^.&set := $00008000;
  11949. end;
  11950. function TOCMP5_OC5CON.getON : TBits_1; inline;
  11951. begin
  11952. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11953. end;
  11954. procedure TOCMP5_OC5CON.setOCM0; inline;
  11955. begin
  11956. pTDefRegMap(@Self)^.&set := $00000001;
  11957. end;
  11958. procedure TOCMP5_OC5CON.clearOCM0; inline;
  11959. begin
  11960. pTDefRegMap(@Self)^.clr := $00000001;
  11961. end;
  11962. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  11963. begin
  11964. if thebits = 0 then
  11965. pTDefRegMap(@Self)^.clr := $00000001
  11966. else
  11967. pTDefRegMap(@Self)^.&set := $00000001;
  11968. end;
  11969. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  11970. begin
  11971. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11972. end;
  11973. procedure TOCMP5_OC5CON.setOCM1; inline;
  11974. begin
  11975. pTDefRegMap(@Self)^.&set := $00000002;
  11976. end;
  11977. procedure TOCMP5_OC5CON.clearOCM1; inline;
  11978. begin
  11979. pTDefRegMap(@Self)^.clr := $00000002;
  11980. end;
  11981. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  11982. begin
  11983. if thebits = 0 then
  11984. pTDefRegMap(@Self)^.clr := $00000002
  11985. else
  11986. pTDefRegMap(@Self)^.&set := $00000002;
  11987. end;
  11988. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  11989. begin
  11990. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11991. end;
  11992. procedure TOCMP5_OC5CON.setOCM2; inline;
  11993. begin
  11994. pTDefRegMap(@Self)^.&set := $00000004;
  11995. end;
  11996. procedure TOCMP5_OC5CON.clearOCM2; inline;
  11997. begin
  11998. pTDefRegMap(@Self)^.clr := $00000004;
  11999. end;
  12000. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  12001. begin
  12002. if thebits = 0 then
  12003. pTDefRegMap(@Self)^.clr := $00000004
  12004. else
  12005. pTDefRegMap(@Self)^.&set := $00000004;
  12006. end;
  12007. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  12008. begin
  12009. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12010. end;
  12011. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  12012. begin
  12013. pTDefRegMap(@Self)^.&set := $00002000;
  12014. end;
  12015. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  12016. begin
  12017. pTDefRegMap(@Self)^.clr := $00002000;
  12018. end;
  12019. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  12020. begin
  12021. if thebits = 0 then
  12022. pTDefRegMap(@Self)^.clr := $00002000
  12023. else
  12024. pTDefRegMap(@Self)^.&set := $00002000;
  12025. end;
  12026. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  12027. begin
  12028. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12029. end;
  12030. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  12031. begin
  12032. pTDefRegMap(@Self)^.val := thebits;
  12033. end;
  12034. function TOCMP5_OC5CON.getw : TBits_32; inline;
  12035. begin
  12036. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12037. end;
  12038. procedure TI2C1_I2C1CON.setSEN; inline;
  12039. begin
  12040. pTDefRegMap(@Self)^.&set := $00000001;
  12041. end;
  12042. procedure TI2C1_I2C1CON.clearSEN; inline;
  12043. begin
  12044. pTDefRegMap(@Self)^.clr := $00000001;
  12045. end;
  12046. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  12047. begin
  12048. if thebits = 0 then
  12049. pTDefRegMap(@Self)^.clr := $00000001
  12050. else
  12051. pTDefRegMap(@Self)^.&set := $00000001;
  12052. end;
  12053. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  12054. begin
  12055. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12056. end;
  12057. procedure TI2C1_I2C1CON.setRSEN; inline;
  12058. begin
  12059. pTDefRegMap(@Self)^.&set := $00000002;
  12060. end;
  12061. procedure TI2C1_I2C1CON.clearRSEN; inline;
  12062. begin
  12063. pTDefRegMap(@Self)^.clr := $00000002;
  12064. end;
  12065. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  12066. begin
  12067. if thebits = 0 then
  12068. pTDefRegMap(@Self)^.clr := $00000002
  12069. else
  12070. pTDefRegMap(@Self)^.&set := $00000002;
  12071. end;
  12072. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  12073. begin
  12074. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12075. end;
  12076. procedure TI2C1_I2C1CON.setPEN; inline;
  12077. begin
  12078. pTDefRegMap(@Self)^.&set := $00000004;
  12079. end;
  12080. procedure TI2C1_I2C1CON.clearPEN; inline;
  12081. begin
  12082. pTDefRegMap(@Self)^.clr := $00000004;
  12083. end;
  12084. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  12085. begin
  12086. if thebits = 0 then
  12087. pTDefRegMap(@Self)^.clr := $00000004
  12088. else
  12089. pTDefRegMap(@Self)^.&set := $00000004;
  12090. end;
  12091. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  12092. begin
  12093. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12094. end;
  12095. procedure TI2C1_I2C1CON.setRCEN; inline;
  12096. begin
  12097. pTDefRegMap(@Self)^.&set := $00000008;
  12098. end;
  12099. procedure TI2C1_I2C1CON.clearRCEN; inline;
  12100. begin
  12101. pTDefRegMap(@Self)^.clr := $00000008;
  12102. end;
  12103. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  12104. begin
  12105. if thebits = 0 then
  12106. pTDefRegMap(@Self)^.clr := $00000008
  12107. else
  12108. pTDefRegMap(@Self)^.&set := $00000008;
  12109. end;
  12110. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  12111. begin
  12112. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12113. end;
  12114. procedure TI2C1_I2C1CON.setACKEN; inline;
  12115. begin
  12116. pTDefRegMap(@Self)^.&set := $00000010;
  12117. end;
  12118. procedure TI2C1_I2C1CON.clearACKEN; inline;
  12119. begin
  12120. pTDefRegMap(@Self)^.clr := $00000010;
  12121. end;
  12122. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  12123. begin
  12124. if thebits = 0 then
  12125. pTDefRegMap(@Self)^.clr := $00000010
  12126. else
  12127. pTDefRegMap(@Self)^.&set := $00000010;
  12128. end;
  12129. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  12130. begin
  12131. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12132. end;
  12133. procedure TI2C1_I2C1CON.setACKDT; inline;
  12134. begin
  12135. pTDefRegMap(@Self)^.&set := $00000020;
  12136. end;
  12137. procedure TI2C1_I2C1CON.clearACKDT; inline;
  12138. begin
  12139. pTDefRegMap(@Self)^.clr := $00000020;
  12140. end;
  12141. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  12142. begin
  12143. if thebits = 0 then
  12144. pTDefRegMap(@Self)^.clr := $00000020
  12145. else
  12146. pTDefRegMap(@Self)^.&set := $00000020;
  12147. end;
  12148. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  12149. begin
  12150. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12151. end;
  12152. procedure TI2C1_I2C1CON.setSTREN; inline;
  12153. begin
  12154. pTDefRegMap(@Self)^.&set := $00000040;
  12155. end;
  12156. procedure TI2C1_I2C1CON.clearSTREN; inline;
  12157. begin
  12158. pTDefRegMap(@Self)^.clr := $00000040;
  12159. end;
  12160. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  12161. begin
  12162. if thebits = 0 then
  12163. pTDefRegMap(@Self)^.clr := $00000040
  12164. else
  12165. pTDefRegMap(@Self)^.&set := $00000040;
  12166. end;
  12167. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  12168. begin
  12169. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12170. end;
  12171. procedure TI2C1_I2C1CON.setGCEN; inline;
  12172. begin
  12173. pTDefRegMap(@Self)^.&set := $00000080;
  12174. end;
  12175. procedure TI2C1_I2C1CON.clearGCEN; inline;
  12176. begin
  12177. pTDefRegMap(@Self)^.clr := $00000080;
  12178. end;
  12179. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  12180. begin
  12181. if thebits = 0 then
  12182. pTDefRegMap(@Self)^.clr := $00000080
  12183. else
  12184. pTDefRegMap(@Self)^.&set := $00000080;
  12185. end;
  12186. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  12187. begin
  12188. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12189. end;
  12190. procedure TI2C1_I2C1CON.setSMEN; inline;
  12191. begin
  12192. pTDefRegMap(@Self)^.&set := $00000100;
  12193. end;
  12194. procedure TI2C1_I2C1CON.clearSMEN; inline;
  12195. begin
  12196. pTDefRegMap(@Self)^.clr := $00000100;
  12197. end;
  12198. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  12199. begin
  12200. if thebits = 0 then
  12201. pTDefRegMap(@Self)^.clr := $00000100
  12202. else
  12203. pTDefRegMap(@Self)^.&set := $00000100;
  12204. end;
  12205. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  12206. begin
  12207. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12208. end;
  12209. procedure TI2C1_I2C1CON.setDISSLW; inline;
  12210. begin
  12211. pTDefRegMap(@Self)^.&set := $00000200;
  12212. end;
  12213. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  12214. begin
  12215. pTDefRegMap(@Self)^.clr := $00000200;
  12216. end;
  12217. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  12218. begin
  12219. if thebits = 0 then
  12220. pTDefRegMap(@Self)^.clr := $00000200
  12221. else
  12222. pTDefRegMap(@Self)^.&set := $00000200;
  12223. end;
  12224. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  12225. begin
  12226. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12227. end;
  12228. procedure TI2C1_I2C1CON.setA10M; inline;
  12229. begin
  12230. pTDefRegMap(@Self)^.&set := $00000400;
  12231. end;
  12232. procedure TI2C1_I2C1CON.clearA10M; inline;
  12233. begin
  12234. pTDefRegMap(@Self)^.clr := $00000400;
  12235. end;
  12236. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  12237. begin
  12238. if thebits = 0 then
  12239. pTDefRegMap(@Self)^.clr := $00000400
  12240. else
  12241. pTDefRegMap(@Self)^.&set := $00000400;
  12242. end;
  12243. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  12244. begin
  12245. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12246. end;
  12247. procedure TI2C1_I2C1CON.setSTRICT; inline;
  12248. begin
  12249. pTDefRegMap(@Self)^.&set := $00000800;
  12250. end;
  12251. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  12252. begin
  12253. pTDefRegMap(@Self)^.clr := $00000800;
  12254. end;
  12255. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  12256. begin
  12257. if thebits = 0 then
  12258. pTDefRegMap(@Self)^.clr := $00000800
  12259. else
  12260. pTDefRegMap(@Self)^.&set := $00000800;
  12261. end;
  12262. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  12263. begin
  12264. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12265. end;
  12266. procedure TI2C1_I2C1CON.setSCLREL; inline;
  12267. begin
  12268. pTDefRegMap(@Self)^.&set := $00001000;
  12269. end;
  12270. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  12271. begin
  12272. pTDefRegMap(@Self)^.clr := $00001000;
  12273. end;
  12274. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  12275. begin
  12276. if thebits = 0 then
  12277. pTDefRegMap(@Self)^.clr := $00001000
  12278. else
  12279. pTDefRegMap(@Self)^.&set := $00001000;
  12280. end;
  12281. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  12282. begin
  12283. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12284. end;
  12285. procedure TI2C1_I2C1CON.setSIDL; inline;
  12286. begin
  12287. pTDefRegMap(@Self)^.&set := $00002000;
  12288. end;
  12289. procedure TI2C1_I2C1CON.clearSIDL; inline;
  12290. begin
  12291. pTDefRegMap(@Self)^.clr := $00002000;
  12292. end;
  12293. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  12294. begin
  12295. if thebits = 0 then
  12296. pTDefRegMap(@Self)^.clr := $00002000
  12297. else
  12298. pTDefRegMap(@Self)^.&set := $00002000;
  12299. end;
  12300. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  12301. begin
  12302. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12303. end;
  12304. procedure TI2C1_I2C1CON.setON; inline;
  12305. begin
  12306. pTDefRegMap(@Self)^.&set := $00008000;
  12307. end;
  12308. procedure TI2C1_I2C1CON.clearON; inline;
  12309. begin
  12310. pTDefRegMap(@Self)^.clr := $00008000;
  12311. end;
  12312. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  12313. begin
  12314. if thebits = 0 then
  12315. pTDefRegMap(@Self)^.clr := $00008000
  12316. else
  12317. pTDefRegMap(@Self)^.&set := $00008000;
  12318. end;
  12319. function TI2C1_I2C1CON.getON : TBits_1; inline;
  12320. begin
  12321. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12322. end;
  12323. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  12324. begin
  12325. pTDefRegMap(@Self)^.&set := $00000800;
  12326. end;
  12327. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  12328. begin
  12329. pTDefRegMap(@Self)^.clr := $00000800;
  12330. end;
  12331. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  12332. begin
  12333. if thebits = 0 then
  12334. pTDefRegMap(@Self)^.clr := $00000800
  12335. else
  12336. pTDefRegMap(@Self)^.&set := $00000800;
  12337. end;
  12338. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  12339. begin
  12340. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12341. end;
  12342. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  12343. begin
  12344. pTDefRegMap(@Self)^.&set := $00002000;
  12345. end;
  12346. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  12347. begin
  12348. pTDefRegMap(@Self)^.clr := $00002000;
  12349. end;
  12350. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  12351. begin
  12352. if thebits = 0 then
  12353. pTDefRegMap(@Self)^.clr := $00002000
  12354. else
  12355. pTDefRegMap(@Self)^.&set := $00002000;
  12356. end;
  12357. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  12358. begin
  12359. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12360. end;
  12361. procedure TI2C1_I2C1CON.setI2CEN; inline;
  12362. begin
  12363. pTDefRegMap(@Self)^.&set := $00008000;
  12364. end;
  12365. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  12366. begin
  12367. pTDefRegMap(@Self)^.clr := $00008000;
  12368. end;
  12369. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  12370. begin
  12371. if thebits = 0 then
  12372. pTDefRegMap(@Self)^.clr := $00008000
  12373. else
  12374. pTDefRegMap(@Self)^.&set := $00008000;
  12375. end;
  12376. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  12377. begin
  12378. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12379. end;
  12380. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  12381. begin
  12382. pTDefRegMap(@Self)^.val := thebits;
  12383. end;
  12384. function TI2C1_I2C1CON.getw : TBits_32; inline;
  12385. begin
  12386. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12387. end;
  12388. procedure TI2C1_I2C1STAT.setTBF; inline;
  12389. begin
  12390. pTDefRegMap(@Self)^.&set := $00000001;
  12391. end;
  12392. procedure TI2C1_I2C1STAT.clearTBF; inline;
  12393. begin
  12394. pTDefRegMap(@Self)^.clr := $00000001;
  12395. end;
  12396. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  12397. begin
  12398. if thebits = 0 then
  12399. pTDefRegMap(@Self)^.clr := $00000001
  12400. else
  12401. pTDefRegMap(@Self)^.&set := $00000001;
  12402. end;
  12403. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  12404. begin
  12405. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12406. end;
  12407. procedure TI2C1_I2C1STAT.setRBF; inline;
  12408. begin
  12409. pTDefRegMap(@Self)^.&set := $00000002;
  12410. end;
  12411. procedure TI2C1_I2C1STAT.clearRBF; inline;
  12412. begin
  12413. pTDefRegMap(@Self)^.clr := $00000002;
  12414. end;
  12415. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  12416. begin
  12417. if thebits = 0 then
  12418. pTDefRegMap(@Self)^.clr := $00000002
  12419. else
  12420. pTDefRegMap(@Self)^.&set := $00000002;
  12421. end;
  12422. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  12423. begin
  12424. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12425. end;
  12426. procedure TI2C1_I2C1STAT.setR_W; inline;
  12427. begin
  12428. pTDefRegMap(@Self)^.&set := $00000004;
  12429. end;
  12430. procedure TI2C1_I2C1STAT.clearR_W; inline;
  12431. begin
  12432. pTDefRegMap(@Self)^.clr := $00000004;
  12433. end;
  12434. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  12435. begin
  12436. if thebits = 0 then
  12437. pTDefRegMap(@Self)^.clr := $00000004
  12438. else
  12439. pTDefRegMap(@Self)^.&set := $00000004;
  12440. end;
  12441. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  12442. begin
  12443. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12444. end;
  12445. procedure TI2C1_I2C1STAT.setS; inline;
  12446. begin
  12447. pTDefRegMap(@Self)^.&set := $00000008;
  12448. end;
  12449. procedure TI2C1_I2C1STAT.clearS; inline;
  12450. begin
  12451. pTDefRegMap(@Self)^.clr := $00000008;
  12452. end;
  12453. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  12454. begin
  12455. if thebits = 0 then
  12456. pTDefRegMap(@Self)^.clr := $00000008
  12457. else
  12458. pTDefRegMap(@Self)^.&set := $00000008;
  12459. end;
  12460. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  12461. begin
  12462. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12463. end;
  12464. procedure TI2C1_I2C1STAT.setP; inline;
  12465. begin
  12466. pTDefRegMap(@Self)^.&set := $00000010;
  12467. end;
  12468. procedure TI2C1_I2C1STAT.clearP; inline;
  12469. begin
  12470. pTDefRegMap(@Self)^.clr := $00000010;
  12471. end;
  12472. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  12473. begin
  12474. if thebits = 0 then
  12475. pTDefRegMap(@Self)^.clr := $00000010
  12476. else
  12477. pTDefRegMap(@Self)^.&set := $00000010;
  12478. end;
  12479. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  12480. begin
  12481. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12482. end;
  12483. procedure TI2C1_I2C1STAT.setD_A; inline;
  12484. begin
  12485. pTDefRegMap(@Self)^.&set := $00000020;
  12486. end;
  12487. procedure TI2C1_I2C1STAT.clearD_A; inline;
  12488. begin
  12489. pTDefRegMap(@Self)^.clr := $00000020;
  12490. end;
  12491. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  12492. begin
  12493. if thebits = 0 then
  12494. pTDefRegMap(@Self)^.clr := $00000020
  12495. else
  12496. pTDefRegMap(@Self)^.&set := $00000020;
  12497. end;
  12498. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  12499. begin
  12500. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12501. end;
  12502. procedure TI2C1_I2C1STAT.setI2COV; inline;
  12503. begin
  12504. pTDefRegMap(@Self)^.&set := $00000040;
  12505. end;
  12506. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  12507. begin
  12508. pTDefRegMap(@Self)^.clr := $00000040;
  12509. end;
  12510. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  12511. begin
  12512. if thebits = 0 then
  12513. pTDefRegMap(@Self)^.clr := $00000040
  12514. else
  12515. pTDefRegMap(@Self)^.&set := $00000040;
  12516. end;
  12517. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  12518. begin
  12519. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12520. end;
  12521. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  12522. begin
  12523. pTDefRegMap(@Self)^.&set := $00000080;
  12524. end;
  12525. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  12526. begin
  12527. pTDefRegMap(@Self)^.clr := $00000080;
  12528. end;
  12529. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  12530. begin
  12531. if thebits = 0 then
  12532. pTDefRegMap(@Self)^.clr := $00000080
  12533. else
  12534. pTDefRegMap(@Self)^.&set := $00000080;
  12535. end;
  12536. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  12537. begin
  12538. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12539. end;
  12540. procedure TI2C1_I2C1STAT.setADD10; inline;
  12541. begin
  12542. pTDefRegMap(@Self)^.&set := $00000100;
  12543. end;
  12544. procedure TI2C1_I2C1STAT.clearADD10; inline;
  12545. begin
  12546. pTDefRegMap(@Self)^.clr := $00000100;
  12547. end;
  12548. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  12549. begin
  12550. if thebits = 0 then
  12551. pTDefRegMap(@Self)^.clr := $00000100
  12552. else
  12553. pTDefRegMap(@Self)^.&set := $00000100;
  12554. end;
  12555. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  12556. begin
  12557. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12558. end;
  12559. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  12560. begin
  12561. pTDefRegMap(@Self)^.&set := $00000200;
  12562. end;
  12563. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  12564. begin
  12565. pTDefRegMap(@Self)^.clr := $00000200;
  12566. end;
  12567. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  12568. begin
  12569. if thebits = 0 then
  12570. pTDefRegMap(@Self)^.clr := $00000200
  12571. else
  12572. pTDefRegMap(@Self)^.&set := $00000200;
  12573. end;
  12574. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  12575. begin
  12576. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12577. end;
  12578. procedure TI2C1_I2C1STAT.setBCL; inline;
  12579. begin
  12580. pTDefRegMap(@Self)^.&set := $00000400;
  12581. end;
  12582. procedure TI2C1_I2C1STAT.clearBCL; inline;
  12583. begin
  12584. pTDefRegMap(@Self)^.clr := $00000400;
  12585. end;
  12586. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  12587. begin
  12588. if thebits = 0 then
  12589. pTDefRegMap(@Self)^.clr := $00000400
  12590. else
  12591. pTDefRegMap(@Self)^.&set := $00000400;
  12592. end;
  12593. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  12594. begin
  12595. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12596. end;
  12597. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  12598. begin
  12599. pTDefRegMap(@Self)^.&set := $00004000;
  12600. end;
  12601. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  12602. begin
  12603. pTDefRegMap(@Self)^.clr := $00004000;
  12604. end;
  12605. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  12606. begin
  12607. if thebits = 0 then
  12608. pTDefRegMap(@Self)^.clr := $00004000
  12609. else
  12610. pTDefRegMap(@Self)^.&set := $00004000;
  12611. end;
  12612. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  12613. begin
  12614. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  12615. end;
  12616. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  12617. begin
  12618. pTDefRegMap(@Self)^.&set := $00008000;
  12619. end;
  12620. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  12621. begin
  12622. pTDefRegMap(@Self)^.clr := $00008000;
  12623. end;
  12624. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  12625. begin
  12626. if thebits = 0 then
  12627. pTDefRegMap(@Self)^.clr := $00008000
  12628. else
  12629. pTDefRegMap(@Self)^.&set := $00008000;
  12630. end;
  12631. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  12632. begin
  12633. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12634. end;
  12635. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  12636. begin
  12637. pTDefRegMap(@Self)^.&set := $00000040;
  12638. end;
  12639. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  12640. begin
  12641. pTDefRegMap(@Self)^.clr := $00000040;
  12642. end;
  12643. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  12644. begin
  12645. if thebits = 0 then
  12646. pTDefRegMap(@Self)^.clr := $00000040
  12647. else
  12648. pTDefRegMap(@Self)^.&set := $00000040;
  12649. end;
  12650. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  12651. begin
  12652. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12653. end;
  12654. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  12655. begin
  12656. pTDefRegMap(@Self)^.val := thebits;
  12657. end;
  12658. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  12659. begin
  12660. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12661. end;
  12662. procedure TI2C2_I2C2CON.setSEN; inline;
  12663. begin
  12664. pTDefRegMap(@Self)^.&set := $00000001;
  12665. end;
  12666. procedure TI2C2_I2C2CON.clearSEN; inline;
  12667. begin
  12668. pTDefRegMap(@Self)^.clr := $00000001;
  12669. end;
  12670. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  12671. begin
  12672. if thebits = 0 then
  12673. pTDefRegMap(@Self)^.clr := $00000001
  12674. else
  12675. pTDefRegMap(@Self)^.&set := $00000001;
  12676. end;
  12677. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  12678. begin
  12679. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12680. end;
  12681. procedure TI2C2_I2C2CON.setRSEN; inline;
  12682. begin
  12683. pTDefRegMap(@Self)^.&set := $00000002;
  12684. end;
  12685. procedure TI2C2_I2C2CON.clearRSEN; inline;
  12686. begin
  12687. pTDefRegMap(@Self)^.clr := $00000002;
  12688. end;
  12689. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  12690. begin
  12691. if thebits = 0 then
  12692. pTDefRegMap(@Self)^.clr := $00000002
  12693. else
  12694. pTDefRegMap(@Self)^.&set := $00000002;
  12695. end;
  12696. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  12697. begin
  12698. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12699. end;
  12700. procedure TI2C2_I2C2CON.setPEN; inline;
  12701. begin
  12702. pTDefRegMap(@Self)^.&set := $00000004;
  12703. end;
  12704. procedure TI2C2_I2C2CON.clearPEN; inline;
  12705. begin
  12706. pTDefRegMap(@Self)^.clr := $00000004;
  12707. end;
  12708. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  12709. begin
  12710. if thebits = 0 then
  12711. pTDefRegMap(@Self)^.clr := $00000004
  12712. else
  12713. pTDefRegMap(@Self)^.&set := $00000004;
  12714. end;
  12715. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  12716. begin
  12717. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12718. end;
  12719. procedure TI2C2_I2C2CON.setRCEN; inline;
  12720. begin
  12721. pTDefRegMap(@Self)^.&set := $00000008;
  12722. end;
  12723. procedure TI2C2_I2C2CON.clearRCEN; inline;
  12724. begin
  12725. pTDefRegMap(@Self)^.clr := $00000008;
  12726. end;
  12727. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  12728. begin
  12729. if thebits = 0 then
  12730. pTDefRegMap(@Self)^.clr := $00000008
  12731. else
  12732. pTDefRegMap(@Self)^.&set := $00000008;
  12733. end;
  12734. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  12735. begin
  12736. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12737. end;
  12738. procedure TI2C2_I2C2CON.setACKEN; inline;
  12739. begin
  12740. pTDefRegMap(@Self)^.&set := $00000010;
  12741. end;
  12742. procedure TI2C2_I2C2CON.clearACKEN; inline;
  12743. begin
  12744. pTDefRegMap(@Self)^.clr := $00000010;
  12745. end;
  12746. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  12747. begin
  12748. if thebits = 0 then
  12749. pTDefRegMap(@Self)^.clr := $00000010
  12750. else
  12751. pTDefRegMap(@Self)^.&set := $00000010;
  12752. end;
  12753. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  12754. begin
  12755. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12756. end;
  12757. procedure TI2C2_I2C2CON.setACKDT; inline;
  12758. begin
  12759. pTDefRegMap(@Self)^.&set := $00000020;
  12760. end;
  12761. procedure TI2C2_I2C2CON.clearACKDT; inline;
  12762. begin
  12763. pTDefRegMap(@Self)^.clr := $00000020;
  12764. end;
  12765. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  12766. begin
  12767. if thebits = 0 then
  12768. pTDefRegMap(@Self)^.clr := $00000020
  12769. else
  12770. pTDefRegMap(@Self)^.&set := $00000020;
  12771. end;
  12772. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  12773. begin
  12774. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12775. end;
  12776. procedure TI2C2_I2C2CON.setSTREN; inline;
  12777. begin
  12778. pTDefRegMap(@Self)^.&set := $00000040;
  12779. end;
  12780. procedure TI2C2_I2C2CON.clearSTREN; inline;
  12781. begin
  12782. pTDefRegMap(@Self)^.clr := $00000040;
  12783. end;
  12784. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  12785. begin
  12786. if thebits = 0 then
  12787. pTDefRegMap(@Self)^.clr := $00000040
  12788. else
  12789. pTDefRegMap(@Self)^.&set := $00000040;
  12790. end;
  12791. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  12792. begin
  12793. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12794. end;
  12795. procedure TI2C2_I2C2CON.setGCEN; inline;
  12796. begin
  12797. pTDefRegMap(@Self)^.&set := $00000080;
  12798. end;
  12799. procedure TI2C2_I2C2CON.clearGCEN; inline;
  12800. begin
  12801. pTDefRegMap(@Self)^.clr := $00000080;
  12802. end;
  12803. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  12804. begin
  12805. if thebits = 0 then
  12806. pTDefRegMap(@Self)^.clr := $00000080
  12807. else
  12808. pTDefRegMap(@Self)^.&set := $00000080;
  12809. end;
  12810. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  12811. begin
  12812. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12813. end;
  12814. procedure TI2C2_I2C2CON.setSMEN; inline;
  12815. begin
  12816. pTDefRegMap(@Self)^.&set := $00000100;
  12817. end;
  12818. procedure TI2C2_I2C2CON.clearSMEN; inline;
  12819. begin
  12820. pTDefRegMap(@Self)^.clr := $00000100;
  12821. end;
  12822. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  12823. begin
  12824. if thebits = 0 then
  12825. pTDefRegMap(@Self)^.clr := $00000100
  12826. else
  12827. pTDefRegMap(@Self)^.&set := $00000100;
  12828. end;
  12829. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  12830. begin
  12831. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12832. end;
  12833. procedure TI2C2_I2C2CON.setDISSLW; inline;
  12834. begin
  12835. pTDefRegMap(@Self)^.&set := $00000200;
  12836. end;
  12837. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  12838. begin
  12839. pTDefRegMap(@Self)^.clr := $00000200;
  12840. end;
  12841. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  12842. begin
  12843. if thebits = 0 then
  12844. pTDefRegMap(@Self)^.clr := $00000200
  12845. else
  12846. pTDefRegMap(@Self)^.&set := $00000200;
  12847. end;
  12848. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  12849. begin
  12850. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12851. end;
  12852. procedure TI2C2_I2C2CON.setA10M; inline;
  12853. begin
  12854. pTDefRegMap(@Self)^.&set := $00000400;
  12855. end;
  12856. procedure TI2C2_I2C2CON.clearA10M; inline;
  12857. begin
  12858. pTDefRegMap(@Self)^.clr := $00000400;
  12859. end;
  12860. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  12861. begin
  12862. if thebits = 0 then
  12863. pTDefRegMap(@Self)^.clr := $00000400
  12864. else
  12865. pTDefRegMap(@Self)^.&set := $00000400;
  12866. end;
  12867. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  12868. begin
  12869. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  12870. end;
  12871. procedure TI2C2_I2C2CON.setSTRICT; inline;
  12872. begin
  12873. pTDefRegMap(@Self)^.&set := $00000800;
  12874. end;
  12875. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  12876. begin
  12877. pTDefRegMap(@Self)^.clr := $00000800;
  12878. end;
  12879. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  12880. begin
  12881. if thebits = 0 then
  12882. pTDefRegMap(@Self)^.clr := $00000800
  12883. else
  12884. pTDefRegMap(@Self)^.&set := $00000800;
  12885. end;
  12886. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  12887. begin
  12888. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12889. end;
  12890. procedure TI2C2_I2C2CON.setSCLREL; inline;
  12891. begin
  12892. pTDefRegMap(@Self)^.&set := $00001000;
  12893. end;
  12894. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  12895. begin
  12896. pTDefRegMap(@Self)^.clr := $00001000;
  12897. end;
  12898. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  12899. begin
  12900. if thebits = 0 then
  12901. pTDefRegMap(@Self)^.clr := $00001000
  12902. else
  12903. pTDefRegMap(@Self)^.&set := $00001000;
  12904. end;
  12905. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  12906. begin
  12907. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  12908. end;
  12909. procedure TI2C2_I2C2CON.setSIDL; inline;
  12910. begin
  12911. pTDefRegMap(@Self)^.&set := $00002000;
  12912. end;
  12913. procedure TI2C2_I2C2CON.clearSIDL; inline;
  12914. begin
  12915. pTDefRegMap(@Self)^.clr := $00002000;
  12916. end;
  12917. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  12918. begin
  12919. if thebits = 0 then
  12920. pTDefRegMap(@Self)^.clr := $00002000
  12921. else
  12922. pTDefRegMap(@Self)^.&set := $00002000;
  12923. end;
  12924. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  12925. begin
  12926. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12927. end;
  12928. procedure TI2C2_I2C2CON.setON; inline;
  12929. begin
  12930. pTDefRegMap(@Self)^.&set := $00008000;
  12931. end;
  12932. procedure TI2C2_I2C2CON.clearON; inline;
  12933. begin
  12934. pTDefRegMap(@Self)^.clr := $00008000;
  12935. end;
  12936. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  12937. begin
  12938. if thebits = 0 then
  12939. pTDefRegMap(@Self)^.clr := $00008000
  12940. else
  12941. pTDefRegMap(@Self)^.&set := $00008000;
  12942. end;
  12943. function TI2C2_I2C2CON.getON : TBits_1; inline;
  12944. begin
  12945. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12946. end;
  12947. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  12948. begin
  12949. pTDefRegMap(@Self)^.&set := $00000800;
  12950. end;
  12951. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  12952. begin
  12953. pTDefRegMap(@Self)^.clr := $00000800;
  12954. end;
  12955. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  12956. begin
  12957. if thebits = 0 then
  12958. pTDefRegMap(@Self)^.clr := $00000800
  12959. else
  12960. pTDefRegMap(@Self)^.&set := $00000800;
  12961. end;
  12962. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  12963. begin
  12964. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  12965. end;
  12966. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  12967. begin
  12968. pTDefRegMap(@Self)^.&set := $00002000;
  12969. end;
  12970. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  12971. begin
  12972. pTDefRegMap(@Self)^.clr := $00002000;
  12973. end;
  12974. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  12975. begin
  12976. if thebits = 0 then
  12977. pTDefRegMap(@Self)^.clr := $00002000
  12978. else
  12979. pTDefRegMap(@Self)^.&set := $00002000;
  12980. end;
  12981. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  12982. begin
  12983. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12984. end;
  12985. procedure TI2C2_I2C2CON.setI2CEN; inline;
  12986. begin
  12987. pTDefRegMap(@Self)^.&set := $00008000;
  12988. end;
  12989. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  12990. begin
  12991. pTDefRegMap(@Self)^.clr := $00008000;
  12992. end;
  12993. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  12994. begin
  12995. if thebits = 0 then
  12996. pTDefRegMap(@Self)^.clr := $00008000
  12997. else
  12998. pTDefRegMap(@Self)^.&set := $00008000;
  12999. end;
  13000. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  13001. begin
  13002. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13003. end;
  13004. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  13005. begin
  13006. pTDefRegMap(@Self)^.val := thebits;
  13007. end;
  13008. function TI2C2_I2C2CON.getw : TBits_32; inline;
  13009. begin
  13010. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13011. end;
  13012. procedure TI2C2_I2C2STAT.setTBF; inline;
  13013. begin
  13014. pTDefRegMap(@Self)^.&set := $00000001;
  13015. end;
  13016. procedure TI2C2_I2C2STAT.clearTBF; inline;
  13017. begin
  13018. pTDefRegMap(@Self)^.clr := $00000001;
  13019. end;
  13020. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  13021. begin
  13022. if thebits = 0 then
  13023. pTDefRegMap(@Self)^.clr := $00000001
  13024. else
  13025. pTDefRegMap(@Self)^.&set := $00000001;
  13026. end;
  13027. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  13028. begin
  13029. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13030. end;
  13031. procedure TI2C2_I2C2STAT.setRBF; inline;
  13032. begin
  13033. pTDefRegMap(@Self)^.&set := $00000002;
  13034. end;
  13035. procedure TI2C2_I2C2STAT.clearRBF; inline;
  13036. begin
  13037. pTDefRegMap(@Self)^.clr := $00000002;
  13038. end;
  13039. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  13040. begin
  13041. if thebits = 0 then
  13042. pTDefRegMap(@Self)^.clr := $00000002
  13043. else
  13044. pTDefRegMap(@Self)^.&set := $00000002;
  13045. end;
  13046. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  13047. begin
  13048. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13049. end;
  13050. procedure TI2C2_I2C2STAT.setR_W; inline;
  13051. begin
  13052. pTDefRegMap(@Self)^.&set := $00000004;
  13053. end;
  13054. procedure TI2C2_I2C2STAT.clearR_W; inline;
  13055. begin
  13056. pTDefRegMap(@Self)^.clr := $00000004;
  13057. end;
  13058. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  13059. begin
  13060. if thebits = 0 then
  13061. pTDefRegMap(@Self)^.clr := $00000004
  13062. else
  13063. pTDefRegMap(@Self)^.&set := $00000004;
  13064. end;
  13065. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  13066. begin
  13067. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13068. end;
  13069. procedure TI2C2_I2C2STAT.setS; inline;
  13070. begin
  13071. pTDefRegMap(@Self)^.&set := $00000008;
  13072. end;
  13073. procedure TI2C2_I2C2STAT.clearS; inline;
  13074. begin
  13075. pTDefRegMap(@Self)^.clr := $00000008;
  13076. end;
  13077. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  13078. begin
  13079. if thebits = 0 then
  13080. pTDefRegMap(@Self)^.clr := $00000008
  13081. else
  13082. pTDefRegMap(@Self)^.&set := $00000008;
  13083. end;
  13084. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  13085. begin
  13086. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13087. end;
  13088. procedure TI2C2_I2C2STAT.setP; inline;
  13089. begin
  13090. pTDefRegMap(@Self)^.&set := $00000010;
  13091. end;
  13092. procedure TI2C2_I2C2STAT.clearP; inline;
  13093. begin
  13094. pTDefRegMap(@Self)^.clr := $00000010;
  13095. end;
  13096. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  13097. begin
  13098. if thebits = 0 then
  13099. pTDefRegMap(@Self)^.clr := $00000010
  13100. else
  13101. pTDefRegMap(@Self)^.&set := $00000010;
  13102. end;
  13103. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  13104. begin
  13105. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13106. end;
  13107. procedure TI2C2_I2C2STAT.setD_A; inline;
  13108. begin
  13109. pTDefRegMap(@Self)^.&set := $00000020;
  13110. end;
  13111. procedure TI2C2_I2C2STAT.clearD_A; inline;
  13112. begin
  13113. pTDefRegMap(@Self)^.clr := $00000020;
  13114. end;
  13115. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  13116. begin
  13117. if thebits = 0 then
  13118. pTDefRegMap(@Self)^.clr := $00000020
  13119. else
  13120. pTDefRegMap(@Self)^.&set := $00000020;
  13121. end;
  13122. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  13123. begin
  13124. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13125. end;
  13126. procedure TI2C2_I2C2STAT.setI2COV; inline;
  13127. begin
  13128. pTDefRegMap(@Self)^.&set := $00000040;
  13129. end;
  13130. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  13131. begin
  13132. pTDefRegMap(@Self)^.clr := $00000040;
  13133. end;
  13134. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  13135. begin
  13136. if thebits = 0 then
  13137. pTDefRegMap(@Self)^.clr := $00000040
  13138. else
  13139. pTDefRegMap(@Self)^.&set := $00000040;
  13140. end;
  13141. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  13142. begin
  13143. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13144. end;
  13145. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  13146. begin
  13147. pTDefRegMap(@Self)^.&set := $00000080;
  13148. end;
  13149. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  13150. begin
  13151. pTDefRegMap(@Self)^.clr := $00000080;
  13152. end;
  13153. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  13154. begin
  13155. if thebits = 0 then
  13156. pTDefRegMap(@Self)^.clr := $00000080
  13157. else
  13158. pTDefRegMap(@Self)^.&set := $00000080;
  13159. end;
  13160. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  13161. begin
  13162. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13163. end;
  13164. procedure TI2C2_I2C2STAT.setADD10; inline;
  13165. begin
  13166. pTDefRegMap(@Self)^.&set := $00000100;
  13167. end;
  13168. procedure TI2C2_I2C2STAT.clearADD10; inline;
  13169. begin
  13170. pTDefRegMap(@Self)^.clr := $00000100;
  13171. end;
  13172. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  13173. begin
  13174. if thebits = 0 then
  13175. pTDefRegMap(@Self)^.clr := $00000100
  13176. else
  13177. pTDefRegMap(@Self)^.&set := $00000100;
  13178. end;
  13179. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  13180. begin
  13181. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13182. end;
  13183. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  13184. begin
  13185. pTDefRegMap(@Self)^.&set := $00000200;
  13186. end;
  13187. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  13188. begin
  13189. pTDefRegMap(@Self)^.clr := $00000200;
  13190. end;
  13191. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  13192. begin
  13193. if thebits = 0 then
  13194. pTDefRegMap(@Self)^.clr := $00000200
  13195. else
  13196. pTDefRegMap(@Self)^.&set := $00000200;
  13197. end;
  13198. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  13199. begin
  13200. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13201. end;
  13202. procedure TI2C2_I2C2STAT.setBCL; inline;
  13203. begin
  13204. pTDefRegMap(@Self)^.&set := $00000400;
  13205. end;
  13206. procedure TI2C2_I2C2STAT.clearBCL; inline;
  13207. begin
  13208. pTDefRegMap(@Self)^.clr := $00000400;
  13209. end;
  13210. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  13211. begin
  13212. if thebits = 0 then
  13213. pTDefRegMap(@Self)^.clr := $00000400
  13214. else
  13215. pTDefRegMap(@Self)^.&set := $00000400;
  13216. end;
  13217. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  13218. begin
  13219. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13220. end;
  13221. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  13222. begin
  13223. pTDefRegMap(@Self)^.&set := $00004000;
  13224. end;
  13225. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  13226. begin
  13227. pTDefRegMap(@Self)^.clr := $00004000;
  13228. end;
  13229. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  13230. begin
  13231. if thebits = 0 then
  13232. pTDefRegMap(@Self)^.clr := $00004000
  13233. else
  13234. pTDefRegMap(@Self)^.&set := $00004000;
  13235. end;
  13236. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  13237. begin
  13238. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  13239. end;
  13240. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  13241. begin
  13242. pTDefRegMap(@Self)^.&set := $00008000;
  13243. end;
  13244. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  13245. begin
  13246. pTDefRegMap(@Self)^.clr := $00008000;
  13247. end;
  13248. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  13249. begin
  13250. if thebits = 0 then
  13251. pTDefRegMap(@Self)^.clr := $00008000
  13252. else
  13253. pTDefRegMap(@Self)^.&set := $00008000;
  13254. end;
  13255. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  13256. begin
  13257. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13258. end;
  13259. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  13260. begin
  13261. pTDefRegMap(@Self)^.&set := $00000040;
  13262. end;
  13263. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  13264. begin
  13265. pTDefRegMap(@Self)^.clr := $00000040;
  13266. end;
  13267. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  13268. begin
  13269. if thebits = 0 then
  13270. pTDefRegMap(@Self)^.clr := $00000040
  13271. else
  13272. pTDefRegMap(@Self)^.&set := $00000040;
  13273. end;
  13274. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  13275. begin
  13276. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13277. end;
  13278. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  13279. begin
  13280. pTDefRegMap(@Self)^.val := thebits;
  13281. end;
  13282. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  13283. begin
  13284. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13285. end;
  13286. procedure TSPI1_SPI1CON.setMSTEN; inline;
  13287. begin
  13288. pTDefRegMap(@Self)^.&set := $00000020;
  13289. end;
  13290. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  13291. begin
  13292. pTDefRegMap(@Self)^.clr := $00000020;
  13293. end;
  13294. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  13295. begin
  13296. if thebits = 0 then
  13297. pTDefRegMap(@Self)^.clr := $00000020
  13298. else
  13299. pTDefRegMap(@Self)^.&set := $00000020;
  13300. end;
  13301. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  13302. begin
  13303. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13304. end;
  13305. procedure TSPI1_SPI1CON.setCKP; inline;
  13306. begin
  13307. pTDefRegMap(@Self)^.&set := $00000040;
  13308. end;
  13309. procedure TSPI1_SPI1CON.clearCKP; inline;
  13310. begin
  13311. pTDefRegMap(@Self)^.clr := $00000040;
  13312. end;
  13313. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  13314. begin
  13315. if thebits = 0 then
  13316. pTDefRegMap(@Self)^.clr := $00000040
  13317. else
  13318. pTDefRegMap(@Self)^.&set := $00000040;
  13319. end;
  13320. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  13321. begin
  13322. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13323. end;
  13324. procedure TSPI1_SPI1CON.setSSEN; inline;
  13325. begin
  13326. pTDefRegMap(@Self)^.&set := $00000080;
  13327. end;
  13328. procedure TSPI1_SPI1CON.clearSSEN; inline;
  13329. begin
  13330. pTDefRegMap(@Self)^.clr := $00000080;
  13331. end;
  13332. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  13333. begin
  13334. if thebits = 0 then
  13335. pTDefRegMap(@Self)^.clr := $00000080
  13336. else
  13337. pTDefRegMap(@Self)^.&set := $00000080;
  13338. end;
  13339. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  13340. begin
  13341. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13342. end;
  13343. procedure TSPI1_SPI1CON.setCKE; inline;
  13344. begin
  13345. pTDefRegMap(@Self)^.&set := $00000100;
  13346. end;
  13347. procedure TSPI1_SPI1CON.clearCKE; inline;
  13348. begin
  13349. pTDefRegMap(@Self)^.clr := $00000100;
  13350. end;
  13351. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  13352. begin
  13353. if thebits = 0 then
  13354. pTDefRegMap(@Self)^.clr := $00000100
  13355. else
  13356. pTDefRegMap(@Self)^.&set := $00000100;
  13357. end;
  13358. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  13359. begin
  13360. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13361. end;
  13362. procedure TSPI1_SPI1CON.setSMP; inline;
  13363. begin
  13364. pTDefRegMap(@Self)^.&set := $00000200;
  13365. end;
  13366. procedure TSPI1_SPI1CON.clearSMP; inline;
  13367. begin
  13368. pTDefRegMap(@Self)^.clr := $00000200;
  13369. end;
  13370. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  13371. begin
  13372. if thebits = 0 then
  13373. pTDefRegMap(@Self)^.clr := $00000200
  13374. else
  13375. pTDefRegMap(@Self)^.&set := $00000200;
  13376. end;
  13377. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  13378. begin
  13379. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13380. end;
  13381. procedure TSPI1_SPI1CON.setMODE16; inline;
  13382. begin
  13383. pTDefRegMap(@Self)^.&set := $00000400;
  13384. end;
  13385. procedure TSPI1_SPI1CON.clearMODE16; inline;
  13386. begin
  13387. pTDefRegMap(@Self)^.clr := $00000400;
  13388. end;
  13389. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  13390. begin
  13391. if thebits = 0 then
  13392. pTDefRegMap(@Self)^.clr := $00000400
  13393. else
  13394. pTDefRegMap(@Self)^.&set := $00000400;
  13395. end;
  13396. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  13397. begin
  13398. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13399. end;
  13400. procedure TSPI1_SPI1CON.setMODE32; inline;
  13401. begin
  13402. pTDefRegMap(@Self)^.&set := $00000800;
  13403. end;
  13404. procedure TSPI1_SPI1CON.clearMODE32; inline;
  13405. begin
  13406. pTDefRegMap(@Self)^.clr := $00000800;
  13407. end;
  13408. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  13409. begin
  13410. if thebits = 0 then
  13411. pTDefRegMap(@Self)^.clr := $00000800
  13412. else
  13413. pTDefRegMap(@Self)^.&set := $00000800;
  13414. end;
  13415. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  13416. begin
  13417. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13418. end;
  13419. procedure TSPI1_SPI1CON.setDISSDO; inline;
  13420. begin
  13421. pTDefRegMap(@Self)^.&set := $00001000;
  13422. end;
  13423. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  13424. begin
  13425. pTDefRegMap(@Self)^.clr := $00001000;
  13426. end;
  13427. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  13428. begin
  13429. if thebits = 0 then
  13430. pTDefRegMap(@Self)^.clr := $00001000
  13431. else
  13432. pTDefRegMap(@Self)^.&set := $00001000;
  13433. end;
  13434. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  13435. begin
  13436. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13437. end;
  13438. procedure TSPI1_SPI1CON.setSIDL; inline;
  13439. begin
  13440. pTDefRegMap(@Self)^.&set := $00002000;
  13441. end;
  13442. procedure TSPI1_SPI1CON.clearSIDL; inline;
  13443. begin
  13444. pTDefRegMap(@Self)^.clr := $00002000;
  13445. end;
  13446. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  13447. begin
  13448. if thebits = 0 then
  13449. pTDefRegMap(@Self)^.clr := $00002000
  13450. else
  13451. pTDefRegMap(@Self)^.&set := $00002000;
  13452. end;
  13453. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  13454. begin
  13455. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13456. end;
  13457. procedure TSPI1_SPI1CON.setON; inline;
  13458. begin
  13459. pTDefRegMap(@Self)^.&set := $00008000;
  13460. end;
  13461. procedure TSPI1_SPI1CON.clearON; inline;
  13462. begin
  13463. pTDefRegMap(@Self)^.clr := $00008000;
  13464. end;
  13465. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  13466. begin
  13467. if thebits = 0 then
  13468. pTDefRegMap(@Self)^.clr := $00008000
  13469. else
  13470. pTDefRegMap(@Self)^.&set := $00008000;
  13471. end;
  13472. function TSPI1_SPI1CON.getON : TBits_1; inline;
  13473. begin
  13474. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13475. end;
  13476. procedure TSPI1_SPI1CON.setSPIFE; inline;
  13477. begin
  13478. pTDefRegMap(@Self)^.&set := $00020000;
  13479. end;
  13480. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  13481. begin
  13482. pTDefRegMap(@Self)^.clr := $00020000;
  13483. end;
  13484. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  13485. begin
  13486. if thebits = 0 then
  13487. pTDefRegMap(@Self)^.clr := $00020000
  13488. else
  13489. pTDefRegMap(@Self)^.&set := $00020000;
  13490. end;
  13491. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  13492. begin
  13493. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  13494. end;
  13495. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  13496. begin
  13497. pTDefRegMap(@Self)^.&set := $20000000;
  13498. end;
  13499. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  13500. begin
  13501. pTDefRegMap(@Self)^.clr := $20000000;
  13502. end;
  13503. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  13504. begin
  13505. if thebits = 0 then
  13506. pTDefRegMap(@Self)^.clr := $20000000
  13507. else
  13508. pTDefRegMap(@Self)^.&set := $20000000;
  13509. end;
  13510. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  13511. begin
  13512. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  13513. end;
  13514. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  13515. begin
  13516. pTDefRegMap(@Self)^.&set := $40000000;
  13517. end;
  13518. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  13519. begin
  13520. pTDefRegMap(@Self)^.clr := $40000000;
  13521. end;
  13522. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  13523. begin
  13524. if thebits = 0 then
  13525. pTDefRegMap(@Self)^.clr := $40000000
  13526. else
  13527. pTDefRegMap(@Self)^.&set := $40000000;
  13528. end;
  13529. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  13530. begin
  13531. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  13532. end;
  13533. procedure TSPI1_SPI1CON.setFRMEN; inline;
  13534. begin
  13535. pTDefRegMap(@Self)^.&set := $80000000;
  13536. end;
  13537. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  13538. begin
  13539. pTDefRegMap(@Self)^.clr := $80000000;
  13540. end;
  13541. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  13542. begin
  13543. if thebits = 0 then
  13544. pTDefRegMap(@Self)^.clr := $80000000
  13545. else
  13546. pTDefRegMap(@Self)^.&set := $80000000;
  13547. end;
  13548. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  13549. begin
  13550. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  13551. end;
  13552. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  13553. begin
  13554. pTDefRegMap(@Self)^.val := thebits;
  13555. end;
  13556. function TSPI1_SPI1CON.getw : TBits_32; inline;
  13557. begin
  13558. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13559. end;
  13560. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  13561. begin
  13562. pTDefRegMap(@Self)^.&set := $00000001;
  13563. end;
  13564. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  13565. begin
  13566. pTDefRegMap(@Self)^.clr := $00000001;
  13567. end;
  13568. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  13569. begin
  13570. if thebits = 0 then
  13571. pTDefRegMap(@Self)^.clr := $00000001
  13572. else
  13573. pTDefRegMap(@Self)^.&set := $00000001;
  13574. end;
  13575. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  13576. begin
  13577. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13578. end;
  13579. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  13580. begin
  13581. pTDefRegMap(@Self)^.&set := $00000008;
  13582. end;
  13583. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  13584. begin
  13585. pTDefRegMap(@Self)^.clr := $00000008;
  13586. end;
  13587. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  13588. begin
  13589. if thebits = 0 then
  13590. pTDefRegMap(@Self)^.clr := $00000008
  13591. else
  13592. pTDefRegMap(@Self)^.&set := $00000008;
  13593. end;
  13594. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  13595. begin
  13596. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13597. end;
  13598. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  13599. begin
  13600. pTDefRegMap(@Self)^.&set := $00000040;
  13601. end;
  13602. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  13603. begin
  13604. pTDefRegMap(@Self)^.clr := $00000040;
  13605. end;
  13606. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  13607. begin
  13608. if thebits = 0 then
  13609. pTDefRegMap(@Self)^.clr := $00000040
  13610. else
  13611. pTDefRegMap(@Self)^.&set := $00000040;
  13612. end;
  13613. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  13614. begin
  13615. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13616. end;
  13617. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  13618. begin
  13619. pTDefRegMap(@Self)^.&set := $00000800;
  13620. end;
  13621. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  13622. begin
  13623. pTDefRegMap(@Self)^.clr := $00000800;
  13624. end;
  13625. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  13626. begin
  13627. if thebits = 0 then
  13628. pTDefRegMap(@Self)^.clr := $00000800
  13629. else
  13630. pTDefRegMap(@Self)^.&set := $00000800;
  13631. end;
  13632. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  13633. begin
  13634. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13635. end;
  13636. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  13637. begin
  13638. pTDefRegMap(@Self)^.val := thebits;
  13639. end;
  13640. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  13641. begin
  13642. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13643. end;
  13644. procedure TSPI2_SPI2CON.setMSTEN; inline;
  13645. begin
  13646. pTDefRegMap(@Self)^.&set := $00000020;
  13647. end;
  13648. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  13649. begin
  13650. pTDefRegMap(@Self)^.clr := $00000020;
  13651. end;
  13652. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  13653. begin
  13654. if thebits = 0 then
  13655. pTDefRegMap(@Self)^.clr := $00000020
  13656. else
  13657. pTDefRegMap(@Self)^.&set := $00000020;
  13658. end;
  13659. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  13660. begin
  13661. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13662. end;
  13663. procedure TSPI2_SPI2CON.setCKP; inline;
  13664. begin
  13665. pTDefRegMap(@Self)^.&set := $00000040;
  13666. end;
  13667. procedure TSPI2_SPI2CON.clearCKP; inline;
  13668. begin
  13669. pTDefRegMap(@Self)^.clr := $00000040;
  13670. end;
  13671. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  13672. begin
  13673. if thebits = 0 then
  13674. pTDefRegMap(@Self)^.clr := $00000040
  13675. else
  13676. pTDefRegMap(@Self)^.&set := $00000040;
  13677. end;
  13678. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  13679. begin
  13680. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13681. end;
  13682. procedure TSPI2_SPI2CON.setSSEN; inline;
  13683. begin
  13684. pTDefRegMap(@Self)^.&set := $00000080;
  13685. end;
  13686. procedure TSPI2_SPI2CON.clearSSEN; inline;
  13687. begin
  13688. pTDefRegMap(@Self)^.clr := $00000080;
  13689. end;
  13690. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  13691. begin
  13692. if thebits = 0 then
  13693. pTDefRegMap(@Self)^.clr := $00000080
  13694. else
  13695. pTDefRegMap(@Self)^.&set := $00000080;
  13696. end;
  13697. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  13698. begin
  13699. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13700. end;
  13701. procedure TSPI2_SPI2CON.setCKE; inline;
  13702. begin
  13703. pTDefRegMap(@Self)^.&set := $00000100;
  13704. end;
  13705. procedure TSPI2_SPI2CON.clearCKE; inline;
  13706. begin
  13707. pTDefRegMap(@Self)^.clr := $00000100;
  13708. end;
  13709. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  13710. begin
  13711. if thebits = 0 then
  13712. pTDefRegMap(@Self)^.clr := $00000100
  13713. else
  13714. pTDefRegMap(@Self)^.&set := $00000100;
  13715. end;
  13716. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  13717. begin
  13718. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13719. end;
  13720. procedure TSPI2_SPI2CON.setSMP; inline;
  13721. begin
  13722. pTDefRegMap(@Self)^.&set := $00000200;
  13723. end;
  13724. procedure TSPI2_SPI2CON.clearSMP; inline;
  13725. begin
  13726. pTDefRegMap(@Self)^.clr := $00000200;
  13727. end;
  13728. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  13729. begin
  13730. if thebits = 0 then
  13731. pTDefRegMap(@Self)^.clr := $00000200
  13732. else
  13733. pTDefRegMap(@Self)^.&set := $00000200;
  13734. end;
  13735. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  13736. begin
  13737. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13738. end;
  13739. procedure TSPI2_SPI2CON.setMODE16; inline;
  13740. begin
  13741. pTDefRegMap(@Self)^.&set := $00000400;
  13742. end;
  13743. procedure TSPI2_SPI2CON.clearMODE16; inline;
  13744. begin
  13745. pTDefRegMap(@Self)^.clr := $00000400;
  13746. end;
  13747. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  13748. begin
  13749. if thebits = 0 then
  13750. pTDefRegMap(@Self)^.clr := $00000400
  13751. else
  13752. pTDefRegMap(@Self)^.&set := $00000400;
  13753. end;
  13754. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  13755. begin
  13756. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13757. end;
  13758. procedure TSPI2_SPI2CON.setMODE32; inline;
  13759. begin
  13760. pTDefRegMap(@Self)^.&set := $00000800;
  13761. end;
  13762. procedure TSPI2_SPI2CON.clearMODE32; inline;
  13763. begin
  13764. pTDefRegMap(@Self)^.clr := $00000800;
  13765. end;
  13766. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  13767. begin
  13768. if thebits = 0 then
  13769. pTDefRegMap(@Self)^.clr := $00000800
  13770. else
  13771. pTDefRegMap(@Self)^.&set := $00000800;
  13772. end;
  13773. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  13774. begin
  13775. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13776. end;
  13777. procedure TSPI2_SPI2CON.setDISSDO; inline;
  13778. begin
  13779. pTDefRegMap(@Self)^.&set := $00001000;
  13780. end;
  13781. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  13782. begin
  13783. pTDefRegMap(@Self)^.clr := $00001000;
  13784. end;
  13785. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  13786. begin
  13787. if thebits = 0 then
  13788. pTDefRegMap(@Self)^.clr := $00001000
  13789. else
  13790. pTDefRegMap(@Self)^.&set := $00001000;
  13791. end;
  13792. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  13793. begin
  13794. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13795. end;
  13796. procedure TSPI2_SPI2CON.setSIDL; inline;
  13797. begin
  13798. pTDefRegMap(@Self)^.&set := $00002000;
  13799. end;
  13800. procedure TSPI2_SPI2CON.clearSIDL; inline;
  13801. begin
  13802. pTDefRegMap(@Self)^.clr := $00002000;
  13803. end;
  13804. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  13805. begin
  13806. if thebits = 0 then
  13807. pTDefRegMap(@Self)^.clr := $00002000
  13808. else
  13809. pTDefRegMap(@Self)^.&set := $00002000;
  13810. end;
  13811. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  13812. begin
  13813. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13814. end;
  13815. procedure TSPI2_SPI2CON.setON; inline;
  13816. begin
  13817. pTDefRegMap(@Self)^.&set := $00008000;
  13818. end;
  13819. procedure TSPI2_SPI2CON.clearON; inline;
  13820. begin
  13821. pTDefRegMap(@Self)^.clr := $00008000;
  13822. end;
  13823. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  13824. begin
  13825. if thebits = 0 then
  13826. pTDefRegMap(@Self)^.clr := $00008000
  13827. else
  13828. pTDefRegMap(@Self)^.&set := $00008000;
  13829. end;
  13830. function TSPI2_SPI2CON.getON : TBits_1; inline;
  13831. begin
  13832. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13833. end;
  13834. procedure TSPI2_SPI2CON.setSPIFE; inline;
  13835. begin
  13836. pTDefRegMap(@Self)^.&set := $00020000;
  13837. end;
  13838. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  13839. begin
  13840. pTDefRegMap(@Self)^.clr := $00020000;
  13841. end;
  13842. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  13843. begin
  13844. if thebits = 0 then
  13845. pTDefRegMap(@Self)^.clr := $00020000
  13846. else
  13847. pTDefRegMap(@Self)^.&set := $00020000;
  13848. end;
  13849. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  13850. begin
  13851. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  13852. end;
  13853. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  13854. begin
  13855. pTDefRegMap(@Self)^.&set := $20000000;
  13856. end;
  13857. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  13858. begin
  13859. pTDefRegMap(@Self)^.clr := $20000000;
  13860. end;
  13861. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  13862. begin
  13863. if thebits = 0 then
  13864. pTDefRegMap(@Self)^.clr := $20000000
  13865. else
  13866. pTDefRegMap(@Self)^.&set := $20000000;
  13867. end;
  13868. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  13869. begin
  13870. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  13871. end;
  13872. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  13873. begin
  13874. pTDefRegMap(@Self)^.&set := $40000000;
  13875. end;
  13876. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  13877. begin
  13878. pTDefRegMap(@Self)^.clr := $40000000;
  13879. end;
  13880. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  13881. begin
  13882. if thebits = 0 then
  13883. pTDefRegMap(@Self)^.clr := $40000000
  13884. else
  13885. pTDefRegMap(@Self)^.&set := $40000000;
  13886. end;
  13887. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  13888. begin
  13889. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  13890. end;
  13891. procedure TSPI2_SPI2CON.setFRMEN; inline;
  13892. begin
  13893. pTDefRegMap(@Self)^.&set := $80000000;
  13894. end;
  13895. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  13896. begin
  13897. pTDefRegMap(@Self)^.clr := $80000000;
  13898. end;
  13899. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  13900. begin
  13901. if thebits = 0 then
  13902. pTDefRegMap(@Self)^.clr := $80000000
  13903. else
  13904. pTDefRegMap(@Self)^.&set := $80000000;
  13905. end;
  13906. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  13907. begin
  13908. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  13909. end;
  13910. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  13911. begin
  13912. pTDefRegMap(@Self)^.val := thebits;
  13913. end;
  13914. function TSPI2_SPI2CON.getw : TBits_32; inline;
  13915. begin
  13916. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13917. end;
  13918. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  13919. begin
  13920. pTDefRegMap(@Self)^.&set := $00000001;
  13921. end;
  13922. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  13923. begin
  13924. pTDefRegMap(@Self)^.clr := $00000001;
  13925. end;
  13926. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  13927. begin
  13928. if thebits = 0 then
  13929. pTDefRegMap(@Self)^.clr := $00000001
  13930. else
  13931. pTDefRegMap(@Self)^.&set := $00000001;
  13932. end;
  13933. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  13934. begin
  13935. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13936. end;
  13937. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  13938. begin
  13939. pTDefRegMap(@Self)^.&set := $00000008;
  13940. end;
  13941. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  13942. begin
  13943. pTDefRegMap(@Self)^.clr := $00000008;
  13944. end;
  13945. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  13946. begin
  13947. if thebits = 0 then
  13948. pTDefRegMap(@Self)^.clr := $00000008
  13949. else
  13950. pTDefRegMap(@Self)^.&set := $00000008;
  13951. end;
  13952. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  13953. begin
  13954. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13955. end;
  13956. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  13957. begin
  13958. pTDefRegMap(@Self)^.&set := $00000040;
  13959. end;
  13960. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  13961. begin
  13962. pTDefRegMap(@Self)^.clr := $00000040;
  13963. end;
  13964. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  13965. begin
  13966. if thebits = 0 then
  13967. pTDefRegMap(@Self)^.clr := $00000040
  13968. else
  13969. pTDefRegMap(@Self)^.&set := $00000040;
  13970. end;
  13971. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  13972. begin
  13973. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13974. end;
  13975. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  13976. begin
  13977. pTDefRegMap(@Self)^.&set := $00000800;
  13978. end;
  13979. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  13980. begin
  13981. pTDefRegMap(@Self)^.clr := $00000800;
  13982. end;
  13983. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  13984. begin
  13985. if thebits = 0 then
  13986. pTDefRegMap(@Self)^.clr := $00000800
  13987. else
  13988. pTDefRegMap(@Self)^.&set := $00000800;
  13989. end;
  13990. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  13991. begin
  13992. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13993. end;
  13994. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  13995. begin
  13996. pTDefRegMap(@Self)^.val := thebits;
  13997. end;
  13998. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  13999. begin
  14000. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14001. end;
  14002. procedure TUART1_U1MODE.setSTSEL; inline;
  14003. begin
  14004. pTDefRegMap(@Self)^.&set := $00000001;
  14005. end;
  14006. procedure TUART1_U1MODE.clearSTSEL; inline;
  14007. begin
  14008. pTDefRegMap(@Self)^.clr := $00000001;
  14009. end;
  14010. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  14011. begin
  14012. if thebits = 0 then
  14013. pTDefRegMap(@Self)^.clr := $00000001
  14014. else
  14015. pTDefRegMap(@Self)^.&set := $00000001;
  14016. end;
  14017. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  14018. begin
  14019. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14020. end;
  14021. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  14022. begin
  14023. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  14024. end;
  14025. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  14026. begin
  14027. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  14028. end;
  14029. procedure TUART1_U1MODE.setBRGH; inline;
  14030. begin
  14031. pTDefRegMap(@Self)^.&set := $00000008;
  14032. end;
  14033. procedure TUART1_U1MODE.clearBRGH; inline;
  14034. begin
  14035. pTDefRegMap(@Self)^.clr := $00000008;
  14036. end;
  14037. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  14038. begin
  14039. if thebits = 0 then
  14040. pTDefRegMap(@Self)^.clr := $00000008
  14041. else
  14042. pTDefRegMap(@Self)^.&set := $00000008;
  14043. end;
  14044. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  14045. begin
  14046. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14047. end;
  14048. procedure TUART1_U1MODE.setRXINV; inline;
  14049. begin
  14050. pTDefRegMap(@Self)^.&set := $00000010;
  14051. end;
  14052. procedure TUART1_U1MODE.clearRXINV; inline;
  14053. begin
  14054. pTDefRegMap(@Self)^.clr := $00000010;
  14055. end;
  14056. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  14057. begin
  14058. if thebits = 0 then
  14059. pTDefRegMap(@Self)^.clr := $00000010
  14060. else
  14061. pTDefRegMap(@Self)^.&set := $00000010;
  14062. end;
  14063. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  14064. begin
  14065. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14066. end;
  14067. procedure TUART1_U1MODE.setABAUD; inline;
  14068. begin
  14069. pTDefRegMap(@Self)^.&set := $00000020;
  14070. end;
  14071. procedure TUART1_U1MODE.clearABAUD; inline;
  14072. begin
  14073. pTDefRegMap(@Self)^.clr := $00000020;
  14074. end;
  14075. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  14076. begin
  14077. if thebits = 0 then
  14078. pTDefRegMap(@Self)^.clr := $00000020
  14079. else
  14080. pTDefRegMap(@Self)^.&set := $00000020;
  14081. end;
  14082. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  14083. begin
  14084. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14085. end;
  14086. procedure TUART1_U1MODE.setLPBACK; inline;
  14087. begin
  14088. pTDefRegMap(@Self)^.&set := $00000040;
  14089. end;
  14090. procedure TUART1_U1MODE.clearLPBACK; inline;
  14091. begin
  14092. pTDefRegMap(@Self)^.clr := $00000040;
  14093. end;
  14094. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  14095. begin
  14096. if thebits = 0 then
  14097. pTDefRegMap(@Self)^.clr := $00000040
  14098. else
  14099. pTDefRegMap(@Self)^.&set := $00000040;
  14100. end;
  14101. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  14102. begin
  14103. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14104. end;
  14105. procedure TUART1_U1MODE.setWAKE; inline;
  14106. begin
  14107. pTDefRegMap(@Self)^.&set := $00000080;
  14108. end;
  14109. procedure TUART1_U1MODE.clearWAKE; inline;
  14110. begin
  14111. pTDefRegMap(@Self)^.clr := $00000080;
  14112. end;
  14113. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  14114. begin
  14115. if thebits = 0 then
  14116. pTDefRegMap(@Self)^.clr := $00000080
  14117. else
  14118. pTDefRegMap(@Self)^.&set := $00000080;
  14119. end;
  14120. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  14121. begin
  14122. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14123. end;
  14124. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  14125. begin
  14126. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  14127. end;
  14128. function TUART1_U1MODE.getUEN : TBits_2; inline;
  14129. begin
  14130. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  14131. end;
  14132. procedure TUART1_U1MODE.setRTSMD; inline;
  14133. begin
  14134. pTDefRegMap(@Self)^.&set := $00000800;
  14135. end;
  14136. procedure TUART1_U1MODE.clearRTSMD; inline;
  14137. begin
  14138. pTDefRegMap(@Self)^.clr := $00000800;
  14139. end;
  14140. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  14141. begin
  14142. if thebits = 0 then
  14143. pTDefRegMap(@Self)^.clr := $00000800
  14144. else
  14145. pTDefRegMap(@Self)^.&set := $00000800;
  14146. end;
  14147. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  14148. begin
  14149. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14150. end;
  14151. procedure TUART1_U1MODE.setIREN; inline;
  14152. begin
  14153. pTDefRegMap(@Self)^.&set := $00001000;
  14154. end;
  14155. procedure TUART1_U1MODE.clearIREN; inline;
  14156. begin
  14157. pTDefRegMap(@Self)^.clr := $00001000;
  14158. end;
  14159. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  14160. begin
  14161. if thebits = 0 then
  14162. pTDefRegMap(@Self)^.clr := $00001000
  14163. else
  14164. pTDefRegMap(@Self)^.&set := $00001000;
  14165. end;
  14166. function TUART1_U1MODE.getIREN : TBits_1; inline;
  14167. begin
  14168. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14169. end;
  14170. procedure TUART1_U1MODE.setSIDL; inline;
  14171. begin
  14172. pTDefRegMap(@Self)^.&set := $00002000;
  14173. end;
  14174. procedure TUART1_U1MODE.clearSIDL; inline;
  14175. begin
  14176. pTDefRegMap(@Self)^.clr := $00002000;
  14177. end;
  14178. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  14179. begin
  14180. if thebits = 0 then
  14181. pTDefRegMap(@Self)^.clr := $00002000
  14182. else
  14183. pTDefRegMap(@Self)^.&set := $00002000;
  14184. end;
  14185. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  14186. begin
  14187. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14188. end;
  14189. procedure TUART1_U1MODE.setON; inline;
  14190. begin
  14191. pTDefRegMap(@Self)^.&set := $00008000;
  14192. end;
  14193. procedure TUART1_U1MODE.clearON; inline;
  14194. begin
  14195. pTDefRegMap(@Self)^.clr := $00008000;
  14196. end;
  14197. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  14198. begin
  14199. if thebits = 0 then
  14200. pTDefRegMap(@Self)^.clr := $00008000
  14201. else
  14202. pTDefRegMap(@Self)^.&set := $00008000;
  14203. end;
  14204. function TUART1_U1MODE.getON : TBits_1; inline;
  14205. begin
  14206. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14207. end;
  14208. procedure TUART1_U1MODE.setPDSEL0; inline;
  14209. begin
  14210. pTDefRegMap(@Self)^.&set := $00000002;
  14211. end;
  14212. procedure TUART1_U1MODE.clearPDSEL0; inline;
  14213. begin
  14214. pTDefRegMap(@Self)^.clr := $00000002;
  14215. end;
  14216. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  14217. begin
  14218. if thebits = 0 then
  14219. pTDefRegMap(@Self)^.clr := $00000002
  14220. else
  14221. pTDefRegMap(@Self)^.&set := $00000002;
  14222. end;
  14223. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  14224. begin
  14225. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14226. end;
  14227. procedure TUART1_U1MODE.setPDSEL1; inline;
  14228. begin
  14229. pTDefRegMap(@Self)^.&set := $00000004;
  14230. end;
  14231. procedure TUART1_U1MODE.clearPDSEL1; inline;
  14232. begin
  14233. pTDefRegMap(@Self)^.clr := $00000004;
  14234. end;
  14235. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  14236. begin
  14237. if thebits = 0 then
  14238. pTDefRegMap(@Self)^.clr := $00000004
  14239. else
  14240. pTDefRegMap(@Self)^.&set := $00000004;
  14241. end;
  14242. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  14243. begin
  14244. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14245. end;
  14246. procedure TUART1_U1MODE.setUEN0; inline;
  14247. begin
  14248. pTDefRegMap(@Self)^.&set := $00000100;
  14249. end;
  14250. procedure TUART1_U1MODE.clearUEN0; inline;
  14251. begin
  14252. pTDefRegMap(@Self)^.clr := $00000100;
  14253. end;
  14254. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  14255. begin
  14256. if thebits = 0 then
  14257. pTDefRegMap(@Self)^.clr := $00000100
  14258. else
  14259. pTDefRegMap(@Self)^.&set := $00000100;
  14260. end;
  14261. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  14262. begin
  14263. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14264. end;
  14265. procedure TUART1_U1MODE.setUEN1; inline;
  14266. begin
  14267. pTDefRegMap(@Self)^.&set := $00000200;
  14268. end;
  14269. procedure TUART1_U1MODE.clearUEN1; inline;
  14270. begin
  14271. pTDefRegMap(@Self)^.clr := $00000200;
  14272. end;
  14273. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  14274. begin
  14275. if thebits = 0 then
  14276. pTDefRegMap(@Self)^.clr := $00000200
  14277. else
  14278. pTDefRegMap(@Self)^.&set := $00000200;
  14279. end;
  14280. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  14281. begin
  14282. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14283. end;
  14284. procedure TUART1_U1MODE.setUSIDL; inline;
  14285. begin
  14286. pTDefRegMap(@Self)^.&set := $00002000;
  14287. end;
  14288. procedure TUART1_U1MODE.clearUSIDL; inline;
  14289. begin
  14290. pTDefRegMap(@Self)^.clr := $00002000;
  14291. end;
  14292. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  14293. begin
  14294. if thebits = 0 then
  14295. pTDefRegMap(@Self)^.clr := $00002000
  14296. else
  14297. pTDefRegMap(@Self)^.&set := $00002000;
  14298. end;
  14299. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  14300. begin
  14301. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14302. end;
  14303. procedure TUART1_U1MODE.setUARTEN; inline;
  14304. begin
  14305. pTDefRegMap(@Self)^.&set := $00008000;
  14306. end;
  14307. procedure TUART1_U1MODE.clearUARTEN; inline;
  14308. begin
  14309. pTDefRegMap(@Self)^.clr := $00008000;
  14310. end;
  14311. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  14312. begin
  14313. if thebits = 0 then
  14314. pTDefRegMap(@Self)^.clr := $00008000
  14315. else
  14316. pTDefRegMap(@Self)^.&set := $00008000;
  14317. end;
  14318. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  14319. begin
  14320. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14321. end;
  14322. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  14323. begin
  14324. pTDefRegMap(@Self)^.val := thebits;
  14325. end;
  14326. function TUART1_U1MODE.getw : TBits_32; inline;
  14327. begin
  14328. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14329. end;
  14330. procedure TUART1_U1STA.setURXDA; inline;
  14331. begin
  14332. pTDefRegMap(@Self)^.&set := $00000001;
  14333. end;
  14334. procedure TUART1_U1STA.clearURXDA; inline;
  14335. begin
  14336. pTDefRegMap(@Self)^.clr := $00000001;
  14337. end;
  14338. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  14339. begin
  14340. if thebits = 0 then
  14341. pTDefRegMap(@Self)^.clr := $00000001
  14342. else
  14343. pTDefRegMap(@Self)^.&set := $00000001;
  14344. end;
  14345. function TUART1_U1STA.getURXDA : TBits_1; inline;
  14346. begin
  14347. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14348. end;
  14349. procedure TUART1_U1STA.setOERR; inline;
  14350. begin
  14351. pTDefRegMap(@Self)^.&set := $00000002;
  14352. end;
  14353. procedure TUART1_U1STA.clearOERR; inline;
  14354. begin
  14355. pTDefRegMap(@Self)^.clr := $00000002;
  14356. end;
  14357. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  14358. begin
  14359. if thebits = 0 then
  14360. pTDefRegMap(@Self)^.clr := $00000002
  14361. else
  14362. pTDefRegMap(@Self)^.&set := $00000002;
  14363. end;
  14364. function TUART1_U1STA.getOERR : TBits_1; inline;
  14365. begin
  14366. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14367. end;
  14368. procedure TUART1_U1STA.setFERR; inline;
  14369. begin
  14370. pTDefRegMap(@Self)^.&set := $00000004;
  14371. end;
  14372. procedure TUART1_U1STA.clearFERR; inline;
  14373. begin
  14374. pTDefRegMap(@Self)^.clr := $00000004;
  14375. end;
  14376. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  14377. begin
  14378. if thebits = 0 then
  14379. pTDefRegMap(@Self)^.clr := $00000004
  14380. else
  14381. pTDefRegMap(@Self)^.&set := $00000004;
  14382. end;
  14383. function TUART1_U1STA.getFERR : TBits_1; inline;
  14384. begin
  14385. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14386. end;
  14387. procedure TUART1_U1STA.setPERR; inline;
  14388. begin
  14389. pTDefRegMap(@Self)^.&set := $00000008;
  14390. end;
  14391. procedure TUART1_U1STA.clearPERR; inline;
  14392. begin
  14393. pTDefRegMap(@Self)^.clr := $00000008;
  14394. end;
  14395. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  14396. begin
  14397. if thebits = 0 then
  14398. pTDefRegMap(@Self)^.clr := $00000008
  14399. else
  14400. pTDefRegMap(@Self)^.&set := $00000008;
  14401. end;
  14402. function TUART1_U1STA.getPERR : TBits_1; inline;
  14403. begin
  14404. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14405. end;
  14406. procedure TUART1_U1STA.setRIDLE; inline;
  14407. begin
  14408. pTDefRegMap(@Self)^.&set := $00000010;
  14409. end;
  14410. procedure TUART1_U1STA.clearRIDLE; inline;
  14411. begin
  14412. pTDefRegMap(@Self)^.clr := $00000010;
  14413. end;
  14414. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  14415. begin
  14416. if thebits = 0 then
  14417. pTDefRegMap(@Self)^.clr := $00000010
  14418. else
  14419. pTDefRegMap(@Self)^.&set := $00000010;
  14420. end;
  14421. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  14422. begin
  14423. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14424. end;
  14425. procedure TUART1_U1STA.setADDEN; inline;
  14426. begin
  14427. pTDefRegMap(@Self)^.&set := $00000020;
  14428. end;
  14429. procedure TUART1_U1STA.clearADDEN; inline;
  14430. begin
  14431. pTDefRegMap(@Self)^.clr := $00000020;
  14432. end;
  14433. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  14434. begin
  14435. if thebits = 0 then
  14436. pTDefRegMap(@Self)^.clr := $00000020
  14437. else
  14438. pTDefRegMap(@Self)^.&set := $00000020;
  14439. end;
  14440. function TUART1_U1STA.getADDEN : TBits_1; inline;
  14441. begin
  14442. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14443. end;
  14444. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  14445. begin
  14446. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  14447. end;
  14448. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  14449. begin
  14450. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  14451. end;
  14452. procedure TUART1_U1STA.setTRMT; inline;
  14453. begin
  14454. pTDefRegMap(@Self)^.&set := $00000100;
  14455. end;
  14456. procedure TUART1_U1STA.clearTRMT; inline;
  14457. begin
  14458. pTDefRegMap(@Self)^.clr := $00000100;
  14459. end;
  14460. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  14461. begin
  14462. if thebits = 0 then
  14463. pTDefRegMap(@Self)^.clr := $00000100
  14464. else
  14465. pTDefRegMap(@Self)^.&set := $00000100;
  14466. end;
  14467. function TUART1_U1STA.getTRMT : TBits_1; inline;
  14468. begin
  14469. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14470. end;
  14471. procedure TUART1_U1STA.setUTXBF; inline;
  14472. begin
  14473. pTDefRegMap(@Self)^.&set := $00000200;
  14474. end;
  14475. procedure TUART1_U1STA.clearUTXBF; inline;
  14476. begin
  14477. pTDefRegMap(@Self)^.clr := $00000200;
  14478. end;
  14479. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  14480. begin
  14481. if thebits = 0 then
  14482. pTDefRegMap(@Self)^.clr := $00000200
  14483. else
  14484. pTDefRegMap(@Self)^.&set := $00000200;
  14485. end;
  14486. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  14487. begin
  14488. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14489. end;
  14490. procedure TUART1_U1STA.setUTXEN; inline;
  14491. begin
  14492. pTDefRegMap(@Self)^.&set := $00000400;
  14493. end;
  14494. procedure TUART1_U1STA.clearUTXEN; inline;
  14495. begin
  14496. pTDefRegMap(@Self)^.clr := $00000400;
  14497. end;
  14498. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  14499. begin
  14500. if thebits = 0 then
  14501. pTDefRegMap(@Self)^.clr := $00000400
  14502. else
  14503. pTDefRegMap(@Self)^.&set := $00000400;
  14504. end;
  14505. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  14506. begin
  14507. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14508. end;
  14509. procedure TUART1_U1STA.setUTXBRK; inline;
  14510. begin
  14511. pTDefRegMap(@Self)^.&set := $00000800;
  14512. end;
  14513. procedure TUART1_U1STA.clearUTXBRK; inline;
  14514. begin
  14515. pTDefRegMap(@Self)^.clr := $00000800;
  14516. end;
  14517. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  14518. begin
  14519. if thebits = 0 then
  14520. pTDefRegMap(@Self)^.clr := $00000800
  14521. else
  14522. pTDefRegMap(@Self)^.&set := $00000800;
  14523. end;
  14524. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  14525. begin
  14526. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14527. end;
  14528. procedure TUART1_U1STA.setURXEN; inline;
  14529. begin
  14530. pTDefRegMap(@Self)^.&set := $00001000;
  14531. end;
  14532. procedure TUART1_U1STA.clearURXEN; inline;
  14533. begin
  14534. pTDefRegMap(@Self)^.clr := $00001000;
  14535. end;
  14536. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  14537. begin
  14538. if thebits = 0 then
  14539. pTDefRegMap(@Self)^.clr := $00001000
  14540. else
  14541. pTDefRegMap(@Self)^.&set := $00001000;
  14542. end;
  14543. function TUART1_U1STA.getURXEN : TBits_1; inline;
  14544. begin
  14545. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14546. end;
  14547. procedure TUART1_U1STA.setUTXINV; inline;
  14548. begin
  14549. pTDefRegMap(@Self)^.&set := $00002000;
  14550. end;
  14551. procedure TUART1_U1STA.clearUTXINV; inline;
  14552. begin
  14553. pTDefRegMap(@Self)^.clr := $00002000;
  14554. end;
  14555. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  14556. begin
  14557. if thebits = 0 then
  14558. pTDefRegMap(@Self)^.clr := $00002000
  14559. else
  14560. pTDefRegMap(@Self)^.&set := $00002000;
  14561. end;
  14562. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  14563. begin
  14564. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14565. end;
  14566. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  14567. begin
  14568. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  14569. end;
  14570. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  14571. begin
  14572. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  14573. end;
  14574. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  14575. begin
  14576. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  14577. end;
  14578. function TUART1_U1STA.getADDR : TBits_8; inline;
  14579. begin
  14580. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  14581. end;
  14582. procedure TUART1_U1STA.setADM_EN; inline;
  14583. begin
  14584. pTDefRegMap(@Self)^.&set := $01000000;
  14585. end;
  14586. procedure TUART1_U1STA.clearADM_EN; inline;
  14587. begin
  14588. pTDefRegMap(@Self)^.clr := $01000000;
  14589. end;
  14590. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  14591. begin
  14592. if thebits = 0 then
  14593. pTDefRegMap(@Self)^.clr := $01000000
  14594. else
  14595. pTDefRegMap(@Self)^.&set := $01000000;
  14596. end;
  14597. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  14598. begin
  14599. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  14600. end;
  14601. procedure TUART1_U1STA.setURXISEL0; inline;
  14602. begin
  14603. pTDefRegMap(@Self)^.&set := $00000040;
  14604. end;
  14605. procedure TUART1_U1STA.clearURXISEL0; inline;
  14606. begin
  14607. pTDefRegMap(@Self)^.clr := $00000040;
  14608. end;
  14609. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  14610. begin
  14611. if thebits = 0 then
  14612. pTDefRegMap(@Self)^.clr := $00000040
  14613. else
  14614. pTDefRegMap(@Self)^.&set := $00000040;
  14615. end;
  14616. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  14617. begin
  14618. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14619. end;
  14620. procedure TUART1_U1STA.setURXISEL1; inline;
  14621. begin
  14622. pTDefRegMap(@Self)^.&set := $00000080;
  14623. end;
  14624. procedure TUART1_U1STA.clearURXISEL1; inline;
  14625. begin
  14626. pTDefRegMap(@Self)^.clr := $00000080;
  14627. end;
  14628. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  14629. begin
  14630. if thebits = 0 then
  14631. pTDefRegMap(@Self)^.clr := $00000080
  14632. else
  14633. pTDefRegMap(@Self)^.&set := $00000080;
  14634. end;
  14635. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  14636. begin
  14637. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14638. end;
  14639. procedure TUART1_U1STA.setUTXISEL0; inline;
  14640. begin
  14641. pTDefRegMap(@Self)^.&set := $00004000;
  14642. end;
  14643. procedure TUART1_U1STA.clearUTXISEL0; inline;
  14644. begin
  14645. pTDefRegMap(@Self)^.clr := $00004000;
  14646. end;
  14647. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  14648. begin
  14649. if thebits = 0 then
  14650. pTDefRegMap(@Self)^.clr := $00004000
  14651. else
  14652. pTDefRegMap(@Self)^.&set := $00004000;
  14653. end;
  14654. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  14655. begin
  14656. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14657. end;
  14658. procedure TUART1_U1STA.setUTXISEL1; inline;
  14659. begin
  14660. pTDefRegMap(@Self)^.&set := $00008000;
  14661. end;
  14662. procedure TUART1_U1STA.clearUTXISEL1; inline;
  14663. begin
  14664. pTDefRegMap(@Self)^.clr := $00008000;
  14665. end;
  14666. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  14667. begin
  14668. if thebits = 0 then
  14669. pTDefRegMap(@Self)^.clr := $00008000
  14670. else
  14671. pTDefRegMap(@Self)^.&set := $00008000;
  14672. end;
  14673. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  14674. begin
  14675. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14676. end;
  14677. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  14678. begin
  14679. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  14680. end;
  14681. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  14682. begin
  14683. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  14684. end;
  14685. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  14686. begin
  14687. pTDefRegMap(@Self)^.val := thebits;
  14688. end;
  14689. function TUART1_U1STA.getw : TBits_32; inline;
  14690. begin
  14691. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14692. end;
  14693. procedure TUART2_U2MODE.setSTSEL; inline;
  14694. begin
  14695. pTDefRegMap(@Self)^.&set := $00000001;
  14696. end;
  14697. procedure TUART2_U2MODE.clearSTSEL; inline;
  14698. begin
  14699. pTDefRegMap(@Self)^.clr := $00000001;
  14700. end;
  14701. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  14702. begin
  14703. if thebits = 0 then
  14704. pTDefRegMap(@Self)^.clr := $00000001
  14705. else
  14706. pTDefRegMap(@Self)^.&set := $00000001;
  14707. end;
  14708. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  14709. begin
  14710. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14711. end;
  14712. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  14713. begin
  14714. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  14715. end;
  14716. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  14717. begin
  14718. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  14719. end;
  14720. procedure TUART2_U2MODE.setBRGH; inline;
  14721. begin
  14722. pTDefRegMap(@Self)^.&set := $00000008;
  14723. end;
  14724. procedure TUART2_U2MODE.clearBRGH; inline;
  14725. begin
  14726. pTDefRegMap(@Self)^.clr := $00000008;
  14727. end;
  14728. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  14729. begin
  14730. if thebits = 0 then
  14731. pTDefRegMap(@Self)^.clr := $00000008
  14732. else
  14733. pTDefRegMap(@Self)^.&set := $00000008;
  14734. end;
  14735. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  14736. begin
  14737. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14738. end;
  14739. procedure TUART2_U2MODE.setRXINV; inline;
  14740. begin
  14741. pTDefRegMap(@Self)^.&set := $00000010;
  14742. end;
  14743. procedure TUART2_U2MODE.clearRXINV; inline;
  14744. begin
  14745. pTDefRegMap(@Self)^.clr := $00000010;
  14746. end;
  14747. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  14748. begin
  14749. if thebits = 0 then
  14750. pTDefRegMap(@Self)^.clr := $00000010
  14751. else
  14752. pTDefRegMap(@Self)^.&set := $00000010;
  14753. end;
  14754. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  14755. begin
  14756. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14757. end;
  14758. procedure TUART2_U2MODE.setABAUD; inline;
  14759. begin
  14760. pTDefRegMap(@Self)^.&set := $00000020;
  14761. end;
  14762. procedure TUART2_U2MODE.clearABAUD; inline;
  14763. begin
  14764. pTDefRegMap(@Self)^.clr := $00000020;
  14765. end;
  14766. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  14767. begin
  14768. if thebits = 0 then
  14769. pTDefRegMap(@Self)^.clr := $00000020
  14770. else
  14771. pTDefRegMap(@Self)^.&set := $00000020;
  14772. end;
  14773. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  14774. begin
  14775. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14776. end;
  14777. procedure TUART2_U2MODE.setLPBACK; inline;
  14778. begin
  14779. pTDefRegMap(@Self)^.&set := $00000040;
  14780. end;
  14781. procedure TUART2_U2MODE.clearLPBACK; inline;
  14782. begin
  14783. pTDefRegMap(@Self)^.clr := $00000040;
  14784. end;
  14785. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  14786. begin
  14787. if thebits = 0 then
  14788. pTDefRegMap(@Self)^.clr := $00000040
  14789. else
  14790. pTDefRegMap(@Self)^.&set := $00000040;
  14791. end;
  14792. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  14793. begin
  14794. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14795. end;
  14796. procedure TUART2_U2MODE.setWAKE; inline;
  14797. begin
  14798. pTDefRegMap(@Self)^.&set := $00000080;
  14799. end;
  14800. procedure TUART2_U2MODE.clearWAKE; inline;
  14801. begin
  14802. pTDefRegMap(@Self)^.clr := $00000080;
  14803. end;
  14804. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  14805. begin
  14806. if thebits = 0 then
  14807. pTDefRegMap(@Self)^.clr := $00000080
  14808. else
  14809. pTDefRegMap(@Self)^.&set := $00000080;
  14810. end;
  14811. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  14812. begin
  14813. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14814. end;
  14815. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  14816. begin
  14817. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  14818. end;
  14819. function TUART2_U2MODE.getUEN : TBits_2; inline;
  14820. begin
  14821. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  14822. end;
  14823. procedure TUART2_U2MODE.setRTSMD; inline;
  14824. begin
  14825. pTDefRegMap(@Self)^.&set := $00000800;
  14826. end;
  14827. procedure TUART2_U2MODE.clearRTSMD; inline;
  14828. begin
  14829. pTDefRegMap(@Self)^.clr := $00000800;
  14830. end;
  14831. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  14832. begin
  14833. if thebits = 0 then
  14834. pTDefRegMap(@Self)^.clr := $00000800
  14835. else
  14836. pTDefRegMap(@Self)^.&set := $00000800;
  14837. end;
  14838. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  14839. begin
  14840. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14841. end;
  14842. procedure TUART2_U2MODE.setIREN; inline;
  14843. begin
  14844. pTDefRegMap(@Self)^.&set := $00001000;
  14845. end;
  14846. procedure TUART2_U2MODE.clearIREN; inline;
  14847. begin
  14848. pTDefRegMap(@Self)^.clr := $00001000;
  14849. end;
  14850. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  14851. begin
  14852. if thebits = 0 then
  14853. pTDefRegMap(@Self)^.clr := $00001000
  14854. else
  14855. pTDefRegMap(@Self)^.&set := $00001000;
  14856. end;
  14857. function TUART2_U2MODE.getIREN : TBits_1; inline;
  14858. begin
  14859. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14860. end;
  14861. procedure TUART2_U2MODE.setSIDL; inline;
  14862. begin
  14863. pTDefRegMap(@Self)^.&set := $00002000;
  14864. end;
  14865. procedure TUART2_U2MODE.clearSIDL; inline;
  14866. begin
  14867. pTDefRegMap(@Self)^.clr := $00002000;
  14868. end;
  14869. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  14870. begin
  14871. if thebits = 0 then
  14872. pTDefRegMap(@Self)^.clr := $00002000
  14873. else
  14874. pTDefRegMap(@Self)^.&set := $00002000;
  14875. end;
  14876. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  14877. begin
  14878. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14879. end;
  14880. procedure TUART2_U2MODE.setON; inline;
  14881. begin
  14882. pTDefRegMap(@Self)^.&set := $00008000;
  14883. end;
  14884. procedure TUART2_U2MODE.clearON; inline;
  14885. begin
  14886. pTDefRegMap(@Self)^.clr := $00008000;
  14887. end;
  14888. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  14889. begin
  14890. if thebits = 0 then
  14891. pTDefRegMap(@Self)^.clr := $00008000
  14892. else
  14893. pTDefRegMap(@Self)^.&set := $00008000;
  14894. end;
  14895. function TUART2_U2MODE.getON : TBits_1; inline;
  14896. begin
  14897. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14898. end;
  14899. procedure TUART2_U2MODE.setPDSEL0; inline;
  14900. begin
  14901. pTDefRegMap(@Self)^.&set := $00000002;
  14902. end;
  14903. procedure TUART2_U2MODE.clearPDSEL0; inline;
  14904. begin
  14905. pTDefRegMap(@Self)^.clr := $00000002;
  14906. end;
  14907. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  14908. begin
  14909. if thebits = 0 then
  14910. pTDefRegMap(@Self)^.clr := $00000002
  14911. else
  14912. pTDefRegMap(@Self)^.&set := $00000002;
  14913. end;
  14914. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  14915. begin
  14916. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14917. end;
  14918. procedure TUART2_U2MODE.setPDSEL1; inline;
  14919. begin
  14920. pTDefRegMap(@Self)^.&set := $00000004;
  14921. end;
  14922. procedure TUART2_U2MODE.clearPDSEL1; inline;
  14923. begin
  14924. pTDefRegMap(@Self)^.clr := $00000004;
  14925. end;
  14926. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  14927. begin
  14928. if thebits = 0 then
  14929. pTDefRegMap(@Self)^.clr := $00000004
  14930. else
  14931. pTDefRegMap(@Self)^.&set := $00000004;
  14932. end;
  14933. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  14934. begin
  14935. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14936. end;
  14937. procedure TUART2_U2MODE.setUEN0; inline;
  14938. begin
  14939. pTDefRegMap(@Self)^.&set := $00000100;
  14940. end;
  14941. procedure TUART2_U2MODE.clearUEN0; inline;
  14942. begin
  14943. pTDefRegMap(@Self)^.clr := $00000100;
  14944. end;
  14945. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  14946. begin
  14947. if thebits = 0 then
  14948. pTDefRegMap(@Self)^.clr := $00000100
  14949. else
  14950. pTDefRegMap(@Self)^.&set := $00000100;
  14951. end;
  14952. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  14953. begin
  14954. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14955. end;
  14956. procedure TUART2_U2MODE.setUEN1; inline;
  14957. begin
  14958. pTDefRegMap(@Self)^.&set := $00000200;
  14959. end;
  14960. procedure TUART2_U2MODE.clearUEN1; inline;
  14961. begin
  14962. pTDefRegMap(@Self)^.clr := $00000200;
  14963. end;
  14964. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  14965. begin
  14966. if thebits = 0 then
  14967. pTDefRegMap(@Self)^.clr := $00000200
  14968. else
  14969. pTDefRegMap(@Self)^.&set := $00000200;
  14970. end;
  14971. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  14972. begin
  14973. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14974. end;
  14975. procedure TUART2_U2MODE.setUSIDL; inline;
  14976. begin
  14977. pTDefRegMap(@Self)^.&set := $00002000;
  14978. end;
  14979. procedure TUART2_U2MODE.clearUSIDL; inline;
  14980. begin
  14981. pTDefRegMap(@Self)^.clr := $00002000;
  14982. end;
  14983. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  14984. begin
  14985. if thebits = 0 then
  14986. pTDefRegMap(@Self)^.clr := $00002000
  14987. else
  14988. pTDefRegMap(@Self)^.&set := $00002000;
  14989. end;
  14990. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  14991. begin
  14992. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14993. end;
  14994. procedure TUART2_U2MODE.setUARTEN; inline;
  14995. begin
  14996. pTDefRegMap(@Self)^.&set := $00008000;
  14997. end;
  14998. procedure TUART2_U2MODE.clearUARTEN; inline;
  14999. begin
  15000. pTDefRegMap(@Self)^.clr := $00008000;
  15001. end;
  15002. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  15003. begin
  15004. if thebits = 0 then
  15005. pTDefRegMap(@Self)^.clr := $00008000
  15006. else
  15007. pTDefRegMap(@Self)^.&set := $00008000;
  15008. end;
  15009. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  15010. begin
  15011. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15012. end;
  15013. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  15014. begin
  15015. pTDefRegMap(@Self)^.val := thebits;
  15016. end;
  15017. function TUART2_U2MODE.getw : TBits_32; inline;
  15018. begin
  15019. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15020. end;
  15021. procedure TUART2_U2STA.setURXDA; inline;
  15022. begin
  15023. pTDefRegMap(@Self)^.&set := $00000001;
  15024. end;
  15025. procedure TUART2_U2STA.clearURXDA; inline;
  15026. begin
  15027. pTDefRegMap(@Self)^.clr := $00000001;
  15028. end;
  15029. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  15030. begin
  15031. if thebits = 0 then
  15032. pTDefRegMap(@Self)^.clr := $00000001
  15033. else
  15034. pTDefRegMap(@Self)^.&set := $00000001;
  15035. end;
  15036. function TUART2_U2STA.getURXDA : TBits_1; inline;
  15037. begin
  15038. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15039. end;
  15040. procedure TUART2_U2STA.setOERR; inline;
  15041. begin
  15042. pTDefRegMap(@Self)^.&set := $00000002;
  15043. end;
  15044. procedure TUART2_U2STA.clearOERR; inline;
  15045. begin
  15046. pTDefRegMap(@Self)^.clr := $00000002;
  15047. end;
  15048. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  15049. begin
  15050. if thebits = 0 then
  15051. pTDefRegMap(@Self)^.clr := $00000002
  15052. else
  15053. pTDefRegMap(@Self)^.&set := $00000002;
  15054. end;
  15055. function TUART2_U2STA.getOERR : TBits_1; inline;
  15056. begin
  15057. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15058. end;
  15059. procedure TUART2_U2STA.setFERR; inline;
  15060. begin
  15061. pTDefRegMap(@Self)^.&set := $00000004;
  15062. end;
  15063. procedure TUART2_U2STA.clearFERR; inline;
  15064. begin
  15065. pTDefRegMap(@Self)^.clr := $00000004;
  15066. end;
  15067. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  15068. begin
  15069. if thebits = 0 then
  15070. pTDefRegMap(@Self)^.clr := $00000004
  15071. else
  15072. pTDefRegMap(@Self)^.&set := $00000004;
  15073. end;
  15074. function TUART2_U2STA.getFERR : TBits_1; inline;
  15075. begin
  15076. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15077. end;
  15078. procedure TUART2_U2STA.setPERR; inline;
  15079. begin
  15080. pTDefRegMap(@Self)^.&set := $00000008;
  15081. end;
  15082. procedure TUART2_U2STA.clearPERR; inline;
  15083. begin
  15084. pTDefRegMap(@Self)^.clr := $00000008;
  15085. end;
  15086. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  15087. begin
  15088. if thebits = 0 then
  15089. pTDefRegMap(@Self)^.clr := $00000008
  15090. else
  15091. pTDefRegMap(@Self)^.&set := $00000008;
  15092. end;
  15093. function TUART2_U2STA.getPERR : TBits_1; inline;
  15094. begin
  15095. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15096. end;
  15097. procedure TUART2_U2STA.setRIDLE; inline;
  15098. begin
  15099. pTDefRegMap(@Self)^.&set := $00000010;
  15100. end;
  15101. procedure TUART2_U2STA.clearRIDLE; inline;
  15102. begin
  15103. pTDefRegMap(@Self)^.clr := $00000010;
  15104. end;
  15105. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  15106. begin
  15107. if thebits = 0 then
  15108. pTDefRegMap(@Self)^.clr := $00000010
  15109. else
  15110. pTDefRegMap(@Self)^.&set := $00000010;
  15111. end;
  15112. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  15113. begin
  15114. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15115. end;
  15116. procedure TUART2_U2STA.setADDEN; inline;
  15117. begin
  15118. pTDefRegMap(@Self)^.&set := $00000020;
  15119. end;
  15120. procedure TUART2_U2STA.clearADDEN; inline;
  15121. begin
  15122. pTDefRegMap(@Self)^.clr := $00000020;
  15123. end;
  15124. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  15125. begin
  15126. if thebits = 0 then
  15127. pTDefRegMap(@Self)^.clr := $00000020
  15128. else
  15129. pTDefRegMap(@Self)^.&set := $00000020;
  15130. end;
  15131. function TUART2_U2STA.getADDEN : TBits_1; inline;
  15132. begin
  15133. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15134. end;
  15135. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  15136. begin
  15137. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  15138. end;
  15139. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  15140. begin
  15141. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  15142. end;
  15143. procedure TUART2_U2STA.setTRMT; inline;
  15144. begin
  15145. pTDefRegMap(@Self)^.&set := $00000100;
  15146. end;
  15147. procedure TUART2_U2STA.clearTRMT; inline;
  15148. begin
  15149. pTDefRegMap(@Self)^.clr := $00000100;
  15150. end;
  15151. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  15152. begin
  15153. if thebits = 0 then
  15154. pTDefRegMap(@Self)^.clr := $00000100
  15155. else
  15156. pTDefRegMap(@Self)^.&set := $00000100;
  15157. end;
  15158. function TUART2_U2STA.getTRMT : TBits_1; inline;
  15159. begin
  15160. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15161. end;
  15162. procedure TUART2_U2STA.setUTXBF; inline;
  15163. begin
  15164. pTDefRegMap(@Self)^.&set := $00000200;
  15165. end;
  15166. procedure TUART2_U2STA.clearUTXBF; inline;
  15167. begin
  15168. pTDefRegMap(@Self)^.clr := $00000200;
  15169. end;
  15170. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  15171. begin
  15172. if thebits = 0 then
  15173. pTDefRegMap(@Self)^.clr := $00000200
  15174. else
  15175. pTDefRegMap(@Self)^.&set := $00000200;
  15176. end;
  15177. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  15178. begin
  15179. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15180. end;
  15181. procedure TUART2_U2STA.setUTXEN; inline;
  15182. begin
  15183. pTDefRegMap(@Self)^.&set := $00000400;
  15184. end;
  15185. procedure TUART2_U2STA.clearUTXEN; inline;
  15186. begin
  15187. pTDefRegMap(@Self)^.clr := $00000400;
  15188. end;
  15189. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  15190. begin
  15191. if thebits = 0 then
  15192. pTDefRegMap(@Self)^.clr := $00000400
  15193. else
  15194. pTDefRegMap(@Self)^.&set := $00000400;
  15195. end;
  15196. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  15197. begin
  15198. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15199. end;
  15200. procedure TUART2_U2STA.setUTXBRK; inline;
  15201. begin
  15202. pTDefRegMap(@Self)^.&set := $00000800;
  15203. end;
  15204. procedure TUART2_U2STA.clearUTXBRK; inline;
  15205. begin
  15206. pTDefRegMap(@Self)^.clr := $00000800;
  15207. end;
  15208. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  15209. begin
  15210. if thebits = 0 then
  15211. pTDefRegMap(@Self)^.clr := $00000800
  15212. else
  15213. pTDefRegMap(@Self)^.&set := $00000800;
  15214. end;
  15215. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  15216. begin
  15217. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15218. end;
  15219. procedure TUART2_U2STA.setURXEN; inline;
  15220. begin
  15221. pTDefRegMap(@Self)^.&set := $00001000;
  15222. end;
  15223. procedure TUART2_U2STA.clearURXEN; inline;
  15224. begin
  15225. pTDefRegMap(@Self)^.clr := $00001000;
  15226. end;
  15227. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  15228. begin
  15229. if thebits = 0 then
  15230. pTDefRegMap(@Self)^.clr := $00001000
  15231. else
  15232. pTDefRegMap(@Self)^.&set := $00001000;
  15233. end;
  15234. function TUART2_U2STA.getURXEN : TBits_1; inline;
  15235. begin
  15236. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15237. end;
  15238. procedure TUART2_U2STA.setUTXINV; inline;
  15239. begin
  15240. pTDefRegMap(@Self)^.&set := $00002000;
  15241. end;
  15242. procedure TUART2_U2STA.clearUTXINV; inline;
  15243. begin
  15244. pTDefRegMap(@Self)^.clr := $00002000;
  15245. end;
  15246. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  15247. begin
  15248. if thebits = 0 then
  15249. pTDefRegMap(@Self)^.clr := $00002000
  15250. else
  15251. pTDefRegMap(@Self)^.&set := $00002000;
  15252. end;
  15253. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  15254. begin
  15255. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15256. end;
  15257. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  15258. begin
  15259. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  15260. end;
  15261. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  15262. begin
  15263. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  15264. end;
  15265. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  15266. begin
  15267. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  15268. end;
  15269. function TUART2_U2STA.getADDR : TBits_8; inline;
  15270. begin
  15271. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  15272. end;
  15273. procedure TUART2_U2STA.setADM_EN; inline;
  15274. begin
  15275. pTDefRegMap(@Self)^.&set := $01000000;
  15276. end;
  15277. procedure TUART2_U2STA.clearADM_EN; inline;
  15278. begin
  15279. pTDefRegMap(@Self)^.clr := $01000000;
  15280. end;
  15281. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  15282. begin
  15283. if thebits = 0 then
  15284. pTDefRegMap(@Self)^.clr := $01000000
  15285. else
  15286. pTDefRegMap(@Self)^.&set := $01000000;
  15287. end;
  15288. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  15289. begin
  15290. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  15291. end;
  15292. procedure TUART2_U2STA.setURXISEL0; inline;
  15293. begin
  15294. pTDefRegMap(@Self)^.&set := $00000040;
  15295. end;
  15296. procedure TUART2_U2STA.clearURXISEL0; inline;
  15297. begin
  15298. pTDefRegMap(@Self)^.clr := $00000040;
  15299. end;
  15300. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  15301. begin
  15302. if thebits = 0 then
  15303. pTDefRegMap(@Self)^.clr := $00000040
  15304. else
  15305. pTDefRegMap(@Self)^.&set := $00000040;
  15306. end;
  15307. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  15308. begin
  15309. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15310. end;
  15311. procedure TUART2_U2STA.setURXISEL1; inline;
  15312. begin
  15313. pTDefRegMap(@Self)^.&set := $00000080;
  15314. end;
  15315. procedure TUART2_U2STA.clearURXISEL1; inline;
  15316. begin
  15317. pTDefRegMap(@Self)^.clr := $00000080;
  15318. end;
  15319. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  15320. begin
  15321. if thebits = 0 then
  15322. pTDefRegMap(@Self)^.clr := $00000080
  15323. else
  15324. pTDefRegMap(@Self)^.&set := $00000080;
  15325. end;
  15326. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  15327. begin
  15328. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15329. end;
  15330. procedure TUART2_U2STA.setUTXISEL0; inline;
  15331. begin
  15332. pTDefRegMap(@Self)^.&set := $00004000;
  15333. end;
  15334. procedure TUART2_U2STA.clearUTXISEL0; inline;
  15335. begin
  15336. pTDefRegMap(@Self)^.clr := $00004000;
  15337. end;
  15338. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  15339. begin
  15340. if thebits = 0 then
  15341. pTDefRegMap(@Self)^.clr := $00004000
  15342. else
  15343. pTDefRegMap(@Self)^.&set := $00004000;
  15344. end;
  15345. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  15346. begin
  15347. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15348. end;
  15349. procedure TUART2_U2STA.setUTXISEL1; inline;
  15350. begin
  15351. pTDefRegMap(@Self)^.&set := $00008000;
  15352. end;
  15353. procedure TUART2_U2STA.clearUTXISEL1; inline;
  15354. begin
  15355. pTDefRegMap(@Self)^.clr := $00008000;
  15356. end;
  15357. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  15358. begin
  15359. if thebits = 0 then
  15360. pTDefRegMap(@Self)^.clr := $00008000
  15361. else
  15362. pTDefRegMap(@Self)^.&set := $00008000;
  15363. end;
  15364. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  15365. begin
  15366. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15367. end;
  15368. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  15369. begin
  15370. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  15371. end;
  15372. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  15373. begin
  15374. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  15375. end;
  15376. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  15377. begin
  15378. pTDefRegMap(@Self)^.val := thebits;
  15379. end;
  15380. function TUART2_U2STA.getw : TBits_32; inline;
  15381. begin
  15382. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15383. end;
  15384. procedure TPMP_PMCON.setRDSP; inline;
  15385. begin
  15386. pTDefRegMap(@Self)^.&set := $00000001;
  15387. end;
  15388. procedure TPMP_PMCON.clearRDSP; inline;
  15389. begin
  15390. pTDefRegMap(@Self)^.clr := $00000001;
  15391. end;
  15392. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  15393. begin
  15394. if thebits = 0 then
  15395. pTDefRegMap(@Self)^.clr := $00000001
  15396. else
  15397. pTDefRegMap(@Self)^.&set := $00000001;
  15398. end;
  15399. function TPMP_PMCON.getRDSP : TBits_1; inline;
  15400. begin
  15401. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15402. end;
  15403. procedure TPMP_PMCON.setWRSP; inline;
  15404. begin
  15405. pTDefRegMap(@Self)^.&set := $00000002;
  15406. end;
  15407. procedure TPMP_PMCON.clearWRSP; inline;
  15408. begin
  15409. pTDefRegMap(@Self)^.clr := $00000002;
  15410. end;
  15411. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  15412. begin
  15413. if thebits = 0 then
  15414. pTDefRegMap(@Self)^.clr := $00000002
  15415. else
  15416. pTDefRegMap(@Self)^.&set := $00000002;
  15417. end;
  15418. function TPMP_PMCON.getWRSP : TBits_1; inline;
  15419. begin
  15420. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15421. end;
  15422. procedure TPMP_PMCON.setCS1P; inline;
  15423. begin
  15424. pTDefRegMap(@Self)^.&set := $00000008;
  15425. end;
  15426. procedure TPMP_PMCON.clearCS1P; inline;
  15427. begin
  15428. pTDefRegMap(@Self)^.clr := $00000008;
  15429. end;
  15430. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  15431. begin
  15432. if thebits = 0 then
  15433. pTDefRegMap(@Self)^.clr := $00000008
  15434. else
  15435. pTDefRegMap(@Self)^.&set := $00000008;
  15436. end;
  15437. function TPMP_PMCON.getCS1P : TBits_1; inline;
  15438. begin
  15439. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15440. end;
  15441. procedure TPMP_PMCON.setCS2P; inline;
  15442. begin
  15443. pTDefRegMap(@Self)^.&set := $00000010;
  15444. end;
  15445. procedure TPMP_PMCON.clearCS2P; inline;
  15446. begin
  15447. pTDefRegMap(@Self)^.clr := $00000010;
  15448. end;
  15449. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  15450. begin
  15451. if thebits = 0 then
  15452. pTDefRegMap(@Self)^.clr := $00000010
  15453. else
  15454. pTDefRegMap(@Self)^.&set := $00000010;
  15455. end;
  15456. function TPMP_PMCON.getCS2P : TBits_1; inline;
  15457. begin
  15458. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15459. end;
  15460. procedure TPMP_PMCON.setALP; inline;
  15461. begin
  15462. pTDefRegMap(@Self)^.&set := $00000020;
  15463. end;
  15464. procedure TPMP_PMCON.clearALP; inline;
  15465. begin
  15466. pTDefRegMap(@Self)^.clr := $00000020;
  15467. end;
  15468. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  15469. begin
  15470. if thebits = 0 then
  15471. pTDefRegMap(@Self)^.clr := $00000020
  15472. else
  15473. pTDefRegMap(@Self)^.&set := $00000020;
  15474. end;
  15475. function TPMP_PMCON.getALP : TBits_1; inline;
  15476. begin
  15477. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15478. end;
  15479. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  15480. begin
  15481. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  15482. end;
  15483. function TPMP_PMCON.getCSF : TBits_2; inline;
  15484. begin
  15485. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  15486. end;
  15487. procedure TPMP_PMCON.setPTRDEN; inline;
  15488. begin
  15489. pTDefRegMap(@Self)^.&set := $00000100;
  15490. end;
  15491. procedure TPMP_PMCON.clearPTRDEN; inline;
  15492. begin
  15493. pTDefRegMap(@Self)^.clr := $00000100;
  15494. end;
  15495. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  15496. begin
  15497. if thebits = 0 then
  15498. pTDefRegMap(@Self)^.clr := $00000100
  15499. else
  15500. pTDefRegMap(@Self)^.&set := $00000100;
  15501. end;
  15502. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  15503. begin
  15504. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15505. end;
  15506. procedure TPMP_PMCON.setPTWREN; inline;
  15507. begin
  15508. pTDefRegMap(@Self)^.&set := $00000200;
  15509. end;
  15510. procedure TPMP_PMCON.clearPTWREN; inline;
  15511. begin
  15512. pTDefRegMap(@Self)^.clr := $00000200;
  15513. end;
  15514. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  15515. begin
  15516. if thebits = 0 then
  15517. pTDefRegMap(@Self)^.clr := $00000200
  15518. else
  15519. pTDefRegMap(@Self)^.&set := $00000200;
  15520. end;
  15521. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  15522. begin
  15523. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15524. end;
  15525. procedure TPMP_PMCON.setPMPTTL; inline;
  15526. begin
  15527. pTDefRegMap(@Self)^.&set := $00000400;
  15528. end;
  15529. procedure TPMP_PMCON.clearPMPTTL; inline;
  15530. begin
  15531. pTDefRegMap(@Self)^.clr := $00000400;
  15532. end;
  15533. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  15534. begin
  15535. if thebits = 0 then
  15536. pTDefRegMap(@Self)^.clr := $00000400
  15537. else
  15538. pTDefRegMap(@Self)^.&set := $00000400;
  15539. end;
  15540. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  15541. begin
  15542. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15543. end;
  15544. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  15545. begin
  15546. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  15547. end;
  15548. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  15549. begin
  15550. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  15551. end;
  15552. procedure TPMP_PMCON.setSIDL; inline;
  15553. begin
  15554. pTDefRegMap(@Self)^.&set := $00002000;
  15555. end;
  15556. procedure TPMP_PMCON.clearSIDL; inline;
  15557. begin
  15558. pTDefRegMap(@Self)^.clr := $00002000;
  15559. end;
  15560. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  15561. begin
  15562. if thebits = 0 then
  15563. pTDefRegMap(@Self)^.clr := $00002000
  15564. else
  15565. pTDefRegMap(@Self)^.&set := $00002000;
  15566. end;
  15567. function TPMP_PMCON.getSIDL : TBits_1; inline;
  15568. begin
  15569. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15570. end;
  15571. procedure TPMP_PMCON.setON; inline;
  15572. begin
  15573. pTDefRegMap(@Self)^.&set := $00008000;
  15574. end;
  15575. procedure TPMP_PMCON.clearON; inline;
  15576. begin
  15577. pTDefRegMap(@Self)^.clr := $00008000;
  15578. end;
  15579. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  15580. begin
  15581. if thebits = 0 then
  15582. pTDefRegMap(@Self)^.clr := $00008000
  15583. else
  15584. pTDefRegMap(@Self)^.&set := $00008000;
  15585. end;
  15586. function TPMP_PMCON.getON : TBits_1; inline;
  15587. begin
  15588. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15589. end;
  15590. procedure TPMP_PMCON.setCSF0; inline;
  15591. begin
  15592. pTDefRegMap(@Self)^.&set := $00000040;
  15593. end;
  15594. procedure TPMP_PMCON.clearCSF0; inline;
  15595. begin
  15596. pTDefRegMap(@Self)^.clr := $00000040;
  15597. end;
  15598. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  15599. begin
  15600. if thebits = 0 then
  15601. pTDefRegMap(@Self)^.clr := $00000040
  15602. else
  15603. pTDefRegMap(@Self)^.&set := $00000040;
  15604. end;
  15605. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  15606. begin
  15607. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15608. end;
  15609. procedure TPMP_PMCON.setCSF1; inline;
  15610. begin
  15611. pTDefRegMap(@Self)^.&set := $00000080;
  15612. end;
  15613. procedure TPMP_PMCON.clearCSF1; inline;
  15614. begin
  15615. pTDefRegMap(@Self)^.clr := $00000080;
  15616. end;
  15617. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  15618. begin
  15619. if thebits = 0 then
  15620. pTDefRegMap(@Self)^.clr := $00000080
  15621. else
  15622. pTDefRegMap(@Self)^.&set := $00000080;
  15623. end;
  15624. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  15625. begin
  15626. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15627. end;
  15628. procedure TPMP_PMCON.setADRMUX0; inline;
  15629. begin
  15630. pTDefRegMap(@Self)^.&set := $00000800;
  15631. end;
  15632. procedure TPMP_PMCON.clearADRMUX0; inline;
  15633. begin
  15634. pTDefRegMap(@Self)^.clr := $00000800;
  15635. end;
  15636. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  15637. begin
  15638. if thebits = 0 then
  15639. pTDefRegMap(@Self)^.clr := $00000800
  15640. else
  15641. pTDefRegMap(@Self)^.&set := $00000800;
  15642. end;
  15643. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  15644. begin
  15645. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15646. end;
  15647. procedure TPMP_PMCON.setADRMUX1; inline;
  15648. begin
  15649. pTDefRegMap(@Self)^.&set := $00001000;
  15650. end;
  15651. procedure TPMP_PMCON.clearADRMUX1; inline;
  15652. begin
  15653. pTDefRegMap(@Self)^.clr := $00001000;
  15654. end;
  15655. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  15656. begin
  15657. if thebits = 0 then
  15658. pTDefRegMap(@Self)^.clr := $00001000
  15659. else
  15660. pTDefRegMap(@Self)^.&set := $00001000;
  15661. end;
  15662. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  15663. begin
  15664. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15665. end;
  15666. procedure TPMP_PMCON.setPSIDL; inline;
  15667. begin
  15668. pTDefRegMap(@Self)^.&set := $00002000;
  15669. end;
  15670. procedure TPMP_PMCON.clearPSIDL; inline;
  15671. begin
  15672. pTDefRegMap(@Self)^.clr := $00002000;
  15673. end;
  15674. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  15675. begin
  15676. if thebits = 0 then
  15677. pTDefRegMap(@Self)^.clr := $00002000
  15678. else
  15679. pTDefRegMap(@Self)^.&set := $00002000;
  15680. end;
  15681. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  15682. begin
  15683. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15684. end;
  15685. procedure TPMP_PMCON.setPMPEN; inline;
  15686. begin
  15687. pTDefRegMap(@Self)^.&set := $00008000;
  15688. end;
  15689. procedure TPMP_PMCON.clearPMPEN; inline;
  15690. begin
  15691. pTDefRegMap(@Self)^.clr := $00008000;
  15692. end;
  15693. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  15694. begin
  15695. if thebits = 0 then
  15696. pTDefRegMap(@Self)^.clr := $00008000
  15697. else
  15698. pTDefRegMap(@Self)^.&set := $00008000;
  15699. end;
  15700. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  15701. begin
  15702. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15703. end;
  15704. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  15705. begin
  15706. pTDefRegMap(@Self)^.val := thebits;
  15707. end;
  15708. function TPMP_PMCON.getw : TBits_32; inline;
  15709. begin
  15710. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15711. end;
  15712. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  15713. begin
  15714. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  15715. end;
  15716. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  15717. begin
  15718. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  15719. end;
  15720. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  15721. begin
  15722. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  15723. end;
  15724. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  15725. begin
  15726. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  15727. end;
  15728. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  15729. begin
  15730. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  15731. end;
  15732. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  15733. begin
  15734. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  15735. end;
  15736. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  15737. begin
  15738. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  15739. end;
  15740. function TPMP_PMMODE.getMODE : TBits_2; inline;
  15741. begin
  15742. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  15743. end;
  15744. procedure TPMP_PMMODE.setMODE16; inline;
  15745. begin
  15746. pTDefRegMap(@Self)^.&set := $00000400;
  15747. end;
  15748. procedure TPMP_PMMODE.clearMODE16; inline;
  15749. begin
  15750. pTDefRegMap(@Self)^.clr := $00000400;
  15751. end;
  15752. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  15753. begin
  15754. if thebits = 0 then
  15755. pTDefRegMap(@Self)^.clr := $00000400
  15756. else
  15757. pTDefRegMap(@Self)^.&set := $00000400;
  15758. end;
  15759. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  15760. begin
  15761. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15762. end;
  15763. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  15764. begin
  15765. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  15766. end;
  15767. function TPMP_PMMODE.getINCM : TBits_2; inline;
  15768. begin
  15769. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  15770. end;
  15771. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  15772. begin
  15773. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  15774. end;
  15775. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  15776. begin
  15777. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  15778. end;
  15779. procedure TPMP_PMMODE.setBUSY; inline;
  15780. begin
  15781. pTDefRegMap(@Self)^.&set := $00008000;
  15782. end;
  15783. procedure TPMP_PMMODE.clearBUSY; inline;
  15784. begin
  15785. pTDefRegMap(@Self)^.clr := $00008000;
  15786. end;
  15787. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  15788. begin
  15789. if thebits = 0 then
  15790. pTDefRegMap(@Self)^.clr := $00008000
  15791. else
  15792. pTDefRegMap(@Self)^.&set := $00008000;
  15793. end;
  15794. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  15795. begin
  15796. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15797. end;
  15798. procedure TPMP_PMMODE.setWAITE0; inline;
  15799. begin
  15800. pTDefRegMap(@Self)^.&set := $00000001;
  15801. end;
  15802. procedure TPMP_PMMODE.clearWAITE0; inline;
  15803. begin
  15804. pTDefRegMap(@Self)^.clr := $00000001;
  15805. end;
  15806. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  15807. begin
  15808. if thebits = 0 then
  15809. pTDefRegMap(@Self)^.clr := $00000001
  15810. else
  15811. pTDefRegMap(@Self)^.&set := $00000001;
  15812. end;
  15813. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  15814. begin
  15815. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15816. end;
  15817. procedure TPMP_PMMODE.setWAITE1; inline;
  15818. begin
  15819. pTDefRegMap(@Self)^.&set := $00000002;
  15820. end;
  15821. procedure TPMP_PMMODE.clearWAITE1; inline;
  15822. begin
  15823. pTDefRegMap(@Self)^.clr := $00000002;
  15824. end;
  15825. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  15826. begin
  15827. if thebits = 0 then
  15828. pTDefRegMap(@Self)^.clr := $00000002
  15829. else
  15830. pTDefRegMap(@Self)^.&set := $00000002;
  15831. end;
  15832. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  15833. begin
  15834. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15835. end;
  15836. procedure TPMP_PMMODE.setWAITM0; inline;
  15837. begin
  15838. pTDefRegMap(@Self)^.&set := $00000004;
  15839. end;
  15840. procedure TPMP_PMMODE.clearWAITM0; inline;
  15841. begin
  15842. pTDefRegMap(@Self)^.clr := $00000004;
  15843. end;
  15844. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  15845. begin
  15846. if thebits = 0 then
  15847. pTDefRegMap(@Self)^.clr := $00000004
  15848. else
  15849. pTDefRegMap(@Self)^.&set := $00000004;
  15850. end;
  15851. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  15852. begin
  15853. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15854. end;
  15855. procedure TPMP_PMMODE.setWAITM1; inline;
  15856. begin
  15857. pTDefRegMap(@Self)^.&set := $00000008;
  15858. end;
  15859. procedure TPMP_PMMODE.clearWAITM1; inline;
  15860. begin
  15861. pTDefRegMap(@Self)^.clr := $00000008;
  15862. end;
  15863. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  15864. begin
  15865. if thebits = 0 then
  15866. pTDefRegMap(@Self)^.clr := $00000008
  15867. else
  15868. pTDefRegMap(@Self)^.&set := $00000008;
  15869. end;
  15870. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  15871. begin
  15872. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15873. end;
  15874. procedure TPMP_PMMODE.setWAITM2; inline;
  15875. begin
  15876. pTDefRegMap(@Self)^.&set := $00000010;
  15877. end;
  15878. procedure TPMP_PMMODE.clearWAITM2; inline;
  15879. begin
  15880. pTDefRegMap(@Self)^.clr := $00000010;
  15881. end;
  15882. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  15883. begin
  15884. if thebits = 0 then
  15885. pTDefRegMap(@Self)^.clr := $00000010
  15886. else
  15887. pTDefRegMap(@Self)^.&set := $00000010;
  15888. end;
  15889. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  15890. begin
  15891. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15892. end;
  15893. procedure TPMP_PMMODE.setWAITM3; inline;
  15894. begin
  15895. pTDefRegMap(@Self)^.&set := $00000020;
  15896. end;
  15897. procedure TPMP_PMMODE.clearWAITM3; inline;
  15898. begin
  15899. pTDefRegMap(@Self)^.clr := $00000020;
  15900. end;
  15901. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  15902. begin
  15903. if thebits = 0 then
  15904. pTDefRegMap(@Self)^.clr := $00000020
  15905. else
  15906. pTDefRegMap(@Self)^.&set := $00000020;
  15907. end;
  15908. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  15909. begin
  15910. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15911. end;
  15912. procedure TPMP_PMMODE.setWAITB0; inline;
  15913. begin
  15914. pTDefRegMap(@Self)^.&set := $00000040;
  15915. end;
  15916. procedure TPMP_PMMODE.clearWAITB0; inline;
  15917. begin
  15918. pTDefRegMap(@Self)^.clr := $00000040;
  15919. end;
  15920. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  15921. begin
  15922. if thebits = 0 then
  15923. pTDefRegMap(@Self)^.clr := $00000040
  15924. else
  15925. pTDefRegMap(@Self)^.&set := $00000040;
  15926. end;
  15927. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  15928. begin
  15929. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15930. end;
  15931. procedure TPMP_PMMODE.setWAITB1; inline;
  15932. begin
  15933. pTDefRegMap(@Self)^.&set := $00000080;
  15934. end;
  15935. procedure TPMP_PMMODE.clearWAITB1; inline;
  15936. begin
  15937. pTDefRegMap(@Self)^.clr := $00000080;
  15938. end;
  15939. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  15940. begin
  15941. if thebits = 0 then
  15942. pTDefRegMap(@Self)^.clr := $00000080
  15943. else
  15944. pTDefRegMap(@Self)^.&set := $00000080;
  15945. end;
  15946. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  15947. begin
  15948. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15949. end;
  15950. procedure TPMP_PMMODE.setMODE0; inline;
  15951. begin
  15952. pTDefRegMap(@Self)^.&set := $00000100;
  15953. end;
  15954. procedure TPMP_PMMODE.clearMODE0; inline;
  15955. begin
  15956. pTDefRegMap(@Self)^.clr := $00000100;
  15957. end;
  15958. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  15959. begin
  15960. if thebits = 0 then
  15961. pTDefRegMap(@Self)^.clr := $00000100
  15962. else
  15963. pTDefRegMap(@Self)^.&set := $00000100;
  15964. end;
  15965. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  15966. begin
  15967. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15968. end;
  15969. procedure TPMP_PMMODE.setMODE1; inline;
  15970. begin
  15971. pTDefRegMap(@Self)^.&set := $00000200;
  15972. end;
  15973. procedure TPMP_PMMODE.clearMODE1; inline;
  15974. begin
  15975. pTDefRegMap(@Self)^.clr := $00000200;
  15976. end;
  15977. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  15978. begin
  15979. if thebits = 0 then
  15980. pTDefRegMap(@Self)^.clr := $00000200
  15981. else
  15982. pTDefRegMap(@Self)^.&set := $00000200;
  15983. end;
  15984. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  15985. begin
  15986. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15987. end;
  15988. procedure TPMP_PMMODE.setINCM0; inline;
  15989. begin
  15990. pTDefRegMap(@Self)^.&set := $00000800;
  15991. end;
  15992. procedure TPMP_PMMODE.clearINCM0; inline;
  15993. begin
  15994. pTDefRegMap(@Self)^.clr := $00000800;
  15995. end;
  15996. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  15997. begin
  15998. if thebits = 0 then
  15999. pTDefRegMap(@Self)^.clr := $00000800
  16000. else
  16001. pTDefRegMap(@Self)^.&set := $00000800;
  16002. end;
  16003. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  16004. begin
  16005. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16006. end;
  16007. procedure TPMP_PMMODE.setINCM1; inline;
  16008. begin
  16009. pTDefRegMap(@Self)^.&set := $00001000;
  16010. end;
  16011. procedure TPMP_PMMODE.clearINCM1; inline;
  16012. begin
  16013. pTDefRegMap(@Self)^.clr := $00001000;
  16014. end;
  16015. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  16016. begin
  16017. if thebits = 0 then
  16018. pTDefRegMap(@Self)^.clr := $00001000
  16019. else
  16020. pTDefRegMap(@Self)^.&set := $00001000;
  16021. end;
  16022. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  16023. begin
  16024. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16025. end;
  16026. procedure TPMP_PMMODE.setIRQM0; inline;
  16027. begin
  16028. pTDefRegMap(@Self)^.&set := $00002000;
  16029. end;
  16030. procedure TPMP_PMMODE.clearIRQM0; inline;
  16031. begin
  16032. pTDefRegMap(@Self)^.clr := $00002000;
  16033. end;
  16034. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  16035. begin
  16036. if thebits = 0 then
  16037. pTDefRegMap(@Self)^.clr := $00002000
  16038. else
  16039. pTDefRegMap(@Self)^.&set := $00002000;
  16040. end;
  16041. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  16042. begin
  16043. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16044. end;
  16045. procedure TPMP_PMMODE.setIRQM1; inline;
  16046. begin
  16047. pTDefRegMap(@Self)^.&set := $00004000;
  16048. end;
  16049. procedure TPMP_PMMODE.clearIRQM1; inline;
  16050. begin
  16051. pTDefRegMap(@Self)^.clr := $00004000;
  16052. end;
  16053. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  16054. begin
  16055. if thebits = 0 then
  16056. pTDefRegMap(@Self)^.clr := $00004000
  16057. else
  16058. pTDefRegMap(@Self)^.&set := $00004000;
  16059. end;
  16060. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  16061. begin
  16062. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16063. end;
  16064. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  16065. begin
  16066. pTDefRegMap(@Self)^.val := thebits;
  16067. end;
  16068. function TPMP_PMMODE.getw : TBits_32; inline;
  16069. begin
  16070. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16071. end;
  16072. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  16073. begin
  16074. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  16075. end;
  16076. function TPMP_PMADDR.getADDR : TBits_14; inline;
  16077. begin
  16078. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  16079. end;
  16080. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  16081. begin
  16082. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  16083. end;
  16084. function TPMP_PMADDR.getCS : TBits_2; inline;
  16085. begin
  16086. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  16087. end;
  16088. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  16089. begin
  16090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  16091. end;
  16092. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  16093. begin
  16094. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  16095. end;
  16096. procedure TPMP_PMADDR.setCS1; inline;
  16097. begin
  16098. pTDefRegMap(@Self)^.&set := $00004000;
  16099. end;
  16100. procedure TPMP_PMADDR.clearCS1; inline;
  16101. begin
  16102. pTDefRegMap(@Self)^.clr := $00004000;
  16103. end;
  16104. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  16105. begin
  16106. if thebits = 0 then
  16107. pTDefRegMap(@Self)^.clr := $00004000
  16108. else
  16109. pTDefRegMap(@Self)^.&set := $00004000;
  16110. end;
  16111. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  16112. begin
  16113. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16114. end;
  16115. procedure TPMP_PMADDR.setCS2; inline;
  16116. begin
  16117. pTDefRegMap(@Self)^.&set := $00008000;
  16118. end;
  16119. procedure TPMP_PMADDR.clearCS2; inline;
  16120. begin
  16121. pTDefRegMap(@Self)^.clr := $00008000;
  16122. end;
  16123. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  16124. begin
  16125. if thebits = 0 then
  16126. pTDefRegMap(@Self)^.clr := $00008000
  16127. else
  16128. pTDefRegMap(@Self)^.&set := $00008000;
  16129. end;
  16130. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  16131. begin
  16132. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16133. end;
  16134. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  16135. begin
  16136. pTDefRegMap(@Self)^.val := thebits;
  16137. end;
  16138. function TPMP_PMADDR.getw : TBits_32; inline;
  16139. begin
  16140. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16141. end;
  16142. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  16143. begin
  16144. pTDefRegMap(@Self)^.val := thebits;
  16145. end;
  16146. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  16147. begin
  16148. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16149. end;
  16150. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  16151. begin
  16152. pTDefRegMap(@Self)^.val := thebits;
  16153. end;
  16154. function TPMP_PMDOUT.getw : TBits_32; inline;
  16155. begin
  16156. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16157. end;
  16158. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  16159. begin
  16160. pTDefRegMap(@Self)^.val := thebits;
  16161. end;
  16162. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  16163. begin
  16164. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16165. end;
  16166. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  16167. begin
  16168. pTDefRegMap(@Self)^.val := thebits;
  16169. end;
  16170. function TPMP_PMDIN.getw : TBits_32; inline;
  16171. begin
  16172. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16173. end;
  16174. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  16175. begin
  16176. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  16177. end;
  16178. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  16179. begin
  16180. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  16181. end;
  16182. procedure TPMP_PMAEN.setPTEN0; inline;
  16183. begin
  16184. pTDefRegMap(@Self)^.&set := $00000001;
  16185. end;
  16186. procedure TPMP_PMAEN.clearPTEN0; inline;
  16187. begin
  16188. pTDefRegMap(@Self)^.clr := $00000001;
  16189. end;
  16190. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  16191. begin
  16192. if thebits = 0 then
  16193. pTDefRegMap(@Self)^.clr := $00000001
  16194. else
  16195. pTDefRegMap(@Self)^.&set := $00000001;
  16196. end;
  16197. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  16198. begin
  16199. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16200. end;
  16201. procedure TPMP_PMAEN.setPTEN1; inline;
  16202. begin
  16203. pTDefRegMap(@Self)^.&set := $00000002;
  16204. end;
  16205. procedure TPMP_PMAEN.clearPTEN1; inline;
  16206. begin
  16207. pTDefRegMap(@Self)^.clr := $00000002;
  16208. end;
  16209. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  16210. begin
  16211. if thebits = 0 then
  16212. pTDefRegMap(@Self)^.clr := $00000002
  16213. else
  16214. pTDefRegMap(@Self)^.&set := $00000002;
  16215. end;
  16216. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  16217. begin
  16218. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16219. end;
  16220. procedure TPMP_PMAEN.setPTEN2; inline;
  16221. begin
  16222. pTDefRegMap(@Self)^.&set := $00000004;
  16223. end;
  16224. procedure TPMP_PMAEN.clearPTEN2; inline;
  16225. begin
  16226. pTDefRegMap(@Self)^.clr := $00000004;
  16227. end;
  16228. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  16229. begin
  16230. if thebits = 0 then
  16231. pTDefRegMap(@Self)^.clr := $00000004
  16232. else
  16233. pTDefRegMap(@Self)^.&set := $00000004;
  16234. end;
  16235. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  16236. begin
  16237. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16238. end;
  16239. procedure TPMP_PMAEN.setPTEN3; inline;
  16240. begin
  16241. pTDefRegMap(@Self)^.&set := $00000008;
  16242. end;
  16243. procedure TPMP_PMAEN.clearPTEN3; inline;
  16244. begin
  16245. pTDefRegMap(@Self)^.clr := $00000008;
  16246. end;
  16247. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  16248. begin
  16249. if thebits = 0 then
  16250. pTDefRegMap(@Self)^.clr := $00000008
  16251. else
  16252. pTDefRegMap(@Self)^.&set := $00000008;
  16253. end;
  16254. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  16255. begin
  16256. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16257. end;
  16258. procedure TPMP_PMAEN.setPTEN4; inline;
  16259. begin
  16260. pTDefRegMap(@Self)^.&set := $00000010;
  16261. end;
  16262. procedure TPMP_PMAEN.clearPTEN4; inline;
  16263. begin
  16264. pTDefRegMap(@Self)^.clr := $00000010;
  16265. end;
  16266. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  16267. begin
  16268. if thebits = 0 then
  16269. pTDefRegMap(@Self)^.clr := $00000010
  16270. else
  16271. pTDefRegMap(@Self)^.&set := $00000010;
  16272. end;
  16273. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  16274. begin
  16275. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16276. end;
  16277. procedure TPMP_PMAEN.setPTEN5; inline;
  16278. begin
  16279. pTDefRegMap(@Self)^.&set := $00000020;
  16280. end;
  16281. procedure TPMP_PMAEN.clearPTEN5; inline;
  16282. begin
  16283. pTDefRegMap(@Self)^.clr := $00000020;
  16284. end;
  16285. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  16286. begin
  16287. if thebits = 0 then
  16288. pTDefRegMap(@Self)^.clr := $00000020
  16289. else
  16290. pTDefRegMap(@Self)^.&set := $00000020;
  16291. end;
  16292. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  16293. begin
  16294. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16295. end;
  16296. procedure TPMP_PMAEN.setPTEN6; inline;
  16297. begin
  16298. pTDefRegMap(@Self)^.&set := $00000040;
  16299. end;
  16300. procedure TPMP_PMAEN.clearPTEN6; inline;
  16301. begin
  16302. pTDefRegMap(@Self)^.clr := $00000040;
  16303. end;
  16304. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  16305. begin
  16306. if thebits = 0 then
  16307. pTDefRegMap(@Self)^.clr := $00000040
  16308. else
  16309. pTDefRegMap(@Self)^.&set := $00000040;
  16310. end;
  16311. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  16312. begin
  16313. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16314. end;
  16315. procedure TPMP_PMAEN.setPTEN7; inline;
  16316. begin
  16317. pTDefRegMap(@Self)^.&set := $00000080;
  16318. end;
  16319. procedure TPMP_PMAEN.clearPTEN7; inline;
  16320. begin
  16321. pTDefRegMap(@Self)^.clr := $00000080;
  16322. end;
  16323. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  16324. begin
  16325. if thebits = 0 then
  16326. pTDefRegMap(@Self)^.clr := $00000080
  16327. else
  16328. pTDefRegMap(@Self)^.&set := $00000080;
  16329. end;
  16330. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  16331. begin
  16332. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16333. end;
  16334. procedure TPMP_PMAEN.setPTEN8; inline;
  16335. begin
  16336. pTDefRegMap(@Self)^.&set := $00000100;
  16337. end;
  16338. procedure TPMP_PMAEN.clearPTEN8; inline;
  16339. begin
  16340. pTDefRegMap(@Self)^.clr := $00000100;
  16341. end;
  16342. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  16343. begin
  16344. if thebits = 0 then
  16345. pTDefRegMap(@Self)^.clr := $00000100
  16346. else
  16347. pTDefRegMap(@Self)^.&set := $00000100;
  16348. end;
  16349. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  16350. begin
  16351. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16352. end;
  16353. procedure TPMP_PMAEN.setPTEN9; inline;
  16354. begin
  16355. pTDefRegMap(@Self)^.&set := $00000200;
  16356. end;
  16357. procedure TPMP_PMAEN.clearPTEN9; inline;
  16358. begin
  16359. pTDefRegMap(@Self)^.clr := $00000200;
  16360. end;
  16361. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  16362. begin
  16363. if thebits = 0 then
  16364. pTDefRegMap(@Self)^.clr := $00000200
  16365. else
  16366. pTDefRegMap(@Self)^.&set := $00000200;
  16367. end;
  16368. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  16369. begin
  16370. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16371. end;
  16372. procedure TPMP_PMAEN.setPTEN10; inline;
  16373. begin
  16374. pTDefRegMap(@Self)^.&set := $00000400;
  16375. end;
  16376. procedure TPMP_PMAEN.clearPTEN10; inline;
  16377. begin
  16378. pTDefRegMap(@Self)^.clr := $00000400;
  16379. end;
  16380. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  16381. begin
  16382. if thebits = 0 then
  16383. pTDefRegMap(@Self)^.clr := $00000400
  16384. else
  16385. pTDefRegMap(@Self)^.&set := $00000400;
  16386. end;
  16387. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  16388. begin
  16389. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16390. end;
  16391. procedure TPMP_PMAEN.setPTEN11; inline;
  16392. begin
  16393. pTDefRegMap(@Self)^.&set := $00000800;
  16394. end;
  16395. procedure TPMP_PMAEN.clearPTEN11; inline;
  16396. begin
  16397. pTDefRegMap(@Self)^.clr := $00000800;
  16398. end;
  16399. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  16400. begin
  16401. if thebits = 0 then
  16402. pTDefRegMap(@Self)^.clr := $00000800
  16403. else
  16404. pTDefRegMap(@Self)^.&set := $00000800;
  16405. end;
  16406. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  16407. begin
  16408. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16409. end;
  16410. procedure TPMP_PMAEN.setPTEN12; inline;
  16411. begin
  16412. pTDefRegMap(@Self)^.&set := $00001000;
  16413. end;
  16414. procedure TPMP_PMAEN.clearPTEN12; inline;
  16415. begin
  16416. pTDefRegMap(@Self)^.clr := $00001000;
  16417. end;
  16418. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  16419. begin
  16420. if thebits = 0 then
  16421. pTDefRegMap(@Self)^.clr := $00001000
  16422. else
  16423. pTDefRegMap(@Self)^.&set := $00001000;
  16424. end;
  16425. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  16426. begin
  16427. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16428. end;
  16429. procedure TPMP_PMAEN.setPTEN13; inline;
  16430. begin
  16431. pTDefRegMap(@Self)^.&set := $00002000;
  16432. end;
  16433. procedure TPMP_PMAEN.clearPTEN13; inline;
  16434. begin
  16435. pTDefRegMap(@Self)^.clr := $00002000;
  16436. end;
  16437. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  16438. begin
  16439. if thebits = 0 then
  16440. pTDefRegMap(@Self)^.clr := $00002000
  16441. else
  16442. pTDefRegMap(@Self)^.&set := $00002000;
  16443. end;
  16444. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  16445. begin
  16446. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16447. end;
  16448. procedure TPMP_PMAEN.setPTEN14; inline;
  16449. begin
  16450. pTDefRegMap(@Self)^.&set := $00004000;
  16451. end;
  16452. procedure TPMP_PMAEN.clearPTEN14; inline;
  16453. begin
  16454. pTDefRegMap(@Self)^.clr := $00004000;
  16455. end;
  16456. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  16457. begin
  16458. if thebits = 0 then
  16459. pTDefRegMap(@Self)^.clr := $00004000
  16460. else
  16461. pTDefRegMap(@Self)^.&set := $00004000;
  16462. end;
  16463. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  16464. begin
  16465. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16466. end;
  16467. procedure TPMP_PMAEN.setPTEN15; inline;
  16468. begin
  16469. pTDefRegMap(@Self)^.&set := $00008000;
  16470. end;
  16471. procedure TPMP_PMAEN.clearPTEN15; inline;
  16472. begin
  16473. pTDefRegMap(@Self)^.clr := $00008000;
  16474. end;
  16475. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  16476. begin
  16477. if thebits = 0 then
  16478. pTDefRegMap(@Self)^.clr := $00008000
  16479. else
  16480. pTDefRegMap(@Self)^.&set := $00008000;
  16481. end;
  16482. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  16483. begin
  16484. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16485. end;
  16486. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  16487. begin
  16488. pTDefRegMap(@Self)^.val := thebits;
  16489. end;
  16490. function TPMP_PMAEN.getw : TBits_32; inline;
  16491. begin
  16492. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16493. end;
  16494. procedure TPMP_PMSTAT.setOB0E; inline;
  16495. begin
  16496. pTDefRegMap(@Self)^.&set := $00000001;
  16497. end;
  16498. procedure TPMP_PMSTAT.clearOB0E; inline;
  16499. begin
  16500. pTDefRegMap(@Self)^.clr := $00000001;
  16501. end;
  16502. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  16503. begin
  16504. if thebits = 0 then
  16505. pTDefRegMap(@Self)^.clr := $00000001
  16506. else
  16507. pTDefRegMap(@Self)^.&set := $00000001;
  16508. end;
  16509. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  16510. begin
  16511. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16512. end;
  16513. procedure TPMP_PMSTAT.setOB1E; inline;
  16514. begin
  16515. pTDefRegMap(@Self)^.&set := $00000002;
  16516. end;
  16517. procedure TPMP_PMSTAT.clearOB1E; inline;
  16518. begin
  16519. pTDefRegMap(@Self)^.clr := $00000002;
  16520. end;
  16521. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  16522. begin
  16523. if thebits = 0 then
  16524. pTDefRegMap(@Self)^.clr := $00000002
  16525. else
  16526. pTDefRegMap(@Self)^.&set := $00000002;
  16527. end;
  16528. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  16529. begin
  16530. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16531. end;
  16532. procedure TPMP_PMSTAT.setOB2E; inline;
  16533. begin
  16534. pTDefRegMap(@Self)^.&set := $00000004;
  16535. end;
  16536. procedure TPMP_PMSTAT.clearOB2E; inline;
  16537. begin
  16538. pTDefRegMap(@Self)^.clr := $00000004;
  16539. end;
  16540. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  16541. begin
  16542. if thebits = 0 then
  16543. pTDefRegMap(@Self)^.clr := $00000004
  16544. else
  16545. pTDefRegMap(@Self)^.&set := $00000004;
  16546. end;
  16547. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  16548. begin
  16549. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16550. end;
  16551. procedure TPMP_PMSTAT.setOB3E; inline;
  16552. begin
  16553. pTDefRegMap(@Self)^.&set := $00000008;
  16554. end;
  16555. procedure TPMP_PMSTAT.clearOB3E; inline;
  16556. begin
  16557. pTDefRegMap(@Self)^.clr := $00000008;
  16558. end;
  16559. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  16560. begin
  16561. if thebits = 0 then
  16562. pTDefRegMap(@Self)^.clr := $00000008
  16563. else
  16564. pTDefRegMap(@Self)^.&set := $00000008;
  16565. end;
  16566. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  16567. begin
  16568. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16569. end;
  16570. procedure TPMP_PMSTAT.setOBUF; inline;
  16571. begin
  16572. pTDefRegMap(@Self)^.&set := $00000040;
  16573. end;
  16574. procedure TPMP_PMSTAT.clearOBUF; inline;
  16575. begin
  16576. pTDefRegMap(@Self)^.clr := $00000040;
  16577. end;
  16578. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  16579. begin
  16580. if thebits = 0 then
  16581. pTDefRegMap(@Self)^.clr := $00000040
  16582. else
  16583. pTDefRegMap(@Self)^.&set := $00000040;
  16584. end;
  16585. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  16586. begin
  16587. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16588. end;
  16589. procedure TPMP_PMSTAT.setOBE; inline;
  16590. begin
  16591. pTDefRegMap(@Self)^.&set := $00000080;
  16592. end;
  16593. procedure TPMP_PMSTAT.clearOBE; inline;
  16594. begin
  16595. pTDefRegMap(@Self)^.clr := $00000080;
  16596. end;
  16597. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  16598. begin
  16599. if thebits = 0 then
  16600. pTDefRegMap(@Self)^.clr := $00000080
  16601. else
  16602. pTDefRegMap(@Self)^.&set := $00000080;
  16603. end;
  16604. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  16605. begin
  16606. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16607. end;
  16608. procedure TPMP_PMSTAT.setIB0F; inline;
  16609. begin
  16610. pTDefRegMap(@Self)^.&set := $00000100;
  16611. end;
  16612. procedure TPMP_PMSTAT.clearIB0F; inline;
  16613. begin
  16614. pTDefRegMap(@Self)^.clr := $00000100;
  16615. end;
  16616. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  16617. begin
  16618. if thebits = 0 then
  16619. pTDefRegMap(@Self)^.clr := $00000100
  16620. else
  16621. pTDefRegMap(@Self)^.&set := $00000100;
  16622. end;
  16623. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  16624. begin
  16625. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16626. end;
  16627. procedure TPMP_PMSTAT.setIB1F; inline;
  16628. begin
  16629. pTDefRegMap(@Self)^.&set := $00000200;
  16630. end;
  16631. procedure TPMP_PMSTAT.clearIB1F; inline;
  16632. begin
  16633. pTDefRegMap(@Self)^.clr := $00000200;
  16634. end;
  16635. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  16636. begin
  16637. if thebits = 0 then
  16638. pTDefRegMap(@Self)^.clr := $00000200
  16639. else
  16640. pTDefRegMap(@Self)^.&set := $00000200;
  16641. end;
  16642. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  16643. begin
  16644. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16645. end;
  16646. procedure TPMP_PMSTAT.setIB2F; inline;
  16647. begin
  16648. pTDefRegMap(@Self)^.&set := $00000400;
  16649. end;
  16650. procedure TPMP_PMSTAT.clearIB2F; inline;
  16651. begin
  16652. pTDefRegMap(@Self)^.clr := $00000400;
  16653. end;
  16654. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  16655. begin
  16656. if thebits = 0 then
  16657. pTDefRegMap(@Self)^.clr := $00000400
  16658. else
  16659. pTDefRegMap(@Self)^.&set := $00000400;
  16660. end;
  16661. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  16662. begin
  16663. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16664. end;
  16665. procedure TPMP_PMSTAT.setIB3F; inline;
  16666. begin
  16667. pTDefRegMap(@Self)^.&set := $00000800;
  16668. end;
  16669. procedure TPMP_PMSTAT.clearIB3F; inline;
  16670. begin
  16671. pTDefRegMap(@Self)^.clr := $00000800;
  16672. end;
  16673. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  16674. begin
  16675. if thebits = 0 then
  16676. pTDefRegMap(@Self)^.clr := $00000800
  16677. else
  16678. pTDefRegMap(@Self)^.&set := $00000800;
  16679. end;
  16680. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  16681. begin
  16682. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16683. end;
  16684. procedure TPMP_PMSTAT.setIBOV; inline;
  16685. begin
  16686. pTDefRegMap(@Self)^.&set := $00004000;
  16687. end;
  16688. procedure TPMP_PMSTAT.clearIBOV; inline;
  16689. begin
  16690. pTDefRegMap(@Self)^.clr := $00004000;
  16691. end;
  16692. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  16693. begin
  16694. if thebits = 0 then
  16695. pTDefRegMap(@Self)^.clr := $00004000
  16696. else
  16697. pTDefRegMap(@Self)^.&set := $00004000;
  16698. end;
  16699. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  16700. begin
  16701. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16702. end;
  16703. procedure TPMP_PMSTAT.setIBF; inline;
  16704. begin
  16705. pTDefRegMap(@Self)^.&set := $00008000;
  16706. end;
  16707. procedure TPMP_PMSTAT.clearIBF; inline;
  16708. begin
  16709. pTDefRegMap(@Self)^.clr := $00008000;
  16710. end;
  16711. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  16712. begin
  16713. if thebits = 0 then
  16714. pTDefRegMap(@Self)^.clr := $00008000
  16715. else
  16716. pTDefRegMap(@Self)^.&set := $00008000;
  16717. end;
  16718. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  16719. begin
  16720. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16721. end;
  16722. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  16723. begin
  16724. pTDefRegMap(@Self)^.val := thebits;
  16725. end;
  16726. function TPMP_PMSTAT.getw : TBits_32; inline;
  16727. begin
  16728. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16729. end;
  16730. procedure TADC10_AD1CON1.setDONE; inline;
  16731. begin
  16732. pTDefRegMap(@Self)^.&set := $00000001;
  16733. end;
  16734. procedure TADC10_AD1CON1.clearDONE; inline;
  16735. begin
  16736. pTDefRegMap(@Self)^.clr := $00000001;
  16737. end;
  16738. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  16739. begin
  16740. if thebits = 0 then
  16741. pTDefRegMap(@Self)^.clr := $00000001
  16742. else
  16743. pTDefRegMap(@Self)^.&set := $00000001;
  16744. end;
  16745. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  16746. begin
  16747. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16748. end;
  16749. procedure TADC10_AD1CON1.setSAMP; inline;
  16750. begin
  16751. pTDefRegMap(@Self)^.&set := $00000002;
  16752. end;
  16753. procedure TADC10_AD1CON1.clearSAMP; inline;
  16754. begin
  16755. pTDefRegMap(@Self)^.clr := $00000002;
  16756. end;
  16757. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  16758. begin
  16759. if thebits = 0 then
  16760. pTDefRegMap(@Self)^.clr := $00000002
  16761. else
  16762. pTDefRegMap(@Self)^.&set := $00000002;
  16763. end;
  16764. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  16765. begin
  16766. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16767. end;
  16768. procedure TADC10_AD1CON1.setASAM; inline;
  16769. begin
  16770. pTDefRegMap(@Self)^.&set := $00000004;
  16771. end;
  16772. procedure TADC10_AD1CON1.clearASAM; inline;
  16773. begin
  16774. pTDefRegMap(@Self)^.clr := $00000004;
  16775. end;
  16776. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  16777. begin
  16778. if thebits = 0 then
  16779. pTDefRegMap(@Self)^.clr := $00000004
  16780. else
  16781. pTDefRegMap(@Self)^.&set := $00000004;
  16782. end;
  16783. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  16784. begin
  16785. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16786. end;
  16787. procedure TADC10_AD1CON1.setCLRASAM; inline;
  16788. begin
  16789. pTDefRegMap(@Self)^.&set := $00000010;
  16790. end;
  16791. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  16792. begin
  16793. pTDefRegMap(@Self)^.clr := $00000010;
  16794. end;
  16795. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  16796. begin
  16797. if thebits = 0 then
  16798. pTDefRegMap(@Self)^.clr := $00000010
  16799. else
  16800. pTDefRegMap(@Self)^.&set := $00000010;
  16801. end;
  16802. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  16803. begin
  16804. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16805. end;
  16806. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  16807. begin
  16808. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  16809. end;
  16810. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  16811. begin
  16812. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  16813. end;
  16814. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  16815. begin
  16816. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  16817. end;
  16818. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  16819. begin
  16820. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  16821. end;
  16822. procedure TADC10_AD1CON1.setSIDL; inline;
  16823. begin
  16824. pTDefRegMap(@Self)^.&set := $00002000;
  16825. end;
  16826. procedure TADC10_AD1CON1.clearSIDL; inline;
  16827. begin
  16828. pTDefRegMap(@Self)^.clr := $00002000;
  16829. end;
  16830. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  16831. begin
  16832. if thebits = 0 then
  16833. pTDefRegMap(@Self)^.clr := $00002000
  16834. else
  16835. pTDefRegMap(@Self)^.&set := $00002000;
  16836. end;
  16837. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  16838. begin
  16839. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16840. end;
  16841. procedure TADC10_AD1CON1.setON; inline;
  16842. begin
  16843. pTDefRegMap(@Self)^.&set := $00008000;
  16844. end;
  16845. procedure TADC10_AD1CON1.clearON; inline;
  16846. begin
  16847. pTDefRegMap(@Self)^.clr := $00008000;
  16848. end;
  16849. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  16850. begin
  16851. if thebits = 0 then
  16852. pTDefRegMap(@Self)^.clr := $00008000
  16853. else
  16854. pTDefRegMap(@Self)^.&set := $00008000;
  16855. end;
  16856. function TADC10_AD1CON1.getON : TBits_1; inline;
  16857. begin
  16858. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16859. end;
  16860. procedure TADC10_AD1CON1.setSSRC0; inline;
  16861. begin
  16862. pTDefRegMap(@Self)^.&set := $00000020;
  16863. end;
  16864. procedure TADC10_AD1CON1.clearSSRC0; inline;
  16865. begin
  16866. pTDefRegMap(@Self)^.clr := $00000020;
  16867. end;
  16868. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  16869. begin
  16870. if thebits = 0 then
  16871. pTDefRegMap(@Self)^.clr := $00000020
  16872. else
  16873. pTDefRegMap(@Self)^.&set := $00000020;
  16874. end;
  16875. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  16876. begin
  16877. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16878. end;
  16879. procedure TADC10_AD1CON1.setSSRC1; inline;
  16880. begin
  16881. pTDefRegMap(@Self)^.&set := $00000040;
  16882. end;
  16883. procedure TADC10_AD1CON1.clearSSRC1; inline;
  16884. begin
  16885. pTDefRegMap(@Self)^.clr := $00000040;
  16886. end;
  16887. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  16888. begin
  16889. if thebits = 0 then
  16890. pTDefRegMap(@Self)^.clr := $00000040
  16891. else
  16892. pTDefRegMap(@Self)^.&set := $00000040;
  16893. end;
  16894. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  16895. begin
  16896. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16897. end;
  16898. procedure TADC10_AD1CON1.setSSRC2; inline;
  16899. begin
  16900. pTDefRegMap(@Self)^.&set := $00000080;
  16901. end;
  16902. procedure TADC10_AD1CON1.clearSSRC2; inline;
  16903. begin
  16904. pTDefRegMap(@Self)^.clr := $00000080;
  16905. end;
  16906. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  16907. begin
  16908. if thebits = 0 then
  16909. pTDefRegMap(@Self)^.clr := $00000080
  16910. else
  16911. pTDefRegMap(@Self)^.&set := $00000080;
  16912. end;
  16913. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  16914. begin
  16915. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16916. end;
  16917. procedure TADC10_AD1CON1.setFORM0; inline;
  16918. begin
  16919. pTDefRegMap(@Self)^.&set := $00000100;
  16920. end;
  16921. procedure TADC10_AD1CON1.clearFORM0; inline;
  16922. begin
  16923. pTDefRegMap(@Self)^.clr := $00000100;
  16924. end;
  16925. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  16926. begin
  16927. if thebits = 0 then
  16928. pTDefRegMap(@Self)^.clr := $00000100
  16929. else
  16930. pTDefRegMap(@Self)^.&set := $00000100;
  16931. end;
  16932. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  16933. begin
  16934. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16935. end;
  16936. procedure TADC10_AD1CON1.setFORM1; inline;
  16937. begin
  16938. pTDefRegMap(@Self)^.&set := $00000200;
  16939. end;
  16940. procedure TADC10_AD1CON1.clearFORM1; inline;
  16941. begin
  16942. pTDefRegMap(@Self)^.clr := $00000200;
  16943. end;
  16944. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  16945. begin
  16946. if thebits = 0 then
  16947. pTDefRegMap(@Self)^.clr := $00000200
  16948. else
  16949. pTDefRegMap(@Self)^.&set := $00000200;
  16950. end;
  16951. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  16952. begin
  16953. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16954. end;
  16955. procedure TADC10_AD1CON1.setFORM2; inline;
  16956. begin
  16957. pTDefRegMap(@Self)^.&set := $00000400;
  16958. end;
  16959. procedure TADC10_AD1CON1.clearFORM2; inline;
  16960. begin
  16961. pTDefRegMap(@Self)^.clr := $00000400;
  16962. end;
  16963. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  16964. begin
  16965. if thebits = 0 then
  16966. pTDefRegMap(@Self)^.clr := $00000400
  16967. else
  16968. pTDefRegMap(@Self)^.&set := $00000400;
  16969. end;
  16970. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  16971. begin
  16972. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16973. end;
  16974. procedure TADC10_AD1CON1.setADSIDL; inline;
  16975. begin
  16976. pTDefRegMap(@Self)^.&set := $00002000;
  16977. end;
  16978. procedure TADC10_AD1CON1.clearADSIDL; inline;
  16979. begin
  16980. pTDefRegMap(@Self)^.clr := $00002000;
  16981. end;
  16982. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  16983. begin
  16984. if thebits = 0 then
  16985. pTDefRegMap(@Self)^.clr := $00002000
  16986. else
  16987. pTDefRegMap(@Self)^.&set := $00002000;
  16988. end;
  16989. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  16990. begin
  16991. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16992. end;
  16993. procedure TADC10_AD1CON1.setADON; inline;
  16994. begin
  16995. pTDefRegMap(@Self)^.&set := $00008000;
  16996. end;
  16997. procedure TADC10_AD1CON1.clearADON; inline;
  16998. begin
  16999. pTDefRegMap(@Self)^.clr := $00008000;
  17000. end;
  17001. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  17002. begin
  17003. if thebits = 0 then
  17004. pTDefRegMap(@Self)^.clr := $00008000
  17005. else
  17006. pTDefRegMap(@Self)^.&set := $00008000;
  17007. end;
  17008. function TADC10_AD1CON1.getADON : TBits_1; inline;
  17009. begin
  17010. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17011. end;
  17012. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  17013. begin
  17014. pTDefRegMap(@Self)^.val := thebits;
  17015. end;
  17016. function TADC10_AD1CON1.getw : TBits_32; inline;
  17017. begin
  17018. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17019. end;
  17020. procedure TADC10_AD1CON2.setALTS; inline;
  17021. begin
  17022. pTDefRegMap(@Self)^.&set := $00000001;
  17023. end;
  17024. procedure TADC10_AD1CON2.clearALTS; inline;
  17025. begin
  17026. pTDefRegMap(@Self)^.clr := $00000001;
  17027. end;
  17028. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  17029. begin
  17030. if thebits = 0 then
  17031. pTDefRegMap(@Self)^.clr := $00000001
  17032. else
  17033. pTDefRegMap(@Self)^.&set := $00000001;
  17034. end;
  17035. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  17036. begin
  17037. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17038. end;
  17039. procedure TADC10_AD1CON2.setBUFM; inline;
  17040. begin
  17041. pTDefRegMap(@Self)^.&set := $00000002;
  17042. end;
  17043. procedure TADC10_AD1CON2.clearBUFM; inline;
  17044. begin
  17045. pTDefRegMap(@Self)^.clr := $00000002;
  17046. end;
  17047. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  17048. begin
  17049. if thebits = 0 then
  17050. pTDefRegMap(@Self)^.clr := $00000002
  17051. else
  17052. pTDefRegMap(@Self)^.&set := $00000002;
  17053. end;
  17054. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  17055. begin
  17056. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17057. end;
  17058. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  17059. begin
  17060. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  17061. end;
  17062. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  17063. begin
  17064. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  17065. end;
  17066. procedure TADC10_AD1CON2.setBUFS; inline;
  17067. begin
  17068. pTDefRegMap(@Self)^.&set := $00000080;
  17069. end;
  17070. procedure TADC10_AD1CON2.clearBUFS; inline;
  17071. begin
  17072. pTDefRegMap(@Self)^.clr := $00000080;
  17073. end;
  17074. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  17075. begin
  17076. if thebits = 0 then
  17077. pTDefRegMap(@Self)^.clr := $00000080
  17078. else
  17079. pTDefRegMap(@Self)^.&set := $00000080;
  17080. end;
  17081. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  17082. begin
  17083. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17084. end;
  17085. procedure TADC10_AD1CON2.setCSCNA; inline;
  17086. begin
  17087. pTDefRegMap(@Self)^.&set := $00000400;
  17088. end;
  17089. procedure TADC10_AD1CON2.clearCSCNA; inline;
  17090. begin
  17091. pTDefRegMap(@Self)^.clr := $00000400;
  17092. end;
  17093. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  17094. begin
  17095. if thebits = 0 then
  17096. pTDefRegMap(@Self)^.clr := $00000400
  17097. else
  17098. pTDefRegMap(@Self)^.&set := $00000400;
  17099. end;
  17100. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  17101. begin
  17102. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17103. end;
  17104. procedure TADC10_AD1CON2.setOFFCAL; inline;
  17105. begin
  17106. pTDefRegMap(@Self)^.&set := $00001000;
  17107. end;
  17108. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  17109. begin
  17110. pTDefRegMap(@Self)^.clr := $00001000;
  17111. end;
  17112. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  17113. begin
  17114. if thebits = 0 then
  17115. pTDefRegMap(@Self)^.clr := $00001000
  17116. else
  17117. pTDefRegMap(@Self)^.&set := $00001000;
  17118. end;
  17119. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  17120. begin
  17121. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17122. end;
  17123. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  17124. begin
  17125. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  17126. end;
  17127. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  17128. begin
  17129. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  17130. end;
  17131. procedure TADC10_AD1CON2.setSMPI0; inline;
  17132. begin
  17133. pTDefRegMap(@Self)^.&set := $00000004;
  17134. end;
  17135. procedure TADC10_AD1CON2.clearSMPI0; inline;
  17136. begin
  17137. pTDefRegMap(@Self)^.clr := $00000004;
  17138. end;
  17139. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  17140. begin
  17141. if thebits = 0 then
  17142. pTDefRegMap(@Self)^.clr := $00000004
  17143. else
  17144. pTDefRegMap(@Self)^.&set := $00000004;
  17145. end;
  17146. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  17147. begin
  17148. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17149. end;
  17150. procedure TADC10_AD1CON2.setSMPI1; inline;
  17151. begin
  17152. pTDefRegMap(@Self)^.&set := $00000008;
  17153. end;
  17154. procedure TADC10_AD1CON2.clearSMPI1; inline;
  17155. begin
  17156. pTDefRegMap(@Self)^.clr := $00000008;
  17157. end;
  17158. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  17159. begin
  17160. if thebits = 0 then
  17161. pTDefRegMap(@Self)^.clr := $00000008
  17162. else
  17163. pTDefRegMap(@Self)^.&set := $00000008;
  17164. end;
  17165. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  17166. begin
  17167. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17168. end;
  17169. procedure TADC10_AD1CON2.setSMPI2; inline;
  17170. begin
  17171. pTDefRegMap(@Self)^.&set := $00000010;
  17172. end;
  17173. procedure TADC10_AD1CON2.clearSMPI2; inline;
  17174. begin
  17175. pTDefRegMap(@Self)^.clr := $00000010;
  17176. end;
  17177. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  17178. begin
  17179. if thebits = 0 then
  17180. pTDefRegMap(@Self)^.clr := $00000010
  17181. else
  17182. pTDefRegMap(@Self)^.&set := $00000010;
  17183. end;
  17184. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  17185. begin
  17186. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17187. end;
  17188. procedure TADC10_AD1CON2.setSMPI3; inline;
  17189. begin
  17190. pTDefRegMap(@Self)^.&set := $00000020;
  17191. end;
  17192. procedure TADC10_AD1CON2.clearSMPI3; inline;
  17193. begin
  17194. pTDefRegMap(@Self)^.clr := $00000020;
  17195. end;
  17196. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  17197. begin
  17198. if thebits = 0 then
  17199. pTDefRegMap(@Self)^.clr := $00000020
  17200. else
  17201. pTDefRegMap(@Self)^.&set := $00000020;
  17202. end;
  17203. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  17204. begin
  17205. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17206. end;
  17207. procedure TADC10_AD1CON2.setVCFG0; inline;
  17208. begin
  17209. pTDefRegMap(@Self)^.&set := $00002000;
  17210. end;
  17211. procedure TADC10_AD1CON2.clearVCFG0; inline;
  17212. begin
  17213. pTDefRegMap(@Self)^.clr := $00002000;
  17214. end;
  17215. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  17216. begin
  17217. if thebits = 0 then
  17218. pTDefRegMap(@Self)^.clr := $00002000
  17219. else
  17220. pTDefRegMap(@Self)^.&set := $00002000;
  17221. end;
  17222. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  17223. begin
  17224. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17225. end;
  17226. procedure TADC10_AD1CON2.setVCFG1; inline;
  17227. begin
  17228. pTDefRegMap(@Self)^.&set := $00004000;
  17229. end;
  17230. procedure TADC10_AD1CON2.clearVCFG1; inline;
  17231. begin
  17232. pTDefRegMap(@Self)^.clr := $00004000;
  17233. end;
  17234. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  17235. begin
  17236. if thebits = 0 then
  17237. pTDefRegMap(@Self)^.clr := $00004000
  17238. else
  17239. pTDefRegMap(@Self)^.&set := $00004000;
  17240. end;
  17241. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  17242. begin
  17243. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  17244. end;
  17245. procedure TADC10_AD1CON2.setVCFG2; inline;
  17246. begin
  17247. pTDefRegMap(@Self)^.&set := $00008000;
  17248. end;
  17249. procedure TADC10_AD1CON2.clearVCFG2; inline;
  17250. begin
  17251. pTDefRegMap(@Self)^.clr := $00008000;
  17252. end;
  17253. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  17254. begin
  17255. if thebits = 0 then
  17256. pTDefRegMap(@Self)^.clr := $00008000
  17257. else
  17258. pTDefRegMap(@Self)^.&set := $00008000;
  17259. end;
  17260. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  17261. begin
  17262. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17263. end;
  17264. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  17265. begin
  17266. pTDefRegMap(@Self)^.val := thebits;
  17267. end;
  17268. function TADC10_AD1CON2.getw : TBits_32; inline;
  17269. begin
  17270. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17271. end;
  17272. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  17273. begin
  17274. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  17275. end;
  17276. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  17277. begin
  17278. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  17279. end;
  17280. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  17281. begin
  17282. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  17283. end;
  17284. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  17285. begin
  17286. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  17287. end;
  17288. procedure TADC10_AD1CON3.setADRC; inline;
  17289. begin
  17290. pTDefRegMap(@Self)^.&set := $00008000;
  17291. end;
  17292. procedure TADC10_AD1CON3.clearADRC; inline;
  17293. begin
  17294. pTDefRegMap(@Self)^.clr := $00008000;
  17295. end;
  17296. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  17297. begin
  17298. if thebits = 0 then
  17299. pTDefRegMap(@Self)^.clr := $00008000
  17300. else
  17301. pTDefRegMap(@Self)^.&set := $00008000;
  17302. end;
  17303. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  17304. begin
  17305. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17306. end;
  17307. procedure TADC10_AD1CON3.setADCS0; inline;
  17308. begin
  17309. pTDefRegMap(@Self)^.&set := $00000001;
  17310. end;
  17311. procedure TADC10_AD1CON3.clearADCS0; inline;
  17312. begin
  17313. pTDefRegMap(@Self)^.clr := $00000001;
  17314. end;
  17315. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  17316. begin
  17317. if thebits = 0 then
  17318. pTDefRegMap(@Self)^.clr := $00000001
  17319. else
  17320. pTDefRegMap(@Self)^.&set := $00000001;
  17321. end;
  17322. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  17323. begin
  17324. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17325. end;
  17326. procedure TADC10_AD1CON3.setADCS1; inline;
  17327. begin
  17328. pTDefRegMap(@Self)^.&set := $00000002;
  17329. end;
  17330. procedure TADC10_AD1CON3.clearADCS1; inline;
  17331. begin
  17332. pTDefRegMap(@Self)^.clr := $00000002;
  17333. end;
  17334. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  17335. begin
  17336. if thebits = 0 then
  17337. pTDefRegMap(@Self)^.clr := $00000002
  17338. else
  17339. pTDefRegMap(@Self)^.&set := $00000002;
  17340. end;
  17341. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  17342. begin
  17343. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17344. end;
  17345. procedure TADC10_AD1CON3.setADCS2; inline;
  17346. begin
  17347. pTDefRegMap(@Self)^.&set := $00000004;
  17348. end;
  17349. procedure TADC10_AD1CON3.clearADCS2; inline;
  17350. begin
  17351. pTDefRegMap(@Self)^.clr := $00000004;
  17352. end;
  17353. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  17354. begin
  17355. if thebits = 0 then
  17356. pTDefRegMap(@Self)^.clr := $00000004
  17357. else
  17358. pTDefRegMap(@Self)^.&set := $00000004;
  17359. end;
  17360. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  17361. begin
  17362. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17363. end;
  17364. procedure TADC10_AD1CON3.setADCS3; inline;
  17365. begin
  17366. pTDefRegMap(@Self)^.&set := $00000008;
  17367. end;
  17368. procedure TADC10_AD1CON3.clearADCS3; inline;
  17369. begin
  17370. pTDefRegMap(@Self)^.clr := $00000008;
  17371. end;
  17372. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  17373. begin
  17374. if thebits = 0 then
  17375. pTDefRegMap(@Self)^.clr := $00000008
  17376. else
  17377. pTDefRegMap(@Self)^.&set := $00000008;
  17378. end;
  17379. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  17380. begin
  17381. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17382. end;
  17383. procedure TADC10_AD1CON3.setADCS4; inline;
  17384. begin
  17385. pTDefRegMap(@Self)^.&set := $00000010;
  17386. end;
  17387. procedure TADC10_AD1CON3.clearADCS4; inline;
  17388. begin
  17389. pTDefRegMap(@Self)^.clr := $00000010;
  17390. end;
  17391. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  17392. begin
  17393. if thebits = 0 then
  17394. pTDefRegMap(@Self)^.clr := $00000010
  17395. else
  17396. pTDefRegMap(@Self)^.&set := $00000010;
  17397. end;
  17398. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  17399. begin
  17400. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17401. end;
  17402. procedure TADC10_AD1CON3.setADCS5; inline;
  17403. begin
  17404. pTDefRegMap(@Self)^.&set := $00000020;
  17405. end;
  17406. procedure TADC10_AD1CON3.clearADCS5; inline;
  17407. begin
  17408. pTDefRegMap(@Self)^.clr := $00000020;
  17409. end;
  17410. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  17411. begin
  17412. if thebits = 0 then
  17413. pTDefRegMap(@Self)^.clr := $00000020
  17414. else
  17415. pTDefRegMap(@Self)^.&set := $00000020;
  17416. end;
  17417. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  17418. begin
  17419. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17420. end;
  17421. procedure TADC10_AD1CON3.setADCS6; inline;
  17422. begin
  17423. pTDefRegMap(@Self)^.&set := $00000040;
  17424. end;
  17425. procedure TADC10_AD1CON3.clearADCS6; inline;
  17426. begin
  17427. pTDefRegMap(@Self)^.clr := $00000040;
  17428. end;
  17429. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  17430. begin
  17431. if thebits = 0 then
  17432. pTDefRegMap(@Self)^.clr := $00000040
  17433. else
  17434. pTDefRegMap(@Self)^.&set := $00000040;
  17435. end;
  17436. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  17437. begin
  17438. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17439. end;
  17440. procedure TADC10_AD1CON3.setADCS7; inline;
  17441. begin
  17442. pTDefRegMap(@Self)^.&set := $00000080;
  17443. end;
  17444. procedure TADC10_AD1CON3.clearADCS7; inline;
  17445. begin
  17446. pTDefRegMap(@Self)^.clr := $00000080;
  17447. end;
  17448. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  17449. begin
  17450. if thebits = 0 then
  17451. pTDefRegMap(@Self)^.clr := $00000080
  17452. else
  17453. pTDefRegMap(@Self)^.&set := $00000080;
  17454. end;
  17455. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  17456. begin
  17457. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17458. end;
  17459. procedure TADC10_AD1CON3.setSAMC0; inline;
  17460. begin
  17461. pTDefRegMap(@Self)^.&set := $00000100;
  17462. end;
  17463. procedure TADC10_AD1CON3.clearSAMC0; inline;
  17464. begin
  17465. pTDefRegMap(@Self)^.clr := $00000100;
  17466. end;
  17467. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  17468. begin
  17469. if thebits = 0 then
  17470. pTDefRegMap(@Self)^.clr := $00000100
  17471. else
  17472. pTDefRegMap(@Self)^.&set := $00000100;
  17473. end;
  17474. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  17475. begin
  17476. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17477. end;
  17478. procedure TADC10_AD1CON3.setSAMC1; inline;
  17479. begin
  17480. pTDefRegMap(@Self)^.&set := $00000200;
  17481. end;
  17482. procedure TADC10_AD1CON3.clearSAMC1; inline;
  17483. begin
  17484. pTDefRegMap(@Self)^.clr := $00000200;
  17485. end;
  17486. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  17487. begin
  17488. if thebits = 0 then
  17489. pTDefRegMap(@Self)^.clr := $00000200
  17490. else
  17491. pTDefRegMap(@Self)^.&set := $00000200;
  17492. end;
  17493. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  17494. begin
  17495. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17496. end;
  17497. procedure TADC10_AD1CON3.setSAMC2; inline;
  17498. begin
  17499. pTDefRegMap(@Self)^.&set := $00000400;
  17500. end;
  17501. procedure TADC10_AD1CON3.clearSAMC2; inline;
  17502. begin
  17503. pTDefRegMap(@Self)^.clr := $00000400;
  17504. end;
  17505. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  17506. begin
  17507. if thebits = 0 then
  17508. pTDefRegMap(@Self)^.clr := $00000400
  17509. else
  17510. pTDefRegMap(@Self)^.&set := $00000400;
  17511. end;
  17512. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  17513. begin
  17514. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17515. end;
  17516. procedure TADC10_AD1CON3.setSAMC3; inline;
  17517. begin
  17518. pTDefRegMap(@Self)^.&set := $00000800;
  17519. end;
  17520. procedure TADC10_AD1CON3.clearSAMC3; inline;
  17521. begin
  17522. pTDefRegMap(@Self)^.clr := $00000800;
  17523. end;
  17524. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  17525. begin
  17526. if thebits = 0 then
  17527. pTDefRegMap(@Self)^.clr := $00000800
  17528. else
  17529. pTDefRegMap(@Self)^.&set := $00000800;
  17530. end;
  17531. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  17532. begin
  17533. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17534. end;
  17535. procedure TADC10_AD1CON3.setSAMC4; inline;
  17536. begin
  17537. pTDefRegMap(@Self)^.&set := $00001000;
  17538. end;
  17539. procedure TADC10_AD1CON3.clearSAMC4; inline;
  17540. begin
  17541. pTDefRegMap(@Self)^.clr := $00001000;
  17542. end;
  17543. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  17544. begin
  17545. if thebits = 0 then
  17546. pTDefRegMap(@Self)^.clr := $00001000
  17547. else
  17548. pTDefRegMap(@Self)^.&set := $00001000;
  17549. end;
  17550. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  17551. begin
  17552. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17553. end;
  17554. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  17555. begin
  17556. pTDefRegMap(@Self)^.val := thebits;
  17557. end;
  17558. function TADC10_AD1CON3.getw : TBits_32; inline;
  17559. begin
  17560. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17561. end;
  17562. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  17563. begin
  17564. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  17565. end;
  17566. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  17567. begin
  17568. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  17569. end;
  17570. procedure TADC10_AD1CHS.setCH0NA; inline;
  17571. begin
  17572. pTDefRegMap(@Self)^.&set := $00800000;
  17573. end;
  17574. procedure TADC10_AD1CHS.clearCH0NA; inline;
  17575. begin
  17576. pTDefRegMap(@Self)^.clr := $00800000;
  17577. end;
  17578. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  17579. begin
  17580. if thebits = 0 then
  17581. pTDefRegMap(@Self)^.clr := $00800000
  17582. else
  17583. pTDefRegMap(@Self)^.&set := $00800000;
  17584. end;
  17585. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  17586. begin
  17587. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  17588. end;
  17589. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  17590. begin
  17591. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  17592. end;
  17593. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  17594. begin
  17595. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  17596. end;
  17597. procedure TADC10_AD1CHS.setCH0NB; inline;
  17598. begin
  17599. pTDefRegMap(@Self)^.&set := $80000000;
  17600. end;
  17601. procedure TADC10_AD1CHS.clearCH0NB; inline;
  17602. begin
  17603. pTDefRegMap(@Self)^.clr := $80000000;
  17604. end;
  17605. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  17606. begin
  17607. if thebits = 0 then
  17608. pTDefRegMap(@Self)^.clr := $80000000
  17609. else
  17610. pTDefRegMap(@Self)^.&set := $80000000;
  17611. end;
  17612. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  17613. begin
  17614. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  17615. end;
  17616. procedure TADC10_AD1CHS.setCH0SA0; inline;
  17617. begin
  17618. pTDefRegMap(@Self)^.&set := $00010000;
  17619. end;
  17620. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  17621. begin
  17622. pTDefRegMap(@Self)^.clr := $00010000;
  17623. end;
  17624. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  17625. begin
  17626. if thebits = 0 then
  17627. pTDefRegMap(@Self)^.clr := $00010000
  17628. else
  17629. pTDefRegMap(@Self)^.&set := $00010000;
  17630. end;
  17631. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  17632. begin
  17633. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17634. end;
  17635. procedure TADC10_AD1CHS.setCH0SA1; inline;
  17636. begin
  17637. pTDefRegMap(@Self)^.&set := $00020000;
  17638. end;
  17639. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  17640. begin
  17641. pTDefRegMap(@Self)^.clr := $00020000;
  17642. end;
  17643. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  17644. begin
  17645. if thebits = 0 then
  17646. pTDefRegMap(@Self)^.clr := $00020000
  17647. else
  17648. pTDefRegMap(@Self)^.&set := $00020000;
  17649. end;
  17650. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  17651. begin
  17652. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17653. end;
  17654. procedure TADC10_AD1CHS.setCH0SA2; inline;
  17655. begin
  17656. pTDefRegMap(@Self)^.&set := $00040000;
  17657. end;
  17658. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  17659. begin
  17660. pTDefRegMap(@Self)^.clr := $00040000;
  17661. end;
  17662. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  17663. begin
  17664. if thebits = 0 then
  17665. pTDefRegMap(@Self)^.clr := $00040000
  17666. else
  17667. pTDefRegMap(@Self)^.&set := $00040000;
  17668. end;
  17669. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  17670. begin
  17671. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  17672. end;
  17673. procedure TADC10_AD1CHS.setCH0SA3; inline;
  17674. begin
  17675. pTDefRegMap(@Self)^.&set := $00080000;
  17676. end;
  17677. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  17678. begin
  17679. pTDefRegMap(@Self)^.clr := $00080000;
  17680. end;
  17681. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  17682. begin
  17683. if thebits = 0 then
  17684. pTDefRegMap(@Self)^.clr := $00080000
  17685. else
  17686. pTDefRegMap(@Self)^.&set := $00080000;
  17687. end;
  17688. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  17689. begin
  17690. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  17691. end;
  17692. procedure TADC10_AD1CHS.setCH0SB0; inline;
  17693. begin
  17694. pTDefRegMap(@Self)^.&set := $01000000;
  17695. end;
  17696. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  17697. begin
  17698. pTDefRegMap(@Self)^.clr := $01000000;
  17699. end;
  17700. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  17701. begin
  17702. if thebits = 0 then
  17703. pTDefRegMap(@Self)^.clr := $01000000
  17704. else
  17705. pTDefRegMap(@Self)^.&set := $01000000;
  17706. end;
  17707. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  17708. begin
  17709. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  17710. end;
  17711. procedure TADC10_AD1CHS.setCH0SB1; inline;
  17712. begin
  17713. pTDefRegMap(@Self)^.&set := $02000000;
  17714. end;
  17715. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  17716. begin
  17717. pTDefRegMap(@Self)^.clr := $02000000;
  17718. end;
  17719. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  17720. begin
  17721. if thebits = 0 then
  17722. pTDefRegMap(@Self)^.clr := $02000000
  17723. else
  17724. pTDefRegMap(@Self)^.&set := $02000000;
  17725. end;
  17726. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  17727. begin
  17728. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  17729. end;
  17730. procedure TADC10_AD1CHS.setCH0SB2; inline;
  17731. begin
  17732. pTDefRegMap(@Self)^.&set := $04000000;
  17733. end;
  17734. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  17735. begin
  17736. pTDefRegMap(@Self)^.clr := $04000000;
  17737. end;
  17738. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  17739. begin
  17740. if thebits = 0 then
  17741. pTDefRegMap(@Self)^.clr := $04000000
  17742. else
  17743. pTDefRegMap(@Self)^.&set := $04000000;
  17744. end;
  17745. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  17746. begin
  17747. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  17748. end;
  17749. procedure TADC10_AD1CHS.setCH0SB3; inline;
  17750. begin
  17751. pTDefRegMap(@Self)^.&set := $08000000;
  17752. end;
  17753. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  17754. begin
  17755. pTDefRegMap(@Self)^.clr := $08000000;
  17756. end;
  17757. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  17758. begin
  17759. if thebits = 0 then
  17760. pTDefRegMap(@Self)^.clr := $08000000
  17761. else
  17762. pTDefRegMap(@Self)^.&set := $08000000;
  17763. end;
  17764. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  17765. begin
  17766. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17767. end;
  17768. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  17769. begin
  17770. pTDefRegMap(@Self)^.val := thebits;
  17771. end;
  17772. function TADC10_AD1CHS.getw : TBits_32; inline;
  17773. begin
  17774. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17775. end;
  17776. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  17777. begin
  17778. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  17779. end;
  17780. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  17781. begin
  17782. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  17783. end;
  17784. procedure TADC10_AD1CSSL.setCSSL0; inline;
  17785. begin
  17786. pTDefRegMap(@Self)^.&set := $00000001;
  17787. end;
  17788. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  17789. begin
  17790. pTDefRegMap(@Self)^.clr := $00000001;
  17791. end;
  17792. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  17793. begin
  17794. if thebits = 0 then
  17795. pTDefRegMap(@Self)^.clr := $00000001
  17796. else
  17797. pTDefRegMap(@Self)^.&set := $00000001;
  17798. end;
  17799. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  17800. begin
  17801. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17802. end;
  17803. procedure TADC10_AD1CSSL.setCSSL1; inline;
  17804. begin
  17805. pTDefRegMap(@Self)^.&set := $00000002;
  17806. end;
  17807. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  17808. begin
  17809. pTDefRegMap(@Self)^.clr := $00000002;
  17810. end;
  17811. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  17812. begin
  17813. if thebits = 0 then
  17814. pTDefRegMap(@Self)^.clr := $00000002
  17815. else
  17816. pTDefRegMap(@Self)^.&set := $00000002;
  17817. end;
  17818. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  17819. begin
  17820. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17821. end;
  17822. procedure TADC10_AD1CSSL.setCSSL2; inline;
  17823. begin
  17824. pTDefRegMap(@Self)^.&set := $00000004;
  17825. end;
  17826. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  17827. begin
  17828. pTDefRegMap(@Self)^.clr := $00000004;
  17829. end;
  17830. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  17831. begin
  17832. if thebits = 0 then
  17833. pTDefRegMap(@Self)^.clr := $00000004
  17834. else
  17835. pTDefRegMap(@Self)^.&set := $00000004;
  17836. end;
  17837. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  17838. begin
  17839. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17840. end;
  17841. procedure TADC10_AD1CSSL.setCSSL3; inline;
  17842. begin
  17843. pTDefRegMap(@Self)^.&set := $00000008;
  17844. end;
  17845. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  17846. begin
  17847. pTDefRegMap(@Self)^.clr := $00000008;
  17848. end;
  17849. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  17850. begin
  17851. if thebits = 0 then
  17852. pTDefRegMap(@Self)^.clr := $00000008
  17853. else
  17854. pTDefRegMap(@Self)^.&set := $00000008;
  17855. end;
  17856. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  17857. begin
  17858. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17859. end;
  17860. procedure TADC10_AD1CSSL.setCSSL4; inline;
  17861. begin
  17862. pTDefRegMap(@Self)^.&set := $00000010;
  17863. end;
  17864. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  17865. begin
  17866. pTDefRegMap(@Self)^.clr := $00000010;
  17867. end;
  17868. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  17869. begin
  17870. if thebits = 0 then
  17871. pTDefRegMap(@Self)^.clr := $00000010
  17872. else
  17873. pTDefRegMap(@Self)^.&set := $00000010;
  17874. end;
  17875. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  17876. begin
  17877. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17878. end;
  17879. procedure TADC10_AD1CSSL.setCSSL5; inline;
  17880. begin
  17881. pTDefRegMap(@Self)^.&set := $00000020;
  17882. end;
  17883. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  17884. begin
  17885. pTDefRegMap(@Self)^.clr := $00000020;
  17886. end;
  17887. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  17888. begin
  17889. if thebits = 0 then
  17890. pTDefRegMap(@Self)^.clr := $00000020
  17891. else
  17892. pTDefRegMap(@Self)^.&set := $00000020;
  17893. end;
  17894. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  17895. begin
  17896. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17897. end;
  17898. procedure TADC10_AD1CSSL.setCSSL6; inline;
  17899. begin
  17900. pTDefRegMap(@Self)^.&set := $00000040;
  17901. end;
  17902. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  17903. begin
  17904. pTDefRegMap(@Self)^.clr := $00000040;
  17905. end;
  17906. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  17907. begin
  17908. if thebits = 0 then
  17909. pTDefRegMap(@Self)^.clr := $00000040
  17910. else
  17911. pTDefRegMap(@Self)^.&set := $00000040;
  17912. end;
  17913. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  17914. begin
  17915. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17916. end;
  17917. procedure TADC10_AD1CSSL.setCSSL7; inline;
  17918. begin
  17919. pTDefRegMap(@Self)^.&set := $00000080;
  17920. end;
  17921. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  17922. begin
  17923. pTDefRegMap(@Self)^.clr := $00000080;
  17924. end;
  17925. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  17926. begin
  17927. if thebits = 0 then
  17928. pTDefRegMap(@Self)^.clr := $00000080
  17929. else
  17930. pTDefRegMap(@Self)^.&set := $00000080;
  17931. end;
  17932. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  17933. begin
  17934. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17935. end;
  17936. procedure TADC10_AD1CSSL.setCSSL8; inline;
  17937. begin
  17938. pTDefRegMap(@Self)^.&set := $00000100;
  17939. end;
  17940. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  17941. begin
  17942. pTDefRegMap(@Self)^.clr := $00000100;
  17943. end;
  17944. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  17945. begin
  17946. if thebits = 0 then
  17947. pTDefRegMap(@Self)^.clr := $00000100
  17948. else
  17949. pTDefRegMap(@Self)^.&set := $00000100;
  17950. end;
  17951. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  17952. begin
  17953. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17954. end;
  17955. procedure TADC10_AD1CSSL.setCSSL9; inline;
  17956. begin
  17957. pTDefRegMap(@Self)^.&set := $00000200;
  17958. end;
  17959. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  17960. begin
  17961. pTDefRegMap(@Self)^.clr := $00000200;
  17962. end;
  17963. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  17964. begin
  17965. if thebits = 0 then
  17966. pTDefRegMap(@Self)^.clr := $00000200
  17967. else
  17968. pTDefRegMap(@Self)^.&set := $00000200;
  17969. end;
  17970. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  17971. begin
  17972. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17973. end;
  17974. procedure TADC10_AD1CSSL.setCSSL10; inline;
  17975. begin
  17976. pTDefRegMap(@Self)^.&set := $00000400;
  17977. end;
  17978. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  17979. begin
  17980. pTDefRegMap(@Self)^.clr := $00000400;
  17981. end;
  17982. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  17983. begin
  17984. if thebits = 0 then
  17985. pTDefRegMap(@Self)^.clr := $00000400
  17986. else
  17987. pTDefRegMap(@Self)^.&set := $00000400;
  17988. end;
  17989. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  17990. begin
  17991. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17992. end;
  17993. procedure TADC10_AD1CSSL.setCSSL11; inline;
  17994. begin
  17995. pTDefRegMap(@Self)^.&set := $00000800;
  17996. end;
  17997. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  17998. begin
  17999. pTDefRegMap(@Self)^.clr := $00000800;
  18000. end;
  18001. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  18002. begin
  18003. if thebits = 0 then
  18004. pTDefRegMap(@Self)^.clr := $00000800
  18005. else
  18006. pTDefRegMap(@Self)^.&set := $00000800;
  18007. end;
  18008. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  18009. begin
  18010. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18011. end;
  18012. procedure TADC10_AD1CSSL.setCSSL12; inline;
  18013. begin
  18014. pTDefRegMap(@Self)^.&set := $00001000;
  18015. end;
  18016. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  18017. begin
  18018. pTDefRegMap(@Self)^.clr := $00001000;
  18019. end;
  18020. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  18021. begin
  18022. if thebits = 0 then
  18023. pTDefRegMap(@Self)^.clr := $00001000
  18024. else
  18025. pTDefRegMap(@Self)^.&set := $00001000;
  18026. end;
  18027. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  18028. begin
  18029. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18030. end;
  18031. procedure TADC10_AD1CSSL.setCSSL13; inline;
  18032. begin
  18033. pTDefRegMap(@Self)^.&set := $00002000;
  18034. end;
  18035. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  18036. begin
  18037. pTDefRegMap(@Self)^.clr := $00002000;
  18038. end;
  18039. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  18040. begin
  18041. if thebits = 0 then
  18042. pTDefRegMap(@Self)^.clr := $00002000
  18043. else
  18044. pTDefRegMap(@Self)^.&set := $00002000;
  18045. end;
  18046. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  18047. begin
  18048. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18049. end;
  18050. procedure TADC10_AD1CSSL.setCSSL14; inline;
  18051. begin
  18052. pTDefRegMap(@Self)^.&set := $00004000;
  18053. end;
  18054. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  18055. begin
  18056. pTDefRegMap(@Self)^.clr := $00004000;
  18057. end;
  18058. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  18059. begin
  18060. if thebits = 0 then
  18061. pTDefRegMap(@Self)^.clr := $00004000
  18062. else
  18063. pTDefRegMap(@Self)^.&set := $00004000;
  18064. end;
  18065. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  18066. begin
  18067. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18068. end;
  18069. procedure TADC10_AD1CSSL.setCSSL15; inline;
  18070. begin
  18071. pTDefRegMap(@Self)^.&set := $00008000;
  18072. end;
  18073. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  18074. begin
  18075. pTDefRegMap(@Self)^.clr := $00008000;
  18076. end;
  18077. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  18078. begin
  18079. if thebits = 0 then
  18080. pTDefRegMap(@Self)^.clr := $00008000
  18081. else
  18082. pTDefRegMap(@Self)^.&set := $00008000;
  18083. end;
  18084. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  18085. begin
  18086. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18087. end;
  18088. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  18089. begin
  18090. pTDefRegMap(@Self)^.val := thebits;
  18091. end;
  18092. function TADC10_AD1CSSL.getw : TBits_32; inline;
  18093. begin
  18094. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18095. end;
  18096. procedure TADC10_AD1PCFG.setPCFG(thebits : TBits_16); inline;
  18097. begin
  18098. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  18099. end;
  18100. function TADC10_AD1PCFG.getPCFG : TBits_16; inline;
  18101. begin
  18102. getPCFG := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  18103. end;
  18104. procedure TADC10_AD1PCFG.setPCFG0; inline;
  18105. begin
  18106. pTDefRegMap(@Self)^.&set := $00000001;
  18107. end;
  18108. procedure TADC10_AD1PCFG.clearPCFG0; inline;
  18109. begin
  18110. pTDefRegMap(@Self)^.clr := $00000001;
  18111. end;
  18112. procedure TADC10_AD1PCFG.setPCFG0(thebits : TBits_1); inline;
  18113. begin
  18114. if thebits = 0 then
  18115. pTDefRegMap(@Self)^.clr := $00000001
  18116. else
  18117. pTDefRegMap(@Self)^.&set := $00000001;
  18118. end;
  18119. function TADC10_AD1PCFG.getPCFG0 : TBits_1; inline;
  18120. begin
  18121. getPCFG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18122. end;
  18123. procedure TADC10_AD1PCFG.setPCFG1; inline;
  18124. begin
  18125. pTDefRegMap(@Self)^.&set := $00000002;
  18126. end;
  18127. procedure TADC10_AD1PCFG.clearPCFG1; inline;
  18128. begin
  18129. pTDefRegMap(@Self)^.clr := $00000002;
  18130. end;
  18131. procedure TADC10_AD1PCFG.setPCFG1(thebits : TBits_1); inline;
  18132. begin
  18133. if thebits = 0 then
  18134. pTDefRegMap(@Self)^.clr := $00000002
  18135. else
  18136. pTDefRegMap(@Self)^.&set := $00000002;
  18137. end;
  18138. function TADC10_AD1PCFG.getPCFG1 : TBits_1; inline;
  18139. begin
  18140. getPCFG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18141. end;
  18142. procedure TADC10_AD1PCFG.setPCFG2; inline;
  18143. begin
  18144. pTDefRegMap(@Self)^.&set := $00000004;
  18145. end;
  18146. procedure TADC10_AD1PCFG.clearPCFG2; inline;
  18147. begin
  18148. pTDefRegMap(@Self)^.clr := $00000004;
  18149. end;
  18150. procedure TADC10_AD1PCFG.setPCFG2(thebits : TBits_1); inline;
  18151. begin
  18152. if thebits = 0 then
  18153. pTDefRegMap(@Self)^.clr := $00000004
  18154. else
  18155. pTDefRegMap(@Self)^.&set := $00000004;
  18156. end;
  18157. function TADC10_AD1PCFG.getPCFG2 : TBits_1; inline;
  18158. begin
  18159. getPCFG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18160. end;
  18161. procedure TADC10_AD1PCFG.setPCFG3; inline;
  18162. begin
  18163. pTDefRegMap(@Self)^.&set := $00000008;
  18164. end;
  18165. procedure TADC10_AD1PCFG.clearPCFG3; inline;
  18166. begin
  18167. pTDefRegMap(@Self)^.clr := $00000008;
  18168. end;
  18169. procedure TADC10_AD1PCFG.setPCFG3(thebits : TBits_1); inline;
  18170. begin
  18171. if thebits = 0 then
  18172. pTDefRegMap(@Self)^.clr := $00000008
  18173. else
  18174. pTDefRegMap(@Self)^.&set := $00000008;
  18175. end;
  18176. function TADC10_AD1PCFG.getPCFG3 : TBits_1; inline;
  18177. begin
  18178. getPCFG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18179. end;
  18180. procedure TADC10_AD1PCFG.setPCFG4; inline;
  18181. begin
  18182. pTDefRegMap(@Self)^.&set := $00000010;
  18183. end;
  18184. procedure TADC10_AD1PCFG.clearPCFG4; inline;
  18185. begin
  18186. pTDefRegMap(@Self)^.clr := $00000010;
  18187. end;
  18188. procedure TADC10_AD1PCFG.setPCFG4(thebits : TBits_1); inline;
  18189. begin
  18190. if thebits = 0 then
  18191. pTDefRegMap(@Self)^.clr := $00000010
  18192. else
  18193. pTDefRegMap(@Self)^.&set := $00000010;
  18194. end;
  18195. function TADC10_AD1PCFG.getPCFG4 : TBits_1; inline;
  18196. begin
  18197. getPCFG4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18198. end;
  18199. procedure TADC10_AD1PCFG.setPCFG5; inline;
  18200. begin
  18201. pTDefRegMap(@Self)^.&set := $00000020;
  18202. end;
  18203. procedure TADC10_AD1PCFG.clearPCFG5; inline;
  18204. begin
  18205. pTDefRegMap(@Self)^.clr := $00000020;
  18206. end;
  18207. procedure TADC10_AD1PCFG.setPCFG5(thebits : TBits_1); inline;
  18208. begin
  18209. if thebits = 0 then
  18210. pTDefRegMap(@Self)^.clr := $00000020
  18211. else
  18212. pTDefRegMap(@Self)^.&set := $00000020;
  18213. end;
  18214. function TADC10_AD1PCFG.getPCFG5 : TBits_1; inline;
  18215. begin
  18216. getPCFG5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18217. end;
  18218. procedure TADC10_AD1PCFG.setPCFG6; inline;
  18219. begin
  18220. pTDefRegMap(@Self)^.&set := $00000040;
  18221. end;
  18222. procedure TADC10_AD1PCFG.clearPCFG6; inline;
  18223. begin
  18224. pTDefRegMap(@Self)^.clr := $00000040;
  18225. end;
  18226. procedure TADC10_AD1PCFG.setPCFG6(thebits : TBits_1); inline;
  18227. begin
  18228. if thebits = 0 then
  18229. pTDefRegMap(@Self)^.clr := $00000040
  18230. else
  18231. pTDefRegMap(@Self)^.&set := $00000040;
  18232. end;
  18233. function TADC10_AD1PCFG.getPCFG6 : TBits_1; inline;
  18234. begin
  18235. getPCFG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18236. end;
  18237. procedure TADC10_AD1PCFG.setPCFG7; inline;
  18238. begin
  18239. pTDefRegMap(@Self)^.&set := $00000080;
  18240. end;
  18241. procedure TADC10_AD1PCFG.clearPCFG7; inline;
  18242. begin
  18243. pTDefRegMap(@Self)^.clr := $00000080;
  18244. end;
  18245. procedure TADC10_AD1PCFG.setPCFG7(thebits : TBits_1); inline;
  18246. begin
  18247. if thebits = 0 then
  18248. pTDefRegMap(@Self)^.clr := $00000080
  18249. else
  18250. pTDefRegMap(@Self)^.&set := $00000080;
  18251. end;
  18252. function TADC10_AD1PCFG.getPCFG7 : TBits_1; inline;
  18253. begin
  18254. getPCFG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18255. end;
  18256. procedure TADC10_AD1PCFG.setPCFG8; inline;
  18257. begin
  18258. pTDefRegMap(@Self)^.&set := $00000100;
  18259. end;
  18260. procedure TADC10_AD1PCFG.clearPCFG8; inline;
  18261. begin
  18262. pTDefRegMap(@Self)^.clr := $00000100;
  18263. end;
  18264. procedure TADC10_AD1PCFG.setPCFG8(thebits : TBits_1); inline;
  18265. begin
  18266. if thebits = 0 then
  18267. pTDefRegMap(@Self)^.clr := $00000100
  18268. else
  18269. pTDefRegMap(@Self)^.&set := $00000100;
  18270. end;
  18271. function TADC10_AD1PCFG.getPCFG8 : TBits_1; inline;
  18272. begin
  18273. getPCFG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18274. end;
  18275. procedure TADC10_AD1PCFG.setPCFG9; inline;
  18276. begin
  18277. pTDefRegMap(@Self)^.&set := $00000200;
  18278. end;
  18279. procedure TADC10_AD1PCFG.clearPCFG9; inline;
  18280. begin
  18281. pTDefRegMap(@Self)^.clr := $00000200;
  18282. end;
  18283. procedure TADC10_AD1PCFG.setPCFG9(thebits : TBits_1); inline;
  18284. begin
  18285. if thebits = 0 then
  18286. pTDefRegMap(@Self)^.clr := $00000200
  18287. else
  18288. pTDefRegMap(@Self)^.&set := $00000200;
  18289. end;
  18290. function TADC10_AD1PCFG.getPCFG9 : TBits_1; inline;
  18291. begin
  18292. getPCFG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18293. end;
  18294. procedure TADC10_AD1PCFG.setPCFG10; inline;
  18295. begin
  18296. pTDefRegMap(@Self)^.&set := $00000400;
  18297. end;
  18298. procedure TADC10_AD1PCFG.clearPCFG10; inline;
  18299. begin
  18300. pTDefRegMap(@Self)^.clr := $00000400;
  18301. end;
  18302. procedure TADC10_AD1PCFG.setPCFG10(thebits : TBits_1); inline;
  18303. begin
  18304. if thebits = 0 then
  18305. pTDefRegMap(@Self)^.clr := $00000400
  18306. else
  18307. pTDefRegMap(@Self)^.&set := $00000400;
  18308. end;
  18309. function TADC10_AD1PCFG.getPCFG10 : TBits_1; inline;
  18310. begin
  18311. getPCFG10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18312. end;
  18313. procedure TADC10_AD1PCFG.setPCFG11; inline;
  18314. begin
  18315. pTDefRegMap(@Self)^.&set := $00000800;
  18316. end;
  18317. procedure TADC10_AD1PCFG.clearPCFG11; inline;
  18318. begin
  18319. pTDefRegMap(@Self)^.clr := $00000800;
  18320. end;
  18321. procedure TADC10_AD1PCFG.setPCFG11(thebits : TBits_1); inline;
  18322. begin
  18323. if thebits = 0 then
  18324. pTDefRegMap(@Self)^.clr := $00000800
  18325. else
  18326. pTDefRegMap(@Self)^.&set := $00000800;
  18327. end;
  18328. function TADC10_AD1PCFG.getPCFG11 : TBits_1; inline;
  18329. begin
  18330. getPCFG11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18331. end;
  18332. procedure TADC10_AD1PCFG.setPCFG12; inline;
  18333. begin
  18334. pTDefRegMap(@Self)^.&set := $00001000;
  18335. end;
  18336. procedure TADC10_AD1PCFG.clearPCFG12; inline;
  18337. begin
  18338. pTDefRegMap(@Self)^.clr := $00001000;
  18339. end;
  18340. procedure TADC10_AD1PCFG.setPCFG12(thebits : TBits_1); inline;
  18341. begin
  18342. if thebits = 0 then
  18343. pTDefRegMap(@Self)^.clr := $00001000
  18344. else
  18345. pTDefRegMap(@Self)^.&set := $00001000;
  18346. end;
  18347. function TADC10_AD1PCFG.getPCFG12 : TBits_1; inline;
  18348. begin
  18349. getPCFG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18350. end;
  18351. procedure TADC10_AD1PCFG.setPCFG13; inline;
  18352. begin
  18353. pTDefRegMap(@Self)^.&set := $00002000;
  18354. end;
  18355. procedure TADC10_AD1PCFG.clearPCFG13; inline;
  18356. begin
  18357. pTDefRegMap(@Self)^.clr := $00002000;
  18358. end;
  18359. procedure TADC10_AD1PCFG.setPCFG13(thebits : TBits_1); inline;
  18360. begin
  18361. if thebits = 0 then
  18362. pTDefRegMap(@Self)^.clr := $00002000
  18363. else
  18364. pTDefRegMap(@Self)^.&set := $00002000;
  18365. end;
  18366. function TADC10_AD1PCFG.getPCFG13 : TBits_1; inline;
  18367. begin
  18368. getPCFG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18369. end;
  18370. procedure TADC10_AD1PCFG.setPCFG14; inline;
  18371. begin
  18372. pTDefRegMap(@Self)^.&set := $00004000;
  18373. end;
  18374. procedure TADC10_AD1PCFG.clearPCFG14; inline;
  18375. begin
  18376. pTDefRegMap(@Self)^.clr := $00004000;
  18377. end;
  18378. procedure TADC10_AD1PCFG.setPCFG14(thebits : TBits_1); inline;
  18379. begin
  18380. if thebits = 0 then
  18381. pTDefRegMap(@Self)^.clr := $00004000
  18382. else
  18383. pTDefRegMap(@Self)^.&set := $00004000;
  18384. end;
  18385. function TADC10_AD1PCFG.getPCFG14 : TBits_1; inline;
  18386. begin
  18387. getPCFG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18388. end;
  18389. procedure TADC10_AD1PCFG.setPCFG15; inline;
  18390. begin
  18391. pTDefRegMap(@Self)^.&set := $00008000;
  18392. end;
  18393. procedure TADC10_AD1PCFG.clearPCFG15; inline;
  18394. begin
  18395. pTDefRegMap(@Self)^.clr := $00008000;
  18396. end;
  18397. procedure TADC10_AD1PCFG.setPCFG15(thebits : TBits_1); inline;
  18398. begin
  18399. if thebits = 0 then
  18400. pTDefRegMap(@Self)^.clr := $00008000
  18401. else
  18402. pTDefRegMap(@Self)^.&set := $00008000;
  18403. end;
  18404. function TADC10_AD1PCFG.getPCFG15 : TBits_1; inline;
  18405. begin
  18406. getPCFG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18407. end;
  18408. procedure TADC10_AD1PCFG.setw(thebits : TBits_32); inline;
  18409. begin
  18410. pTDefRegMap(@Self)^.val := thebits;
  18411. end;
  18412. function TADC10_AD1PCFG.getw : TBits_32; inline;
  18413. begin
  18414. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18415. end;
  18416. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  18417. begin
  18418. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  18419. end;
  18420. function TCVR_CVRCON.getCVR : TBits_4; inline;
  18421. begin
  18422. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  18423. end;
  18424. procedure TCVR_CVRCON.setCVRSS; inline;
  18425. begin
  18426. pTDefRegMap(@Self)^.&set := $00000010;
  18427. end;
  18428. procedure TCVR_CVRCON.clearCVRSS; inline;
  18429. begin
  18430. pTDefRegMap(@Self)^.clr := $00000010;
  18431. end;
  18432. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  18433. begin
  18434. if thebits = 0 then
  18435. pTDefRegMap(@Self)^.clr := $00000010
  18436. else
  18437. pTDefRegMap(@Self)^.&set := $00000010;
  18438. end;
  18439. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  18440. begin
  18441. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18442. end;
  18443. procedure TCVR_CVRCON.setCVRR; inline;
  18444. begin
  18445. pTDefRegMap(@Self)^.&set := $00000020;
  18446. end;
  18447. procedure TCVR_CVRCON.clearCVRR; inline;
  18448. begin
  18449. pTDefRegMap(@Self)^.clr := $00000020;
  18450. end;
  18451. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  18452. begin
  18453. if thebits = 0 then
  18454. pTDefRegMap(@Self)^.clr := $00000020
  18455. else
  18456. pTDefRegMap(@Self)^.&set := $00000020;
  18457. end;
  18458. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  18459. begin
  18460. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18461. end;
  18462. procedure TCVR_CVRCON.setCVROE; inline;
  18463. begin
  18464. pTDefRegMap(@Self)^.&set := $00000040;
  18465. end;
  18466. procedure TCVR_CVRCON.clearCVROE; inline;
  18467. begin
  18468. pTDefRegMap(@Self)^.clr := $00000040;
  18469. end;
  18470. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  18471. begin
  18472. if thebits = 0 then
  18473. pTDefRegMap(@Self)^.clr := $00000040
  18474. else
  18475. pTDefRegMap(@Self)^.&set := $00000040;
  18476. end;
  18477. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  18478. begin
  18479. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18480. end;
  18481. procedure TCVR_CVRCON.setON; inline;
  18482. begin
  18483. pTDefRegMap(@Self)^.&set := $00008000;
  18484. end;
  18485. procedure TCVR_CVRCON.clearON; inline;
  18486. begin
  18487. pTDefRegMap(@Self)^.clr := $00008000;
  18488. end;
  18489. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  18490. begin
  18491. if thebits = 0 then
  18492. pTDefRegMap(@Self)^.clr := $00008000
  18493. else
  18494. pTDefRegMap(@Self)^.&set := $00008000;
  18495. end;
  18496. function TCVR_CVRCON.getON : TBits_1; inline;
  18497. begin
  18498. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18499. end;
  18500. procedure TCVR_CVRCON.setCVR0; inline;
  18501. begin
  18502. pTDefRegMap(@Self)^.&set := $00000001;
  18503. end;
  18504. procedure TCVR_CVRCON.clearCVR0; inline;
  18505. begin
  18506. pTDefRegMap(@Self)^.clr := $00000001;
  18507. end;
  18508. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  18509. begin
  18510. if thebits = 0 then
  18511. pTDefRegMap(@Self)^.clr := $00000001
  18512. else
  18513. pTDefRegMap(@Self)^.&set := $00000001;
  18514. end;
  18515. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  18516. begin
  18517. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18518. end;
  18519. procedure TCVR_CVRCON.setCVR1; inline;
  18520. begin
  18521. pTDefRegMap(@Self)^.&set := $00000002;
  18522. end;
  18523. procedure TCVR_CVRCON.clearCVR1; inline;
  18524. begin
  18525. pTDefRegMap(@Self)^.clr := $00000002;
  18526. end;
  18527. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  18528. begin
  18529. if thebits = 0 then
  18530. pTDefRegMap(@Self)^.clr := $00000002
  18531. else
  18532. pTDefRegMap(@Self)^.&set := $00000002;
  18533. end;
  18534. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  18535. begin
  18536. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18537. end;
  18538. procedure TCVR_CVRCON.setCVR2; inline;
  18539. begin
  18540. pTDefRegMap(@Self)^.&set := $00000004;
  18541. end;
  18542. procedure TCVR_CVRCON.clearCVR2; inline;
  18543. begin
  18544. pTDefRegMap(@Self)^.clr := $00000004;
  18545. end;
  18546. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  18547. begin
  18548. if thebits = 0 then
  18549. pTDefRegMap(@Self)^.clr := $00000004
  18550. else
  18551. pTDefRegMap(@Self)^.&set := $00000004;
  18552. end;
  18553. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  18554. begin
  18555. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18556. end;
  18557. procedure TCVR_CVRCON.setCVR3; inline;
  18558. begin
  18559. pTDefRegMap(@Self)^.&set := $00000008;
  18560. end;
  18561. procedure TCVR_CVRCON.clearCVR3; inline;
  18562. begin
  18563. pTDefRegMap(@Self)^.clr := $00000008;
  18564. end;
  18565. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  18566. begin
  18567. if thebits = 0 then
  18568. pTDefRegMap(@Self)^.clr := $00000008
  18569. else
  18570. pTDefRegMap(@Self)^.&set := $00000008;
  18571. end;
  18572. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  18573. begin
  18574. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18575. end;
  18576. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  18577. begin
  18578. pTDefRegMap(@Self)^.val := thebits;
  18579. end;
  18580. function TCVR_CVRCON.getw : TBits_32; inline;
  18581. begin
  18582. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18583. end;
  18584. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  18585. begin
  18586. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  18587. end;
  18588. function TCMP_CM1CON.getCCH : TBits_2; inline;
  18589. begin
  18590. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  18591. end;
  18592. procedure TCMP_CM1CON.setCREF; inline;
  18593. begin
  18594. pTDefRegMap(@Self)^.&set := $00000010;
  18595. end;
  18596. procedure TCMP_CM1CON.clearCREF; inline;
  18597. begin
  18598. pTDefRegMap(@Self)^.clr := $00000010;
  18599. end;
  18600. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  18601. begin
  18602. if thebits = 0 then
  18603. pTDefRegMap(@Self)^.clr := $00000010
  18604. else
  18605. pTDefRegMap(@Self)^.&set := $00000010;
  18606. end;
  18607. function TCMP_CM1CON.getCREF : TBits_1; inline;
  18608. begin
  18609. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18610. end;
  18611. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  18612. begin
  18613. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18614. end;
  18615. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  18616. begin
  18617. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18618. end;
  18619. procedure TCMP_CM1CON.setCOUT; inline;
  18620. begin
  18621. pTDefRegMap(@Self)^.&set := $00000100;
  18622. end;
  18623. procedure TCMP_CM1CON.clearCOUT; inline;
  18624. begin
  18625. pTDefRegMap(@Self)^.clr := $00000100;
  18626. end;
  18627. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  18628. begin
  18629. if thebits = 0 then
  18630. pTDefRegMap(@Self)^.clr := $00000100
  18631. else
  18632. pTDefRegMap(@Self)^.&set := $00000100;
  18633. end;
  18634. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  18635. begin
  18636. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18637. end;
  18638. procedure TCMP_CM1CON.setCPOL; inline;
  18639. begin
  18640. pTDefRegMap(@Self)^.&set := $00002000;
  18641. end;
  18642. procedure TCMP_CM1CON.clearCPOL; inline;
  18643. begin
  18644. pTDefRegMap(@Self)^.clr := $00002000;
  18645. end;
  18646. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  18647. begin
  18648. if thebits = 0 then
  18649. pTDefRegMap(@Self)^.clr := $00002000
  18650. else
  18651. pTDefRegMap(@Self)^.&set := $00002000;
  18652. end;
  18653. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  18654. begin
  18655. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18656. end;
  18657. procedure TCMP_CM1CON.setCOE; inline;
  18658. begin
  18659. pTDefRegMap(@Self)^.&set := $00004000;
  18660. end;
  18661. procedure TCMP_CM1CON.clearCOE; inline;
  18662. begin
  18663. pTDefRegMap(@Self)^.clr := $00004000;
  18664. end;
  18665. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  18666. begin
  18667. if thebits = 0 then
  18668. pTDefRegMap(@Self)^.clr := $00004000
  18669. else
  18670. pTDefRegMap(@Self)^.&set := $00004000;
  18671. end;
  18672. function TCMP_CM1CON.getCOE : TBits_1; inline;
  18673. begin
  18674. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18675. end;
  18676. procedure TCMP_CM1CON.setON; inline;
  18677. begin
  18678. pTDefRegMap(@Self)^.&set := $00008000;
  18679. end;
  18680. procedure TCMP_CM1CON.clearON; inline;
  18681. begin
  18682. pTDefRegMap(@Self)^.clr := $00008000;
  18683. end;
  18684. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  18685. begin
  18686. if thebits = 0 then
  18687. pTDefRegMap(@Self)^.clr := $00008000
  18688. else
  18689. pTDefRegMap(@Self)^.&set := $00008000;
  18690. end;
  18691. function TCMP_CM1CON.getON : TBits_1; inline;
  18692. begin
  18693. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18694. end;
  18695. procedure TCMP_CM1CON.setCCH0; inline;
  18696. begin
  18697. pTDefRegMap(@Self)^.&set := $00000001;
  18698. end;
  18699. procedure TCMP_CM1CON.clearCCH0; inline;
  18700. begin
  18701. pTDefRegMap(@Self)^.clr := $00000001;
  18702. end;
  18703. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  18704. begin
  18705. if thebits = 0 then
  18706. pTDefRegMap(@Self)^.clr := $00000001
  18707. else
  18708. pTDefRegMap(@Self)^.&set := $00000001;
  18709. end;
  18710. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  18711. begin
  18712. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18713. end;
  18714. procedure TCMP_CM1CON.setCCH1; inline;
  18715. begin
  18716. pTDefRegMap(@Self)^.&set := $00000002;
  18717. end;
  18718. procedure TCMP_CM1CON.clearCCH1; inline;
  18719. begin
  18720. pTDefRegMap(@Self)^.clr := $00000002;
  18721. end;
  18722. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  18723. begin
  18724. if thebits = 0 then
  18725. pTDefRegMap(@Self)^.clr := $00000002
  18726. else
  18727. pTDefRegMap(@Self)^.&set := $00000002;
  18728. end;
  18729. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  18730. begin
  18731. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18732. end;
  18733. procedure TCMP_CM1CON.setEVPOL0; inline;
  18734. begin
  18735. pTDefRegMap(@Self)^.&set := $00000040;
  18736. end;
  18737. procedure TCMP_CM1CON.clearEVPOL0; inline;
  18738. begin
  18739. pTDefRegMap(@Self)^.clr := $00000040;
  18740. end;
  18741. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  18742. begin
  18743. if thebits = 0 then
  18744. pTDefRegMap(@Self)^.clr := $00000040
  18745. else
  18746. pTDefRegMap(@Self)^.&set := $00000040;
  18747. end;
  18748. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  18749. begin
  18750. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18751. end;
  18752. procedure TCMP_CM1CON.setEVPOL1; inline;
  18753. begin
  18754. pTDefRegMap(@Self)^.&set := $00000080;
  18755. end;
  18756. procedure TCMP_CM1CON.clearEVPOL1; inline;
  18757. begin
  18758. pTDefRegMap(@Self)^.clr := $00000080;
  18759. end;
  18760. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  18761. begin
  18762. if thebits = 0 then
  18763. pTDefRegMap(@Self)^.clr := $00000080
  18764. else
  18765. pTDefRegMap(@Self)^.&set := $00000080;
  18766. end;
  18767. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  18768. begin
  18769. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18770. end;
  18771. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  18772. begin
  18773. pTDefRegMap(@Self)^.val := thebits;
  18774. end;
  18775. function TCMP_CM1CON.getw : TBits_32; inline;
  18776. begin
  18777. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18778. end;
  18779. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  18780. begin
  18781. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  18782. end;
  18783. function TCMP_CM2CON.getCCH : TBits_2; inline;
  18784. begin
  18785. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  18786. end;
  18787. procedure TCMP_CM2CON.setCREF; inline;
  18788. begin
  18789. pTDefRegMap(@Self)^.&set := $00000010;
  18790. end;
  18791. procedure TCMP_CM2CON.clearCREF; inline;
  18792. begin
  18793. pTDefRegMap(@Self)^.clr := $00000010;
  18794. end;
  18795. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  18796. begin
  18797. if thebits = 0 then
  18798. pTDefRegMap(@Self)^.clr := $00000010
  18799. else
  18800. pTDefRegMap(@Self)^.&set := $00000010;
  18801. end;
  18802. function TCMP_CM2CON.getCREF : TBits_1; inline;
  18803. begin
  18804. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18805. end;
  18806. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  18807. begin
  18808. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18809. end;
  18810. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  18811. begin
  18812. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18813. end;
  18814. procedure TCMP_CM2CON.setCOUT; inline;
  18815. begin
  18816. pTDefRegMap(@Self)^.&set := $00000100;
  18817. end;
  18818. procedure TCMP_CM2CON.clearCOUT; inline;
  18819. begin
  18820. pTDefRegMap(@Self)^.clr := $00000100;
  18821. end;
  18822. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  18823. begin
  18824. if thebits = 0 then
  18825. pTDefRegMap(@Self)^.clr := $00000100
  18826. else
  18827. pTDefRegMap(@Self)^.&set := $00000100;
  18828. end;
  18829. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  18830. begin
  18831. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18832. end;
  18833. procedure TCMP_CM2CON.setCPOL; inline;
  18834. begin
  18835. pTDefRegMap(@Self)^.&set := $00002000;
  18836. end;
  18837. procedure TCMP_CM2CON.clearCPOL; inline;
  18838. begin
  18839. pTDefRegMap(@Self)^.clr := $00002000;
  18840. end;
  18841. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  18842. begin
  18843. if thebits = 0 then
  18844. pTDefRegMap(@Self)^.clr := $00002000
  18845. else
  18846. pTDefRegMap(@Self)^.&set := $00002000;
  18847. end;
  18848. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  18849. begin
  18850. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18851. end;
  18852. procedure TCMP_CM2CON.setCOE; inline;
  18853. begin
  18854. pTDefRegMap(@Self)^.&set := $00004000;
  18855. end;
  18856. procedure TCMP_CM2CON.clearCOE; inline;
  18857. begin
  18858. pTDefRegMap(@Self)^.clr := $00004000;
  18859. end;
  18860. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  18861. begin
  18862. if thebits = 0 then
  18863. pTDefRegMap(@Self)^.clr := $00004000
  18864. else
  18865. pTDefRegMap(@Self)^.&set := $00004000;
  18866. end;
  18867. function TCMP_CM2CON.getCOE : TBits_1; inline;
  18868. begin
  18869. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18870. end;
  18871. procedure TCMP_CM2CON.setON; inline;
  18872. begin
  18873. pTDefRegMap(@Self)^.&set := $00008000;
  18874. end;
  18875. procedure TCMP_CM2CON.clearON; inline;
  18876. begin
  18877. pTDefRegMap(@Self)^.clr := $00008000;
  18878. end;
  18879. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  18880. begin
  18881. if thebits = 0 then
  18882. pTDefRegMap(@Self)^.clr := $00008000
  18883. else
  18884. pTDefRegMap(@Self)^.&set := $00008000;
  18885. end;
  18886. function TCMP_CM2CON.getON : TBits_1; inline;
  18887. begin
  18888. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18889. end;
  18890. procedure TCMP_CM2CON.setCCH0; inline;
  18891. begin
  18892. pTDefRegMap(@Self)^.&set := $00000001;
  18893. end;
  18894. procedure TCMP_CM2CON.clearCCH0; inline;
  18895. begin
  18896. pTDefRegMap(@Self)^.clr := $00000001;
  18897. end;
  18898. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  18899. begin
  18900. if thebits = 0 then
  18901. pTDefRegMap(@Self)^.clr := $00000001
  18902. else
  18903. pTDefRegMap(@Self)^.&set := $00000001;
  18904. end;
  18905. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  18906. begin
  18907. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18908. end;
  18909. procedure TCMP_CM2CON.setCCH1; inline;
  18910. begin
  18911. pTDefRegMap(@Self)^.&set := $00000002;
  18912. end;
  18913. procedure TCMP_CM2CON.clearCCH1; inline;
  18914. begin
  18915. pTDefRegMap(@Self)^.clr := $00000002;
  18916. end;
  18917. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  18918. begin
  18919. if thebits = 0 then
  18920. pTDefRegMap(@Self)^.clr := $00000002
  18921. else
  18922. pTDefRegMap(@Self)^.&set := $00000002;
  18923. end;
  18924. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  18925. begin
  18926. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18927. end;
  18928. procedure TCMP_CM2CON.setEVPOL0; inline;
  18929. begin
  18930. pTDefRegMap(@Self)^.&set := $00000040;
  18931. end;
  18932. procedure TCMP_CM2CON.clearEVPOL0; inline;
  18933. begin
  18934. pTDefRegMap(@Self)^.clr := $00000040;
  18935. end;
  18936. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  18937. begin
  18938. if thebits = 0 then
  18939. pTDefRegMap(@Self)^.clr := $00000040
  18940. else
  18941. pTDefRegMap(@Self)^.&set := $00000040;
  18942. end;
  18943. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  18944. begin
  18945. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18946. end;
  18947. procedure TCMP_CM2CON.setEVPOL1; inline;
  18948. begin
  18949. pTDefRegMap(@Self)^.&set := $00000080;
  18950. end;
  18951. procedure TCMP_CM2CON.clearEVPOL1; inline;
  18952. begin
  18953. pTDefRegMap(@Self)^.clr := $00000080;
  18954. end;
  18955. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  18956. begin
  18957. if thebits = 0 then
  18958. pTDefRegMap(@Self)^.clr := $00000080
  18959. else
  18960. pTDefRegMap(@Self)^.&set := $00000080;
  18961. end;
  18962. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  18963. begin
  18964. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18965. end;
  18966. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  18967. begin
  18968. pTDefRegMap(@Self)^.val := thebits;
  18969. end;
  18970. function TCMP_CM2CON.getw : TBits_32; inline;
  18971. begin
  18972. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18973. end;
  18974. procedure TCMP_CMSTAT.setC1OUT; inline;
  18975. begin
  18976. pTDefRegMap(@Self)^.&set := $00000001;
  18977. end;
  18978. procedure TCMP_CMSTAT.clearC1OUT; inline;
  18979. begin
  18980. pTDefRegMap(@Self)^.clr := $00000001;
  18981. end;
  18982. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  18983. begin
  18984. if thebits = 0 then
  18985. pTDefRegMap(@Self)^.clr := $00000001
  18986. else
  18987. pTDefRegMap(@Self)^.&set := $00000001;
  18988. end;
  18989. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  18990. begin
  18991. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18992. end;
  18993. procedure TCMP_CMSTAT.setC2OUT; inline;
  18994. begin
  18995. pTDefRegMap(@Self)^.&set := $00000002;
  18996. end;
  18997. procedure TCMP_CMSTAT.clearC2OUT; inline;
  18998. begin
  18999. pTDefRegMap(@Self)^.clr := $00000002;
  19000. end;
  19001. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  19002. begin
  19003. if thebits = 0 then
  19004. pTDefRegMap(@Self)^.clr := $00000002
  19005. else
  19006. pTDefRegMap(@Self)^.&set := $00000002;
  19007. end;
  19008. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  19009. begin
  19010. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19011. end;
  19012. procedure TCMP_CMSTAT.setSIDL; inline;
  19013. begin
  19014. pTDefRegMap(@Self)^.&set := $00002000;
  19015. end;
  19016. procedure TCMP_CMSTAT.clearSIDL; inline;
  19017. begin
  19018. pTDefRegMap(@Self)^.clr := $00002000;
  19019. end;
  19020. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  19021. begin
  19022. if thebits = 0 then
  19023. pTDefRegMap(@Self)^.clr := $00002000
  19024. else
  19025. pTDefRegMap(@Self)^.&set := $00002000;
  19026. end;
  19027. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  19028. begin
  19029. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19030. end;
  19031. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  19032. begin
  19033. pTDefRegMap(@Self)^.val := thebits;
  19034. end;
  19035. function TCMP_CMSTAT.getw : TBits_32; inline;
  19036. begin
  19037. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19038. end;
  19039. procedure TOSC_OSCCON.setOSWEN; inline;
  19040. begin
  19041. pTDefRegMap(@Self)^.&set := $00000001;
  19042. end;
  19043. procedure TOSC_OSCCON.clearOSWEN; inline;
  19044. begin
  19045. pTDefRegMap(@Self)^.clr := $00000001;
  19046. end;
  19047. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  19048. begin
  19049. if thebits = 0 then
  19050. pTDefRegMap(@Self)^.clr := $00000001
  19051. else
  19052. pTDefRegMap(@Self)^.&set := $00000001;
  19053. end;
  19054. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  19055. begin
  19056. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19057. end;
  19058. procedure TOSC_OSCCON.setSOSCEN; inline;
  19059. begin
  19060. pTDefRegMap(@Self)^.&set := $00000002;
  19061. end;
  19062. procedure TOSC_OSCCON.clearSOSCEN; inline;
  19063. begin
  19064. pTDefRegMap(@Self)^.clr := $00000002;
  19065. end;
  19066. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  19067. begin
  19068. if thebits = 0 then
  19069. pTDefRegMap(@Self)^.clr := $00000002
  19070. else
  19071. pTDefRegMap(@Self)^.&set := $00000002;
  19072. end;
  19073. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  19074. begin
  19075. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19076. end;
  19077. procedure TOSC_OSCCON.setUFRCEN; inline;
  19078. begin
  19079. pTDefRegMap(@Self)^.&set := $00000004;
  19080. end;
  19081. procedure TOSC_OSCCON.clearUFRCEN; inline;
  19082. begin
  19083. pTDefRegMap(@Self)^.clr := $00000004;
  19084. end;
  19085. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  19086. begin
  19087. if thebits = 0 then
  19088. pTDefRegMap(@Self)^.clr := $00000004
  19089. else
  19090. pTDefRegMap(@Self)^.&set := $00000004;
  19091. end;
  19092. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  19093. begin
  19094. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19095. end;
  19096. procedure TOSC_OSCCON.setCF; inline;
  19097. begin
  19098. pTDefRegMap(@Self)^.&set := $00000008;
  19099. end;
  19100. procedure TOSC_OSCCON.clearCF; inline;
  19101. begin
  19102. pTDefRegMap(@Self)^.clr := $00000008;
  19103. end;
  19104. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  19105. begin
  19106. if thebits = 0 then
  19107. pTDefRegMap(@Self)^.clr := $00000008
  19108. else
  19109. pTDefRegMap(@Self)^.&set := $00000008;
  19110. end;
  19111. function TOSC_OSCCON.getCF : TBits_1; inline;
  19112. begin
  19113. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19114. end;
  19115. procedure TOSC_OSCCON.setSLPEN; inline;
  19116. begin
  19117. pTDefRegMap(@Self)^.&set := $00000010;
  19118. end;
  19119. procedure TOSC_OSCCON.clearSLPEN; inline;
  19120. begin
  19121. pTDefRegMap(@Self)^.clr := $00000010;
  19122. end;
  19123. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  19124. begin
  19125. if thebits = 0 then
  19126. pTDefRegMap(@Self)^.clr := $00000010
  19127. else
  19128. pTDefRegMap(@Self)^.&set := $00000010;
  19129. end;
  19130. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  19131. begin
  19132. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19133. end;
  19134. procedure TOSC_OSCCON.setLOCK; inline;
  19135. begin
  19136. pTDefRegMap(@Self)^.&set := $00000020;
  19137. end;
  19138. procedure TOSC_OSCCON.clearLOCK; inline;
  19139. begin
  19140. pTDefRegMap(@Self)^.clr := $00000020;
  19141. end;
  19142. procedure TOSC_OSCCON.setLOCK(thebits : TBits_1); inline;
  19143. begin
  19144. if thebits = 0 then
  19145. pTDefRegMap(@Self)^.clr := $00000020
  19146. else
  19147. pTDefRegMap(@Self)^.&set := $00000020;
  19148. end;
  19149. function TOSC_OSCCON.getLOCK : TBits_1; inline;
  19150. begin
  19151. getLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19152. end;
  19153. procedure TOSC_OSCCON.setULOCK; inline;
  19154. begin
  19155. pTDefRegMap(@Self)^.&set := $00000040;
  19156. end;
  19157. procedure TOSC_OSCCON.clearULOCK; inline;
  19158. begin
  19159. pTDefRegMap(@Self)^.clr := $00000040;
  19160. end;
  19161. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  19162. begin
  19163. if thebits = 0 then
  19164. pTDefRegMap(@Self)^.clr := $00000040
  19165. else
  19166. pTDefRegMap(@Self)^.&set := $00000040;
  19167. end;
  19168. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  19169. begin
  19170. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19171. end;
  19172. procedure TOSC_OSCCON.setCLKLOCK; inline;
  19173. begin
  19174. pTDefRegMap(@Self)^.&set := $00000080;
  19175. end;
  19176. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  19177. begin
  19178. pTDefRegMap(@Self)^.clr := $00000080;
  19179. end;
  19180. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  19181. begin
  19182. if thebits = 0 then
  19183. pTDefRegMap(@Self)^.clr := $00000080
  19184. else
  19185. pTDefRegMap(@Self)^.&set := $00000080;
  19186. end;
  19187. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  19188. begin
  19189. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19190. end;
  19191. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  19192. begin
  19193. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  19194. end;
  19195. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  19196. begin
  19197. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  19198. end;
  19199. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  19200. begin
  19201. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  19202. end;
  19203. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  19204. begin
  19205. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  19206. end;
  19207. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  19208. begin
  19209. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  19210. end;
  19211. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  19212. begin
  19213. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  19214. end;
  19215. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  19216. begin
  19217. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  19218. end;
  19219. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  19220. begin
  19221. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  19222. end;
  19223. procedure TOSC_OSCCON.setSOSCRDY; inline;
  19224. begin
  19225. pTDefRegMap(@Self)^.&set := $00400000;
  19226. end;
  19227. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  19228. begin
  19229. pTDefRegMap(@Self)^.clr := $00400000;
  19230. end;
  19231. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  19232. begin
  19233. if thebits = 0 then
  19234. pTDefRegMap(@Self)^.clr := $00400000
  19235. else
  19236. pTDefRegMap(@Self)^.&set := $00400000;
  19237. end;
  19238. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  19239. begin
  19240. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  19241. end;
  19242. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  19243. begin
  19244. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  19245. end;
  19246. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  19247. begin
  19248. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  19249. end;
  19250. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  19251. begin
  19252. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  19253. end;
  19254. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  19255. begin
  19256. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  19257. end;
  19258. procedure TOSC_OSCCON.setNOSC0; inline;
  19259. begin
  19260. pTDefRegMap(@Self)^.&set := $00000100;
  19261. end;
  19262. procedure TOSC_OSCCON.clearNOSC0; inline;
  19263. begin
  19264. pTDefRegMap(@Self)^.clr := $00000100;
  19265. end;
  19266. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  19267. begin
  19268. if thebits = 0 then
  19269. pTDefRegMap(@Self)^.clr := $00000100
  19270. else
  19271. pTDefRegMap(@Self)^.&set := $00000100;
  19272. end;
  19273. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  19274. begin
  19275. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19276. end;
  19277. procedure TOSC_OSCCON.setNOSC1; inline;
  19278. begin
  19279. pTDefRegMap(@Self)^.&set := $00000200;
  19280. end;
  19281. procedure TOSC_OSCCON.clearNOSC1; inline;
  19282. begin
  19283. pTDefRegMap(@Self)^.clr := $00000200;
  19284. end;
  19285. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  19286. begin
  19287. if thebits = 0 then
  19288. pTDefRegMap(@Self)^.clr := $00000200
  19289. else
  19290. pTDefRegMap(@Self)^.&set := $00000200;
  19291. end;
  19292. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  19293. begin
  19294. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19295. end;
  19296. procedure TOSC_OSCCON.setNOSC2; inline;
  19297. begin
  19298. pTDefRegMap(@Self)^.&set := $00000400;
  19299. end;
  19300. procedure TOSC_OSCCON.clearNOSC2; inline;
  19301. begin
  19302. pTDefRegMap(@Self)^.clr := $00000400;
  19303. end;
  19304. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  19305. begin
  19306. if thebits = 0 then
  19307. pTDefRegMap(@Self)^.clr := $00000400
  19308. else
  19309. pTDefRegMap(@Self)^.&set := $00000400;
  19310. end;
  19311. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  19312. begin
  19313. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19314. end;
  19315. procedure TOSC_OSCCON.setCOSC0; inline;
  19316. begin
  19317. pTDefRegMap(@Self)^.&set := $00001000;
  19318. end;
  19319. procedure TOSC_OSCCON.clearCOSC0; inline;
  19320. begin
  19321. pTDefRegMap(@Self)^.clr := $00001000;
  19322. end;
  19323. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  19324. begin
  19325. if thebits = 0 then
  19326. pTDefRegMap(@Self)^.clr := $00001000
  19327. else
  19328. pTDefRegMap(@Self)^.&set := $00001000;
  19329. end;
  19330. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  19331. begin
  19332. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19333. end;
  19334. procedure TOSC_OSCCON.setCOSC1; inline;
  19335. begin
  19336. pTDefRegMap(@Self)^.&set := $00002000;
  19337. end;
  19338. procedure TOSC_OSCCON.clearCOSC1; inline;
  19339. begin
  19340. pTDefRegMap(@Self)^.clr := $00002000;
  19341. end;
  19342. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  19343. begin
  19344. if thebits = 0 then
  19345. pTDefRegMap(@Self)^.clr := $00002000
  19346. else
  19347. pTDefRegMap(@Self)^.&set := $00002000;
  19348. end;
  19349. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  19350. begin
  19351. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19352. end;
  19353. procedure TOSC_OSCCON.setCOSC2; inline;
  19354. begin
  19355. pTDefRegMap(@Self)^.&set := $00004000;
  19356. end;
  19357. procedure TOSC_OSCCON.clearCOSC2; inline;
  19358. begin
  19359. pTDefRegMap(@Self)^.clr := $00004000;
  19360. end;
  19361. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  19362. begin
  19363. if thebits = 0 then
  19364. pTDefRegMap(@Self)^.clr := $00004000
  19365. else
  19366. pTDefRegMap(@Self)^.&set := $00004000;
  19367. end;
  19368. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  19369. begin
  19370. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19371. end;
  19372. procedure TOSC_OSCCON.setPLLMULT0; inline;
  19373. begin
  19374. pTDefRegMap(@Self)^.&set := $00010000;
  19375. end;
  19376. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  19377. begin
  19378. pTDefRegMap(@Self)^.clr := $00010000;
  19379. end;
  19380. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  19381. begin
  19382. if thebits = 0 then
  19383. pTDefRegMap(@Self)^.clr := $00010000
  19384. else
  19385. pTDefRegMap(@Self)^.&set := $00010000;
  19386. end;
  19387. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  19388. begin
  19389. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  19390. end;
  19391. procedure TOSC_OSCCON.setPLLMULT1; inline;
  19392. begin
  19393. pTDefRegMap(@Self)^.&set := $00020000;
  19394. end;
  19395. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  19396. begin
  19397. pTDefRegMap(@Self)^.clr := $00020000;
  19398. end;
  19399. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  19400. begin
  19401. if thebits = 0 then
  19402. pTDefRegMap(@Self)^.clr := $00020000
  19403. else
  19404. pTDefRegMap(@Self)^.&set := $00020000;
  19405. end;
  19406. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  19407. begin
  19408. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  19409. end;
  19410. procedure TOSC_OSCCON.setPLLMULT2; inline;
  19411. begin
  19412. pTDefRegMap(@Self)^.&set := $00040000;
  19413. end;
  19414. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  19415. begin
  19416. pTDefRegMap(@Self)^.clr := $00040000;
  19417. end;
  19418. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  19419. begin
  19420. if thebits = 0 then
  19421. pTDefRegMap(@Self)^.clr := $00040000
  19422. else
  19423. pTDefRegMap(@Self)^.&set := $00040000;
  19424. end;
  19425. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  19426. begin
  19427. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  19428. end;
  19429. procedure TOSC_OSCCON.setPBDIV0; inline;
  19430. begin
  19431. pTDefRegMap(@Self)^.&set := $00080000;
  19432. end;
  19433. procedure TOSC_OSCCON.clearPBDIV0; inline;
  19434. begin
  19435. pTDefRegMap(@Self)^.clr := $00080000;
  19436. end;
  19437. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  19438. begin
  19439. if thebits = 0 then
  19440. pTDefRegMap(@Self)^.clr := $00080000
  19441. else
  19442. pTDefRegMap(@Self)^.&set := $00080000;
  19443. end;
  19444. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  19445. begin
  19446. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  19447. end;
  19448. procedure TOSC_OSCCON.setPBDIV1; inline;
  19449. begin
  19450. pTDefRegMap(@Self)^.&set := $00100000;
  19451. end;
  19452. procedure TOSC_OSCCON.clearPBDIV1; inline;
  19453. begin
  19454. pTDefRegMap(@Self)^.clr := $00100000;
  19455. end;
  19456. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  19457. begin
  19458. if thebits = 0 then
  19459. pTDefRegMap(@Self)^.clr := $00100000
  19460. else
  19461. pTDefRegMap(@Self)^.&set := $00100000;
  19462. end;
  19463. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  19464. begin
  19465. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  19466. end;
  19467. procedure TOSC_OSCCON.setFRCDIV0; inline;
  19468. begin
  19469. pTDefRegMap(@Self)^.&set := $01000000;
  19470. end;
  19471. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  19472. begin
  19473. pTDefRegMap(@Self)^.clr := $01000000;
  19474. end;
  19475. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  19476. begin
  19477. if thebits = 0 then
  19478. pTDefRegMap(@Self)^.clr := $01000000
  19479. else
  19480. pTDefRegMap(@Self)^.&set := $01000000;
  19481. end;
  19482. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  19483. begin
  19484. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19485. end;
  19486. procedure TOSC_OSCCON.setFRCDIV1; inline;
  19487. begin
  19488. pTDefRegMap(@Self)^.&set := $02000000;
  19489. end;
  19490. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  19491. begin
  19492. pTDefRegMap(@Self)^.clr := $02000000;
  19493. end;
  19494. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  19495. begin
  19496. if thebits = 0 then
  19497. pTDefRegMap(@Self)^.clr := $02000000
  19498. else
  19499. pTDefRegMap(@Self)^.&set := $02000000;
  19500. end;
  19501. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  19502. begin
  19503. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  19504. end;
  19505. procedure TOSC_OSCCON.setFRCDIV2; inline;
  19506. begin
  19507. pTDefRegMap(@Self)^.&set := $04000000;
  19508. end;
  19509. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  19510. begin
  19511. pTDefRegMap(@Self)^.clr := $04000000;
  19512. end;
  19513. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  19514. begin
  19515. if thebits = 0 then
  19516. pTDefRegMap(@Self)^.clr := $04000000
  19517. else
  19518. pTDefRegMap(@Self)^.&set := $04000000;
  19519. end;
  19520. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  19521. begin
  19522. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  19523. end;
  19524. procedure TOSC_OSCCON.setPLLODIV0; inline;
  19525. begin
  19526. pTDefRegMap(@Self)^.&set := $08000000;
  19527. end;
  19528. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  19529. begin
  19530. pTDefRegMap(@Self)^.clr := $08000000;
  19531. end;
  19532. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  19533. begin
  19534. if thebits = 0 then
  19535. pTDefRegMap(@Self)^.clr := $08000000
  19536. else
  19537. pTDefRegMap(@Self)^.&set := $08000000;
  19538. end;
  19539. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  19540. begin
  19541. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  19542. end;
  19543. procedure TOSC_OSCCON.setPLLODIV1; inline;
  19544. begin
  19545. pTDefRegMap(@Self)^.&set := $10000000;
  19546. end;
  19547. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  19548. begin
  19549. pTDefRegMap(@Self)^.clr := $10000000;
  19550. end;
  19551. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  19552. begin
  19553. if thebits = 0 then
  19554. pTDefRegMap(@Self)^.clr := $10000000
  19555. else
  19556. pTDefRegMap(@Self)^.&set := $10000000;
  19557. end;
  19558. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  19559. begin
  19560. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  19561. end;
  19562. procedure TOSC_OSCCON.setPLLODIV2; inline;
  19563. begin
  19564. pTDefRegMap(@Self)^.&set := $20000000;
  19565. end;
  19566. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  19567. begin
  19568. pTDefRegMap(@Self)^.clr := $20000000;
  19569. end;
  19570. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  19571. begin
  19572. if thebits = 0 then
  19573. pTDefRegMap(@Self)^.clr := $20000000
  19574. else
  19575. pTDefRegMap(@Self)^.&set := $20000000;
  19576. end;
  19577. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  19578. begin
  19579. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  19580. end;
  19581. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  19582. begin
  19583. pTDefRegMap(@Self)^.val := thebits;
  19584. end;
  19585. function TOSC_OSCCON.getw : TBits_32; inline;
  19586. begin
  19587. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19588. end;
  19589. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  19590. begin
  19591. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  19592. end;
  19593. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  19594. begin
  19595. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  19596. end;
  19597. procedure TOSC_OSCTUN.setTUN0; inline;
  19598. begin
  19599. pTDefRegMap(@Self)^.&set := $00000001;
  19600. end;
  19601. procedure TOSC_OSCTUN.clearTUN0; inline;
  19602. begin
  19603. pTDefRegMap(@Self)^.clr := $00000001;
  19604. end;
  19605. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  19606. begin
  19607. if thebits = 0 then
  19608. pTDefRegMap(@Self)^.clr := $00000001
  19609. else
  19610. pTDefRegMap(@Self)^.&set := $00000001;
  19611. end;
  19612. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  19613. begin
  19614. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19615. end;
  19616. procedure TOSC_OSCTUN.setTUN1; inline;
  19617. begin
  19618. pTDefRegMap(@Self)^.&set := $00000002;
  19619. end;
  19620. procedure TOSC_OSCTUN.clearTUN1; inline;
  19621. begin
  19622. pTDefRegMap(@Self)^.clr := $00000002;
  19623. end;
  19624. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  19625. begin
  19626. if thebits = 0 then
  19627. pTDefRegMap(@Self)^.clr := $00000002
  19628. else
  19629. pTDefRegMap(@Self)^.&set := $00000002;
  19630. end;
  19631. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  19632. begin
  19633. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19634. end;
  19635. procedure TOSC_OSCTUN.setTUN2; inline;
  19636. begin
  19637. pTDefRegMap(@Self)^.&set := $00000004;
  19638. end;
  19639. procedure TOSC_OSCTUN.clearTUN2; inline;
  19640. begin
  19641. pTDefRegMap(@Self)^.clr := $00000004;
  19642. end;
  19643. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  19644. begin
  19645. if thebits = 0 then
  19646. pTDefRegMap(@Self)^.clr := $00000004
  19647. else
  19648. pTDefRegMap(@Self)^.&set := $00000004;
  19649. end;
  19650. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  19651. begin
  19652. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19653. end;
  19654. procedure TOSC_OSCTUN.setTUN3; inline;
  19655. begin
  19656. pTDefRegMap(@Self)^.&set := $00000008;
  19657. end;
  19658. procedure TOSC_OSCTUN.clearTUN3; inline;
  19659. begin
  19660. pTDefRegMap(@Self)^.clr := $00000008;
  19661. end;
  19662. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  19663. begin
  19664. if thebits = 0 then
  19665. pTDefRegMap(@Self)^.clr := $00000008
  19666. else
  19667. pTDefRegMap(@Self)^.&set := $00000008;
  19668. end;
  19669. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  19670. begin
  19671. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19672. end;
  19673. procedure TOSC_OSCTUN.setTUN4; inline;
  19674. begin
  19675. pTDefRegMap(@Self)^.&set := $00000010;
  19676. end;
  19677. procedure TOSC_OSCTUN.clearTUN4; inline;
  19678. begin
  19679. pTDefRegMap(@Self)^.clr := $00000010;
  19680. end;
  19681. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  19682. begin
  19683. if thebits = 0 then
  19684. pTDefRegMap(@Self)^.clr := $00000010
  19685. else
  19686. pTDefRegMap(@Self)^.&set := $00000010;
  19687. end;
  19688. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  19689. begin
  19690. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19691. end;
  19692. procedure TOSC_OSCTUN.setTUN5; inline;
  19693. begin
  19694. pTDefRegMap(@Self)^.&set := $00000020;
  19695. end;
  19696. procedure TOSC_OSCTUN.clearTUN5; inline;
  19697. begin
  19698. pTDefRegMap(@Self)^.clr := $00000020;
  19699. end;
  19700. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  19701. begin
  19702. if thebits = 0 then
  19703. pTDefRegMap(@Self)^.clr := $00000020
  19704. else
  19705. pTDefRegMap(@Self)^.&set := $00000020;
  19706. end;
  19707. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  19708. begin
  19709. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19710. end;
  19711. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  19712. begin
  19713. pTDefRegMap(@Self)^.val := thebits;
  19714. end;
  19715. function TOSC_OSCTUN.getw : TBits_32; inline;
  19716. begin
  19717. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19718. end;
  19719. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  19720. begin
  19721. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  19722. end;
  19723. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  19724. begin
  19725. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  19726. end;
  19727. procedure TNVM_NVMCON.setLVDSTAT; inline;
  19728. begin
  19729. pTDefRegMap(@Self)^.&set := $00000800;
  19730. end;
  19731. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  19732. begin
  19733. pTDefRegMap(@Self)^.clr := $00000800;
  19734. end;
  19735. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  19736. begin
  19737. if thebits = 0 then
  19738. pTDefRegMap(@Self)^.clr := $00000800
  19739. else
  19740. pTDefRegMap(@Self)^.&set := $00000800;
  19741. end;
  19742. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  19743. begin
  19744. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19745. end;
  19746. procedure TNVM_NVMCON.setLVDERR; inline;
  19747. begin
  19748. pTDefRegMap(@Self)^.&set := $00001000;
  19749. end;
  19750. procedure TNVM_NVMCON.clearLVDERR; inline;
  19751. begin
  19752. pTDefRegMap(@Self)^.clr := $00001000;
  19753. end;
  19754. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  19755. begin
  19756. if thebits = 0 then
  19757. pTDefRegMap(@Self)^.clr := $00001000
  19758. else
  19759. pTDefRegMap(@Self)^.&set := $00001000;
  19760. end;
  19761. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  19762. begin
  19763. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19764. end;
  19765. procedure TNVM_NVMCON.setWRERR; inline;
  19766. begin
  19767. pTDefRegMap(@Self)^.&set := $00002000;
  19768. end;
  19769. procedure TNVM_NVMCON.clearWRERR; inline;
  19770. begin
  19771. pTDefRegMap(@Self)^.clr := $00002000;
  19772. end;
  19773. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  19774. begin
  19775. if thebits = 0 then
  19776. pTDefRegMap(@Self)^.clr := $00002000
  19777. else
  19778. pTDefRegMap(@Self)^.&set := $00002000;
  19779. end;
  19780. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  19781. begin
  19782. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19783. end;
  19784. procedure TNVM_NVMCON.setWREN; inline;
  19785. begin
  19786. pTDefRegMap(@Self)^.&set := $00004000;
  19787. end;
  19788. procedure TNVM_NVMCON.clearWREN; inline;
  19789. begin
  19790. pTDefRegMap(@Self)^.clr := $00004000;
  19791. end;
  19792. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  19793. begin
  19794. if thebits = 0 then
  19795. pTDefRegMap(@Self)^.clr := $00004000
  19796. else
  19797. pTDefRegMap(@Self)^.&set := $00004000;
  19798. end;
  19799. function TNVM_NVMCON.getWREN : TBits_1; inline;
  19800. begin
  19801. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19802. end;
  19803. procedure TNVM_NVMCON.setWR; inline;
  19804. begin
  19805. pTDefRegMap(@Self)^.&set := $00008000;
  19806. end;
  19807. procedure TNVM_NVMCON.clearWR; inline;
  19808. begin
  19809. pTDefRegMap(@Self)^.clr := $00008000;
  19810. end;
  19811. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  19812. begin
  19813. if thebits = 0 then
  19814. pTDefRegMap(@Self)^.clr := $00008000
  19815. else
  19816. pTDefRegMap(@Self)^.&set := $00008000;
  19817. end;
  19818. function TNVM_NVMCON.getWR : TBits_1; inline;
  19819. begin
  19820. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19821. end;
  19822. procedure TNVM_NVMCON.setNVMOP0; inline;
  19823. begin
  19824. pTDefRegMap(@Self)^.&set := $00000001;
  19825. end;
  19826. procedure TNVM_NVMCON.clearNVMOP0; inline;
  19827. begin
  19828. pTDefRegMap(@Self)^.clr := $00000001;
  19829. end;
  19830. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  19831. begin
  19832. if thebits = 0 then
  19833. pTDefRegMap(@Self)^.clr := $00000001
  19834. else
  19835. pTDefRegMap(@Self)^.&set := $00000001;
  19836. end;
  19837. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  19838. begin
  19839. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19840. end;
  19841. procedure TNVM_NVMCON.setNVMOP1; inline;
  19842. begin
  19843. pTDefRegMap(@Self)^.&set := $00000002;
  19844. end;
  19845. procedure TNVM_NVMCON.clearNVMOP1; inline;
  19846. begin
  19847. pTDefRegMap(@Self)^.clr := $00000002;
  19848. end;
  19849. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  19850. begin
  19851. if thebits = 0 then
  19852. pTDefRegMap(@Self)^.clr := $00000002
  19853. else
  19854. pTDefRegMap(@Self)^.&set := $00000002;
  19855. end;
  19856. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  19857. begin
  19858. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19859. end;
  19860. procedure TNVM_NVMCON.setNVMOP2; inline;
  19861. begin
  19862. pTDefRegMap(@Self)^.&set := $00000004;
  19863. end;
  19864. procedure TNVM_NVMCON.clearNVMOP2; inline;
  19865. begin
  19866. pTDefRegMap(@Self)^.clr := $00000004;
  19867. end;
  19868. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  19869. begin
  19870. if thebits = 0 then
  19871. pTDefRegMap(@Self)^.clr := $00000004
  19872. else
  19873. pTDefRegMap(@Self)^.&set := $00000004;
  19874. end;
  19875. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  19876. begin
  19877. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19878. end;
  19879. procedure TNVM_NVMCON.setNVMOP3; inline;
  19880. begin
  19881. pTDefRegMap(@Self)^.&set := $00000008;
  19882. end;
  19883. procedure TNVM_NVMCON.clearNVMOP3; inline;
  19884. begin
  19885. pTDefRegMap(@Self)^.clr := $00000008;
  19886. end;
  19887. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  19888. begin
  19889. if thebits = 0 then
  19890. pTDefRegMap(@Self)^.clr := $00000008
  19891. else
  19892. pTDefRegMap(@Self)^.&set := $00000008;
  19893. end;
  19894. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  19895. begin
  19896. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19897. end;
  19898. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  19899. begin
  19900. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  19901. end;
  19902. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  19903. begin
  19904. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  19905. end;
  19906. procedure TNVM_NVMCON.setPROGOP0; inline;
  19907. begin
  19908. pTDefRegMap(@Self)^.&set := $00000001;
  19909. end;
  19910. procedure TNVM_NVMCON.clearPROGOP0; inline;
  19911. begin
  19912. pTDefRegMap(@Self)^.clr := $00000001;
  19913. end;
  19914. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  19915. begin
  19916. if thebits = 0 then
  19917. pTDefRegMap(@Self)^.clr := $00000001
  19918. else
  19919. pTDefRegMap(@Self)^.&set := $00000001;
  19920. end;
  19921. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  19922. begin
  19923. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19924. end;
  19925. procedure TNVM_NVMCON.setPROGOP1; inline;
  19926. begin
  19927. pTDefRegMap(@Self)^.&set := $00000002;
  19928. end;
  19929. procedure TNVM_NVMCON.clearPROGOP1; inline;
  19930. begin
  19931. pTDefRegMap(@Self)^.clr := $00000002;
  19932. end;
  19933. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  19934. begin
  19935. if thebits = 0 then
  19936. pTDefRegMap(@Self)^.clr := $00000002
  19937. else
  19938. pTDefRegMap(@Self)^.&set := $00000002;
  19939. end;
  19940. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  19941. begin
  19942. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19943. end;
  19944. procedure TNVM_NVMCON.setPROGOP2; inline;
  19945. begin
  19946. pTDefRegMap(@Self)^.&set := $00000004;
  19947. end;
  19948. procedure TNVM_NVMCON.clearPROGOP2; inline;
  19949. begin
  19950. pTDefRegMap(@Self)^.clr := $00000004;
  19951. end;
  19952. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  19953. begin
  19954. if thebits = 0 then
  19955. pTDefRegMap(@Self)^.clr := $00000004
  19956. else
  19957. pTDefRegMap(@Self)^.&set := $00000004;
  19958. end;
  19959. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  19960. begin
  19961. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19962. end;
  19963. procedure TNVM_NVMCON.setPROGOP3; inline;
  19964. begin
  19965. pTDefRegMap(@Self)^.&set := $00000008;
  19966. end;
  19967. procedure TNVM_NVMCON.clearPROGOP3; inline;
  19968. begin
  19969. pTDefRegMap(@Self)^.clr := $00000008;
  19970. end;
  19971. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  19972. begin
  19973. if thebits = 0 then
  19974. pTDefRegMap(@Self)^.clr := $00000008
  19975. else
  19976. pTDefRegMap(@Self)^.&set := $00000008;
  19977. end;
  19978. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  19979. begin
  19980. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19981. end;
  19982. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  19983. begin
  19984. pTDefRegMap(@Self)^.val := thebits;
  19985. end;
  19986. function TNVM_NVMCON.getw : TBits_32; inline;
  19987. begin
  19988. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19989. end;
  19990. procedure TRCON_RCON.setPOR; inline;
  19991. begin
  19992. pTDefRegMap(@Self)^.&set := $00000001;
  19993. end;
  19994. procedure TRCON_RCON.clearPOR; inline;
  19995. begin
  19996. pTDefRegMap(@Self)^.clr := $00000001;
  19997. end;
  19998. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  19999. begin
  20000. if thebits = 0 then
  20001. pTDefRegMap(@Self)^.clr := $00000001
  20002. else
  20003. pTDefRegMap(@Self)^.&set := $00000001;
  20004. end;
  20005. function TRCON_RCON.getPOR : TBits_1; inline;
  20006. begin
  20007. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20008. end;
  20009. procedure TRCON_RCON.setBOR; inline;
  20010. begin
  20011. pTDefRegMap(@Self)^.&set := $00000002;
  20012. end;
  20013. procedure TRCON_RCON.clearBOR; inline;
  20014. begin
  20015. pTDefRegMap(@Self)^.clr := $00000002;
  20016. end;
  20017. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  20018. begin
  20019. if thebits = 0 then
  20020. pTDefRegMap(@Self)^.clr := $00000002
  20021. else
  20022. pTDefRegMap(@Self)^.&set := $00000002;
  20023. end;
  20024. function TRCON_RCON.getBOR : TBits_1; inline;
  20025. begin
  20026. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20027. end;
  20028. procedure TRCON_RCON.setIDLE; inline;
  20029. begin
  20030. pTDefRegMap(@Self)^.&set := $00000004;
  20031. end;
  20032. procedure TRCON_RCON.clearIDLE; inline;
  20033. begin
  20034. pTDefRegMap(@Self)^.clr := $00000004;
  20035. end;
  20036. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  20037. begin
  20038. if thebits = 0 then
  20039. pTDefRegMap(@Self)^.clr := $00000004
  20040. else
  20041. pTDefRegMap(@Self)^.&set := $00000004;
  20042. end;
  20043. function TRCON_RCON.getIDLE : TBits_1; inline;
  20044. begin
  20045. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20046. end;
  20047. procedure TRCON_RCON.setSLEEP; inline;
  20048. begin
  20049. pTDefRegMap(@Self)^.&set := $00000008;
  20050. end;
  20051. procedure TRCON_RCON.clearSLEEP; inline;
  20052. begin
  20053. pTDefRegMap(@Self)^.clr := $00000008;
  20054. end;
  20055. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  20056. begin
  20057. if thebits = 0 then
  20058. pTDefRegMap(@Self)^.clr := $00000008
  20059. else
  20060. pTDefRegMap(@Self)^.&set := $00000008;
  20061. end;
  20062. function TRCON_RCON.getSLEEP : TBits_1; inline;
  20063. begin
  20064. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20065. end;
  20066. procedure TRCON_RCON.setWDTO; inline;
  20067. begin
  20068. pTDefRegMap(@Self)^.&set := $00000010;
  20069. end;
  20070. procedure TRCON_RCON.clearWDTO; inline;
  20071. begin
  20072. pTDefRegMap(@Self)^.clr := $00000010;
  20073. end;
  20074. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  20075. begin
  20076. if thebits = 0 then
  20077. pTDefRegMap(@Self)^.clr := $00000010
  20078. else
  20079. pTDefRegMap(@Self)^.&set := $00000010;
  20080. end;
  20081. function TRCON_RCON.getWDTO : TBits_1; inline;
  20082. begin
  20083. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20084. end;
  20085. procedure TRCON_RCON.setSWR; inline;
  20086. begin
  20087. pTDefRegMap(@Self)^.&set := $00000040;
  20088. end;
  20089. procedure TRCON_RCON.clearSWR; inline;
  20090. begin
  20091. pTDefRegMap(@Self)^.clr := $00000040;
  20092. end;
  20093. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  20094. begin
  20095. if thebits = 0 then
  20096. pTDefRegMap(@Self)^.clr := $00000040
  20097. else
  20098. pTDefRegMap(@Self)^.&set := $00000040;
  20099. end;
  20100. function TRCON_RCON.getSWR : TBits_1; inline;
  20101. begin
  20102. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20103. end;
  20104. procedure TRCON_RCON.setEXTR; inline;
  20105. begin
  20106. pTDefRegMap(@Self)^.&set := $00000080;
  20107. end;
  20108. procedure TRCON_RCON.clearEXTR; inline;
  20109. begin
  20110. pTDefRegMap(@Self)^.clr := $00000080;
  20111. end;
  20112. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  20113. begin
  20114. if thebits = 0 then
  20115. pTDefRegMap(@Self)^.clr := $00000080
  20116. else
  20117. pTDefRegMap(@Self)^.&set := $00000080;
  20118. end;
  20119. function TRCON_RCON.getEXTR : TBits_1; inline;
  20120. begin
  20121. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20122. end;
  20123. procedure TRCON_RCON.setVREGS; inline;
  20124. begin
  20125. pTDefRegMap(@Self)^.&set := $00000100;
  20126. end;
  20127. procedure TRCON_RCON.clearVREGS; inline;
  20128. begin
  20129. pTDefRegMap(@Self)^.clr := $00000100;
  20130. end;
  20131. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  20132. begin
  20133. if thebits = 0 then
  20134. pTDefRegMap(@Self)^.clr := $00000100
  20135. else
  20136. pTDefRegMap(@Self)^.&set := $00000100;
  20137. end;
  20138. function TRCON_RCON.getVREGS : TBits_1; inline;
  20139. begin
  20140. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20141. end;
  20142. procedure TRCON_RCON.setCMR; inline;
  20143. begin
  20144. pTDefRegMap(@Self)^.&set := $00000200;
  20145. end;
  20146. procedure TRCON_RCON.clearCMR; inline;
  20147. begin
  20148. pTDefRegMap(@Self)^.clr := $00000200;
  20149. end;
  20150. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  20151. begin
  20152. if thebits = 0 then
  20153. pTDefRegMap(@Self)^.clr := $00000200
  20154. else
  20155. pTDefRegMap(@Self)^.&set := $00000200;
  20156. end;
  20157. function TRCON_RCON.getCMR : TBits_1; inline;
  20158. begin
  20159. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20160. end;
  20161. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  20162. begin
  20163. pTDefRegMap(@Self)^.val := thebits;
  20164. end;
  20165. function TRCON_RCON.getw : TBits_32; inline;
  20166. begin
  20167. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20168. end;
  20169. procedure TRCON_RSWRST.setSWRST; inline;
  20170. begin
  20171. pTDefRegMap(@Self)^.&set := $00000001;
  20172. end;
  20173. procedure TRCON_RSWRST.clearSWRST; inline;
  20174. begin
  20175. pTDefRegMap(@Self)^.clr := $00000001;
  20176. end;
  20177. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  20178. begin
  20179. if thebits = 0 then
  20180. pTDefRegMap(@Self)^.clr := $00000001
  20181. else
  20182. pTDefRegMap(@Self)^.&set := $00000001;
  20183. end;
  20184. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  20185. begin
  20186. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20187. end;
  20188. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  20189. begin
  20190. pTDefRegMap(@Self)^.val := thebits;
  20191. end;
  20192. function TRCON_RSWRST.getw : TBits_32; inline;
  20193. begin
  20194. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20195. end;
  20196. procedure TINT_INTSTAT.setVEC(thebits : TBits_6); inline;
  20197. begin
  20198. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  20199. end;
  20200. function TINT_INTSTAT.getVEC : TBits_6; inline;
  20201. begin
  20202. getVEC := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  20203. end;
  20204. procedure TINT_INTSTAT.setRIPL(thebits : TBits_3); inline;
  20205. begin
  20206. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  20207. end;
  20208. function TINT_INTSTAT.getRIPL : TBits_3; inline;
  20209. begin
  20210. getRIPL := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  20211. end;
  20212. procedure TINT_INTSTAT.setSRIPL(thebits : TBits_3); inline;
  20213. begin
  20214. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  20215. end;
  20216. function TINT_INTSTAT.getSRIPL : TBits_3; inline;
  20217. begin
  20218. getSRIPL := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  20219. end;
  20220. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  20221. begin
  20222. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  20223. end;
  20224. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  20225. begin
  20226. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  20227. end;
  20228. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  20229. begin
  20230. pTDefRegMap(@Self)^.&set := $00000040;
  20231. end;
  20232. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  20233. begin
  20234. pTDefRegMap(@Self)^.clr := $00000040;
  20235. end;
  20236. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  20237. begin
  20238. if thebits = 0 then
  20239. pTDefRegMap(@Self)^.clr := $00000040
  20240. else
  20241. pTDefRegMap(@Self)^.&set := $00000040;
  20242. end;
  20243. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  20244. begin
  20245. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20246. end;
  20247. procedure TBMX_BMXCON.setBMXERRIS; inline;
  20248. begin
  20249. pTDefRegMap(@Self)^.&set := $00010000;
  20250. end;
  20251. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  20252. begin
  20253. pTDefRegMap(@Self)^.clr := $00010000;
  20254. end;
  20255. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  20256. begin
  20257. if thebits = 0 then
  20258. pTDefRegMap(@Self)^.clr := $00010000
  20259. else
  20260. pTDefRegMap(@Self)^.&set := $00010000;
  20261. end;
  20262. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  20263. begin
  20264. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  20265. end;
  20266. procedure TBMX_BMXCON.setBMXERRDS; inline;
  20267. begin
  20268. pTDefRegMap(@Self)^.&set := $00020000;
  20269. end;
  20270. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  20271. begin
  20272. pTDefRegMap(@Self)^.clr := $00020000;
  20273. end;
  20274. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  20275. begin
  20276. if thebits = 0 then
  20277. pTDefRegMap(@Self)^.clr := $00020000
  20278. else
  20279. pTDefRegMap(@Self)^.&set := $00020000;
  20280. end;
  20281. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  20282. begin
  20283. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  20284. end;
  20285. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  20286. begin
  20287. pTDefRegMap(@Self)^.&set := $00040000;
  20288. end;
  20289. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  20290. begin
  20291. pTDefRegMap(@Self)^.clr := $00040000;
  20292. end;
  20293. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  20294. begin
  20295. if thebits = 0 then
  20296. pTDefRegMap(@Self)^.clr := $00040000
  20297. else
  20298. pTDefRegMap(@Self)^.&set := $00040000;
  20299. end;
  20300. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  20301. begin
  20302. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  20303. end;
  20304. procedure TBMX_BMXCON.setBMXERRICD; inline;
  20305. begin
  20306. pTDefRegMap(@Self)^.&set := $00080000;
  20307. end;
  20308. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  20309. begin
  20310. pTDefRegMap(@Self)^.clr := $00080000;
  20311. end;
  20312. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  20313. begin
  20314. if thebits = 0 then
  20315. pTDefRegMap(@Self)^.clr := $00080000
  20316. else
  20317. pTDefRegMap(@Self)^.&set := $00080000;
  20318. end;
  20319. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  20320. begin
  20321. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  20322. end;
  20323. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  20324. begin
  20325. pTDefRegMap(@Self)^.&set := $00100000;
  20326. end;
  20327. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  20328. begin
  20329. pTDefRegMap(@Self)^.clr := $00100000;
  20330. end;
  20331. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  20332. begin
  20333. if thebits = 0 then
  20334. pTDefRegMap(@Self)^.clr := $00100000
  20335. else
  20336. pTDefRegMap(@Self)^.&set := $00100000;
  20337. end;
  20338. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  20339. begin
  20340. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  20341. end;
  20342. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  20343. begin
  20344. pTDefRegMap(@Self)^.&set := $04000000;
  20345. end;
  20346. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  20347. begin
  20348. pTDefRegMap(@Self)^.clr := $04000000;
  20349. end;
  20350. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  20351. begin
  20352. if thebits = 0 then
  20353. pTDefRegMap(@Self)^.clr := $04000000
  20354. else
  20355. pTDefRegMap(@Self)^.&set := $04000000;
  20356. end;
  20357. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  20358. begin
  20359. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  20360. end;
  20361. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  20362. begin
  20363. pTDefRegMap(@Self)^.val := thebits;
  20364. end;
  20365. function TBMX_BMXCON.getw : TBits_32; inline;
  20366. begin
  20367. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20368. end;
  20369. procedure TDMAC_DMACON.setSUSPEND; inline;
  20370. begin
  20371. pTDefRegMap(@Self)^.&set := $00001000;
  20372. end;
  20373. procedure TDMAC_DMACON.clearSUSPEND; inline;
  20374. begin
  20375. pTDefRegMap(@Self)^.clr := $00001000;
  20376. end;
  20377. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  20378. begin
  20379. if thebits = 0 then
  20380. pTDefRegMap(@Self)^.clr := $00001000
  20381. else
  20382. pTDefRegMap(@Self)^.&set := $00001000;
  20383. end;
  20384. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  20385. begin
  20386. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20387. end;
  20388. procedure TDMAC_DMACON.setSIDL; inline;
  20389. begin
  20390. pTDefRegMap(@Self)^.&set := $00002000;
  20391. end;
  20392. procedure TDMAC_DMACON.clearSIDL; inline;
  20393. begin
  20394. pTDefRegMap(@Self)^.clr := $00002000;
  20395. end;
  20396. procedure TDMAC_DMACON.setSIDL(thebits : TBits_1); inline;
  20397. begin
  20398. if thebits = 0 then
  20399. pTDefRegMap(@Self)^.clr := $00002000
  20400. else
  20401. pTDefRegMap(@Self)^.&set := $00002000;
  20402. end;
  20403. function TDMAC_DMACON.getSIDL : TBits_1; inline;
  20404. begin
  20405. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20406. end;
  20407. procedure TDMAC_DMACON.setON; inline;
  20408. begin
  20409. pTDefRegMap(@Self)^.&set := $00008000;
  20410. end;
  20411. procedure TDMAC_DMACON.clearON; inline;
  20412. begin
  20413. pTDefRegMap(@Self)^.clr := $00008000;
  20414. end;
  20415. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  20416. begin
  20417. if thebits = 0 then
  20418. pTDefRegMap(@Self)^.clr := $00008000
  20419. else
  20420. pTDefRegMap(@Self)^.&set := $00008000;
  20421. end;
  20422. function TDMAC_DMACON.getON : TBits_1; inline;
  20423. begin
  20424. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20425. end;
  20426. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  20427. begin
  20428. pTDefRegMap(@Self)^.val := thebits;
  20429. end;
  20430. function TDMAC_DMACON.getw : TBits_32; inline;
  20431. begin
  20432. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20433. end;
  20434. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_2); inline;
  20435. begin
  20436. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  20437. end;
  20438. function TDMAC_DMASTAT.getDMACH : TBits_2; inline;
  20439. begin
  20440. getDMACH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  20441. end;
  20442. procedure TDMAC_DMASTAT.setRDWR; inline;
  20443. begin
  20444. pTDefRegMap(@Self)^.&set := $00000008;
  20445. end;
  20446. procedure TDMAC_DMASTAT.clearRDWR; inline;
  20447. begin
  20448. pTDefRegMap(@Self)^.clr := $00000008;
  20449. end;
  20450. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  20451. begin
  20452. if thebits = 0 then
  20453. pTDefRegMap(@Self)^.clr := $00000008
  20454. else
  20455. pTDefRegMap(@Self)^.&set := $00000008;
  20456. end;
  20457. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  20458. begin
  20459. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20460. end;
  20461. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  20462. begin
  20463. pTDefRegMap(@Self)^.val := thebits;
  20464. end;
  20465. function TDMAC_DMASTAT.getw : TBits_32; inline;
  20466. begin
  20467. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20468. end;
  20469. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_2); inline;
  20470. begin
  20471. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  20472. end;
  20473. function TDMAC_DCRCCON.getCRCCH : TBits_2; inline;
  20474. begin
  20475. getCRCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  20476. end;
  20477. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  20478. begin
  20479. pTDefRegMap(@Self)^.&set := $00000020;
  20480. end;
  20481. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  20482. begin
  20483. pTDefRegMap(@Self)^.clr := $00000020;
  20484. end;
  20485. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  20486. begin
  20487. if thebits = 0 then
  20488. pTDefRegMap(@Self)^.clr := $00000020
  20489. else
  20490. pTDefRegMap(@Self)^.&set := $00000020;
  20491. end;
  20492. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  20493. begin
  20494. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20495. end;
  20496. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  20497. begin
  20498. pTDefRegMap(@Self)^.&set := $00000040;
  20499. end;
  20500. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  20501. begin
  20502. pTDefRegMap(@Self)^.clr := $00000040;
  20503. end;
  20504. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  20505. begin
  20506. if thebits = 0 then
  20507. pTDefRegMap(@Self)^.clr := $00000040
  20508. else
  20509. pTDefRegMap(@Self)^.&set := $00000040;
  20510. end;
  20511. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  20512. begin
  20513. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20514. end;
  20515. procedure TDMAC_DCRCCON.setCRCEN; inline;
  20516. begin
  20517. pTDefRegMap(@Self)^.&set := $00000080;
  20518. end;
  20519. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  20520. begin
  20521. pTDefRegMap(@Self)^.clr := $00000080;
  20522. end;
  20523. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  20524. begin
  20525. if thebits = 0 then
  20526. pTDefRegMap(@Self)^.clr := $00000080
  20527. else
  20528. pTDefRegMap(@Self)^.&set := $00000080;
  20529. end;
  20530. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  20531. begin
  20532. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20533. end;
  20534. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_4); inline;
  20535. begin
  20536. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  20537. end;
  20538. function TDMAC_DCRCCON.getPLEN : TBits_4; inline;
  20539. begin
  20540. getPLEN := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  20541. end;
  20542. procedure TDMAC_DCRCCON.setBITO; inline;
  20543. begin
  20544. pTDefRegMap(@Self)^.&set := $01000000;
  20545. end;
  20546. procedure TDMAC_DCRCCON.clearBITO; inline;
  20547. begin
  20548. pTDefRegMap(@Self)^.clr := $01000000;
  20549. end;
  20550. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  20551. begin
  20552. if thebits = 0 then
  20553. pTDefRegMap(@Self)^.clr := $01000000
  20554. else
  20555. pTDefRegMap(@Self)^.&set := $01000000;
  20556. end;
  20557. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  20558. begin
  20559. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20560. end;
  20561. procedure TDMAC_DCRCCON.setWBO; inline;
  20562. begin
  20563. pTDefRegMap(@Self)^.&set := $08000000;
  20564. end;
  20565. procedure TDMAC_DCRCCON.clearWBO; inline;
  20566. begin
  20567. pTDefRegMap(@Self)^.clr := $08000000;
  20568. end;
  20569. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  20570. begin
  20571. if thebits = 0 then
  20572. pTDefRegMap(@Self)^.clr := $08000000
  20573. else
  20574. pTDefRegMap(@Self)^.&set := $08000000;
  20575. end;
  20576. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  20577. begin
  20578. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  20579. end;
  20580. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  20581. begin
  20582. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  20583. end;
  20584. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  20585. begin
  20586. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  20587. end;
  20588. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  20589. begin
  20590. pTDefRegMap(@Self)^.val := thebits;
  20591. end;
  20592. function TDMAC_DCRCCON.getw : TBits_32; inline;
  20593. begin
  20594. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20595. end;
  20596. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  20597. begin
  20598. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  20599. end;
  20600. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  20601. begin
  20602. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  20603. end;
  20604. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  20605. begin
  20606. pTDefRegMap(@Self)^.&set := $00000004;
  20607. end;
  20608. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  20609. begin
  20610. pTDefRegMap(@Self)^.clr := $00000004;
  20611. end;
  20612. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  20613. begin
  20614. if thebits = 0 then
  20615. pTDefRegMap(@Self)^.clr := $00000004
  20616. else
  20617. pTDefRegMap(@Self)^.&set := $00000004;
  20618. end;
  20619. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  20620. begin
  20621. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20622. end;
  20623. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  20624. begin
  20625. pTDefRegMap(@Self)^.&set := $00000010;
  20626. end;
  20627. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  20628. begin
  20629. pTDefRegMap(@Self)^.clr := $00000010;
  20630. end;
  20631. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  20632. begin
  20633. if thebits = 0 then
  20634. pTDefRegMap(@Self)^.clr := $00000010
  20635. else
  20636. pTDefRegMap(@Self)^.&set := $00000010;
  20637. end;
  20638. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  20639. begin
  20640. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20641. end;
  20642. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  20643. begin
  20644. pTDefRegMap(@Self)^.&set := $00000020;
  20645. end;
  20646. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  20647. begin
  20648. pTDefRegMap(@Self)^.clr := $00000020;
  20649. end;
  20650. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  20651. begin
  20652. if thebits = 0 then
  20653. pTDefRegMap(@Self)^.clr := $00000020
  20654. else
  20655. pTDefRegMap(@Self)^.&set := $00000020;
  20656. end;
  20657. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  20658. begin
  20659. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20660. end;
  20661. procedure TDMAC0_DCH0CON.setCHAED; inline;
  20662. begin
  20663. pTDefRegMap(@Self)^.&set := $00000040;
  20664. end;
  20665. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  20666. begin
  20667. pTDefRegMap(@Self)^.clr := $00000040;
  20668. end;
  20669. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  20670. begin
  20671. if thebits = 0 then
  20672. pTDefRegMap(@Self)^.clr := $00000040
  20673. else
  20674. pTDefRegMap(@Self)^.&set := $00000040;
  20675. end;
  20676. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  20677. begin
  20678. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20679. end;
  20680. procedure TDMAC0_DCH0CON.setCHEN; inline;
  20681. begin
  20682. pTDefRegMap(@Self)^.&set := $00000080;
  20683. end;
  20684. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  20685. begin
  20686. pTDefRegMap(@Self)^.clr := $00000080;
  20687. end;
  20688. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  20689. begin
  20690. if thebits = 0 then
  20691. pTDefRegMap(@Self)^.clr := $00000080
  20692. else
  20693. pTDefRegMap(@Self)^.&set := $00000080;
  20694. end;
  20695. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  20696. begin
  20697. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20698. end;
  20699. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  20700. begin
  20701. pTDefRegMap(@Self)^.&set := $00000100;
  20702. end;
  20703. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  20704. begin
  20705. pTDefRegMap(@Self)^.clr := $00000100;
  20706. end;
  20707. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  20708. begin
  20709. if thebits = 0 then
  20710. pTDefRegMap(@Self)^.clr := $00000100
  20711. else
  20712. pTDefRegMap(@Self)^.&set := $00000100;
  20713. end;
  20714. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  20715. begin
  20716. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20717. end;
  20718. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  20719. begin
  20720. pTDefRegMap(@Self)^.val := thebits;
  20721. end;
  20722. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  20723. begin
  20724. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20725. end;
  20726. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  20727. begin
  20728. pTDefRegMap(@Self)^.&set := $00000008;
  20729. end;
  20730. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  20731. begin
  20732. pTDefRegMap(@Self)^.clr := $00000008;
  20733. end;
  20734. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  20735. begin
  20736. if thebits = 0 then
  20737. pTDefRegMap(@Self)^.clr := $00000008
  20738. else
  20739. pTDefRegMap(@Self)^.&set := $00000008;
  20740. end;
  20741. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  20742. begin
  20743. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20744. end;
  20745. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  20746. begin
  20747. pTDefRegMap(@Self)^.&set := $00000010;
  20748. end;
  20749. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  20750. begin
  20751. pTDefRegMap(@Self)^.clr := $00000010;
  20752. end;
  20753. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  20754. begin
  20755. if thebits = 0 then
  20756. pTDefRegMap(@Self)^.clr := $00000010
  20757. else
  20758. pTDefRegMap(@Self)^.&set := $00000010;
  20759. end;
  20760. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  20761. begin
  20762. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20763. end;
  20764. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  20765. begin
  20766. pTDefRegMap(@Self)^.&set := $00000020;
  20767. end;
  20768. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  20769. begin
  20770. pTDefRegMap(@Self)^.clr := $00000020;
  20771. end;
  20772. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  20773. begin
  20774. if thebits = 0 then
  20775. pTDefRegMap(@Self)^.clr := $00000020
  20776. else
  20777. pTDefRegMap(@Self)^.&set := $00000020;
  20778. end;
  20779. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  20780. begin
  20781. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20782. end;
  20783. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  20784. begin
  20785. pTDefRegMap(@Self)^.&set := $00000040;
  20786. end;
  20787. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  20788. begin
  20789. pTDefRegMap(@Self)^.clr := $00000040;
  20790. end;
  20791. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  20792. begin
  20793. if thebits = 0 then
  20794. pTDefRegMap(@Self)^.clr := $00000040
  20795. else
  20796. pTDefRegMap(@Self)^.&set := $00000040;
  20797. end;
  20798. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  20799. begin
  20800. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20801. end;
  20802. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  20803. begin
  20804. pTDefRegMap(@Self)^.&set := $00000080;
  20805. end;
  20806. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  20807. begin
  20808. pTDefRegMap(@Self)^.clr := $00000080;
  20809. end;
  20810. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  20811. begin
  20812. if thebits = 0 then
  20813. pTDefRegMap(@Self)^.clr := $00000080
  20814. else
  20815. pTDefRegMap(@Self)^.&set := $00000080;
  20816. end;
  20817. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  20818. begin
  20819. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20820. end;
  20821. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  20822. begin
  20823. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  20824. end;
  20825. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  20826. begin
  20827. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  20828. end;
  20829. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  20830. begin
  20831. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20832. end;
  20833. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  20834. begin
  20835. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20836. end;
  20837. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  20838. begin
  20839. pTDefRegMap(@Self)^.val := thebits;
  20840. end;
  20841. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  20842. begin
  20843. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20844. end;
  20845. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  20846. begin
  20847. pTDefRegMap(@Self)^.&set := $00000001;
  20848. end;
  20849. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  20850. begin
  20851. pTDefRegMap(@Self)^.clr := $00000001;
  20852. end;
  20853. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  20854. begin
  20855. if thebits = 0 then
  20856. pTDefRegMap(@Self)^.clr := $00000001
  20857. else
  20858. pTDefRegMap(@Self)^.&set := $00000001;
  20859. end;
  20860. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  20861. begin
  20862. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20863. end;
  20864. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  20865. begin
  20866. pTDefRegMap(@Self)^.&set := $00000002;
  20867. end;
  20868. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  20869. begin
  20870. pTDefRegMap(@Self)^.clr := $00000002;
  20871. end;
  20872. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  20873. begin
  20874. if thebits = 0 then
  20875. pTDefRegMap(@Self)^.clr := $00000002
  20876. else
  20877. pTDefRegMap(@Self)^.&set := $00000002;
  20878. end;
  20879. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  20880. begin
  20881. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20882. end;
  20883. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  20884. begin
  20885. pTDefRegMap(@Self)^.&set := $00000004;
  20886. end;
  20887. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  20888. begin
  20889. pTDefRegMap(@Self)^.clr := $00000004;
  20890. end;
  20891. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  20892. begin
  20893. if thebits = 0 then
  20894. pTDefRegMap(@Self)^.clr := $00000004
  20895. else
  20896. pTDefRegMap(@Self)^.&set := $00000004;
  20897. end;
  20898. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  20899. begin
  20900. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20901. end;
  20902. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  20903. begin
  20904. pTDefRegMap(@Self)^.&set := $00000008;
  20905. end;
  20906. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  20907. begin
  20908. pTDefRegMap(@Self)^.clr := $00000008;
  20909. end;
  20910. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  20911. begin
  20912. if thebits = 0 then
  20913. pTDefRegMap(@Self)^.clr := $00000008
  20914. else
  20915. pTDefRegMap(@Self)^.&set := $00000008;
  20916. end;
  20917. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  20918. begin
  20919. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20920. end;
  20921. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  20922. begin
  20923. pTDefRegMap(@Self)^.&set := $00000010;
  20924. end;
  20925. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  20926. begin
  20927. pTDefRegMap(@Self)^.clr := $00000010;
  20928. end;
  20929. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  20930. begin
  20931. if thebits = 0 then
  20932. pTDefRegMap(@Self)^.clr := $00000010
  20933. else
  20934. pTDefRegMap(@Self)^.&set := $00000010;
  20935. end;
  20936. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  20937. begin
  20938. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20939. end;
  20940. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  20941. begin
  20942. pTDefRegMap(@Self)^.&set := $00000020;
  20943. end;
  20944. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  20945. begin
  20946. pTDefRegMap(@Self)^.clr := $00000020;
  20947. end;
  20948. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  20949. begin
  20950. if thebits = 0 then
  20951. pTDefRegMap(@Self)^.clr := $00000020
  20952. else
  20953. pTDefRegMap(@Self)^.&set := $00000020;
  20954. end;
  20955. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  20956. begin
  20957. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20958. end;
  20959. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  20960. begin
  20961. pTDefRegMap(@Self)^.&set := $00000040;
  20962. end;
  20963. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  20964. begin
  20965. pTDefRegMap(@Self)^.clr := $00000040;
  20966. end;
  20967. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  20968. begin
  20969. if thebits = 0 then
  20970. pTDefRegMap(@Self)^.clr := $00000040
  20971. else
  20972. pTDefRegMap(@Self)^.&set := $00000040;
  20973. end;
  20974. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  20975. begin
  20976. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20977. end;
  20978. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  20979. begin
  20980. pTDefRegMap(@Self)^.&set := $00000080;
  20981. end;
  20982. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  20983. begin
  20984. pTDefRegMap(@Self)^.clr := $00000080;
  20985. end;
  20986. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  20987. begin
  20988. if thebits = 0 then
  20989. pTDefRegMap(@Self)^.clr := $00000080
  20990. else
  20991. pTDefRegMap(@Self)^.&set := $00000080;
  20992. end;
  20993. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  20994. begin
  20995. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20996. end;
  20997. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  20998. begin
  20999. pTDefRegMap(@Self)^.&set := $00010000;
  21000. end;
  21001. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  21002. begin
  21003. pTDefRegMap(@Self)^.clr := $00010000;
  21004. end;
  21005. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  21006. begin
  21007. if thebits = 0 then
  21008. pTDefRegMap(@Self)^.clr := $00010000
  21009. else
  21010. pTDefRegMap(@Self)^.&set := $00010000;
  21011. end;
  21012. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  21013. begin
  21014. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  21015. end;
  21016. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  21017. begin
  21018. pTDefRegMap(@Self)^.&set := $00020000;
  21019. end;
  21020. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  21021. begin
  21022. pTDefRegMap(@Self)^.clr := $00020000;
  21023. end;
  21024. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  21025. begin
  21026. if thebits = 0 then
  21027. pTDefRegMap(@Self)^.clr := $00020000
  21028. else
  21029. pTDefRegMap(@Self)^.&set := $00020000;
  21030. end;
  21031. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  21032. begin
  21033. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  21034. end;
  21035. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  21036. begin
  21037. pTDefRegMap(@Self)^.&set := $00040000;
  21038. end;
  21039. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  21040. begin
  21041. pTDefRegMap(@Self)^.clr := $00040000;
  21042. end;
  21043. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  21044. begin
  21045. if thebits = 0 then
  21046. pTDefRegMap(@Self)^.clr := $00040000
  21047. else
  21048. pTDefRegMap(@Self)^.&set := $00040000;
  21049. end;
  21050. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  21051. begin
  21052. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  21053. end;
  21054. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  21055. begin
  21056. pTDefRegMap(@Self)^.&set := $00080000;
  21057. end;
  21058. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  21059. begin
  21060. pTDefRegMap(@Self)^.clr := $00080000;
  21061. end;
  21062. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  21063. begin
  21064. if thebits = 0 then
  21065. pTDefRegMap(@Self)^.clr := $00080000
  21066. else
  21067. pTDefRegMap(@Self)^.&set := $00080000;
  21068. end;
  21069. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  21070. begin
  21071. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  21072. end;
  21073. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  21074. begin
  21075. pTDefRegMap(@Self)^.&set := $00100000;
  21076. end;
  21077. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  21078. begin
  21079. pTDefRegMap(@Self)^.clr := $00100000;
  21080. end;
  21081. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  21082. begin
  21083. if thebits = 0 then
  21084. pTDefRegMap(@Self)^.clr := $00100000
  21085. else
  21086. pTDefRegMap(@Self)^.&set := $00100000;
  21087. end;
  21088. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  21089. begin
  21090. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  21091. end;
  21092. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  21093. begin
  21094. pTDefRegMap(@Self)^.&set := $00200000;
  21095. end;
  21096. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  21097. begin
  21098. pTDefRegMap(@Self)^.clr := $00200000;
  21099. end;
  21100. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  21101. begin
  21102. if thebits = 0 then
  21103. pTDefRegMap(@Self)^.clr := $00200000
  21104. else
  21105. pTDefRegMap(@Self)^.&set := $00200000;
  21106. end;
  21107. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  21108. begin
  21109. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  21110. end;
  21111. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  21112. begin
  21113. pTDefRegMap(@Self)^.&set := $00400000;
  21114. end;
  21115. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  21116. begin
  21117. pTDefRegMap(@Self)^.clr := $00400000;
  21118. end;
  21119. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  21120. begin
  21121. if thebits = 0 then
  21122. pTDefRegMap(@Self)^.clr := $00400000
  21123. else
  21124. pTDefRegMap(@Self)^.&set := $00400000;
  21125. end;
  21126. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  21127. begin
  21128. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  21129. end;
  21130. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  21131. begin
  21132. pTDefRegMap(@Self)^.&set := $00800000;
  21133. end;
  21134. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  21135. begin
  21136. pTDefRegMap(@Self)^.clr := $00800000;
  21137. end;
  21138. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  21139. begin
  21140. if thebits = 0 then
  21141. pTDefRegMap(@Self)^.clr := $00800000
  21142. else
  21143. pTDefRegMap(@Self)^.&set := $00800000;
  21144. end;
  21145. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  21146. begin
  21147. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  21148. end;
  21149. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  21150. begin
  21151. pTDefRegMap(@Self)^.val := thebits;
  21152. end;
  21153. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  21154. begin
  21155. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21156. end;
  21157. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  21158. begin
  21159. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21160. end;
  21161. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  21162. begin
  21163. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21164. end;
  21165. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  21166. begin
  21167. pTDefRegMap(@Self)^.&set := $00000004;
  21168. end;
  21169. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  21170. begin
  21171. pTDefRegMap(@Self)^.clr := $00000004;
  21172. end;
  21173. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  21174. begin
  21175. if thebits = 0 then
  21176. pTDefRegMap(@Self)^.clr := $00000004
  21177. else
  21178. pTDefRegMap(@Self)^.&set := $00000004;
  21179. end;
  21180. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  21181. begin
  21182. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21183. end;
  21184. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  21185. begin
  21186. pTDefRegMap(@Self)^.&set := $00000010;
  21187. end;
  21188. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  21189. begin
  21190. pTDefRegMap(@Self)^.clr := $00000010;
  21191. end;
  21192. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  21193. begin
  21194. if thebits = 0 then
  21195. pTDefRegMap(@Self)^.clr := $00000010
  21196. else
  21197. pTDefRegMap(@Self)^.&set := $00000010;
  21198. end;
  21199. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  21200. begin
  21201. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21202. end;
  21203. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  21204. begin
  21205. pTDefRegMap(@Self)^.&set := $00000020;
  21206. end;
  21207. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  21208. begin
  21209. pTDefRegMap(@Self)^.clr := $00000020;
  21210. end;
  21211. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  21212. begin
  21213. if thebits = 0 then
  21214. pTDefRegMap(@Self)^.clr := $00000020
  21215. else
  21216. pTDefRegMap(@Self)^.&set := $00000020;
  21217. end;
  21218. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  21219. begin
  21220. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21221. end;
  21222. procedure TDMAC1_DCH1CON.setCHAED; inline;
  21223. begin
  21224. pTDefRegMap(@Self)^.&set := $00000040;
  21225. end;
  21226. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  21227. begin
  21228. pTDefRegMap(@Self)^.clr := $00000040;
  21229. end;
  21230. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  21231. begin
  21232. if thebits = 0 then
  21233. pTDefRegMap(@Self)^.clr := $00000040
  21234. else
  21235. pTDefRegMap(@Self)^.&set := $00000040;
  21236. end;
  21237. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  21238. begin
  21239. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21240. end;
  21241. procedure TDMAC1_DCH1CON.setCHEN; inline;
  21242. begin
  21243. pTDefRegMap(@Self)^.&set := $00000080;
  21244. end;
  21245. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  21246. begin
  21247. pTDefRegMap(@Self)^.clr := $00000080;
  21248. end;
  21249. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  21250. begin
  21251. if thebits = 0 then
  21252. pTDefRegMap(@Self)^.clr := $00000080
  21253. else
  21254. pTDefRegMap(@Self)^.&set := $00000080;
  21255. end;
  21256. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  21257. begin
  21258. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21259. end;
  21260. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  21261. begin
  21262. pTDefRegMap(@Self)^.&set := $00000100;
  21263. end;
  21264. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  21265. begin
  21266. pTDefRegMap(@Self)^.clr := $00000100;
  21267. end;
  21268. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  21269. begin
  21270. if thebits = 0 then
  21271. pTDefRegMap(@Self)^.clr := $00000100
  21272. else
  21273. pTDefRegMap(@Self)^.&set := $00000100;
  21274. end;
  21275. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  21276. begin
  21277. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21278. end;
  21279. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  21280. begin
  21281. pTDefRegMap(@Self)^.val := thebits;
  21282. end;
  21283. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  21284. begin
  21285. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21286. end;
  21287. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  21288. begin
  21289. pTDefRegMap(@Self)^.&set := $00000008;
  21290. end;
  21291. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  21292. begin
  21293. pTDefRegMap(@Self)^.clr := $00000008;
  21294. end;
  21295. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  21296. begin
  21297. if thebits = 0 then
  21298. pTDefRegMap(@Self)^.clr := $00000008
  21299. else
  21300. pTDefRegMap(@Self)^.&set := $00000008;
  21301. end;
  21302. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  21303. begin
  21304. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21305. end;
  21306. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  21307. begin
  21308. pTDefRegMap(@Self)^.&set := $00000010;
  21309. end;
  21310. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  21311. begin
  21312. pTDefRegMap(@Self)^.clr := $00000010;
  21313. end;
  21314. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  21315. begin
  21316. if thebits = 0 then
  21317. pTDefRegMap(@Self)^.clr := $00000010
  21318. else
  21319. pTDefRegMap(@Self)^.&set := $00000010;
  21320. end;
  21321. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  21322. begin
  21323. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21324. end;
  21325. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  21326. begin
  21327. pTDefRegMap(@Self)^.&set := $00000020;
  21328. end;
  21329. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  21330. begin
  21331. pTDefRegMap(@Self)^.clr := $00000020;
  21332. end;
  21333. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  21334. begin
  21335. if thebits = 0 then
  21336. pTDefRegMap(@Self)^.clr := $00000020
  21337. else
  21338. pTDefRegMap(@Self)^.&set := $00000020;
  21339. end;
  21340. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  21341. begin
  21342. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21343. end;
  21344. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  21345. begin
  21346. pTDefRegMap(@Self)^.&set := $00000040;
  21347. end;
  21348. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  21349. begin
  21350. pTDefRegMap(@Self)^.clr := $00000040;
  21351. end;
  21352. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  21353. begin
  21354. if thebits = 0 then
  21355. pTDefRegMap(@Self)^.clr := $00000040
  21356. else
  21357. pTDefRegMap(@Self)^.&set := $00000040;
  21358. end;
  21359. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  21360. begin
  21361. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21362. end;
  21363. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  21364. begin
  21365. pTDefRegMap(@Self)^.&set := $00000080;
  21366. end;
  21367. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  21368. begin
  21369. pTDefRegMap(@Self)^.clr := $00000080;
  21370. end;
  21371. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  21372. begin
  21373. if thebits = 0 then
  21374. pTDefRegMap(@Self)^.clr := $00000080
  21375. else
  21376. pTDefRegMap(@Self)^.&set := $00000080;
  21377. end;
  21378. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  21379. begin
  21380. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21381. end;
  21382. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  21383. begin
  21384. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  21385. end;
  21386. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  21387. begin
  21388. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  21389. end;
  21390. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  21391. begin
  21392. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21393. end;
  21394. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  21395. begin
  21396. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21397. end;
  21398. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  21399. begin
  21400. pTDefRegMap(@Self)^.val := thebits;
  21401. end;
  21402. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  21403. begin
  21404. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21405. end;
  21406. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  21407. begin
  21408. pTDefRegMap(@Self)^.&set := $00000001;
  21409. end;
  21410. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  21411. begin
  21412. pTDefRegMap(@Self)^.clr := $00000001;
  21413. end;
  21414. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  21415. begin
  21416. if thebits = 0 then
  21417. pTDefRegMap(@Self)^.clr := $00000001
  21418. else
  21419. pTDefRegMap(@Self)^.&set := $00000001;
  21420. end;
  21421. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  21422. begin
  21423. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21424. end;
  21425. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  21426. begin
  21427. pTDefRegMap(@Self)^.&set := $00000002;
  21428. end;
  21429. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  21430. begin
  21431. pTDefRegMap(@Self)^.clr := $00000002;
  21432. end;
  21433. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  21434. begin
  21435. if thebits = 0 then
  21436. pTDefRegMap(@Self)^.clr := $00000002
  21437. else
  21438. pTDefRegMap(@Self)^.&set := $00000002;
  21439. end;
  21440. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  21441. begin
  21442. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21443. end;
  21444. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  21445. begin
  21446. pTDefRegMap(@Self)^.&set := $00000004;
  21447. end;
  21448. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  21449. begin
  21450. pTDefRegMap(@Self)^.clr := $00000004;
  21451. end;
  21452. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  21453. begin
  21454. if thebits = 0 then
  21455. pTDefRegMap(@Self)^.clr := $00000004
  21456. else
  21457. pTDefRegMap(@Self)^.&set := $00000004;
  21458. end;
  21459. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  21460. begin
  21461. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21462. end;
  21463. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  21464. begin
  21465. pTDefRegMap(@Self)^.&set := $00000008;
  21466. end;
  21467. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  21468. begin
  21469. pTDefRegMap(@Self)^.clr := $00000008;
  21470. end;
  21471. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  21472. begin
  21473. if thebits = 0 then
  21474. pTDefRegMap(@Self)^.clr := $00000008
  21475. else
  21476. pTDefRegMap(@Self)^.&set := $00000008;
  21477. end;
  21478. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  21479. begin
  21480. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21481. end;
  21482. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  21483. begin
  21484. pTDefRegMap(@Self)^.&set := $00000010;
  21485. end;
  21486. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  21487. begin
  21488. pTDefRegMap(@Self)^.clr := $00000010;
  21489. end;
  21490. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  21491. begin
  21492. if thebits = 0 then
  21493. pTDefRegMap(@Self)^.clr := $00000010
  21494. else
  21495. pTDefRegMap(@Self)^.&set := $00000010;
  21496. end;
  21497. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  21498. begin
  21499. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21500. end;
  21501. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  21502. begin
  21503. pTDefRegMap(@Self)^.&set := $00000020;
  21504. end;
  21505. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  21506. begin
  21507. pTDefRegMap(@Self)^.clr := $00000020;
  21508. end;
  21509. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  21510. begin
  21511. if thebits = 0 then
  21512. pTDefRegMap(@Self)^.clr := $00000020
  21513. else
  21514. pTDefRegMap(@Self)^.&set := $00000020;
  21515. end;
  21516. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  21517. begin
  21518. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21519. end;
  21520. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  21521. begin
  21522. pTDefRegMap(@Self)^.&set := $00000040;
  21523. end;
  21524. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  21525. begin
  21526. pTDefRegMap(@Self)^.clr := $00000040;
  21527. end;
  21528. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  21529. begin
  21530. if thebits = 0 then
  21531. pTDefRegMap(@Self)^.clr := $00000040
  21532. else
  21533. pTDefRegMap(@Self)^.&set := $00000040;
  21534. end;
  21535. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  21536. begin
  21537. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21538. end;
  21539. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  21540. begin
  21541. pTDefRegMap(@Self)^.&set := $00000080;
  21542. end;
  21543. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  21544. begin
  21545. pTDefRegMap(@Self)^.clr := $00000080;
  21546. end;
  21547. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  21548. begin
  21549. if thebits = 0 then
  21550. pTDefRegMap(@Self)^.clr := $00000080
  21551. else
  21552. pTDefRegMap(@Self)^.&set := $00000080;
  21553. end;
  21554. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  21555. begin
  21556. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21557. end;
  21558. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  21559. begin
  21560. pTDefRegMap(@Self)^.&set := $00010000;
  21561. end;
  21562. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  21563. begin
  21564. pTDefRegMap(@Self)^.clr := $00010000;
  21565. end;
  21566. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  21567. begin
  21568. if thebits = 0 then
  21569. pTDefRegMap(@Self)^.clr := $00010000
  21570. else
  21571. pTDefRegMap(@Self)^.&set := $00010000;
  21572. end;
  21573. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  21574. begin
  21575. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  21576. end;
  21577. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  21578. begin
  21579. pTDefRegMap(@Self)^.&set := $00020000;
  21580. end;
  21581. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  21582. begin
  21583. pTDefRegMap(@Self)^.clr := $00020000;
  21584. end;
  21585. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  21586. begin
  21587. if thebits = 0 then
  21588. pTDefRegMap(@Self)^.clr := $00020000
  21589. else
  21590. pTDefRegMap(@Self)^.&set := $00020000;
  21591. end;
  21592. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  21593. begin
  21594. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  21595. end;
  21596. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  21597. begin
  21598. pTDefRegMap(@Self)^.&set := $00040000;
  21599. end;
  21600. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  21601. begin
  21602. pTDefRegMap(@Self)^.clr := $00040000;
  21603. end;
  21604. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  21605. begin
  21606. if thebits = 0 then
  21607. pTDefRegMap(@Self)^.clr := $00040000
  21608. else
  21609. pTDefRegMap(@Self)^.&set := $00040000;
  21610. end;
  21611. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  21612. begin
  21613. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  21614. end;
  21615. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  21616. begin
  21617. pTDefRegMap(@Self)^.&set := $00080000;
  21618. end;
  21619. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  21620. begin
  21621. pTDefRegMap(@Self)^.clr := $00080000;
  21622. end;
  21623. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  21624. begin
  21625. if thebits = 0 then
  21626. pTDefRegMap(@Self)^.clr := $00080000
  21627. else
  21628. pTDefRegMap(@Self)^.&set := $00080000;
  21629. end;
  21630. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  21631. begin
  21632. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  21633. end;
  21634. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  21635. begin
  21636. pTDefRegMap(@Self)^.&set := $00100000;
  21637. end;
  21638. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  21639. begin
  21640. pTDefRegMap(@Self)^.clr := $00100000;
  21641. end;
  21642. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  21643. begin
  21644. if thebits = 0 then
  21645. pTDefRegMap(@Self)^.clr := $00100000
  21646. else
  21647. pTDefRegMap(@Self)^.&set := $00100000;
  21648. end;
  21649. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  21650. begin
  21651. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  21652. end;
  21653. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  21654. begin
  21655. pTDefRegMap(@Self)^.&set := $00200000;
  21656. end;
  21657. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  21658. begin
  21659. pTDefRegMap(@Self)^.clr := $00200000;
  21660. end;
  21661. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  21662. begin
  21663. if thebits = 0 then
  21664. pTDefRegMap(@Self)^.clr := $00200000
  21665. else
  21666. pTDefRegMap(@Self)^.&set := $00200000;
  21667. end;
  21668. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  21669. begin
  21670. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  21671. end;
  21672. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  21673. begin
  21674. pTDefRegMap(@Self)^.&set := $00400000;
  21675. end;
  21676. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  21677. begin
  21678. pTDefRegMap(@Self)^.clr := $00400000;
  21679. end;
  21680. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  21681. begin
  21682. if thebits = 0 then
  21683. pTDefRegMap(@Self)^.clr := $00400000
  21684. else
  21685. pTDefRegMap(@Self)^.&set := $00400000;
  21686. end;
  21687. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  21688. begin
  21689. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  21690. end;
  21691. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  21692. begin
  21693. pTDefRegMap(@Self)^.&set := $00800000;
  21694. end;
  21695. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  21696. begin
  21697. pTDefRegMap(@Self)^.clr := $00800000;
  21698. end;
  21699. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  21700. begin
  21701. if thebits = 0 then
  21702. pTDefRegMap(@Self)^.clr := $00800000
  21703. else
  21704. pTDefRegMap(@Self)^.&set := $00800000;
  21705. end;
  21706. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  21707. begin
  21708. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  21709. end;
  21710. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  21711. begin
  21712. pTDefRegMap(@Self)^.val := thebits;
  21713. end;
  21714. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  21715. begin
  21716. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21717. end;
  21718. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  21719. begin
  21720. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21721. end;
  21722. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  21723. begin
  21724. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21725. end;
  21726. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  21727. begin
  21728. pTDefRegMap(@Self)^.&set := $00000004;
  21729. end;
  21730. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  21731. begin
  21732. pTDefRegMap(@Self)^.clr := $00000004;
  21733. end;
  21734. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  21735. begin
  21736. if thebits = 0 then
  21737. pTDefRegMap(@Self)^.clr := $00000004
  21738. else
  21739. pTDefRegMap(@Self)^.&set := $00000004;
  21740. end;
  21741. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  21742. begin
  21743. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21744. end;
  21745. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  21746. begin
  21747. pTDefRegMap(@Self)^.&set := $00000010;
  21748. end;
  21749. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  21750. begin
  21751. pTDefRegMap(@Self)^.clr := $00000010;
  21752. end;
  21753. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  21754. begin
  21755. if thebits = 0 then
  21756. pTDefRegMap(@Self)^.clr := $00000010
  21757. else
  21758. pTDefRegMap(@Self)^.&set := $00000010;
  21759. end;
  21760. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  21761. begin
  21762. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21763. end;
  21764. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  21765. begin
  21766. pTDefRegMap(@Self)^.&set := $00000020;
  21767. end;
  21768. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  21769. begin
  21770. pTDefRegMap(@Self)^.clr := $00000020;
  21771. end;
  21772. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  21773. begin
  21774. if thebits = 0 then
  21775. pTDefRegMap(@Self)^.clr := $00000020
  21776. else
  21777. pTDefRegMap(@Self)^.&set := $00000020;
  21778. end;
  21779. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  21780. begin
  21781. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21782. end;
  21783. procedure TDMAC2_DCH2CON.setCHAED; inline;
  21784. begin
  21785. pTDefRegMap(@Self)^.&set := $00000040;
  21786. end;
  21787. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  21788. begin
  21789. pTDefRegMap(@Self)^.clr := $00000040;
  21790. end;
  21791. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  21792. begin
  21793. if thebits = 0 then
  21794. pTDefRegMap(@Self)^.clr := $00000040
  21795. else
  21796. pTDefRegMap(@Self)^.&set := $00000040;
  21797. end;
  21798. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  21799. begin
  21800. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21801. end;
  21802. procedure TDMAC2_DCH2CON.setCHEN; inline;
  21803. begin
  21804. pTDefRegMap(@Self)^.&set := $00000080;
  21805. end;
  21806. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  21807. begin
  21808. pTDefRegMap(@Self)^.clr := $00000080;
  21809. end;
  21810. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  21811. begin
  21812. if thebits = 0 then
  21813. pTDefRegMap(@Self)^.clr := $00000080
  21814. else
  21815. pTDefRegMap(@Self)^.&set := $00000080;
  21816. end;
  21817. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  21818. begin
  21819. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21820. end;
  21821. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  21822. begin
  21823. pTDefRegMap(@Self)^.&set := $00000100;
  21824. end;
  21825. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  21826. begin
  21827. pTDefRegMap(@Self)^.clr := $00000100;
  21828. end;
  21829. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  21830. begin
  21831. if thebits = 0 then
  21832. pTDefRegMap(@Self)^.clr := $00000100
  21833. else
  21834. pTDefRegMap(@Self)^.&set := $00000100;
  21835. end;
  21836. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  21837. begin
  21838. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21839. end;
  21840. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  21841. begin
  21842. pTDefRegMap(@Self)^.val := thebits;
  21843. end;
  21844. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  21845. begin
  21846. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21847. end;
  21848. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  21849. begin
  21850. pTDefRegMap(@Self)^.&set := $00000008;
  21851. end;
  21852. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  21853. begin
  21854. pTDefRegMap(@Self)^.clr := $00000008;
  21855. end;
  21856. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  21857. begin
  21858. if thebits = 0 then
  21859. pTDefRegMap(@Self)^.clr := $00000008
  21860. else
  21861. pTDefRegMap(@Self)^.&set := $00000008;
  21862. end;
  21863. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  21864. begin
  21865. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21866. end;
  21867. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  21868. begin
  21869. pTDefRegMap(@Self)^.&set := $00000010;
  21870. end;
  21871. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  21872. begin
  21873. pTDefRegMap(@Self)^.clr := $00000010;
  21874. end;
  21875. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  21876. begin
  21877. if thebits = 0 then
  21878. pTDefRegMap(@Self)^.clr := $00000010
  21879. else
  21880. pTDefRegMap(@Self)^.&set := $00000010;
  21881. end;
  21882. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  21883. begin
  21884. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21885. end;
  21886. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  21887. begin
  21888. pTDefRegMap(@Self)^.&set := $00000020;
  21889. end;
  21890. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  21891. begin
  21892. pTDefRegMap(@Self)^.clr := $00000020;
  21893. end;
  21894. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  21895. begin
  21896. if thebits = 0 then
  21897. pTDefRegMap(@Self)^.clr := $00000020
  21898. else
  21899. pTDefRegMap(@Self)^.&set := $00000020;
  21900. end;
  21901. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  21902. begin
  21903. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21904. end;
  21905. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  21906. begin
  21907. pTDefRegMap(@Self)^.&set := $00000040;
  21908. end;
  21909. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  21910. begin
  21911. pTDefRegMap(@Self)^.clr := $00000040;
  21912. end;
  21913. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  21914. begin
  21915. if thebits = 0 then
  21916. pTDefRegMap(@Self)^.clr := $00000040
  21917. else
  21918. pTDefRegMap(@Self)^.&set := $00000040;
  21919. end;
  21920. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  21921. begin
  21922. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21923. end;
  21924. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  21925. begin
  21926. pTDefRegMap(@Self)^.&set := $00000080;
  21927. end;
  21928. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  21929. begin
  21930. pTDefRegMap(@Self)^.clr := $00000080;
  21931. end;
  21932. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  21933. begin
  21934. if thebits = 0 then
  21935. pTDefRegMap(@Self)^.clr := $00000080
  21936. else
  21937. pTDefRegMap(@Self)^.&set := $00000080;
  21938. end;
  21939. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  21940. begin
  21941. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21942. end;
  21943. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  21944. begin
  21945. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  21946. end;
  21947. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  21948. begin
  21949. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  21950. end;
  21951. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  21952. begin
  21953. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21954. end;
  21955. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  21956. begin
  21957. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21958. end;
  21959. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  21960. begin
  21961. pTDefRegMap(@Self)^.val := thebits;
  21962. end;
  21963. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  21964. begin
  21965. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21966. end;
  21967. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  21968. begin
  21969. pTDefRegMap(@Self)^.&set := $00000001;
  21970. end;
  21971. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  21972. begin
  21973. pTDefRegMap(@Self)^.clr := $00000001;
  21974. end;
  21975. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  21976. begin
  21977. if thebits = 0 then
  21978. pTDefRegMap(@Self)^.clr := $00000001
  21979. else
  21980. pTDefRegMap(@Self)^.&set := $00000001;
  21981. end;
  21982. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  21983. begin
  21984. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21985. end;
  21986. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  21987. begin
  21988. pTDefRegMap(@Self)^.&set := $00000002;
  21989. end;
  21990. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  21991. begin
  21992. pTDefRegMap(@Self)^.clr := $00000002;
  21993. end;
  21994. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  21995. begin
  21996. if thebits = 0 then
  21997. pTDefRegMap(@Self)^.clr := $00000002
  21998. else
  21999. pTDefRegMap(@Self)^.&set := $00000002;
  22000. end;
  22001. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  22002. begin
  22003. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22004. end;
  22005. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  22006. begin
  22007. pTDefRegMap(@Self)^.&set := $00000004;
  22008. end;
  22009. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  22010. begin
  22011. pTDefRegMap(@Self)^.clr := $00000004;
  22012. end;
  22013. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  22014. begin
  22015. if thebits = 0 then
  22016. pTDefRegMap(@Self)^.clr := $00000004
  22017. else
  22018. pTDefRegMap(@Self)^.&set := $00000004;
  22019. end;
  22020. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  22021. begin
  22022. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22023. end;
  22024. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  22025. begin
  22026. pTDefRegMap(@Self)^.&set := $00000008;
  22027. end;
  22028. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  22029. begin
  22030. pTDefRegMap(@Self)^.clr := $00000008;
  22031. end;
  22032. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  22033. begin
  22034. if thebits = 0 then
  22035. pTDefRegMap(@Self)^.clr := $00000008
  22036. else
  22037. pTDefRegMap(@Self)^.&set := $00000008;
  22038. end;
  22039. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  22040. begin
  22041. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22042. end;
  22043. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  22044. begin
  22045. pTDefRegMap(@Self)^.&set := $00000010;
  22046. end;
  22047. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  22048. begin
  22049. pTDefRegMap(@Self)^.clr := $00000010;
  22050. end;
  22051. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  22052. begin
  22053. if thebits = 0 then
  22054. pTDefRegMap(@Self)^.clr := $00000010
  22055. else
  22056. pTDefRegMap(@Self)^.&set := $00000010;
  22057. end;
  22058. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  22059. begin
  22060. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22061. end;
  22062. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  22063. begin
  22064. pTDefRegMap(@Self)^.&set := $00000020;
  22065. end;
  22066. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  22067. begin
  22068. pTDefRegMap(@Self)^.clr := $00000020;
  22069. end;
  22070. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  22071. begin
  22072. if thebits = 0 then
  22073. pTDefRegMap(@Self)^.clr := $00000020
  22074. else
  22075. pTDefRegMap(@Self)^.&set := $00000020;
  22076. end;
  22077. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  22078. begin
  22079. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22080. end;
  22081. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  22082. begin
  22083. pTDefRegMap(@Self)^.&set := $00000040;
  22084. end;
  22085. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  22086. begin
  22087. pTDefRegMap(@Self)^.clr := $00000040;
  22088. end;
  22089. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  22090. begin
  22091. if thebits = 0 then
  22092. pTDefRegMap(@Self)^.clr := $00000040
  22093. else
  22094. pTDefRegMap(@Self)^.&set := $00000040;
  22095. end;
  22096. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  22097. begin
  22098. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22099. end;
  22100. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  22101. begin
  22102. pTDefRegMap(@Self)^.&set := $00000080;
  22103. end;
  22104. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  22105. begin
  22106. pTDefRegMap(@Self)^.clr := $00000080;
  22107. end;
  22108. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  22109. begin
  22110. if thebits = 0 then
  22111. pTDefRegMap(@Self)^.clr := $00000080
  22112. else
  22113. pTDefRegMap(@Self)^.&set := $00000080;
  22114. end;
  22115. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  22116. begin
  22117. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22118. end;
  22119. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  22120. begin
  22121. pTDefRegMap(@Self)^.&set := $00010000;
  22122. end;
  22123. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  22124. begin
  22125. pTDefRegMap(@Self)^.clr := $00010000;
  22126. end;
  22127. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  22128. begin
  22129. if thebits = 0 then
  22130. pTDefRegMap(@Self)^.clr := $00010000
  22131. else
  22132. pTDefRegMap(@Self)^.&set := $00010000;
  22133. end;
  22134. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  22135. begin
  22136. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  22137. end;
  22138. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  22139. begin
  22140. pTDefRegMap(@Self)^.&set := $00020000;
  22141. end;
  22142. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  22143. begin
  22144. pTDefRegMap(@Self)^.clr := $00020000;
  22145. end;
  22146. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  22147. begin
  22148. if thebits = 0 then
  22149. pTDefRegMap(@Self)^.clr := $00020000
  22150. else
  22151. pTDefRegMap(@Self)^.&set := $00020000;
  22152. end;
  22153. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  22154. begin
  22155. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  22156. end;
  22157. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  22158. begin
  22159. pTDefRegMap(@Self)^.&set := $00040000;
  22160. end;
  22161. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  22162. begin
  22163. pTDefRegMap(@Self)^.clr := $00040000;
  22164. end;
  22165. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  22166. begin
  22167. if thebits = 0 then
  22168. pTDefRegMap(@Self)^.clr := $00040000
  22169. else
  22170. pTDefRegMap(@Self)^.&set := $00040000;
  22171. end;
  22172. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  22173. begin
  22174. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  22175. end;
  22176. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  22177. begin
  22178. pTDefRegMap(@Self)^.&set := $00080000;
  22179. end;
  22180. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  22181. begin
  22182. pTDefRegMap(@Self)^.clr := $00080000;
  22183. end;
  22184. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  22185. begin
  22186. if thebits = 0 then
  22187. pTDefRegMap(@Self)^.clr := $00080000
  22188. else
  22189. pTDefRegMap(@Self)^.&set := $00080000;
  22190. end;
  22191. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  22192. begin
  22193. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  22194. end;
  22195. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  22196. begin
  22197. pTDefRegMap(@Self)^.&set := $00100000;
  22198. end;
  22199. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  22200. begin
  22201. pTDefRegMap(@Self)^.clr := $00100000;
  22202. end;
  22203. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  22204. begin
  22205. if thebits = 0 then
  22206. pTDefRegMap(@Self)^.clr := $00100000
  22207. else
  22208. pTDefRegMap(@Self)^.&set := $00100000;
  22209. end;
  22210. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  22211. begin
  22212. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  22213. end;
  22214. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  22215. begin
  22216. pTDefRegMap(@Self)^.&set := $00200000;
  22217. end;
  22218. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  22219. begin
  22220. pTDefRegMap(@Self)^.clr := $00200000;
  22221. end;
  22222. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  22223. begin
  22224. if thebits = 0 then
  22225. pTDefRegMap(@Self)^.clr := $00200000
  22226. else
  22227. pTDefRegMap(@Self)^.&set := $00200000;
  22228. end;
  22229. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  22230. begin
  22231. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  22232. end;
  22233. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  22234. begin
  22235. pTDefRegMap(@Self)^.&set := $00400000;
  22236. end;
  22237. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  22238. begin
  22239. pTDefRegMap(@Self)^.clr := $00400000;
  22240. end;
  22241. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  22242. begin
  22243. if thebits = 0 then
  22244. pTDefRegMap(@Self)^.clr := $00400000
  22245. else
  22246. pTDefRegMap(@Self)^.&set := $00400000;
  22247. end;
  22248. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  22249. begin
  22250. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  22251. end;
  22252. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  22253. begin
  22254. pTDefRegMap(@Self)^.&set := $00800000;
  22255. end;
  22256. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  22257. begin
  22258. pTDefRegMap(@Self)^.clr := $00800000;
  22259. end;
  22260. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  22261. begin
  22262. if thebits = 0 then
  22263. pTDefRegMap(@Self)^.clr := $00800000
  22264. else
  22265. pTDefRegMap(@Self)^.&set := $00800000;
  22266. end;
  22267. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  22268. begin
  22269. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  22270. end;
  22271. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  22272. begin
  22273. pTDefRegMap(@Self)^.val := thebits;
  22274. end;
  22275. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  22276. begin
  22277. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22278. end;
  22279. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  22280. begin
  22281. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  22282. end;
  22283. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  22284. begin
  22285. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  22286. end;
  22287. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  22288. begin
  22289. pTDefRegMap(@Self)^.&set := $00000004;
  22290. end;
  22291. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  22292. begin
  22293. pTDefRegMap(@Self)^.clr := $00000004;
  22294. end;
  22295. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  22296. begin
  22297. if thebits = 0 then
  22298. pTDefRegMap(@Self)^.clr := $00000004
  22299. else
  22300. pTDefRegMap(@Self)^.&set := $00000004;
  22301. end;
  22302. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  22303. begin
  22304. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22305. end;
  22306. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  22307. begin
  22308. pTDefRegMap(@Self)^.&set := $00000010;
  22309. end;
  22310. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  22311. begin
  22312. pTDefRegMap(@Self)^.clr := $00000010;
  22313. end;
  22314. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  22315. begin
  22316. if thebits = 0 then
  22317. pTDefRegMap(@Self)^.clr := $00000010
  22318. else
  22319. pTDefRegMap(@Self)^.&set := $00000010;
  22320. end;
  22321. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  22322. begin
  22323. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22324. end;
  22325. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  22326. begin
  22327. pTDefRegMap(@Self)^.&set := $00000020;
  22328. end;
  22329. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  22330. begin
  22331. pTDefRegMap(@Self)^.clr := $00000020;
  22332. end;
  22333. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  22334. begin
  22335. if thebits = 0 then
  22336. pTDefRegMap(@Self)^.clr := $00000020
  22337. else
  22338. pTDefRegMap(@Self)^.&set := $00000020;
  22339. end;
  22340. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  22341. begin
  22342. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22343. end;
  22344. procedure TDMAC3_DCH3CON.setCHAED; inline;
  22345. begin
  22346. pTDefRegMap(@Self)^.&set := $00000040;
  22347. end;
  22348. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  22349. begin
  22350. pTDefRegMap(@Self)^.clr := $00000040;
  22351. end;
  22352. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  22353. begin
  22354. if thebits = 0 then
  22355. pTDefRegMap(@Self)^.clr := $00000040
  22356. else
  22357. pTDefRegMap(@Self)^.&set := $00000040;
  22358. end;
  22359. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  22360. begin
  22361. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22362. end;
  22363. procedure TDMAC3_DCH3CON.setCHEN; inline;
  22364. begin
  22365. pTDefRegMap(@Self)^.&set := $00000080;
  22366. end;
  22367. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  22368. begin
  22369. pTDefRegMap(@Self)^.clr := $00000080;
  22370. end;
  22371. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  22372. begin
  22373. if thebits = 0 then
  22374. pTDefRegMap(@Self)^.clr := $00000080
  22375. else
  22376. pTDefRegMap(@Self)^.&set := $00000080;
  22377. end;
  22378. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  22379. begin
  22380. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22381. end;
  22382. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  22383. begin
  22384. pTDefRegMap(@Self)^.&set := $00000100;
  22385. end;
  22386. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  22387. begin
  22388. pTDefRegMap(@Self)^.clr := $00000100;
  22389. end;
  22390. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  22391. begin
  22392. if thebits = 0 then
  22393. pTDefRegMap(@Self)^.clr := $00000100
  22394. else
  22395. pTDefRegMap(@Self)^.&set := $00000100;
  22396. end;
  22397. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  22398. begin
  22399. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22400. end;
  22401. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  22402. begin
  22403. pTDefRegMap(@Self)^.val := thebits;
  22404. end;
  22405. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  22406. begin
  22407. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22408. end;
  22409. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  22410. begin
  22411. pTDefRegMap(@Self)^.&set := $00000008;
  22412. end;
  22413. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  22414. begin
  22415. pTDefRegMap(@Self)^.clr := $00000008;
  22416. end;
  22417. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  22418. begin
  22419. if thebits = 0 then
  22420. pTDefRegMap(@Self)^.clr := $00000008
  22421. else
  22422. pTDefRegMap(@Self)^.&set := $00000008;
  22423. end;
  22424. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  22425. begin
  22426. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22427. end;
  22428. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  22429. begin
  22430. pTDefRegMap(@Self)^.&set := $00000010;
  22431. end;
  22432. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  22433. begin
  22434. pTDefRegMap(@Self)^.clr := $00000010;
  22435. end;
  22436. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  22437. begin
  22438. if thebits = 0 then
  22439. pTDefRegMap(@Self)^.clr := $00000010
  22440. else
  22441. pTDefRegMap(@Self)^.&set := $00000010;
  22442. end;
  22443. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  22444. begin
  22445. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22446. end;
  22447. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  22448. begin
  22449. pTDefRegMap(@Self)^.&set := $00000020;
  22450. end;
  22451. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  22452. begin
  22453. pTDefRegMap(@Self)^.clr := $00000020;
  22454. end;
  22455. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  22456. begin
  22457. if thebits = 0 then
  22458. pTDefRegMap(@Self)^.clr := $00000020
  22459. else
  22460. pTDefRegMap(@Self)^.&set := $00000020;
  22461. end;
  22462. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  22463. begin
  22464. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22465. end;
  22466. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  22467. begin
  22468. pTDefRegMap(@Self)^.&set := $00000040;
  22469. end;
  22470. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  22471. begin
  22472. pTDefRegMap(@Self)^.clr := $00000040;
  22473. end;
  22474. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  22475. begin
  22476. if thebits = 0 then
  22477. pTDefRegMap(@Self)^.clr := $00000040
  22478. else
  22479. pTDefRegMap(@Self)^.&set := $00000040;
  22480. end;
  22481. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  22482. begin
  22483. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22484. end;
  22485. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  22486. begin
  22487. pTDefRegMap(@Self)^.&set := $00000080;
  22488. end;
  22489. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  22490. begin
  22491. pTDefRegMap(@Self)^.clr := $00000080;
  22492. end;
  22493. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  22494. begin
  22495. if thebits = 0 then
  22496. pTDefRegMap(@Self)^.clr := $00000080
  22497. else
  22498. pTDefRegMap(@Self)^.&set := $00000080;
  22499. end;
  22500. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  22501. begin
  22502. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22503. end;
  22504. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  22505. begin
  22506. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  22507. end;
  22508. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  22509. begin
  22510. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  22511. end;
  22512. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  22513. begin
  22514. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  22515. end;
  22516. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  22517. begin
  22518. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  22519. end;
  22520. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  22521. begin
  22522. pTDefRegMap(@Self)^.val := thebits;
  22523. end;
  22524. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  22525. begin
  22526. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22527. end;
  22528. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  22529. begin
  22530. pTDefRegMap(@Self)^.&set := $00000001;
  22531. end;
  22532. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  22533. begin
  22534. pTDefRegMap(@Self)^.clr := $00000001;
  22535. end;
  22536. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  22537. begin
  22538. if thebits = 0 then
  22539. pTDefRegMap(@Self)^.clr := $00000001
  22540. else
  22541. pTDefRegMap(@Self)^.&set := $00000001;
  22542. end;
  22543. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  22544. begin
  22545. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22546. end;
  22547. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  22548. begin
  22549. pTDefRegMap(@Self)^.&set := $00000002;
  22550. end;
  22551. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  22552. begin
  22553. pTDefRegMap(@Self)^.clr := $00000002;
  22554. end;
  22555. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  22556. begin
  22557. if thebits = 0 then
  22558. pTDefRegMap(@Self)^.clr := $00000002
  22559. else
  22560. pTDefRegMap(@Self)^.&set := $00000002;
  22561. end;
  22562. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  22563. begin
  22564. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22565. end;
  22566. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  22567. begin
  22568. pTDefRegMap(@Self)^.&set := $00000004;
  22569. end;
  22570. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  22571. begin
  22572. pTDefRegMap(@Self)^.clr := $00000004;
  22573. end;
  22574. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  22575. begin
  22576. if thebits = 0 then
  22577. pTDefRegMap(@Self)^.clr := $00000004
  22578. else
  22579. pTDefRegMap(@Self)^.&set := $00000004;
  22580. end;
  22581. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  22582. begin
  22583. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22584. end;
  22585. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  22586. begin
  22587. pTDefRegMap(@Self)^.&set := $00000008;
  22588. end;
  22589. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  22590. begin
  22591. pTDefRegMap(@Self)^.clr := $00000008;
  22592. end;
  22593. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  22594. begin
  22595. if thebits = 0 then
  22596. pTDefRegMap(@Self)^.clr := $00000008
  22597. else
  22598. pTDefRegMap(@Self)^.&set := $00000008;
  22599. end;
  22600. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  22601. begin
  22602. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22603. end;
  22604. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  22605. begin
  22606. pTDefRegMap(@Self)^.&set := $00000010;
  22607. end;
  22608. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  22609. begin
  22610. pTDefRegMap(@Self)^.clr := $00000010;
  22611. end;
  22612. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  22613. begin
  22614. if thebits = 0 then
  22615. pTDefRegMap(@Self)^.clr := $00000010
  22616. else
  22617. pTDefRegMap(@Self)^.&set := $00000010;
  22618. end;
  22619. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  22620. begin
  22621. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22622. end;
  22623. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  22624. begin
  22625. pTDefRegMap(@Self)^.&set := $00000020;
  22626. end;
  22627. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  22628. begin
  22629. pTDefRegMap(@Self)^.clr := $00000020;
  22630. end;
  22631. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  22632. begin
  22633. if thebits = 0 then
  22634. pTDefRegMap(@Self)^.clr := $00000020
  22635. else
  22636. pTDefRegMap(@Self)^.&set := $00000020;
  22637. end;
  22638. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  22639. begin
  22640. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22641. end;
  22642. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  22643. begin
  22644. pTDefRegMap(@Self)^.&set := $00000040;
  22645. end;
  22646. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  22647. begin
  22648. pTDefRegMap(@Self)^.clr := $00000040;
  22649. end;
  22650. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  22651. begin
  22652. if thebits = 0 then
  22653. pTDefRegMap(@Self)^.clr := $00000040
  22654. else
  22655. pTDefRegMap(@Self)^.&set := $00000040;
  22656. end;
  22657. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  22658. begin
  22659. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22660. end;
  22661. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  22662. begin
  22663. pTDefRegMap(@Self)^.&set := $00000080;
  22664. end;
  22665. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  22666. begin
  22667. pTDefRegMap(@Self)^.clr := $00000080;
  22668. end;
  22669. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  22670. begin
  22671. if thebits = 0 then
  22672. pTDefRegMap(@Self)^.clr := $00000080
  22673. else
  22674. pTDefRegMap(@Self)^.&set := $00000080;
  22675. end;
  22676. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  22677. begin
  22678. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22679. end;
  22680. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  22681. begin
  22682. pTDefRegMap(@Self)^.&set := $00010000;
  22683. end;
  22684. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  22685. begin
  22686. pTDefRegMap(@Self)^.clr := $00010000;
  22687. end;
  22688. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  22689. begin
  22690. if thebits = 0 then
  22691. pTDefRegMap(@Self)^.clr := $00010000
  22692. else
  22693. pTDefRegMap(@Self)^.&set := $00010000;
  22694. end;
  22695. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  22696. begin
  22697. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  22698. end;
  22699. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  22700. begin
  22701. pTDefRegMap(@Self)^.&set := $00020000;
  22702. end;
  22703. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  22704. begin
  22705. pTDefRegMap(@Self)^.clr := $00020000;
  22706. end;
  22707. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  22708. begin
  22709. if thebits = 0 then
  22710. pTDefRegMap(@Self)^.clr := $00020000
  22711. else
  22712. pTDefRegMap(@Self)^.&set := $00020000;
  22713. end;
  22714. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  22715. begin
  22716. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  22717. end;
  22718. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  22719. begin
  22720. pTDefRegMap(@Self)^.&set := $00040000;
  22721. end;
  22722. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  22723. begin
  22724. pTDefRegMap(@Self)^.clr := $00040000;
  22725. end;
  22726. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  22727. begin
  22728. if thebits = 0 then
  22729. pTDefRegMap(@Self)^.clr := $00040000
  22730. else
  22731. pTDefRegMap(@Self)^.&set := $00040000;
  22732. end;
  22733. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  22734. begin
  22735. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  22736. end;
  22737. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  22738. begin
  22739. pTDefRegMap(@Self)^.&set := $00080000;
  22740. end;
  22741. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  22742. begin
  22743. pTDefRegMap(@Self)^.clr := $00080000;
  22744. end;
  22745. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  22746. begin
  22747. if thebits = 0 then
  22748. pTDefRegMap(@Self)^.clr := $00080000
  22749. else
  22750. pTDefRegMap(@Self)^.&set := $00080000;
  22751. end;
  22752. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  22753. begin
  22754. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  22755. end;
  22756. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  22757. begin
  22758. pTDefRegMap(@Self)^.&set := $00100000;
  22759. end;
  22760. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  22761. begin
  22762. pTDefRegMap(@Self)^.clr := $00100000;
  22763. end;
  22764. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  22765. begin
  22766. if thebits = 0 then
  22767. pTDefRegMap(@Self)^.clr := $00100000
  22768. else
  22769. pTDefRegMap(@Self)^.&set := $00100000;
  22770. end;
  22771. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  22772. begin
  22773. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  22774. end;
  22775. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  22776. begin
  22777. pTDefRegMap(@Self)^.&set := $00200000;
  22778. end;
  22779. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  22780. begin
  22781. pTDefRegMap(@Self)^.clr := $00200000;
  22782. end;
  22783. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  22784. begin
  22785. if thebits = 0 then
  22786. pTDefRegMap(@Self)^.clr := $00200000
  22787. else
  22788. pTDefRegMap(@Self)^.&set := $00200000;
  22789. end;
  22790. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  22791. begin
  22792. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  22793. end;
  22794. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  22795. begin
  22796. pTDefRegMap(@Self)^.&set := $00400000;
  22797. end;
  22798. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  22799. begin
  22800. pTDefRegMap(@Self)^.clr := $00400000;
  22801. end;
  22802. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  22803. begin
  22804. if thebits = 0 then
  22805. pTDefRegMap(@Self)^.clr := $00400000
  22806. else
  22807. pTDefRegMap(@Self)^.&set := $00400000;
  22808. end;
  22809. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  22810. begin
  22811. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  22812. end;
  22813. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  22814. begin
  22815. pTDefRegMap(@Self)^.&set := $00800000;
  22816. end;
  22817. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  22818. begin
  22819. pTDefRegMap(@Self)^.clr := $00800000;
  22820. end;
  22821. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  22822. begin
  22823. if thebits = 0 then
  22824. pTDefRegMap(@Self)^.clr := $00800000
  22825. else
  22826. pTDefRegMap(@Self)^.&set := $00800000;
  22827. end;
  22828. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  22829. begin
  22830. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  22831. end;
  22832. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  22833. begin
  22834. pTDefRegMap(@Self)^.val := thebits;
  22835. end;
  22836. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  22837. begin
  22838. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22839. end;
  22840. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  22841. begin
  22842. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  22843. end;
  22844. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  22845. begin
  22846. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  22847. end;
  22848. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  22849. begin
  22850. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  22851. end;
  22852. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  22853. begin
  22854. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  22855. end;
  22856. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  22857. begin
  22858. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  22859. end;
  22860. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  22861. begin
  22862. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  22863. end;
  22864. procedure TPCACHE_CHECON.setCHECOH; inline;
  22865. begin
  22866. pTDefRegMap(@Self)^.&set := $00010000;
  22867. end;
  22868. procedure TPCACHE_CHECON.clearCHECOH; inline;
  22869. begin
  22870. pTDefRegMap(@Self)^.clr := $00010000;
  22871. end;
  22872. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  22873. begin
  22874. if thebits = 0 then
  22875. pTDefRegMap(@Self)^.clr := $00010000
  22876. else
  22877. pTDefRegMap(@Self)^.&set := $00010000;
  22878. end;
  22879. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  22880. begin
  22881. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  22882. end;
  22883. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  22884. begin
  22885. pTDefRegMap(@Self)^.val := thebits;
  22886. end;
  22887. function TPCACHE_CHECON.getw : TBits_32; inline;
  22888. begin
  22889. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22890. end;
  22891. procedure TPCACHE_CHETAG.setLTYPE; inline;
  22892. begin
  22893. pTDefRegMap(@Self)^.&set := $00000002;
  22894. end;
  22895. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  22896. begin
  22897. pTDefRegMap(@Self)^.clr := $00000002;
  22898. end;
  22899. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  22900. begin
  22901. if thebits = 0 then
  22902. pTDefRegMap(@Self)^.clr := $00000002
  22903. else
  22904. pTDefRegMap(@Self)^.&set := $00000002;
  22905. end;
  22906. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  22907. begin
  22908. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22909. end;
  22910. procedure TPCACHE_CHETAG.setLLOCK; inline;
  22911. begin
  22912. pTDefRegMap(@Self)^.&set := $00000004;
  22913. end;
  22914. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  22915. begin
  22916. pTDefRegMap(@Self)^.clr := $00000004;
  22917. end;
  22918. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  22919. begin
  22920. if thebits = 0 then
  22921. pTDefRegMap(@Self)^.clr := $00000004
  22922. else
  22923. pTDefRegMap(@Self)^.&set := $00000004;
  22924. end;
  22925. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  22926. begin
  22927. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22928. end;
  22929. procedure TPCACHE_CHETAG.setLVALID; inline;
  22930. begin
  22931. pTDefRegMap(@Self)^.&set := $00000008;
  22932. end;
  22933. procedure TPCACHE_CHETAG.clearLVALID; inline;
  22934. begin
  22935. pTDefRegMap(@Self)^.clr := $00000008;
  22936. end;
  22937. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  22938. begin
  22939. if thebits = 0 then
  22940. pTDefRegMap(@Self)^.clr := $00000008
  22941. else
  22942. pTDefRegMap(@Self)^.&set := $00000008;
  22943. end;
  22944. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  22945. begin
  22946. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22947. end;
  22948. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  22949. begin
  22950. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  22951. end;
  22952. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  22953. begin
  22954. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  22955. end;
  22956. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  22957. begin
  22958. pTDefRegMap(@Self)^.&set := $80000000;
  22959. end;
  22960. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  22961. begin
  22962. pTDefRegMap(@Self)^.clr := $80000000;
  22963. end;
  22964. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  22965. begin
  22966. if thebits = 0 then
  22967. pTDefRegMap(@Self)^.clr := $80000000
  22968. else
  22969. pTDefRegMap(@Self)^.&set := $80000000;
  22970. end;
  22971. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  22972. begin
  22973. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  22974. end;
  22975. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  22976. begin
  22977. pTDefRegMap(@Self)^.val := thebits;
  22978. end;
  22979. function TPCACHE_CHETAG.getw : TBits_32; inline;
  22980. begin
  22981. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22982. end;
  22983. procedure TPORTA_TRISA.setTRISA0; inline;
  22984. begin
  22985. pTDefRegMap(@Self)^.&set := $00000001;
  22986. end;
  22987. procedure TPORTA_TRISA.clearTRISA0; inline;
  22988. begin
  22989. pTDefRegMap(@Self)^.clr := $00000001;
  22990. end;
  22991. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  22992. begin
  22993. if thebits = 0 then
  22994. pTDefRegMap(@Self)^.clr := $00000001
  22995. else
  22996. pTDefRegMap(@Self)^.&set := $00000001;
  22997. end;
  22998. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  22999. begin
  23000. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23001. end;
  23002. procedure TPORTA_TRISA.setTRISA1; inline;
  23003. begin
  23004. pTDefRegMap(@Self)^.&set := $00000002;
  23005. end;
  23006. procedure TPORTA_TRISA.clearTRISA1; inline;
  23007. begin
  23008. pTDefRegMap(@Self)^.clr := $00000002;
  23009. end;
  23010. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  23011. begin
  23012. if thebits = 0 then
  23013. pTDefRegMap(@Self)^.clr := $00000002
  23014. else
  23015. pTDefRegMap(@Self)^.&set := $00000002;
  23016. end;
  23017. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  23018. begin
  23019. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23020. end;
  23021. procedure TPORTA_TRISA.setTRISA2; inline;
  23022. begin
  23023. pTDefRegMap(@Self)^.&set := $00000004;
  23024. end;
  23025. procedure TPORTA_TRISA.clearTRISA2; inline;
  23026. begin
  23027. pTDefRegMap(@Self)^.clr := $00000004;
  23028. end;
  23029. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  23030. begin
  23031. if thebits = 0 then
  23032. pTDefRegMap(@Self)^.clr := $00000004
  23033. else
  23034. pTDefRegMap(@Self)^.&set := $00000004;
  23035. end;
  23036. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  23037. begin
  23038. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23039. end;
  23040. procedure TPORTA_TRISA.setTRISA3; inline;
  23041. begin
  23042. pTDefRegMap(@Self)^.&set := $00000008;
  23043. end;
  23044. procedure TPORTA_TRISA.clearTRISA3; inline;
  23045. begin
  23046. pTDefRegMap(@Self)^.clr := $00000008;
  23047. end;
  23048. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  23049. begin
  23050. if thebits = 0 then
  23051. pTDefRegMap(@Self)^.clr := $00000008
  23052. else
  23053. pTDefRegMap(@Self)^.&set := $00000008;
  23054. end;
  23055. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  23056. begin
  23057. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23058. end;
  23059. procedure TPORTA_TRISA.setTRISA4; inline;
  23060. begin
  23061. pTDefRegMap(@Self)^.&set := $00000010;
  23062. end;
  23063. procedure TPORTA_TRISA.clearTRISA4; inline;
  23064. begin
  23065. pTDefRegMap(@Self)^.clr := $00000010;
  23066. end;
  23067. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  23068. begin
  23069. if thebits = 0 then
  23070. pTDefRegMap(@Self)^.clr := $00000010
  23071. else
  23072. pTDefRegMap(@Self)^.&set := $00000010;
  23073. end;
  23074. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  23075. begin
  23076. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23077. end;
  23078. procedure TPORTA_TRISA.setTRISA5; inline;
  23079. begin
  23080. pTDefRegMap(@Self)^.&set := $00000020;
  23081. end;
  23082. procedure TPORTA_TRISA.clearTRISA5; inline;
  23083. begin
  23084. pTDefRegMap(@Self)^.clr := $00000020;
  23085. end;
  23086. procedure TPORTA_TRISA.setTRISA5(thebits : TBits_1); inline;
  23087. begin
  23088. if thebits = 0 then
  23089. pTDefRegMap(@Self)^.clr := $00000020
  23090. else
  23091. pTDefRegMap(@Self)^.&set := $00000020;
  23092. end;
  23093. function TPORTA_TRISA.getTRISA5 : TBits_1; inline;
  23094. begin
  23095. getTRISA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23096. end;
  23097. procedure TPORTA_TRISA.setTRISA6; inline;
  23098. begin
  23099. pTDefRegMap(@Self)^.&set := $00000040;
  23100. end;
  23101. procedure TPORTA_TRISA.clearTRISA6; inline;
  23102. begin
  23103. pTDefRegMap(@Self)^.clr := $00000040;
  23104. end;
  23105. procedure TPORTA_TRISA.setTRISA6(thebits : TBits_1); inline;
  23106. begin
  23107. if thebits = 0 then
  23108. pTDefRegMap(@Self)^.clr := $00000040
  23109. else
  23110. pTDefRegMap(@Self)^.&set := $00000040;
  23111. end;
  23112. function TPORTA_TRISA.getTRISA6 : TBits_1; inline;
  23113. begin
  23114. getTRISA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23115. end;
  23116. procedure TPORTA_TRISA.setTRISA7; inline;
  23117. begin
  23118. pTDefRegMap(@Self)^.&set := $00000080;
  23119. end;
  23120. procedure TPORTA_TRISA.clearTRISA7; inline;
  23121. begin
  23122. pTDefRegMap(@Self)^.clr := $00000080;
  23123. end;
  23124. procedure TPORTA_TRISA.setTRISA7(thebits : TBits_1); inline;
  23125. begin
  23126. if thebits = 0 then
  23127. pTDefRegMap(@Self)^.clr := $00000080
  23128. else
  23129. pTDefRegMap(@Self)^.&set := $00000080;
  23130. end;
  23131. function TPORTA_TRISA.getTRISA7 : TBits_1; inline;
  23132. begin
  23133. getTRISA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23134. end;
  23135. procedure TPORTA_TRISA.setTRISA9; inline;
  23136. begin
  23137. pTDefRegMap(@Self)^.&set := $00000200;
  23138. end;
  23139. procedure TPORTA_TRISA.clearTRISA9; inline;
  23140. begin
  23141. pTDefRegMap(@Self)^.clr := $00000200;
  23142. end;
  23143. procedure TPORTA_TRISA.setTRISA9(thebits : TBits_1); inline;
  23144. begin
  23145. if thebits = 0 then
  23146. pTDefRegMap(@Self)^.clr := $00000200
  23147. else
  23148. pTDefRegMap(@Self)^.&set := $00000200;
  23149. end;
  23150. function TPORTA_TRISA.getTRISA9 : TBits_1; inline;
  23151. begin
  23152. getTRISA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23153. end;
  23154. procedure TPORTA_TRISA.setTRISA10; inline;
  23155. begin
  23156. pTDefRegMap(@Self)^.&set := $00000400;
  23157. end;
  23158. procedure TPORTA_TRISA.clearTRISA10; inline;
  23159. begin
  23160. pTDefRegMap(@Self)^.clr := $00000400;
  23161. end;
  23162. procedure TPORTA_TRISA.setTRISA10(thebits : TBits_1); inline;
  23163. begin
  23164. if thebits = 0 then
  23165. pTDefRegMap(@Self)^.clr := $00000400
  23166. else
  23167. pTDefRegMap(@Self)^.&set := $00000400;
  23168. end;
  23169. function TPORTA_TRISA.getTRISA10 : TBits_1; inline;
  23170. begin
  23171. getTRISA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23172. end;
  23173. procedure TPORTA_TRISA.setTRISA14; inline;
  23174. begin
  23175. pTDefRegMap(@Self)^.&set := $00004000;
  23176. end;
  23177. procedure TPORTA_TRISA.clearTRISA14; inline;
  23178. begin
  23179. pTDefRegMap(@Self)^.clr := $00004000;
  23180. end;
  23181. procedure TPORTA_TRISA.setTRISA14(thebits : TBits_1); inline;
  23182. begin
  23183. if thebits = 0 then
  23184. pTDefRegMap(@Self)^.clr := $00004000
  23185. else
  23186. pTDefRegMap(@Self)^.&set := $00004000;
  23187. end;
  23188. function TPORTA_TRISA.getTRISA14 : TBits_1; inline;
  23189. begin
  23190. getTRISA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23191. end;
  23192. procedure TPORTA_TRISA.setTRISA15; inline;
  23193. begin
  23194. pTDefRegMap(@Self)^.&set := $00008000;
  23195. end;
  23196. procedure TPORTA_TRISA.clearTRISA15; inline;
  23197. begin
  23198. pTDefRegMap(@Self)^.clr := $00008000;
  23199. end;
  23200. procedure TPORTA_TRISA.setTRISA15(thebits : TBits_1); inline;
  23201. begin
  23202. if thebits = 0 then
  23203. pTDefRegMap(@Self)^.clr := $00008000
  23204. else
  23205. pTDefRegMap(@Self)^.&set := $00008000;
  23206. end;
  23207. function TPORTA_TRISA.getTRISA15 : TBits_1; inline;
  23208. begin
  23209. getTRISA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23210. end;
  23211. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  23212. begin
  23213. pTDefRegMap(@Self)^.val := thebits;
  23214. end;
  23215. function TPORTA_TRISA.getw : TBits_32; inline;
  23216. begin
  23217. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23218. end;
  23219. procedure TPORTA_PORTA.setRA0; inline;
  23220. begin
  23221. pTDefRegMap(@Self)^.&set := $00000001;
  23222. end;
  23223. procedure TPORTA_PORTA.clearRA0; inline;
  23224. begin
  23225. pTDefRegMap(@Self)^.clr := $00000001;
  23226. end;
  23227. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  23228. begin
  23229. if thebits = 0 then
  23230. pTDefRegMap(@Self)^.clr := $00000001
  23231. else
  23232. pTDefRegMap(@Self)^.&set := $00000001;
  23233. end;
  23234. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  23235. begin
  23236. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23237. end;
  23238. procedure TPORTA_PORTA.setRA1; inline;
  23239. begin
  23240. pTDefRegMap(@Self)^.&set := $00000002;
  23241. end;
  23242. procedure TPORTA_PORTA.clearRA1; inline;
  23243. begin
  23244. pTDefRegMap(@Self)^.clr := $00000002;
  23245. end;
  23246. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  23247. begin
  23248. if thebits = 0 then
  23249. pTDefRegMap(@Self)^.clr := $00000002
  23250. else
  23251. pTDefRegMap(@Self)^.&set := $00000002;
  23252. end;
  23253. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  23254. begin
  23255. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23256. end;
  23257. procedure TPORTA_PORTA.setRA2; inline;
  23258. begin
  23259. pTDefRegMap(@Self)^.&set := $00000004;
  23260. end;
  23261. procedure TPORTA_PORTA.clearRA2; inline;
  23262. begin
  23263. pTDefRegMap(@Self)^.clr := $00000004;
  23264. end;
  23265. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  23266. begin
  23267. if thebits = 0 then
  23268. pTDefRegMap(@Self)^.clr := $00000004
  23269. else
  23270. pTDefRegMap(@Self)^.&set := $00000004;
  23271. end;
  23272. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  23273. begin
  23274. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23275. end;
  23276. procedure TPORTA_PORTA.setRA3; inline;
  23277. begin
  23278. pTDefRegMap(@Self)^.&set := $00000008;
  23279. end;
  23280. procedure TPORTA_PORTA.clearRA3; inline;
  23281. begin
  23282. pTDefRegMap(@Self)^.clr := $00000008;
  23283. end;
  23284. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  23285. begin
  23286. if thebits = 0 then
  23287. pTDefRegMap(@Self)^.clr := $00000008
  23288. else
  23289. pTDefRegMap(@Self)^.&set := $00000008;
  23290. end;
  23291. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  23292. begin
  23293. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23294. end;
  23295. procedure TPORTA_PORTA.setRA4; inline;
  23296. begin
  23297. pTDefRegMap(@Self)^.&set := $00000010;
  23298. end;
  23299. procedure TPORTA_PORTA.clearRA4; inline;
  23300. begin
  23301. pTDefRegMap(@Self)^.clr := $00000010;
  23302. end;
  23303. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  23304. begin
  23305. if thebits = 0 then
  23306. pTDefRegMap(@Self)^.clr := $00000010
  23307. else
  23308. pTDefRegMap(@Self)^.&set := $00000010;
  23309. end;
  23310. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  23311. begin
  23312. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23313. end;
  23314. procedure TPORTA_PORTA.setRA5; inline;
  23315. begin
  23316. pTDefRegMap(@Self)^.&set := $00000020;
  23317. end;
  23318. procedure TPORTA_PORTA.clearRA5; inline;
  23319. begin
  23320. pTDefRegMap(@Self)^.clr := $00000020;
  23321. end;
  23322. procedure TPORTA_PORTA.setRA5(thebits : TBits_1); inline;
  23323. begin
  23324. if thebits = 0 then
  23325. pTDefRegMap(@Self)^.clr := $00000020
  23326. else
  23327. pTDefRegMap(@Self)^.&set := $00000020;
  23328. end;
  23329. function TPORTA_PORTA.getRA5 : TBits_1; inline;
  23330. begin
  23331. getRA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23332. end;
  23333. procedure TPORTA_PORTA.setRA6; inline;
  23334. begin
  23335. pTDefRegMap(@Self)^.&set := $00000040;
  23336. end;
  23337. procedure TPORTA_PORTA.clearRA6; inline;
  23338. begin
  23339. pTDefRegMap(@Self)^.clr := $00000040;
  23340. end;
  23341. procedure TPORTA_PORTA.setRA6(thebits : TBits_1); inline;
  23342. begin
  23343. if thebits = 0 then
  23344. pTDefRegMap(@Self)^.clr := $00000040
  23345. else
  23346. pTDefRegMap(@Self)^.&set := $00000040;
  23347. end;
  23348. function TPORTA_PORTA.getRA6 : TBits_1; inline;
  23349. begin
  23350. getRA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23351. end;
  23352. procedure TPORTA_PORTA.setRA7; inline;
  23353. begin
  23354. pTDefRegMap(@Self)^.&set := $00000080;
  23355. end;
  23356. procedure TPORTA_PORTA.clearRA7; inline;
  23357. begin
  23358. pTDefRegMap(@Self)^.clr := $00000080;
  23359. end;
  23360. procedure TPORTA_PORTA.setRA7(thebits : TBits_1); inline;
  23361. begin
  23362. if thebits = 0 then
  23363. pTDefRegMap(@Self)^.clr := $00000080
  23364. else
  23365. pTDefRegMap(@Self)^.&set := $00000080;
  23366. end;
  23367. function TPORTA_PORTA.getRA7 : TBits_1; inline;
  23368. begin
  23369. getRA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23370. end;
  23371. procedure TPORTA_PORTA.setRA9; inline;
  23372. begin
  23373. pTDefRegMap(@Self)^.&set := $00000200;
  23374. end;
  23375. procedure TPORTA_PORTA.clearRA9; inline;
  23376. begin
  23377. pTDefRegMap(@Self)^.clr := $00000200;
  23378. end;
  23379. procedure TPORTA_PORTA.setRA9(thebits : TBits_1); inline;
  23380. begin
  23381. if thebits = 0 then
  23382. pTDefRegMap(@Self)^.clr := $00000200
  23383. else
  23384. pTDefRegMap(@Self)^.&set := $00000200;
  23385. end;
  23386. function TPORTA_PORTA.getRA9 : TBits_1; inline;
  23387. begin
  23388. getRA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23389. end;
  23390. procedure TPORTA_PORTA.setRA10; inline;
  23391. begin
  23392. pTDefRegMap(@Self)^.&set := $00000400;
  23393. end;
  23394. procedure TPORTA_PORTA.clearRA10; inline;
  23395. begin
  23396. pTDefRegMap(@Self)^.clr := $00000400;
  23397. end;
  23398. procedure TPORTA_PORTA.setRA10(thebits : TBits_1); inline;
  23399. begin
  23400. if thebits = 0 then
  23401. pTDefRegMap(@Self)^.clr := $00000400
  23402. else
  23403. pTDefRegMap(@Self)^.&set := $00000400;
  23404. end;
  23405. function TPORTA_PORTA.getRA10 : TBits_1; inline;
  23406. begin
  23407. getRA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23408. end;
  23409. procedure TPORTA_PORTA.setRA14; inline;
  23410. begin
  23411. pTDefRegMap(@Self)^.&set := $00004000;
  23412. end;
  23413. procedure TPORTA_PORTA.clearRA14; inline;
  23414. begin
  23415. pTDefRegMap(@Self)^.clr := $00004000;
  23416. end;
  23417. procedure TPORTA_PORTA.setRA14(thebits : TBits_1); inline;
  23418. begin
  23419. if thebits = 0 then
  23420. pTDefRegMap(@Self)^.clr := $00004000
  23421. else
  23422. pTDefRegMap(@Self)^.&set := $00004000;
  23423. end;
  23424. function TPORTA_PORTA.getRA14 : TBits_1; inline;
  23425. begin
  23426. getRA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23427. end;
  23428. procedure TPORTA_PORTA.setRA15; inline;
  23429. begin
  23430. pTDefRegMap(@Self)^.&set := $00008000;
  23431. end;
  23432. procedure TPORTA_PORTA.clearRA15; inline;
  23433. begin
  23434. pTDefRegMap(@Self)^.clr := $00008000;
  23435. end;
  23436. procedure TPORTA_PORTA.setRA15(thebits : TBits_1); inline;
  23437. begin
  23438. if thebits = 0 then
  23439. pTDefRegMap(@Self)^.clr := $00008000
  23440. else
  23441. pTDefRegMap(@Self)^.&set := $00008000;
  23442. end;
  23443. function TPORTA_PORTA.getRA15 : TBits_1; inline;
  23444. begin
  23445. getRA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23446. end;
  23447. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  23448. begin
  23449. pTDefRegMap(@Self)^.val := thebits;
  23450. end;
  23451. function TPORTA_PORTA.getw : TBits_32; inline;
  23452. begin
  23453. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23454. end;
  23455. procedure TPORTA_LATA.setLATA0; inline;
  23456. begin
  23457. pTDefRegMap(@Self)^.&set := $00000001;
  23458. end;
  23459. procedure TPORTA_LATA.clearLATA0; inline;
  23460. begin
  23461. pTDefRegMap(@Self)^.clr := $00000001;
  23462. end;
  23463. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  23464. begin
  23465. if thebits = 0 then
  23466. pTDefRegMap(@Self)^.clr := $00000001
  23467. else
  23468. pTDefRegMap(@Self)^.&set := $00000001;
  23469. end;
  23470. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  23471. begin
  23472. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23473. end;
  23474. procedure TPORTA_LATA.setLATA1; inline;
  23475. begin
  23476. pTDefRegMap(@Self)^.&set := $00000002;
  23477. end;
  23478. procedure TPORTA_LATA.clearLATA1; inline;
  23479. begin
  23480. pTDefRegMap(@Self)^.clr := $00000002;
  23481. end;
  23482. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  23483. begin
  23484. if thebits = 0 then
  23485. pTDefRegMap(@Self)^.clr := $00000002
  23486. else
  23487. pTDefRegMap(@Self)^.&set := $00000002;
  23488. end;
  23489. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  23490. begin
  23491. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23492. end;
  23493. procedure TPORTA_LATA.setLATA2; inline;
  23494. begin
  23495. pTDefRegMap(@Self)^.&set := $00000004;
  23496. end;
  23497. procedure TPORTA_LATA.clearLATA2; inline;
  23498. begin
  23499. pTDefRegMap(@Self)^.clr := $00000004;
  23500. end;
  23501. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  23502. begin
  23503. if thebits = 0 then
  23504. pTDefRegMap(@Self)^.clr := $00000004
  23505. else
  23506. pTDefRegMap(@Self)^.&set := $00000004;
  23507. end;
  23508. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  23509. begin
  23510. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23511. end;
  23512. procedure TPORTA_LATA.setLATA3; inline;
  23513. begin
  23514. pTDefRegMap(@Self)^.&set := $00000008;
  23515. end;
  23516. procedure TPORTA_LATA.clearLATA3; inline;
  23517. begin
  23518. pTDefRegMap(@Self)^.clr := $00000008;
  23519. end;
  23520. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  23521. begin
  23522. if thebits = 0 then
  23523. pTDefRegMap(@Self)^.clr := $00000008
  23524. else
  23525. pTDefRegMap(@Self)^.&set := $00000008;
  23526. end;
  23527. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  23528. begin
  23529. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23530. end;
  23531. procedure TPORTA_LATA.setLATA4; inline;
  23532. begin
  23533. pTDefRegMap(@Self)^.&set := $00000010;
  23534. end;
  23535. procedure TPORTA_LATA.clearLATA4; inline;
  23536. begin
  23537. pTDefRegMap(@Self)^.clr := $00000010;
  23538. end;
  23539. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  23540. begin
  23541. if thebits = 0 then
  23542. pTDefRegMap(@Self)^.clr := $00000010
  23543. else
  23544. pTDefRegMap(@Self)^.&set := $00000010;
  23545. end;
  23546. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  23547. begin
  23548. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23549. end;
  23550. procedure TPORTA_LATA.setLATA5; inline;
  23551. begin
  23552. pTDefRegMap(@Self)^.&set := $00000020;
  23553. end;
  23554. procedure TPORTA_LATA.clearLATA5; inline;
  23555. begin
  23556. pTDefRegMap(@Self)^.clr := $00000020;
  23557. end;
  23558. procedure TPORTA_LATA.setLATA5(thebits : TBits_1); inline;
  23559. begin
  23560. if thebits = 0 then
  23561. pTDefRegMap(@Self)^.clr := $00000020
  23562. else
  23563. pTDefRegMap(@Self)^.&set := $00000020;
  23564. end;
  23565. function TPORTA_LATA.getLATA5 : TBits_1; inline;
  23566. begin
  23567. getLATA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23568. end;
  23569. procedure TPORTA_LATA.setLATA6; inline;
  23570. begin
  23571. pTDefRegMap(@Self)^.&set := $00000040;
  23572. end;
  23573. procedure TPORTA_LATA.clearLATA6; inline;
  23574. begin
  23575. pTDefRegMap(@Self)^.clr := $00000040;
  23576. end;
  23577. procedure TPORTA_LATA.setLATA6(thebits : TBits_1); inline;
  23578. begin
  23579. if thebits = 0 then
  23580. pTDefRegMap(@Self)^.clr := $00000040
  23581. else
  23582. pTDefRegMap(@Self)^.&set := $00000040;
  23583. end;
  23584. function TPORTA_LATA.getLATA6 : TBits_1; inline;
  23585. begin
  23586. getLATA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23587. end;
  23588. procedure TPORTA_LATA.setLATA7; inline;
  23589. begin
  23590. pTDefRegMap(@Self)^.&set := $00000080;
  23591. end;
  23592. procedure TPORTA_LATA.clearLATA7; inline;
  23593. begin
  23594. pTDefRegMap(@Self)^.clr := $00000080;
  23595. end;
  23596. procedure TPORTA_LATA.setLATA7(thebits : TBits_1); inline;
  23597. begin
  23598. if thebits = 0 then
  23599. pTDefRegMap(@Self)^.clr := $00000080
  23600. else
  23601. pTDefRegMap(@Self)^.&set := $00000080;
  23602. end;
  23603. function TPORTA_LATA.getLATA7 : TBits_1; inline;
  23604. begin
  23605. getLATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23606. end;
  23607. procedure TPORTA_LATA.setLATA9; inline;
  23608. begin
  23609. pTDefRegMap(@Self)^.&set := $00000200;
  23610. end;
  23611. procedure TPORTA_LATA.clearLATA9; inline;
  23612. begin
  23613. pTDefRegMap(@Self)^.clr := $00000200;
  23614. end;
  23615. procedure TPORTA_LATA.setLATA9(thebits : TBits_1); inline;
  23616. begin
  23617. if thebits = 0 then
  23618. pTDefRegMap(@Self)^.clr := $00000200
  23619. else
  23620. pTDefRegMap(@Self)^.&set := $00000200;
  23621. end;
  23622. function TPORTA_LATA.getLATA9 : TBits_1; inline;
  23623. begin
  23624. getLATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23625. end;
  23626. procedure TPORTA_LATA.setLATA10; inline;
  23627. begin
  23628. pTDefRegMap(@Self)^.&set := $00000400;
  23629. end;
  23630. procedure TPORTA_LATA.clearLATA10; inline;
  23631. begin
  23632. pTDefRegMap(@Self)^.clr := $00000400;
  23633. end;
  23634. procedure TPORTA_LATA.setLATA10(thebits : TBits_1); inline;
  23635. begin
  23636. if thebits = 0 then
  23637. pTDefRegMap(@Self)^.clr := $00000400
  23638. else
  23639. pTDefRegMap(@Self)^.&set := $00000400;
  23640. end;
  23641. function TPORTA_LATA.getLATA10 : TBits_1; inline;
  23642. begin
  23643. getLATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23644. end;
  23645. procedure TPORTA_LATA.setLATA14; inline;
  23646. begin
  23647. pTDefRegMap(@Self)^.&set := $00004000;
  23648. end;
  23649. procedure TPORTA_LATA.clearLATA14; inline;
  23650. begin
  23651. pTDefRegMap(@Self)^.clr := $00004000;
  23652. end;
  23653. procedure TPORTA_LATA.setLATA14(thebits : TBits_1); inline;
  23654. begin
  23655. if thebits = 0 then
  23656. pTDefRegMap(@Self)^.clr := $00004000
  23657. else
  23658. pTDefRegMap(@Self)^.&set := $00004000;
  23659. end;
  23660. function TPORTA_LATA.getLATA14 : TBits_1; inline;
  23661. begin
  23662. getLATA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23663. end;
  23664. procedure TPORTA_LATA.setLATA15; inline;
  23665. begin
  23666. pTDefRegMap(@Self)^.&set := $00008000;
  23667. end;
  23668. procedure TPORTA_LATA.clearLATA15; inline;
  23669. begin
  23670. pTDefRegMap(@Self)^.clr := $00008000;
  23671. end;
  23672. procedure TPORTA_LATA.setLATA15(thebits : TBits_1); inline;
  23673. begin
  23674. if thebits = 0 then
  23675. pTDefRegMap(@Self)^.clr := $00008000
  23676. else
  23677. pTDefRegMap(@Self)^.&set := $00008000;
  23678. end;
  23679. function TPORTA_LATA.getLATA15 : TBits_1; inline;
  23680. begin
  23681. getLATA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23682. end;
  23683. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  23684. begin
  23685. pTDefRegMap(@Self)^.val := thebits;
  23686. end;
  23687. function TPORTA_LATA.getw : TBits_32; inline;
  23688. begin
  23689. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23690. end;
  23691. procedure TPORTA_ODCA.setODCA0; inline;
  23692. begin
  23693. pTDefRegMap(@Self)^.&set := $00000001;
  23694. end;
  23695. procedure TPORTA_ODCA.clearODCA0; inline;
  23696. begin
  23697. pTDefRegMap(@Self)^.clr := $00000001;
  23698. end;
  23699. procedure TPORTA_ODCA.setODCA0(thebits : TBits_1); inline;
  23700. begin
  23701. if thebits = 0 then
  23702. pTDefRegMap(@Self)^.clr := $00000001
  23703. else
  23704. pTDefRegMap(@Self)^.&set := $00000001;
  23705. end;
  23706. function TPORTA_ODCA.getODCA0 : TBits_1; inline;
  23707. begin
  23708. getODCA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23709. end;
  23710. procedure TPORTA_ODCA.setODCA1; inline;
  23711. begin
  23712. pTDefRegMap(@Self)^.&set := $00000002;
  23713. end;
  23714. procedure TPORTA_ODCA.clearODCA1; inline;
  23715. begin
  23716. pTDefRegMap(@Self)^.clr := $00000002;
  23717. end;
  23718. procedure TPORTA_ODCA.setODCA1(thebits : TBits_1); inline;
  23719. begin
  23720. if thebits = 0 then
  23721. pTDefRegMap(@Self)^.clr := $00000002
  23722. else
  23723. pTDefRegMap(@Self)^.&set := $00000002;
  23724. end;
  23725. function TPORTA_ODCA.getODCA1 : TBits_1; inline;
  23726. begin
  23727. getODCA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23728. end;
  23729. procedure TPORTA_ODCA.setODCA2; inline;
  23730. begin
  23731. pTDefRegMap(@Self)^.&set := $00000004;
  23732. end;
  23733. procedure TPORTA_ODCA.clearODCA2; inline;
  23734. begin
  23735. pTDefRegMap(@Self)^.clr := $00000004;
  23736. end;
  23737. procedure TPORTA_ODCA.setODCA2(thebits : TBits_1); inline;
  23738. begin
  23739. if thebits = 0 then
  23740. pTDefRegMap(@Self)^.clr := $00000004
  23741. else
  23742. pTDefRegMap(@Self)^.&set := $00000004;
  23743. end;
  23744. function TPORTA_ODCA.getODCA2 : TBits_1; inline;
  23745. begin
  23746. getODCA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23747. end;
  23748. procedure TPORTA_ODCA.setODCA3; inline;
  23749. begin
  23750. pTDefRegMap(@Self)^.&set := $00000008;
  23751. end;
  23752. procedure TPORTA_ODCA.clearODCA3; inline;
  23753. begin
  23754. pTDefRegMap(@Self)^.clr := $00000008;
  23755. end;
  23756. procedure TPORTA_ODCA.setODCA3(thebits : TBits_1); inline;
  23757. begin
  23758. if thebits = 0 then
  23759. pTDefRegMap(@Self)^.clr := $00000008
  23760. else
  23761. pTDefRegMap(@Self)^.&set := $00000008;
  23762. end;
  23763. function TPORTA_ODCA.getODCA3 : TBits_1; inline;
  23764. begin
  23765. getODCA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23766. end;
  23767. procedure TPORTA_ODCA.setODCA4; inline;
  23768. begin
  23769. pTDefRegMap(@Self)^.&set := $00000010;
  23770. end;
  23771. procedure TPORTA_ODCA.clearODCA4; inline;
  23772. begin
  23773. pTDefRegMap(@Self)^.clr := $00000010;
  23774. end;
  23775. procedure TPORTA_ODCA.setODCA4(thebits : TBits_1); inline;
  23776. begin
  23777. if thebits = 0 then
  23778. pTDefRegMap(@Self)^.clr := $00000010
  23779. else
  23780. pTDefRegMap(@Self)^.&set := $00000010;
  23781. end;
  23782. function TPORTA_ODCA.getODCA4 : TBits_1; inline;
  23783. begin
  23784. getODCA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23785. end;
  23786. procedure TPORTA_ODCA.setODCA5; inline;
  23787. begin
  23788. pTDefRegMap(@Self)^.&set := $00000020;
  23789. end;
  23790. procedure TPORTA_ODCA.clearODCA5; inline;
  23791. begin
  23792. pTDefRegMap(@Self)^.clr := $00000020;
  23793. end;
  23794. procedure TPORTA_ODCA.setODCA5(thebits : TBits_1); inline;
  23795. begin
  23796. if thebits = 0 then
  23797. pTDefRegMap(@Self)^.clr := $00000020
  23798. else
  23799. pTDefRegMap(@Self)^.&set := $00000020;
  23800. end;
  23801. function TPORTA_ODCA.getODCA5 : TBits_1; inline;
  23802. begin
  23803. getODCA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23804. end;
  23805. procedure TPORTA_ODCA.setODCA6; inline;
  23806. begin
  23807. pTDefRegMap(@Self)^.&set := $00000040;
  23808. end;
  23809. procedure TPORTA_ODCA.clearODCA6; inline;
  23810. begin
  23811. pTDefRegMap(@Self)^.clr := $00000040;
  23812. end;
  23813. procedure TPORTA_ODCA.setODCA6(thebits : TBits_1); inline;
  23814. begin
  23815. if thebits = 0 then
  23816. pTDefRegMap(@Self)^.clr := $00000040
  23817. else
  23818. pTDefRegMap(@Self)^.&set := $00000040;
  23819. end;
  23820. function TPORTA_ODCA.getODCA6 : TBits_1; inline;
  23821. begin
  23822. getODCA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23823. end;
  23824. procedure TPORTA_ODCA.setODCA7; inline;
  23825. begin
  23826. pTDefRegMap(@Self)^.&set := $00000080;
  23827. end;
  23828. procedure TPORTA_ODCA.clearODCA7; inline;
  23829. begin
  23830. pTDefRegMap(@Self)^.clr := $00000080;
  23831. end;
  23832. procedure TPORTA_ODCA.setODCA7(thebits : TBits_1); inline;
  23833. begin
  23834. if thebits = 0 then
  23835. pTDefRegMap(@Self)^.clr := $00000080
  23836. else
  23837. pTDefRegMap(@Self)^.&set := $00000080;
  23838. end;
  23839. function TPORTA_ODCA.getODCA7 : TBits_1; inline;
  23840. begin
  23841. getODCA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23842. end;
  23843. procedure TPORTA_ODCA.setODCA9; inline;
  23844. begin
  23845. pTDefRegMap(@Self)^.&set := $00000200;
  23846. end;
  23847. procedure TPORTA_ODCA.clearODCA9; inline;
  23848. begin
  23849. pTDefRegMap(@Self)^.clr := $00000200;
  23850. end;
  23851. procedure TPORTA_ODCA.setODCA9(thebits : TBits_1); inline;
  23852. begin
  23853. if thebits = 0 then
  23854. pTDefRegMap(@Self)^.clr := $00000200
  23855. else
  23856. pTDefRegMap(@Self)^.&set := $00000200;
  23857. end;
  23858. function TPORTA_ODCA.getODCA9 : TBits_1; inline;
  23859. begin
  23860. getODCA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23861. end;
  23862. procedure TPORTA_ODCA.setODCA10; inline;
  23863. begin
  23864. pTDefRegMap(@Self)^.&set := $00000400;
  23865. end;
  23866. procedure TPORTA_ODCA.clearODCA10; inline;
  23867. begin
  23868. pTDefRegMap(@Self)^.clr := $00000400;
  23869. end;
  23870. procedure TPORTA_ODCA.setODCA10(thebits : TBits_1); inline;
  23871. begin
  23872. if thebits = 0 then
  23873. pTDefRegMap(@Self)^.clr := $00000400
  23874. else
  23875. pTDefRegMap(@Self)^.&set := $00000400;
  23876. end;
  23877. function TPORTA_ODCA.getODCA10 : TBits_1; inline;
  23878. begin
  23879. getODCA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23880. end;
  23881. procedure TPORTA_ODCA.setODCA14; inline;
  23882. begin
  23883. pTDefRegMap(@Self)^.&set := $00004000;
  23884. end;
  23885. procedure TPORTA_ODCA.clearODCA14; inline;
  23886. begin
  23887. pTDefRegMap(@Self)^.clr := $00004000;
  23888. end;
  23889. procedure TPORTA_ODCA.setODCA14(thebits : TBits_1); inline;
  23890. begin
  23891. if thebits = 0 then
  23892. pTDefRegMap(@Self)^.clr := $00004000
  23893. else
  23894. pTDefRegMap(@Self)^.&set := $00004000;
  23895. end;
  23896. function TPORTA_ODCA.getODCA14 : TBits_1; inline;
  23897. begin
  23898. getODCA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23899. end;
  23900. procedure TPORTA_ODCA.setODCA15; inline;
  23901. begin
  23902. pTDefRegMap(@Self)^.&set := $00008000;
  23903. end;
  23904. procedure TPORTA_ODCA.clearODCA15; inline;
  23905. begin
  23906. pTDefRegMap(@Self)^.clr := $00008000;
  23907. end;
  23908. procedure TPORTA_ODCA.setODCA15(thebits : TBits_1); inline;
  23909. begin
  23910. if thebits = 0 then
  23911. pTDefRegMap(@Self)^.clr := $00008000
  23912. else
  23913. pTDefRegMap(@Self)^.&set := $00008000;
  23914. end;
  23915. function TPORTA_ODCA.getODCA15 : TBits_1; inline;
  23916. begin
  23917. getODCA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23918. end;
  23919. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  23920. begin
  23921. pTDefRegMap(@Self)^.val := thebits;
  23922. end;
  23923. function TPORTA_ODCA.getw : TBits_32; inline;
  23924. begin
  23925. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23926. end;
  23927. procedure TPORTB_TRISB.setTRISB0; inline;
  23928. begin
  23929. pTDefRegMap(@Self)^.&set := $00000001;
  23930. end;
  23931. procedure TPORTB_TRISB.clearTRISB0; inline;
  23932. begin
  23933. pTDefRegMap(@Self)^.clr := $00000001;
  23934. end;
  23935. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  23936. begin
  23937. if thebits = 0 then
  23938. pTDefRegMap(@Self)^.clr := $00000001
  23939. else
  23940. pTDefRegMap(@Self)^.&set := $00000001;
  23941. end;
  23942. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  23943. begin
  23944. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23945. end;
  23946. procedure TPORTB_TRISB.setTRISB1; inline;
  23947. begin
  23948. pTDefRegMap(@Self)^.&set := $00000002;
  23949. end;
  23950. procedure TPORTB_TRISB.clearTRISB1; inline;
  23951. begin
  23952. pTDefRegMap(@Self)^.clr := $00000002;
  23953. end;
  23954. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  23955. begin
  23956. if thebits = 0 then
  23957. pTDefRegMap(@Self)^.clr := $00000002
  23958. else
  23959. pTDefRegMap(@Self)^.&set := $00000002;
  23960. end;
  23961. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  23962. begin
  23963. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23964. end;
  23965. procedure TPORTB_TRISB.setTRISB2; inline;
  23966. begin
  23967. pTDefRegMap(@Self)^.&set := $00000004;
  23968. end;
  23969. procedure TPORTB_TRISB.clearTRISB2; inline;
  23970. begin
  23971. pTDefRegMap(@Self)^.clr := $00000004;
  23972. end;
  23973. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  23974. begin
  23975. if thebits = 0 then
  23976. pTDefRegMap(@Self)^.clr := $00000004
  23977. else
  23978. pTDefRegMap(@Self)^.&set := $00000004;
  23979. end;
  23980. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  23981. begin
  23982. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23983. end;
  23984. procedure TPORTB_TRISB.setTRISB3; inline;
  23985. begin
  23986. pTDefRegMap(@Self)^.&set := $00000008;
  23987. end;
  23988. procedure TPORTB_TRISB.clearTRISB3; inline;
  23989. begin
  23990. pTDefRegMap(@Self)^.clr := $00000008;
  23991. end;
  23992. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  23993. begin
  23994. if thebits = 0 then
  23995. pTDefRegMap(@Self)^.clr := $00000008
  23996. else
  23997. pTDefRegMap(@Self)^.&set := $00000008;
  23998. end;
  23999. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  24000. begin
  24001. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24002. end;
  24003. procedure TPORTB_TRISB.setTRISB4; inline;
  24004. begin
  24005. pTDefRegMap(@Self)^.&set := $00000010;
  24006. end;
  24007. procedure TPORTB_TRISB.clearTRISB4; inline;
  24008. begin
  24009. pTDefRegMap(@Self)^.clr := $00000010;
  24010. end;
  24011. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  24012. begin
  24013. if thebits = 0 then
  24014. pTDefRegMap(@Self)^.clr := $00000010
  24015. else
  24016. pTDefRegMap(@Self)^.&set := $00000010;
  24017. end;
  24018. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  24019. begin
  24020. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24021. end;
  24022. procedure TPORTB_TRISB.setTRISB5; inline;
  24023. begin
  24024. pTDefRegMap(@Self)^.&set := $00000020;
  24025. end;
  24026. procedure TPORTB_TRISB.clearTRISB5; inline;
  24027. begin
  24028. pTDefRegMap(@Self)^.clr := $00000020;
  24029. end;
  24030. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  24031. begin
  24032. if thebits = 0 then
  24033. pTDefRegMap(@Self)^.clr := $00000020
  24034. else
  24035. pTDefRegMap(@Self)^.&set := $00000020;
  24036. end;
  24037. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  24038. begin
  24039. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24040. end;
  24041. procedure TPORTB_TRISB.setTRISB6; inline;
  24042. begin
  24043. pTDefRegMap(@Self)^.&set := $00000040;
  24044. end;
  24045. procedure TPORTB_TRISB.clearTRISB6; inline;
  24046. begin
  24047. pTDefRegMap(@Self)^.clr := $00000040;
  24048. end;
  24049. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  24050. begin
  24051. if thebits = 0 then
  24052. pTDefRegMap(@Self)^.clr := $00000040
  24053. else
  24054. pTDefRegMap(@Self)^.&set := $00000040;
  24055. end;
  24056. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  24057. begin
  24058. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24059. end;
  24060. procedure TPORTB_TRISB.setTRISB7; inline;
  24061. begin
  24062. pTDefRegMap(@Self)^.&set := $00000080;
  24063. end;
  24064. procedure TPORTB_TRISB.clearTRISB7; inline;
  24065. begin
  24066. pTDefRegMap(@Self)^.clr := $00000080;
  24067. end;
  24068. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  24069. begin
  24070. if thebits = 0 then
  24071. pTDefRegMap(@Self)^.clr := $00000080
  24072. else
  24073. pTDefRegMap(@Self)^.&set := $00000080;
  24074. end;
  24075. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  24076. begin
  24077. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24078. end;
  24079. procedure TPORTB_TRISB.setTRISB8; inline;
  24080. begin
  24081. pTDefRegMap(@Self)^.&set := $00000100;
  24082. end;
  24083. procedure TPORTB_TRISB.clearTRISB8; inline;
  24084. begin
  24085. pTDefRegMap(@Self)^.clr := $00000100;
  24086. end;
  24087. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  24088. begin
  24089. if thebits = 0 then
  24090. pTDefRegMap(@Self)^.clr := $00000100
  24091. else
  24092. pTDefRegMap(@Self)^.&set := $00000100;
  24093. end;
  24094. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  24095. begin
  24096. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24097. end;
  24098. procedure TPORTB_TRISB.setTRISB9; inline;
  24099. begin
  24100. pTDefRegMap(@Self)^.&set := $00000200;
  24101. end;
  24102. procedure TPORTB_TRISB.clearTRISB9; inline;
  24103. begin
  24104. pTDefRegMap(@Self)^.clr := $00000200;
  24105. end;
  24106. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  24107. begin
  24108. if thebits = 0 then
  24109. pTDefRegMap(@Self)^.clr := $00000200
  24110. else
  24111. pTDefRegMap(@Self)^.&set := $00000200;
  24112. end;
  24113. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  24114. begin
  24115. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24116. end;
  24117. procedure TPORTB_TRISB.setTRISB10; inline;
  24118. begin
  24119. pTDefRegMap(@Self)^.&set := $00000400;
  24120. end;
  24121. procedure TPORTB_TRISB.clearTRISB10; inline;
  24122. begin
  24123. pTDefRegMap(@Self)^.clr := $00000400;
  24124. end;
  24125. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  24126. begin
  24127. if thebits = 0 then
  24128. pTDefRegMap(@Self)^.clr := $00000400
  24129. else
  24130. pTDefRegMap(@Self)^.&set := $00000400;
  24131. end;
  24132. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  24133. begin
  24134. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24135. end;
  24136. procedure TPORTB_TRISB.setTRISB11; inline;
  24137. begin
  24138. pTDefRegMap(@Self)^.&set := $00000800;
  24139. end;
  24140. procedure TPORTB_TRISB.clearTRISB11; inline;
  24141. begin
  24142. pTDefRegMap(@Self)^.clr := $00000800;
  24143. end;
  24144. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  24145. begin
  24146. if thebits = 0 then
  24147. pTDefRegMap(@Self)^.clr := $00000800
  24148. else
  24149. pTDefRegMap(@Self)^.&set := $00000800;
  24150. end;
  24151. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  24152. begin
  24153. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24154. end;
  24155. procedure TPORTB_TRISB.setTRISB12; inline;
  24156. begin
  24157. pTDefRegMap(@Self)^.&set := $00001000;
  24158. end;
  24159. procedure TPORTB_TRISB.clearTRISB12; inline;
  24160. begin
  24161. pTDefRegMap(@Self)^.clr := $00001000;
  24162. end;
  24163. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  24164. begin
  24165. if thebits = 0 then
  24166. pTDefRegMap(@Self)^.clr := $00001000
  24167. else
  24168. pTDefRegMap(@Self)^.&set := $00001000;
  24169. end;
  24170. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  24171. begin
  24172. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24173. end;
  24174. procedure TPORTB_TRISB.setTRISB13; inline;
  24175. begin
  24176. pTDefRegMap(@Self)^.&set := $00002000;
  24177. end;
  24178. procedure TPORTB_TRISB.clearTRISB13; inline;
  24179. begin
  24180. pTDefRegMap(@Self)^.clr := $00002000;
  24181. end;
  24182. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  24183. begin
  24184. if thebits = 0 then
  24185. pTDefRegMap(@Self)^.clr := $00002000
  24186. else
  24187. pTDefRegMap(@Self)^.&set := $00002000;
  24188. end;
  24189. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  24190. begin
  24191. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24192. end;
  24193. procedure TPORTB_TRISB.setTRISB14; inline;
  24194. begin
  24195. pTDefRegMap(@Self)^.&set := $00004000;
  24196. end;
  24197. procedure TPORTB_TRISB.clearTRISB14; inline;
  24198. begin
  24199. pTDefRegMap(@Self)^.clr := $00004000;
  24200. end;
  24201. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  24202. begin
  24203. if thebits = 0 then
  24204. pTDefRegMap(@Self)^.clr := $00004000
  24205. else
  24206. pTDefRegMap(@Self)^.&set := $00004000;
  24207. end;
  24208. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  24209. begin
  24210. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24211. end;
  24212. procedure TPORTB_TRISB.setTRISB15; inline;
  24213. begin
  24214. pTDefRegMap(@Self)^.&set := $00008000;
  24215. end;
  24216. procedure TPORTB_TRISB.clearTRISB15; inline;
  24217. begin
  24218. pTDefRegMap(@Self)^.clr := $00008000;
  24219. end;
  24220. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  24221. begin
  24222. if thebits = 0 then
  24223. pTDefRegMap(@Self)^.clr := $00008000
  24224. else
  24225. pTDefRegMap(@Self)^.&set := $00008000;
  24226. end;
  24227. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  24228. begin
  24229. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24230. end;
  24231. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  24232. begin
  24233. pTDefRegMap(@Self)^.val := thebits;
  24234. end;
  24235. function TPORTB_TRISB.getw : TBits_32; inline;
  24236. begin
  24237. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24238. end;
  24239. procedure TPORTB_PORTB.setRB0; inline;
  24240. begin
  24241. pTDefRegMap(@Self)^.&set := $00000001;
  24242. end;
  24243. procedure TPORTB_PORTB.clearRB0; inline;
  24244. begin
  24245. pTDefRegMap(@Self)^.clr := $00000001;
  24246. end;
  24247. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  24248. begin
  24249. if thebits = 0 then
  24250. pTDefRegMap(@Self)^.clr := $00000001
  24251. else
  24252. pTDefRegMap(@Self)^.&set := $00000001;
  24253. end;
  24254. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  24255. begin
  24256. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24257. end;
  24258. procedure TPORTB_PORTB.setRB1; inline;
  24259. begin
  24260. pTDefRegMap(@Self)^.&set := $00000002;
  24261. end;
  24262. procedure TPORTB_PORTB.clearRB1; inline;
  24263. begin
  24264. pTDefRegMap(@Self)^.clr := $00000002;
  24265. end;
  24266. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  24267. begin
  24268. if thebits = 0 then
  24269. pTDefRegMap(@Self)^.clr := $00000002
  24270. else
  24271. pTDefRegMap(@Self)^.&set := $00000002;
  24272. end;
  24273. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  24274. begin
  24275. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24276. end;
  24277. procedure TPORTB_PORTB.setRB2; inline;
  24278. begin
  24279. pTDefRegMap(@Self)^.&set := $00000004;
  24280. end;
  24281. procedure TPORTB_PORTB.clearRB2; inline;
  24282. begin
  24283. pTDefRegMap(@Self)^.clr := $00000004;
  24284. end;
  24285. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  24286. begin
  24287. if thebits = 0 then
  24288. pTDefRegMap(@Self)^.clr := $00000004
  24289. else
  24290. pTDefRegMap(@Self)^.&set := $00000004;
  24291. end;
  24292. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  24293. begin
  24294. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24295. end;
  24296. procedure TPORTB_PORTB.setRB3; inline;
  24297. begin
  24298. pTDefRegMap(@Self)^.&set := $00000008;
  24299. end;
  24300. procedure TPORTB_PORTB.clearRB3; inline;
  24301. begin
  24302. pTDefRegMap(@Self)^.clr := $00000008;
  24303. end;
  24304. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  24305. begin
  24306. if thebits = 0 then
  24307. pTDefRegMap(@Self)^.clr := $00000008
  24308. else
  24309. pTDefRegMap(@Self)^.&set := $00000008;
  24310. end;
  24311. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  24312. begin
  24313. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24314. end;
  24315. procedure TPORTB_PORTB.setRB4; inline;
  24316. begin
  24317. pTDefRegMap(@Self)^.&set := $00000010;
  24318. end;
  24319. procedure TPORTB_PORTB.clearRB4; inline;
  24320. begin
  24321. pTDefRegMap(@Self)^.clr := $00000010;
  24322. end;
  24323. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  24324. begin
  24325. if thebits = 0 then
  24326. pTDefRegMap(@Self)^.clr := $00000010
  24327. else
  24328. pTDefRegMap(@Self)^.&set := $00000010;
  24329. end;
  24330. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  24331. begin
  24332. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24333. end;
  24334. procedure TPORTB_PORTB.setRB5; inline;
  24335. begin
  24336. pTDefRegMap(@Self)^.&set := $00000020;
  24337. end;
  24338. procedure TPORTB_PORTB.clearRB5; inline;
  24339. begin
  24340. pTDefRegMap(@Self)^.clr := $00000020;
  24341. end;
  24342. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  24343. begin
  24344. if thebits = 0 then
  24345. pTDefRegMap(@Self)^.clr := $00000020
  24346. else
  24347. pTDefRegMap(@Self)^.&set := $00000020;
  24348. end;
  24349. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  24350. begin
  24351. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24352. end;
  24353. procedure TPORTB_PORTB.setRB6; inline;
  24354. begin
  24355. pTDefRegMap(@Self)^.&set := $00000040;
  24356. end;
  24357. procedure TPORTB_PORTB.clearRB6; inline;
  24358. begin
  24359. pTDefRegMap(@Self)^.clr := $00000040;
  24360. end;
  24361. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  24362. begin
  24363. if thebits = 0 then
  24364. pTDefRegMap(@Self)^.clr := $00000040
  24365. else
  24366. pTDefRegMap(@Self)^.&set := $00000040;
  24367. end;
  24368. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  24369. begin
  24370. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24371. end;
  24372. procedure TPORTB_PORTB.setRB7; inline;
  24373. begin
  24374. pTDefRegMap(@Self)^.&set := $00000080;
  24375. end;
  24376. procedure TPORTB_PORTB.clearRB7; inline;
  24377. begin
  24378. pTDefRegMap(@Self)^.clr := $00000080;
  24379. end;
  24380. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  24381. begin
  24382. if thebits = 0 then
  24383. pTDefRegMap(@Self)^.clr := $00000080
  24384. else
  24385. pTDefRegMap(@Self)^.&set := $00000080;
  24386. end;
  24387. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  24388. begin
  24389. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24390. end;
  24391. procedure TPORTB_PORTB.setRB8; inline;
  24392. begin
  24393. pTDefRegMap(@Self)^.&set := $00000100;
  24394. end;
  24395. procedure TPORTB_PORTB.clearRB8; inline;
  24396. begin
  24397. pTDefRegMap(@Self)^.clr := $00000100;
  24398. end;
  24399. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  24400. begin
  24401. if thebits = 0 then
  24402. pTDefRegMap(@Self)^.clr := $00000100
  24403. else
  24404. pTDefRegMap(@Self)^.&set := $00000100;
  24405. end;
  24406. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  24407. begin
  24408. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24409. end;
  24410. procedure TPORTB_PORTB.setRB9; inline;
  24411. begin
  24412. pTDefRegMap(@Self)^.&set := $00000200;
  24413. end;
  24414. procedure TPORTB_PORTB.clearRB9; inline;
  24415. begin
  24416. pTDefRegMap(@Self)^.clr := $00000200;
  24417. end;
  24418. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  24419. begin
  24420. if thebits = 0 then
  24421. pTDefRegMap(@Self)^.clr := $00000200
  24422. else
  24423. pTDefRegMap(@Self)^.&set := $00000200;
  24424. end;
  24425. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  24426. begin
  24427. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24428. end;
  24429. procedure TPORTB_PORTB.setRB10; inline;
  24430. begin
  24431. pTDefRegMap(@Self)^.&set := $00000400;
  24432. end;
  24433. procedure TPORTB_PORTB.clearRB10; inline;
  24434. begin
  24435. pTDefRegMap(@Self)^.clr := $00000400;
  24436. end;
  24437. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  24438. begin
  24439. if thebits = 0 then
  24440. pTDefRegMap(@Self)^.clr := $00000400
  24441. else
  24442. pTDefRegMap(@Self)^.&set := $00000400;
  24443. end;
  24444. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  24445. begin
  24446. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24447. end;
  24448. procedure TPORTB_PORTB.setRB11; inline;
  24449. begin
  24450. pTDefRegMap(@Self)^.&set := $00000800;
  24451. end;
  24452. procedure TPORTB_PORTB.clearRB11; inline;
  24453. begin
  24454. pTDefRegMap(@Self)^.clr := $00000800;
  24455. end;
  24456. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  24457. begin
  24458. if thebits = 0 then
  24459. pTDefRegMap(@Self)^.clr := $00000800
  24460. else
  24461. pTDefRegMap(@Self)^.&set := $00000800;
  24462. end;
  24463. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  24464. begin
  24465. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24466. end;
  24467. procedure TPORTB_PORTB.setRB12; inline;
  24468. begin
  24469. pTDefRegMap(@Self)^.&set := $00001000;
  24470. end;
  24471. procedure TPORTB_PORTB.clearRB12; inline;
  24472. begin
  24473. pTDefRegMap(@Self)^.clr := $00001000;
  24474. end;
  24475. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  24476. begin
  24477. if thebits = 0 then
  24478. pTDefRegMap(@Self)^.clr := $00001000
  24479. else
  24480. pTDefRegMap(@Self)^.&set := $00001000;
  24481. end;
  24482. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  24483. begin
  24484. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24485. end;
  24486. procedure TPORTB_PORTB.setRB13; inline;
  24487. begin
  24488. pTDefRegMap(@Self)^.&set := $00002000;
  24489. end;
  24490. procedure TPORTB_PORTB.clearRB13; inline;
  24491. begin
  24492. pTDefRegMap(@Self)^.clr := $00002000;
  24493. end;
  24494. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  24495. begin
  24496. if thebits = 0 then
  24497. pTDefRegMap(@Self)^.clr := $00002000
  24498. else
  24499. pTDefRegMap(@Self)^.&set := $00002000;
  24500. end;
  24501. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  24502. begin
  24503. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24504. end;
  24505. procedure TPORTB_PORTB.setRB14; inline;
  24506. begin
  24507. pTDefRegMap(@Self)^.&set := $00004000;
  24508. end;
  24509. procedure TPORTB_PORTB.clearRB14; inline;
  24510. begin
  24511. pTDefRegMap(@Self)^.clr := $00004000;
  24512. end;
  24513. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  24514. begin
  24515. if thebits = 0 then
  24516. pTDefRegMap(@Self)^.clr := $00004000
  24517. else
  24518. pTDefRegMap(@Self)^.&set := $00004000;
  24519. end;
  24520. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  24521. begin
  24522. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24523. end;
  24524. procedure TPORTB_PORTB.setRB15; inline;
  24525. begin
  24526. pTDefRegMap(@Self)^.&set := $00008000;
  24527. end;
  24528. procedure TPORTB_PORTB.clearRB15; inline;
  24529. begin
  24530. pTDefRegMap(@Self)^.clr := $00008000;
  24531. end;
  24532. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  24533. begin
  24534. if thebits = 0 then
  24535. pTDefRegMap(@Self)^.clr := $00008000
  24536. else
  24537. pTDefRegMap(@Self)^.&set := $00008000;
  24538. end;
  24539. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  24540. begin
  24541. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24542. end;
  24543. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  24544. begin
  24545. pTDefRegMap(@Self)^.val := thebits;
  24546. end;
  24547. function TPORTB_PORTB.getw : TBits_32; inline;
  24548. begin
  24549. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24550. end;
  24551. procedure TPORTB_LATB.setLATB0; inline;
  24552. begin
  24553. pTDefRegMap(@Self)^.&set := $00000001;
  24554. end;
  24555. procedure TPORTB_LATB.clearLATB0; inline;
  24556. begin
  24557. pTDefRegMap(@Self)^.clr := $00000001;
  24558. end;
  24559. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  24560. begin
  24561. if thebits = 0 then
  24562. pTDefRegMap(@Self)^.clr := $00000001
  24563. else
  24564. pTDefRegMap(@Self)^.&set := $00000001;
  24565. end;
  24566. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  24567. begin
  24568. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24569. end;
  24570. procedure TPORTB_LATB.setLATB1; inline;
  24571. begin
  24572. pTDefRegMap(@Self)^.&set := $00000002;
  24573. end;
  24574. procedure TPORTB_LATB.clearLATB1; inline;
  24575. begin
  24576. pTDefRegMap(@Self)^.clr := $00000002;
  24577. end;
  24578. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  24579. begin
  24580. if thebits = 0 then
  24581. pTDefRegMap(@Self)^.clr := $00000002
  24582. else
  24583. pTDefRegMap(@Self)^.&set := $00000002;
  24584. end;
  24585. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  24586. begin
  24587. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24588. end;
  24589. procedure TPORTB_LATB.setLATB2; inline;
  24590. begin
  24591. pTDefRegMap(@Self)^.&set := $00000004;
  24592. end;
  24593. procedure TPORTB_LATB.clearLATB2; inline;
  24594. begin
  24595. pTDefRegMap(@Self)^.clr := $00000004;
  24596. end;
  24597. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  24598. begin
  24599. if thebits = 0 then
  24600. pTDefRegMap(@Self)^.clr := $00000004
  24601. else
  24602. pTDefRegMap(@Self)^.&set := $00000004;
  24603. end;
  24604. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  24605. begin
  24606. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24607. end;
  24608. procedure TPORTB_LATB.setLATB3; inline;
  24609. begin
  24610. pTDefRegMap(@Self)^.&set := $00000008;
  24611. end;
  24612. procedure TPORTB_LATB.clearLATB3; inline;
  24613. begin
  24614. pTDefRegMap(@Self)^.clr := $00000008;
  24615. end;
  24616. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  24617. begin
  24618. if thebits = 0 then
  24619. pTDefRegMap(@Self)^.clr := $00000008
  24620. else
  24621. pTDefRegMap(@Self)^.&set := $00000008;
  24622. end;
  24623. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  24624. begin
  24625. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24626. end;
  24627. procedure TPORTB_LATB.setLATB4; inline;
  24628. begin
  24629. pTDefRegMap(@Self)^.&set := $00000010;
  24630. end;
  24631. procedure TPORTB_LATB.clearLATB4; inline;
  24632. begin
  24633. pTDefRegMap(@Self)^.clr := $00000010;
  24634. end;
  24635. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  24636. begin
  24637. if thebits = 0 then
  24638. pTDefRegMap(@Self)^.clr := $00000010
  24639. else
  24640. pTDefRegMap(@Self)^.&set := $00000010;
  24641. end;
  24642. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  24643. begin
  24644. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24645. end;
  24646. procedure TPORTB_LATB.setLATB5; inline;
  24647. begin
  24648. pTDefRegMap(@Self)^.&set := $00000020;
  24649. end;
  24650. procedure TPORTB_LATB.clearLATB5; inline;
  24651. begin
  24652. pTDefRegMap(@Self)^.clr := $00000020;
  24653. end;
  24654. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  24655. begin
  24656. if thebits = 0 then
  24657. pTDefRegMap(@Self)^.clr := $00000020
  24658. else
  24659. pTDefRegMap(@Self)^.&set := $00000020;
  24660. end;
  24661. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  24662. begin
  24663. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24664. end;
  24665. procedure TPORTB_LATB.setLATB6; inline;
  24666. begin
  24667. pTDefRegMap(@Self)^.&set := $00000040;
  24668. end;
  24669. procedure TPORTB_LATB.clearLATB6; inline;
  24670. begin
  24671. pTDefRegMap(@Self)^.clr := $00000040;
  24672. end;
  24673. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  24674. begin
  24675. if thebits = 0 then
  24676. pTDefRegMap(@Self)^.clr := $00000040
  24677. else
  24678. pTDefRegMap(@Self)^.&set := $00000040;
  24679. end;
  24680. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  24681. begin
  24682. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24683. end;
  24684. procedure TPORTB_LATB.setLATB7; inline;
  24685. begin
  24686. pTDefRegMap(@Self)^.&set := $00000080;
  24687. end;
  24688. procedure TPORTB_LATB.clearLATB7; inline;
  24689. begin
  24690. pTDefRegMap(@Self)^.clr := $00000080;
  24691. end;
  24692. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  24693. begin
  24694. if thebits = 0 then
  24695. pTDefRegMap(@Self)^.clr := $00000080
  24696. else
  24697. pTDefRegMap(@Self)^.&set := $00000080;
  24698. end;
  24699. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  24700. begin
  24701. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24702. end;
  24703. procedure TPORTB_LATB.setLATB8; inline;
  24704. begin
  24705. pTDefRegMap(@Self)^.&set := $00000100;
  24706. end;
  24707. procedure TPORTB_LATB.clearLATB8; inline;
  24708. begin
  24709. pTDefRegMap(@Self)^.clr := $00000100;
  24710. end;
  24711. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  24712. begin
  24713. if thebits = 0 then
  24714. pTDefRegMap(@Self)^.clr := $00000100
  24715. else
  24716. pTDefRegMap(@Self)^.&set := $00000100;
  24717. end;
  24718. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  24719. begin
  24720. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24721. end;
  24722. procedure TPORTB_LATB.setLATB9; inline;
  24723. begin
  24724. pTDefRegMap(@Self)^.&set := $00000200;
  24725. end;
  24726. procedure TPORTB_LATB.clearLATB9; inline;
  24727. begin
  24728. pTDefRegMap(@Self)^.clr := $00000200;
  24729. end;
  24730. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  24731. begin
  24732. if thebits = 0 then
  24733. pTDefRegMap(@Self)^.clr := $00000200
  24734. else
  24735. pTDefRegMap(@Self)^.&set := $00000200;
  24736. end;
  24737. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  24738. begin
  24739. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24740. end;
  24741. procedure TPORTB_LATB.setLATB10; inline;
  24742. begin
  24743. pTDefRegMap(@Self)^.&set := $00000400;
  24744. end;
  24745. procedure TPORTB_LATB.clearLATB10; inline;
  24746. begin
  24747. pTDefRegMap(@Self)^.clr := $00000400;
  24748. end;
  24749. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  24750. begin
  24751. if thebits = 0 then
  24752. pTDefRegMap(@Self)^.clr := $00000400
  24753. else
  24754. pTDefRegMap(@Self)^.&set := $00000400;
  24755. end;
  24756. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  24757. begin
  24758. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24759. end;
  24760. procedure TPORTB_LATB.setLATB11; inline;
  24761. begin
  24762. pTDefRegMap(@Self)^.&set := $00000800;
  24763. end;
  24764. procedure TPORTB_LATB.clearLATB11; inline;
  24765. begin
  24766. pTDefRegMap(@Self)^.clr := $00000800;
  24767. end;
  24768. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  24769. begin
  24770. if thebits = 0 then
  24771. pTDefRegMap(@Self)^.clr := $00000800
  24772. else
  24773. pTDefRegMap(@Self)^.&set := $00000800;
  24774. end;
  24775. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  24776. begin
  24777. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24778. end;
  24779. procedure TPORTB_LATB.setLATB12; inline;
  24780. begin
  24781. pTDefRegMap(@Self)^.&set := $00001000;
  24782. end;
  24783. procedure TPORTB_LATB.clearLATB12; inline;
  24784. begin
  24785. pTDefRegMap(@Self)^.clr := $00001000;
  24786. end;
  24787. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  24788. begin
  24789. if thebits = 0 then
  24790. pTDefRegMap(@Self)^.clr := $00001000
  24791. else
  24792. pTDefRegMap(@Self)^.&set := $00001000;
  24793. end;
  24794. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  24795. begin
  24796. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24797. end;
  24798. procedure TPORTB_LATB.setLATB13; inline;
  24799. begin
  24800. pTDefRegMap(@Self)^.&set := $00002000;
  24801. end;
  24802. procedure TPORTB_LATB.clearLATB13; inline;
  24803. begin
  24804. pTDefRegMap(@Self)^.clr := $00002000;
  24805. end;
  24806. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  24807. begin
  24808. if thebits = 0 then
  24809. pTDefRegMap(@Self)^.clr := $00002000
  24810. else
  24811. pTDefRegMap(@Self)^.&set := $00002000;
  24812. end;
  24813. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  24814. begin
  24815. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24816. end;
  24817. procedure TPORTB_LATB.setLATB14; inline;
  24818. begin
  24819. pTDefRegMap(@Self)^.&set := $00004000;
  24820. end;
  24821. procedure TPORTB_LATB.clearLATB14; inline;
  24822. begin
  24823. pTDefRegMap(@Self)^.clr := $00004000;
  24824. end;
  24825. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  24826. begin
  24827. if thebits = 0 then
  24828. pTDefRegMap(@Self)^.clr := $00004000
  24829. else
  24830. pTDefRegMap(@Self)^.&set := $00004000;
  24831. end;
  24832. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  24833. begin
  24834. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24835. end;
  24836. procedure TPORTB_LATB.setLATB15; inline;
  24837. begin
  24838. pTDefRegMap(@Self)^.&set := $00008000;
  24839. end;
  24840. procedure TPORTB_LATB.clearLATB15; inline;
  24841. begin
  24842. pTDefRegMap(@Self)^.clr := $00008000;
  24843. end;
  24844. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  24845. begin
  24846. if thebits = 0 then
  24847. pTDefRegMap(@Self)^.clr := $00008000
  24848. else
  24849. pTDefRegMap(@Self)^.&set := $00008000;
  24850. end;
  24851. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  24852. begin
  24853. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24854. end;
  24855. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  24856. begin
  24857. pTDefRegMap(@Self)^.val := thebits;
  24858. end;
  24859. function TPORTB_LATB.getw : TBits_32; inline;
  24860. begin
  24861. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24862. end;
  24863. procedure TPORTB_ODCB.setODCB0; inline;
  24864. begin
  24865. pTDefRegMap(@Self)^.&set := $00000001;
  24866. end;
  24867. procedure TPORTB_ODCB.clearODCB0; inline;
  24868. begin
  24869. pTDefRegMap(@Self)^.clr := $00000001;
  24870. end;
  24871. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  24872. begin
  24873. if thebits = 0 then
  24874. pTDefRegMap(@Self)^.clr := $00000001
  24875. else
  24876. pTDefRegMap(@Self)^.&set := $00000001;
  24877. end;
  24878. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  24879. begin
  24880. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24881. end;
  24882. procedure TPORTB_ODCB.setODCB1; inline;
  24883. begin
  24884. pTDefRegMap(@Self)^.&set := $00000002;
  24885. end;
  24886. procedure TPORTB_ODCB.clearODCB1; inline;
  24887. begin
  24888. pTDefRegMap(@Self)^.clr := $00000002;
  24889. end;
  24890. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  24891. begin
  24892. if thebits = 0 then
  24893. pTDefRegMap(@Self)^.clr := $00000002
  24894. else
  24895. pTDefRegMap(@Self)^.&set := $00000002;
  24896. end;
  24897. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  24898. begin
  24899. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24900. end;
  24901. procedure TPORTB_ODCB.setODCB2; inline;
  24902. begin
  24903. pTDefRegMap(@Self)^.&set := $00000004;
  24904. end;
  24905. procedure TPORTB_ODCB.clearODCB2; inline;
  24906. begin
  24907. pTDefRegMap(@Self)^.clr := $00000004;
  24908. end;
  24909. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  24910. begin
  24911. if thebits = 0 then
  24912. pTDefRegMap(@Self)^.clr := $00000004
  24913. else
  24914. pTDefRegMap(@Self)^.&set := $00000004;
  24915. end;
  24916. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  24917. begin
  24918. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24919. end;
  24920. procedure TPORTB_ODCB.setODCB3; inline;
  24921. begin
  24922. pTDefRegMap(@Self)^.&set := $00000008;
  24923. end;
  24924. procedure TPORTB_ODCB.clearODCB3; inline;
  24925. begin
  24926. pTDefRegMap(@Self)^.clr := $00000008;
  24927. end;
  24928. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  24929. begin
  24930. if thebits = 0 then
  24931. pTDefRegMap(@Self)^.clr := $00000008
  24932. else
  24933. pTDefRegMap(@Self)^.&set := $00000008;
  24934. end;
  24935. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  24936. begin
  24937. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24938. end;
  24939. procedure TPORTB_ODCB.setODCB4; inline;
  24940. begin
  24941. pTDefRegMap(@Self)^.&set := $00000010;
  24942. end;
  24943. procedure TPORTB_ODCB.clearODCB4; inline;
  24944. begin
  24945. pTDefRegMap(@Self)^.clr := $00000010;
  24946. end;
  24947. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  24948. begin
  24949. if thebits = 0 then
  24950. pTDefRegMap(@Self)^.clr := $00000010
  24951. else
  24952. pTDefRegMap(@Self)^.&set := $00000010;
  24953. end;
  24954. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  24955. begin
  24956. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24957. end;
  24958. procedure TPORTB_ODCB.setODCB5; inline;
  24959. begin
  24960. pTDefRegMap(@Self)^.&set := $00000020;
  24961. end;
  24962. procedure TPORTB_ODCB.clearODCB5; inline;
  24963. begin
  24964. pTDefRegMap(@Self)^.clr := $00000020;
  24965. end;
  24966. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  24967. begin
  24968. if thebits = 0 then
  24969. pTDefRegMap(@Self)^.clr := $00000020
  24970. else
  24971. pTDefRegMap(@Self)^.&set := $00000020;
  24972. end;
  24973. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  24974. begin
  24975. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24976. end;
  24977. procedure TPORTB_ODCB.setODCB6; inline;
  24978. begin
  24979. pTDefRegMap(@Self)^.&set := $00000040;
  24980. end;
  24981. procedure TPORTB_ODCB.clearODCB6; inline;
  24982. begin
  24983. pTDefRegMap(@Self)^.clr := $00000040;
  24984. end;
  24985. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  24986. begin
  24987. if thebits = 0 then
  24988. pTDefRegMap(@Self)^.clr := $00000040
  24989. else
  24990. pTDefRegMap(@Self)^.&set := $00000040;
  24991. end;
  24992. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  24993. begin
  24994. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24995. end;
  24996. procedure TPORTB_ODCB.setODCB7; inline;
  24997. begin
  24998. pTDefRegMap(@Self)^.&set := $00000080;
  24999. end;
  25000. procedure TPORTB_ODCB.clearODCB7; inline;
  25001. begin
  25002. pTDefRegMap(@Self)^.clr := $00000080;
  25003. end;
  25004. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  25005. begin
  25006. if thebits = 0 then
  25007. pTDefRegMap(@Self)^.clr := $00000080
  25008. else
  25009. pTDefRegMap(@Self)^.&set := $00000080;
  25010. end;
  25011. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  25012. begin
  25013. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25014. end;
  25015. procedure TPORTB_ODCB.setODCB8; inline;
  25016. begin
  25017. pTDefRegMap(@Self)^.&set := $00000100;
  25018. end;
  25019. procedure TPORTB_ODCB.clearODCB8; inline;
  25020. begin
  25021. pTDefRegMap(@Self)^.clr := $00000100;
  25022. end;
  25023. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  25024. begin
  25025. if thebits = 0 then
  25026. pTDefRegMap(@Self)^.clr := $00000100
  25027. else
  25028. pTDefRegMap(@Self)^.&set := $00000100;
  25029. end;
  25030. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  25031. begin
  25032. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25033. end;
  25034. procedure TPORTB_ODCB.setODCB9; inline;
  25035. begin
  25036. pTDefRegMap(@Self)^.&set := $00000200;
  25037. end;
  25038. procedure TPORTB_ODCB.clearODCB9; inline;
  25039. begin
  25040. pTDefRegMap(@Self)^.clr := $00000200;
  25041. end;
  25042. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  25043. begin
  25044. if thebits = 0 then
  25045. pTDefRegMap(@Self)^.clr := $00000200
  25046. else
  25047. pTDefRegMap(@Self)^.&set := $00000200;
  25048. end;
  25049. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  25050. begin
  25051. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25052. end;
  25053. procedure TPORTB_ODCB.setODCB10; inline;
  25054. begin
  25055. pTDefRegMap(@Self)^.&set := $00000400;
  25056. end;
  25057. procedure TPORTB_ODCB.clearODCB10; inline;
  25058. begin
  25059. pTDefRegMap(@Self)^.clr := $00000400;
  25060. end;
  25061. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  25062. begin
  25063. if thebits = 0 then
  25064. pTDefRegMap(@Self)^.clr := $00000400
  25065. else
  25066. pTDefRegMap(@Self)^.&set := $00000400;
  25067. end;
  25068. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  25069. begin
  25070. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25071. end;
  25072. procedure TPORTB_ODCB.setODCB11; inline;
  25073. begin
  25074. pTDefRegMap(@Self)^.&set := $00000800;
  25075. end;
  25076. procedure TPORTB_ODCB.clearODCB11; inline;
  25077. begin
  25078. pTDefRegMap(@Self)^.clr := $00000800;
  25079. end;
  25080. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  25081. begin
  25082. if thebits = 0 then
  25083. pTDefRegMap(@Self)^.clr := $00000800
  25084. else
  25085. pTDefRegMap(@Self)^.&set := $00000800;
  25086. end;
  25087. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  25088. begin
  25089. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25090. end;
  25091. procedure TPORTB_ODCB.setODCB12; inline;
  25092. begin
  25093. pTDefRegMap(@Self)^.&set := $00001000;
  25094. end;
  25095. procedure TPORTB_ODCB.clearODCB12; inline;
  25096. begin
  25097. pTDefRegMap(@Self)^.clr := $00001000;
  25098. end;
  25099. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  25100. begin
  25101. if thebits = 0 then
  25102. pTDefRegMap(@Self)^.clr := $00001000
  25103. else
  25104. pTDefRegMap(@Self)^.&set := $00001000;
  25105. end;
  25106. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  25107. begin
  25108. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25109. end;
  25110. procedure TPORTB_ODCB.setODCB13; inline;
  25111. begin
  25112. pTDefRegMap(@Self)^.&set := $00002000;
  25113. end;
  25114. procedure TPORTB_ODCB.clearODCB13; inline;
  25115. begin
  25116. pTDefRegMap(@Self)^.clr := $00002000;
  25117. end;
  25118. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  25119. begin
  25120. if thebits = 0 then
  25121. pTDefRegMap(@Self)^.clr := $00002000
  25122. else
  25123. pTDefRegMap(@Self)^.&set := $00002000;
  25124. end;
  25125. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  25126. begin
  25127. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25128. end;
  25129. procedure TPORTB_ODCB.setODCB14; inline;
  25130. begin
  25131. pTDefRegMap(@Self)^.&set := $00004000;
  25132. end;
  25133. procedure TPORTB_ODCB.clearODCB14; inline;
  25134. begin
  25135. pTDefRegMap(@Self)^.clr := $00004000;
  25136. end;
  25137. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  25138. begin
  25139. if thebits = 0 then
  25140. pTDefRegMap(@Self)^.clr := $00004000
  25141. else
  25142. pTDefRegMap(@Self)^.&set := $00004000;
  25143. end;
  25144. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  25145. begin
  25146. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25147. end;
  25148. procedure TPORTB_ODCB.setODCB15; inline;
  25149. begin
  25150. pTDefRegMap(@Self)^.&set := $00008000;
  25151. end;
  25152. procedure TPORTB_ODCB.clearODCB15; inline;
  25153. begin
  25154. pTDefRegMap(@Self)^.clr := $00008000;
  25155. end;
  25156. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  25157. begin
  25158. if thebits = 0 then
  25159. pTDefRegMap(@Self)^.clr := $00008000
  25160. else
  25161. pTDefRegMap(@Self)^.&set := $00008000;
  25162. end;
  25163. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  25164. begin
  25165. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25166. end;
  25167. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  25168. begin
  25169. pTDefRegMap(@Self)^.val := thebits;
  25170. end;
  25171. function TPORTB_ODCB.getw : TBits_32; inline;
  25172. begin
  25173. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25174. end;
  25175. procedure TPORTC_TRISC.setTRISC1; inline;
  25176. begin
  25177. pTDefRegMap(@Self)^.&set := $00000002;
  25178. end;
  25179. procedure TPORTC_TRISC.clearTRISC1; inline;
  25180. begin
  25181. pTDefRegMap(@Self)^.clr := $00000002;
  25182. end;
  25183. procedure TPORTC_TRISC.setTRISC1(thebits : TBits_1); inline;
  25184. begin
  25185. if thebits = 0 then
  25186. pTDefRegMap(@Self)^.clr := $00000002
  25187. else
  25188. pTDefRegMap(@Self)^.&set := $00000002;
  25189. end;
  25190. function TPORTC_TRISC.getTRISC1 : TBits_1; inline;
  25191. begin
  25192. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25193. end;
  25194. procedure TPORTC_TRISC.setTRISC2; inline;
  25195. begin
  25196. pTDefRegMap(@Self)^.&set := $00000004;
  25197. end;
  25198. procedure TPORTC_TRISC.clearTRISC2; inline;
  25199. begin
  25200. pTDefRegMap(@Self)^.clr := $00000004;
  25201. end;
  25202. procedure TPORTC_TRISC.setTRISC2(thebits : TBits_1); inline;
  25203. begin
  25204. if thebits = 0 then
  25205. pTDefRegMap(@Self)^.clr := $00000004
  25206. else
  25207. pTDefRegMap(@Self)^.&set := $00000004;
  25208. end;
  25209. function TPORTC_TRISC.getTRISC2 : TBits_1; inline;
  25210. begin
  25211. getTRISC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25212. end;
  25213. procedure TPORTC_TRISC.setTRISC3; inline;
  25214. begin
  25215. pTDefRegMap(@Self)^.&set := $00000008;
  25216. end;
  25217. procedure TPORTC_TRISC.clearTRISC3; inline;
  25218. begin
  25219. pTDefRegMap(@Self)^.clr := $00000008;
  25220. end;
  25221. procedure TPORTC_TRISC.setTRISC3(thebits : TBits_1); inline;
  25222. begin
  25223. if thebits = 0 then
  25224. pTDefRegMap(@Self)^.clr := $00000008
  25225. else
  25226. pTDefRegMap(@Self)^.&set := $00000008;
  25227. end;
  25228. function TPORTC_TRISC.getTRISC3 : TBits_1; inline;
  25229. begin
  25230. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25231. end;
  25232. procedure TPORTC_TRISC.setTRISC4; inline;
  25233. begin
  25234. pTDefRegMap(@Self)^.&set := $00000010;
  25235. end;
  25236. procedure TPORTC_TRISC.clearTRISC4; inline;
  25237. begin
  25238. pTDefRegMap(@Self)^.clr := $00000010;
  25239. end;
  25240. procedure TPORTC_TRISC.setTRISC4(thebits : TBits_1); inline;
  25241. begin
  25242. if thebits = 0 then
  25243. pTDefRegMap(@Self)^.clr := $00000010
  25244. else
  25245. pTDefRegMap(@Self)^.&set := $00000010;
  25246. end;
  25247. function TPORTC_TRISC.getTRISC4 : TBits_1; inline;
  25248. begin
  25249. getTRISC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25250. end;
  25251. procedure TPORTC_TRISC.setTRISC12; inline;
  25252. begin
  25253. pTDefRegMap(@Self)^.&set := $00001000;
  25254. end;
  25255. procedure TPORTC_TRISC.clearTRISC12; inline;
  25256. begin
  25257. pTDefRegMap(@Self)^.clr := $00001000;
  25258. end;
  25259. procedure TPORTC_TRISC.setTRISC12(thebits : TBits_1); inline;
  25260. begin
  25261. if thebits = 0 then
  25262. pTDefRegMap(@Self)^.clr := $00001000
  25263. else
  25264. pTDefRegMap(@Self)^.&set := $00001000;
  25265. end;
  25266. function TPORTC_TRISC.getTRISC12 : TBits_1; inline;
  25267. begin
  25268. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25269. end;
  25270. procedure TPORTC_TRISC.setTRISC13; inline;
  25271. begin
  25272. pTDefRegMap(@Self)^.&set := $00002000;
  25273. end;
  25274. procedure TPORTC_TRISC.clearTRISC13; inline;
  25275. begin
  25276. pTDefRegMap(@Self)^.clr := $00002000;
  25277. end;
  25278. procedure TPORTC_TRISC.setTRISC13(thebits : TBits_1); inline;
  25279. begin
  25280. if thebits = 0 then
  25281. pTDefRegMap(@Self)^.clr := $00002000
  25282. else
  25283. pTDefRegMap(@Self)^.&set := $00002000;
  25284. end;
  25285. function TPORTC_TRISC.getTRISC13 : TBits_1; inline;
  25286. begin
  25287. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25288. end;
  25289. procedure TPORTC_TRISC.setTRISC14; inline;
  25290. begin
  25291. pTDefRegMap(@Self)^.&set := $00004000;
  25292. end;
  25293. procedure TPORTC_TRISC.clearTRISC14; inline;
  25294. begin
  25295. pTDefRegMap(@Self)^.clr := $00004000;
  25296. end;
  25297. procedure TPORTC_TRISC.setTRISC14(thebits : TBits_1); inline;
  25298. begin
  25299. if thebits = 0 then
  25300. pTDefRegMap(@Self)^.clr := $00004000
  25301. else
  25302. pTDefRegMap(@Self)^.&set := $00004000;
  25303. end;
  25304. function TPORTC_TRISC.getTRISC14 : TBits_1; inline;
  25305. begin
  25306. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25307. end;
  25308. procedure TPORTC_TRISC.setTRISC15; inline;
  25309. begin
  25310. pTDefRegMap(@Self)^.&set := $00008000;
  25311. end;
  25312. procedure TPORTC_TRISC.clearTRISC15; inline;
  25313. begin
  25314. pTDefRegMap(@Self)^.clr := $00008000;
  25315. end;
  25316. procedure TPORTC_TRISC.setTRISC15(thebits : TBits_1); inline;
  25317. begin
  25318. if thebits = 0 then
  25319. pTDefRegMap(@Self)^.clr := $00008000
  25320. else
  25321. pTDefRegMap(@Self)^.&set := $00008000;
  25322. end;
  25323. function TPORTC_TRISC.getTRISC15 : TBits_1; inline;
  25324. begin
  25325. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25326. end;
  25327. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  25328. begin
  25329. pTDefRegMap(@Self)^.val := thebits;
  25330. end;
  25331. function TPORTC_TRISC.getw : TBits_32; inline;
  25332. begin
  25333. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25334. end;
  25335. procedure TPORTC_PORTC.setRC1; inline;
  25336. begin
  25337. pTDefRegMap(@Self)^.&set := $00000002;
  25338. end;
  25339. procedure TPORTC_PORTC.clearRC1; inline;
  25340. begin
  25341. pTDefRegMap(@Self)^.clr := $00000002;
  25342. end;
  25343. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  25344. begin
  25345. if thebits = 0 then
  25346. pTDefRegMap(@Self)^.clr := $00000002
  25347. else
  25348. pTDefRegMap(@Self)^.&set := $00000002;
  25349. end;
  25350. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  25351. begin
  25352. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25353. end;
  25354. procedure TPORTC_PORTC.setRC2; inline;
  25355. begin
  25356. pTDefRegMap(@Self)^.&set := $00000004;
  25357. end;
  25358. procedure TPORTC_PORTC.clearRC2; inline;
  25359. begin
  25360. pTDefRegMap(@Self)^.clr := $00000004;
  25361. end;
  25362. procedure TPORTC_PORTC.setRC2(thebits : TBits_1); inline;
  25363. begin
  25364. if thebits = 0 then
  25365. pTDefRegMap(@Self)^.clr := $00000004
  25366. else
  25367. pTDefRegMap(@Self)^.&set := $00000004;
  25368. end;
  25369. function TPORTC_PORTC.getRC2 : TBits_1; inline;
  25370. begin
  25371. getRC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25372. end;
  25373. procedure TPORTC_PORTC.setRC3; inline;
  25374. begin
  25375. pTDefRegMap(@Self)^.&set := $00000008;
  25376. end;
  25377. procedure TPORTC_PORTC.clearRC3; inline;
  25378. begin
  25379. pTDefRegMap(@Self)^.clr := $00000008;
  25380. end;
  25381. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  25382. begin
  25383. if thebits = 0 then
  25384. pTDefRegMap(@Self)^.clr := $00000008
  25385. else
  25386. pTDefRegMap(@Self)^.&set := $00000008;
  25387. end;
  25388. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  25389. begin
  25390. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25391. end;
  25392. procedure TPORTC_PORTC.setRC4; inline;
  25393. begin
  25394. pTDefRegMap(@Self)^.&set := $00000010;
  25395. end;
  25396. procedure TPORTC_PORTC.clearRC4; inline;
  25397. begin
  25398. pTDefRegMap(@Self)^.clr := $00000010;
  25399. end;
  25400. procedure TPORTC_PORTC.setRC4(thebits : TBits_1); inline;
  25401. begin
  25402. if thebits = 0 then
  25403. pTDefRegMap(@Self)^.clr := $00000010
  25404. else
  25405. pTDefRegMap(@Self)^.&set := $00000010;
  25406. end;
  25407. function TPORTC_PORTC.getRC4 : TBits_1; inline;
  25408. begin
  25409. getRC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25410. end;
  25411. procedure TPORTC_PORTC.setRC12; inline;
  25412. begin
  25413. pTDefRegMap(@Self)^.&set := $00001000;
  25414. end;
  25415. procedure TPORTC_PORTC.clearRC12; inline;
  25416. begin
  25417. pTDefRegMap(@Self)^.clr := $00001000;
  25418. end;
  25419. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  25420. begin
  25421. if thebits = 0 then
  25422. pTDefRegMap(@Self)^.clr := $00001000
  25423. else
  25424. pTDefRegMap(@Self)^.&set := $00001000;
  25425. end;
  25426. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  25427. begin
  25428. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25429. end;
  25430. procedure TPORTC_PORTC.setRC13; inline;
  25431. begin
  25432. pTDefRegMap(@Self)^.&set := $00002000;
  25433. end;
  25434. procedure TPORTC_PORTC.clearRC13; inline;
  25435. begin
  25436. pTDefRegMap(@Self)^.clr := $00002000;
  25437. end;
  25438. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  25439. begin
  25440. if thebits = 0 then
  25441. pTDefRegMap(@Self)^.clr := $00002000
  25442. else
  25443. pTDefRegMap(@Self)^.&set := $00002000;
  25444. end;
  25445. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  25446. begin
  25447. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25448. end;
  25449. procedure TPORTC_PORTC.setRC14; inline;
  25450. begin
  25451. pTDefRegMap(@Self)^.&set := $00004000;
  25452. end;
  25453. procedure TPORTC_PORTC.clearRC14; inline;
  25454. begin
  25455. pTDefRegMap(@Self)^.clr := $00004000;
  25456. end;
  25457. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  25458. begin
  25459. if thebits = 0 then
  25460. pTDefRegMap(@Self)^.clr := $00004000
  25461. else
  25462. pTDefRegMap(@Self)^.&set := $00004000;
  25463. end;
  25464. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  25465. begin
  25466. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25467. end;
  25468. procedure TPORTC_PORTC.setRC15; inline;
  25469. begin
  25470. pTDefRegMap(@Self)^.&set := $00008000;
  25471. end;
  25472. procedure TPORTC_PORTC.clearRC15; inline;
  25473. begin
  25474. pTDefRegMap(@Self)^.clr := $00008000;
  25475. end;
  25476. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  25477. begin
  25478. if thebits = 0 then
  25479. pTDefRegMap(@Self)^.clr := $00008000
  25480. else
  25481. pTDefRegMap(@Self)^.&set := $00008000;
  25482. end;
  25483. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  25484. begin
  25485. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25486. end;
  25487. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  25488. begin
  25489. pTDefRegMap(@Self)^.val := thebits;
  25490. end;
  25491. function TPORTC_PORTC.getw : TBits_32; inline;
  25492. begin
  25493. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25494. end;
  25495. procedure TPORTC_LATC.setLATC1; inline;
  25496. begin
  25497. pTDefRegMap(@Self)^.&set := $00000002;
  25498. end;
  25499. procedure TPORTC_LATC.clearLATC1; inline;
  25500. begin
  25501. pTDefRegMap(@Self)^.clr := $00000002;
  25502. end;
  25503. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  25504. begin
  25505. if thebits = 0 then
  25506. pTDefRegMap(@Self)^.clr := $00000002
  25507. else
  25508. pTDefRegMap(@Self)^.&set := $00000002;
  25509. end;
  25510. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  25511. begin
  25512. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25513. end;
  25514. procedure TPORTC_LATC.setLATC2; inline;
  25515. begin
  25516. pTDefRegMap(@Self)^.&set := $00000004;
  25517. end;
  25518. procedure TPORTC_LATC.clearLATC2; inline;
  25519. begin
  25520. pTDefRegMap(@Self)^.clr := $00000004;
  25521. end;
  25522. procedure TPORTC_LATC.setLATC2(thebits : TBits_1); inline;
  25523. begin
  25524. if thebits = 0 then
  25525. pTDefRegMap(@Self)^.clr := $00000004
  25526. else
  25527. pTDefRegMap(@Self)^.&set := $00000004;
  25528. end;
  25529. function TPORTC_LATC.getLATC2 : TBits_1; inline;
  25530. begin
  25531. getLATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25532. end;
  25533. procedure TPORTC_LATC.setLATC3; inline;
  25534. begin
  25535. pTDefRegMap(@Self)^.&set := $00000008;
  25536. end;
  25537. procedure TPORTC_LATC.clearLATC3; inline;
  25538. begin
  25539. pTDefRegMap(@Self)^.clr := $00000008;
  25540. end;
  25541. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  25542. begin
  25543. if thebits = 0 then
  25544. pTDefRegMap(@Self)^.clr := $00000008
  25545. else
  25546. pTDefRegMap(@Self)^.&set := $00000008;
  25547. end;
  25548. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  25549. begin
  25550. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25551. end;
  25552. procedure TPORTC_LATC.setLATC4; inline;
  25553. begin
  25554. pTDefRegMap(@Self)^.&set := $00000010;
  25555. end;
  25556. procedure TPORTC_LATC.clearLATC4; inline;
  25557. begin
  25558. pTDefRegMap(@Self)^.clr := $00000010;
  25559. end;
  25560. procedure TPORTC_LATC.setLATC4(thebits : TBits_1); inline;
  25561. begin
  25562. if thebits = 0 then
  25563. pTDefRegMap(@Self)^.clr := $00000010
  25564. else
  25565. pTDefRegMap(@Self)^.&set := $00000010;
  25566. end;
  25567. function TPORTC_LATC.getLATC4 : TBits_1; inline;
  25568. begin
  25569. getLATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25570. end;
  25571. procedure TPORTC_LATC.setLATC12; inline;
  25572. begin
  25573. pTDefRegMap(@Self)^.&set := $00001000;
  25574. end;
  25575. procedure TPORTC_LATC.clearLATC12; inline;
  25576. begin
  25577. pTDefRegMap(@Self)^.clr := $00001000;
  25578. end;
  25579. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  25580. begin
  25581. if thebits = 0 then
  25582. pTDefRegMap(@Self)^.clr := $00001000
  25583. else
  25584. pTDefRegMap(@Self)^.&set := $00001000;
  25585. end;
  25586. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  25587. begin
  25588. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25589. end;
  25590. procedure TPORTC_LATC.setLATC13; inline;
  25591. begin
  25592. pTDefRegMap(@Self)^.&set := $00002000;
  25593. end;
  25594. procedure TPORTC_LATC.clearLATC13; inline;
  25595. begin
  25596. pTDefRegMap(@Self)^.clr := $00002000;
  25597. end;
  25598. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  25599. begin
  25600. if thebits = 0 then
  25601. pTDefRegMap(@Self)^.clr := $00002000
  25602. else
  25603. pTDefRegMap(@Self)^.&set := $00002000;
  25604. end;
  25605. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  25606. begin
  25607. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25608. end;
  25609. procedure TPORTC_LATC.setLATC14; inline;
  25610. begin
  25611. pTDefRegMap(@Self)^.&set := $00004000;
  25612. end;
  25613. procedure TPORTC_LATC.clearLATC14; inline;
  25614. begin
  25615. pTDefRegMap(@Self)^.clr := $00004000;
  25616. end;
  25617. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  25618. begin
  25619. if thebits = 0 then
  25620. pTDefRegMap(@Self)^.clr := $00004000
  25621. else
  25622. pTDefRegMap(@Self)^.&set := $00004000;
  25623. end;
  25624. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  25625. begin
  25626. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25627. end;
  25628. procedure TPORTC_LATC.setLATC15; inline;
  25629. begin
  25630. pTDefRegMap(@Self)^.&set := $00008000;
  25631. end;
  25632. procedure TPORTC_LATC.clearLATC15; inline;
  25633. begin
  25634. pTDefRegMap(@Self)^.clr := $00008000;
  25635. end;
  25636. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  25637. begin
  25638. if thebits = 0 then
  25639. pTDefRegMap(@Self)^.clr := $00008000
  25640. else
  25641. pTDefRegMap(@Self)^.&set := $00008000;
  25642. end;
  25643. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  25644. begin
  25645. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25646. end;
  25647. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  25648. begin
  25649. pTDefRegMap(@Self)^.val := thebits;
  25650. end;
  25651. function TPORTC_LATC.getw : TBits_32; inline;
  25652. begin
  25653. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25654. end;
  25655. procedure TPORTC_ODCC.setODCC1; inline;
  25656. begin
  25657. pTDefRegMap(@Self)^.&set := $00000002;
  25658. end;
  25659. procedure TPORTC_ODCC.clearODCC1; inline;
  25660. begin
  25661. pTDefRegMap(@Self)^.clr := $00000002;
  25662. end;
  25663. procedure TPORTC_ODCC.setODCC1(thebits : TBits_1); inline;
  25664. begin
  25665. if thebits = 0 then
  25666. pTDefRegMap(@Self)^.clr := $00000002
  25667. else
  25668. pTDefRegMap(@Self)^.&set := $00000002;
  25669. end;
  25670. function TPORTC_ODCC.getODCC1 : TBits_1; inline;
  25671. begin
  25672. getODCC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25673. end;
  25674. procedure TPORTC_ODCC.setODCC2; inline;
  25675. begin
  25676. pTDefRegMap(@Self)^.&set := $00000004;
  25677. end;
  25678. procedure TPORTC_ODCC.clearODCC2; inline;
  25679. begin
  25680. pTDefRegMap(@Self)^.clr := $00000004;
  25681. end;
  25682. procedure TPORTC_ODCC.setODCC2(thebits : TBits_1); inline;
  25683. begin
  25684. if thebits = 0 then
  25685. pTDefRegMap(@Self)^.clr := $00000004
  25686. else
  25687. pTDefRegMap(@Self)^.&set := $00000004;
  25688. end;
  25689. function TPORTC_ODCC.getODCC2 : TBits_1; inline;
  25690. begin
  25691. getODCC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25692. end;
  25693. procedure TPORTC_ODCC.setODCC3; inline;
  25694. begin
  25695. pTDefRegMap(@Self)^.&set := $00000008;
  25696. end;
  25697. procedure TPORTC_ODCC.clearODCC3; inline;
  25698. begin
  25699. pTDefRegMap(@Self)^.clr := $00000008;
  25700. end;
  25701. procedure TPORTC_ODCC.setODCC3(thebits : TBits_1); inline;
  25702. begin
  25703. if thebits = 0 then
  25704. pTDefRegMap(@Self)^.clr := $00000008
  25705. else
  25706. pTDefRegMap(@Self)^.&set := $00000008;
  25707. end;
  25708. function TPORTC_ODCC.getODCC3 : TBits_1; inline;
  25709. begin
  25710. getODCC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25711. end;
  25712. procedure TPORTC_ODCC.setODCC4; inline;
  25713. begin
  25714. pTDefRegMap(@Self)^.&set := $00000010;
  25715. end;
  25716. procedure TPORTC_ODCC.clearODCC4; inline;
  25717. begin
  25718. pTDefRegMap(@Self)^.clr := $00000010;
  25719. end;
  25720. procedure TPORTC_ODCC.setODCC4(thebits : TBits_1); inline;
  25721. begin
  25722. if thebits = 0 then
  25723. pTDefRegMap(@Self)^.clr := $00000010
  25724. else
  25725. pTDefRegMap(@Self)^.&set := $00000010;
  25726. end;
  25727. function TPORTC_ODCC.getODCC4 : TBits_1; inline;
  25728. begin
  25729. getODCC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25730. end;
  25731. procedure TPORTC_ODCC.setODCC12; inline;
  25732. begin
  25733. pTDefRegMap(@Self)^.&set := $00001000;
  25734. end;
  25735. procedure TPORTC_ODCC.clearODCC12; inline;
  25736. begin
  25737. pTDefRegMap(@Self)^.clr := $00001000;
  25738. end;
  25739. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  25740. begin
  25741. if thebits = 0 then
  25742. pTDefRegMap(@Self)^.clr := $00001000
  25743. else
  25744. pTDefRegMap(@Self)^.&set := $00001000;
  25745. end;
  25746. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  25747. begin
  25748. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25749. end;
  25750. procedure TPORTC_ODCC.setODCC13; inline;
  25751. begin
  25752. pTDefRegMap(@Self)^.&set := $00002000;
  25753. end;
  25754. procedure TPORTC_ODCC.clearODCC13; inline;
  25755. begin
  25756. pTDefRegMap(@Self)^.clr := $00002000;
  25757. end;
  25758. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  25759. begin
  25760. if thebits = 0 then
  25761. pTDefRegMap(@Self)^.clr := $00002000
  25762. else
  25763. pTDefRegMap(@Self)^.&set := $00002000;
  25764. end;
  25765. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  25766. begin
  25767. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25768. end;
  25769. procedure TPORTC_ODCC.setODCC14; inline;
  25770. begin
  25771. pTDefRegMap(@Self)^.&set := $00004000;
  25772. end;
  25773. procedure TPORTC_ODCC.clearODCC14; inline;
  25774. begin
  25775. pTDefRegMap(@Self)^.clr := $00004000;
  25776. end;
  25777. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  25778. begin
  25779. if thebits = 0 then
  25780. pTDefRegMap(@Self)^.clr := $00004000
  25781. else
  25782. pTDefRegMap(@Self)^.&set := $00004000;
  25783. end;
  25784. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  25785. begin
  25786. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25787. end;
  25788. procedure TPORTC_ODCC.setODCC15; inline;
  25789. begin
  25790. pTDefRegMap(@Self)^.&set := $00008000;
  25791. end;
  25792. procedure TPORTC_ODCC.clearODCC15; inline;
  25793. begin
  25794. pTDefRegMap(@Self)^.clr := $00008000;
  25795. end;
  25796. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  25797. begin
  25798. if thebits = 0 then
  25799. pTDefRegMap(@Self)^.clr := $00008000
  25800. else
  25801. pTDefRegMap(@Self)^.&set := $00008000;
  25802. end;
  25803. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  25804. begin
  25805. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25806. end;
  25807. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  25808. begin
  25809. pTDefRegMap(@Self)^.val := thebits;
  25810. end;
  25811. function TPORTC_ODCC.getw : TBits_32; inline;
  25812. begin
  25813. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25814. end;
  25815. procedure TPORTD_TRISD.setTRISD0; inline;
  25816. begin
  25817. pTDefRegMap(@Self)^.&set := $00000001;
  25818. end;
  25819. procedure TPORTD_TRISD.clearTRISD0; inline;
  25820. begin
  25821. pTDefRegMap(@Self)^.clr := $00000001;
  25822. end;
  25823. procedure TPORTD_TRISD.setTRISD0(thebits : TBits_1); inline;
  25824. begin
  25825. if thebits = 0 then
  25826. pTDefRegMap(@Self)^.clr := $00000001
  25827. else
  25828. pTDefRegMap(@Self)^.&set := $00000001;
  25829. end;
  25830. function TPORTD_TRISD.getTRISD0 : TBits_1; inline;
  25831. begin
  25832. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25833. end;
  25834. procedure TPORTD_TRISD.setTRISD1; inline;
  25835. begin
  25836. pTDefRegMap(@Self)^.&set := $00000002;
  25837. end;
  25838. procedure TPORTD_TRISD.clearTRISD1; inline;
  25839. begin
  25840. pTDefRegMap(@Self)^.clr := $00000002;
  25841. end;
  25842. procedure TPORTD_TRISD.setTRISD1(thebits : TBits_1); inline;
  25843. begin
  25844. if thebits = 0 then
  25845. pTDefRegMap(@Self)^.clr := $00000002
  25846. else
  25847. pTDefRegMap(@Self)^.&set := $00000002;
  25848. end;
  25849. function TPORTD_TRISD.getTRISD1 : TBits_1; inline;
  25850. begin
  25851. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25852. end;
  25853. procedure TPORTD_TRISD.setTRISD2; inline;
  25854. begin
  25855. pTDefRegMap(@Self)^.&set := $00000004;
  25856. end;
  25857. procedure TPORTD_TRISD.clearTRISD2; inline;
  25858. begin
  25859. pTDefRegMap(@Self)^.clr := $00000004;
  25860. end;
  25861. procedure TPORTD_TRISD.setTRISD2(thebits : TBits_1); inline;
  25862. begin
  25863. if thebits = 0 then
  25864. pTDefRegMap(@Self)^.clr := $00000004
  25865. else
  25866. pTDefRegMap(@Self)^.&set := $00000004;
  25867. end;
  25868. function TPORTD_TRISD.getTRISD2 : TBits_1; inline;
  25869. begin
  25870. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25871. end;
  25872. procedure TPORTD_TRISD.setTRISD3; inline;
  25873. begin
  25874. pTDefRegMap(@Self)^.&set := $00000008;
  25875. end;
  25876. procedure TPORTD_TRISD.clearTRISD3; inline;
  25877. begin
  25878. pTDefRegMap(@Self)^.clr := $00000008;
  25879. end;
  25880. procedure TPORTD_TRISD.setTRISD3(thebits : TBits_1); inline;
  25881. begin
  25882. if thebits = 0 then
  25883. pTDefRegMap(@Self)^.clr := $00000008
  25884. else
  25885. pTDefRegMap(@Self)^.&set := $00000008;
  25886. end;
  25887. function TPORTD_TRISD.getTRISD3 : TBits_1; inline;
  25888. begin
  25889. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25890. end;
  25891. procedure TPORTD_TRISD.setTRISD4; inline;
  25892. begin
  25893. pTDefRegMap(@Self)^.&set := $00000010;
  25894. end;
  25895. procedure TPORTD_TRISD.clearTRISD4; inline;
  25896. begin
  25897. pTDefRegMap(@Self)^.clr := $00000010;
  25898. end;
  25899. procedure TPORTD_TRISD.setTRISD4(thebits : TBits_1); inline;
  25900. begin
  25901. if thebits = 0 then
  25902. pTDefRegMap(@Self)^.clr := $00000010
  25903. else
  25904. pTDefRegMap(@Self)^.&set := $00000010;
  25905. end;
  25906. function TPORTD_TRISD.getTRISD4 : TBits_1; inline;
  25907. begin
  25908. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25909. end;
  25910. procedure TPORTD_TRISD.setTRISD5; inline;
  25911. begin
  25912. pTDefRegMap(@Self)^.&set := $00000020;
  25913. end;
  25914. procedure TPORTD_TRISD.clearTRISD5; inline;
  25915. begin
  25916. pTDefRegMap(@Self)^.clr := $00000020;
  25917. end;
  25918. procedure TPORTD_TRISD.setTRISD5(thebits : TBits_1); inline;
  25919. begin
  25920. if thebits = 0 then
  25921. pTDefRegMap(@Self)^.clr := $00000020
  25922. else
  25923. pTDefRegMap(@Self)^.&set := $00000020;
  25924. end;
  25925. function TPORTD_TRISD.getTRISD5 : TBits_1; inline;
  25926. begin
  25927. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25928. end;
  25929. procedure TPORTD_TRISD.setTRISD6; inline;
  25930. begin
  25931. pTDefRegMap(@Self)^.&set := $00000040;
  25932. end;
  25933. procedure TPORTD_TRISD.clearTRISD6; inline;
  25934. begin
  25935. pTDefRegMap(@Self)^.clr := $00000040;
  25936. end;
  25937. procedure TPORTD_TRISD.setTRISD6(thebits : TBits_1); inline;
  25938. begin
  25939. if thebits = 0 then
  25940. pTDefRegMap(@Self)^.clr := $00000040
  25941. else
  25942. pTDefRegMap(@Self)^.&set := $00000040;
  25943. end;
  25944. function TPORTD_TRISD.getTRISD6 : TBits_1; inline;
  25945. begin
  25946. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25947. end;
  25948. procedure TPORTD_TRISD.setTRISD7; inline;
  25949. begin
  25950. pTDefRegMap(@Self)^.&set := $00000080;
  25951. end;
  25952. procedure TPORTD_TRISD.clearTRISD7; inline;
  25953. begin
  25954. pTDefRegMap(@Self)^.clr := $00000080;
  25955. end;
  25956. procedure TPORTD_TRISD.setTRISD7(thebits : TBits_1); inline;
  25957. begin
  25958. if thebits = 0 then
  25959. pTDefRegMap(@Self)^.clr := $00000080
  25960. else
  25961. pTDefRegMap(@Self)^.&set := $00000080;
  25962. end;
  25963. function TPORTD_TRISD.getTRISD7 : TBits_1; inline;
  25964. begin
  25965. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25966. end;
  25967. procedure TPORTD_TRISD.setTRISD8; inline;
  25968. begin
  25969. pTDefRegMap(@Self)^.&set := $00000100;
  25970. end;
  25971. procedure TPORTD_TRISD.clearTRISD8; inline;
  25972. begin
  25973. pTDefRegMap(@Self)^.clr := $00000100;
  25974. end;
  25975. procedure TPORTD_TRISD.setTRISD8(thebits : TBits_1); inline;
  25976. begin
  25977. if thebits = 0 then
  25978. pTDefRegMap(@Self)^.clr := $00000100
  25979. else
  25980. pTDefRegMap(@Self)^.&set := $00000100;
  25981. end;
  25982. function TPORTD_TRISD.getTRISD8 : TBits_1; inline;
  25983. begin
  25984. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25985. end;
  25986. procedure TPORTD_TRISD.setTRISD9; inline;
  25987. begin
  25988. pTDefRegMap(@Self)^.&set := $00000200;
  25989. end;
  25990. procedure TPORTD_TRISD.clearTRISD9; inline;
  25991. begin
  25992. pTDefRegMap(@Self)^.clr := $00000200;
  25993. end;
  25994. procedure TPORTD_TRISD.setTRISD9(thebits : TBits_1); inline;
  25995. begin
  25996. if thebits = 0 then
  25997. pTDefRegMap(@Self)^.clr := $00000200
  25998. else
  25999. pTDefRegMap(@Self)^.&set := $00000200;
  26000. end;
  26001. function TPORTD_TRISD.getTRISD9 : TBits_1; inline;
  26002. begin
  26003. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26004. end;
  26005. procedure TPORTD_TRISD.setTRISD10; inline;
  26006. begin
  26007. pTDefRegMap(@Self)^.&set := $00000400;
  26008. end;
  26009. procedure TPORTD_TRISD.clearTRISD10; inline;
  26010. begin
  26011. pTDefRegMap(@Self)^.clr := $00000400;
  26012. end;
  26013. procedure TPORTD_TRISD.setTRISD10(thebits : TBits_1); inline;
  26014. begin
  26015. if thebits = 0 then
  26016. pTDefRegMap(@Self)^.clr := $00000400
  26017. else
  26018. pTDefRegMap(@Self)^.&set := $00000400;
  26019. end;
  26020. function TPORTD_TRISD.getTRISD10 : TBits_1; inline;
  26021. begin
  26022. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26023. end;
  26024. procedure TPORTD_TRISD.setTRISD11; inline;
  26025. begin
  26026. pTDefRegMap(@Self)^.&set := $00000800;
  26027. end;
  26028. procedure TPORTD_TRISD.clearTRISD11; inline;
  26029. begin
  26030. pTDefRegMap(@Self)^.clr := $00000800;
  26031. end;
  26032. procedure TPORTD_TRISD.setTRISD11(thebits : TBits_1); inline;
  26033. begin
  26034. if thebits = 0 then
  26035. pTDefRegMap(@Self)^.clr := $00000800
  26036. else
  26037. pTDefRegMap(@Self)^.&set := $00000800;
  26038. end;
  26039. function TPORTD_TRISD.getTRISD11 : TBits_1; inline;
  26040. begin
  26041. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26042. end;
  26043. procedure TPORTD_TRISD.setTRISD12; inline;
  26044. begin
  26045. pTDefRegMap(@Self)^.&set := $00001000;
  26046. end;
  26047. procedure TPORTD_TRISD.clearTRISD12; inline;
  26048. begin
  26049. pTDefRegMap(@Self)^.clr := $00001000;
  26050. end;
  26051. procedure TPORTD_TRISD.setTRISD12(thebits : TBits_1); inline;
  26052. begin
  26053. if thebits = 0 then
  26054. pTDefRegMap(@Self)^.clr := $00001000
  26055. else
  26056. pTDefRegMap(@Self)^.&set := $00001000;
  26057. end;
  26058. function TPORTD_TRISD.getTRISD12 : TBits_1; inline;
  26059. begin
  26060. getTRISD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26061. end;
  26062. procedure TPORTD_TRISD.setTRISD13; inline;
  26063. begin
  26064. pTDefRegMap(@Self)^.&set := $00002000;
  26065. end;
  26066. procedure TPORTD_TRISD.clearTRISD13; inline;
  26067. begin
  26068. pTDefRegMap(@Self)^.clr := $00002000;
  26069. end;
  26070. procedure TPORTD_TRISD.setTRISD13(thebits : TBits_1); inline;
  26071. begin
  26072. if thebits = 0 then
  26073. pTDefRegMap(@Self)^.clr := $00002000
  26074. else
  26075. pTDefRegMap(@Self)^.&set := $00002000;
  26076. end;
  26077. function TPORTD_TRISD.getTRISD13 : TBits_1; inline;
  26078. begin
  26079. getTRISD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26080. end;
  26081. procedure TPORTD_TRISD.setTRISD14; inline;
  26082. begin
  26083. pTDefRegMap(@Self)^.&set := $00004000;
  26084. end;
  26085. procedure TPORTD_TRISD.clearTRISD14; inline;
  26086. begin
  26087. pTDefRegMap(@Self)^.clr := $00004000;
  26088. end;
  26089. procedure TPORTD_TRISD.setTRISD14(thebits : TBits_1); inline;
  26090. begin
  26091. if thebits = 0 then
  26092. pTDefRegMap(@Self)^.clr := $00004000
  26093. else
  26094. pTDefRegMap(@Self)^.&set := $00004000;
  26095. end;
  26096. function TPORTD_TRISD.getTRISD14 : TBits_1; inline;
  26097. begin
  26098. getTRISD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26099. end;
  26100. procedure TPORTD_TRISD.setTRISD15; inline;
  26101. begin
  26102. pTDefRegMap(@Self)^.&set := $00008000;
  26103. end;
  26104. procedure TPORTD_TRISD.clearTRISD15; inline;
  26105. begin
  26106. pTDefRegMap(@Self)^.clr := $00008000;
  26107. end;
  26108. procedure TPORTD_TRISD.setTRISD15(thebits : TBits_1); inline;
  26109. begin
  26110. if thebits = 0 then
  26111. pTDefRegMap(@Self)^.clr := $00008000
  26112. else
  26113. pTDefRegMap(@Self)^.&set := $00008000;
  26114. end;
  26115. function TPORTD_TRISD.getTRISD15 : TBits_1; inline;
  26116. begin
  26117. getTRISD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26118. end;
  26119. procedure TPORTD_TRISD.setw(thebits : TBits_32); inline;
  26120. begin
  26121. pTDefRegMap(@Self)^.val := thebits;
  26122. end;
  26123. function TPORTD_TRISD.getw : TBits_32; inline;
  26124. begin
  26125. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26126. end;
  26127. procedure TPORTD_PORTD.setRD0; inline;
  26128. begin
  26129. pTDefRegMap(@Self)^.&set := $00000001;
  26130. end;
  26131. procedure TPORTD_PORTD.clearRD0; inline;
  26132. begin
  26133. pTDefRegMap(@Self)^.clr := $00000001;
  26134. end;
  26135. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  26136. begin
  26137. if thebits = 0 then
  26138. pTDefRegMap(@Self)^.clr := $00000001
  26139. else
  26140. pTDefRegMap(@Self)^.&set := $00000001;
  26141. end;
  26142. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  26143. begin
  26144. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26145. end;
  26146. procedure TPORTD_PORTD.setRD1; inline;
  26147. begin
  26148. pTDefRegMap(@Self)^.&set := $00000002;
  26149. end;
  26150. procedure TPORTD_PORTD.clearRD1; inline;
  26151. begin
  26152. pTDefRegMap(@Self)^.clr := $00000002;
  26153. end;
  26154. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  26155. begin
  26156. if thebits = 0 then
  26157. pTDefRegMap(@Self)^.clr := $00000002
  26158. else
  26159. pTDefRegMap(@Self)^.&set := $00000002;
  26160. end;
  26161. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  26162. begin
  26163. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26164. end;
  26165. procedure TPORTD_PORTD.setRD2; inline;
  26166. begin
  26167. pTDefRegMap(@Self)^.&set := $00000004;
  26168. end;
  26169. procedure TPORTD_PORTD.clearRD2; inline;
  26170. begin
  26171. pTDefRegMap(@Self)^.clr := $00000004;
  26172. end;
  26173. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  26174. begin
  26175. if thebits = 0 then
  26176. pTDefRegMap(@Self)^.clr := $00000004
  26177. else
  26178. pTDefRegMap(@Self)^.&set := $00000004;
  26179. end;
  26180. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  26181. begin
  26182. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26183. end;
  26184. procedure TPORTD_PORTD.setRD3; inline;
  26185. begin
  26186. pTDefRegMap(@Self)^.&set := $00000008;
  26187. end;
  26188. procedure TPORTD_PORTD.clearRD3; inline;
  26189. begin
  26190. pTDefRegMap(@Self)^.clr := $00000008;
  26191. end;
  26192. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  26193. begin
  26194. if thebits = 0 then
  26195. pTDefRegMap(@Self)^.clr := $00000008
  26196. else
  26197. pTDefRegMap(@Self)^.&set := $00000008;
  26198. end;
  26199. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  26200. begin
  26201. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26202. end;
  26203. procedure TPORTD_PORTD.setRD4; inline;
  26204. begin
  26205. pTDefRegMap(@Self)^.&set := $00000010;
  26206. end;
  26207. procedure TPORTD_PORTD.clearRD4; inline;
  26208. begin
  26209. pTDefRegMap(@Self)^.clr := $00000010;
  26210. end;
  26211. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  26212. begin
  26213. if thebits = 0 then
  26214. pTDefRegMap(@Self)^.clr := $00000010
  26215. else
  26216. pTDefRegMap(@Self)^.&set := $00000010;
  26217. end;
  26218. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  26219. begin
  26220. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26221. end;
  26222. procedure TPORTD_PORTD.setRD5; inline;
  26223. begin
  26224. pTDefRegMap(@Self)^.&set := $00000020;
  26225. end;
  26226. procedure TPORTD_PORTD.clearRD5; inline;
  26227. begin
  26228. pTDefRegMap(@Self)^.clr := $00000020;
  26229. end;
  26230. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  26231. begin
  26232. if thebits = 0 then
  26233. pTDefRegMap(@Self)^.clr := $00000020
  26234. else
  26235. pTDefRegMap(@Self)^.&set := $00000020;
  26236. end;
  26237. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  26238. begin
  26239. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26240. end;
  26241. procedure TPORTD_PORTD.setRD6; inline;
  26242. begin
  26243. pTDefRegMap(@Self)^.&set := $00000040;
  26244. end;
  26245. procedure TPORTD_PORTD.clearRD6; inline;
  26246. begin
  26247. pTDefRegMap(@Self)^.clr := $00000040;
  26248. end;
  26249. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  26250. begin
  26251. if thebits = 0 then
  26252. pTDefRegMap(@Self)^.clr := $00000040
  26253. else
  26254. pTDefRegMap(@Self)^.&set := $00000040;
  26255. end;
  26256. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  26257. begin
  26258. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26259. end;
  26260. procedure TPORTD_PORTD.setRD7; inline;
  26261. begin
  26262. pTDefRegMap(@Self)^.&set := $00000080;
  26263. end;
  26264. procedure TPORTD_PORTD.clearRD7; inline;
  26265. begin
  26266. pTDefRegMap(@Self)^.clr := $00000080;
  26267. end;
  26268. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  26269. begin
  26270. if thebits = 0 then
  26271. pTDefRegMap(@Self)^.clr := $00000080
  26272. else
  26273. pTDefRegMap(@Self)^.&set := $00000080;
  26274. end;
  26275. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  26276. begin
  26277. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26278. end;
  26279. procedure TPORTD_PORTD.setRD8; inline;
  26280. begin
  26281. pTDefRegMap(@Self)^.&set := $00000100;
  26282. end;
  26283. procedure TPORTD_PORTD.clearRD8; inline;
  26284. begin
  26285. pTDefRegMap(@Self)^.clr := $00000100;
  26286. end;
  26287. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  26288. begin
  26289. if thebits = 0 then
  26290. pTDefRegMap(@Self)^.clr := $00000100
  26291. else
  26292. pTDefRegMap(@Self)^.&set := $00000100;
  26293. end;
  26294. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  26295. begin
  26296. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26297. end;
  26298. procedure TPORTD_PORTD.setRD9; inline;
  26299. begin
  26300. pTDefRegMap(@Self)^.&set := $00000200;
  26301. end;
  26302. procedure TPORTD_PORTD.clearRD9; inline;
  26303. begin
  26304. pTDefRegMap(@Self)^.clr := $00000200;
  26305. end;
  26306. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  26307. begin
  26308. if thebits = 0 then
  26309. pTDefRegMap(@Self)^.clr := $00000200
  26310. else
  26311. pTDefRegMap(@Self)^.&set := $00000200;
  26312. end;
  26313. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  26314. begin
  26315. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26316. end;
  26317. procedure TPORTD_PORTD.setRD10; inline;
  26318. begin
  26319. pTDefRegMap(@Self)^.&set := $00000400;
  26320. end;
  26321. procedure TPORTD_PORTD.clearRD10; inline;
  26322. begin
  26323. pTDefRegMap(@Self)^.clr := $00000400;
  26324. end;
  26325. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  26326. begin
  26327. if thebits = 0 then
  26328. pTDefRegMap(@Self)^.clr := $00000400
  26329. else
  26330. pTDefRegMap(@Self)^.&set := $00000400;
  26331. end;
  26332. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  26333. begin
  26334. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26335. end;
  26336. procedure TPORTD_PORTD.setRD11; inline;
  26337. begin
  26338. pTDefRegMap(@Self)^.&set := $00000800;
  26339. end;
  26340. procedure TPORTD_PORTD.clearRD11; inline;
  26341. begin
  26342. pTDefRegMap(@Self)^.clr := $00000800;
  26343. end;
  26344. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  26345. begin
  26346. if thebits = 0 then
  26347. pTDefRegMap(@Self)^.clr := $00000800
  26348. else
  26349. pTDefRegMap(@Self)^.&set := $00000800;
  26350. end;
  26351. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  26352. begin
  26353. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26354. end;
  26355. procedure TPORTD_PORTD.setRD12; inline;
  26356. begin
  26357. pTDefRegMap(@Self)^.&set := $00001000;
  26358. end;
  26359. procedure TPORTD_PORTD.clearRD12; inline;
  26360. begin
  26361. pTDefRegMap(@Self)^.clr := $00001000;
  26362. end;
  26363. procedure TPORTD_PORTD.setRD12(thebits : TBits_1); inline;
  26364. begin
  26365. if thebits = 0 then
  26366. pTDefRegMap(@Self)^.clr := $00001000
  26367. else
  26368. pTDefRegMap(@Self)^.&set := $00001000;
  26369. end;
  26370. function TPORTD_PORTD.getRD12 : TBits_1; inline;
  26371. begin
  26372. getRD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26373. end;
  26374. procedure TPORTD_PORTD.setRD13; inline;
  26375. begin
  26376. pTDefRegMap(@Self)^.&set := $00002000;
  26377. end;
  26378. procedure TPORTD_PORTD.clearRD13; inline;
  26379. begin
  26380. pTDefRegMap(@Self)^.clr := $00002000;
  26381. end;
  26382. procedure TPORTD_PORTD.setRD13(thebits : TBits_1); inline;
  26383. begin
  26384. if thebits = 0 then
  26385. pTDefRegMap(@Self)^.clr := $00002000
  26386. else
  26387. pTDefRegMap(@Self)^.&set := $00002000;
  26388. end;
  26389. function TPORTD_PORTD.getRD13 : TBits_1; inline;
  26390. begin
  26391. getRD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26392. end;
  26393. procedure TPORTD_PORTD.setRD14; inline;
  26394. begin
  26395. pTDefRegMap(@Self)^.&set := $00004000;
  26396. end;
  26397. procedure TPORTD_PORTD.clearRD14; inline;
  26398. begin
  26399. pTDefRegMap(@Self)^.clr := $00004000;
  26400. end;
  26401. procedure TPORTD_PORTD.setRD14(thebits : TBits_1); inline;
  26402. begin
  26403. if thebits = 0 then
  26404. pTDefRegMap(@Self)^.clr := $00004000
  26405. else
  26406. pTDefRegMap(@Self)^.&set := $00004000;
  26407. end;
  26408. function TPORTD_PORTD.getRD14 : TBits_1; inline;
  26409. begin
  26410. getRD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26411. end;
  26412. procedure TPORTD_PORTD.setRD15; inline;
  26413. begin
  26414. pTDefRegMap(@Self)^.&set := $00008000;
  26415. end;
  26416. procedure TPORTD_PORTD.clearRD15; inline;
  26417. begin
  26418. pTDefRegMap(@Self)^.clr := $00008000;
  26419. end;
  26420. procedure TPORTD_PORTD.setRD15(thebits : TBits_1); inline;
  26421. begin
  26422. if thebits = 0 then
  26423. pTDefRegMap(@Self)^.clr := $00008000
  26424. else
  26425. pTDefRegMap(@Self)^.&set := $00008000;
  26426. end;
  26427. function TPORTD_PORTD.getRD15 : TBits_1; inline;
  26428. begin
  26429. getRD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26430. end;
  26431. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  26432. begin
  26433. pTDefRegMap(@Self)^.val := thebits;
  26434. end;
  26435. function TPORTD_PORTD.getw : TBits_32; inline;
  26436. begin
  26437. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26438. end;
  26439. procedure TPORTD_LATD.setLATD0; inline;
  26440. begin
  26441. pTDefRegMap(@Self)^.&set := $00000001;
  26442. end;
  26443. procedure TPORTD_LATD.clearLATD0; inline;
  26444. begin
  26445. pTDefRegMap(@Self)^.clr := $00000001;
  26446. end;
  26447. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  26448. begin
  26449. if thebits = 0 then
  26450. pTDefRegMap(@Self)^.clr := $00000001
  26451. else
  26452. pTDefRegMap(@Self)^.&set := $00000001;
  26453. end;
  26454. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  26455. begin
  26456. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26457. end;
  26458. procedure TPORTD_LATD.setLATD1; inline;
  26459. begin
  26460. pTDefRegMap(@Self)^.&set := $00000002;
  26461. end;
  26462. procedure TPORTD_LATD.clearLATD1; inline;
  26463. begin
  26464. pTDefRegMap(@Self)^.clr := $00000002;
  26465. end;
  26466. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  26467. begin
  26468. if thebits = 0 then
  26469. pTDefRegMap(@Self)^.clr := $00000002
  26470. else
  26471. pTDefRegMap(@Self)^.&set := $00000002;
  26472. end;
  26473. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  26474. begin
  26475. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26476. end;
  26477. procedure TPORTD_LATD.setLATD2; inline;
  26478. begin
  26479. pTDefRegMap(@Self)^.&set := $00000004;
  26480. end;
  26481. procedure TPORTD_LATD.clearLATD2; inline;
  26482. begin
  26483. pTDefRegMap(@Self)^.clr := $00000004;
  26484. end;
  26485. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  26486. begin
  26487. if thebits = 0 then
  26488. pTDefRegMap(@Self)^.clr := $00000004
  26489. else
  26490. pTDefRegMap(@Self)^.&set := $00000004;
  26491. end;
  26492. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  26493. begin
  26494. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26495. end;
  26496. procedure TPORTD_LATD.setLATD3; inline;
  26497. begin
  26498. pTDefRegMap(@Self)^.&set := $00000008;
  26499. end;
  26500. procedure TPORTD_LATD.clearLATD3; inline;
  26501. begin
  26502. pTDefRegMap(@Self)^.clr := $00000008;
  26503. end;
  26504. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  26505. begin
  26506. if thebits = 0 then
  26507. pTDefRegMap(@Self)^.clr := $00000008
  26508. else
  26509. pTDefRegMap(@Self)^.&set := $00000008;
  26510. end;
  26511. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  26512. begin
  26513. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26514. end;
  26515. procedure TPORTD_LATD.setLATD4; inline;
  26516. begin
  26517. pTDefRegMap(@Self)^.&set := $00000010;
  26518. end;
  26519. procedure TPORTD_LATD.clearLATD4; inline;
  26520. begin
  26521. pTDefRegMap(@Self)^.clr := $00000010;
  26522. end;
  26523. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  26524. begin
  26525. if thebits = 0 then
  26526. pTDefRegMap(@Self)^.clr := $00000010
  26527. else
  26528. pTDefRegMap(@Self)^.&set := $00000010;
  26529. end;
  26530. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  26531. begin
  26532. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26533. end;
  26534. procedure TPORTD_LATD.setLATD5; inline;
  26535. begin
  26536. pTDefRegMap(@Self)^.&set := $00000020;
  26537. end;
  26538. procedure TPORTD_LATD.clearLATD5; inline;
  26539. begin
  26540. pTDefRegMap(@Self)^.clr := $00000020;
  26541. end;
  26542. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  26543. begin
  26544. if thebits = 0 then
  26545. pTDefRegMap(@Self)^.clr := $00000020
  26546. else
  26547. pTDefRegMap(@Self)^.&set := $00000020;
  26548. end;
  26549. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  26550. begin
  26551. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26552. end;
  26553. procedure TPORTD_LATD.setLATD6; inline;
  26554. begin
  26555. pTDefRegMap(@Self)^.&set := $00000040;
  26556. end;
  26557. procedure TPORTD_LATD.clearLATD6; inline;
  26558. begin
  26559. pTDefRegMap(@Self)^.clr := $00000040;
  26560. end;
  26561. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  26562. begin
  26563. if thebits = 0 then
  26564. pTDefRegMap(@Self)^.clr := $00000040
  26565. else
  26566. pTDefRegMap(@Self)^.&set := $00000040;
  26567. end;
  26568. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  26569. begin
  26570. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26571. end;
  26572. procedure TPORTD_LATD.setLATD7; inline;
  26573. begin
  26574. pTDefRegMap(@Self)^.&set := $00000080;
  26575. end;
  26576. procedure TPORTD_LATD.clearLATD7; inline;
  26577. begin
  26578. pTDefRegMap(@Self)^.clr := $00000080;
  26579. end;
  26580. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  26581. begin
  26582. if thebits = 0 then
  26583. pTDefRegMap(@Self)^.clr := $00000080
  26584. else
  26585. pTDefRegMap(@Self)^.&set := $00000080;
  26586. end;
  26587. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  26588. begin
  26589. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26590. end;
  26591. procedure TPORTD_LATD.setLATD8; inline;
  26592. begin
  26593. pTDefRegMap(@Self)^.&set := $00000100;
  26594. end;
  26595. procedure TPORTD_LATD.clearLATD8; inline;
  26596. begin
  26597. pTDefRegMap(@Self)^.clr := $00000100;
  26598. end;
  26599. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  26600. begin
  26601. if thebits = 0 then
  26602. pTDefRegMap(@Self)^.clr := $00000100
  26603. else
  26604. pTDefRegMap(@Self)^.&set := $00000100;
  26605. end;
  26606. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  26607. begin
  26608. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26609. end;
  26610. procedure TPORTD_LATD.setLATD9; inline;
  26611. begin
  26612. pTDefRegMap(@Self)^.&set := $00000200;
  26613. end;
  26614. procedure TPORTD_LATD.clearLATD9; inline;
  26615. begin
  26616. pTDefRegMap(@Self)^.clr := $00000200;
  26617. end;
  26618. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  26619. begin
  26620. if thebits = 0 then
  26621. pTDefRegMap(@Self)^.clr := $00000200
  26622. else
  26623. pTDefRegMap(@Self)^.&set := $00000200;
  26624. end;
  26625. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  26626. begin
  26627. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26628. end;
  26629. procedure TPORTD_LATD.setLATD10; inline;
  26630. begin
  26631. pTDefRegMap(@Self)^.&set := $00000400;
  26632. end;
  26633. procedure TPORTD_LATD.clearLATD10; inline;
  26634. begin
  26635. pTDefRegMap(@Self)^.clr := $00000400;
  26636. end;
  26637. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  26638. begin
  26639. if thebits = 0 then
  26640. pTDefRegMap(@Self)^.clr := $00000400
  26641. else
  26642. pTDefRegMap(@Self)^.&set := $00000400;
  26643. end;
  26644. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  26645. begin
  26646. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26647. end;
  26648. procedure TPORTD_LATD.setLATD11; inline;
  26649. begin
  26650. pTDefRegMap(@Self)^.&set := $00000800;
  26651. end;
  26652. procedure TPORTD_LATD.clearLATD11; inline;
  26653. begin
  26654. pTDefRegMap(@Self)^.clr := $00000800;
  26655. end;
  26656. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  26657. begin
  26658. if thebits = 0 then
  26659. pTDefRegMap(@Self)^.clr := $00000800
  26660. else
  26661. pTDefRegMap(@Self)^.&set := $00000800;
  26662. end;
  26663. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  26664. begin
  26665. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26666. end;
  26667. procedure TPORTD_LATD.setLATD12; inline;
  26668. begin
  26669. pTDefRegMap(@Self)^.&set := $00001000;
  26670. end;
  26671. procedure TPORTD_LATD.clearLATD12; inline;
  26672. begin
  26673. pTDefRegMap(@Self)^.clr := $00001000;
  26674. end;
  26675. procedure TPORTD_LATD.setLATD12(thebits : TBits_1); inline;
  26676. begin
  26677. if thebits = 0 then
  26678. pTDefRegMap(@Self)^.clr := $00001000
  26679. else
  26680. pTDefRegMap(@Self)^.&set := $00001000;
  26681. end;
  26682. function TPORTD_LATD.getLATD12 : TBits_1; inline;
  26683. begin
  26684. getLATD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26685. end;
  26686. procedure TPORTD_LATD.setLATD13; inline;
  26687. begin
  26688. pTDefRegMap(@Self)^.&set := $00002000;
  26689. end;
  26690. procedure TPORTD_LATD.clearLATD13; inline;
  26691. begin
  26692. pTDefRegMap(@Self)^.clr := $00002000;
  26693. end;
  26694. procedure TPORTD_LATD.setLATD13(thebits : TBits_1); inline;
  26695. begin
  26696. if thebits = 0 then
  26697. pTDefRegMap(@Self)^.clr := $00002000
  26698. else
  26699. pTDefRegMap(@Self)^.&set := $00002000;
  26700. end;
  26701. function TPORTD_LATD.getLATD13 : TBits_1; inline;
  26702. begin
  26703. getLATD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26704. end;
  26705. procedure TPORTD_LATD.setLATD14; inline;
  26706. begin
  26707. pTDefRegMap(@Self)^.&set := $00004000;
  26708. end;
  26709. procedure TPORTD_LATD.clearLATD14; inline;
  26710. begin
  26711. pTDefRegMap(@Self)^.clr := $00004000;
  26712. end;
  26713. procedure TPORTD_LATD.setLATD14(thebits : TBits_1); inline;
  26714. begin
  26715. if thebits = 0 then
  26716. pTDefRegMap(@Self)^.clr := $00004000
  26717. else
  26718. pTDefRegMap(@Self)^.&set := $00004000;
  26719. end;
  26720. function TPORTD_LATD.getLATD14 : TBits_1; inline;
  26721. begin
  26722. getLATD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26723. end;
  26724. procedure TPORTD_LATD.setLATD15; inline;
  26725. begin
  26726. pTDefRegMap(@Self)^.&set := $00008000;
  26727. end;
  26728. procedure TPORTD_LATD.clearLATD15; inline;
  26729. begin
  26730. pTDefRegMap(@Self)^.clr := $00008000;
  26731. end;
  26732. procedure TPORTD_LATD.setLATD15(thebits : TBits_1); inline;
  26733. begin
  26734. if thebits = 0 then
  26735. pTDefRegMap(@Self)^.clr := $00008000
  26736. else
  26737. pTDefRegMap(@Self)^.&set := $00008000;
  26738. end;
  26739. function TPORTD_LATD.getLATD15 : TBits_1; inline;
  26740. begin
  26741. getLATD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26742. end;
  26743. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  26744. begin
  26745. pTDefRegMap(@Self)^.val := thebits;
  26746. end;
  26747. function TPORTD_LATD.getw : TBits_32; inline;
  26748. begin
  26749. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26750. end;
  26751. procedure TPORTD_ODCD.setODCD0; inline;
  26752. begin
  26753. pTDefRegMap(@Self)^.&set := $00000001;
  26754. end;
  26755. procedure TPORTD_ODCD.clearODCD0; inline;
  26756. begin
  26757. pTDefRegMap(@Self)^.clr := $00000001;
  26758. end;
  26759. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  26760. begin
  26761. if thebits = 0 then
  26762. pTDefRegMap(@Self)^.clr := $00000001
  26763. else
  26764. pTDefRegMap(@Self)^.&set := $00000001;
  26765. end;
  26766. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  26767. begin
  26768. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26769. end;
  26770. procedure TPORTD_ODCD.setODCD1; inline;
  26771. begin
  26772. pTDefRegMap(@Self)^.&set := $00000002;
  26773. end;
  26774. procedure TPORTD_ODCD.clearODCD1; inline;
  26775. begin
  26776. pTDefRegMap(@Self)^.clr := $00000002;
  26777. end;
  26778. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  26779. begin
  26780. if thebits = 0 then
  26781. pTDefRegMap(@Self)^.clr := $00000002
  26782. else
  26783. pTDefRegMap(@Self)^.&set := $00000002;
  26784. end;
  26785. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  26786. begin
  26787. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26788. end;
  26789. procedure TPORTD_ODCD.setODCD2; inline;
  26790. begin
  26791. pTDefRegMap(@Self)^.&set := $00000004;
  26792. end;
  26793. procedure TPORTD_ODCD.clearODCD2; inline;
  26794. begin
  26795. pTDefRegMap(@Self)^.clr := $00000004;
  26796. end;
  26797. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  26798. begin
  26799. if thebits = 0 then
  26800. pTDefRegMap(@Self)^.clr := $00000004
  26801. else
  26802. pTDefRegMap(@Self)^.&set := $00000004;
  26803. end;
  26804. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  26805. begin
  26806. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26807. end;
  26808. procedure TPORTD_ODCD.setODCD3; inline;
  26809. begin
  26810. pTDefRegMap(@Self)^.&set := $00000008;
  26811. end;
  26812. procedure TPORTD_ODCD.clearODCD3; inline;
  26813. begin
  26814. pTDefRegMap(@Self)^.clr := $00000008;
  26815. end;
  26816. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  26817. begin
  26818. if thebits = 0 then
  26819. pTDefRegMap(@Self)^.clr := $00000008
  26820. else
  26821. pTDefRegMap(@Self)^.&set := $00000008;
  26822. end;
  26823. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  26824. begin
  26825. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26826. end;
  26827. procedure TPORTD_ODCD.setODCD4; inline;
  26828. begin
  26829. pTDefRegMap(@Self)^.&set := $00000010;
  26830. end;
  26831. procedure TPORTD_ODCD.clearODCD4; inline;
  26832. begin
  26833. pTDefRegMap(@Self)^.clr := $00000010;
  26834. end;
  26835. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  26836. begin
  26837. if thebits = 0 then
  26838. pTDefRegMap(@Self)^.clr := $00000010
  26839. else
  26840. pTDefRegMap(@Self)^.&set := $00000010;
  26841. end;
  26842. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  26843. begin
  26844. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26845. end;
  26846. procedure TPORTD_ODCD.setODCD5; inline;
  26847. begin
  26848. pTDefRegMap(@Self)^.&set := $00000020;
  26849. end;
  26850. procedure TPORTD_ODCD.clearODCD5; inline;
  26851. begin
  26852. pTDefRegMap(@Self)^.clr := $00000020;
  26853. end;
  26854. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  26855. begin
  26856. if thebits = 0 then
  26857. pTDefRegMap(@Self)^.clr := $00000020
  26858. else
  26859. pTDefRegMap(@Self)^.&set := $00000020;
  26860. end;
  26861. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  26862. begin
  26863. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26864. end;
  26865. procedure TPORTD_ODCD.setODCD6; inline;
  26866. begin
  26867. pTDefRegMap(@Self)^.&set := $00000040;
  26868. end;
  26869. procedure TPORTD_ODCD.clearODCD6; inline;
  26870. begin
  26871. pTDefRegMap(@Self)^.clr := $00000040;
  26872. end;
  26873. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  26874. begin
  26875. if thebits = 0 then
  26876. pTDefRegMap(@Self)^.clr := $00000040
  26877. else
  26878. pTDefRegMap(@Self)^.&set := $00000040;
  26879. end;
  26880. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  26881. begin
  26882. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26883. end;
  26884. procedure TPORTD_ODCD.setODCD7; inline;
  26885. begin
  26886. pTDefRegMap(@Self)^.&set := $00000080;
  26887. end;
  26888. procedure TPORTD_ODCD.clearODCD7; inline;
  26889. begin
  26890. pTDefRegMap(@Self)^.clr := $00000080;
  26891. end;
  26892. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  26893. begin
  26894. if thebits = 0 then
  26895. pTDefRegMap(@Self)^.clr := $00000080
  26896. else
  26897. pTDefRegMap(@Self)^.&set := $00000080;
  26898. end;
  26899. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  26900. begin
  26901. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26902. end;
  26903. procedure TPORTD_ODCD.setODCD8; inline;
  26904. begin
  26905. pTDefRegMap(@Self)^.&set := $00000100;
  26906. end;
  26907. procedure TPORTD_ODCD.clearODCD8; inline;
  26908. begin
  26909. pTDefRegMap(@Self)^.clr := $00000100;
  26910. end;
  26911. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  26912. begin
  26913. if thebits = 0 then
  26914. pTDefRegMap(@Self)^.clr := $00000100
  26915. else
  26916. pTDefRegMap(@Self)^.&set := $00000100;
  26917. end;
  26918. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  26919. begin
  26920. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26921. end;
  26922. procedure TPORTD_ODCD.setODCD9; inline;
  26923. begin
  26924. pTDefRegMap(@Self)^.&set := $00000200;
  26925. end;
  26926. procedure TPORTD_ODCD.clearODCD9; inline;
  26927. begin
  26928. pTDefRegMap(@Self)^.clr := $00000200;
  26929. end;
  26930. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  26931. begin
  26932. if thebits = 0 then
  26933. pTDefRegMap(@Self)^.clr := $00000200
  26934. else
  26935. pTDefRegMap(@Self)^.&set := $00000200;
  26936. end;
  26937. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  26938. begin
  26939. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26940. end;
  26941. procedure TPORTD_ODCD.setODCD10; inline;
  26942. begin
  26943. pTDefRegMap(@Self)^.&set := $00000400;
  26944. end;
  26945. procedure TPORTD_ODCD.clearODCD10; inline;
  26946. begin
  26947. pTDefRegMap(@Self)^.clr := $00000400;
  26948. end;
  26949. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  26950. begin
  26951. if thebits = 0 then
  26952. pTDefRegMap(@Self)^.clr := $00000400
  26953. else
  26954. pTDefRegMap(@Self)^.&set := $00000400;
  26955. end;
  26956. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  26957. begin
  26958. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26959. end;
  26960. procedure TPORTD_ODCD.setODCD11; inline;
  26961. begin
  26962. pTDefRegMap(@Self)^.&set := $00000800;
  26963. end;
  26964. procedure TPORTD_ODCD.clearODCD11; inline;
  26965. begin
  26966. pTDefRegMap(@Self)^.clr := $00000800;
  26967. end;
  26968. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  26969. begin
  26970. if thebits = 0 then
  26971. pTDefRegMap(@Self)^.clr := $00000800
  26972. else
  26973. pTDefRegMap(@Self)^.&set := $00000800;
  26974. end;
  26975. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  26976. begin
  26977. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26978. end;
  26979. procedure TPORTD_ODCD.setODCD12; inline;
  26980. begin
  26981. pTDefRegMap(@Self)^.&set := $00001000;
  26982. end;
  26983. procedure TPORTD_ODCD.clearODCD12; inline;
  26984. begin
  26985. pTDefRegMap(@Self)^.clr := $00001000;
  26986. end;
  26987. procedure TPORTD_ODCD.setODCD12(thebits : TBits_1); inline;
  26988. begin
  26989. if thebits = 0 then
  26990. pTDefRegMap(@Self)^.clr := $00001000
  26991. else
  26992. pTDefRegMap(@Self)^.&set := $00001000;
  26993. end;
  26994. function TPORTD_ODCD.getODCD12 : TBits_1; inline;
  26995. begin
  26996. getODCD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26997. end;
  26998. procedure TPORTD_ODCD.setODCD13; inline;
  26999. begin
  27000. pTDefRegMap(@Self)^.&set := $00002000;
  27001. end;
  27002. procedure TPORTD_ODCD.clearODCD13; inline;
  27003. begin
  27004. pTDefRegMap(@Self)^.clr := $00002000;
  27005. end;
  27006. procedure TPORTD_ODCD.setODCD13(thebits : TBits_1); inline;
  27007. begin
  27008. if thebits = 0 then
  27009. pTDefRegMap(@Self)^.clr := $00002000
  27010. else
  27011. pTDefRegMap(@Self)^.&set := $00002000;
  27012. end;
  27013. function TPORTD_ODCD.getODCD13 : TBits_1; inline;
  27014. begin
  27015. getODCD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27016. end;
  27017. procedure TPORTD_ODCD.setODCD14; inline;
  27018. begin
  27019. pTDefRegMap(@Self)^.&set := $00004000;
  27020. end;
  27021. procedure TPORTD_ODCD.clearODCD14; inline;
  27022. begin
  27023. pTDefRegMap(@Self)^.clr := $00004000;
  27024. end;
  27025. procedure TPORTD_ODCD.setODCD14(thebits : TBits_1); inline;
  27026. begin
  27027. if thebits = 0 then
  27028. pTDefRegMap(@Self)^.clr := $00004000
  27029. else
  27030. pTDefRegMap(@Self)^.&set := $00004000;
  27031. end;
  27032. function TPORTD_ODCD.getODCD14 : TBits_1; inline;
  27033. begin
  27034. getODCD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27035. end;
  27036. procedure TPORTD_ODCD.setODCD15; inline;
  27037. begin
  27038. pTDefRegMap(@Self)^.&set := $00008000;
  27039. end;
  27040. procedure TPORTD_ODCD.clearODCD15; inline;
  27041. begin
  27042. pTDefRegMap(@Self)^.clr := $00008000;
  27043. end;
  27044. procedure TPORTD_ODCD.setODCD15(thebits : TBits_1); inline;
  27045. begin
  27046. if thebits = 0 then
  27047. pTDefRegMap(@Self)^.clr := $00008000
  27048. else
  27049. pTDefRegMap(@Self)^.&set := $00008000;
  27050. end;
  27051. function TPORTD_ODCD.getODCD15 : TBits_1; inline;
  27052. begin
  27053. getODCD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27054. end;
  27055. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  27056. begin
  27057. pTDefRegMap(@Self)^.val := thebits;
  27058. end;
  27059. function TPORTD_ODCD.getw : TBits_32; inline;
  27060. begin
  27061. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27062. end;
  27063. procedure TPORTE_TRISE.setTRISE0; inline;
  27064. begin
  27065. pTDefRegMap(@Self)^.&set := $00000001;
  27066. end;
  27067. procedure TPORTE_TRISE.clearTRISE0; inline;
  27068. begin
  27069. pTDefRegMap(@Self)^.clr := $00000001;
  27070. end;
  27071. procedure TPORTE_TRISE.setTRISE0(thebits : TBits_1); inline;
  27072. begin
  27073. if thebits = 0 then
  27074. pTDefRegMap(@Self)^.clr := $00000001
  27075. else
  27076. pTDefRegMap(@Self)^.&set := $00000001;
  27077. end;
  27078. function TPORTE_TRISE.getTRISE0 : TBits_1; inline;
  27079. begin
  27080. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27081. end;
  27082. procedure TPORTE_TRISE.setTRISE1; inline;
  27083. begin
  27084. pTDefRegMap(@Self)^.&set := $00000002;
  27085. end;
  27086. procedure TPORTE_TRISE.clearTRISE1; inline;
  27087. begin
  27088. pTDefRegMap(@Self)^.clr := $00000002;
  27089. end;
  27090. procedure TPORTE_TRISE.setTRISE1(thebits : TBits_1); inline;
  27091. begin
  27092. if thebits = 0 then
  27093. pTDefRegMap(@Self)^.clr := $00000002
  27094. else
  27095. pTDefRegMap(@Self)^.&set := $00000002;
  27096. end;
  27097. function TPORTE_TRISE.getTRISE1 : TBits_1; inline;
  27098. begin
  27099. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27100. end;
  27101. procedure TPORTE_TRISE.setTRISE2; inline;
  27102. begin
  27103. pTDefRegMap(@Self)^.&set := $00000004;
  27104. end;
  27105. procedure TPORTE_TRISE.clearTRISE2; inline;
  27106. begin
  27107. pTDefRegMap(@Self)^.clr := $00000004;
  27108. end;
  27109. procedure TPORTE_TRISE.setTRISE2(thebits : TBits_1); inline;
  27110. begin
  27111. if thebits = 0 then
  27112. pTDefRegMap(@Self)^.clr := $00000004
  27113. else
  27114. pTDefRegMap(@Self)^.&set := $00000004;
  27115. end;
  27116. function TPORTE_TRISE.getTRISE2 : TBits_1; inline;
  27117. begin
  27118. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27119. end;
  27120. procedure TPORTE_TRISE.setTRISE3; inline;
  27121. begin
  27122. pTDefRegMap(@Self)^.&set := $00000008;
  27123. end;
  27124. procedure TPORTE_TRISE.clearTRISE3; inline;
  27125. begin
  27126. pTDefRegMap(@Self)^.clr := $00000008;
  27127. end;
  27128. procedure TPORTE_TRISE.setTRISE3(thebits : TBits_1); inline;
  27129. begin
  27130. if thebits = 0 then
  27131. pTDefRegMap(@Self)^.clr := $00000008
  27132. else
  27133. pTDefRegMap(@Self)^.&set := $00000008;
  27134. end;
  27135. function TPORTE_TRISE.getTRISE3 : TBits_1; inline;
  27136. begin
  27137. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27138. end;
  27139. procedure TPORTE_TRISE.setTRISE4; inline;
  27140. begin
  27141. pTDefRegMap(@Self)^.&set := $00000010;
  27142. end;
  27143. procedure TPORTE_TRISE.clearTRISE4; inline;
  27144. begin
  27145. pTDefRegMap(@Self)^.clr := $00000010;
  27146. end;
  27147. procedure TPORTE_TRISE.setTRISE4(thebits : TBits_1); inline;
  27148. begin
  27149. if thebits = 0 then
  27150. pTDefRegMap(@Self)^.clr := $00000010
  27151. else
  27152. pTDefRegMap(@Self)^.&set := $00000010;
  27153. end;
  27154. function TPORTE_TRISE.getTRISE4 : TBits_1; inline;
  27155. begin
  27156. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27157. end;
  27158. procedure TPORTE_TRISE.setTRISE5; inline;
  27159. begin
  27160. pTDefRegMap(@Self)^.&set := $00000020;
  27161. end;
  27162. procedure TPORTE_TRISE.clearTRISE5; inline;
  27163. begin
  27164. pTDefRegMap(@Self)^.clr := $00000020;
  27165. end;
  27166. procedure TPORTE_TRISE.setTRISE5(thebits : TBits_1); inline;
  27167. begin
  27168. if thebits = 0 then
  27169. pTDefRegMap(@Self)^.clr := $00000020
  27170. else
  27171. pTDefRegMap(@Self)^.&set := $00000020;
  27172. end;
  27173. function TPORTE_TRISE.getTRISE5 : TBits_1; inline;
  27174. begin
  27175. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27176. end;
  27177. procedure TPORTE_TRISE.setTRISE6; inline;
  27178. begin
  27179. pTDefRegMap(@Self)^.&set := $00000040;
  27180. end;
  27181. procedure TPORTE_TRISE.clearTRISE6; inline;
  27182. begin
  27183. pTDefRegMap(@Self)^.clr := $00000040;
  27184. end;
  27185. procedure TPORTE_TRISE.setTRISE6(thebits : TBits_1); inline;
  27186. begin
  27187. if thebits = 0 then
  27188. pTDefRegMap(@Self)^.clr := $00000040
  27189. else
  27190. pTDefRegMap(@Self)^.&set := $00000040;
  27191. end;
  27192. function TPORTE_TRISE.getTRISE6 : TBits_1; inline;
  27193. begin
  27194. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27195. end;
  27196. procedure TPORTE_TRISE.setTRISE7; inline;
  27197. begin
  27198. pTDefRegMap(@Self)^.&set := $00000080;
  27199. end;
  27200. procedure TPORTE_TRISE.clearTRISE7; inline;
  27201. begin
  27202. pTDefRegMap(@Self)^.clr := $00000080;
  27203. end;
  27204. procedure TPORTE_TRISE.setTRISE7(thebits : TBits_1); inline;
  27205. begin
  27206. if thebits = 0 then
  27207. pTDefRegMap(@Self)^.clr := $00000080
  27208. else
  27209. pTDefRegMap(@Self)^.&set := $00000080;
  27210. end;
  27211. function TPORTE_TRISE.getTRISE7 : TBits_1; inline;
  27212. begin
  27213. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27214. end;
  27215. procedure TPORTE_TRISE.setTRISE8; inline;
  27216. begin
  27217. pTDefRegMap(@Self)^.&set := $00000100;
  27218. end;
  27219. procedure TPORTE_TRISE.clearTRISE8; inline;
  27220. begin
  27221. pTDefRegMap(@Self)^.clr := $00000100;
  27222. end;
  27223. procedure TPORTE_TRISE.setTRISE8(thebits : TBits_1); inline;
  27224. begin
  27225. if thebits = 0 then
  27226. pTDefRegMap(@Self)^.clr := $00000100
  27227. else
  27228. pTDefRegMap(@Self)^.&set := $00000100;
  27229. end;
  27230. function TPORTE_TRISE.getTRISE8 : TBits_1; inline;
  27231. begin
  27232. getTRISE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27233. end;
  27234. procedure TPORTE_TRISE.setTRISE9; inline;
  27235. begin
  27236. pTDefRegMap(@Self)^.&set := $00000200;
  27237. end;
  27238. procedure TPORTE_TRISE.clearTRISE9; inline;
  27239. begin
  27240. pTDefRegMap(@Self)^.clr := $00000200;
  27241. end;
  27242. procedure TPORTE_TRISE.setTRISE9(thebits : TBits_1); inline;
  27243. begin
  27244. if thebits = 0 then
  27245. pTDefRegMap(@Self)^.clr := $00000200
  27246. else
  27247. pTDefRegMap(@Self)^.&set := $00000200;
  27248. end;
  27249. function TPORTE_TRISE.getTRISE9 : TBits_1; inline;
  27250. begin
  27251. getTRISE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27252. end;
  27253. procedure TPORTE_TRISE.setw(thebits : TBits_32); inline;
  27254. begin
  27255. pTDefRegMap(@Self)^.val := thebits;
  27256. end;
  27257. function TPORTE_TRISE.getw : TBits_32; inline;
  27258. begin
  27259. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27260. end;
  27261. procedure TPORTE_PORTE.setRE0; inline;
  27262. begin
  27263. pTDefRegMap(@Self)^.&set := $00000001;
  27264. end;
  27265. procedure TPORTE_PORTE.clearRE0; inline;
  27266. begin
  27267. pTDefRegMap(@Self)^.clr := $00000001;
  27268. end;
  27269. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  27270. begin
  27271. if thebits = 0 then
  27272. pTDefRegMap(@Self)^.clr := $00000001
  27273. else
  27274. pTDefRegMap(@Self)^.&set := $00000001;
  27275. end;
  27276. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  27277. begin
  27278. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27279. end;
  27280. procedure TPORTE_PORTE.setRE1; inline;
  27281. begin
  27282. pTDefRegMap(@Self)^.&set := $00000002;
  27283. end;
  27284. procedure TPORTE_PORTE.clearRE1; inline;
  27285. begin
  27286. pTDefRegMap(@Self)^.clr := $00000002;
  27287. end;
  27288. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  27289. begin
  27290. if thebits = 0 then
  27291. pTDefRegMap(@Self)^.clr := $00000002
  27292. else
  27293. pTDefRegMap(@Self)^.&set := $00000002;
  27294. end;
  27295. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  27296. begin
  27297. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27298. end;
  27299. procedure TPORTE_PORTE.setRE2; inline;
  27300. begin
  27301. pTDefRegMap(@Self)^.&set := $00000004;
  27302. end;
  27303. procedure TPORTE_PORTE.clearRE2; inline;
  27304. begin
  27305. pTDefRegMap(@Self)^.clr := $00000004;
  27306. end;
  27307. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  27308. begin
  27309. if thebits = 0 then
  27310. pTDefRegMap(@Self)^.clr := $00000004
  27311. else
  27312. pTDefRegMap(@Self)^.&set := $00000004;
  27313. end;
  27314. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  27315. begin
  27316. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27317. end;
  27318. procedure TPORTE_PORTE.setRE3; inline;
  27319. begin
  27320. pTDefRegMap(@Self)^.&set := $00000008;
  27321. end;
  27322. procedure TPORTE_PORTE.clearRE3; inline;
  27323. begin
  27324. pTDefRegMap(@Self)^.clr := $00000008;
  27325. end;
  27326. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  27327. begin
  27328. if thebits = 0 then
  27329. pTDefRegMap(@Self)^.clr := $00000008
  27330. else
  27331. pTDefRegMap(@Self)^.&set := $00000008;
  27332. end;
  27333. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  27334. begin
  27335. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27336. end;
  27337. procedure TPORTE_PORTE.setRE4; inline;
  27338. begin
  27339. pTDefRegMap(@Self)^.&set := $00000010;
  27340. end;
  27341. procedure TPORTE_PORTE.clearRE4; inline;
  27342. begin
  27343. pTDefRegMap(@Self)^.clr := $00000010;
  27344. end;
  27345. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  27346. begin
  27347. if thebits = 0 then
  27348. pTDefRegMap(@Self)^.clr := $00000010
  27349. else
  27350. pTDefRegMap(@Self)^.&set := $00000010;
  27351. end;
  27352. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  27353. begin
  27354. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27355. end;
  27356. procedure TPORTE_PORTE.setRE5; inline;
  27357. begin
  27358. pTDefRegMap(@Self)^.&set := $00000020;
  27359. end;
  27360. procedure TPORTE_PORTE.clearRE5; inline;
  27361. begin
  27362. pTDefRegMap(@Self)^.clr := $00000020;
  27363. end;
  27364. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  27365. begin
  27366. if thebits = 0 then
  27367. pTDefRegMap(@Self)^.clr := $00000020
  27368. else
  27369. pTDefRegMap(@Self)^.&set := $00000020;
  27370. end;
  27371. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  27372. begin
  27373. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27374. end;
  27375. procedure TPORTE_PORTE.setRE6; inline;
  27376. begin
  27377. pTDefRegMap(@Self)^.&set := $00000040;
  27378. end;
  27379. procedure TPORTE_PORTE.clearRE6; inline;
  27380. begin
  27381. pTDefRegMap(@Self)^.clr := $00000040;
  27382. end;
  27383. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  27384. begin
  27385. if thebits = 0 then
  27386. pTDefRegMap(@Self)^.clr := $00000040
  27387. else
  27388. pTDefRegMap(@Self)^.&set := $00000040;
  27389. end;
  27390. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  27391. begin
  27392. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27393. end;
  27394. procedure TPORTE_PORTE.setRE7; inline;
  27395. begin
  27396. pTDefRegMap(@Self)^.&set := $00000080;
  27397. end;
  27398. procedure TPORTE_PORTE.clearRE7; inline;
  27399. begin
  27400. pTDefRegMap(@Self)^.clr := $00000080;
  27401. end;
  27402. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  27403. begin
  27404. if thebits = 0 then
  27405. pTDefRegMap(@Self)^.clr := $00000080
  27406. else
  27407. pTDefRegMap(@Self)^.&set := $00000080;
  27408. end;
  27409. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  27410. begin
  27411. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27412. end;
  27413. procedure TPORTE_PORTE.setRE8; inline;
  27414. begin
  27415. pTDefRegMap(@Self)^.&set := $00000100;
  27416. end;
  27417. procedure TPORTE_PORTE.clearRE8; inline;
  27418. begin
  27419. pTDefRegMap(@Self)^.clr := $00000100;
  27420. end;
  27421. procedure TPORTE_PORTE.setRE8(thebits : TBits_1); inline;
  27422. begin
  27423. if thebits = 0 then
  27424. pTDefRegMap(@Self)^.clr := $00000100
  27425. else
  27426. pTDefRegMap(@Self)^.&set := $00000100;
  27427. end;
  27428. function TPORTE_PORTE.getRE8 : TBits_1; inline;
  27429. begin
  27430. getRE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27431. end;
  27432. procedure TPORTE_PORTE.setRE9; inline;
  27433. begin
  27434. pTDefRegMap(@Self)^.&set := $00000200;
  27435. end;
  27436. procedure TPORTE_PORTE.clearRE9; inline;
  27437. begin
  27438. pTDefRegMap(@Self)^.clr := $00000200;
  27439. end;
  27440. procedure TPORTE_PORTE.setRE9(thebits : TBits_1); inline;
  27441. begin
  27442. if thebits = 0 then
  27443. pTDefRegMap(@Self)^.clr := $00000200
  27444. else
  27445. pTDefRegMap(@Self)^.&set := $00000200;
  27446. end;
  27447. function TPORTE_PORTE.getRE9 : TBits_1; inline;
  27448. begin
  27449. getRE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27450. end;
  27451. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  27452. begin
  27453. pTDefRegMap(@Self)^.val := thebits;
  27454. end;
  27455. function TPORTE_PORTE.getw : TBits_32; inline;
  27456. begin
  27457. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27458. end;
  27459. procedure TPORTE_LATE.setLATE0; inline;
  27460. begin
  27461. pTDefRegMap(@Self)^.&set := $00000001;
  27462. end;
  27463. procedure TPORTE_LATE.clearLATE0; inline;
  27464. begin
  27465. pTDefRegMap(@Self)^.clr := $00000001;
  27466. end;
  27467. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  27468. begin
  27469. if thebits = 0 then
  27470. pTDefRegMap(@Self)^.clr := $00000001
  27471. else
  27472. pTDefRegMap(@Self)^.&set := $00000001;
  27473. end;
  27474. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  27475. begin
  27476. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27477. end;
  27478. procedure TPORTE_LATE.setLATE1; inline;
  27479. begin
  27480. pTDefRegMap(@Self)^.&set := $00000002;
  27481. end;
  27482. procedure TPORTE_LATE.clearLATE1; inline;
  27483. begin
  27484. pTDefRegMap(@Self)^.clr := $00000002;
  27485. end;
  27486. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  27487. begin
  27488. if thebits = 0 then
  27489. pTDefRegMap(@Self)^.clr := $00000002
  27490. else
  27491. pTDefRegMap(@Self)^.&set := $00000002;
  27492. end;
  27493. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  27494. begin
  27495. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27496. end;
  27497. procedure TPORTE_LATE.setLATE2; inline;
  27498. begin
  27499. pTDefRegMap(@Self)^.&set := $00000004;
  27500. end;
  27501. procedure TPORTE_LATE.clearLATE2; inline;
  27502. begin
  27503. pTDefRegMap(@Self)^.clr := $00000004;
  27504. end;
  27505. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  27506. begin
  27507. if thebits = 0 then
  27508. pTDefRegMap(@Self)^.clr := $00000004
  27509. else
  27510. pTDefRegMap(@Self)^.&set := $00000004;
  27511. end;
  27512. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  27513. begin
  27514. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27515. end;
  27516. procedure TPORTE_LATE.setLATE3; inline;
  27517. begin
  27518. pTDefRegMap(@Self)^.&set := $00000008;
  27519. end;
  27520. procedure TPORTE_LATE.clearLATE3; inline;
  27521. begin
  27522. pTDefRegMap(@Self)^.clr := $00000008;
  27523. end;
  27524. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  27525. begin
  27526. if thebits = 0 then
  27527. pTDefRegMap(@Self)^.clr := $00000008
  27528. else
  27529. pTDefRegMap(@Self)^.&set := $00000008;
  27530. end;
  27531. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  27532. begin
  27533. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27534. end;
  27535. procedure TPORTE_LATE.setLATE4; inline;
  27536. begin
  27537. pTDefRegMap(@Self)^.&set := $00000010;
  27538. end;
  27539. procedure TPORTE_LATE.clearLATE4; inline;
  27540. begin
  27541. pTDefRegMap(@Self)^.clr := $00000010;
  27542. end;
  27543. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  27544. begin
  27545. if thebits = 0 then
  27546. pTDefRegMap(@Self)^.clr := $00000010
  27547. else
  27548. pTDefRegMap(@Self)^.&set := $00000010;
  27549. end;
  27550. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  27551. begin
  27552. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27553. end;
  27554. procedure TPORTE_LATE.setLATE5; inline;
  27555. begin
  27556. pTDefRegMap(@Self)^.&set := $00000020;
  27557. end;
  27558. procedure TPORTE_LATE.clearLATE5; inline;
  27559. begin
  27560. pTDefRegMap(@Self)^.clr := $00000020;
  27561. end;
  27562. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  27563. begin
  27564. if thebits = 0 then
  27565. pTDefRegMap(@Self)^.clr := $00000020
  27566. else
  27567. pTDefRegMap(@Self)^.&set := $00000020;
  27568. end;
  27569. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  27570. begin
  27571. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27572. end;
  27573. procedure TPORTE_LATE.setLATE6; inline;
  27574. begin
  27575. pTDefRegMap(@Self)^.&set := $00000040;
  27576. end;
  27577. procedure TPORTE_LATE.clearLATE6; inline;
  27578. begin
  27579. pTDefRegMap(@Self)^.clr := $00000040;
  27580. end;
  27581. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  27582. begin
  27583. if thebits = 0 then
  27584. pTDefRegMap(@Self)^.clr := $00000040
  27585. else
  27586. pTDefRegMap(@Self)^.&set := $00000040;
  27587. end;
  27588. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  27589. begin
  27590. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27591. end;
  27592. procedure TPORTE_LATE.setLATE7; inline;
  27593. begin
  27594. pTDefRegMap(@Self)^.&set := $00000080;
  27595. end;
  27596. procedure TPORTE_LATE.clearLATE7; inline;
  27597. begin
  27598. pTDefRegMap(@Self)^.clr := $00000080;
  27599. end;
  27600. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  27601. begin
  27602. if thebits = 0 then
  27603. pTDefRegMap(@Self)^.clr := $00000080
  27604. else
  27605. pTDefRegMap(@Self)^.&set := $00000080;
  27606. end;
  27607. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  27608. begin
  27609. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27610. end;
  27611. procedure TPORTE_LATE.setLATE8; inline;
  27612. begin
  27613. pTDefRegMap(@Self)^.&set := $00000100;
  27614. end;
  27615. procedure TPORTE_LATE.clearLATE8; inline;
  27616. begin
  27617. pTDefRegMap(@Self)^.clr := $00000100;
  27618. end;
  27619. procedure TPORTE_LATE.setLATE8(thebits : TBits_1); inline;
  27620. begin
  27621. if thebits = 0 then
  27622. pTDefRegMap(@Self)^.clr := $00000100
  27623. else
  27624. pTDefRegMap(@Self)^.&set := $00000100;
  27625. end;
  27626. function TPORTE_LATE.getLATE8 : TBits_1; inline;
  27627. begin
  27628. getLATE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27629. end;
  27630. procedure TPORTE_LATE.setLATE9; inline;
  27631. begin
  27632. pTDefRegMap(@Self)^.&set := $00000200;
  27633. end;
  27634. procedure TPORTE_LATE.clearLATE9; inline;
  27635. begin
  27636. pTDefRegMap(@Self)^.clr := $00000200;
  27637. end;
  27638. procedure TPORTE_LATE.setLATE9(thebits : TBits_1); inline;
  27639. begin
  27640. if thebits = 0 then
  27641. pTDefRegMap(@Self)^.clr := $00000200
  27642. else
  27643. pTDefRegMap(@Self)^.&set := $00000200;
  27644. end;
  27645. function TPORTE_LATE.getLATE9 : TBits_1; inline;
  27646. begin
  27647. getLATE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27648. end;
  27649. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  27650. begin
  27651. pTDefRegMap(@Self)^.val := thebits;
  27652. end;
  27653. function TPORTE_LATE.getw : TBits_32; inline;
  27654. begin
  27655. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27656. end;
  27657. procedure TPORTE_ODCE.setODCE0; inline;
  27658. begin
  27659. pTDefRegMap(@Self)^.&set := $00000001;
  27660. end;
  27661. procedure TPORTE_ODCE.clearODCE0; inline;
  27662. begin
  27663. pTDefRegMap(@Self)^.clr := $00000001;
  27664. end;
  27665. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  27666. begin
  27667. if thebits = 0 then
  27668. pTDefRegMap(@Self)^.clr := $00000001
  27669. else
  27670. pTDefRegMap(@Self)^.&set := $00000001;
  27671. end;
  27672. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  27673. begin
  27674. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27675. end;
  27676. procedure TPORTE_ODCE.setODCE1; inline;
  27677. begin
  27678. pTDefRegMap(@Self)^.&set := $00000002;
  27679. end;
  27680. procedure TPORTE_ODCE.clearODCE1; inline;
  27681. begin
  27682. pTDefRegMap(@Self)^.clr := $00000002;
  27683. end;
  27684. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  27685. begin
  27686. if thebits = 0 then
  27687. pTDefRegMap(@Self)^.clr := $00000002
  27688. else
  27689. pTDefRegMap(@Self)^.&set := $00000002;
  27690. end;
  27691. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  27692. begin
  27693. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27694. end;
  27695. procedure TPORTE_ODCE.setODCE2; inline;
  27696. begin
  27697. pTDefRegMap(@Self)^.&set := $00000004;
  27698. end;
  27699. procedure TPORTE_ODCE.clearODCE2; inline;
  27700. begin
  27701. pTDefRegMap(@Self)^.clr := $00000004;
  27702. end;
  27703. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  27704. begin
  27705. if thebits = 0 then
  27706. pTDefRegMap(@Self)^.clr := $00000004
  27707. else
  27708. pTDefRegMap(@Self)^.&set := $00000004;
  27709. end;
  27710. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  27711. begin
  27712. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27713. end;
  27714. procedure TPORTE_ODCE.setODCE3; inline;
  27715. begin
  27716. pTDefRegMap(@Self)^.&set := $00000008;
  27717. end;
  27718. procedure TPORTE_ODCE.clearODCE3; inline;
  27719. begin
  27720. pTDefRegMap(@Self)^.clr := $00000008;
  27721. end;
  27722. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  27723. begin
  27724. if thebits = 0 then
  27725. pTDefRegMap(@Self)^.clr := $00000008
  27726. else
  27727. pTDefRegMap(@Self)^.&set := $00000008;
  27728. end;
  27729. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  27730. begin
  27731. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27732. end;
  27733. procedure TPORTE_ODCE.setODCE4; inline;
  27734. begin
  27735. pTDefRegMap(@Self)^.&set := $00000010;
  27736. end;
  27737. procedure TPORTE_ODCE.clearODCE4; inline;
  27738. begin
  27739. pTDefRegMap(@Self)^.clr := $00000010;
  27740. end;
  27741. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  27742. begin
  27743. if thebits = 0 then
  27744. pTDefRegMap(@Self)^.clr := $00000010
  27745. else
  27746. pTDefRegMap(@Self)^.&set := $00000010;
  27747. end;
  27748. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  27749. begin
  27750. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27751. end;
  27752. procedure TPORTE_ODCE.setODCE5; inline;
  27753. begin
  27754. pTDefRegMap(@Self)^.&set := $00000020;
  27755. end;
  27756. procedure TPORTE_ODCE.clearODCE5; inline;
  27757. begin
  27758. pTDefRegMap(@Self)^.clr := $00000020;
  27759. end;
  27760. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  27761. begin
  27762. if thebits = 0 then
  27763. pTDefRegMap(@Self)^.clr := $00000020
  27764. else
  27765. pTDefRegMap(@Self)^.&set := $00000020;
  27766. end;
  27767. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  27768. begin
  27769. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27770. end;
  27771. procedure TPORTE_ODCE.setODCE6; inline;
  27772. begin
  27773. pTDefRegMap(@Self)^.&set := $00000040;
  27774. end;
  27775. procedure TPORTE_ODCE.clearODCE6; inline;
  27776. begin
  27777. pTDefRegMap(@Self)^.clr := $00000040;
  27778. end;
  27779. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  27780. begin
  27781. if thebits = 0 then
  27782. pTDefRegMap(@Self)^.clr := $00000040
  27783. else
  27784. pTDefRegMap(@Self)^.&set := $00000040;
  27785. end;
  27786. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  27787. begin
  27788. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27789. end;
  27790. procedure TPORTE_ODCE.setODCE7; inline;
  27791. begin
  27792. pTDefRegMap(@Self)^.&set := $00000080;
  27793. end;
  27794. procedure TPORTE_ODCE.clearODCE7; inline;
  27795. begin
  27796. pTDefRegMap(@Self)^.clr := $00000080;
  27797. end;
  27798. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  27799. begin
  27800. if thebits = 0 then
  27801. pTDefRegMap(@Self)^.clr := $00000080
  27802. else
  27803. pTDefRegMap(@Self)^.&set := $00000080;
  27804. end;
  27805. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  27806. begin
  27807. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27808. end;
  27809. procedure TPORTE_ODCE.setODCE8; inline;
  27810. begin
  27811. pTDefRegMap(@Self)^.&set := $00000100;
  27812. end;
  27813. procedure TPORTE_ODCE.clearODCE8; inline;
  27814. begin
  27815. pTDefRegMap(@Self)^.clr := $00000100;
  27816. end;
  27817. procedure TPORTE_ODCE.setODCE8(thebits : TBits_1); inline;
  27818. begin
  27819. if thebits = 0 then
  27820. pTDefRegMap(@Self)^.clr := $00000100
  27821. else
  27822. pTDefRegMap(@Self)^.&set := $00000100;
  27823. end;
  27824. function TPORTE_ODCE.getODCE8 : TBits_1; inline;
  27825. begin
  27826. getODCE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27827. end;
  27828. procedure TPORTE_ODCE.setODCE9; inline;
  27829. begin
  27830. pTDefRegMap(@Self)^.&set := $00000200;
  27831. end;
  27832. procedure TPORTE_ODCE.clearODCE9; inline;
  27833. begin
  27834. pTDefRegMap(@Self)^.clr := $00000200;
  27835. end;
  27836. procedure TPORTE_ODCE.setODCE9(thebits : TBits_1); inline;
  27837. begin
  27838. if thebits = 0 then
  27839. pTDefRegMap(@Self)^.clr := $00000200
  27840. else
  27841. pTDefRegMap(@Self)^.&set := $00000200;
  27842. end;
  27843. function TPORTE_ODCE.getODCE9 : TBits_1; inline;
  27844. begin
  27845. getODCE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27846. end;
  27847. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  27848. begin
  27849. pTDefRegMap(@Self)^.val := thebits;
  27850. end;
  27851. function TPORTE_ODCE.getw : TBits_32; inline;
  27852. begin
  27853. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27854. end;
  27855. procedure TPORTF_TRISF.setTRISF0; inline;
  27856. begin
  27857. pTDefRegMap(@Self)^.&set := $00000001;
  27858. end;
  27859. procedure TPORTF_TRISF.clearTRISF0; inline;
  27860. begin
  27861. pTDefRegMap(@Self)^.clr := $00000001;
  27862. end;
  27863. procedure TPORTF_TRISF.setTRISF0(thebits : TBits_1); inline;
  27864. begin
  27865. if thebits = 0 then
  27866. pTDefRegMap(@Self)^.clr := $00000001
  27867. else
  27868. pTDefRegMap(@Self)^.&set := $00000001;
  27869. end;
  27870. function TPORTF_TRISF.getTRISF0 : TBits_1; inline;
  27871. begin
  27872. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27873. end;
  27874. procedure TPORTF_TRISF.setTRISF1; inline;
  27875. begin
  27876. pTDefRegMap(@Self)^.&set := $00000002;
  27877. end;
  27878. procedure TPORTF_TRISF.clearTRISF1; inline;
  27879. begin
  27880. pTDefRegMap(@Self)^.clr := $00000002;
  27881. end;
  27882. procedure TPORTF_TRISF.setTRISF1(thebits : TBits_1); inline;
  27883. begin
  27884. if thebits = 0 then
  27885. pTDefRegMap(@Self)^.clr := $00000002
  27886. else
  27887. pTDefRegMap(@Self)^.&set := $00000002;
  27888. end;
  27889. function TPORTF_TRISF.getTRISF1 : TBits_1; inline;
  27890. begin
  27891. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27892. end;
  27893. procedure TPORTF_TRISF.setTRISF2; inline;
  27894. begin
  27895. pTDefRegMap(@Self)^.&set := $00000004;
  27896. end;
  27897. procedure TPORTF_TRISF.clearTRISF2; inline;
  27898. begin
  27899. pTDefRegMap(@Self)^.clr := $00000004;
  27900. end;
  27901. procedure TPORTF_TRISF.setTRISF2(thebits : TBits_1); inline;
  27902. begin
  27903. if thebits = 0 then
  27904. pTDefRegMap(@Self)^.clr := $00000004
  27905. else
  27906. pTDefRegMap(@Self)^.&set := $00000004;
  27907. end;
  27908. function TPORTF_TRISF.getTRISF2 : TBits_1; inline;
  27909. begin
  27910. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27911. end;
  27912. procedure TPORTF_TRISF.setTRISF3; inline;
  27913. begin
  27914. pTDefRegMap(@Self)^.&set := $00000008;
  27915. end;
  27916. procedure TPORTF_TRISF.clearTRISF3; inline;
  27917. begin
  27918. pTDefRegMap(@Self)^.clr := $00000008;
  27919. end;
  27920. procedure TPORTF_TRISF.setTRISF3(thebits : TBits_1); inline;
  27921. begin
  27922. if thebits = 0 then
  27923. pTDefRegMap(@Self)^.clr := $00000008
  27924. else
  27925. pTDefRegMap(@Self)^.&set := $00000008;
  27926. end;
  27927. function TPORTF_TRISF.getTRISF3 : TBits_1; inline;
  27928. begin
  27929. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27930. end;
  27931. procedure TPORTF_TRISF.setTRISF4; inline;
  27932. begin
  27933. pTDefRegMap(@Self)^.&set := $00000010;
  27934. end;
  27935. procedure TPORTF_TRISF.clearTRISF4; inline;
  27936. begin
  27937. pTDefRegMap(@Self)^.clr := $00000010;
  27938. end;
  27939. procedure TPORTF_TRISF.setTRISF4(thebits : TBits_1); inline;
  27940. begin
  27941. if thebits = 0 then
  27942. pTDefRegMap(@Self)^.clr := $00000010
  27943. else
  27944. pTDefRegMap(@Self)^.&set := $00000010;
  27945. end;
  27946. function TPORTF_TRISF.getTRISF4 : TBits_1; inline;
  27947. begin
  27948. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27949. end;
  27950. procedure TPORTF_TRISF.setTRISF5; inline;
  27951. begin
  27952. pTDefRegMap(@Self)^.&set := $00000020;
  27953. end;
  27954. procedure TPORTF_TRISF.clearTRISF5; inline;
  27955. begin
  27956. pTDefRegMap(@Self)^.clr := $00000020;
  27957. end;
  27958. procedure TPORTF_TRISF.setTRISF5(thebits : TBits_1); inline;
  27959. begin
  27960. if thebits = 0 then
  27961. pTDefRegMap(@Self)^.clr := $00000020
  27962. else
  27963. pTDefRegMap(@Self)^.&set := $00000020;
  27964. end;
  27965. function TPORTF_TRISF.getTRISF5 : TBits_1; inline;
  27966. begin
  27967. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27968. end;
  27969. procedure TPORTF_TRISF.setTRISF6; inline;
  27970. begin
  27971. pTDefRegMap(@Self)^.&set := $00000040;
  27972. end;
  27973. procedure TPORTF_TRISF.clearTRISF6; inline;
  27974. begin
  27975. pTDefRegMap(@Self)^.clr := $00000040;
  27976. end;
  27977. procedure TPORTF_TRISF.setTRISF6(thebits : TBits_1); inline;
  27978. begin
  27979. if thebits = 0 then
  27980. pTDefRegMap(@Self)^.clr := $00000040
  27981. else
  27982. pTDefRegMap(@Self)^.&set := $00000040;
  27983. end;
  27984. function TPORTF_TRISF.getTRISF6 : TBits_1; inline;
  27985. begin
  27986. getTRISF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27987. end;
  27988. procedure TPORTF_TRISF.setTRISF7; inline;
  27989. begin
  27990. pTDefRegMap(@Self)^.&set := $00000080;
  27991. end;
  27992. procedure TPORTF_TRISF.clearTRISF7; inline;
  27993. begin
  27994. pTDefRegMap(@Self)^.clr := $00000080;
  27995. end;
  27996. procedure TPORTF_TRISF.setTRISF7(thebits : TBits_1); inline;
  27997. begin
  27998. if thebits = 0 then
  27999. pTDefRegMap(@Self)^.clr := $00000080
  28000. else
  28001. pTDefRegMap(@Self)^.&set := $00000080;
  28002. end;
  28003. function TPORTF_TRISF.getTRISF7 : TBits_1; inline;
  28004. begin
  28005. getTRISF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28006. end;
  28007. procedure TPORTF_TRISF.setTRISF8; inline;
  28008. begin
  28009. pTDefRegMap(@Self)^.&set := $00000100;
  28010. end;
  28011. procedure TPORTF_TRISF.clearTRISF8; inline;
  28012. begin
  28013. pTDefRegMap(@Self)^.clr := $00000100;
  28014. end;
  28015. procedure TPORTF_TRISF.setTRISF8(thebits : TBits_1); inline;
  28016. begin
  28017. if thebits = 0 then
  28018. pTDefRegMap(@Self)^.clr := $00000100
  28019. else
  28020. pTDefRegMap(@Self)^.&set := $00000100;
  28021. end;
  28022. function TPORTF_TRISF.getTRISF8 : TBits_1; inline;
  28023. begin
  28024. getTRISF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28025. end;
  28026. procedure TPORTF_TRISF.setTRISF12; inline;
  28027. begin
  28028. pTDefRegMap(@Self)^.&set := $00001000;
  28029. end;
  28030. procedure TPORTF_TRISF.clearTRISF12; inline;
  28031. begin
  28032. pTDefRegMap(@Self)^.clr := $00001000;
  28033. end;
  28034. procedure TPORTF_TRISF.setTRISF12(thebits : TBits_1); inline;
  28035. begin
  28036. if thebits = 0 then
  28037. pTDefRegMap(@Self)^.clr := $00001000
  28038. else
  28039. pTDefRegMap(@Self)^.&set := $00001000;
  28040. end;
  28041. function TPORTF_TRISF.getTRISF12 : TBits_1; inline;
  28042. begin
  28043. getTRISF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28044. end;
  28045. procedure TPORTF_TRISF.setTRISF13; inline;
  28046. begin
  28047. pTDefRegMap(@Self)^.&set := $00002000;
  28048. end;
  28049. procedure TPORTF_TRISF.clearTRISF13; inline;
  28050. begin
  28051. pTDefRegMap(@Self)^.clr := $00002000;
  28052. end;
  28053. procedure TPORTF_TRISF.setTRISF13(thebits : TBits_1); inline;
  28054. begin
  28055. if thebits = 0 then
  28056. pTDefRegMap(@Self)^.clr := $00002000
  28057. else
  28058. pTDefRegMap(@Self)^.&set := $00002000;
  28059. end;
  28060. function TPORTF_TRISF.getTRISF13 : TBits_1; inline;
  28061. begin
  28062. getTRISF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28063. end;
  28064. procedure TPORTF_TRISF.setw(thebits : TBits_32); inline;
  28065. begin
  28066. pTDefRegMap(@Self)^.val := thebits;
  28067. end;
  28068. function TPORTF_TRISF.getw : TBits_32; inline;
  28069. begin
  28070. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28071. end;
  28072. procedure TPORTF_PORTF.setRF0; inline;
  28073. begin
  28074. pTDefRegMap(@Self)^.&set := $00000001;
  28075. end;
  28076. procedure TPORTF_PORTF.clearRF0; inline;
  28077. begin
  28078. pTDefRegMap(@Self)^.clr := $00000001;
  28079. end;
  28080. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  28081. begin
  28082. if thebits = 0 then
  28083. pTDefRegMap(@Self)^.clr := $00000001
  28084. else
  28085. pTDefRegMap(@Self)^.&set := $00000001;
  28086. end;
  28087. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  28088. begin
  28089. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28090. end;
  28091. procedure TPORTF_PORTF.setRF1; inline;
  28092. begin
  28093. pTDefRegMap(@Self)^.&set := $00000002;
  28094. end;
  28095. procedure TPORTF_PORTF.clearRF1; inline;
  28096. begin
  28097. pTDefRegMap(@Self)^.clr := $00000002;
  28098. end;
  28099. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  28100. begin
  28101. if thebits = 0 then
  28102. pTDefRegMap(@Self)^.clr := $00000002
  28103. else
  28104. pTDefRegMap(@Self)^.&set := $00000002;
  28105. end;
  28106. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  28107. begin
  28108. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28109. end;
  28110. procedure TPORTF_PORTF.setRF2; inline;
  28111. begin
  28112. pTDefRegMap(@Self)^.&set := $00000004;
  28113. end;
  28114. procedure TPORTF_PORTF.clearRF2; inline;
  28115. begin
  28116. pTDefRegMap(@Self)^.clr := $00000004;
  28117. end;
  28118. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  28119. begin
  28120. if thebits = 0 then
  28121. pTDefRegMap(@Self)^.clr := $00000004
  28122. else
  28123. pTDefRegMap(@Self)^.&set := $00000004;
  28124. end;
  28125. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  28126. begin
  28127. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28128. end;
  28129. procedure TPORTF_PORTF.setRF3; inline;
  28130. begin
  28131. pTDefRegMap(@Self)^.&set := $00000008;
  28132. end;
  28133. procedure TPORTF_PORTF.clearRF3; inline;
  28134. begin
  28135. pTDefRegMap(@Self)^.clr := $00000008;
  28136. end;
  28137. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  28138. begin
  28139. if thebits = 0 then
  28140. pTDefRegMap(@Self)^.clr := $00000008
  28141. else
  28142. pTDefRegMap(@Self)^.&set := $00000008;
  28143. end;
  28144. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  28145. begin
  28146. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28147. end;
  28148. procedure TPORTF_PORTF.setRF4; inline;
  28149. begin
  28150. pTDefRegMap(@Self)^.&set := $00000010;
  28151. end;
  28152. procedure TPORTF_PORTF.clearRF4; inline;
  28153. begin
  28154. pTDefRegMap(@Self)^.clr := $00000010;
  28155. end;
  28156. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  28157. begin
  28158. if thebits = 0 then
  28159. pTDefRegMap(@Self)^.clr := $00000010
  28160. else
  28161. pTDefRegMap(@Self)^.&set := $00000010;
  28162. end;
  28163. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  28164. begin
  28165. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28166. end;
  28167. procedure TPORTF_PORTF.setRF5; inline;
  28168. begin
  28169. pTDefRegMap(@Self)^.&set := $00000020;
  28170. end;
  28171. procedure TPORTF_PORTF.clearRF5; inline;
  28172. begin
  28173. pTDefRegMap(@Self)^.clr := $00000020;
  28174. end;
  28175. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  28176. begin
  28177. if thebits = 0 then
  28178. pTDefRegMap(@Self)^.clr := $00000020
  28179. else
  28180. pTDefRegMap(@Self)^.&set := $00000020;
  28181. end;
  28182. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  28183. begin
  28184. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28185. end;
  28186. procedure TPORTF_PORTF.setRF6; inline;
  28187. begin
  28188. pTDefRegMap(@Self)^.&set := $00000040;
  28189. end;
  28190. procedure TPORTF_PORTF.clearRF6; inline;
  28191. begin
  28192. pTDefRegMap(@Self)^.clr := $00000040;
  28193. end;
  28194. procedure TPORTF_PORTF.setRF6(thebits : TBits_1); inline;
  28195. begin
  28196. if thebits = 0 then
  28197. pTDefRegMap(@Self)^.clr := $00000040
  28198. else
  28199. pTDefRegMap(@Self)^.&set := $00000040;
  28200. end;
  28201. function TPORTF_PORTF.getRF6 : TBits_1; inline;
  28202. begin
  28203. getRF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28204. end;
  28205. procedure TPORTF_PORTF.setRF7; inline;
  28206. begin
  28207. pTDefRegMap(@Self)^.&set := $00000080;
  28208. end;
  28209. procedure TPORTF_PORTF.clearRF7; inline;
  28210. begin
  28211. pTDefRegMap(@Self)^.clr := $00000080;
  28212. end;
  28213. procedure TPORTF_PORTF.setRF7(thebits : TBits_1); inline;
  28214. begin
  28215. if thebits = 0 then
  28216. pTDefRegMap(@Self)^.clr := $00000080
  28217. else
  28218. pTDefRegMap(@Self)^.&set := $00000080;
  28219. end;
  28220. function TPORTF_PORTF.getRF7 : TBits_1; inline;
  28221. begin
  28222. getRF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28223. end;
  28224. procedure TPORTF_PORTF.setRF8; inline;
  28225. begin
  28226. pTDefRegMap(@Self)^.&set := $00000100;
  28227. end;
  28228. procedure TPORTF_PORTF.clearRF8; inline;
  28229. begin
  28230. pTDefRegMap(@Self)^.clr := $00000100;
  28231. end;
  28232. procedure TPORTF_PORTF.setRF8(thebits : TBits_1); inline;
  28233. begin
  28234. if thebits = 0 then
  28235. pTDefRegMap(@Self)^.clr := $00000100
  28236. else
  28237. pTDefRegMap(@Self)^.&set := $00000100;
  28238. end;
  28239. function TPORTF_PORTF.getRF8 : TBits_1; inline;
  28240. begin
  28241. getRF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28242. end;
  28243. procedure TPORTF_PORTF.setRF12; inline;
  28244. begin
  28245. pTDefRegMap(@Self)^.&set := $00001000;
  28246. end;
  28247. procedure TPORTF_PORTF.clearRF12; inline;
  28248. begin
  28249. pTDefRegMap(@Self)^.clr := $00001000;
  28250. end;
  28251. procedure TPORTF_PORTF.setRF12(thebits : TBits_1); inline;
  28252. begin
  28253. if thebits = 0 then
  28254. pTDefRegMap(@Self)^.clr := $00001000
  28255. else
  28256. pTDefRegMap(@Self)^.&set := $00001000;
  28257. end;
  28258. function TPORTF_PORTF.getRF12 : TBits_1; inline;
  28259. begin
  28260. getRF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28261. end;
  28262. procedure TPORTF_PORTF.setRF13; inline;
  28263. begin
  28264. pTDefRegMap(@Self)^.&set := $00002000;
  28265. end;
  28266. procedure TPORTF_PORTF.clearRF13; inline;
  28267. begin
  28268. pTDefRegMap(@Self)^.clr := $00002000;
  28269. end;
  28270. procedure TPORTF_PORTF.setRF13(thebits : TBits_1); inline;
  28271. begin
  28272. if thebits = 0 then
  28273. pTDefRegMap(@Self)^.clr := $00002000
  28274. else
  28275. pTDefRegMap(@Self)^.&set := $00002000;
  28276. end;
  28277. function TPORTF_PORTF.getRF13 : TBits_1; inline;
  28278. begin
  28279. getRF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28280. end;
  28281. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  28282. begin
  28283. pTDefRegMap(@Self)^.val := thebits;
  28284. end;
  28285. function TPORTF_PORTF.getw : TBits_32; inline;
  28286. begin
  28287. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28288. end;
  28289. procedure TPORTF_LATF.setLATF0; inline;
  28290. begin
  28291. pTDefRegMap(@Self)^.&set := $00000001;
  28292. end;
  28293. procedure TPORTF_LATF.clearLATF0; inline;
  28294. begin
  28295. pTDefRegMap(@Self)^.clr := $00000001;
  28296. end;
  28297. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  28298. begin
  28299. if thebits = 0 then
  28300. pTDefRegMap(@Self)^.clr := $00000001
  28301. else
  28302. pTDefRegMap(@Self)^.&set := $00000001;
  28303. end;
  28304. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  28305. begin
  28306. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28307. end;
  28308. procedure TPORTF_LATF.setLATF1; inline;
  28309. begin
  28310. pTDefRegMap(@Self)^.&set := $00000002;
  28311. end;
  28312. procedure TPORTF_LATF.clearLATF1; inline;
  28313. begin
  28314. pTDefRegMap(@Self)^.clr := $00000002;
  28315. end;
  28316. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  28317. begin
  28318. if thebits = 0 then
  28319. pTDefRegMap(@Self)^.clr := $00000002
  28320. else
  28321. pTDefRegMap(@Self)^.&set := $00000002;
  28322. end;
  28323. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  28324. begin
  28325. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28326. end;
  28327. procedure TPORTF_LATF.setLATF2; inline;
  28328. begin
  28329. pTDefRegMap(@Self)^.&set := $00000004;
  28330. end;
  28331. procedure TPORTF_LATF.clearLATF2; inline;
  28332. begin
  28333. pTDefRegMap(@Self)^.clr := $00000004;
  28334. end;
  28335. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  28336. begin
  28337. if thebits = 0 then
  28338. pTDefRegMap(@Self)^.clr := $00000004
  28339. else
  28340. pTDefRegMap(@Self)^.&set := $00000004;
  28341. end;
  28342. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  28343. begin
  28344. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28345. end;
  28346. procedure TPORTF_LATF.setLATF3; inline;
  28347. begin
  28348. pTDefRegMap(@Self)^.&set := $00000008;
  28349. end;
  28350. procedure TPORTF_LATF.clearLATF3; inline;
  28351. begin
  28352. pTDefRegMap(@Self)^.clr := $00000008;
  28353. end;
  28354. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  28355. begin
  28356. if thebits = 0 then
  28357. pTDefRegMap(@Self)^.clr := $00000008
  28358. else
  28359. pTDefRegMap(@Self)^.&set := $00000008;
  28360. end;
  28361. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  28362. begin
  28363. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28364. end;
  28365. procedure TPORTF_LATF.setLATF4; inline;
  28366. begin
  28367. pTDefRegMap(@Self)^.&set := $00000010;
  28368. end;
  28369. procedure TPORTF_LATF.clearLATF4; inline;
  28370. begin
  28371. pTDefRegMap(@Self)^.clr := $00000010;
  28372. end;
  28373. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  28374. begin
  28375. if thebits = 0 then
  28376. pTDefRegMap(@Self)^.clr := $00000010
  28377. else
  28378. pTDefRegMap(@Self)^.&set := $00000010;
  28379. end;
  28380. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  28381. begin
  28382. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28383. end;
  28384. procedure TPORTF_LATF.setLATF5; inline;
  28385. begin
  28386. pTDefRegMap(@Self)^.&set := $00000020;
  28387. end;
  28388. procedure TPORTF_LATF.clearLATF5; inline;
  28389. begin
  28390. pTDefRegMap(@Self)^.clr := $00000020;
  28391. end;
  28392. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  28393. begin
  28394. if thebits = 0 then
  28395. pTDefRegMap(@Self)^.clr := $00000020
  28396. else
  28397. pTDefRegMap(@Self)^.&set := $00000020;
  28398. end;
  28399. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  28400. begin
  28401. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28402. end;
  28403. procedure TPORTF_LATF.setLATF6; inline;
  28404. begin
  28405. pTDefRegMap(@Self)^.&set := $00000040;
  28406. end;
  28407. procedure TPORTF_LATF.clearLATF6; inline;
  28408. begin
  28409. pTDefRegMap(@Self)^.clr := $00000040;
  28410. end;
  28411. procedure TPORTF_LATF.setLATF6(thebits : TBits_1); inline;
  28412. begin
  28413. if thebits = 0 then
  28414. pTDefRegMap(@Self)^.clr := $00000040
  28415. else
  28416. pTDefRegMap(@Self)^.&set := $00000040;
  28417. end;
  28418. function TPORTF_LATF.getLATF6 : TBits_1; inline;
  28419. begin
  28420. getLATF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28421. end;
  28422. procedure TPORTF_LATF.setLATF7; inline;
  28423. begin
  28424. pTDefRegMap(@Self)^.&set := $00000080;
  28425. end;
  28426. procedure TPORTF_LATF.clearLATF7; inline;
  28427. begin
  28428. pTDefRegMap(@Self)^.clr := $00000080;
  28429. end;
  28430. procedure TPORTF_LATF.setLATF7(thebits : TBits_1); inline;
  28431. begin
  28432. if thebits = 0 then
  28433. pTDefRegMap(@Self)^.clr := $00000080
  28434. else
  28435. pTDefRegMap(@Self)^.&set := $00000080;
  28436. end;
  28437. function TPORTF_LATF.getLATF7 : TBits_1; inline;
  28438. begin
  28439. getLATF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28440. end;
  28441. procedure TPORTF_LATF.setLATF8; inline;
  28442. begin
  28443. pTDefRegMap(@Self)^.&set := $00000100;
  28444. end;
  28445. procedure TPORTF_LATF.clearLATF8; inline;
  28446. begin
  28447. pTDefRegMap(@Self)^.clr := $00000100;
  28448. end;
  28449. procedure TPORTF_LATF.setLATF8(thebits : TBits_1); inline;
  28450. begin
  28451. if thebits = 0 then
  28452. pTDefRegMap(@Self)^.clr := $00000100
  28453. else
  28454. pTDefRegMap(@Self)^.&set := $00000100;
  28455. end;
  28456. function TPORTF_LATF.getLATF8 : TBits_1; inline;
  28457. begin
  28458. getLATF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28459. end;
  28460. procedure TPORTF_LATF.setLATF12; inline;
  28461. begin
  28462. pTDefRegMap(@Self)^.&set := $00001000;
  28463. end;
  28464. procedure TPORTF_LATF.clearLATF12; inline;
  28465. begin
  28466. pTDefRegMap(@Self)^.clr := $00001000;
  28467. end;
  28468. procedure TPORTF_LATF.setLATF12(thebits : TBits_1); inline;
  28469. begin
  28470. if thebits = 0 then
  28471. pTDefRegMap(@Self)^.clr := $00001000
  28472. else
  28473. pTDefRegMap(@Self)^.&set := $00001000;
  28474. end;
  28475. function TPORTF_LATF.getLATF12 : TBits_1; inline;
  28476. begin
  28477. getLATF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28478. end;
  28479. procedure TPORTF_LATF.setLATF13; inline;
  28480. begin
  28481. pTDefRegMap(@Self)^.&set := $00002000;
  28482. end;
  28483. procedure TPORTF_LATF.clearLATF13; inline;
  28484. begin
  28485. pTDefRegMap(@Self)^.clr := $00002000;
  28486. end;
  28487. procedure TPORTF_LATF.setLATF13(thebits : TBits_1); inline;
  28488. begin
  28489. if thebits = 0 then
  28490. pTDefRegMap(@Self)^.clr := $00002000
  28491. else
  28492. pTDefRegMap(@Self)^.&set := $00002000;
  28493. end;
  28494. function TPORTF_LATF.getLATF13 : TBits_1; inline;
  28495. begin
  28496. getLATF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28497. end;
  28498. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  28499. begin
  28500. pTDefRegMap(@Self)^.val := thebits;
  28501. end;
  28502. function TPORTF_LATF.getw : TBits_32; inline;
  28503. begin
  28504. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28505. end;
  28506. procedure TPORTF_ODCF.setODCF0; inline;
  28507. begin
  28508. pTDefRegMap(@Self)^.&set := $00000001;
  28509. end;
  28510. procedure TPORTF_ODCF.clearODCF0; inline;
  28511. begin
  28512. pTDefRegMap(@Self)^.clr := $00000001;
  28513. end;
  28514. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  28515. begin
  28516. if thebits = 0 then
  28517. pTDefRegMap(@Self)^.clr := $00000001
  28518. else
  28519. pTDefRegMap(@Self)^.&set := $00000001;
  28520. end;
  28521. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  28522. begin
  28523. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28524. end;
  28525. procedure TPORTF_ODCF.setODCF1; inline;
  28526. begin
  28527. pTDefRegMap(@Self)^.&set := $00000002;
  28528. end;
  28529. procedure TPORTF_ODCF.clearODCF1; inline;
  28530. begin
  28531. pTDefRegMap(@Self)^.clr := $00000002;
  28532. end;
  28533. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  28534. begin
  28535. if thebits = 0 then
  28536. pTDefRegMap(@Self)^.clr := $00000002
  28537. else
  28538. pTDefRegMap(@Self)^.&set := $00000002;
  28539. end;
  28540. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  28541. begin
  28542. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28543. end;
  28544. procedure TPORTF_ODCF.setODCF2; inline;
  28545. begin
  28546. pTDefRegMap(@Self)^.&set := $00000004;
  28547. end;
  28548. procedure TPORTF_ODCF.clearODCF2; inline;
  28549. begin
  28550. pTDefRegMap(@Self)^.clr := $00000004;
  28551. end;
  28552. procedure TPORTF_ODCF.setODCF2(thebits : TBits_1); inline;
  28553. begin
  28554. if thebits = 0 then
  28555. pTDefRegMap(@Self)^.clr := $00000004
  28556. else
  28557. pTDefRegMap(@Self)^.&set := $00000004;
  28558. end;
  28559. function TPORTF_ODCF.getODCF2 : TBits_1; inline;
  28560. begin
  28561. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28562. end;
  28563. procedure TPORTF_ODCF.setODCF3; inline;
  28564. begin
  28565. pTDefRegMap(@Self)^.&set := $00000008;
  28566. end;
  28567. procedure TPORTF_ODCF.clearODCF3; inline;
  28568. begin
  28569. pTDefRegMap(@Self)^.clr := $00000008;
  28570. end;
  28571. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  28572. begin
  28573. if thebits = 0 then
  28574. pTDefRegMap(@Self)^.clr := $00000008
  28575. else
  28576. pTDefRegMap(@Self)^.&set := $00000008;
  28577. end;
  28578. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  28579. begin
  28580. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28581. end;
  28582. procedure TPORTF_ODCF.setODCF4; inline;
  28583. begin
  28584. pTDefRegMap(@Self)^.&set := $00000010;
  28585. end;
  28586. procedure TPORTF_ODCF.clearODCF4; inline;
  28587. begin
  28588. pTDefRegMap(@Self)^.clr := $00000010;
  28589. end;
  28590. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  28591. begin
  28592. if thebits = 0 then
  28593. pTDefRegMap(@Self)^.clr := $00000010
  28594. else
  28595. pTDefRegMap(@Self)^.&set := $00000010;
  28596. end;
  28597. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  28598. begin
  28599. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28600. end;
  28601. procedure TPORTF_ODCF.setODCF5; inline;
  28602. begin
  28603. pTDefRegMap(@Self)^.&set := $00000020;
  28604. end;
  28605. procedure TPORTF_ODCF.clearODCF5; inline;
  28606. begin
  28607. pTDefRegMap(@Self)^.clr := $00000020;
  28608. end;
  28609. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  28610. begin
  28611. if thebits = 0 then
  28612. pTDefRegMap(@Self)^.clr := $00000020
  28613. else
  28614. pTDefRegMap(@Self)^.&set := $00000020;
  28615. end;
  28616. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  28617. begin
  28618. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28619. end;
  28620. procedure TPORTF_ODCF.setODCF6; inline;
  28621. begin
  28622. pTDefRegMap(@Self)^.&set := $00000040;
  28623. end;
  28624. procedure TPORTF_ODCF.clearODCF6; inline;
  28625. begin
  28626. pTDefRegMap(@Self)^.clr := $00000040;
  28627. end;
  28628. procedure TPORTF_ODCF.setODCF6(thebits : TBits_1); inline;
  28629. begin
  28630. if thebits = 0 then
  28631. pTDefRegMap(@Self)^.clr := $00000040
  28632. else
  28633. pTDefRegMap(@Self)^.&set := $00000040;
  28634. end;
  28635. function TPORTF_ODCF.getODCF6 : TBits_1; inline;
  28636. begin
  28637. getODCF6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28638. end;
  28639. procedure TPORTF_ODCF.setODCF7; inline;
  28640. begin
  28641. pTDefRegMap(@Self)^.&set := $00000080;
  28642. end;
  28643. procedure TPORTF_ODCF.clearODCF7; inline;
  28644. begin
  28645. pTDefRegMap(@Self)^.clr := $00000080;
  28646. end;
  28647. procedure TPORTF_ODCF.setODCF7(thebits : TBits_1); inline;
  28648. begin
  28649. if thebits = 0 then
  28650. pTDefRegMap(@Self)^.clr := $00000080
  28651. else
  28652. pTDefRegMap(@Self)^.&set := $00000080;
  28653. end;
  28654. function TPORTF_ODCF.getODCF7 : TBits_1; inline;
  28655. begin
  28656. getODCF7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28657. end;
  28658. procedure TPORTF_ODCF.setODCF8; inline;
  28659. begin
  28660. pTDefRegMap(@Self)^.&set := $00000100;
  28661. end;
  28662. procedure TPORTF_ODCF.clearODCF8; inline;
  28663. begin
  28664. pTDefRegMap(@Self)^.clr := $00000100;
  28665. end;
  28666. procedure TPORTF_ODCF.setODCF8(thebits : TBits_1); inline;
  28667. begin
  28668. if thebits = 0 then
  28669. pTDefRegMap(@Self)^.clr := $00000100
  28670. else
  28671. pTDefRegMap(@Self)^.&set := $00000100;
  28672. end;
  28673. function TPORTF_ODCF.getODCF8 : TBits_1; inline;
  28674. begin
  28675. getODCF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28676. end;
  28677. procedure TPORTF_ODCF.setODCF12; inline;
  28678. begin
  28679. pTDefRegMap(@Self)^.&set := $00001000;
  28680. end;
  28681. procedure TPORTF_ODCF.clearODCF12; inline;
  28682. begin
  28683. pTDefRegMap(@Self)^.clr := $00001000;
  28684. end;
  28685. procedure TPORTF_ODCF.setODCF12(thebits : TBits_1); inline;
  28686. begin
  28687. if thebits = 0 then
  28688. pTDefRegMap(@Self)^.clr := $00001000
  28689. else
  28690. pTDefRegMap(@Self)^.&set := $00001000;
  28691. end;
  28692. function TPORTF_ODCF.getODCF12 : TBits_1; inline;
  28693. begin
  28694. getODCF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28695. end;
  28696. procedure TPORTF_ODCF.setODCF13; inline;
  28697. begin
  28698. pTDefRegMap(@Self)^.&set := $00002000;
  28699. end;
  28700. procedure TPORTF_ODCF.clearODCF13; inline;
  28701. begin
  28702. pTDefRegMap(@Self)^.clr := $00002000;
  28703. end;
  28704. procedure TPORTF_ODCF.setODCF13(thebits : TBits_1); inline;
  28705. begin
  28706. if thebits = 0 then
  28707. pTDefRegMap(@Self)^.clr := $00002000
  28708. else
  28709. pTDefRegMap(@Self)^.&set := $00002000;
  28710. end;
  28711. function TPORTF_ODCF.getODCF13 : TBits_1; inline;
  28712. begin
  28713. getODCF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28714. end;
  28715. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  28716. begin
  28717. pTDefRegMap(@Self)^.val := thebits;
  28718. end;
  28719. function TPORTF_ODCF.getw : TBits_32; inline;
  28720. begin
  28721. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28722. end;
  28723. procedure TPORTG_TRISG.setTRISG0; inline;
  28724. begin
  28725. pTDefRegMap(@Self)^.&set := $00000001;
  28726. end;
  28727. procedure TPORTG_TRISG.clearTRISG0; inline;
  28728. begin
  28729. pTDefRegMap(@Self)^.clr := $00000001;
  28730. end;
  28731. procedure TPORTG_TRISG.setTRISG0(thebits : TBits_1); inline;
  28732. begin
  28733. if thebits = 0 then
  28734. pTDefRegMap(@Self)^.clr := $00000001
  28735. else
  28736. pTDefRegMap(@Self)^.&set := $00000001;
  28737. end;
  28738. function TPORTG_TRISG.getTRISG0 : TBits_1; inline;
  28739. begin
  28740. getTRISG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28741. end;
  28742. procedure TPORTG_TRISG.setTRISG1; inline;
  28743. begin
  28744. pTDefRegMap(@Self)^.&set := $00000002;
  28745. end;
  28746. procedure TPORTG_TRISG.clearTRISG1; inline;
  28747. begin
  28748. pTDefRegMap(@Self)^.clr := $00000002;
  28749. end;
  28750. procedure TPORTG_TRISG.setTRISG1(thebits : TBits_1); inline;
  28751. begin
  28752. if thebits = 0 then
  28753. pTDefRegMap(@Self)^.clr := $00000002
  28754. else
  28755. pTDefRegMap(@Self)^.&set := $00000002;
  28756. end;
  28757. function TPORTG_TRISG.getTRISG1 : TBits_1; inline;
  28758. begin
  28759. getTRISG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28760. end;
  28761. procedure TPORTG_TRISG.setTRISG2; inline;
  28762. begin
  28763. pTDefRegMap(@Self)^.&set := $00000004;
  28764. end;
  28765. procedure TPORTG_TRISG.clearTRISG2; inline;
  28766. begin
  28767. pTDefRegMap(@Self)^.clr := $00000004;
  28768. end;
  28769. procedure TPORTG_TRISG.setTRISG2(thebits : TBits_1); inline;
  28770. begin
  28771. if thebits = 0 then
  28772. pTDefRegMap(@Self)^.clr := $00000004
  28773. else
  28774. pTDefRegMap(@Self)^.&set := $00000004;
  28775. end;
  28776. function TPORTG_TRISG.getTRISG2 : TBits_1; inline;
  28777. begin
  28778. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28779. end;
  28780. procedure TPORTG_TRISG.setTRISG3; inline;
  28781. begin
  28782. pTDefRegMap(@Self)^.&set := $00000008;
  28783. end;
  28784. procedure TPORTG_TRISG.clearTRISG3; inline;
  28785. begin
  28786. pTDefRegMap(@Self)^.clr := $00000008;
  28787. end;
  28788. procedure TPORTG_TRISG.setTRISG3(thebits : TBits_1); inline;
  28789. begin
  28790. if thebits = 0 then
  28791. pTDefRegMap(@Self)^.clr := $00000008
  28792. else
  28793. pTDefRegMap(@Self)^.&set := $00000008;
  28794. end;
  28795. function TPORTG_TRISG.getTRISG3 : TBits_1; inline;
  28796. begin
  28797. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28798. end;
  28799. procedure TPORTG_TRISG.setTRISG6; inline;
  28800. begin
  28801. pTDefRegMap(@Self)^.&set := $00000040;
  28802. end;
  28803. procedure TPORTG_TRISG.clearTRISG6; inline;
  28804. begin
  28805. pTDefRegMap(@Self)^.clr := $00000040;
  28806. end;
  28807. procedure TPORTG_TRISG.setTRISG6(thebits : TBits_1); inline;
  28808. begin
  28809. if thebits = 0 then
  28810. pTDefRegMap(@Self)^.clr := $00000040
  28811. else
  28812. pTDefRegMap(@Self)^.&set := $00000040;
  28813. end;
  28814. function TPORTG_TRISG.getTRISG6 : TBits_1; inline;
  28815. begin
  28816. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28817. end;
  28818. procedure TPORTG_TRISG.setTRISG7; inline;
  28819. begin
  28820. pTDefRegMap(@Self)^.&set := $00000080;
  28821. end;
  28822. procedure TPORTG_TRISG.clearTRISG7; inline;
  28823. begin
  28824. pTDefRegMap(@Self)^.clr := $00000080;
  28825. end;
  28826. procedure TPORTG_TRISG.setTRISG7(thebits : TBits_1); inline;
  28827. begin
  28828. if thebits = 0 then
  28829. pTDefRegMap(@Self)^.clr := $00000080
  28830. else
  28831. pTDefRegMap(@Self)^.&set := $00000080;
  28832. end;
  28833. function TPORTG_TRISG.getTRISG7 : TBits_1; inline;
  28834. begin
  28835. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28836. end;
  28837. procedure TPORTG_TRISG.setTRISG8; inline;
  28838. begin
  28839. pTDefRegMap(@Self)^.&set := $00000100;
  28840. end;
  28841. procedure TPORTG_TRISG.clearTRISG8; inline;
  28842. begin
  28843. pTDefRegMap(@Self)^.clr := $00000100;
  28844. end;
  28845. procedure TPORTG_TRISG.setTRISG8(thebits : TBits_1); inline;
  28846. begin
  28847. if thebits = 0 then
  28848. pTDefRegMap(@Self)^.clr := $00000100
  28849. else
  28850. pTDefRegMap(@Self)^.&set := $00000100;
  28851. end;
  28852. function TPORTG_TRISG.getTRISG8 : TBits_1; inline;
  28853. begin
  28854. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28855. end;
  28856. procedure TPORTG_TRISG.setTRISG9; inline;
  28857. begin
  28858. pTDefRegMap(@Self)^.&set := $00000200;
  28859. end;
  28860. procedure TPORTG_TRISG.clearTRISG9; inline;
  28861. begin
  28862. pTDefRegMap(@Self)^.clr := $00000200;
  28863. end;
  28864. procedure TPORTG_TRISG.setTRISG9(thebits : TBits_1); inline;
  28865. begin
  28866. if thebits = 0 then
  28867. pTDefRegMap(@Self)^.clr := $00000200
  28868. else
  28869. pTDefRegMap(@Self)^.&set := $00000200;
  28870. end;
  28871. function TPORTG_TRISG.getTRISG9 : TBits_1; inline;
  28872. begin
  28873. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28874. end;
  28875. procedure TPORTG_TRISG.setTRISG12; inline;
  28876. begin
  28877. pTDefRegMap(@Self)^.&set := $00001000;
  28878. end;
  28879. procedure TPORTG_TRISG.clearTRISG12; inline;
  28880. begin
  28881. pTDefRegMap(@Self)^.clr := $00001000;
  28882. end;
  28883. procedure TPORTG_TRISG.setTRISG12(thebits : TBits_1); inline;
  28884. begin
  28885. if thebits = 0 then
  28886. pTDefRegMap(@Self)^.clr := $00001000
  28887. else
  28888. pTDefRegMap(@Self)^.&set := $00001000;
  28889. end;
  28890. function TPORTG_TRISG.getTRISG12 : TBits_1; inline;
  28891. begin
  28892. getTRISG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28893. end;
  28894. procedure TPORTG_TRISG.setTRISG13; inline;
  28895. begin
  28896. pTDefRegMap(@Self)^.&set := $00002000;
  28897. end;
  28898. procedure TPORTG_TRISG.clearTRISG13; inline;
  28899. begin
  28900. pTDefRegMap(@Self)^.clr := $00002000;
  28901. end;
  28902. procedure TPORTG_TRISG.setTRISG13(thebits : TBits_1); inline;
  28903. begin
  28904. if thebits = 0 then
  28905. pTDefRegMap(@Self)^.clr := $00002000
  28906. else
  28907. pTDefRegMap(@Self)^.&set := $00002000;
  28908. end;
  28909. function TPORTG_TRISG.getTRISG13 : TBits_1; inline;
  28910. begin
  28911. getTRISG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28912. end;
  28913. procedure TPORTG_TRISG.setTRISG14; inline;
  28914. begin
  28915. pTDefRegMap(@Self)^.&set := $00004000;
  28916. end;
  28917. procedure TPORTG_TRISG.clearTRISG14; inline;
  28918. begin
  28919. pTDefRegMap(@Self)^.clr := $00004000;
  28920. end;
  28921. procedure TPORTG_TRISG.setTRISG14(thebits : TBits_1); inline;
  28922. begin
  28923. if thebits = 0 then
  28924. pTDefRegMap(@Self)^.clr := $00004000
  28925. else
  28926. pTDefRegMap(@Self)^.&set := $00004000;
  28927. end;
  28928. function TPORTG_TRISG.getTRISG14 : TBits_1; inline;
  28929. begin
  28930. getTRISG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28931. end;
  28932. procedure TPORTG_TRISG.setTRISG15; inline;
  28933. begin
  28934. pTDefRegMap(@Self)^.&set := $00008000;
  28935. end;
  28936. procedure TPORTG_TRISG.clearTRISG15; inline;
  28937. begin
  28938. pTDefRegMap(@Self)^.clr := $00008000;
  28939. end;
  28940. procedure TPORTG_TRISG.setTRISG15(thebits : TBits_1); inline;
  28941. begin
  28942. if thebits = 0 then
  28943. pTDefRegMap(@Self)^.clr := $00008000
  28944. else
  28945. pTDefRegMap(@Self)^.&set := $00008000;
  28946. end;
  28947. function TPORTG_TRISG.getTRISG15 : TBits_1; inline;
  28948. begin
  28949. getTRISG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28950. end;
  28951. procedure TPORTG_TRISG.setw(thebits : TBits_32); inline;
  28952. begin
  28953. pTDefRegMap(@Self)^.val := thebits;
  28954. end;
  28955. function TPORTG_TRISG.getw : TBits_32; inline;
  28956. begin
  28957. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28958. end;
  28959. procedure TPORTG_PORTG.setRG0; inline;
  28960. begin
  28961. pTDefRegMap(@Self)^.&set := $00000001;
  28962. end;
  28963. procedure TPORTG_PORTG.clearRG0; inline;
  28964. begin
  28965. pTDefRegMap(@Self)^.clr := $00000001;
  28966. end;
  28967. procedure TPORTG_PORTG.setRG0(thebits : TBits_1); inline;
  28968. begin
  28969. if thebits = 0 then
  28970. pTDefRegMap(@Self)^.clr := $00000001
  28971. else
  28972. pTDefRegMap(@Self)^.&set := $00000001;
  28973. end;
  28974. function TPORTG_PORTG.getRG0 : TBits_1; inline;
  28975. begin
  28976. getRG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28977. end;
  28978. procedure TPORTG_PORTG.setRG1; inline;
  28979. begin
  28980. pTDefRegMap(@Self)^.&set := $00000002;
  28981. end;
  28982. procedure TPORTG_PORTG.clearRG1; inline;
  28983. begin
  28984. pTDefRegMap(@Self)^.clr := $00000002;
  28985. end;
  28986. procedure TPORTG_PORTG.setRG1(thebits : TBits_1); inline;
  28987. begin
  28988. if thebits = 0 then
  28989. pTDefRegMap(@Self)^.clr := $00000002
  28990. else
  28991. pTDefRegMap(@Self)^.&set := $00000002;
  28992. end;
  28993. function TPORTG_PORTG.getRG1 : TBits_1; inline;
  28994. begin
  28995. getRG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28996. end;
  28997. procedure TPORTG_PORTG.setRG2; inline;
  28998. begin
  28999. pTDefRegMap(@Self)^.&set := $00000004;
  29000. end;
  29001. procedure TPORTG_PORTG.clearRG2; inline;
  29002. begin
  29003. pTDefRegMap(@Self)^.clr := $00000004;
  29004. end;
  29005. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  29006. begin
  29007. if thebits = 0 then
  29008. pTDefRegMap(@Self)^.clr := $00000004
  29009. else
  29010. pTDefRegMap(@Self)^.&set := $00000004;
  29011. end;
  29012. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  29013. begin
  29014. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29015. end;
  29016. procedure TPORTG_PORTG.setRG3; inline;
  29017. begin
  29018. pTDefRegMap(@Self)^.&set := $00000008;
  29019. end;
  29020. procedure TPORTG_PORTG.clearRG3; inline;
  29021. begin
  29022. pTDefRegMap(@Self)^.clr := $00000008;
  29023. end;
  29024. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  29025. begin
  29026. if thebits = 0 then
  29027. pTDefRegMap(@Self)^.clr := $00000008
  29028. else
  29029. pTDefRegMap(@Self)^.&set := $00000008;
  29030. end;
  29031. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  29032. begin
  29033. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29034. end;
  29035. procedure TPORTG_PORTG.setRG6; inline;
  29036. begin
  29037. pTDefRegMap(@Self)^.&set := $00000040;
  29038. end;
  29039. procedure TPORTG_PORTG.clearRG6; inline;
  29040. begin
  29041. pTDefRegMap(@Self)^.clr := $00000040;
  29042. end;
  29043. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  29044. begin
  29045. if thebits = 0 then
  29046. pTDefRegMap(@Self)^.clr := $00000040
  29047. else
  29048. pTDefRegMap(@Self)^.&set := $00000040;
  29049. end;
  29050. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  29051. begin
  29052. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29053. end;
  29054. procedure TPORTG_PORTG.setRG7; inline;
  29055. begin
  29056. pTDefRegMap(@Self)^.&set := $00000080;
  29057. end;
  29058. procedure TPORTG_PORTG.clearRG7; inline;
  29059. begin
  29060. pTDefRegMap(@Self)^.clr := $00000080;
  29061. end;
  29062. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  29063. begin
  29064. if thebits = 0 then
  29065. pTDefRegMap(@Self)^.clr := $00000080
  29066. else
  29067. pTDefRegMap(@Self)^.&set := $00000080;
  29068. end;
  29069. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  29070. begin
  29071. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29072. end;
  29073. procedure TPORTG_PORTG.setRG8; inline;
  29074. begin
  29075. pTDefRegMap(@Self)^.&set := $00000100;
  29076. end;
  29077. procedure TPORTG_PORTG.clearRG8; inline;
  29078. begin
  29079. pTDefRegMap(@Self)^.clr := $00000100;
  29080. end;
  29081. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  29082. begin
  29083. if thebits = 0 then
  29084. pTDefRegMap(@Self)^.clr := $00000100
  29085. else
  29086. pTDefRegMap(@Self)^.&set := $00000100;
  29087. end;
  29088. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  29089. begin
  29090. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29091. end;
  29092. procedure TPORTG_PORTG.setRG9; inline;
  29093. begin
  29094. pTDefRegMap(@Self)^.&set := $00000200;
  29095. end;
  29096. procedure TPORTG_PORTG.clearRG9; inline;
  29097. begin
  29098. pTDefRegMap(@Self)^.clr := $00000200;
  29099. end;
  29100. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  29101. begin
  29102. if thebits = 0 then
  29103. pTDefRegMap(@Self)^.clr := $00000200
  29104. else
  29105. pTDefRegMap(@Self)^.&set := $00000200;
  29106. end;
  29107. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  29108. begin
  29109. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29110. end;
  29111. procedure TPORTG_PORTG.setRG12; inline;
  29112. begin
  29113. pTDefRegMap(@Self)^.&set := $00001000;
  29114. end;
  29115. procedure TPORTG_PORTG.clearRG12; inline;
  29116. begin
  29117. pTDefRegMap(@Self)^.clr := $00001000;
  29118. end;
  29119. procedure TPORTG_PORTG.setRG12(thebits : TBits_1); inline;
  29120. begin
  29121. if thebits = 0 then
  29122. pTDefRegMap(@Self)^.clr := $00001000
  29123. else
  29124. pTDefRegMap(@Self)^.&set := $00001000;
  29125. end;
  29126. function TPORTG_PORTG.getRG12 : TBits_1; inline;
  29127. begin
  29128. getRG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29129. end;
  29130. procedure TPORTG_PORTG.setRG13; inline;
  29131. begin
  29132. pTDefRegMap(@Self)^.&set := $00002000;
  29133. end;
  29134. procedure TPORTG_PORTG.clearRG13; inline;
  29135. begin
  29136. pTDefRegMap(@Self)^.clr := $00002000;
  29137. end;
  29138. procedure TPORTG_PORTG.setRG13(thebits : TBits_1); inline;
  29139. begin
  29140. if thebits = 0 then
  29141. pTDefRegMap(@Self)^.clr := $00002000
  29142. else
  29143. pTDefRegMap(@Self)^.&set := $00002000;
  29144. end;
  29145. function TPORTG_PORTG.getRG13 : TBits_1; inline;
  29146. begin
  29147. getRG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29148. end;
  29149. procedure TPORTG_PORTG.setRG14; inline;
  29150. begin
  29151. pTDefRegMap(@Self)^.&set := $00004000;
  29152. end;
  29153. procedure TPORTG_PORTG.clearRG14; inline;
  29154. begin
  29155. pTDefRegMap(@Self)^.clr := $00004000;
  29156. end;
  29157. procedure TPORTG_PORTG.setRG14(thebits : TBits_1); inline;
  29158. begin
  29159. if thebits = 0 then
  29160. pTDefRegMap(@Self)^.clr := $00004000
  29161. else
  29162. pTDefRegMap(@Self)^.&set := $00004000;
  29163. end;
  29164. function TPORTG_PORTG.getRG14 : TBits_1; inline;
  29165. begin
  29166. getRG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29167. end;
  29168. procedure TPORTG_PORTG.setRG15; inline;
  29169. begin
  29170. pTDefRegMap(@Self)^.&set := $00008000;
  29171. end;
  29172. procedure TPORTG_PORTG.clearRG15; inline;
  29173. begin
  29174. pTDefRegMap(@Self)^.clr := $00008000;
  29175. end;
  29176. procedure TPORTG_PORTG.setRG15(thebits : TBits_1); inline;
  29177. begin
  29178. if thebits = 0 then
  29179. pTDefRegMap(@Self)^.clr := $00008000
  29180. else
  29181. pTDefRegMap(@Self)^.&set := $00008000;
  29182. end;
  29183. function TPORTG_PORTG.getRG15 : TBits_1; inline;
  29184. begin
  29185. getRG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29186. end;
  29187. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  29188. begin
  29189. pTDefRegMap(@Self)^.val := thebits;
  29190. end;
  29191. function TPORTG_PORTG.getw : TBits_32; inline;
  29192. begin
  29193. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29194. end;
  29195. procedure TPORTG_LATG.setLATG0; inline;
  29196. begin
  29197. pTDefRegMap(@Self)^.&set := $00000001;
  29198. end;
  29199. procedure TPORTG_LATG.clearLATG0; inline;
  29200. begin
  29201. pTDefRegMap(@Self)^.clr := $00000001;
  29202. end;
  29203. procedure TPORTG_LATG.setLATG0(thebits : TBits_1); inline;
  29204. begin
  29205. if thebits = 0 then
  29206. pTDefRegMap(@Self)^.clr := $00000001
  29207. else
  29208. pTDefRegMap(@Self)^.&set := $00000001;
  29209. end;
  29210. function TPORTG_LATG.getLATG0 : TBits_1; inline;
  29211. begin
  29212. getLATG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29213. end;
  29214. procedure TPORTG_LATG.setLATG1; inline;
  29215. begin
  29216. pTDefRegMap(@Self)^.&set := $00000002;
  29217. end;
  29218. procedure TPORTG_LATG.clearLATG1; inline;
  29219. begin
  29220. pTDefRegMap(@Self)^.clr := $00000002;
  29221. end;
  29222. procedure TPORTG_LATG.setLATG1(thebits : TBits_1); inline;
  29223. begin
  29224. if thebits = 0 then
  29225. pTDefRegMap(@Self)^.clr := $00000002
  29226. else
  29227. pTDefRegMap(@Self)^.&set := $00000002;
  29228. end;
  29229. function TPORTG_LATG.getLATG1 : TBits_1; inline;
  29230. begin
  29231. getLATG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29232. end;
  29233. procedure TPORTG_LATG.setLATG2; inline;
  29234. begin
  29235. pTDefRegMap(@Self)^.&set := $00000004;
  29236. end;
  29237. procedure TPORTG_LATG.clearLATG2; inline;
  29238. begin
  29239. pTDefRegMap(@Self)^.clr := $00000004;
  29240. end;
  29241. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  29242. begin
  29243. if thebits = 0 then
  29244. pTDefRegMap(@Self)^.clr := $00000004
  29245. else
  29246. pTDefRegMap(@Self)^.&set := $00000004;
  29247. end;
  29248. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  29249. begin
  29250. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29251. end;
  29252. procedure TPORTG_LATG.setLATG3; inline;
  29253. begin
  29254. pTDefRegMap(@Self)^.&set := $00000008;
  29255. end;
  29256. procedure TPORTG_LATG.clearLATG3; inline;
  29257. begin
  29258. pTDefRegMap(@Self)^.clr := $00000008;
  29259. end;
  29260. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  29261. begin
  29262. if thebits = 0 then
  29263. pTDefRegMap(@Self)^.clr := $00000008
  29264. else
  29265. pTDefRegMap(@Self)^.&set := $00000008;
  29266. end;
  29267. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  29268. begin
  29269. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29270. end;
  29271. procedure TPORTG_LATG.setLATG6; inline;
  29272. begin
  29273. pTDefRegMap(@Self)^.&set := $00000040;
  29274. end;
  29275. procedure TPORTG_LATG.clearLATG6; inline;
  29276. begin
  29277. pTDefRegMap(@Self)^.clr := $00000040;
  29278. end;
  29279. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  29280. begin
  29281. if thebits = 0 then
  29282. pTDefRegMap(@Self)^.clr := $00000040
  29283. else
  29284. pTDefRegMap(@Self)^.&set := $00000040;
  29285. end;
  29286. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  29287. begin
  29288. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29289. end;
  29290. procedure TPORTG_LATG.setLATG7; inline;
  29291. begin
  29292. pTDefRegMap(@Self)^.&set := $00000080;
  29293. end;
  29294. procedure TPORTG_LATG.clearLATG7; inline;
  29295. begin
  29296. pTDefRegMap(@Self)^.clr := $00000080;
  29297. end;
  29298. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  29299. begin
  29300. if thebits = 0 then
  29301. pTDefRegMap(@Self)^.clr := $00000080
  29302. else
  29303. pTDefRegMap(@Self)^.&set := $00000080;
  29304. end;
  29305. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  29306. begin
  29307. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29308. end;
  29309. procedure TPORTG_LATG.setLATG8; inline;
  29310. begin
  29311. pTDefRegMap(@Self)^.&set := $00000100;
  29312. end;
  29313. procedure TPORTG_LATG.clearLATG8; inline;
  29314. begin
  29315. pTDefRegMap(@Self)^.clr := $00000100;
  29316. end;
  29317. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  29318. begin
  29319. if thebits = 0 then
  29320. pTDefRegMap(@Self)^.clr := $00000100
  29321. else
  29322. pTDefRegMap(@Self)^.&set := $00000100;
  29323. end;
  29324. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  29325. begin
  29326. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29327. end;
  29328. procedure TPORTG_LATG.setLATG9; inline;
  29329. begin
  29330. pTDefRegMap(@Self)^.&set := $00000200;
  29331. end;
  29332. procedure TPORTG_LATG.clearLATG9; inline;
  29333. begin
  29334. pTDefRegMap(@Self)^.clr := $00000200;
  29335. end;
  29336. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  29337. begin
  29338. if thebits = 0 then
  29339. pTDefRegMap(@Self)^.clr := $00000200
  29340. else
  29341. pTDefRegMap(@Self)^.&set := $00000200;
  29342. end;
  29343. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  29344. begin
  29345. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29346. end;
  29347. procedure TPORTG_LATG.setLATG12; inline;
  29348. begin
  29349. pTDefRegMap(@Self)^.&set := $00001000;
  29350. end;
  29351. procedure TPORTG_LATG.clearLATG12; inline;
  29352. begin
  29353. pTDefRegMap(@Self)^.clr := $00001000;
  29354. end;
  29355. procedure TPORTG_LATG.setLATG12(thebits : TBits_1); inline;
  29356. begin
  29357. if thebits = 0 then
  29358. pTDefRegMap(@Self)^.clr := $00001000
  29359. else
  29360. pTDefRegMap(@Self)^.&set := $00001000;
  29361. end;
  29362. function TPORTG_LATG.getLATG12 : TBits_1; inline;
  29363. begin
  29364. getLATG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29365. end;
  29366. procedure TPORTG_LATG.setLATG13; inline;
  29367. begin
  29368. pTDefRegMap(@Self)^.&set := $00002000;
  29369. end;
  29370. procedure TPORTG_LATG.clearLATG13; inline;
  29371. begin
  29372. pTDefRegMap(@Self)^.clr := $00002000;
  29373. end;
  29374. procedure TPORTG_LATG.setLATG13(thebits : TBits_1); inline;
  29375. begin
  29376. if thebits = 0 then
  29377. pTDefRegMap(@Self)^.clr := $00002000
  29378. else
  29379. pTDefRegMap(@Self)^.&set := $00002000;
  29380. end;
  29381. function TPORTG_LATG.getLATG13 : TBits_1; inline;
  29382. begin
  29383. getLATG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29384. end;
  29385. procedure TPORTG_LATG.setLATG14; inline;
  29386. begin
  29387. pTDefRegMap(@Self)^.&set := $00004000;
  29388. end;
  29389. procedure TPORTG_LATG.clearLATG14; inline;
  29390. begin
  29391. pTDefRegMap(@Self)^.clr := $00004000;
  29392. end;
  29393. procedure TPORTG_LATG.setLATG14(thebits : TBits_1); inline;
  29394. begin
  29395. if thebits = 0 then
  29396. pTDefRegMap(@Self)^.clr := $00004000
  29397. else
  29398. pTDefRegMap(@Self)^.&set := $00004000;
  29399. end;
  29400. function TPORTG_LATG.getLATG14 : TBits_1; inline;
  29401. begin
  29402. getLATG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29403. end;
  29404. procedure TPORTG_LATG.setLATG15; inline;
  29405. begin
  29406. pTDefRegMap(@Self)^.&set := $00008000;
  29407. end;
  29408. procedure TPORTG_LATG.clearLATG15; inline;
  29409. begin
  29410. pTDefRegMap(@Self)^.clr := $00008000;
  29411. end;
  29412. procedure TPORTG_LATG.setLATG15(thebits : TBits_1); inline;
  29413. begin
  29414. if thebits = 0 then
  29415. pTDefRegMap(@Self)^.clr := $00008000
  29416. else
  29417. pTDefRegMap(@Self)^.&set := $00008000;
  29418. end;
  29419. function TPORTG_LATG.getLATG15 : TBits_1; inline;
  29420. begin
  29421. getLATG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29422. end;
  29423. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  29424. begin
  29425. pTDefRegMap(@Self)^.val := thebits;
  29426. end;
  29427. function TPORTG_LATG.getw : TBits_32; inline;
  29428. begin
  29429. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29430. end;
  29431. procedure TPORTG_ODCG.setODCG0; inline;
  29432. begin
  29433. pTDefRegMap(@Self)^.&set := $00000001;
  29434. end;
  29435. procedure TPORTG_ODCG.clearODCG0; inline;
  29436. begin
  29437. pTDefRegMap(@Self)^.clr := $00000001;
  29438. end;
  29439. procedure TPORTG_ODCG.setODCG0(thebits : TBits_1); inline;
  29440. begin
  29441. if thebits = 0 then
  29442. pTDefRegMap(@Self)^.clr := $00000001
  29443. else
  29444. pTDefRegMap(@Self)^.&set := $00000001;
  29445. end;
  29446. function TPORTG_ODCG.getODCG0 : TBits_1; inline;
  29447. begin
  29448. getODCG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29449. end;
  29450. procedure TPORTG_ODCG.setODCG1; inline;
  29451. begin
  29452. pTDefRegMap(@Self)^.&set := $00000002;
  29453. end;
  29454. procedure TPORTG_ODCG.clearODCG1; inline;
  29455. begin
  29456. pTDefRegMap(@Self)^.clr := $00000002;
  29457. end;
  29458. procedure TPORTG_ODCG.setODCG1(thebits : TBits_1); inline;
  29459. begin
  29460. if thebits = 0 then
  29461. pTDefRegMap(@Self)^.clr := $00000002
  29462. else
  29463. pTDefRegMap(@Self)^.&set := $00000002;
  29464. end;
  29465. function TPORTG_ODCG.getODCG1 : TBits_1; inline;
  29466. begin
  29467. getODCG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29468. end;
  29469. procedure TPORTG_ODCG.setODCG2; inline;
  29470. begin
  29471. pTDefRegMap(@Self)^.&set := $00000004;
  29472. end;
  29473. procedure TPORTG_ODCG.clearODCG2; inline;
  29474. begin
  29475. pTDefRegMap(@Self)^.clr := $00000004;
  29476. end;
  29477. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  29478. begin
  29479. if thebits = 0 then
  29480. pTDefRegMap(@Self)^.clr := $00000004
  29481. else
  29482. pTDefRegMap(@Self)^.&set := $00000004;
  29483. end;
  29484. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  29485. begin
  29486. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29487. end;
  29488. procedure TPORTG_ODCG.setODCG3; inline;
  29489. begin
  29490. pTDefRegMap(@Self)^.&set := $00000008;
  29491. end;
  29492. procedure TPORTG_ODCG.clearODCG3; inline;
  29493. begin
  29494. pTDefRegMap(@Self)^.clr := $00000008;
  29495. end;
  29496. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  29497. begin
  29498. if thebits = 0 then
  29499. pTDefRegMap(@Self)^.clr := $00000008
  29500. else
  29501. pTDefRegMap(@Self)^.&set := $00000008;
  29502. end;
  29503. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  29504. begin
  29505. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29506. end;
  29507. procedure TPORTG_ODCG.setODCG6; inline;
  29508. begin
  29509. pTDefRegMap(@Self)^.&set := $00000040;
  29510. end;
  29511. procedure TPORTG_ODCG.clearODCG6; inline;
  29512. begin
  29513. pTDefRegMap(@Self)^.clr := $00000040;
  29514. end;
  29515. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  29516. begin
  29517. if thebits = 0 then
  29518. pTDefRegMap(@Self)^.clr := $00000040
  29519. else
  29520. pTDefRegMap(@Self)^.&set := $00000040;
  29521. end;
  29522. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  29523. begin
  29524. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29525. end;
  29526. procedure TPORTG_ODCG.setODCG7; inline;
  29527. begin
  29528. pTDefRegMap(@Self)^.&set := $00000080;
  29529. end;
  29530. procedure TPORTG_ODCG.clearODCG7; inline;
  29531. begin
  29532. pTDefRegMap(@Self)^.clr := $00000080;
  29533. end;
  29534. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  29535. begin
  29536. if thebits = 0 then
  29537. pTDefRegMap(@Self)^.clr := $00000080
  29538. else
  29539. pTDefRegMap(@Self)^.&set := $00000080;
  29540. end;
  29541. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  29542. begin
  29543. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29544. end;
  29545. procedure TPORTG_ODCG.setODCG8; inline;
  29546. begin
  29547. pTDefRegMap(@Self)^.&set := $00000100;
  29548. end;
  29549. procedure TPORTG_ODCG.clearODCG8; inline;
  29550. begin
  29551. pTDefRegMap(@Self)^.clr := $00000100;
  29552. end;
  29553. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  29554. begin
  29555. if thebits = 0 then
  29556. pTDefRegMap(@Self)^.clr := $00000100
  29557. else
  29558. pTDefRegMap(@Self)^.&set := $00000100;
  29559. end;
  29560. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  29561. begin
  29562. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29563. end;
  29564. procedure TPORTG_ODCG.setODCG9; inline;
  29565. begin
  29566. pTDefRegMap(@Self)^.&set := $00000200;
  29567. end;
  29568. procedure TPORTG_ODCG.clearODCG9; inline;
  29569. begin
  29570. pTDefRegMap(@Self)^.clr := $00000200;
  29571. end;
  29572. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  29573. begin
  29574. if thebits = 0 then
  29575. pTDefRegMap(@Self)^.clr := $00000200
  29576. else
  29577. pTDefRegMap(@Self)^.&set := $00000200;
  29578. end;
  29579. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  29580. begin
  29581. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29582. end;
  29583. procedure TPORTG_ODCG.setODCG12; inline;
  29584. begin
  29585. pTDefRegMap(@Self)^.&set := $00001000;
  29586. end;
  29587. procedure TPORTG_ODCG.clearODCG12; inline;
  29588. begin
  29589. pTDefRegMap(@Self)^.clr := $00001000;
  29590. end;
  29591. procedure TPORTG_ODCG.setODCG12(thebits : TBits_1); inline;
  29592. begin
  29593. if thebits = 0 then
  29594. pTDefRegMap(@Self)^.clr := $00001000
  29595. else
  29596. pTDefRegMap(@Self)^.&set := $00001000;
  29597. end;
  29598. function TPORTG_ODCG.getODCG12 : TBits_1; inline;
  29599. begin
  29600. getODCG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29601. end;
  29602. procedure TPORTG_ODCG.setODCG13; inline;
  29603. begin
  29604. pTDefRegMap(@Self)^.&set := $00002000;
  29605. end;
  29606. procedure TPORTG_ODCG.clearODCG13; inline;
  29607. begin
  29608. pTDefRegMap(@Self)^.clr := $00002000;
  29609. end;
  29610. procedure TPORTG_ODCG.setODCG13(thebits : TBits_1); inline;
  29611. begin
  29612. if thebits = 0 then
  29613. pTDefRegMap(@Self)^.clr := $00002000
  29614. else
  29615. pTDefRegMap(@Self)^.&set := $00002000;
  29616. end;
  29617. function TPORTG_ODCG.getODCG13 : TBits_1; inline;
  29618. begin
  29619. getODCG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29620. end;
  29621. procedure TPORTG_ODCG.setODCG14; inline;
  29622. begin
  29623. pTDefRegMap(@Self)^.&set := $00004000;
  29624. end;
  29625. procedure TPORTG_ODCG.clearODCG14; inline;
  29626. begin
  29627. pTDefRegMap(@Self)^.clr := $00004000;
  29628. end;
  29629. procedure TPORTG_ODCG.setODCG14(thebits : TBits_1); inline;
  29630. begin
  29631. if thebits = 0 then
  29632. pTDefRegMap(@Self)^.clr := $00004000
  29633. else
  29634. pTDefRegMap(@Self)^.&set := $00004000;
  29635. end;
  29636. function TPORTG_ODCG.getODCG14 : TBits_1; inline;
  29637. begin
  29638. getODCG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29639. end;
  29640. procedure TPORTG_ODCG.setODCG15; inline;
  29641. begin
  29642. pTDefRegMap(@Self)^.&set := $00008000;
  29643. end;
  29644. procedure TPORTG_ODCG.clearODCG15; inline;
  29645. begin
  29646. pTDefRegMap(@Self)^.clr := $00008000;
  29647. end;
  29648. procedure TPORTG_ODCG.setODCG15(thebits : TBits_1); inline;
  29649. begin
  29650. if thebits = 0 then
  29651. pTDefRegMap(@Self)^.clr := $00008000
  29652. else
  29653. pTDefRegMap(@Self)^.&set := $00008000;
  29654. end;
  29655. function TPORTG_ODCG.getODCG15 : TBits_1; inline;
  29656. begin
  29657. getODCG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29658. end;
  29659. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  29660. begin
  29661. pTDefRegMap(@Self)^.val := thebits;
  29662. end;
  29663. function TPORTG_ODCG.getw : TBits_32; inline;
  29664. begin
  29665. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29666. end;
  29667. procedure TPORTG_CNCON.setSIDL; inline;
  29668. begin
  29669. pTDefRegMap(@Self)^.&set := $00002000;
  29670. end;
  29671. procedure TPORTG_CNCON.clearSIDL; inline;
  29672. begin
  29673. pTDefRegMap(@Self)^.clr := $00002000;
  29674. end;
  29675. procedure TPORTG_CNCON.setSIDL(thebits : TBits_1); inline;
  29676. begin
  29677. if thebits = 0 then
  29678. pTDefRegMap(@Self)^.clr := $00002000
  29679. else
  29680. pTDefRegMap(@Self)^.&set := $00002000;
  29681. end;
  29682. function TPORTG_CNCON.getSIDL : TBits_1; inline;
  29683. begin
  29684. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29685. end;
  29686. procedure TPORTG_CNCON.setON; inline;
  29687. begin
  29688. pTDefRegMap(@Self)^.&set := $00008000;
  29689. end;
  29690. procedure TPORTG_CNCON.clearON; inline;
  29691. begin
  29692. pTDefRegMap(@Self)^.clr := $00008000;
  29693. end;
  29694. procedure TPORTG_CNCON.setON(thebits : TBits_1); inline;
  29695. begin
  29696. if thebits = 0 then
  29697. pTDefRegMap(@Self)^.clr := $00008000
  29698. else
  29699. pTDefRegMap(@Self)^.&set := $00008000;
  29700. end;
  29701. function TPORTG_CNCON.getON : TBits_1; inline;
  29702. begin
  29703. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29704. end;
  29705. procedure TPORTG_CNCON.setw(thebits : TBits_32); inline;
  29706. begin
  29707. pTDefRegMap(@Self)^.val := thebits;
  29708. end;
  29709. function TPORTG_CNCON.getw : TBits_32; inline;
  29710. begin
  29711. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29712. end;
  29713. procedure TPORTG_CNEN.setCNEN0; inline;
  29714. begin
  29715. pTDefRegMap(@Self)^.&set := $00000001;
  29716. end;
  29717. procedure TPORTG_CNEN.clearCNEN0; inline;
  29718. begin
  29719. pTDefRegMap(@Self)^.clr := $00000001;
  29720. end;
  29721. procedure TPORTG_CNEN.setCNEN0(thebits : TBits_1); inline;
  29722. begin
  29723. if thebits = 0 then
  29724. pTDefRegMap(@Self)^.clr := $00000001
  29725. else
  29726. pTDefRegMap(@Self)^.&set := $00000001;
  29727. end;
  29728. function TPORTG_CNEN.getCNEN0 : TBits_1; inline;
  29729. begin
  29730. getCNEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29731. end;
  29732. procedure TPORTG_CNEN.setCNEN1; inline;
  29733. begin
  29734. pTDefRegMap(@Self)^.&set := $00000002;
  29735. end;
  29736. procedure TPORTG_CNEN.clearCNEN1; inline;
  29737. begin
  29738. pTDefRegMap(@Self)^.clr := $00000002;
  29739. end;
  29740. procedure TPORTG_CNEN.setCNEN1(thebits : TBits_1); inline;
  29741. begin
  29742. if thebits = 0 then
  29743. pTDefRegMap(@Self)^.clr := $00000002
  29744. else
  29745. pTDefRegMap(@Self)^.&set := $00000002;
  29746. end;
  29747. function TPORTG_CNEN.getCNEN1 : TBits_1; inline;
  29748. begin
  29749. getCNEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29750. end;
  29751. procedure TPORTG_CNEN.setCNEN2; inline;
  29752. begin
  29753. pTDefRegMap(@Self)^.&set := $00000004;
  29754. end;
  29755. procedure TPORTG_CNEN.clearCNEN2; inline;
  29756. begin
  29757. pTDefRegMap(@Self)^.clr := $00000004;
  29758. end;
  29759. procedure TPORTG_CNEN.setCNEN2(thebits : TBits_1); inline;
  29760. begin
  29761. if thebits = 0 then
  29762. pTDefRegMap(@Self)^.clr := $00000004
  29763. else
  29764. pTDefRegMap(@Self)^.&set := $00000004;
  29765. end;
  29766. function TPORTG_CNEN.getCNEN2 : TBits_1; inline;
  29767. begin
  29768. getCNEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29769. end;
  29770. procedure TPORTG_CNEN.setCNEN3; inline;
  29771. begin
  29772. pTDefRegMap(@Self)^.&set := $00000008;
  29773. end;
  29774. procedure TPORTG_CNEN.clearCNEN3; inline;
  29775. begin
  29776. pTDefRegMap(@Self)^.clr := $00000008;
  29777. end;
  29778. procedure TPORTG_CNEN.setCNEN3(thebits : TBits_1); inline;
  29779. begin
  29780. if thebits = 0 then
  29781. pTDefRegMap(@Self)^.clr := $00000008
  29782. else
  29783. pTDefRegMap(@Self)^.&set := $00000008;
  29784. end;
  29785. function TPORTG_CNEN.getCNEN3 : TBits_1; inline;
  29786. begin
  29787. getCNEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29788. end;
  29789. procedure TPORTG_CNEN.setCNEN4; inline;
  29790. begin
  29791. pTDefRegMap(@Self)^.&set := $00000010;
  29792. end;
  29793. procedure TPORTG_CNEN.clearCNEN4; inline;
  29794. begin
  29795. pTDefRegMap(@Self)^.clr := $00000010;
  29796. end;
  29797. procedure TPORTG_CNEN.setCNEN4(thebits : TBits_1); inline;
  29798. begin
  29799. if thebits = 0 then
  29800. pTDefRegMap(@Self)^.clr := $00000010
  29801. else
  29802. pTDefRegMap(@Self)^.&set := $00000010;
  29803. end;
  29804. function TPORTG_CNEN.getCNEN4 : TBits_1; inline;
  29805. begin
  29806. getCNEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29807. end;
  29808. procedure TPORTG_CNEN.setCNEN5; inline;
  29809. begin
  29810. pTDefRegMap(@Self)^.&set := $00000020;
  29811. end;
  29812. procedure TPORTG_CNEN.clearCNEN5; inline;
  29813. begin
  29814. pTDefRegMap(@Self)^.clr := $00000020;
  29815. end;
  29816. procedure TPORTG_CNEN.setCNEN5(thebits : TBits_1); inline;
  29817. begin
  29818. if thebits = 0 then
  29819. pTDefRegMap(@Self)^.clr := $00000020
  29820. else
  29821. pTDefRegMap(@Self)^.&set := $00000020;
  29822. end;
  29823. function TPORTG_CNEN.getCNEN5 : TBits_1; inline;
  29824. begin
  29825. getCNEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29826. end;
  29827. procedure TPORTG_CNEN.setCNEN6; inline;
  29828. begin
  29829. pTDefRegMap(@Self)^.&set := $00000040;
  29830. end;
  29831. procedure TPORTG_CNEN.clearCNEN6; inline;
  29832. begin
  29833. pTDefRegMap(@Self)^.clr := $00000040;
  29834. end;
  29835. procedure TPORTG_CNEN.setCNEN6(thebits : TBits_1); inline;
  29836. begin
  29837. if thebits = 0 then
  29838. pTDefRegMap(@Self)^.clr := $00000040
  29839. else
  29840. pTDefRegMap(@Self)^.&set := $00000040;
  29841. end;
  29842. function TPORTG_CNEN.getCNEN6 : TBits_1; inline;
  29843. begin
  29844. getCNEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29845. end;
  29846. procedure TPORTG_CNEN.setCNEN7; inline;
  29847. begin
  29848. pTDefRegMap(@Self)^.&set := $00000080;
  29849. end;
  29850. procedure TPORTG_CNEN.clearCNEN7; inline;
  29851. begin
  29852. pTDefRegMap(@Self)^.clr := $00000080;
  29853. end;
  29854. procedure TPORTG_CNEN.setCNEN7(thebits : TBits_1); inline;
  29855. begin
  29856. if thebits = 0 then
  29857. pTDefRegMap(@Self)^.clr := $00000080
  29858. else
  29859. pTDefRegMap(@Self)^.&set := $00000080;
  29860. end;
  29861. function TPORTG_CNEN.getCNEN7 : TBits_1; inline;
  29862. begin
  29863. getCNEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29864. end;
  29865. procedure TPORTG_CNEN.setCNEN8; inline;
  29866. begin
  29867. pTDefRegMap(@Self)^.&set := $00000100;
  29868. end;
  29869. procedure TPORTG_CNEN.clearCNEN8; inline;
  29870. begin
  29871. pTDefRegMap(@Self)^.clr := $00000100;
  29872. end;
  29873. procedure TPORTG_CNEN.setCNEN8(thebits : TBits_1); inline;
  29874. begin
  29875. if thebits = 0 then
  29876. pTDefRegMap(@Self)^.clr := $00000100
  29877. else
  29878. pTDefRegMap(@Self)^.&set := $00000100;
  29879. end;
  29880. function TPORTG_CNEN.getCNEN8 : TBits_1; inline;
  29881. begin
  29882. getCNEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29883. end;
  29884. procedure TPORTG_CNEN.setCNEN9; inline;
  29885. begin
  29886. pTDefRegMap(@Self)^.&set := $00000200;
  29887. end;
  29888. procedure TPORTG_CNEN.clearCNEN9; inline;
  29889. begin
  29890. pTDefRegMap(@Self)^.clr := $00000200;
  29891. end;
  29892. procedure TPORTG_CNEN.setCNEN9(thebits : TBits_1); inline;
  29893. begin
  29894. if thebits = 0 then
  29895. pTDefRegMap(@Self)^.clr := $00000200
  29896. else
  29897. pTDefRegMap(@Self)^.&set := $00000200;
  29898. end;
  29899. function TPORTG_CNEN.getCNEN9 : TBits_1; inline;
  29900. begin
  29901. getCNEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29902. end;
  29903. procedure TPORTG_CNEN.setCNEN10; inline;
  29904. begin
  29905. pTDefRegMap(@Self)^.&set := $00000400;
  29906. end;
  29907. procedure TPORTG_CNEN.clearCNEN10; inline;
  29908. begin
  29909. pTDefRegMap(@Self)^.clr := $00000400;
  29910. end;
  29911. procedure TPORTG_CNEN.setCNEN10(thebits : TBits_1); inline;
  29912. begin
  29913. if thebits = 0 then
  29914. pTDefRegMap(@Self)^.clr := $00000400
  29915. else
  29916. pTDefRegMap(@Self)^.&set := $00000400;
  29917. end;
  29918. function TPORTG_CNEN.getCNEN10 : TBits_1; inline;
  29919. begin
  29920. getCNEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29921. end;
  29922. procedure TPORTG_CNEN.setCNEN11; inline;
  29923. begin
  29924. pTDefRegMap(@Self)^.&set := $00000800;
  29925. end;
  29926. procedure TPORTG_CNEN.clearCNEN11; inline;
  29927. begin
  29928. pTDefRegMap(@Self)^.clr := $00000800;
  29929. end;
  29930. procedure TPORTG_CNEN.setCNEN11(thebits : TBits_1); inline;
  29931. begin
  29932. if thebits = 0 then
  29933. pTDefRegMap(@Self)^.clr := $00000800
  29934. else
  29935. pTDefRegMap(@Self)^.&set := $00000800;
  29936. end;
  29937. function TPORTG_CNEN.getCNEN11 : TBits_1; inline;
  29938. begin
  29939. getCNEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29940. end;
  29941. procedure TPORTG_CNEN.setCNEN12; inline;
  29942. begin
  29943. pTDefRegMap(@Self)^.&set := $00001000;
  29944. end;
  29945. procedure TPORTG_CNEN.clearCNEN12; inline;
  29946. begin
  29947. pTDefRegMap(@Self)^.clr := $00001000;
  29948. end;
  29949. procedure TPORTG_CNEN.setCNEN12(thebits : TBits_1); inline;
  29950. begin
  29951. if thebits = 0 then
  29952. pTDefRegMap(@Self)^.clr := $00001000
  29953. else
  29954. pTDefRegMap(@Self)^.&set := $00001000;
  29955. end;
  29956. function TPORTG_CNEN.getCNEN12 : TBits_1; inline;
  29957. begin
  29958. getCNEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29959. end;
  29960. procedure TPORTG_CNEN.setCNEN13; inline;
  29961. begin
  29962. pTDefRegMap(@Self)^.&set := $00002000;
  29963. end;
  29964. procedure TPORTG_CNEN.clearCNEN13; inline;
  29965. begin
  29966. pTDefRegMap(@Self)^.clr := $00002000;
  29967. end;
  29968. procedure TPORTG_CNEN.setCNEN13(thebits : TBits_1); inline;
  29969. begin
  29970. if thebits = 0 then
  29971. pTDefRegMap(@Self)^.clr := $00002000
  29972. else
  29973. pTDefRegMap(@Self)^.&set := $00002000;
  29974. end;
  29975. function TPORTG_CNEN.getCNEN13 : TBits_1; inline;
  29976. begin
  29977. getCNEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29978. end;
  29979. procedure TPORTG_CNEN.setCNEN14; inline;
  29980. begin
  29981. pTDefRegMap(@Self)^.&set := $00004000;
  29982. end;
  29983. procedure TPORTG_CNEN.clearCNEN14; inline;
  29984. begin
  29985. pTDefRegMap(@Self)^.clr := $00004000;
  29986. end;
  29987. procedure TPORTG_CNEN.setCNEN14(thebits : TBits_1); inline;
  29988. begin
  29989. if thebits = 0 then
  29990. pTDefRegMap(@Self)^.clr := $00004000
  29991. else
  29992. pTDefRegMap(@Self)^.&set := $00004000;
  29993. end;
  29994. function TPORTG_CNEN.getCNEN14 : TBits_1; inline;
  29995. begin
  29996. getCNEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29997. end;
  29998. procedure TPORTG_CNEN.setCNEN15; inline;
  29999. begin
  30000. pTDefRegMap(@Self)^.&set := $00008000;
  30001. end;
  30002. procedure TPORTG_CNEN.clearCNEN15; inline;
  30003. begin
  30004. pTDefRegMap(@Self)^.clr := $00008000;
  30005. end;
  30006. procedure TPORTG_CNEN.setCNEN15(thebits : TBits_1); inline;
  30007. begin
  30008. if thebits = 0 then
  30009. pTDefRegMap(@Self)^.clr := $00008000
  30010. else
  30011. pTDefRegMap(@Self)^.&set := $00008000;
  30012. end;
  30013. function TPORTG_CNEN.getCNEN15 : TBits_1; inline;
  30014. begin
  30015. getCNEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30016. end;
  30017. procedure TPORTG_CNEN.setCNEN16; inline;
  30018. begin
  30019. pTDefRegMap(@Self)^.&set := $00010000;
  30020. end;
  30021. procedure TPORTG_CNEN.clearCNEN16; inline;
  30022. begin
  30023. pTDefRegMap(@Self)^.clr := $00010000;
  30024. end;
  30025. procedure TPORTG_CNEN.setCNEN16(thebits : TBits_1); inline;
  30026. begin
  30027. if thebits = 0 then
  30028. pTDefRegMap(@Self)^.clr := $00010000
  30029. else
  30030. pTDefRegMap(@Self)^.&set := $00010000;
  30031. end;
  30032. function TPORTG_CNEN.getCNEN16 : TBits_1; inline;
  30033. begin
  30034. getCNEN16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30035. end;
  30036. procedure TPORTG_CNEN.setCNEN17; inline;
  30037. begin
  30038. pTDefRegMap(@Self)^.&set := $00020000;
  30039. end;
  30040. procedure TPORTG_CNEN.clearCNEN17; inline;
  30041. begin
  30042. pTDefRegMap(@Self)^.clr := $00020000;
  30043. end;
  30044. procedure TPORTG_CNEN.setCNEN17(thebits : TBits_1); inline;
  30045. begin
  30046. if thebits = 0 then
  30047. pTDefRegMap(@Self)^.clr := $00020000
  30048. else
  30049. pTDefRegMap(@Self)^.&set := $00020000;
  30050. end;
  30051. function TPORTG_CNEN.getCNEN17 : TBits_1; inline;
  30052. begin
  30053. getCNEN17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30054. end;
  30055. procedure TPORTG_CNEN.setCNEN18; inline;
  30056. begin
  30057. pTDefRegMap(@Self)^.&set := $00040000;
  30058. end;
  30059. procedure TPORTG_CNEN.clearCNEN18; inline;
  30060. begin
  30061. pTDefRegMap(@Self)^.clr := $00040000;
  30062. end;
  30063. procedure TPORTG_CNEN.setCNEN18(thebits : TBits_1); inline;
  30064. begin
  30065. if thebits = 0 then
  30066. pTDefRegMap(@Self)^.clr := $00040000
  30067. else
  30068. pTDefRegMap(@Self)^.&set := $00040000;
  30069. end;
  30070. function TPORTG_CNEN.getCNEN18 : TBits_1; inline;
  30071. begin
  30072. getCNEN18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30073. end;
  30074. procedure TPORTG_CNEN.setCNEN19; inline;
  30075. begin
  30076. pTDefRegMap(@Self)^.&set := $00080000;
  30077. end;
  30078. procedure TPORTG_CNEN.clearCNEN19; inline;
  30079. begin
  30080. pTDefRegMap(@Self)^.clr := $00080000;
  30081. end;
  30082. procedure TPORTG_CNEN.setCNEN19(thebits : TBits_1); inline;
  30083. begin
  30084. if thebits = 0 then
  30085. pTDefRegMap(@Self)^.clr := $00080000
  30086. else
  30087. pTDefRegMap(@Self)^.&set := $00080000;
  30088. end;
  30089. function TPORTG_CNEN.getCNEN19 : TBits_1; inline;
  30090. begin
  30091. getCNEN19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30092. end;
  30093. procedure TPORTG_CNEN.setCNEN20; inline;
  30094. begin
  30095. pTDefRegMap(@Self)^.&set := $00100000;
  30096. end;
  30097. procedure TPORTG_CNEN.clearCNEN20; inline;
  30098. begin
  30099. pTDefRegMap(@Self)^.clr := $00100000;
  30100. end;
  30101. procedure TPORTG_CNEN.setCNEN20(thebits : TBits_1); inline;
  30102. begin
  30103. if thebits = 0 then
  30104. pTDefRegMap(@Self)^.clr := $00100000
  30105. else
  30106. pTDefRegMap(@Self)^.&set := $00100000;
  30107. end;
  30108. function TPORTG_CNEN.getCNEN20 : TBits_1; inline;
  30109. begin
  30110. getCNEN20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30111. end;
  30112. procedure TPORTG_CNEN.setCNEN21; inline;
  30113. begin
  30114. pTDefRegMap(@Self)^.&set := $00200000;
  30115. end;
  30116. procedure TPORTG_CNEN.clearCNEN21; inline;
  30117. begin
  30118. pTDefRegMap(@Self)^.clr := $00200000;
  30119. end;
  30120. procedure TPORTG_CNEN.setCNEN21(thebits : TBits_1); inline;
  30121. begin
  30122. if thebits = 0 then
  30123. pTDefRegMap(@Self)^.clr := $00200000
  30124. else
  30125. pTDefRegMap(@Self)^.&set := $00200000;
  30126. end;
  30127. function TPORTG_CNEN.getCNEN21 : TBits_1; inline;
  30128. begin
  30129. getCNEN21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30130. end;
  30131. procedure TPORTG_CNEN.setw(thebits : TBits_32); inline;
  30132. begin
  30133. pTDefRegMap(@Self)^.val := thebits;
  30134. end;
  30135. function TPORTG_CNEN.getw : TBits_32; inline;
  30136. begin
  30137. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30138. end;
  30139. procedure TPORTG_CNPUE.setCNPUE0; inline;
  30140. begin
  30141. pTDefRegMap(@Self)^.&set := $00000001;
  30142. end;
  30143. procedure TPORTG_CNPUE.clearCNPUE0; inline;
  30144. begin
  30145. pTDefRegMap(@Self)^.clr := $00000001;
  30146. end;
  30147. procedure TPORTG_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  30148. begin
  30149. if thebits = 0 then
  30150. pTDefRegMap(@Self)^.clr := $00000001
  30151. else
  30152. pTDefRegMap(@Self)^.&set := $00000001;
  30153. end;
  30154. function TPORTG_CNPUE.getCNPUE0 : TBits_1; inline;
  30155. begin
  30156. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30157. end;
  30158. procedure TPORTG_CNPUE.setCNPUE1; inline;
  30159. begin
  30160. pTDefRegMap(@Self)^.&set := $00000002;
  30161. end;
  30162. procedure TPORTG_CNPUE.clearCNPUE1; inline;
  30163. begin
  30164. pTDefRegMap(@Self)^.clr := $00000002;
  30165. end;
  30166. procedure TPORTG_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  30167. begin
  30168. if thebits = 0 then
  30169. pTDefRegMap(@Self)^.clr := $00000002
  30170. else
  30171. pTDefRegMap(@Self)^.&set := $00000002;
  30172. end;
  30173. function TPORTG_CNPUE.getCNPUE1 : TBits_1; inline;
  30174. begin
  30175. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30176. end;
  30177. procedure TPORTG_CNPUE.setCNPUE2; inline;
  30178. begin
  30179. pTDefRegMap(@Self)^.&set := $00000004;
  30180. end;
  30181. procedure TPORTG_CNPUE.clearCNPUE2; inline;
  30182. begin
  30183. pTDefRegMap(@Self)^.clr := $00000004;
  30184. end;
  30185. procedure TPORTG_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  30186. begin
  30187. if thebits = 0 then
  30188. pTDefRegMap(@Self)^.clr := $00000004
  30189. else
  30190. pTDefRegMap(@Self)^.&set := $00000004;
  30191. end;
  30192. function TPORTG_CNPUE.getCNPUE2 : TBits_1; inline;
  30193. begin
  30194. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30195. end;
  30196. procedure TPORTG_CNPUE.setCNPUE3; inline;
  30197. begin
  30198. pTDefRegMap(@Self)^.&set := $00000008;
  30199. end;
  30200. procedure TPORTG_CNPUE.clearCNPUE3; inline;
  30201. begin
  30202. pTDefRegMap(@Self)^.clr := $00000008;
  30203. end;
  30204. procedure TPORTG_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  30205. begin
  30206. if thebits = 0 then
  30207. pTDefRegMap(@Self)^.clr := $00000008
  30208. else
  30209. pTDefRegMap(@Self)^.&set := $00000008;
  30210. end;
  30211. function TPORTG_CNPUE.getCNPUE3 : TBits_1; inline;
  30212. begin
  30213. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30214. end;
  30215. procedure TPORTG_CNPUE.setCNPUE4; inline;
  30216. begin
  30217. pTDefRegMap(@Self)^.&set := $00000010;
  30218. end;
  30219. procedure TPORTG_CNPUE.clearCNPUE4; inline;
  30220. begin
  30221. pTDefRegMap(@Self)^.clr := $00000010;
  30222. end;
  30223. procedure TPORTG_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  30224. begin
  30225. if thebits = 0 then
  30226. pTDefRegMap(@Self)^.clr := $00000010
  30227. else
  30228. pTDefRegMap(@Self)^.&set := $00000010;
  30229. end;
  30230. function TPORTG_CNPUE.getCNPUE4 : TBits_1; inline;
  30231. begin
  30232. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30233. end;
  30234. procedure TPORTG_CNPUE.setCNPUE5; inline;
  30235. begin
  30236. pTDefRegMap(@Self)^.&set := $00000020;
  30237. end;
  30238. procedure TPORTG_CNPUE.clearCNPUE5; inline;
  30239. begin
  30240. pTDefRegMap(@Self)^.clr := $00000020;
  30241. end;
  30242. procedure TPORTG_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  30243. begin
  30244. if thebits = 0 then
  30245. pTDefRegMap(@Self)^.clr := $00000020
  30246. else
  30247. pTDefRegMap(@Self)^.&set := $00000020;
  30248. end;
  30249. function TPORTG_CNPUE.getCNPUE5 : TBits_1; inline;
  30250. begin
  30251. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30252. end;
  30253. procedure TPORTG_CNPUE.setCNPUE6; inline;
  30254. begin
  30255. pTDefRegMap(@Self)^.&set := $00000040;
  30256. end;
  30257. procedure TPORTG_CNPUE.clearCNPUE6; inline;
  30258. begin
  30259. pTDefRegMap(@Self)^.clr := $00000040;
  30260. end;
  30261. procedure TPORTG_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  30262. begin
  30263. if thebits = 0 then
  30264. pTDefRegMap(@Self)^.clr := $00000040
  30265. else
  30266. pTDefRegMap(@Self)^.&set := $00000040;
  30267. end;
  30268. function TPORTG_CNPUE.getCNPUE6 : TBits_1; inline;
  30269. begin
  30270. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30271. end;
  30272. procedure TPORTG_CNPUE.setCNPUE7; inline;
  30273. begin
  30274. pTDefRegMap(@Self)^.&set := $00000080;
  30275. end;
  30276. procedure TPORTG_CNPUE.clearCNPUE7; inline;
  30277. begin
  30278. pTDefRegMap(@Self)^.clr := $00000080;
  30279. end;
  30280. procedure TPORTG_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  30281. begin
  30282. if thebits = 0 then
  30283. pTDefRegMap(@Self)^.clr := $00000080
  30284. else
  30285. pTDefRegMap(@Self)^.&set := $00000080;
  30286. end;
  30287. function TPORTG_CNPUE.getCNPUE7 : TBits_1; inline;
  30288. begin
  30289. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30290. end;
  30291. procedure TPORTG_CNPUE.setCNPUE8; inline;
  30292. begin
  30293. pTDefRegMap(@Self)^.&set := $00000100;
  30294. end;
  30295. procedure TPORTG_CNPUE.clearCNPUE8; inline;
  30296. begin
  30297. pTDefRegMap(@Self)^.clr := $00000100;
  30298. end;
  30299. procedure TPORTG_CNPUE.setCNPUE8(thebits : TBits_1); inline;
  30300. begin
  30301. if thebits = 0 then
  30302. pTDefRegMap(@Self)^.clr := $00000100
  30303. else
  30304. pTDefRegMap(@Self)^.&set := $00000100;
  30305. end;
  30306. function TPORTG_CNPUE.getCNPUE8 : TBits_1; inline;
  30307. begin
  30308. getCNPUE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30309. end;
  30310. procedure TPORTG_CNPUE.setCNPUE9; inline;
  30311. begin
  30312. pTDefRegMap(@Self)^.&set := $00000200;
  30313. end;
  30314. procedure TPORTG_CNPUE.clearCNPUE9; inline;
  30315. begin
  30316. pTDefRegMap(@Self)^.clr := $00000200;
  30317. end;
  30318. procedure TPORTG_CNPUE.setCNPUE9(thebits : TBits_1); inline;
  30319. begin
  30320. if thebits = 0 then
  30321. pTDefRegMap(@Self)^.clr := $00000200
  30322. else
  30323. pTDefRegMap(@Self)^.&set := $00000200;
  30324. end;
  30325. function TPORTG_CNPUE.getCNPUE9 : TBits_1; inline;
  30326. begin
  30327. getCNPUE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30328. end;
  30329. procedure TPORTG_CNPUE.setCNPUE10; inline;
  30330. begin
  30331. pTDefRegMap(@Self)^.&set := $00000400;
  30332. end;
  30333. procedure TPORTG_CNPUE.clearCNPUE10; inline;
  30334. begin
  30335. pTDefRegMap(@Self)^.clr := $00000400;
  30336. end;
  30337. procedure TPORTG_CNPUE.setCNPUE10(thebits : TBits_1); inline;
  30338. begin
  30339. if thebits = 0 then
  30340. pTDefRegMap(@Self)^.clr := $00000400
  30341. else
  30342. pTDefRegMap(@Self)^.&set := $00000400;
  30343. end;
  30344. function TPORTG_CNPUE.getCNPUE10 : TBits_1; inline;
  30345. begin
  30346. getCNPUE10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30347. end;
  30348. procedure TPORTG_CNPUE.setCNPUE11; inline;
  30349. begin
  30350. pTDefRegMap(@Self)^.&set := $00000800;
  30351. end;
  30352. procedure TPORTG_CNPUE.clearCNPUE11; inline;
  30353. begin
  30354. pTDefRegMap(@Self)^.clr := $00000800;
  30355. end;
  30356. procedure TPORTG_CNPUE.setCNPUE11(thebits : TBits_1); inline;
  30357. begin
  30358. if thebits = 0 then
  30359. pTDefRegMap(@Self)^.clr := $00000800
  30360. else
  30361. pTDefRegMap(@Self)^.&set := $00000800;
  30362. end;
  30363. function TPORTG_CNPUE.getCNPUE11 : TBits_1; inline;
  30364. begin
  30365. getCNPUE11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30366. end;
  30367. procedure TPORTG_CNPUE.setCNPUE12; inline;
  30368. begin
  30369. pTDefRegMap(@Self)^.&set := $00001000;
  30370. end;
  30371. procedure TPORTG_CNPUE.clearCNPUE12; inline;
  30372. begin
  30373. pTDefRegMap(@Self)^.clr := $00001000;
  30374. end;
  30375. procedure TPORTG_CNPUE.setCNPUE12(thebits : TBits_1); inline;
  30376. begin
  30377. if thebits = 0 then
  30378. pTDefRegMap(@Self)^.clr := $00001000
  30379. else
  30380. pTDefRegMap(@Self)^.&set := $00001000;
  30381. end;
  30382. function TPORTG_CNPUE.getCNPUE12 : TBits_1; inline;
  30383. begin
  30384. getCNPUE12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30385. end;
  30386. procedure TPORTG_CNPUE.setCNPUE13; inline;
  30387. begin
  30388. pTDefRegMap(@Self)^.&set := $00002000;
  30389. end;
  30390. procedure TPORTG_CNPUE.clearCNPUE13; inline;
  30391. begin
  30392. pTDefRegMap(@Self)^.clr := $00002000;
  30393. end;
  30394. procedure TPORTG_CNPUE.setCNPUE13(thebits : TBits_1); inline;
  30395. begin
  30396. if thebits = 0 then
  30397. pTDefRegMap(@Self)^.clr := $00002000
  30398. else
  30399. pTDefRegMap(@Self)^.&set := $00002000;
  30400. end;
  30401. function TPORTG_CNPUE.getCNPUE13 : TBits_1; inline;
  30402. begin
  30403. getCNPUE13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30404. end;
  30405. procedure TPORTG_CNPUE.setCNPUE14; inline;
  30406. begin
  30407. pTDefRegMap(@Self)^.&set := $00004000;
  30408. end;
  30409. procedure TPORTG_CNPUE.clearCNPUE14; inline;
  30410. begin
  30411. pTDefRegMap(@Self)^.clr := $00004000;
  30412. end;
  30413. procedure TPORTG_CNPUE.setCNPUE14(thebits : TBits_1); inline;
  30414. begin
  30415. if thebits = 0 then
  30416. pTDefRegMap(@Self)^.clr := $00004000
  30417. else
  30418. pTDefRegMap(@Self)^.&set := $00004000;
  30419. end;
  30420. function TPORTG_CNPUE.getCNPUE14 : TBits_1; inline;
  30421. begin
  30422. getCNPUE14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30423. end;
  30424. procedure TPORTG_CNPUE.setCNPUE15; inline;
  30425. begin
  30426. pTDefRegMap(@Self)^.&set := $00008000;
  30427. end;
  30428. procedure TPORTG_CNPUE.clearCNPUE15; inline;
  30429. begin
  30430. pTDefRegMap(@Self)^.clr := $00008000;
  30431. end;
  30432. procedure TPORTG_CNPUE.setCNPUE15(thebits : TBits_1); inline;
  30433. begin
  30434. if thebits = 0 then
  30435. pTDefRegMap(@Self)^.clr := $00008000
  30436. else
  30437. pTDefRegMap(@Self)^.&set := $00008000;
  30438. end;
  30439. function TPORTG_CNPUE.getCNPUE15 : TBits_1; inline;
  30440. begin
  30441. getCNPUE15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30442. end;
  30443. procedure TPORTG_CNPUE.setCNPUE16; inline;
  30444. begin
  30445. pTDefRegMap(@Self)^.&set := $00010000;
  30446. end;
  30447. procedure TPORTG_CNPUE.clearCNPUE16; inline;
  30448. begin
  30449. pTDefRegMap(@Self)^.clr := $00010000;
  30450. end;
  30451. procedure TPORTG_CNPUE.setCNPUE16(thebits : TBits_1); inline;
  30452. begin
  30453. if thebits = 0 then
  30454. pTDefRegMap(@Self)^.clr := $00010000
  30455. else
  30456. pTDefRegMap(@Self)^.&set := $00010000;
  30457. end;
  30458. function TPORTG_CNPUE.getCNPUE16 : TBits_1; inline;
  30459. begin
  30460. getCNPUE16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30461. end;
  30462. procedure TPORTG_CNPUE.setCNPUE17; inline;
  30463. begin
  30464. pTDefRegMap(@Self)^.&set := $00020000;
  30465. end;
  30466. procedure TPORTG_CNPUE.clearCNPUE17; inline;
  30467. begin
  30468. pTDefRegMap(@Self)^.clr := $00020000;
  30469. end;
  30470. procedure TPORTG_CNPUE.setCNPUE17(thebits : TBits_1); inline;
  30471. begin
  30472. if thebits = 0 then
  30473. pTDefRegMap(@Self)^.clr := $00020000
  30474. else
  30475. pTDefRegMap(@Self)^.&set := $00020000;
  30476. end;
  30477. function TPORTG_CNPUE.getCNPUE17 : TBits_1; inline;
  30478. begin
  30479. getCNPUE17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30480. end;
  30481. procedure TPORTG_CNPUE.setCNPUE18; inline;
  30482. begin
  30483. pTDefRegMap(@Self)^.&set := $00040000;
  30484. end;
  30485. procedure TPORTG_CNPUE.clearCNPUE18; inline;
  30486. begin
  30487. pTDefRegMap(@Self)^.clr := $00040000;
  30488. end;
  30489. procedure TPORTG_CNPUE.setCNPUE18(thebits : TBits_1); inline;
  30490. begin
  30491. if thebits = 0 then
  30492. pTDefRegMap(@Self)^.clr := $00040000
  30493. else
  30494. pTDefRegMap(@Self)^.&set := $00040000;
  30495. end;
  30496. function TPORTG_CNPUE.getCNPUE18 : TBits_1; inline;
  30497. begin
  30498. getCNPUE18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30499. end;
  30500. procedure TPORTG_CNPUE.setCNPUE19; inline;
  30501. begin
  30502. pTDefRegMap(@Self)^.&set := $00080000;
  30503. end;
  30504. procedure TPORTG_CNPUE.clearCNPUE19; inline;
  30505. begin
  30506. pTDefRegMap(@Self)^.clr := $00080000;
  30507. end;
  30508. procedure TPORTG_CNPUE.setCNPUE19(thebits : TBits_1); inline;
  30509. begin
  30510. if thebits = 0 then
  30511. pTDefRegMap(@Self)^.clr := $00080000
  30512. else
  30513. pTDefRegMap(@Self)^.&set := $00080000;
  30514. end;
  30515. function TPORTG_CNPUE.getCNPUE19 : TBits_1; inline;
  30516. begin
  30517. getCNPUE19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30518. end;
  30519. procedure TPORTG_CNPUE.setCNPUE20; inline;
  30520. begin
  30521. pTDefRegMap(@Self)^.&set := $00100000;
  30522. end;
  30523. procedure TPORTG_CNPUE.clearCNPUE20; inline;
  30524. begin
  30525. pTDefRegMap(@Self)^.clr := $00100000;
  30526. end;
  30527. procedure TPORTG_CNPUE.setCNPUE20(thebits : TBits_1); inline;
  30528. begin
  30529. if thebits = 0 then
  30530. pTDefRegMap(@Self)^.clr := $00100000
  30531. else
  30532. pTDefRegMap(@Self)^.&set := $00100000;
  30533. end;
  30534. function TPORTG_CNPUE.getCNPUE20 : TBits_1; inline;
  30535. begin
  30536. getCNPUE20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30537. end;
  30538. procedure TPORTG_CNPUE.setCNPUE21; inline;
  30539. begin
  30540. pTDefRegMap(@Self)^.&set := $00200000;
  30541. end;
  30542. procedure TPORTG_CNPUE.clearCNPUE21; inline;
  30543. begin
  30544. pTDefRegMap(@Self)^.clr := $00200000;
  30545. end;
  30546. procedure TPORTG_CNPUE.setCNPUE21(thebits : TBits_1); inline;
  30547. begin
  30548. if thebits = 0 then
  30549. pTDefRegMap(@Self)^.clr := $00200000
  30550. else
  30551. pTDefRegMap(@Self)^.&set := $00200000;
  30552. end;
  30553. function TPORTG_CNPUE.getCNPUE21 : TBits_1; inline;
  30554. begin
  30555. getCNPUE21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30556. end;
  30557. procedure TPORTG_CNPUE.setw(thebits : TBits_32); inline;
  30558. begin
  30559. pTDefRegMap(@Self)^.val := thebits;
  30560. end;
  30561. function TPORTG_CNPUE.getw : TBits_32; inline;
  30562. begin
  30563. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30564. end;
  30565. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  30566. begin
  30567. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  30568. end;
  30569. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  30570. begin
  30571. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  30572. end;
  30573. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  30574. begin
  30575. pTDefRegMap(@Self)^.val := thebits;
  30576. end;
  30577. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  30578. begin
  30579. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30580. end;
  30581. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  30582. begin
  30583. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  30584. end;
  30585. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  30586. begin
  30587. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  30588. end;
  30589. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  30590. begin
  30591. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  30592. end;
  30593. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  30594. begin
  30595. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  30596. end;
  30597. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  30598. begin
  30599. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  30600. end;
  30601. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  30602. begin
  30603. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  30604. end;
  30605. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  30606. begin
  30607. pTDefRegMap(@Self)^.val := thebits;
  30608. end;
  30609. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  30610. begin
  30611. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30612. end;
  30613. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  30614. begin
  30615. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  30616. end;
  30617. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  30618. begin
  30619. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  30620. end;
  30621. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  30622. begin
  30623. pTDefRegMap(@Self)^.&set := $00000020;
  30624. end;
  30625. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  30626. begin
  30627. pTDefRegMap(@Self)^.clr := $00000020;
  30628. end;
  30629. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  30630. begin
  30631. if thebits = 0 then
  30632. pTDefRegMap(@Self)^.clr := $00000020
  30633. else
  30634. pTDefRegMap(@Self)^.&set := $00000020;
  30635. end;
  30636. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  30637. begin
  30638. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30639. end;
  30640. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  30641. begin
  30642. pTDefRegMap(@Self)^.&set := $00000080;
  30643. end;
  30644. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  30645. begin
  30646. pTDefRegMap(@Self)^.clr := $00000080;
  30647. end;
  30648. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  30649. begin
  30650. if thebits = 0 then
  30651. pTDefRegMap(@Self)^.clr := $00000080
  30652. else
  30653. pTDefRegMap(@Self)^.&set := $00000080;
  30654. end;
  30655. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  30656. begin
  30657. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30658. end;
  30659. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  30660. begin
  30661. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  30662. end;
  30663. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  30664. begin
  30665. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  30666. end;
  30667. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  30668. begin
  30669. pTDefRegMap(@Self)^.&set := $00000400;
  30670. end;
  30671. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  30672. begin
  30673. pTDefRegMap(@Self)^.clr := $00000400;
  30674. end;
  30675. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  30676. begin
  30677. if thebits = 0 then
  30678. pTDefRegMap(@Self)^.clr := $00000400
  30679. else
  30680. pTDefRegMap(@Self)^.&set := $00000400;
  30681. end;
  30682. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  30683. begin
  30684. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30685. end;
  30686. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  30687. begin
  30688. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  30689. end;
  30690. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  30691. begin
  30692. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  30693. end;
  30694. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  30695. begin
  30696. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30697. end;
  30698. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  30699. begin
  30700. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30701. end;
  30702. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  30703. begin
  30704. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  30705. end;
  30706. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  30707. begin
  30708. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  30709. end;
  30710. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  30711. begin
  30712. pTDefRegMap(@Self)^.&set := $00800000;
  30713. end;
  30714. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  30715. begin
  30716. pTDefRegMap(@Self)^.clr := $00800000;
  30717. end;
  30718. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  30719. begin
  30720. if thebits = 0 then
  30721. pTDefRegMap(@Self)^.clr := $00800000
  30722. else
  30723. pTDefRegMap(@Self)^.&set := $00800000;
  30724. end;
  30725. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  30726. begin
  30727. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30728. end;
  30729. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  30730. begin
  30731. pTDefRegMap(@Self)^.val := thebits;
  30732. end;
  30733. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  30734. begin
  30735. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30736. end;
  30737. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  30738. begin
  30739. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30740. end;
  30741. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  30742. begin
  30743. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30744. end;
  30745. procedure TDEVCFG_DEVCFG0.setICESEL; inline;
  30746. begin
  30747. pTDefRegMap(@Self)^.&set := $00000008;
  30748. end;
  30749. procedure TDEVCFG_DEVCFG0.clearICESEL; inline;
  30750. begin
  30751. pTDefRegMap(@Self)^.clr := $00000008;
  30752. end;
  30753. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_1); inline;
  30754. begin
  30755. if thebits = 0 then
  30756. pTDefRegMap(@Self)^.clr := $00000008
  30757. else
  30758. pTDefRegMap(@Self)^.&set := $00000008;
  30759. end;
  30760. function TDEVCFG_DEVCFG0.getICESEL : TBits_1; inline;
  30761. begin
  30762. getICESEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30763. end;
  30764. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  30765. begin
  30766. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  30767. end;
  30768. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  30769. begin
  30770. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  30771. end;
  30772. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  30773. begin
  30774. pTDefRegMap(@Self)^.&set := $01000000;
  30775. end;
  30776. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  30777. begin
  30778. pTDefRegMap(@Self)^.clr := $01000000;
  30779. end;
  30780. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  30781. begin
  30782. if thebits = 0 then
  30783. pTDefRegMap(@Self)^.clr := $01000000
  30784. else
  30785. pTDefRegMap(@Self)^.&set := $01000000;
  30786. end;
  30787. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  30788. begin
  30789. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30790. end;
  30791. procedure TDEVCFG_DEVCFG0.setCP; inline;
  30792. begin
  30793. pTDefRegMap(@Self)^.&set := $10000000;
  30794. end;
  30795. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  30796. begin
  30797. pTDefRegMap(@Self)^.clr := $10000000;
  30798. end;
  30799. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  30800. begin
  30801. if thebits = 0 then
  30802. pTDefRegMap(@Self)^.clr := $10000000
  30803. else
  30804. pTDefRegMap(@Self)^.&set := $10000000;
  30805. end;
  30806. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  30807. begin
  30808. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  30809. end;
  30810. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  30811. begin
  30812. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30813. end;
  30814. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  30815. begin
  30816. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30817. end;
  30818. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  30819. begin
  30820. pTDefRegMap(@Self)^.val := thebits;
  30821. end;
  30822. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  30823. begin
  30824. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30825. end;
  30826. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  30827. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  30828. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  30829. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  30830. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  30831. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  30832. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  30833. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  30834. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  30835. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  30836. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  30837. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  30838. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  30839. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  30840. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  30841. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  30842. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  30843. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  30844. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  30845. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  30846. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  30847. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  30848. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  30849. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  30850. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  30851. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  30852. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  30853. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  30854. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  30855. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  30856. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  30857. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  30858. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  30859. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  30860. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  30861. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  30862. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  30863. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  30864. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  30865. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  30866. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  30867. procedure Vectors; assembler; nostackframe;
  30868. label interrupt_vectors;
  30869. asm
  30870. .section ".init.interrupt_vectors,\"ax\",@progbits"
  30871. interrupt_vectors:
  30872. j _CORE_TIMER_VECTOR_interrupt
  30873. nop
  30874. nop
  30875. nop
  30876. nop
  30877. nop
  30878. nop
  30879. nop
  30880. j _CORE_SOFTWARE_0_VECTOR_interrupt
  30881. nop
  30882. nop
  30883. nop
  30884. nop
  30885. nop
  30886. nop
  30887. nop
  30888. j _CORE_SOFTWARE_1_VECTOR_interrupt
  30889. nop
  30890. nop
  30891. nop
  30892. nop
  30893. nop
  30894. nop
  30895. nop
  30896. j _EXTERNAL_0_VECTOR_interrupt
  30897. nop
  30898. nop
  30899. nop
  30900. nop
  30901. nop
  30902. nop
  30903. nop
  30904. j _TIMER_1_VECTOR_interrupt
  30905. nop
  30906. nop
  30907. nop
  30908. nop
  30909. nop
  30910. nop
  30911. nop
  30912. j _INPUT_CAPTURE_1_VECTOR_interrupt
  30913. nop
  30914. nop
  30915. nop
  30916. nop
  30917. nop
  30918. nop
  30919. nop
  30920. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  30921. nop
  30922. nop
  30923. nop
  30924. nop
  30925. nop
  30926. nop
  30927. nop
  30928. j _EXTERNAL_1_VECTOR_interrupt
  30929. nop
  30930. nop
  30931. nop
  30932. nop
  30933. nop
  30934. nop
  30935. nop
  30936. j _TIMER_2_VECTOR_interrupt
  30937. nop
  30938. nop
  30939. nop
  30940. nop
  30941. nop
  30942. nop
  30943. nop
  30944. j _INPUT_CAPTURE_2_VECTOR_interrupt
  30945. nop
  30946. nop
  30947. nop
  30948. nop
  30949. nop
  30950. nop
  30951. nop
  30952. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  30953. nop
  30954. nop
  30955. nop
  30956. nop
  30957. nop
  30958. nop
  30959. nop
  30960. j _EXTERNAL_2_VECTOR_interrupt
  30961. nop
  30962. nop
  30963. nop
  30964. nop
  30965. nop
  30966. nop
  30967. nop
  30968. j _TIMER_3_VECTOR_interrupt
  30969. nop
  30970. nop
  30971. nop
  30972. nop
  30973. nop
  30974. nop
  30975. nop
  30976. j _INPUT_CAPTURE_3_VECTOR_interrupt
  30977. nop
  30978. nop
  30979. nop
  30980. nop
  30981. nop
  30982. nop
  30983. nop
  30984. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  30985. nop
  30986. nop
  30987. nop
  30988. nop
  30989. nop
  30990. nop
  30991. nop
  30992. j _EXTERNAL_3_VECTOR_interrupt
  30993. nop
  30994. nop
  30995. nop
  30996. nop
  30997. nop
  30998. nop
  30999. nop
  31000. j _TIMER_4_VECTOR_interrupt
  31001. nop
  31002. nop
  31003. nop
  31004. nop
  31005. nop
  31006. nop
  31007. nop
  31008. j _INPUT_CAPTURE_4_VECTOR_interrupt
  31009. nop
  31010. nop
  31011. nop
  31012. nop
  31013. nop
  31014. nop
  31015. nop
  31016. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  31017. nop
  31018. nop
  31019. nop
  31020. nop
  31021. nop
  31022. nop
  31023. nop
  31024. j _EXTERNAL_4_VECTOR_interrupt
  31025. nop
  31026. nop
  31027. nop
  31028. nop
  31029. nop
  31030. nop
  31031. nop
  31032. j _TIMER_5_VECTOR_interrupt
  31033. nop
  31034. nop
  31035. nop
  31036. nop
  31037. nop
  31038. nop
  31039. nop
  31040. j _INPUT_CAPTURE_5_VECTOR_interrupt
  31041. nop
  31042. nop
  31043. nop
  31044. nop
  31045. nop
  31046. nop
  31047. nop
  31048. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  31049. nop
  31050. nop
  31051. nop
  31052. nop
  31053. nop
  31054. nop
  31055. nop
  31056. j _SPI_1_VECTOR_interrupt
  31057. nop
  31058. nop
  31059. nop
  31060. nop
  31061. nop
  31062. nop
  31063. nop
  31064. j _UART_1_VECTOR_interrupt
  31065. nop
  31066. nop
  31067. nop
  31068. nop
  31069. nop
  31070. nop
  31071. nop
  31072. j _I2C_1_VECTOR_interrupt
  31073. nop
  31074. nop
  31075. nop
  31076. nop
  31077. nop
  31078. nop
  31079. nop
  31080. j _CHANGE_NOTICE_VECTOR_interrupt
  31081. nop
  31082. nop
  31083. nop
  31084. nop
  31085. nop
  31086. nop
  31087. nop
  31088. j _ADC_VECTOR_interrupt
  31089. nop
  31090. nop
  31091. nop
  31092. nop
  31093. nop
  31094. nop
  31095. nop
  31096. j _PMP_VECTOR_interrupt
  31097. nop
  31098. nop
  31099. nop
  31100. nop
  31101. nop
  31102. nop
  31103. nop
  31104. j _COMPARATOR_1_VECTOR_interrupt
  31105. nop
  31106. nop
  31107. nop
  31108. nop
  31109. nop
  31110. nop
  31111. nop
  31112. j _COMPARATOR_2_VECTOR_interrupt
  31113. nop
  31114. nop
  31115. nop
  31116. nop
  31117. nop
  31118. nop
  31119. nop
  31120. j _SPI_2_VECTOR_interrupt
  31121. nop
  31122. nop
  31123. nop
  31124. nop
  31125. nop
  31126. nop
  31127. nop
  31128. j _UART_2_VECTOR_interrupt
  31129. nop
  31130. nop
  31131. nop
  31132. nop
  31133. nop
  31134. nop
  31135. nop
  31136. j _I2C_2_VECTOR_interrupt
  31137. nop
  31138. nop
  31139. nop
  31140. nop
  31141. nop
  31142. nop
  31143. nop
  31144. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  31145. nop
  31146. nop
  31147. nop
  31148. nop
  31149. nop
  31150. nop
  31151. nop
  31152. j _RTCC_VECTOR_interrupt
  31153. nop
  31154. nop
  31155. nop
  31156. nop
  31157. nop
  31158. nop
  31159. nop
  31160. j _DMA_0_VECTOR_interrupt
  31161. nop
  31162. nop
  31163. nop
  31164. nop
  31165. nop
  31166. nop
  31167. nop
  31168. j _DMA_1_VECTOR_interrupt
  31169. nop
  31170. nop
  31171. nop
  31172. nop
  31173. nop
  31174. nop
  31175. nop
  31176. j _DMA_2_VECTOR_interrupt
  31177. nop
  31178. nop
  31179. nop
  31180. nop
  31181. nop
  31182. nop
  31183. nop
  31184. j _DMA_3_VECTOR_interrupt
  31185. nop
  31186. nop
  31187. nop
  31188. nop
  31189. nop
  31190. nop
  31191. nop
  31192. nop
  31193. nop
  31194. nop
  31195. nop
  31196. nop
  31197. nop
  31198. nop
  31199. nop
  31200. nop
  31201. nop
  31202. nop
  31203. nop
  31204. nop
  31205. nop
  31206. nop
  31207. nop
  31208. nop
  31209. nop
  31210. nop
  31211. nop
  31212. nop
  31213. nop
  31214. nop
  31215. nop
  31216. nop
  31217. nop
  31218. nop
  31219. nop
  31220. nop
  31221. nop
  31222. nop
  31223. nop
  31224. j _FCE_VECTOR_interrupt
  31225. nop
  31226. nop
  31227. nop
  31228. nop
  31229. nop
  31230. nop
  31231. nop
  31232. .weak _CORE_TIMER_VECTOR_interrupt
  31233. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  31234. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  31235. .weak _EXTERNAL_0_VECTOR_interrupt
  31236. .weak _TIMER_1_VECTOR_interrupt
  31237. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  31238. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  31239. .weak _EXTERNAL_1_VECTOR_interrupt
  31240. .weak _TIMER_2_VECTOR_interrupt
  31241. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  31242. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  31243. .weak _EXTERNAL_2_VECTOR_interrupt
  31244. .weak _TIMER_3_VECTOR_interrupt
  31245. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  31246. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  31247. .weak _EXTERNAL_3_VECTOR_interrupt
  31248. .weak _TIMER_4_VECTOR_interrupt
  31249. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  31250. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  31251. .weak _EXTERNAL_4_VECTOR_interrupt
  31252. .weak _TIMER_5_VECTOR_interrupt
  31253. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  31254. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  31255. .weak _SPI_1_VECTOR_interrupt
  31256. .weak _UART_1_VECTOR_interrupt
  31257. .weak _I2C_1_VECTOR_interrupt
  31258. .weak _CHANGE_NOTICE_VECTOR_interrupt
  31259. .weak _ADC_VECTOR_interrupt
  31260. .weak _PMP_VECTOR_interrupt
  31261. .weak _COMPARATOR_1_VECTOR_interrupt
  31262. .weak _COMPARATOR_2_VECTOR_interrupt
  31263. .weak _SPI_2_VECTOR_interrupt
  31264. .weak _UART_2_VECTOR_interrupt
  31265. .weak _I2C_2_VECTOR_interrupt
  31266. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  31267. .weak _RTCC_VECTOR_interrupt
  31268. .weak _DMA_0_VECTOR_interrupt
  31269. .weak _DMA_1_VECTOR_interrupt
  31270. .weak _DMA_2_VECTOR_interrupt
  31271. .weak _DMA_3_VECTOR_interrupt
  31272. .weak _FCE_VECTOR_interrupt
  31273. .text
  31274. end;
  31275. end.